{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/moment/moment.js","webpack:///./node_modules/@babel/runtime/regenerator/index.js","webpack:///./app/javascript/number_formatter.js","webpack:///./node_modules/jquery/src/core.js","webpack:///./app/javascript/helpers/Request.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/jquery/src/jquery.js","webpack:///./app/javascript/components/deal_structure/DealStructureHelpers.jsx","webpack:///./app/javascript/components/modules/LBModal.js.jsx","webpack:///./node_modules/create-react-class/index.js","webpack:///./app/javascript/components/bank_account/plaid/PlaidReducer.js","webpack:///./app/javascript/components/bank_account/plaid/PlaidContext.jsx","webpack:///./app/javascript/helpers/analyticsHelper.js","webpack:///./node_modules/react-dom/index.js","webpack:///./app/javascript/components/deal_structure/modules/DSDollarInput.js.jsx","webpack:///./node_modules/jquery/src/var/isFunction.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/validations/bank_account.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/bank_account.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/contract.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/gps.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/index.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/income_verification.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/approval_docs.js","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/TrackerHelper/funding_docs.js","webpack:///./app/javascript/helpers/classNames.js","webpack:///./node_modules/jquery/src/var/document.js","webpack:///./node_modules/jquery/src/selector.js","webpack:///./app/javascript/components/helpers/useIsMount.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/LoansContextHelper.js","webpack:///./app/javascript/reducers/LoansReducer.js","webpack:///./app/javascript/components/dealer_portal/LoansContext.jsx","webpack:///./app/javascript/Animations.js","webpack:///./app/javascript/reducers/HeaderReducer.js","webpack:///./app/javascript/components/deal_structure/HeaderContext.jsx","webpack:///./node_modules/react-dropzone/dist/index.js","webpack:///./node_modules/jquery/src/core/init.js","webpack:///./app/javascript/hooks/useLbFetch.js","webpack:///./app/javascript/reducers/DealStructureReducer.js","webpack:///./app/javascript/components/deal_structure/DealStructureContext.js.jsx","webpack:///./app/javascript/components/modules/BasicElements/DollarInput.js.jsx","webpack:///./app/javascript/components/deal_structure/DispatchesHelper.js","webpack:///./app/javascript/actions/DealerDealStructureActions.js.jsx","webpack:///./node_modules/jquery/src/data/var/dataPriv.js","webpack:///./app/javascript/components/modules/BasicElements/ErrorIcon.js.jsx","webpack:///./app/javascript/components/dealer_portal/modules/XSButton.jsx","webpack:///./node_modules/jquery/src/core/nodeName.js","webpack:///./node_modules/jquery/src/var/rnothtmlwhite.js","webpack:///./app/javascript/components/deal_structure/modules/DSInputBox.js.jsx","webpack:///./app/javascript/helpers/DealerLoanRequests.js","webpack:///./node_modules/jquery/src/var/support.js","webpack:///./node_modules/jquery/src/core/access.js","webpack:///./node_modules/jquery/src/ajax.js","webpack:///./app/javascript/models/Education.js","webpack:///./app/javascript/helpers/UrlHelper.js","webpack:///./app/javascript/components/deal_structure/helpers/LTVHelper.js","webpack:///./node_modules/jquery/src/core/toType.js","webpack:///./node_modules/jquery/src/traversing.js","webpack:///./node_modules/jquery/src/deferred.js","webpack:///./node_modules/jquery/src/event.js","webpack:///./app/javascript/components/bank_account/plaid/PlaidHelper.js","webpack:///./app/javascript/plaid_helper.js","webpack:///./app/javascript/models/Automobile.js","webpack:///./node_modules/jquery/src/var/arr.js","webpack:///./node_modules/jquery/src/var/isWindow.js","webpack:///./node_modules/jquery/src/core/camelCase.js","webpack:///./node_modules/jquery/src/css.js","webpack:///./app/javascript/config/index.js","webpack:///./node_modules/react-autocomplete/build/lib/Autocomplete.js","webpack:///./app/javascript/components/bank_account/plaid/FinanceConnector.js","webpack:///./app/javascript/components/deal_structure/AssetGrade.jsx","webpack:///./app/javascript/components/file_upload.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerPortalHelper/ReasonHelper.js","webpack:///./app/javascript/components/error/index.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/jquery/src/var/slice.js","webpack:///./node_modules/jquery/src/var/class2type.js","webpack:///./node_modules/jquery/src/data/var/acceptData.js","webpack:///./node_modules/jquery/src/core/isAttached.js","webpack:///./node_modules/jquery/src/var/documentElement.js","webpack:///./node_modules/jquery/src/manipulation.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/object-assign/index.js","webpack:///./app/javascript/components/Loader.js.jsx","webpack:///./app/javascript/components/bank_account/BankAccountIntro.jsx","webpack:///./app/javascript/components/bank_account/constants.js","webpack:///./app/javascript/components/modules/Tab.js.jsx","webpack:///./node_modules/lodash/lodash.js","webpack:///./app/javascript/components/deal_structure/helpers/Validations.js","webpack:///./app/javascript/helpers/DealerHelper.js","webpack:///./app/javascript/components/modules/Pagination.js.jsx","webpack:///./app/javascript/components/modules/BasicTable.js.jsx","webpack:///./app/javascript/components/modules/Portal/index.js","webpack:///./node_modules/jquery/src/var/indexOf.js","webpack:///./node_modules/jquery/src/var/hasOwn.js","webpack:///./node_modules/jquery/src/callbacks.js","webpack:///./node_modules/jquery/src/queue.js","webpack:///./node_modules/jquery/src/effects.js","webpack:///./node_modules/jquery/src/var/rcssNum.js","webpack:///./node_modules/jquery/src/css/var/cssExpand.js","webpack:///./node_modules/jquery/src/var/rcheckableType.js","webpack:///./node_modules/jquery/src/css/var/rnumnonpx.js","webpack:///./node_modules/jquery/src/css/support.js","webpack:///./node_modules/jquery/src/attributes/support.js","webpack:///./node_modules/jquery/src/core/stripAndCollapse.js","webpack:///./node_modules/jquery/src/event/trigger.js","webpack:///./node_modules/react-on-rails/node_package/lib/createReactOutput.js","webpack:///./node_modules/react-on-rails/node_package/lib/isServerRenderResult.js","webpack:///./node_modules/alt/lib/functions.js","webpack:///./app/assets/images/icons/upload_cloud.png","webpack:///./app/javascript/channels/consumer.js","webpack:///./app/javascript/channels/finance_channel.js","webpack:///./app/javascript/components/PictureTag.js.jsx","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///./app/javascript/components/modules/Filter.js.jsx","webpack:///./app/javascript/components/modules/Notification.js.jsx","webpack:///./app/javascript/components/CommunicationTypes.js.jsx","webpack:///./node_modules/jquery/src/var/getProto.js","webpack:///./node_modules/jquery/src/var/flat.js","webpack:///./node_modules/jquery/src/var/push.js","webpack:///./node_modules/jquery/src/var/toString.js","webpack:///./node_modules/jquery/src/var/fnToString.js","webpack:///./node_modules/jquery/src/core/DOMEval.js","webpack:///./node_modules/jquery/src/traversing/var/rneedsContext.js","webpack:///./node_modules/jquery/src/core/var/rsingleTag.js","webpack:///./node_modules/jquery/src/traversing/findFilter.js","webpack:///./node_modules/jquery/src/core/ready.js","webpack:///./node_modules/jquery/src/data/Data.js","webpack:///./node_modules/jquery/src/data/var/dataUser.js","webpack:///./node_modules/jquery/src/var/pnum.js","webpack:///./node_modules/jquery/src/css/var/isHiddenWithinTree.js","webpack:///./node_modules/jquery/src/css/adjustCSS.js","webpack:///./node_modules/jquery/src/manipulation/var/rtagName.js","webpack:///./node_modules/jquery/src/manipulation/var/rscriptType.js","webpack:///./node_modules/jquery/src/manipulation/wrapMap.js","webpack:///./node_modules/jquery/src/manipulation/support.js","webpack:///./node_modules/jquery/src/manipulation/getAll.js","webpack:///./node_modules/jquery/src/manipulation/setGlobalEval.js","webpack:///./node_modules/jquery/src/manipulation/buildFragment.js","webpack:///./node_modules/jquery/src/css/var/getStyles.js","webpack:///./node_modules/jquery/src/css/curCSS.js","webpack:///./node_modules/jquery/src/css/addGetHookIf.js","webpack:///./node_modules/jquery/src/css/finalPropName.js","webpack:///./node_modules/jquery/src/attributes/prop.js","webpack:///./node_modules/jquery/src/ajax/var/nonce.js","webpack:///./node_modules/jquery/src/ajax/var/rquery.js","webpack:///./node_modules/jquery/src/core/parseXML.js","webpack:///./node_modules/jquery/src/serialize.js","webpack:///./node_modules/jquery/src/core/parseHTML.js","webpack:///(webpack)/buildin/amd-options.js","webpack:///./app/javascript/config sync ^\\.\\/.*$","webpack:///./app/javascript/config/development.js","webpack:///./app/javascript/config/production.js","webpack:///./app/javascript/config/staging.js","webpack:///./app/javascript/config/staging1.js","webpack:///./app/javascript/config/testenv.js","webpack:///./app/javascript/config/testenv1.js","webpack:///./app/javascript/config/testenv10.js","webpack:///./app/javascript/config/testenv11.js","webpack:///./app/javascript/config/testenv12.js","webpack:///./app/javascript/config/testenv2.js","webpack:///./app/javascript/config/testenv3.js","webpack:///./app/javascript/config/testenv4.js","webpack:///./app/javascript/config/testenv5.js","webpack:///./app/javascript/config/testenv6.js","webpack:///./app/javascript/config/testenv7.js","webpack:///./app/javascript/config/testenv8.js","webpack:///./app/javascript/config/testenv9.js","webpack:///./app/javascript/config/training1.js","webpack:///./node_modules/moment/locale/af.js","webpack:///./node_modules/moment/locale/ar.js","webpack:///./node_modules/moment/locale/ar-dz.js","webpack:///./node_modules/moment/locale/ar-kw.js","webpack:///./node_modules/moment/locale/ar-ly.js","webpack:///./node_modules/moment/locale/ar-ma.js","webpack:///./node_modules/moment/locale/ar-sa.js","webpack:///./node_modules/moment/locale/ar-tn.js","webpack:///./node_modules/moment/locale/az.js","webpack:///./node_modules/moment/locale/be.js","webpack:///./node_modules/moment/locale/bg.js","webpack:///./node_modules/moment/locale/bm.js","webpack:///./node_modules/moment/locale/bn.js","webpack:///./node_modules/moment/locale/bn-bd.js","webpack:///./node_modules/moment/locale/bo.js","webpack:///./node_modules/moment/locale/br.js","webpack:///./node_modules/moment/locale/bs.js","webpack:///./node_modules/moment/locale/ca.js","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/moment/locale/cv.js","webpack:///./node_modules/moment/locale/cy.js","webpack:///./node_modules/moment/locale/da.js","webpack:///./node_modules/moment/locale/de.js","webpack:///./node_modules/moment/locale/de-at.js","webpack:///./node_modules/moment/locale/de-ch.js","webpack:///./node_modules/moment/locale/dv.js","webpack:///./node_modules/moment/locale/el.js","webpack:///./node_modules/moment/locale/en-au.js","webpack:///./node_modules/moment/locale/en-ca.js","webpack:///./node_modules/moment/locale/en-gb.js","webpack:///./node_modules/moment/locale/en-ie.js","webpack:///./node_modules/moment/locale/en-il.js","webpack:///./node_modules/moment/locale/en-in.js","webpack:///./node_modules/moment/locale/en-nz.js","webpack:///./node_modules/moment/locale/en-sg.js","webpack:///./node_modules/moment/locale/eo.js","webpack:///./node_modules/moment/locale/es.js","webpack:///./node_modules/moment/locale/es-do.js","webpack:///./node_modules/moment/locale/es-mx.js","webpack:///./node_modules/moment/locale/es-us.js","webpack:///./node_modules/moment/locale/et.js","webpack:///./node_modules/moment/locale/eu.js","webpack:///./node_modules/moment/locale/fa.js","webpack:///./node_modules/moment/locale/fi.js","webpack:///./node_modules/moment/locale/fil.js","webpack:///./node_modules/moment/locale/fo.js","webpack:///./node_modules/moment/locale/fr.js","webpack:///./node_modules/moment/locale/fr-ca.js","webpack:///./node_modules/moment/locale/fr-ch.js","webpack:///./node_modules/moment/locale/fy.js","webpack:///./node_modules/moment/locale/ga.js","webpack:///./node_modules/moment/locale/gd.js","webpack:///./node_modules/moment/locale/gl.js","webpack:///./node_modules/moment/locale/gom-deva.js","webpack:///./node_modules/moment/locale/gom-latn.js","webpack:///./node_modules/moment/locale/gu.js","webpack:///./node_modules/moment/locale/he.js","webpack:///./node_modules/moment/locale/hi.js","webpack:///./node_modules/moment/locale/hr.js","webpack:///./node_modules/moment/locale/hu.js","webpack:///./node_modules/moment/locale/hy-am.js","webpack:///./node_modules/moment/locale/id.js","webpack:///./node_modules/moment/locale/is.js","webpack:///./node_modules/moment/locale/it.js","webpack:///./node_modules/moment/locale/it-ch.js","webpack:///./node_modules/moment/locale/ja.js","webpack:///./node_modules/moment/locale/jv.js","webpack:///./node_modules/moment/locale/ka.js","webpack:///./node_modules/moment/locale/kk.js","webpack:///./node_modules/moment/locale/km.js","webpack:///./node_modules/moment/locale/kn.js","webpack:///./node_modules/moment/locale/ko.js","webpack:///./node_modules/moment/locale/ku.js","webpack:///./node_modules/moment/locale/ky.js","webpack:///./node_modules/moment/locale/lb.js","webpack:///./node_modules/moment/locale/lo.js","webpack:///./node_modules/moment/locale/lt.js","webpack:///./node_modules/moment/locale/lv.js","webpack:///./node_modules/moment/locale/me.js","webpack:///./node_modules/moment/locale/mi.js","webpack:///./node_modules/moment/locale/mk.js","webpack:///./node_modules/moment/locale/ml.js","webpack:///./node_modules/moment/locale/mn.js","webpack:///./node_modules/moment/locale/mr.js","webpack:///./node_modules/moment/locale/ms.js","webpack:///./node_modules/moment/locale/ms-my.js","webpack:///./node_modules/moment/locale/mt.js","webpack:///./node_modules/moment/locale/my.js","webpack:///./node_modules/moment/locale/nb.js","webpack:///./node_modules/moment/locale/ne.js","webpack:///./node_modules/moment/locale/nl.js","webpack:///./node_modules/moment/locale/nl-be.js","webpack:///./node_modules/moment/locale/nn.js","webpack:///./node_modules/moment/locale/oc-lnc.js","webpack:///./node_modules/moment/locale/pa-in.js","webpack:///./node_modules/moment/locale/pl.js","webpack:///./node_modules/moment/locale/pt.js","webpack:///./node_modules/moment/locale/pt-br.js","webpack:///./node_modules/moment/locale/ro.js","webpack:///./node_modules/moment/locale/ru.js","webpack:///./node_modules/moment/locale/sd.js","webpack:///./node_modules/moment/locale/se.js","webpack:///./node_modules/moment/locale/si.js","webpack:///./node_modules/moment/locale/sk.js","webpack:///./node_modules/moment/locale/sl.js","webpack:///./node_modules/moment/locale/sq.js","webpack:///./node_modules/moment/locale/sr.js","webpack:///./node_modules/moment/locale/sr-cyrl.js","webpack:///./node_modules/moment/locale/ss.js","webpack:///./node_modules/moment/locale/sv.js","webpack:///./node_modules/moment/locale/sw.js","webpack:///./node_modules/moment/locale/ta.js","webpack:///./node_modules/moment/locale/te.js","webpack:///./node_modules/moment/locale/tet.js","webpack:///./node_modules/moment/locale/tg.js","webpack:///./node_modules/moment/locale/th.js","webpack:///./node_modules/moment/locale/tk.js","webpack:///./node_modules/moment/locale/tl-ph.js","webpack:///./node_modules/moment/locale/tlh.js","webpack:///./node_modules/moment/locale/tr.js","webpack:///./node_modules/moment/locale/tzl.js","webpack:///./node_modules/moment/locale/tzm.js","webpack:///./node_modules/moment/locale/tzm-latn.js","webpack:///./node_modules/moment/locale/ug-cn.js","webpack:///./node_modules/moment/locale/uk.js","webpack:///./node_modules/moment/locale/ur.js","webpack:///./node_modules/moment/locale/uz.js","webpack:///./node_modules/moment/locale/uz-latn.js","webpack:///./node_modules/moment/locale/vi.js","webpack:///./node_modules/moment/locale/x-pseudo.js","webpack:///./node_modules/moment/locale/yo.js","webpack:///./node_modules/moment/locale/zh-cn.js","webpack:///./node_modules/moment/locale/zh-hk.js","webpack:///./node_modules/moment/locale/zh-mo.js","webpack:///./node_modules/moment/locale/zh-tw.js","webpack:///./node_modules/react-on-rails/node_package/lib/handleError.js","webpack:///./node_modules/react-dom/server.browser.js","webpack:///./node_modules/react-on-rails/node_package/lib/ComponentRegistry.js","webpack:///./node_modules/react-on-rails/node_package/lib/buildConsoleReplay.js","webpack:///./app/assets/images/docs_tour/upload_1.gif","webpack:///./app/assets/images/docs_tour/upload_2.png","webpack:///./app/assets/images/homepage__star.png","webpack:///./app/assets/images/homepage__star-75.png","webpack:///./app/assets/images/icon__google.png","webpack:///./app/assets/images/homepage__carousel-star.png","webpack:///./node_modules/react-on-rails/node_package/lib/ReactOnRails.js","webpack:///./node_modules/@rails/actioncable/app/assets/javascripts/action_cable.js","webpack:///./app/javascript/components/GPS/GpsLoader.jsx","webpack:///./app/javascript/components/GPS/VerifyGps.jsx","webpack:///./app/javascript/models/University.js","webpack:///./node_modules/numeral/numeral.js","webpack:///./app/assets/images/site-header__logo.svg","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/typeof.js","webpack:///./app/assets/images/gps/gps_best_practices.jpg","webpack:///./app/assets/images/icon__handshake.svg","webpack:///./app/javascript/components/modules/Portal/Portal.jsx","webpack:///./app/javascript/components/modules/BasicElements/InputBox.js.jsx","webpack:///./app/javascript/components/dealer_portal/modules/ResendContractModal.jsx","webpack:///./app/javascript/components/bank_account/plaid/BankAccountChooser.jsx","webpack:///./app/javascript/helpers/getKeyReplacedData.js","webpack:///./node_modules/jquery/src/var/ObjectFunctionString.js","webpack:///./node_modules/jquery/src/selector-sizzle.js","webpack:///./node_modules/jquery/external/sizzle/dist/sizzle.js","webpack:///./node_modules/jquery/src/traversing/var/dir.js","webpack:///./node_modules/jquery/src/traversing/var/siblings.js","webpack:///./node_modules/jquery/src/deferred/exceptionHook.js","webpack:///./node_modules/jquery/src/core/readyException.js","webpack:///./node_modules/jquery/src/data.js","webpack:///./node_modules/jquery/src/queue/delay.js","webpack:///./node_modules/jquery/src/css/showHide.js","webpack:///./node_modules/jquery/src/css/var/swap.js","webpack:///./node_modules/jquery/src/css/var/rboxStyle.js","webpack:///./node_modules/jquery/src/effects/Tween.js","webpack:///./node_modules/jquery/src/attributes.js","webpack:///./node_modules/jquery/src/attributes/attr.js","webpack:///./node_modules/jquery/src/attributes/classes.js","webpack:///./node_modules/jquery/src/attributes/val.js","webpack:///./node_modules/jquery/src/event/focusin.js","webpack:///./node_modules/jquery/src/event/support.js","webpack:///./node_modules/jquery/src/manipulation/_evalUrl.js","webpack:///./node_modules/jquery/src/ajax/var/location.js","webpack:///./node_modules/jquery/src/wrap.js","webpack:///./node_modules/jquery/src/css/hiddenVisibleSelectors.js","webpack:///./node_modules/jquery/src/ajax/xhr.js","webpack:///./node_modules/jquery/src/ajax/script.js","webpack:///./node_modules/jquery/src/ajax/jsonp.js","webpack:///./node_modules/jquery/src/ajax/load.js","webpack:///./node_modules/jquery/src/core/support.js","webpack:///./node_modules/jquery/src/effects/animatedSelector.js","webpack:///./node_modules/jquery/src/offset.js","webpack:///./node_modules/jquery/src/dimensions.js","webpack:///./node_modules/jquery/src/deprecated.js","webpack:///./node_modules/jquery/src/deprecated/ajax-event-alias.js","webpack:///./node_modules/jquery/src/deprecated/event.js","webpack:///./node_modules/jquery/src/exports/amd.js","webpack:///./node_modules/jquery/src/exports/global.js","webpack:///./node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///./node_modules/scheduler/index.js","webpack:///./node_modules/scheduler/cjs/scheduler.production.min.js","webpack:///./node_modules/react-on-rails/node_package/lib/clientStartup.js","webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","webpack:///./node_modules/react-on-rails/node_package/lib/isRenderFunction.js","webpack:///./node_modules/react-on-rails/node_package/lib/StoreRegistry.js","webpack:///./node_modules/react-on-rails/node_package/lib/serverRenderReactComponent.js","webpack:///./node_modules/react-on-rails/node_package/lib/RenderUtils.js","webpack:///./node_modules/react-on-rails/node_package/lib/scriptSanitizedVal.js","webpack:///./node_modules/react-on-rails/node_package/lib/Authenticity.js","webpack:///./node_modules/react-on-rails/node_package/lib/context.js","webpack:///./node_modules/create-react-class/factory.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/dom-scroll-into-view/index.js","webpack:///./node_modules/dom-scroll-into-view/lib/dom-scroll-into-view.js","webpack:///./node_modules/dom-scroll-into-view/lib/util.js","webpack:///./app/javascript/modern.js","webpack:///./node_modules/alt/lib/utils/AltUtils.js","webpack:///./app/assets/images/careers__hero.png","webpack:///./app/assets/images/careers__quote--alex.jpg","webpack:///./app/assets/images/careers__quote--anthony.jpg","webpack:///./app/assets/images/careers__quote--gaurang.jpg","webpack:///./app/assets/images/careers__quote--maria.jpg","webpack:///./app/assets/images/careers__quote--noelle.jpg","webpack:///./app/assets/images/careers__quote--pranjal.jpg","webpack:///./app/assets/images/careers__quote--wai-kin.jpg","webpack:///./app/assets/images/careers__team-1.jpg","webpack:///./app/assets/images/careers__team-2.jpg","webpack:///./app/assets/images/careers__team-3.jpg","webpack:///./app/assets/images/careers__team-4.jpg","webpack:///./app/assets/images/careers__team-5.jpg","webpack:///./app/assets/images/dealers__baha-auto.jpg","webpack:///./app/assets/images/dealers__chevrolet.jpg","webpack:///./app/assets/images/dealers__ford.jpg","webpack:///./app/assets/images/dealers__hero.png","webpack:///./app/assets/images/dealers__nissan.jpg","webpack:///./app/assets/images/dealers__step-1.png","webpack:///./app/assets/images/dealers__step-2.png","webpack:///./app/assets/images/dealers__step-3.png","webpack:///./app/assets/images/dealers__toyota.jpg","webpack:///./app/assets/images/emoji__balloon.png","webpack:///./app/assets/images/emoji__female-dancer.png","webpack:///./app/assets/images/emoji__male-dancer.png","webpack:///./app/assets/images/emoji__party.png","webpack:///./app/assets/images/emoji__sparkles.png","webpack:///./app/assets/images/faq__hero.png","webpack:///./app/assets/images/general/lendbuzz_logo_color.png","webpack:///./app/assets/images/general/lendbuzz_logo_white.png","webpack:///./app/assets/images/general/new_lendbuzz_logo.png","webpack:///./app/assets/images/general/stepsdone.png","webpack:///./app/assets/images/general/stepsline.png","webpack:///./app/assets/images/general/stepsmiss.png","webpack:///./app/assets/images/homepage__hero.png","webpack:///./app/assets/images/homepage__step-1.png","webpack:///./app/assets/images/homepage__step-2.png","webpack:///./app/assets/images/homepage__step-3.png","webpack:///./app/assets/images/widget/tooltip.png","webpack:///./node_modules/@thumbmarkjs/thumbmarkjs/dist/thumbmark.esm.js","webpack:///./app/javascript/fingerprint.ts","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./app/javascript/components/headers/BasicHeader.js.jsx","webpack:///./app/javascript/components/Review.js.jsx","webpack:///./app/javascript/components/DealerReview.js.jsx","webpack:///./app/javascript/components/error/ErrorModal.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerTabs.js.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTrackerTutorial.js.jsx","webpack:///./node_modules/transmitter/dist/transmitter.js","webpack:///./app/assets/images sync ^\\.\\/.*$","webpack:///./app/assets/images/announcement/founders.jpg","webpack:///./app/assets/images/application_list.svg","webpack:///./app/assets/images/background/about.jpg","webpack:///./app/assets/images/background/contact.jpg","webpack:///./app/assets/images/background/hero.jpg","webpack:///./app/assets/images/background/hex_bg.jpg","webpack:///./app/assets/images/background/road.jpg","webpack:///./app/assets/images/background/support.jpg","webpack:///./app/assets/images/betterdata/@1x.svg","webpack:///./app/assets/images/betterdata/asphalt.png","webpack:///./app/assets/images/betterdata/asphalt2.png","webpack:///./app/assets/images/betterdata/asphalt3.png","webpack:///./app/assets/images/betterdata/asphalt4.png","webpack:///./app/assets/images/betterdata/asphalt_tile.png","webpack:///./app/assets/images/betterdata/car.png","webpack:///./app/assets/images/betterdata/graph.png","webpack:///./app/assets/images/car_offer.svg","webpack:///./app/assets/images/careers__benefit-1.svg","webpack:///./app/assets/images/careers__benefit-2.svg","webpack:///./app/assets/images/careers__benefit-3.svg","webpack:///./app/assets/images/careers__benefit-4.svg","webpack:///./app/assets/images/careers__benefit-5.svg","webpack:///./app/assets/images/careers__benefit-6.svg","webpack:///./app/assets/images/careers__benefit-7.svg","webpack:///./app/assets/images/careers__benefit-8.svg","webpack:///./app/assets/images/careers__value-1.svg","webpack:///./app/assets/images/careers__value-2.svg","webpack:///./app/assets/images/careers__value-3.svg","webpack:///./app/assets/images/careers__value-4.svg","webpack:///./app/assets/images/careers__value-5.svg","webpack:///./app/assets/images/comodo_secure_113x59_transp.png","webpack:///./app/assets/images/contact__address.svg","webpack:///./app/assets/images/contact__email.svg","webpack:///./app/assets/images/contact__hero.png","webpack:///./app/assets/images/contact__phone.svg","webpack:///./app/assets/images/dealers-landing-hero.jpg","webpack:///./app/assets/images/edit_pencil.png","webpack:///./app/assets/images/edit_pencil_color.png","webpack:///./app/assets/images/favicon.png","webpack:///./app/assets/images/favicon copy.png","webpack:///./app/assets/images/file_folders.png","webpack:///./app/assets/images/founders.jpg","webpack:///./app/assets/images/general/avatar.png","webpack:///./app/assets/images/general/blank.png","webpack:///./app/assets/images/general/check.svg","webpack:///./app/assets/images/general/error.png","webpack:///./app/assets/images/general/icon_info.png","webpack:///./app/assets/images/general/icon_invalid.png","webpack:///./app/assets/images/general/icon_success.png","webpack:///./app/assets/images/general/icon_valid.png","webpack:///./app/assets/images/general/norton.png","webpack:///./app/assets/images/general/ribbonbg.png","webpack:///./app/assets/images/general/selected.png","webpack:///./app/assets/images/general/selected_large.png","webpack:///./app/assets/images/general/steps1.png","webpack:///./app/assets/images/general/unselected.png","webpack:///./app/assets/images/general/warning.png","webpack:///./app/assets/images/gps/gps_located.png","webpack:///./app/assets/images/gps/question_mark.png","webpack:///./app/assets/images/home_bg.jpg","webpack:///./app/assets/images/homepage__ai-1.svg","webpack:///./app/assets/images/homepage__ai-2.svg","webpack:///./app/assets/images/homepage__ai-3.svg","webpack:///./app/assets/images/homepage__why-1.svg","webpack:///./app/assets/images/homepage__why-2.svg","webpack:///./app/assets/images/homepage__why-3.svg","webpack:///./app/assets/images/howitworks/homepage_arrow_down.svg","webpack:///./app/assets/images/howitworks/lines.png","webpack:///./app/assets/images/icon__chevron.svg","webpack:///./app/assets/images/icon__close.svg","webpack:///./app/assets/images/icon__dropdown.svg","webpack:///./app/assets/images/icon__email.svg","webpack:///./app/assets/images/icon__phone.svg","webpack:///./app/assets/images/icon__signin-arrow.svg","webpack:///./app/assets/images/icon__sparkle.svg","webpack:///./app/assets/images/icons/external-link.svg","webpack:///./app/assets/images/icons/facebook.png","webpack:///./app/assets/images/icons/instagram.png","webpack:///./app/assets/images/icons/linkedin.png","webpack:///./app/assets/images/icons/send.svg","webpack:///./app/assets/images/icons/twitter.png","webpack:///./app/assets/images/icons/wechat.png","webpack:///./app/assets/images/in-verification.png","webpack:///./app/assets/images/landings/bmw_3series.png","webpack:///./app/assets/images/landings/bmw_3series2.png","webpack:///./app/assets/images/landings/body-style-icon.png","webpack:///./app/assets/images/landings/brand-logo.png","webpack:///./app/assets/images/landings/color-selected-item.png","webpack:///./app/assets/images/landings/down-arrow.png","webpack:///./app/assets/images/landings/header-slider.png","webpack:///./app/assets/images/landings/icon-alert.png","webpack:///./app/assets/images/landings/icon-engine.png","webpack:///./app/assets/images/landings/icon-mail.png","webpack:///./app/assets/images/landings/icon-phone.png","webpack:///./app/assets/images/landings/icon-suv.png","webpack:///./app/assets/images/landings/icon-toyota.png","webpack:///./app/assets/images/landings/icon-transmission.png","webpack:///./app/assets/images/landings/icon-trim.png","webpack:///./app/assets/images/landings/icon-year.png","webpack:///./app/assets/images/landings/left-arrow.png","webpack:///./app/assets/images/landings/left-small-arrow.png","webpack:///./app/assets/images/landings/logo.png","webpack:///./app/assets/images/landings/mitsubishi_outlander.png","webpack:///./app/assets/images/landings/mitsubishi_outlander2.png","webpack:///./app/assets/images/landings/right-arrow.png","webpack:///./app/assets/images/landings/right-small-arrow.png","webpack:///./app/assets/images/landings/select-arrow.png","webpack:///./app/assets/images/landings/showcase-arrow.png","webpack:///./app/assets/images/landings/showcase-bar.jpg","webpack:///./app/assets/images/landings/showcase-bar-bg.jpg","webpack:///./app/assets/images/landings/showcase-bg.jpg","webpack:///./app/assets/images/landings/showcase-dual-right-bg.jpg","webpack:///./app/assets/images/landings/toyota_rav4.png","webpack:///./app/assets/images/landings/type-car-slide.png","webpack:///./app/assets/images/landings/up-arrow.png","webpack:///./app/assets/images/landings/year-icon.png","webpack:///./app/assets/images/lend_buzz_logo.png","webpack:///./app/assets/images/lendbuzz_logo_color.svg","webpack:///./app/assets/images/lendbuzz_logo_dark.png","webpack:///./app/assets/images/lendbuzz_logo_on_white.jpg","webpack:///./app/assets/images/lendbuzz_logo_white.png","webpack:///./app/assets/images/logo__83north.png","webpack:///./app/assets/images/logo__bhi.png","webpack:///./app/assets/images/logo__connectone.png","webpack:///./app/assets/images/logo__dealer-track.png","webpack:///./app/assets/images/logo__goldman-sachs.png","webpack:///./app/assets/images/logo__idb.png","webpack:///./app/assets/images/logo__mufg.png","webpack:///./app/assets/images/logo__route-one.png","webpack:///./app/assets/images/logo__viola.png","webpack:///./app/assets/images/logo__wellington.png","webpack:///./app/assets/images/norton.png","webpack:///./app/assets/images/onboarding/back.png","webpack:///./app/assets/images/onboarding/dropdown.png","webpack:///./app/assets/images/onboarding/page1/2015-Ford-F-150-XLT.jpg","webpack:///./app/assets/images/onboarding/page1/2015-Toyota-Camry-SE-front-three-quarter-03.png","webpack:///./app/assets/images/onboarding/page1/2015-s-series-gran-turismo.png","webpack:///./app/assets/images/onboarding/page1/2018-audi-a7-in-depth-model-photo-s-original.png","webpack:///./app/assets/images/onboarding/page1/2018-tesla-model-3.png","webpack:///./app/assets/images/onboarding/page1/Chevrolet-Camaro.jpg","webpack:///./app/assets/images/onboarding/page1/Overlay.png","webpack:///./app/assets/images/onboarding/page1/Overlay-mobile.png","webpack:///./app/assets/images/onboarding/page1/clock.png","webpack:///./app/assets/images/onboarding/page1/envelope.png","webpack:///./app/assets/images/onboarding/page1/lendbuzz_logo_white.png","webpack:///./app/assets/images/onboarding/page1/money-bag.svg","webpack:///./app/assets/images/onboarding/page2/help.png","webpack:///./app/assets/images/onboarding/page4/browse.png","webpack:///./app/assets/images/onboarding/page4/camera.png","webpack:///./app/assets/images/onboarding/page4/jpg-label.png","webpack:///./app/assets/images/onboarding/page4/pdf-label.png","webpack:///./app/assets/images/onboarding/page4/png-label.png","webpack:///./app/assets/images/onboarding/page4/upload-download.png","webpack:///./app/assets/images/onboarding/page6/handshake.png","webpack:///./app/assets/images/pending_brown.svg","webpack:///./app/assets/images/receipt.png","webpack:///./app/assets/images/singlepage/carfax-logo.png","webpack:///./app/assets/images/singlepage/fetch.png","webpack:///./app/assets/images/singlepage/logo-nada-used.png","webpack:///./app/assets/images/singlepage/navigate.png","webpack:///./app/assets/images/site-footer__facebook.svg","webpack:///./app/assets/images/site-footer__instagram.svg","webpack:///./app/assets/images/site-footer__linkedin.svg","webpack:///./app/assets/images/site-footer__logo.svg","webpack:///./app/assets/images/site-footer__twitter.svg","webpack:///./app/assets/images/testimonials/tablet-white-triangle-bg.png","webpack:///./app/assets/images/testimonials/testimonial.jpg","webpack:///./app/assets/images/testimonials/testimonial-image-1.png","webpack:///./app/assets/images/testimonials/testimonial-image-2.png","webpack:///./app/assets/images/testimonials/testimonial-image-3.png","webpack:///./app/assets/images/testimonials/testimonials-green-bg.png","webpack:///./app/assets/images/testimonials/testimonials-mobile-green-bg.png","webpack:///./app/assets/images/testimonials/testimonials-slider-arrows.png","webpack:///./app/assets/images/testimonials/testimonials-tablet-green-bg.png","webpack:///./app/assets/images/testimonials/white-triangle-bg.png","webpack:///./app/assets/images/tooltip.svg","webpack:///./app/assets/images/underline--lg.svg","webpack:///./app/assets/images/underline--md.svg","webpack:///./app/assets/images/underline--sm.svg","webpack:///./app/assets/images/via_banner_v3.jpg","webpack:///./app/assets/images/wechat_qr_code.png","webpack:///./app/assets/images/why/credit_score.svg","webpack:///./app/assets/images/why/low_rates.svg","webpack:///./app/assets/images/why/quick_easy.svg","webpack:///./app/assets/images/widget/lock.svg","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///./app/javascript/components/deal_structure/dealer/ToolBar.jsx","webpack:///./node_modules/alt/lib/index.js","webpack:///./app/javascript/components/modules/GoogleAutocomplete.js.jsx","webpack:///./app/javascript/components/dealer_signup/DealerInformation.js.jsx","webpack:///./app/javascript/helpers/User.js","webpack:///./app/javascript/components/dealer_signup/UploadDocuments.js.jsx","webpack:///./app/javascript/data/ReviewData.js","webpack:///./app/javascript/components/ReviewCard.js.jsx","webpack:///./app/javascript/data/DealerReviewData.js","webpack:///./app/javascript/components/DealerReviewCard.js.jsx","webpack:///./node_modules/abort-controller/browser.js","webpack:///./app/javascript/components/dealer_portal/FundedDeals.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoans.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoan.js.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/index.jsx","webpack:///./app/javascript/helpers/LoanHelper.js","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/GetHelp.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Finalize/index.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Finalize/Consent.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Finalize/NetFinancedCheck.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAResubmit.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestFunding/RequestFundingModalBody.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAChangeVehicle.jsx","webpack:///./app/javascript/components/dealer_portal/AppStatusPill.jsx","webpack:///./app/javascript/components/bank_account/BankAccountEntry.jsx","webpack:///./app/javascript/helpers/BankEntryHelper.js","webpack:///./app/javascript/components/documents/hooks/useCreateOrUpdateDocument.js","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Review/ContractStep.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Review/ReviewHelper.js","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Review/index.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/Loader.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/MissingDataModalBody.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAViewEditDeal.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestContract/index.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestFunding/Loader.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/RequestFunding/index.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAContinueApp.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTANotApplicable.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAUnderReview.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/CTAResendContract.jsx","webpack:///./app/javascript/components/dealer_portal/CTA/index.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/DisplayBoxTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/ApprovalTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/BankTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/ContractTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/FundingTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/GpsTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/IncomeVerifyTrackerMini.jsx","webpack:///./app/javascript/components/dealer_portal/LoanTracker/index.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/DisplayBoxTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/ApprovalTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/BankTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/ContractTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/FundingTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/GpsTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/IncomeVerifyTracker.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionTracker/index.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/InputField.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/SearchButton.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/PayoffResult/Acknowledgement.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/PayoffResult/PayoffResult.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/Loader.jsx","webpack:///./app/javascript/components/dealer_portal/PayoffQuotes/index.jsx","webpack:///./app/javascript/components/modules/PreLoader.js.jsx","webpack:///./app/javascript/components/dealer_portal/AutomobileModal/AutomobilePurchasePrice.jsx","webpack:///./app/javascript/components/dealer_portal/AutomobileModal/NadaSuggestions.jsx","webpack:///./app/javascript/components/dealer_portal/AutomobileModal/AutomobileModalBody.jsx","webpack:///./app/javascript/components/dealer_portal/AutomobileModal/index.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionStats/DisplayBoxInfo.jsx","webpack:///./app/javascript/components/dealer_portal/DealerLoansAccordion/AccordionStats/index.jsx","webpack:///./app/javascript/siteHeader.js","webpack:///./app/javascript/triggerAccountDropdown.js","webpack:///./app/javascript/triggerMobileNav.js","webpack:///./app/javascript/parallax.js","webpack:///./node_modules/flux/index.js","webpack:///./node_modules/flux/lib/Dispatcher.js","webpack:///./node_modules/fbjs/lib/invariant.js","webpack:///./node_modules/alt/lib/utils/StateFunctions.js","webpack:///./node_modules/alt/lib/store/index.js","webpack:///./node_modules/alt/lib/store/AltStore.js","webpack:///./node_modules/alt/lib/store/StoreMixin.js","webpack:///./node_modules/alt/lib/actions/index.js","webpack:///./node_modules/is-promise/index.js","webpack:///./app/assets/images/careers__hero.png.webp","webpack:///./app/assets/images/careers__quote--alex.jpg.webp","webpack:///./app/assets/images/careers__quote--anthony.jpg.webp","webpack:///./app/assets/images/careers__quote--gaurang.jpg.webp","webpack:///./app/assets/images/careers__quote--maria.jpg.webp","webpack:///./app/assets/images/careers__quote--noelle.jpg.webp","webpack:///./app/assets/images/careers__quote--pranjal.jpg.webp","webpack:///./app/assets/images/careers__quote--wai-kin.jpg.webp","webpack:///./app/assets/images/careers__team-1.jpg.webp","webpack:///./app/assets/images/careers__team-2.jpg.webp","webpack:///./app/assets/images/careers__team-3.jpg.webp","webpack:///./app/assets/images/careers__team-4.jpg.webp","webpack:///./app/assets/images/careers__team-5.jpg.webp","webpack:///./app/assets/images/dealers__baha-auto.jpg.webp","webpack:///./app/assets/images/dealers__chevrolet.jpg.webp","webpack:///./app/assets/images/dealers__ford.jpg.webp","webpack:///./app/assets/images/dealers__hero.png.webp","webpack:///./app/assets/images/dealers__nissan.jpg.webp","webpack:///./app/assets/images/dealers__step-1.png.webp","webpack:///./app/assets/images/dealers__step-2.png.webp","webpack:///./app/assets/images/dealers__step-3.png.webp","webpack:///./app/assets/images/dealers__toyota.jpg.webp","webpack:///./app/assets/images/emoji__balloon.png.webp","webpack:///./app/assets/images/emoji__female-dancer.png.webp","webpack:///./app/assets/images/emoji__male-dancer.png.webp","webpack:///./app/assets/images/emoji__party.png.webp","webpack:///./app/assets/images/emoji__sparkles.png.webp","webpack:///./app/assets/images/faq__hero.png.webp","webpack:///./app/assets/images/general/lendbuzz_logo_color.svg","webpack:///./app/assets/images/general/lendbuzz_logo_white.svg","webpack:///./app/assets/images/general/new_lendbuzz_logo.png.webp","webpack:///./app/assets/images/general/stepsdone.svg","webpack:///./app/assets/images/general/stepsline.svg","webpack:///./app/assets/images/general/stepsmiss.svg","webpack:///./app/assets/images/homepage__carousel-star.png.webp","webpack:///./app/assets/images/homepage__hero.png.webp","webpack:///./app/assets/images/homepage__star-75.png.webp","webpack:///./app/assets/images/homepage__star.png.webp","webpack:///./app/assets/images/homepage__step-1.png.webp","webpack:///./app/assets/images/homepage__step-2.png.webp","webpack:///./app/assets/images/homepage__step-3.png.webp","webpack:///./app/assets/images/icon__google.png.webp","webpack:///./app/assets/images/widget/tooltip.svg","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/objectSpread2.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/toPrimitive.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/slicedToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/createClass.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/inherits.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/createSuper.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/iterableToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js","webpack:///./node_modules/@emotion/react/node_modules/@babel/runtime/helpers/extends.js","webpack:///./node_modules/react-is/index.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./app/javascript/components/GPS/AddGps.js.jsx","webpack:///./app/javascript/components/deal_structure/dealer/TradeIn.jsx","webpack:///./app/javascript/components/deal_structure/dealer/ComparisonTitle.jsx","webpack:///./app/javascript/components/deal_structure/modules/ErrorModal.jsx","webpack:///./app/javascript/components/deal_structure/dealer/FrontEndTable.jsx","webpack:///./app/javascript/components/deal_structure/dealer/BackEndTable.jsx","webpack:///./app/javascript/components/deal_structure/dealer/LendbuzzTable.jsx","webpack:///./app/javascript/components/deal_structure/dealer/DealHistory.jsx","webpack:///./app/javascript/components/deal_structure/dealer/LoanSummary.jsx","webpack:///./app/javascript/components/deal_structure/dealer/HeaderBox.jsx","webpack:///./app/javascript/components/deal_structure/dealer/AutomobileModal.jsx","webpack:///./app/javascript/components/deal_structure/dealer/AutomobileHeaderBox.jsx","webpack:///./app/javascript/helpers/parsingHelper.js","webpack:///./app/javascript/components/deal_structure/dealer/AiraBox/AiraBox.jsx","webpack:///./app/javascript/components/deal_structure/dealer/AiraBox/index.js","webpack:///./app/javascript/components/deal_structure/dealer/DealHeader.jsx","webpack:///./app/javascript/components/deal_structure/dealer/ButtonMini.jsx","webpack:///./app/javascript/components/deal_structure/dealer/BackBar.jsx","webpack:///./app/javascript/components/deal_structure/dealer/index.jsx","webpack:///./app/javascript/alt.js.jsx","webpack:///./app/javascript/actions/DealerApplicationActions.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/AddressInformation/helper.ts","webpack:///./app/javascript/helpers/DealerApplicationHelper.js","webpack:///./app/javascript/stores/DealerApplicationStore.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/modules/B2BInputBox.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/BuyerInformation.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/AddressInformation/Address.tsx","webpack:///./app/javascript/components/dealer_loan_application/AddressInformation/index.tsx","webpack:///./app/javascript/components/dealer_loan_application/IncomeEmployment.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/Education.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/VehicleInformation.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/modules/B2BDollarInput.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/TradeIn.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/DealInformation.js.jsx","webpack:///./app/javascript/components/dealer_loan_application/index.js.jsx","webpack:///./app/javascript/components/dealer_signup/UnderReview.js.jsx","webpack:///./app/javascript/components/dealer_signup/index.js.jsx","webpack:///./app/javascript/components/CareerCard.js.jsx","webpack:///./app/javascript/components/Career.js.jsx","webpack:///./app/javascript/data/CarouselData.js","webpack:///./app/javascript/components/Carousel.js.jsx","webpack:///./app/javascript/components/dealer_settings/ReserveHistory.js.jsx","webpack:///./app/javascript/components/dealer_settings/ReserveAccount.js.jsx","webpack:///./app/javascript/components/dealer_settings/FormField.jsx","webpack:///./app/javascript/components/dealer_settings/DealerUser.jsx","webpack:///./app/javascript/components/dealer_settings/UserManagement.js.jsx","webpack:///./app/javascript/components/dealer_settings/index.js.jsx","webpack:///./app/javascript/components/bank_account/plaid/PlaidStatusMessages.jsx","webpack:///./app/javascript/components/bank_account/WelcomeHeader.jsx","webpack:///./app/javascript/components/consents/ConsentDocument.jsx","webpack:///./app/javascript/components/bank_account/plaid/CommsConsentModal.jsx","webpack:///./app/javascript/components/bank_account/plaid/PlaidConnectionPrompt.jsx","webpack:///./app/javascript/components/bank_account/plaid/BankAccountConnection.jsx","webpack:///./app/javascript/components/bank_account/plaid/index.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlowComponents/HeaderText.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlowComponents/BodyText.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlowComponents/GeneralButton.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/ConnectBankPage.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/WelcomePage.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlowComponents/ErrorNotification.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/LoadingPage.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlowComponents/TextButton.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/ConfirmedBankAccounts.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/ThankYouPage.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/PlaidAccountConnection.jsx","webpack:///./app/javascript/components/bank_account/plaid/NewPlaidFlow/NewPlaidFlow.jsx","webpack:///./app/javascript/components/dealer_info/DealerInfoPage.jsx","webpack:///./app/javascript/components/documents/DocumentsContext/documentActions.js","webpack:///./app/javascript/components/documents/DocumentsContext/documentsReducer.js","webpack:///./app/javascript/components/documents/hooks/useDeleteDocument.js","webpack:///./app/javascript/components/documents/hooks/useCreateOrUpdateBankStatements.js","webpack:///./app/javascript/components/documents/DocumentsContext/DocumentsContext.jsx","webpack:///./app/javascript/components/documents/DocumentsContext/documentConstants.js","webpack:///./app/javascript/components/documents/DocumentsContext/index.js","webpack:///./app/javascript/components/documents/PrimaryStageContext.jsx","webpack:///./app/javascript/components/documents/UploadButton/UploadButton.jsx","webpack:///./app/javascript/components/documents/UploadButton/index.js","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentSlot/EmptySlot.jsx","webpack:///./app/javascript/components/modules/BasicElements/FileLink.jsx","webpack:///./app/javascript/components/modules/BasicElements/Icon.jsx","webpack:///./app/javascript/components/modules/BasicElements/Button.jsx","webpack:///./app/javascript/components/documents/DocumentLink/StatusTag.jsx","webpack:///./app/javascript/components/documents/DocumentLink/DocumentLink.jsx","webpack:///./app/javascript/components/documents/DocumentLink/index.js","webpack:///./app/javascript/components/documents/Note.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentSlot/FilledSlot.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentSlot/index.js","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentSlot/DocumentSlot.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentGroup/EmptyGroup.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentGroup/FilledGroup.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentGroup/index.js","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentGroup/DocumentGroup.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/index.jsx","webpack:///./app/javascript/components/documents/DocumentGroupList/DocumentGroupList.jsx","webpack:///./app/javascript/components/modules/BasicElements/Section.jsx","webpack:///./app/javascript/components/documents/DocumentStages/DocumentStage.jsx","webpack:///./app/javascript/components/documents/DocumentStages/DocumentStages.jsx","webpack:///./app/javascript/components/documents/DocumentStages/index.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///./node_modules/react-select/dist/useStateManager-7e1e8489.esm.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/createClass.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/createSuper.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack:///./node_modules/stylis/dist/stylis.mjs","webpack:///./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack:///./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack:///./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack:///./node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack:///./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack:///./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack:///./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack:///./node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js","webpack:///./node_modules/@emotion/react/dist/emotion-react.browser.esm.js","webpack:///./node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","webpack:///./node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js","webpack:///./node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js","webpack:///./node_modules/react-select/dist/index-827f44ad.esm.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","webpack:///./node_modules/memoize-one/dist/memoize-one.esm.js","webpack:///./node_modules/react-select/dist/Select-2497890d.esm.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/inherits.js","webpack:///./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack:///./node_modules/react-select/dist/react-select.esm.js","webpack:///./app/javascript/components/modules/BasicElements/Select.jsx","webpack:///./app/javascript/components/documents/UploadPage/UploadPage.jsx","webpack:///./app/javascript/components/documents/UploadPage/UploadBankPage.jsx","webpack:///./app/javascript/components/documents/UploadPage/UploadZone.jsx","webpack:///./app/javascript/components/documents/UploadPage/UploadSlotPage.jsx","webpack:///./app/javascript/components/documents/CuringPage/ReUploadZone.jsx","webpack:///./app/javascript/components/documents/CuringPage/index.js","webpack:///./app/javascript/components/documents/CuringPage/CuringPage.jsx","webpack:///./app/javascript/components/headers/HeaderAnnouncement.jsx","webpack:///./app/javascript/components/headers/StoredAnnouncement.jsx","webpack:///./app/javascript/components/documents/DocumentsPage.jsx","webpack:///./app/javascript/components/documents/index.js","webpack:///./app/javascript/components/documents/DocumentsApp.jsx","webpack:///./app/javascript/components/headers/EmptyHeader.jsx","webpack:///./node_modules/react-hook-form/dist/index.esm.js","webpack:///./app/javascript/components/login/Loader/Loader.tsx","webpack:///./app/javascript/hooks/useFetch.js","webpack:///./app/javascript/components/login/OTPProvider/RESEND_TIMEOUT.ts","webpack:///./app/javascript/components/login/OTPProvider/useOTPContext.ts","webpack:///./app/javascript/components/login/OTPProvider/OTPProvider.tsx","webpack:///./app/javascript/components/login/InputGroup/Input/Prepend.tsx","webpack:///./app/javascript/components/login/InputGroup/Input/Input.tsx","webpack:///./app/javascript/components/login/InputGroup/Label/Label.tsx","webpack:///./app/javascript/components/login/InputGroup/InputGroup.tsx","webpack:///./app/javascript/components/login/Button/Button.tsx","webpack:///./app/javascript/components/login/FormContainer/ChangeLoginMethodLink/ChangeLoginMethodLink.tsx","webpack:///./app/javascript/components/login/FormContainer/LogInButton/LogInButton.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/Errors/ErrorMessage.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/Errors/Errors.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/forms.ts","webpack:///./app/javascript/components/login/FormContainer/forms/EmailForm/ForgotPasswordLink/ForgotPasswordLink.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/EmailForm/EmailForm.tsx","webpack:///./node_modules/react-otp-input/lib/index.esm.js","webpack:///./app/javascript/hooks/useInterval.js","webpack:///./app/javascript/hooks/useCountdownUntil.ts","webpack:///./app/javascript/components/login/FormContainer/forms/OTPForm/ResendOTPButton/ResendOTPButton.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/OTPForm/OTPForm.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/PhoneNumberForm/PhoneNumberForm.tsx","webpack:///./app/javascript/components/login/FormContainer/forms/index.ts","webpack:///./app/javascript/components/login/FormContainer/Header/Header.tsx","webpack:///./app/javascript/components/login/FormContainer/FormContainer.tsx","webpack:///./node_modules/zod/lib/index.mjs","webpack:///./node_modules/@hookform/resolvers/dist/resolvers.module.js","webpack:///./node_modules/@hookform/resolvers/zod/dist/zod.module.js","webpack:///./app/javascript/components/login/hooks/useLoginFormSchema.ts","webpack:///./app/javascript/components/login/hooks/useLoginForm.ts","webpack:///./app/javascript/components/login/Login.tsx","webpack:///./app/javascript/ThoughtbotBindings.js.jsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","factory","_typeof","iterator","obj","constructor","hookCallback","some","hooks","apply","arguments","isArray","input","Array","toString","isObject","hasOwnProp","a","b","isObjectEmpty","getOwnPropertyNames","length","k","isUndefined","isNumber","isDate","Date","map","arr","fn","res","push","extend","valueOf","createUTC","format","locale","strict","createLocalOrUTC","utc","getParsingFlags","_pf","empty","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","meridiem","rfc2822","weekdayMismatch","isValid","_isValid","flags","parsedParts","isNowValid","isNaN","_d","getTime","invalidWeekday","_strict","undefined","bigHour","isFrozen","createInvalid","NaN","fun","this","len","momentProperties","updateInProgress","copyConfig","to","from","prop","val","_isAMomentObject","_i","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","config","updateOffset","isMoment","warn","msg","suppressDeprecationWarnings","console","deprecate","firstTime","deprecationHandler","arg","args","slice","join","Error","stack","keys","deprecations","deprecateSimple","isFunction","Function","mergeConfigs","parentConfig","childConfig","Locale","set","zeroFill","number","targetLength","forceSign","absNumber","Math","abs","zerosToFill","pow","max","substr","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","token","padded","ordinal","callback","func","localeData","formatMoment","expandFormat","array","match","replace","mom","output","makeFormatFunction","invalidDate","replaceLongDateFormatTokens","longDateFormat","lastIndex","test","aliases","addUnitAlias","unit","shorthand","lowerCase","toLowerCase","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","isLeapYear","year","absFloor","ceil","floor","toInt","argumentForCoercion","coercedNumber","isFinite","makeGetSet","keepTime","set$1","month","date","daysInMonth","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","RegExp","regexEscape","matched","p1","p2","p3","p4","indexOf","tokens","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","_a","x","modMonth","monthsShort","months","monthsShortRegex","monthsRegex","monthsParse","defaultLocaleMonths","split","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","dayOfMonth","min","getSetMonth","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","sort","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","daysInYear","y","parseTwoDigitYear","parseInt","getSetYear","createDate","h","M","ms","getFullYear","setFullYear","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","dow","doy","fwd","getUTCDay","dayOfYearFromWeeks","week","weekday","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","concat","weekdaysMin","weekdaysShort","weekdays","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","day","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","hours","lowercase","minutes","matchMeridiem","_meridiemParse","seconds","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","globalLocale","getSetHour","baseConfig","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","LTS","LT","L","LL","LLL","LLLL","dayOfMonthOrdinalParse","relativeTime","future","past","ss","mm","hh","dd","w","ww","MM","yy","meridiemParse","locales","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","e","values","data","getLocale","defineLocale","abbr","_config","parentLocale","forEach","names","j","next","chooseLocale","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","string","exec","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","monthStr","dayStr","hourStr","minuteStr","secondStr","result","weekdayStr","parsedInput","getDay","checkWeekday","obsOffset","militaryOffset","numOffset","hm","calculateOffset","setUTCMinutes","getUTCMinutes","defaults","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","now","_useUTC","getUTCMonth","getUTCDate","getMonth","getDate","currentDateArray","weekYear","temp","weekdayOverflow","curWeek","GG","W","E","createLocal","_week","gg","_dayOfYear","dayOfYearFromWeekInfo","_nextDay","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","hour","isPm","meridiemHour","meridiemFixWrap","erasConvertYear","prepareConfig","preparse","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","score","configFromStringAndArray","createFromInputFallback","configFromString","dayOrDate","minute","second","millisecond","configFromObject","configFromInput","isUTC","add","prototypeMin","other","prototypeMax","pickBy","moments","ordering","Duration","duration","years","quarters","quarter","weeks","isoWeek","days","milliseconds","unitHasDecimal","parseFloat","isDurationValid","_milliseconds","_days","_months","_data","_bubble","isDuration","absRound","round","offset","separator","utcOffset","sign","offsetFromString","chunkOffset","matcher","parts","matches","cloneWithOffset","model","diff","clone","setTime","local","getDateOffset","getTimezoneOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","base","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","direction","period","tmp","addSubtract","isAdding","invalid","subtract","isString","String","isMomentInput","arrayTest","dataTypeTest","filter","item","isNumberOrStringArray","objectTest","propertyTest","properties","isMomentInputObject","isCalendarSpec","monthDiff","wholeMonthDiff","anchor","newLocaleData","defaultFormat","defaultFormatUtc","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","matchEraAbbr","erasAbbrRegex","computeErasParse","abbrPieces","namePieces","narrowPieces","eras","narrow","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","erasNameRegex","erasNarrowRegex","erasParse","_eraYearOrdinalRegex","eraYearOrdinalParse","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","proto","preParsePostFormat","time","formats","sod","startOf","calendarFormat","asFloat","that","zoneDelta","endOf","startOfDate","isoWeekday","inputString","postformat","withoutSuffix","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","u","getPrioritizedUnits","toArray","toObject","toDate","toISOString","keepOffset","inspect","prefix","suffix","zone","isLocal","for","toJSON","unix","creationData","eraName","since","until","eraNarrow","eraAbbr","eraYear","dir","isoWeeks","weekInfo","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","array1","array2","dontConvert","lengthDiff","diffs","compareArrays","proto$1","get$1","index","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","shift","_calendar","_longDateFormat","formatUpper","toUpperCase","tok","_invalidDate","_ordinal","isFuture","_relativeTime","pastFuture","source","_eras","isFormat","_monthsShort","_monthsParseExact","firstDayOfYear","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","charAt","isLower","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","alias","as","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","total","toFixed","proto$2","monthsFromDays","argWithSuffix","argThresholds","withSuffix","th","assign","posNegDuration","relativeTime$1","toIsoString","version","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","limit","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","numeral","require","NumberFormatter","formatterWithoutDecimal","float","formatterWithDecimal","withComma","showDecimals","formatter","formatMoney","formatted","decimal","parseMoney","log","convertToNumber","getProto","_slice","flat","class2type","hasOwn","fnToString","ObjectFunctionString","support","isWindow","DOMEval","toType","jQuery","selector","context","init","isArrayLike","type","jquery","num","pushStack","elems","merge","prevObject","each","elem","first","eq","last","even","grep","_elem","odd","end","splice","options","src","copy","copyIsArray","target","deep","isPlainObject","expando","random","isReady","error","noop","Ctor","isEmptyObject","globalEval","code","doc","nonce","makeArray","results","inArray","invert","callbackExpect","guid","lb_fetch_with_error_handling","url","lb_fetch_classic","json","status","ignoreAbortErrors","useOriginalError","traceback","headers","otherOptions","authenticity_token","$","attr","method","credentials","body","isJson","JSON","stringify","fetch","lb_fetch","handleErrors","dealStructure","form","purchase_price","cleanUpData","loan_term","total_downpayment","totalDownpayment","total_other_charges_frontend","reduce","frontend_total","total_other_charges","protection_total","backend_total","product_fees","totalLendbuzzProducts","net_financed_amount","reserve_amount","net_check","lendbuzz_fees","loan_amount","clean_keys","new_data","includes","trim","updateDealStructure","netTradeInValue","calcNetTradeInValue","downpaymentPercentage","downpayment","dp_percentage","convertToMonths","duration_in_years","downpaymentLimits","pre_approval_terms","auto_downpayment","downpayment_percent","downpayment_amount","asset_value","d_percentage_amount","auto_percent_amount","downpayments","min_downpayment","validateVIN","vin","valid","formatPurchasePrice","new_form","_","new_purchase_price","othChg","idx","handleAnalytics","origin","currentUser","userEmail","Modern","dealer_rep_id","updatePurchasePrice","dispatches","updated_form","cloneDeep","net_trade","updateForm","calculatorRequestData","prevCalc","formattedPurchasePrice","LBModal","props","visibility_class","visible","animate","size","large","className","onClick","onClickAway","children","React","ReactNoopUpdateQueue","Component","updater","isValidElement","PlaidReducer","state","action","payload","toggle_bool","Boolean","bankAccount","financialPullingBankAccounts","financialPullingData","appStatus","commsModalTarget","modalVisible","loadingPlaidLink","fetchingBankingData","connectionError","pollingTimeout","count","inlineBankConnectionCount","PlaidContext","createContext","PlaidProvider","init_state","useReducer","isReadonly","dispatch","lbid","isDealer","account_fields","loanApplication","loanApplicationErrors","check_auth","plaid_accounts","pull","status_auth","check_transactions","status_trans","check_bank_account","account","every","gettingNewBank","hasAuth","hasTransactions","bank_account_is_valid","plaidDataIsValid","check_data_queue","data_queued","financialDataQueue","toggleLoadingPlaidLink","toggleModalVisible","toggleFetchingBankingData","toggleConnectionError","togglePollingTimeout","increaseInlineBankCount","check_ws_connection","FinanceConnector","get_connection_status","closePlaidLink","updateBankAccount","updatePrimaryStateValues","financial_pulling_bank_accounts","bank_account","financial_pulling_data","app_status","updatePlaidData","updateAppStatus","fetchPageState","endpoint","refreshPageState","connection_attempt_count","queued","page_data","setTimeout","page_data_validated","should_update","actions","setCommsModalTarget","setUserConsents","id","openPlaidLink","fill","onFail","onExit","plaidHelper","openModal","onSuccess","public_token","metadata","failure_callback","updatePlaid","handleSuccessfulPlaidConnection","sendAnalytics","eventName","additionalData","analyticsData","sendPlaidAnalytics","derived","Provider","fetchLoanAndForm","loan","app_data","is_dealer","dealer_id","user_data_source","person","first_name","last_name","phone_number","phone","telephone","deviceDetails","getDeviceDetails","getSegment","is_dealership","amount","applicationStatus","carHistory","automobile","history","carMake","make","carModel","carVINNumber","carYear","closeDate","timestamps","FINANCED","createdDate","IN_APPLICATION","dateTime","dealershipId","dealershipName","dealer","dealershipRepresentative","contact_person","group","loanAPR","apr","loanDate","loan_date","loanDuration","loan_due_date","loanID","loanRate","loan_rate","loanState","loanZipcode","zipcode","loanStatus","loan_status","monthlyPayment","monthly_payment","nationality","production","window","ENV","purchasePrice","email","userPhoneNumber","userId","userName","userType","refinance","refinancing","repossessed","segment","surrender","throughADealership","timestampFinanced","totalDownPayment","cash_downpayment","analytics","track","dealer_or_user","sendPaymentsAnalytics","payment_type","user_type","getCookie","cname","decodeURIComponent","isIframe","parent","document","cookie","getRawCookie","deviceId","fingerprint","ip","sendSecurityAnalytics","rumorDetails","globalProperties","segmentTrackProperties","gpsAnalytics","recordPlaidEvent","checkDCE","__REACT_DEVTOOLS_GLOBAL_HOOK__","err","DSDollarInput","title","on_change","onChange","on_blur","onBlur","error_key","errorKey","placeholder","class_name","compact","onKeyDown","top","disabled","readOnly","percent","inputClass","nodeType","verifyAccountNumber","verifyRoutingNumber","isBankDone","finance_connections","is_plaid_required","verify_auth","verify_trans","fc","verifyPlaidData","bank","verifyBankAccountInfo","isContractRequired","isGpsDone","gps_data","gpsDone","gps","working","force_working","disabledAppStatuses","bankAccountStatus","form_data","appStatusCheck","isBankVerified","isBankRequired","isBankAvaliable","incomeStatus","financial_stats","income_verification_status","isIncomeDone","isIncomeRequired","isIncomeAvailable","approvalDocsStatus","documents_data","isApprovalDocsVerified","approval_documents","approval_stats","rejected_stats","isApprovalDocsDone","isApprovalDocsRequired","isApprovalDocsAvailable","contractStatus","isContractDisabled","isContractVerified","fundingStatus","isFundingDocsVerified","financing_documents","uploaded","isFundingDocsDone","isFundingDocsRequired","isFundingDocsAvailable","gpsStatus","isGpsVerified","gpsRequired","isGpsRequired","isGpsAvailable","requestFundingCheck","requestContractCheck","app_status_text_mapping","derivedAppStatus","req_funding","sent_to_dealer","fancyAppStatus","derived_app_status","app_status_text","replaceAll","app_status_classes","isCollateralNotQualified","classNames","classes","useIsMount","isMountRef","useRef","useEffect","current","quickSearchLoansDictionary","QSL","QSL_dict","loanId","LoansReducer","loans","rawLoans","new_loan","new_state","initialState","repName","LoansContext","LoansProvider","updateLoans","qslLoans","loansDict","updateLoan","newRawLoans","loanIndex","findIndex","new_loans","parse","spliceUpdatedLoan","flashInput","_key","addClass","css","HeaderReducer","automobileDetails","automobilePurchasePrice","calculated","loader","pti","ptiThreshold","ptiLoader","showValidations","warnings","errors","autoReadOnly","HeaderContext","HeaderProvider","__WEBPACK_EXTERNAL_MODULE_2__","__WEBPACK_EXTERNAL_MODULE_3__","loaded","process","_extends","_createClass","defineProperties","descriptor","configurable","writable","Constructor","protoProps","staticProps","_react2","_interopRequireDefault","_propTypes2","_attrAccept2","_getDataTransferItems2","default","_objectWithoutProperties","supportMultiple","createElement","fileAccepted","file","accept","Dropzone","_React$Component","instance","TypeError","_classCallCheck","_this","self","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","renderChildren","isDragActive","isDragReject","onDocumentDrop","onDragStart","onDragEnter","onDragLeave","onDragOver","onDrop","onFileDialogCancel","setRef","setRefs","onInputElementClick","isFileDialogActive","draggedFiles","acceptedFiles","rejectedFiles","subClass","superClass","setPrototypeOf","_inherits","evt","preventDefault","preventDropOnDocument","dragTargets","addEventListener","onDocumentDragOver","fileInputEl","onfocus","removeEventListener","node","contains","setState","stopPropagation","dataTransfer","dropEffect","_this2","el","_this3","_props","onDropAccepted","onDropRejected","multiple","disablePreview","fileList","preview","URL","createObjectURL","env","NODE_ENV","fileMatchSize","_toConsumableArray","_props2","disableClick","open","inputProps","files","ref","maxSize","minSize","_this4","click","_props3","activeClassName","rejectClassName","rest","activeStyle","rejectStyle","style","filesCount","isMultipleAllowed","allFilesAccepted","width","height","borderWidth","borderColor","borderStyle","borderRadius","backgroundColor","appliedStyle","inputAttributes","display","divProps","propTypes","oneOfType","bool","defaultProps","Infinity","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","nextTick","browser","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","umask","v","endsWith","__e","__g","f","G","P","S","F","B","core","setDesc","isEnum","propertyIsEnumerable","getDesc","getOwnPropertyDescriptor","setDescs","getKeys","getNames","getSymbols","getOwnPropertySymbols","inspectSource","event","dataTransferItemsList","dt","items","rsingleTag","rootjQuery","rquickExpr","root","find","parseHTML","ownerDocument","getElementById","ready","useLbFetch","useState","loading","setLoading","finished","setFinished","setErrors","useCallback","DealStructureReducer","calculatorResponse","response","og_form","originalForm","calculatorLoader","updateLoader","updated","savedAnimation","DealStructureContext","DealStructureProvider","dealHistory","setDealHistory","dealHistoryLoader","setDealHistoryLoader","requestDealHistory","calculatedModifiers","useMemo","applied_modifiers","ok","statusText","alert","analyticsInfo","calculateTerms","requestCalculateTerms","updateTerms","requestUpdateTerms","remarks","disable_calculate","onEnter","deal_structure","readOnlyState","disableCalculate","revertPurchasePrice","CompactDollarInput","warning","left","required","inputSide","input_ref","createRef","body_class","input_class","input_style","label_classes","renderInputElement","autoComplete","renderSelectElement","empty_option","disableEmptyOption","option","focus","renderElement","DollarInput","title_class","font_weight_class","dollar_sign","percent_sign","dollar","DispatchesHelper","dealStructureDispatch","dealHeaderDispatch","setCalculated","calculatedStatus","setUpdated","setCalculatedLoader","updated_data","modifiers","calcReqData","request_data","loan_application","loan_application_id","calculator_data","new_deal","stats","Data","ErrorIcon","errorClasses","icon_view","clickable","extraClasses","XSButton","handleClick","primary","lineHeight","textAlign","letterSpacing","buttonText","nodeName","DSInputBox","DealerLoanRequests","multipleOffersRequest","parent_id","financialStatsRequest","validationsRequest","sendLoanErrorsEmail","onRequestFunding","otherActionsStatusRequest","qslSingleLoanRequest","params_data","access","chainable","emptyGet","raw","bulk","rnothtmlwhite","location","rquery","r20","rhash","rantiCache","rheaders","rnoContent","rprotocol","prefilters","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataType","dataTypes","unshift","inspectPrefiltersOrTransports","originalOptions","jqXHR","inspected","seekingTransport","selected","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","ajaxSettings","href","active","lastModified","etag","protocol","global","processData","async","contentType","accepts","text","html","xml","contents","responseFields","converters","parseXML","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","ajax","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","completed","fireGlobals","uncached","callbackContext","globalEventContext","deferred","Deferred","completeDeferred","Callbacks","_statusCode","statusCode","requestHeaders","requestHeadersNames","strAbort","readyState","getResponseHeader","getAllResponseHeaders","setRequestHeader","overrideMimeType","mimeType","always","abort","finalText","done","promise","crossDomain","host","param","traditional","trigger","hasContent","cache","ifModified","beforeSend","complete","success","fail","send","nativeStatusText","responses","isSuccess","modified","ct","finalDataType","firstDataType","ajaxHandleResponses","conv2","conv","prev","dataFilter","throws","ajaxConvert","resolveWith","rejectWith","fireWith","getJSON","getScript","HIGH_SCHOOL","ASSOCIATE","BACHELORS","MASTERS","DOCTORATE","LEVELS","forEachLevel","getEducationLevels","Education","level","degrees","defaultDegree","displayName","levelKey","levels","getDegreeToLevelMap","degree","getDegreeMapping","getEducationOptions","getEducationLevelByDegree","getLowestEducationLevel","lowestLevel","getValuefromHash","UrlHelper","getHashValue","value_array","hash","updateHashValue","hash_value","replaceState","pathname","search","params_string_array","addTohash","values_string","removeFromHash","clearHash","getParamsFromURL","searchParams","calcLTV","_v","Common","convert_to_number","ltvType","frontendLimit","ltv_data","frontend_limit_limit_perc","calcAmount","frontendLTV","frontend_ltv_perc","backendLimit","backend_limit_limit_perc","backendLTV","backend_ltv_perc","ltvPerc","ltvLimit","_ltv","percentage","perc","Number","_siblings","rneedsContext","rparentsprev","guaranteedUnique","sibling","cur","has","targets","closest","selectors","parentNode","matchesSelector","uniqueSort","prevAll","addBack","parents","parentsUntil","nextAll","nextUntil","prevUntil","siblings","firstChild","contentDocument","content","childNodes","reverse","Identity","Thrower","ex","adoptValue","resolve","reject","noValue","then","tuples","_state","_promise","pipe","fns","newDefer","tuple","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","handler","special","mightThrow","notifyWith","exceptionHook","stackTrace","getStackHook","list","stateString","disable","lock","fire","when","singleValue","remaining","resolveContexts","resolveValues","updateFunc","documentElement","rcheckableType","acceptData","dataPriv","rtypenamespace","returnTrue","returnFalse","expectSync","activeElement","safeActiveElement","_on","types","one","origFn","leverageNative","namespace","notAsync","saved","isTrigger","delegateType","stopImmediatePropagation","Event","handleObjIn","eventHandle","events","handleObj","handlers","namespaces","origType","elemData","handle","triggered","bindType","needsContext","expr","delegateCount","setup","remove","mappedTypes","origCount","hasData","teardown","removeEvent","nativeEvent","handlerQueue","fix","delegateTarget","preDispatch","isPropagationStopped","currentTarget","isImmediatePropagationStopped","rnamespace","postDispatch","_handlers","sel","matchedHandlers","matchedSelectors","button","addProp","hook","originalEvent","load","noBubble","_default","beforeunload","returnValue","isDefaultPrevented","defaultPrevented","relatedTarget","timeStamp","isSimulated","altKey","bubbles","cancelable","changedTouches","ctrlKey","detail","eventPhase","metaKey","pageX","pageY","shiftKey","view","charCode","keyCode","buttons","clientX","clientY","offsetX","offsetY","pointerId","pointerType","screenX","screenY","targetTouches","toElement","touches","which","blur","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","isB2bClient","is_client","is_b2b","getVehicle","getCustomerFirstName","getDealershipName","apiVersion","clientName","isReturningUser","setConfig","extraConfig","empty_callback","on_exit_callback","base_url","baseUrl","webhook","onEvent","match_reason","logging_endpoint","post","triggerModal","plaid_link","Plaid","createLinkToken","redirect_uri","req_data","success_callback","error_callback","successEndpoint","textStatus","jqXhr","errorThrown","getPlaidStorage","plaid","localStorage","getItem","setPlaidStorage","setItem","getRedirectURL","redirect_url","local_lbid","oauthModal","receivedRedirectUri","link_token","PlaidHelper","Automobile","makes","cmd","models","Models","automobile_data","styles","rmsPrefix","rdashAlpha","fcamelCase","_all","letter","camelCase","rcssNum","rnumnonpx","cssExpand","getStyles","swap","curCSS","adjustCSS","addGetHookIf","finalPropName","rdisplayswap","rcustomProp","cssShow","position","visibility","cssNormalTransform","fontWeight","setPositiveNumber","boxModelAdjustment","dimension","box","isBorderBox","computedVal","extra","delta","getWidthOrHeight","boxSizingReliable","valueIsBorderBox","offsetProp","reliableTrDimensions","getClientRects","cssHooks","opacity","computed","cssNumber","cssProps","origName","isCustomProp","clearCloneStyle","setProperty","getBoundingClientRect","scrollboxSizeBuggy","scrollboxSize","marginLeft","reliableMarginLeft","margin","padding","border","expand","expanded","rails_profile","baseEnv","PropTypes","findDOMNode","scrollIntoView","IMPERATIVE_API","Autocomplete","isOpen","highlightedIndex","_debugStates","ensureHighlightedIndex","exposeAPI","handleInputFocus","handleInputBlur","handleChange","handleKeyDown","handleInputClick","maybeAutoCompleteText","refs","_ignoreBlur","_ignoreFocus","_scrollOffset","_scrollTimer","nextProps","autoHighlight","setMenuPositions","prevProps","prevState","maybeScrollItemIntoView","onMenuVisibilityChange","ev","itemNode","menuNode","menu","onlyScrollIfNeeded","keyDownHandlers","shouldItemRender","sortItems","getItemValue","getFilteredItems","isItemSelectable","matchedItem","rect","computedStyle","getComputedStyle","marginBottom","marginRight","menuTop","bottom","menuLeft","menuWidth","setIgnoreBlur","onSelect","ignore","element","renderItem","cursor","cloneElement","onMouseEnter","highlightItemFromMouse","selectItemFromMouse","minWidth","renderMenu","onTouchStart","onMouseLeave","_this5","pageXOffset","scrollLeft","pageYOffset","scrollTop","setStateCallback","selectOnBlur","_this6","scrollTo","onFocus","isInputFocused","internal","external","debug","wrapperStyle","wrapperProps","renderInput","role","composeEventHandlers","isRequired","any","menuStyle","boxShadow","background","fontSize","maxHeight","ArrowDown","ArrowUp","Enter","_this7","select","setSelectionRange","Escape","Tab","lbids","subscribe","finance_channel","FinanceChannel","connection_success","gradeMapColor","acceptedGrades","freeze","AssetGrade","grade","dataTestId","finalGrade","gradeColor","FileUpload","createReactClass","getDefaultProps","getInitialState","uploadProgress","successfullUpload","failed","current_step","componentDidMount","params","filename","uploading","fileSize","byte_size","extension","pop","valid_extension","uploadFile","input_data","FormData","xhr","XMLHttpRequest","upload","lengthComputable","percentComplete","finish","render","renderDropArea","renderProgress","file_name","display_file_image","description","upload_view","re_upload_view","box_class","getReasonDataFromLoan","target_reason","dealer_visible","reason_data","is_reason_equal","is_dealer_visible","isLoanReasonEqualTo","popup","webpackPolyfill","paths","owner","isAttached","composed","getRootNode","rtagName","rscriptType","wrapMap","getAll","setGlobalEval","buildFragment","dataUser","rnoInnerhtml","rchecked","rcleanScript","manipulationTarget","disableScript","getAttribute","restoreScript","removeAttribute","cloneCopyEvent","dest","udataOld","udataCur","fixInput","checked","defaultValue","domManip","collection","ignored","fragment","scripts","hasScripts","iNoClone","valueIsFunction","checkClone","_evalUrl","noModule","textContent","_remove","keepData","nodes","cleanData","removeChild","htmlPrefilter","dataAndEvents","deepDataAndEvents","srcElements","destElements","cloneNode","inPage","noCloneChecked","isXMLDoc","detach","append","appendChild","prepend","insertBefore","before","after","nextSibling","innerHTML","replaceWith","replaceChild","appendTo","prependTo","insertAfter","original","insert","g","propIsEnumerable","test1","test2","fromCharCode","test3","shouldUseNative","symbols","Loader","renderLoader","loader_attr","loaderAttr","loader_text","loader_class","text_color","paddingTop","marginTop","color","BankAccountHeader","plaidIntro","paragraph","BankAccountIntroText","Tabs","rightView","selected_class","FUNC_ERROR_TEXT","HASH_UNDEFINED","PLACEHOLDER","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","INFINITY","MAX_SAFE_INTEGER","NAN","MAX_ARRAY_LENGTH","wrapFlags","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","genTag","mapTag","numberTag","objectTag","promiseTag","regexpTag","setTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrimStart","reWhitespace","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsComboRange","rsComboMarksRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsVarRange","rsBreakRange","rsMathOpRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsOptVar","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","contextProps","templateCounter","typedArrayTags","cloneableTags","stringEscapes","freeParseFloat","freeParseInt","freeGlobal","freeSelf","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","nodeIsArrayBuffer","isArrayBuffer","nodeIsDate","nodeIsMap","isMap","nodeIsRegExp","isRegExp","nodeIsSet","isSet","nodeIsTypedArray","isTypedArray","thisArg","arrayAggregator","iteratee","accumulator","arrayEach","arrayEachRight","arrayEvery","predicate","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayMap","arrayPush","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","baseFindKey","eachFunc","baseFindIndex","fromIndex","fromRight","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseTimes","baseTrim","trimmedEndIndex","baseUnary","baseValues","cacheHas","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","deburrLetter","escapeHtmlChar","escapeStringChar","chr","hasUnicode","mapToArray","overArg","transform","replaceHolders","setToArray","setToPairs","stringSize","unicodeSize","stringToArray","unicodeToArray","asciiToArray","unescapeHtmlChar","runInContext","uid","pick","arrayProto","funcProto","objectProto","coreJsData","funcToString","idCounter","maskSrcKey","IE_PROTO","nativeObjectToString","objectCtorString","oldDash","reIsNative","Buffer","_Symbol","Uint8Array","allocUnsafe","getPrototype","objectCreate","spreadableSymbol","isConcatSpreadable","symIterator","symToStringTag","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","nativeIsBuffer","isBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMax","nativeMin","nativeNow","nativeParseInt","nativeRandom","nativeReverse","DataView","Map","Promise","Set","WeakMap","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","baseLodash","chainAll","__wrapped__","__actions__","__chain__","__index__","__values__","__dir__","__filtered__","__iteratees__","__takeCount__","__views__","Hash","entries","clear","entry","ListCache","MapCache","SetCache","__data__","Stack","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","copyArray","baseClamp","arrayShuffle","assignMergeValue","baseAssignValue","assignValue","objValue","assocIndexOf","baseAggregator","baseEach","baseAssign","copyObject","baseAt","skip","lower","upper","baseClone","bitmask","customizer","isDeep","isFlat","isFull","initCloneArray","tag","getTag","isFunc","cloneBuffer","initCloneObject","getSymbolsIn","copySymbolsIn","keysIn","baseAssignIn","copySymbols","cloneArrayBuffer","dataView","buffer","byteOffset","byteLength","cloneDataView","cloneTypedArray","regexp","cloneRegExp","symbol","initCloneByTag","stacked","subValue","getAllKeysIn","getAllKeys","baseConformsTo","baseDelay","wait","baseDifference","isCommon","valuesLength","outer","valuesIndex","templateSettings","getMapData","pairs","LARGE_ARRAY_SIZE","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","isSymbol","baseFilter","baseFlatten","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","baseGet","path","castPath","toKey","baseGetAllKeys","keysFunc","symbolsFunc","baseGetTag","isOwn","unmasked","getRawTag","objectToString","baseGt","baseHas","baseHasIn","baseIntersection","arrays","othLength","othIndex","caches","maxLength","seen","baseInvoke","baseIsArguments","baseIsEqual","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","message","convert","isPartial","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","objLength","objStacked","othStacked","skipCtor","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","baseIsMatch","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","baseIsNative","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","getMatchData","matchesStrictComparable","isKey","isStrictComparable","hasIn","baseMerge","srcIndex","mergeFunc","safeGet","newValue","isTyped","isArrayLikeObject","toPlainObject","baseMergeDeep","baseNth","baseOrderBy","iteratees","orders","getIteratee","comparer","baseSortBy","objCriteria","criteria","othCriteria","ordersLength","compareAscending","compareMultiple","basePickBy","baseSet","basePullAll","basePullAt","indexes","previous","baseUnset","baseRepeat","baseRest","start","setToString","overRest","baseSample","baseSampleSize","nested","baseSetData","baseSetToString","constant","baseShuffle","baseSlice","baseSome","baseSortedIndex","retHighest","low","high","mid","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","baseWhile","isDrop","baseWrapperValue","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","stringToPath","castRest","castSlice","arrayBuffer","typedArray","valIsDefined","valIsReflexive","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","isNew","createAggregator","initializer","createAssigner","assigner","sources","guard","isIterateeCall","iterable","createCaseFirst","methodName","trailing","createCompounder","words","deburr","createCtor","thisBinding","createFind","findIndexFunc","createFlow","flatRest","funcs","prereq","thru","wrapper","getFuncName","funcName","getData","isLaziable","plant","createHybrid","partialsRight","holdersRight","argPos","ary","arity","isAry","isBind","isBindKey","isFlip","getHolder","holdersCount","newHolders","createRecurry","reorder","createInverter","toIteratee","baseInverter","createMathOperation","operator","createOver","arrayFunc","createPadding","chars","charsLength","createRange","step","toFinite","baseRange","createRelationalOperation","toNumber","wrapFunc","isCurry","newData","setData","setWrapToString","createRound","precision","toInteger","pair","createToPairs","baseToPairs","createWrap","srcBitmask","newBitmask","isCombo","mergeData","createCurry","createPartial","createBind","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","arrLength","arrStacked","arrValue","flatten","otherFunc","getValue","stubArray","hasPath","hasFunc","isLength","ArrayBuffer","ctorString","isMaskable","stubFalse","otherArgs","oldArray","shortOut","reference","details","insertWrapDetails","updateWrapDetails","getWrapDetails","lastCalled","stamp","rand","memoize","memoizeCapped","charCodeAt","quote","subString","difference","differenceBy","differenceWith","findLastIndex","head","intersection","mapped","intersectionBy","intersectionWith","pullAll","pullAt","union","unionBy","unionWith","unzip","unzipWith","without","xor","xorBy","xorWith","zip","zipWith","chain","interceptor","wrapperAt","countBy","findLast","forEachRight","groupBy","invokeMap","keyBy","partition","sortBy","bindKey","WRAP_BIND_FLAG","debounce","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","invokeFunc","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","cancel","flush","defer","delay","resolver","memoized","Cache","negate","overArgs","transforms","funcsLength","partial","partialRight","rearg","gt","gte","isError","isInteger","lt","lte","iteratorToArray","remainder","toLength","isBinary","assignIn","assignInWith","assignWith","at","propsIndex","propsLength","defaultsDeep","mergeWith","invertBy","invoke","omit","CLONE_DEEP_FLAG","basePick","toPairs","toPairsIn","word","capitalize","upperFirst","kebabCase","lowerFirst","snakeCase","startCase","upperCase","pattern","hasUnicodeWord","unicodeWords","asciiWords","attempt","bindAll","methodNames","flow","flowRight","methodOf","mixin","over","overEvery","overSome","basePropertyDeep","range","rangeRight","augend","addend","divide","multiply","multiplier","multiplicand","minuend","subtrahend","castArray","chunk","cond","conforms","baseConforms","curry","curryRight","drop","dropRight","dropRightWhile","dropWhile","baseFill","flatMap","flatMapDeep","flatMapDepth","flattenDeep","flattenDepth","flip","fromPairs","functions","functionsIn","initial","mapKeys","mapValues","matchesProperty","nthArg","omitBy","orderBy","propertyOf","pullAllBy","pullAllWith","sampleSize","setWith","shuffle","sortedUniq","sortedUniqBy","spread","tail","take","takeRight","takeRightWhile","takeWhile","tap","throttle","toPath","isArrLike","unary","uniq","uniqBy","uniqWith","unset","update","updateWith","valuesIn","wrap","zipObject","zipObjectDeep","entriesIn","extendWith","clamp","cloneDeepWith","cloneWith","conformsTo","defaultTo","escape","escapeRegExp","findKey","findLastKey","forIn","forInRight","forOwn","forOwnRight","inRange","baseInRange","isBoolean","isElement","isEmpty","isEqual","isEqualWith","isMatch","isMatchWith","isNative","isNil","isNull","isSafeInteger","isWeakMap","isWeakSet","lastIndexOf","strictLastIndexOf","maxBy","mean","meanBy","minBy","stubObject","stubString","stubTrue","nth","noConflict","pad","strLength","padEnd","padStart","radix","floating","reduceRight","repeat","sample","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","startsWith","sum","sumBy","template","isEscaping","isEvaluating","imports","importsKeys","importsValues","interpolate","reDelimiters","evaluate","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","variable","times","toLower","toSafeInteger","toUpper","trimEnd","trimStart","truncate","omission","substring","newEnd","unescape","uniqueId","eachRight","VERSION","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","isRight","getView","iterLength","takeCount","iterIndex","commit","wrapped","DealStructureValidations","downpaymentValid","checkKeyNegative","exceedFrontendLimit","exceedBackendLimit","ltv","exceedLTVLimit","key_validations","validations","resp","validation","validation_data","_errors","deal","checkNegative","limit_amount","reserved_amount","net_check_limit","dollar_format","DealerHelper","currentStep","documents_uploaded","step_mapping","text_mapping","new_current_step","text_current_step","getName","user","Pagination","previousPage","nextPage","qslFooter","page","pagination_data","left_text","previous_option","next_option","page_info","qsl_footer","footer","BasicTable","renderHeader","row_headers","headerList","header","first_row","second_row","headerClasses","maxWidth","overflowWrap","paddingBottom","flag","createOptions","firing","memory","_fired","_locked","firingIndex","stopOnFalse","unique","locked","fired","dequeue","startLength","_queueHooks","stop","clearQueue","elements","isHiddenWithinTree","showHide","fxNow","inProgress","rfxtypes","rrun","schedule","hidden","requestAnimationFrame","fx","interval","tick","createFxNow","genFx","includeWidth","attrs","createTween","animation","tween","Animation","tweeners","stopped","currentTime","startTime","tweens","opts","specialEasing","easing","originalProperties","Tween","gotoEnd","propFilter","timer","anim","tweener","toggle","oldfire","propTween","restoreDisplay","isBox","dataShow","unqueued","overflowX","overflowY","prefilter","speed","opt","speeds","old","fadeTo","show","optall","doAnimation","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","slow","fast","pnum","computeStyleTests","div","container","cssText","divStyle","pixelPositionVal","reliableMarginLeftVal","roundPixelMeasures","right","pixelBoxStylesVal","boxSizingReliableVal","scrollboxSizeVal","offsetWidth","measure","reliableTrDimensionsVal","backgroundClip","pixelBoxStyles","pixelPosition","table","tr","trChild","trStyle","borderTopWidth","borderBottomWidth","offsetHeight","checkOn","optSelected","radioValue","rfocusMorph","stopPropagationCallback","onlyHandlers","bubbleType","ontype","lastElement","eventPath","defaultView","parentWindow","simulate","triggerHandler","__importDefault","mod","react_1","isServerRenderResult_1","componentObj","railsContext","domNodeId","trace","shouldHydrate","component","renderFunction","serverSide","renderFunctionResult","reactComponent","testValue","renderedHtml","redirectLocation","routeError","isMutableObject","eachObject","_len","createConsumer","consumer","subscriptions","channel","room","connected","disconnected","received","initialized","PictureTag","src_set","src_fallback","fallback","src_set_asset","src_fallback_asset","img_properties","srcSet","class","noGlobal","preservedScriptAttributes","script","setAttribute","Sizzle","Expr","getText","isXML","tokenize","compile","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","preferredDoc","dirruns","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","pushNative","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","rtrim","rcomma","rcombinators","rdescend","rpseudo","ridentifier","matchExpr","rhtml","rinputs","rheader","rnative","rsibling","runescape","funescape","nonHex","rcssescape","fcssescape","ch","asCodePoint","unloadHandler","inDisabledFieldset","addCombinator","els","seed","nid","groups","newSelector","newContext","getElementsByTagName","getElementsByClassName","qsa","testContext","scope","toSelector","querySelectorAll","qsaError","cacheLength","markFunction","assert","addHandle","attrHandle","siblingCheck","sourceIndex","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","namespaceURI","hasCompare","subWindow","attachEvent","createComment","getById","getElementsByName","attrId","getAttributeNode","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","specified","duplicates","detectDuplicates","sortStable","nodeValue","createPseudo","relative","preFilter","excess","unquoted","nodeNameSelector","check","what","_argument","simple","forward","ofType","_context","uniqueCache","outerCache","nodeIndex","useCache","lastChild","uniqueID","pseudo","setFilters","unmatched","elemLang","hasFocus","tabIndex","selectedIndex","_matchIndexes","radio","checkbox","password","image","submit","reset","combinator","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","setMatcher","postFilter","postFinder","postSelector","preMap","postMap","preexisting","contexts","multipleContexts","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","filters","parseOnly","soFar","preFilters","cached","setMatchers","elementMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","matcherFromGroupMatchers","compiled","_name","escapeSelector","_dir","is","winnow","qualifier","not","rerrorNames","readyException","readyList","catch","readyWait","doScroll","rbrace","rmultiDash","dataAttr","removeData","_removeData","valueParts","adjusted","scale","maxIterations","currentValue","initialInUnit","defaultDisplayMap","getDefaultDisplay","hide","createDocumentFragment","thead","col","td","refElements","tbody","tfoot","colgroup","caption","optgroup","selection","attached","createTextNode","opener","rboxStyle","getPropertyValue","conditionFn","hookFn","cssPrefixes","emptyStyle","vendorProps","final","capName","vendorPropName","propHooks","eased","linear","swing","cos","PI","boolHook","removeAttr","nType","attrHooks","attrNames","lowercaseName","rfocusable","rclickable","stripAndCollapse","getClass","classesToArray","removeProp","propFix","tabindex","curValue","clazz","finalValue","removeClass","toggleClass","stateVal","isValidValue","hasClass","rreturn","valHooks","optionSet","focusin","attaches","parserErrorElem","DOMParser","parseFromString","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","valueOrFunction","encodeURIComponent","serialize","serializeArray","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","xhrSuccessStatus","xhrSupported","cors","_callback","errorCallback","username","xhrFields","onload","onerror","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","_callback2","scriptAttrs","charset","scriptCharset","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","createHTMLDocument","implementation","keepScripts","parsed","animated","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","curElem","using","win","offsetParent","parentOffset","Height","Width","defaultExtra","unbind","delegate","undelegate","hover","fnOver","fnOut","proxy","holdReady","hold","parseJSON","isNumeric","_jQuery","_$","Filter","setVisible","dropdownRef","zIndex","selected_keys","selected_icon","renderRow","Notification","notificationModal","notifications","notification_data","notification_view","is_error","container_classes","icon_class","render_description","render_text","CommunicationTypes","modal","urls","onClose","comm_options_button","commOptionButton","onSend","c_type","requestComm","loan_id","extra_text","pre_text","addNotifications","renderModal","options_view","checked_border_class","text_color_class","onChangeType","renderWarning","headerText","sent_via","renderSMSWarning","renderEmailWarning","sms_count","email_count","__webpack_amd_options__","webpackContext","req","webpackContextResolve","hostname","api_host","moment","symbolMap","numberMap","pluralForm","plurals","pluralize","str","weekdaysParseExact","suffixes","relativeTimeWithPlural","forms","standalone","lastDigit","last2Digits","monthsParseExact","relativeTimeWithMutation","mutationTable","softMutation","mutation","lastNumber","minWeekdaysParse","fullWeekdaysParse","shortWeekdaysParse","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","translate","ll","lll","llll","plural","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","_calendarEl","monthsShortDot","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eraYearOrdinalRegex","$0","$1","$2","isUpper","eifelerRegelAppliesToNumber","translateSingular","relativeTimeWithSingular","translator","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","numberNoun","hundred","ten","numberAsNoun","processHoursFunction","nominative","accusative","genitive","server_1","jsCode","lastLine","shouldBeRenderFunctionError","handleRenderFunctionIssue","fileName","lineNumber","reactElement","renderToString","isRenderFunction_1","registeredComponents","register","components","isRenderer","consoleReplay","RenderUtils_1","scriptSanitizedVal_1","stringifiedList","wrapInScriptTags","__createBinding","k2","__setModuleDefault","__importStar","react_dom_1","ClientStartup","handleError_1","ComponentRegistry_1","StoreRegistry_1","serverRenderReactComponent_1","buildConsoleReplay_1","createReactOutput_1","Authenticity_1","ctx","DEFAULT_OPTIONS","traceTurbolinks","turbo","ReactOnRails","registerStore","stores","getStore","throwIfMissing","setOptions","newOptions","reactOnRailsPageLoaded","authenticityToken","authenticityHeaders","otherHeaders","getStoreGenerator","setStore","store","clearHydratedStores","hydrate","getComponent","serverRenderReactComponent","handleError","buildConsoleReplay","storeGenerators","resetOptions","clientStartup","_typeof2","adapters","logger","WebSocket","enabled","_adapters$logger","messages","classCallCheck","createClass","secondsSince","ConnectionMonitor","connection","visibilityDidChange","reconnectAttempts","isRunning","startedAt","stoppedAt","startPolling","getPollInterval","stopPolling","recordPing","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","_constructor$pollInte","pollInterval","connectionIsStale","staleThreshold","disconnectedRecently","reopen","visibilityState","INTERNAL","message_types","welcome","disconnect","ping","confirmation","rejection","disconnect_reasons","unauthorized","invalid_request","server_restart","default_mount_path","protocols","supportedProtocols","Connection","monitor","webSocket","isActive","getState","uninstallEventHandlers","installEventHandlers","close","_ref","allowReconnect","reopenDelay","getProtocol","isState","isProtocolSupported","states","_JSON$parse","reason","reconnect","reload","notifyAll","willAttemptReconnect","Subscription","perform","command","unsubscribe","Subscriptions","channelName","subscription","ensureActiveConnection","sendCommand","forget","findAll","_len2","_key2","Consumer","_url","connect","createWebSocketURL","getConfig","querySelector","GpsLoader","VerifyGps","deviceType","esn","setEsn","setStatus","setSuccess","disableButton","handleInput","message_title","message_body","resData","statusMessage","textColor","icon","button_text","esnInput","fontFamily","University","all","country","nameQuery","query","get_country","university","not_in_list_label","degreeLevels","degreeStatuses","HIGHEST_EDUCATION_OPTIONS","_numeral","unformatRegex","currentLocale","zeroFormat","nullFormat","scalePercentBy100","Numeral","_input","_value","kind","unformatFunction","isNumeral","regexps","unformat","stringToNumber","numberToFormat","abbrForce","int","signed","thousands","negP","optDec","leadingCount","trillion","billion","million","thousand","neg","abbreviations","delimiters","abbreviation","stringOriginal","currency","_isNaN","_x","correctionFactor","accum","mn","maxDecimals","optionals","boundedPrecision","optionalsRegExp","power","splitValue","minDecimals","validate","culture","_decimalSep","_thousandSep","_currSymbol","_valArray","_abbrObj","_thousandRegEx","formatFunction","corrFactor","cback","curr","currI","O","_format","space","_format2","bytes","bytesMultiplier","_format3","_format4","toExponential","_format5","_format6","_format7","timeArray","Portal","createPortal","InputBox","footerMessage","tooltipText","inputRef","selectInput","renderedOptions","tooltip_view","shouldAutoFocus","listId","autoFocus","renderTwoColSelect","renderLabelClasses","ResendContractModal","setModal","setOtherActionsDetails","user_email","docusign","send_to_client","docusign_status","send_to_client_status","Email","SMS","getBankLogo","bank_name","site_name","logo_link","BankAccountChooser","useContext","loadingAccountChoice","setLoadingAccountChoice","financialPullingBankAccountsWithIds","all_banks_item_ids","unique_item_ids","is_b2b_client","getAccountsByItemId","item_id","getBankNameByItemId","handleSendAnalytics","eventNamePrefix","toggleAccount","new_index","new_account","old_account","additionalAnalyticsData","bankAccountName","account_name","bankLast4","last_4","bankInstitution","bank_account_index","acct","plaid_banks","other_banks","renderBankAccounts","bank_accounts","account_type","balance","accountIdentifier","border_element","highlighted_body_class","description_class","htmlFor","getKeyReplacedData","replacement","newKey","_sizzle","runtime","Op","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","define","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","_invoke","GenStateSuspendedStart","GenStateExecuting","GenStateCompleted","doneResult","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","info","resultName","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","iteratorMethod","isGeneratorFunction","genFun","ctor","mark","awrap","iter","skipTempReset","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","globalThis","q","z","A","C","D","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","H","isReactComponent","forceUpdate","I","isPureReactComponent","J","K","__self","__source","$$typeof","_owner","Q","R","keyPrefix","T","U","V","aa","X","N","Y","Z","ba","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","ReactCurrentOwner","IsSomeRendererActing","Children","only","Fragment","Profiler","PureComponent","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","createFactory","forwardRef","lazy","_ctor","_status","_result","memo","useDebugValue","useImperativeHandle","useLayoutEffect","onError","da","ea","fa","ha","ia","ja","la","ma","na","oa","ka","pa","qa","ra","sa","extractEvents","eventTypes","ta","phasedRegistrationNames","ua","registrationName","va","wa","dependencies","xa","ya","za","Aa","Ba","Ca","stateNode","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","Ta","acceptsBooleans","Sa","attributeName","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","Ua","Va","xlinkHref","Wa","Xa","Ra","setAttributeNS","Ya","Za","$a","ab","bb","cb","db","eb","fb","gb","hb","ib","jb","kb","lb","mb","nb","pb","qb","_debugOwner","_debugSource","return","rb","sb","xb","_valueTracker","setValue","stopTracking","tb","yb","zb","defaultChecked","_wrapperState","initialChecked","Ab","initialValue","controlled","Bb","Cb","Db","Eb","Gb","Fb","Hb","defaultSelected","Ib","dangerouslySetInnerHTML","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","MSApp","execUnsafeLocalFunction","Rb","Sb","Tb","animationend","animationiteration","animationstart","transitionend","Ub","Vb","Wb","transition","Xb","Yb","Zb","$b","ac","bc","cc","dc","alternate","effectTag","ec","memoizedState","dehydrated","hc","child","gc","ic","jc","kc","lc","_dispatchListeners","_dispatchInstances","isPersistent","release","mc","nc","srcElement","correspondingUseElement","oc","pc","qc","topLevelType","targetInst","ancestors","rc","eventSystemFlags","sc","containerInfo","tc","uc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Kc","blockedOn","Lc","delete","Mc","Nc","Pc","unstable_runWithPriority","Qc","Rc","Sc","Tc","Uc","unstable_scheduleCallback","unstable_NormalPriority","Vc","Wc","Yc","Zc","$c","ad","bubbled","captured","eventPriority","bd","cd","unstable_UserBlockingPriority","ed","fd","gd","hd","Oc","jd","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","lineClamp","order","orphans","tabSize","widows","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","kd","ld","md","nd","menuitem","area","br","embed","hr","img","keygen","link","meta","wbr","od","pd","qd","rd","sd","ud","vd","wd","xd","HTMLIFrameElement","contentWindow","yd","contentEditable","Bd","Cd","Dd","Ed","Fd","Gd","__html","Hd","Id","Jd","Kd","previousSibling","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","dispatchConfig","Ud","_targetInst","Vd","Wd","Xd","Yd","Zd","$d","ae","be","ce","Interface","ee","eventPool","fe","destructor","de","getPooled","cancelBubble","persist","isTrusted","ge","he","ie","je","ke","documentMode","le","me","ne","oe","beforeInput","compositionEnd","compositionStart","compositionUpdate","pe","qe","re","se","ve","te","char","ue","we","datetime","tel","xe","ye","change","ze","Ae","Be","Ce","De","Ee","Fe","Ge","detachEvent","He","Ie","Je","Ke","Le","Me","_isInputEventSupported","Ne","Oe","Alt","Control","Meta","Shift","Pe","getModifierState","Qe","Re","Se","Te","Ue","Ve","fromElement","movementX","movementY","We","pressure","tangentialPressure","tiltX","tiltY","twist","isPrimary","Xe","mouseEnter","mouseLeave","pointerEnter","pointerLeave","Ye","$e","af","bf","cf","df","ef","ff","gf","hf","jf","selectionStart","selectionEnd","anchorNode","getSelection","anchorOffset","focusNode","focusOffset","kf","lf","animationName","elapsedTime","pseudoElement","mf","clipboardData","nf","of","pf","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","qf","rf","sf","tf","uf","vf","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","wf","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","yf","zf","Af","Bf","Cf","contextTypes","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","childContextTypes","Df","Ef","Ff","getChildContext","Gf","__reactInternalMemoizedMergedChildContext","Hf","If","Jf","Kf","unstable_cancelCallback","Lf","unstable_requestPaint","Mf","unstable_now","Nf","unstable_getCurrentPriorityLevel","Of","unstable_ImmediatePriority","Pf","Qf","Rf","unstable_LowPriority","Sf","unstable_IdlePriority","Tf","Uf","unstable_shouldYield","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","hg","ig","jg","kg","lg","mg","ng","og","pg","childExpirationTime","qg","firstContext","expirationTime","rg","sg","observedBits","responders","tg","ug","updateQueue","baseState","baseQueue","shared","pending","effects","vg","wg","suspenseConfig","xg","yg","zg","ca","Ag","Bg","Cg","Dg","Eg","Fg","Jg","_reactInternalFiber","Gg","Hg","Ig","Kg","shouldComponentUpdate","Lg","contextType","Mg","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Ng","getDerivedStateFromProps","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","Og","Pg","_stringRef","Qg","Rg","lastEffect","nextEffect","firstEffect","Sg","Tg","elementType","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","dh","tagName","eh","fh","gh","memoizedProps","revealOrder","ih","responder","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","uh","vh","wh","lastRenderedReducer","eagerReducer","eagerState","lastRenderedState","xh","yh","zh","Ah","destroy","deps","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","readContext","useResponder","useDeferredValue","useTransition","Oh","Ph","Qh","Rh","Sh","Th","pendingProps","Uh","Vh","Wh","Xh","Yh","Zh","$h","ai","bi","ci","di","ei","fi","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","gi","getDerivedStateFromError","hi","pendingContext","ni","pi","qi","retryTime","ji","unstable_avoidThisFallback","ki","li","isBackwards","rendering","renderingStartTime","tailExpiration","tailMode","mi","ri","si","wasMultiple","onclick","createElementNS","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","WeakSet","Ci","Fi","Ei","Gi","__reactInternalSnapshotBeforeUpdate","Hi","Ii","Ji","Ki","Li","componentWillUnmount","Di","Mi","Ni","Oi","Pi","Qi","Ri","_reactRootContainer","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","componentDidCatch","aj","componentStack","Rj","bj","cj","dj","fj","gj","kj","lj","mj","nj","oj","qj","rj","sj","tj","uj","vj","wj","timeoutMs","xj","yj","zj","lastExpiredTime","Aj","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Bj","Cj","Dj","Ej","Fj","Gj","Hj","finishedWork","finishedExpirationTime","lastSuspendedTime","Ij","timeoutHandle","Jj","busyMinDurationMs","busyDelayMs","Kj","Mj","Nj","pingCache","Oj","ub","Pj","Xc","Qj","Sj","firstSuspendedTime","rangeCount","wb","activeElementDetached","focusedElem","selectionRange","Tj","setStart","removeAllRanges","addRange","setEnd","vb","Uj","Vj","Wj","ob","Xj","unstable_observedBits","Zj","pendingChildren","ak","bk","ck","dk","ek","fk","Jc","_internalRoot","gk","ik","hasAttribute","hk","jk","kk","unmount","Lj","lk","Events","findFiberByHostInstance","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","Yj","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","bundleType","rendererPackageName","flushSync","unmountComponentAtNode","unstable_batchedUpdates","unstable_createPortal","unstable_renderSubtreeIntoContainer","MessageChannel","unstable_forceFrameRate","performance","cancelAnimationFrame","port2","port1","onmessage","postMessage","sortIndex","priorityLevel","unstable_Profiling","unstable_continueExecution","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_wrapCallback","__spreadArray","il","REACT_ON_RAILS_STORE_ATTRIBUTE","findContext","debugTurbolinks","turboInstalled","reactOnRailsHtmlElements","initializeStore","storeGenerator","domNodeIdForEl","domNode","delegateToRenderer","reactElementOrRouterResult","parseRailsContext","forEachStore","forEachReactOnRailsComponentInitialize","reactOnRailsPageUnloaded","renderInit","Turbolinks","supported","controller","__REACT_ON_RAILS_EVENT_HANDLERS_RAN_ONCE__","Uint16Array","listing","pre","textarea","suppressContentEditableWarning","suppressHydrationWarning","domNamespace","childIndex","threadID","exhausted","currentSelectValue","previousWasTextNode","makeStaticMarkup","suspenseDepth","contextIndex","contextStack","contextValueStack","clearProviders","pushProvider","popProvider","read","fallbackFrame","renderDOM","renderToStaticMarkup","renderToNodeStream","renderToStaticNodeStream","registeredStoreGenerators","hydratedStores","storeKeys","throwJsErrors","htmlResult","hasErrors","renderingError","redirectPath","consoleReplayScript","scriptId","scriptBody","HTMLMetaElement","_assign","emptyObject","_invariant","condition","argIndex","framesToPop","MIXINS_KEY","ReactComponent","injectedMixins","ReactClassInterface","mixins","statics","updateComponent","ReactClassStaticInterface","RESERVED_SPEC_KEYS","_displayName","_mixins","mixSpecIntoComponent","_childContextTypes","_contextTypes","_getDefaultProps","createMergedResultFunction","_propTypes","_statics","mixStaticSpecIntoComponent","autobind","validateMethodOverride","isAlreadyDefined","specPolicy","ReactClassMixin","spec","autoBindPairs","__reactAutoBindPairs","isReactClassMethod","createChainedFunction","mergeIntoWithNoDuplicateKeys","two","bindAutoBindMethod","IsMountedPreMixin","__isMounted","IsMountedPostMixin","newState","ReactClassComponent","autoBindKey","bindAutoBindMethods","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","propFullName","secret","getShim","ReactPropTypes","arrayOf","instanceOf","objectOf","oneOf","shape","exact","checkPropTypes","util","getWindow","allowHorizontalScroll","alignWithTop","alignWithLeft","containerOffset","cw","containerScroll","diffTop","diffBottom","winScroll","isWin","elemOffset","outerHeight","ew","outerWidth","clientHeight","clientWidth","getScroll","getScrollLeft","getScrollTop","getOffset","clientLeft","clientTop","getClientPosition","getComputedStyleX","_RE_NUM_NO_PX","RE_POS","isBorderBoxFn","rsLeft","pixelLeft","BOX_MODELS","getPBMWidth","cssProp","domUtils","getWH","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","cssBoxValue","borderBoxValueOrIsBorderBox","refWin","documentElementProp","compatMode","getWHIgnoreDisplay","mix","includeMargin","utils","replaceKeys","replaceKeysWithDict","replaceKeysWithArray","current_user_id","rep_name","send_docusign_to_client","heading","n_modal","BottomNotification","key_string","replacement_string","new_key","new_value","ceil_number","percentage_format","decPlaces","percentage_format_no_space","sanitizeValue","custom_date","timezone_from","show_time","today","formated_date","enterIcon","tooltip","leaveIcon","clickIcon","isInViewport","innerHeight","innerWidth","format_phone_number","unformat_phone_number","getInternalMethods","getPrototypeChain","Obj","methods","formatAsConstant","dispatchIdentity","fsa","actionObj","alt","dispatcher","newObj","_interopRequireWildcard","builtIns","NoopClass","builtInProto","excluded","dispatchId","_wrapRegExp","BabelRegExp","_super","_groups","_setPrototypeOf","buildGroups","substitution","throw","label","trys","ops","SuppressedError","exclude","fromEntries","imul","Uint32Array","TextEncoder","encode","subarray","race","_t","Uint8ClampedArray","ImageData","navigator","userAgent","Edg","OPR","OfflineAudioContext","webkitOfflineAudioContext","createBufferSource","createOscillator","frequency","createDynamicsCompressor","knee","ratio","attack","destination","oncomplete","renderedBuffer","getChannelData","sampleHash","oscillator","maxChannels","maxChannelCount","channelCountMode","startRendering","getContext","createLinearGradient","addColorStop","fillStyle","fillRect","font","fillText","beginPath","moveTo","lineTo","strokeStyle","lineWidth","stroke","getImageData","commonImageDataHash","measureText","getParameter","VENDOR","RENDERER","vendor","renderer","shadingLanguageVersion","SHADING_LANGUAGE_VERSION","getExtension","UNMASKED_VENDOR_WEBGL","UNMASKED_RENDERER_WEBGL","vendorUnmasked","rendererUnmasked","Float32Array","pointer","scripting","matchMedia","ApplePaySession","supportsVersion","iframe","deviceMemory","videocard","architecture","jsHeapSizeLimit","languages","language","timezone","Intl","DateTimeFormat","resolvedOptions","timeZone","permissions_to_check","retries","permissions","plugins","is_touchscreen","maxTouchPoints","colorDepth","screen","mediaMatches","platform","cookieEnabled","productSub","product","useragent","hardwareConcurrency","applePayVersion","commonImageHash","createShader","VERTEX_SHADER","FRAGMENT_SHADER","shaderSource","compileShader","getShaderParameter","COMPILE_STATUS","getShaderInfoLog","createProgram","attachShader","linkProgram","getProgramParameter","LINK_STATUS","getProgramInfoLog","useProgram","sin","createBuffer","bindBuffer","ARRAY_BUFFER","bufferData","STATIC_DRAW","getAttribLocation","enableVertexAttribArray","vertexAttribPointer","FLOAT","viewport","clearColor","COLOR_BUFFER_BIT","drawArrays","LINES","readPixels","RGBA","UNSIGNED_BYTE","drawingBufferWidth","drawingBufferHeight","webgl","acos","asin","atan","cosh","largeCos","largeSin","largeTan","tan","sinh","sqrt","tanh","withCredentials","reactIs","REACT_STATICS","KNOWN_STATICS","caller","callee","MEMO_STATICS","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","Logo","BasicHeader","headerLoaded","announcementRead","pageOptionsMap","getCurrentUserData","closeAnnouncement","page_options","drift","for_dealership","isVisible","careers","renderNavLink","faq","contact_us","button_right","renderButton","logoLink","renderAnnouncement","renderMobile","announcement_read","current_est_time","start_est_time","end_est_time","renderDropDown","renderSigninButton","name_shown","renderDropdownOptions","handleLogout","renderDealerDropdownOptions","renderUserDropdownOptions","my_loans_dropdown","renderDropdownLink","dealer_status","dealerStatus","dealer_portal_option","dealer_settings_option","pending_review_option","dealer_new_loan_option","verify_gps_option","isGpsTech","renderNavLinkMobile","Review","leftButton","rightButton","triggerButton","left_scrolled","total_width","scrollWidth","remaining_width","scroll_to","scroll_position","reviews","ReviewData","left_button","scrollleft","right_button","scrollright","renderBigStar","google_icon","no_of_stars","star","big_star","half_star","DealerReview","dealerReviews","DealerReviewData","ErrorModal","default_title","default_description","setTitle","setDescription","modal_info","i_title","i_description","DealerTabs","viewMode","firstLoad","dealerId","view_mode","main_view","financedLoans","setFirstLoad","renderTabs","renderRightView","LoanTrackerTutorial","showModal","setShowModal","frameBorder","allow","allowFullScreen","nowDispatching","toUnsubscribe","publish","dispose","$subscriptions","toPropertyKey","toPrimitive","arrayLikeToArray","minLen","ToolBar","HContext","isMount","fixed_style","setStyle","frontend_total_errors","net_check_errors","net_financed_amount_errors","loan_amount_errors","failsValidation","setToolBarStyle","onbeforeunload","renderCalcNotification","renderCalcFooter","display_value","originalLoanTerm","renderErrorNotification","calc_notification","footer_view","renderStartDate","renderAPR","renderMonthly","button_notifications","btn_classes","renderButtons","_flux","StateFunctions","_actions","_actions2","deserialize","Dispatcher","batchingFunction","storeTransforms","trapAsync","_actionsRegistry","_initSnapshot","_lastSnapshot","fsaDetails","createUnsavedStore","StoreModel","createStoreConfig","Store","transformStore","createStoreFromClass","createStoreFromObject","createStore","iden","storeInstance","saveInitialSnapshot","generateActions","_len3","actionNames","_key3","createActions","createAction","ActionsClass","exportObj","ActionsGenerator","_ActionsClass","_len5","_key5","_len6","_key6","actionName","_len4","argsForConstructor","_key4","takeSnapshot","_len7","storeNames","_key7","snapshot","rollback","setAppState","storeInst","lifecycle","emitChange","recycle","_len8","_key8","initialSnapshot","filterSnapshots","bootstrap","prepare","addActions","_len9","_key9","addStore","_len10","_key10","getActions","GoogleAutocomplete","selectGoogleAddressRef","address1InputRef","address1Input","suggestionChosenRef","autocomplete","gm_authFailure","handleGoogleBrokenAPI","googleMapsInitialized","initAutocomplete","handleMouseDown","handleKeydown","address1_field","google","maps","places","componentRestrictions","fields","fillInAddress","place","getPlace","address1","postcode","city","address_components","long_name","short_name","DealerInformation","emailValidationLoader","emailValid","emailError","recaptchaResponse","captchaError","requiredFields","updateDealer","recaptchaRef","loadRecaptcha","recaptchaSiteKey","grecaptcha","setCaptchaError","emailValidation","setRequiredFields","createOrUpdateDealer","User","force_check","required_fields","password_confirmation","recaptcha_imcomplete","recaptchaIncomplete","setCaptchaErrorWithRes","renderRepInformation","renderDealershipInformation","renderRecaptcha","renderNextButton","disableNext","onClickNext","extra_class","error_view","passoword_view","renderFormField","password_confirmation_view","onBlurEmail","legal_name_error","renderErrorView","state_error","rep_code_view","renderStateOptions","usStates","us_state","exist_check","UploadDocuments","updateDealerRequest","goBack","disableFinish","onClickFinish","rating","review","ReviewCard","small_star","renderStar","photo","DealerReviewCard","AbortController","AbortSignal","FundedDeals","searchKeyword","sortLoans","getPage","goToPage","quickSearchLoansRequest","onSearch","getPageFromURL","path_array","financed_loans_array","search_keyword","renderSearch","renderFilter","renderTable","renderPagination","onChangeSearchKeyword","onPressEnterSearch","filter_text","onSelectFilter","renderTableBody","colSpan","rows","transaction","date_string","full_name","payment_ref_id","badge_color","total_funded","renderLoaderRow","DealerLoans","getAppStatusFromURL","loan_string_array","getLoanIdsfromHash","toggleAccordion","all_status","a_status","setParamsToUrl","renderNewLoan","DealerLoan","showAccordion","setShowAccordion","rowRef","hashTrigger","name_array","display_monthly_payment","vehicle_name","tr_open_style","td_open_style","font_classes","loan_ids","getVehicleName","handleChangeVehicleSuccess","behavior","block","paddingLeft","paddingRight","is_in_application","reason_text","renderVehicleName","onChangeVehicleCTASuccess","DealerLoansAccordion","commTypeModal","clientDetailsModal","otherOffersModal","selectedCommType","financialStats","financialStatsLoader","otherOffersLoader","otherActionsLoader","optionsVisibility","accordionRef","details_element","visiblity_status","tracker_status","comm_urls","commUrls","commHeader","commText","commName","six_months_avg","PTI","other_offers","otherOffers","other_actions_details","otherActionsDetails","renderAccordion","comm_details","commTypeDetails","renderDealDetails1","renderAccordionStats","renderOtherOffers","renderOtherOffersModal","renderClientDetails","getFinancialStats","view_application_link","view_application_option","optionVisibility","update_structure_option","view_structure_option","send_terms_to_customer_option","view_terms_option","vehicle_mileage","vehicle_classnames","asset_grade","renderVehicleError","oo_loader","add_new_vehicle_view","offers_view","main_offers_view","offer","add_new_vehicle_visiblity","fullName","address_1","client_address","GetHelp","onClickClose","getHelpLoader","setGetHelpLoader","renderNotificationDescription","Finalize","onClickSecondary","getLoanRequest","netFinCorrect","setNetFinCorrect","toggleConsent","setToggleConsent","requestContractLoader","setRequestContractLoader","handleRequestContract","notification","handleConsent","rel","Consent","readMore","setReadMore","NetFinancedCheck","netFinAmountConfirm","setNetFinAmountConfirm","onChangeNetFinAmount","netFin","CTAResubmit","resubmitAppModal","setResubmitAppModal","resubmitAppLoader","setResubmitAppLoader","handleResubmitAppModal","onResubmitApp","json_response","RequestFundingModalBody","setRequestFundingStatus","requestFundingLoader","setRequestFundingLoader","default_automobile_details","wholesale_value","default_purchase_price","sales_tax","rebate","CTAChangeVehicle","onCTASuccess","errorText","setErrorText","isSubmittingVehicle","setIsSubmittingVehicle","fetchUpdatedLoan","fetchSubmitForApproval","modalKey","setModalKey","getUpdatedLoan","updated_loan_res","loan_res","onAutomobileSubmit","use_existing_consents","loanApplicationChanges","updated_loan_application","updated_loan","onModalClose","onSubmitClick","isSubmitting","AppStatusPill","fancy_app_status","strip_field","generate_form_values","form_fields","get_account_data","account_number_verify","account_number","BankAccountEntry","initial_state","formState","setFormState","formErrors","setFormErrors","should_have_next_button","nextButtonEnabled","setNextButtonEnabled","save_text","BankAccountValidations","fields_to_validate","save_disabled","initial_errors","validate_field","handle_change","next_field","next_state","next_errors","update_field","handle_blur","handle_focus","handle_submit","user_entry","initial_field_update","final_field_update","render_form_field","custom_label","field_value","label_text","field_error","error_classes","onSubmit","checkTruncated","checkMinCharLength","min_length","limitDigitLength","max_length","getError","rule","_validations","routing_number","validateRoutingNum","validateAcctNum","validateAcctNumVerify","is_number","check_name_or_number","validateNumbers","validateName","check_presence","validatePresence","only_digits","is_truncated","validated","useCreateOrUpdateDocument","callBack","slotId","ContractStep","infoList","bold","convertKeys","newFormKey","convertedForm","formKey","reviewStepTwoData","downpayment_percentage","onClickPrimary","vehicle_name_view","block1Data","reviewStepOneData","block2Data","handleRestructureDeal","MissingDataModalBody","CTAViewEditDeal","RequestContract","contractStep","setContractStep","validationsLoader","setValidationsLoader","setLoader","setValid","edit_deal","modalBody","handleValidationsModal","onClickBack","RequestFunding","requestFundingModal","setRequestFundingModal","requestFundingStatus","handleRequestFundingModal","CTAContinueApp","CTANotApplicable","CTAUnderReview","CTAResendContract","setCommTypeModal","CTAButton","DisplayBoxTrackerMini","ApprovalTrackerMini","BankTrackerMini","ContractTrackerMini","FundingTrackerMini","GpsTrackerMini","IncomeVerifyTrackerMini","LoanTracker","DisplayBoxTracker","displayText","onClickStatuses","ApprovalTracker","generateApprovalText","approval_link","BankTracker","underline","generateBankText","link_bank_account_url","bank_link","ContractTracker","contractText","commModal","setCommModal","generateContractText","weirdPaddingClass","renderContractFooter","FundingTracker","generateFundingText","funding_link","GpsTracker","generateGpsText","gpsText","gps_working","gps_link","IncomeVerifyTracker","generateIncomeText","AccordionTracker","commsModal","InputField","SearchButton","Acknowledgement","PayoffResult","lastName","renderData","payoffLink","VIN","borrowerLastName","PayoffQuote","setVin","vinChanged","setVinChanged","setLastName","lastNameChanged","setLastNameChanged","setLoan","searched","setSearched","lastNameError","isLastNameValid","vinError","isVinValid","onClickSearch","getQuickSearchResults","keyword","overlay_style","page_centered_style","PreLoader","preloaderMinHeight","spinnerSize","minHeight","AutomobilePurchasePrice","onPurchasePriceUpdate","NadaSuggestions","nadaVehicles","onCarSelect","vehicle","AutomobileModalBody","onAutomobileDetailsUpdate","onAutomobilePurchasePriceUpdate","noNadaVehicle","setNoNadaVehicle","setNadaVehicles","nadaModalVisible","setNadaModalVisible","vehicleLoader","setVehicleLoader","setStyles","setModels","setMakes","historyOptions","currentModelYear","vinInputRef","setCarDetails","updateFieldsAfterNadaPull","onAutomobileUpdate","updatedFields","msrp_value","nadaVehicle","isUsedVehicle","newAutomobileDetails","nada_uid","pullNadaVehicles","vehicles","lendbuzz_asset_grade","onMileageChange","mileage","onBlurMileage","onClickClear","onMakeChange","res_models","newModels","onModelChange","res_styles","newStyles","onYearChange","res_makes","Makes","newMakes","renderVin","pull_icon","vehicleLoader_text","disabledClass","stripped_vin","validation_results","autofillVehicle","getFormattedMoney","msrpInput","wholesaleCols","wholesaleTitle","focusVin","renderVehicleInformation","AutomobileModal","submitCTAText","automobileDetailsState","setAutomobileDetails","automobilePurchasePriceState","setAutomobilePurchasePrice","_onAutomobileDetailsUpdate","_onAutomobilePurchasePriceUpdate","effect","submitVehicle","is_filled","DisplayBoxInfo","middle","AccordionStats","loanTerm","requestedDeal","display_pti","purchase_price_ud_keys","dpPercent","displayRequestedNetCheck","displayRequestedDownpayment","monthly_pti","display_pti_monthly","displayPtiMonthly","scrollY","siteHeader","scrollClass","classList","ScrollMagic","Controller","globalSceneOptions","triggerHook","Scene","triggerElement","setTween","ease","Linear","easeNone","addTo","invariant","_callbacks","_isDispatching","_isHandled","_isPending","_lastID","unregister","waitFor","ids","_invokeCallback","_startDispatching","_stopDispatching","isDispatching","_pendingPayload","onStore","onDeserialize","storeHandle","storeName","customSnapshot","onSerialize","globalConfig","currentState","nextState","StoreProto","createPrototype","getInstance","doSetState","bindListeners","_StoreMixin2","observe","_AltStore2","publicMethods","_StoreModel","argsForClass","datasource","registerAsync","extras","boundListeners","lifecycleEvents","actionListeners","handlesOwnErrors","_transmitter","_transmitter2","AltStore","transmitter","handleDispatch","dispatchToken","actionHandlers","otherwise","listen","unlisten","StoreMixin","sourcesArray","exportAsync","asyncMethods","asyncDef","loadCounter","toExport","desc","shouldFetch","intercept","interceptResponse","makeActionHandler","remote","exportPublicMethods","isLoading","lifecycleEvent","bus","bindAction","bindActions","assumedEventHandler","listener","invocationResult","actionResult","_isPromise2","namespaceId","_isPromise","ownKeys","enumerableOnly","sym","getOwnPropertyDescriptors","hint","prim","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_s","_e","_r","_arr","_n","objectWithoutPropertiesLoose","sourceSymbolKeys","sourceKeys","_defineProperties","isNativeReflectConstruct","possibleConstructorReturn","Derived","hasNativeReflectConstruct","Super","NewTarget","Reflect","construct","_getPrototypeOf","sham","Proxy","assertThisInitialized","arrayWithoutHoles","iterableToArray","nonIterableSpread","strings","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","Lazy","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","AddGps","connectionStatus","setConnectionStatus","showLoader","setShowLoader","showImage","setShowImage","setGps","hasAttachError","setHasAttachError","deleteError","setDeleteError","errorMessage","setErrorMessage","showConfirmRemoveModal","setShowConfirmRemoveModal","initialLoader","setInitialLoader","getGps","_gps","esnChanged","send_data","res_data","attachGps","asset","gps_error","locateGps","gps_id","deleteGps","renderPrimaryButton","disableInputs","renderGpsBody","has_error","disable_input","loading_text","delete_button","primary_button","renderConfirmRemoveModal","renderMessage","renderGps","renderBackButtons","renderBestPractices","error_message","contact_text","company","contact_message","gps_best_practices","renderAsModal","TradeIn","disabledClasses","HeaderContextRef","modalOpen","setModalOpen","addingVin","setAddingVin","prevVin","setPrevVin","onChangePurchasePrice","handleTradeInModal","onBlurMoney","addTradeInText","first_line","has_trade_in","toggleTrade","ComparisonTitle","compareTitle","compareValue","comVal","toggleFunction","titleText","FrontEndTable","charges","ltvData","frontendLTVModal","setFrontendLTVModal","requested_deal","downpayment_errors","onChangeOtherCharges","getTotalOtherChargesFrontend","onChangeValue","handleFrontendLTVModal","frontendTotalError","other_charges_frontend","BackEndTable","other_charges","addOtherCharges","backend_total_errors","addOtherCharge","charge","close_view","removeOtherCharge","updated_purchase_price","formatOtherCharge","LendbuzzTable","gapToggle","setGapToggle","confirmGapModalToggle","setConfirmGapModalToggle","confirmGapWaiverRemove","gap_type","gap_sold","removeGapWaiver","renderGAPSelect","gapText","onChangeGapSelect","DealHistory","formattedDate","updatedAt","active_deal","updated_at","ownerSource","getOwner","renderLastUpdated","LoanSummary","allowed_dealer_boosts","dealer_boost","calculated_loan_term","percFormat","calculatorInputClass","dueDate","generateMonthlyPaymentTitle","base_rate","onChangeUpcharge","boost","loan_duration","onChangeLoanDuration","allowed_loan_durations","durations","term","allowedLoanDurations","HeaderBox","errorModalTrigger","setErrorModalTrigger","gridCols","rightText","errorTitle","setReadOnly","nadaModal","setNadaModal","showNadaModal","updateAutomobile","extraFields","onBlurPurchasePrice","localVehicle","current_year","_changeMileage","_onBlurMileage","_changeMake","_changeModel","_changeYear","submitVehicleLoading","renderCarField","renderVehicleLoader","makeInput","modelInput","yearInput","nadaNada","vehicles_view","vehicles_body","modal_body","renderNadaVehiclesModal","AutomobileHeaderBox","DSContext","read_only","setError","automobileModalTrigger","setAutomobileModalTrigger","setSubmitVehicleLoading","currentCar","setCurrentCar","openAutoModal","closeAutoModal","automobile_purchase_price","newLbid","closeIcon","saveVehicle","snakeCaseToKebabCase","AiraBox","airaScoreProp","airaScore","hasTransactionsProp","dynamicRules","dynamic_rules","setAiraScore","setHasTransactions","isLoadingAira","setLoadingAira","airaError","setAiraError","requestTransientAira","feature_fields","transactions","airaRange","min_aira","airaInfo","aira_value_view","aira_label_view","DealHeader","airaTimestamp","renderMinimalDealHeader","calculatePTIRequest","ltv_errors","pti_info","pre_approval_dynamic_rules_check","all_ltv_errors","pti_thresold_percent","ptiError","ButtonMini","BackBar","newTab","renderApplistButton","DealStructure","DealerApplicationActions","address","updateState","isCreatingAddress","address_data","puuid","source_identifier","source_name","setAddress","isUpdatingAddress","archived","addressList","PRIMARY_APPLICATION_ADDRESS","PREVIOUS_APPLICATION_ADDRESS","createAddressShellObject","address_2","addressValuesKeys","isAddressValuesEmpty","getAddressKeyInPerson","assetMileage","carfax_data","pullVehicleGrade","queryObject","URLSearchParams","vehicle_year","educationPresent","education","school_name","start_date","end_date","emailPatternTest","validateEmail","validatePhone","carrier_data","validatePresent","validateDOB","cutoff","setYear","validateSSN","validateCarfaxMileage","carfax_mileage","validatePositive","validationMapper","validate_presence","validate_functions","submitted_email","submitted_phone","educations","education_present","no_ssn","vp","validateAddressField","validateZipcode","runValidation","validate_mapper","validation_res","allValidations","all_validations","DealerApplicationStore","saveForm","submitForm","saveEmail","continueToMain","runFormValidation","clearValidation","anyEducationPresent","submittedEmail","submittedPhone","showFull","lastSavedEmail","validating","emailLoader","franchise","employmentStatusOptions","saveRequestHelper","show_loader","saveData","processDataForRails","updatedAddressList","selectedAddress","newErrors","updateErrors","formData","ssn","citizenship_status","passport_issuing_country","gross_income","family_support","financial","income_1","income_2","income_type_1","income_type_2","positions","employment","employment_status","minimum_fulltime","employment_type","school","degree_name","lowest_degree_name","highest_education","_form","new_loan_app","new_user","emailGenerated","changeURL","current_url","pushState","updateWarnings","new_warnings","new_errors","_addressList","runAllFormValidations","submit_for_preapproval","scrollToKey","B2BInputBox","dealer_app_store","setWarnings","storeListner","updated_state","BuyerInformation","formatSSN","formatTelephone","digits","proceed","renderFull","tooltip_text","onChangeSubmittedEmail","onBlurSubmittedEmail","onChangeSubmittedPhone","onBlurSubmittedPhone","onChangePersonField","onBlurPersonField","middle_name","dob","person_ssn","onChangeSSN","toggleSSN","renderNationalityInput","renderVisaTypeInput","countryOptions","visaTypes","address1Ref","isGoogleAPIBroken","onChangeAddress1","onBlurAddress1","address1TestId","address1ErrorKey","onSelectGoogleSuggestedAddress","onChangeCity","onBlurCity","cityErrorKey","cityTestId","onChangeState","onBlurState","stateErrorKey","stateTestId","onChangeZipcode","onBlurZipcode","zipErrorKey","zipTestId","addressTitleMapper","setIsGoogleAPIBroken","addressPendingToBeUpdatedRef","addressPendingToBeCreatedRef","createAddress","updateAddress","onChangeAddressField","updatedAddress","addressKey","updatedLoanApplication","onBlurAddressField","onChangeHandlers","onBlurHandlers","errorKeys","kebabCaseAddressSource","testIds","googleAddress","newAddress","IncomeEmployment","income_1_weekly","income_1_monthly","income_2_weekly","income_2_monthly","showSecondIncome","incomeOptions","onChangeIncome","weekly_income","monthly_income","annual_income","onChangePosition","onChangeFinancial","onBlurPOI","onBlurIncome","onClickIncome","financial_income_1","renderSecondIncome","universities","universitRequest","schoolNameRef","clearErrors","notInList","updateEduction","unversity_request","fullList","isHighlighted","degree_status_options","fields_required","focusSchoolName","renderSchoolName","onChangeEducation","onBlurEducation","_getName","_universitySelect","_universityChange","_renderUniversity","_renderUniversityMenu","_universityBlur","VehicleInformation","dealer_store_state","updateAssetGrade","assetGrade","suggestedVehicles","carfaxMileage","manualInputMileage","mileageForQuery","modelyear","cx_mileage","selected_vehicle","show_msrp","msrp_input","onChangeMSRP","onBlurCarField","onChangeWholesale","renderAssetGrade","renderStyles","automobile_vin","_changeStyleManual","B2BDollarInput","updatedFETotalLoanApplication","total_frontend","tradeModal","validateFrontEndTotal","trade_value","trade_in_allowance","loan_balance","trade_in_loan_balance","t_title_view","onClickPurchasePrice","calculateNetTrade","clearTradeVin","DealInformation","validateTotals","updateLoanTerm","totalFrontEnd","total_backend","totalBackEnd","lb_program_type","purchase_price_obj","doc_fees","total_charges_frontend","license_registration_fees","totalDown","extended_warranty","tire_protection","credit_life_insurance","accid_disability_insurance","gap_insurance_dealer","net_trade_in_value","netFinancedAmount","mp","renderFrontendCharges","renderLoanTerm","renderBackendCharges","renderCreditPrograms","renderInfo","onClickMoney","downPercent","addCharge","renderOtherCharges","month_restricted","year_restricted","car_year","dealerData","term_options","curr_year","car_mileage","curr_mileage","isRestricted","onBlurLoanTerm","onChangeTerm","credit_programs_view","renderCreditProgramBox","program","onChangeProgram","onChangeOtherCharge","removeCharge","onClickOtherChargeAmount","ADDRESS_TO_DISPLAY","DealerApplication","hasTermsConsents","hasCreditInquiryConsent","dealer_user_data","employmentStatuses","addressListFromProps","terms_consent","credit_inquiry_consent","dealer_data","user_id","consent_type","renderValidatingModal","submit_button","UnderReview","IconHandshake","DealerSignup","step_view","getDealer","CareerCard","jobCards","jobs","job","hostedUrl","categories","team","commitment","applyUrl","Career","listings","setListings","viewBox","xmlns","strokeLinecap","strokeLinejoin","CarouselData","employee","Carousel","currentindex","goToPrevious","goToNext","onLoad","whileLoad","ReserveHistory","reserveSummary","setReserveSummary","reserveBalance","setReserveBalance","getReservedSummary","summary","reserve_balance","renderMonthSummary","ReserveAccount","setTransactions","totalTransactions","setTotalTransactions","setSearchKeyword","setFilter","setPage","getReserveTransactions","filter_status","all_index","signal","transactions_data","total_transactions","filter_data","renderTableRow","renderNotFound","FormField","helperMessage","errorClass","renderHelperMessage","DealerUser","propsOnClickAway","firstname","setFirstname","lastname","setLastname","setEmail","setPhone","userRoles","setUserRoles","setEmailError","phoneError","setPhoneError","allRoles","isOwner","roles","Owner","formatPhone","phoneInput","handleSetUserRoles","email_errors","phone_errors","onChangeEmail","onChangePhone","onBlurPhoneChange","_phone","createUser","sendData","lb_errors","email_error","reg_error","error_string","updateUser","renderRoles","isChecked","renderTag","tagTitle","renderCtaButton","editUser","editEmailField","phoneHelperMessage","submittedphone","renderUserModal","UserManagement","users","setUsers","createModal","setCreateModal","setEditUser","newUserLoader","setNewUserLoader","editUserLoader","setEditUserLoader","getDealerUsers","search_keyword_array","user_rows","loader_type","user_data","manage_user_view","hasManageUsers","dealerName","DealerSettings","user_management","reserve_account","setMode","updateMode","mode_name","showUserManagement","showReserveAccount","PlaidStatusMessages","status_message","waiting","refresh_message","bank_text","getStatusMessage","WelcomeHeader","customerName","ConsentDocument","docName","useTitle","isModal","consentDocs","CommsConsentModal","handleClose","PlaidConnectionPrompt","hasCommunicationsConsent","commData","openCommsModal","innerText","encryption_text","handleOpenPlaidLink","regularOrHighlighted","renderPlaidButton","renderSendToClientButton","render_connect_buttons","commsDisclosureLink","creditReportPolicyLink","termsOfServiceLink","privacyPolicyLink","stateSpecificDisclosuresLink","renderConsentIndicator","BankAccountConnection","BankAccountIntro","HeaderText","BodyText","GeneralButton","ConnectBankPage","hasAuthError","hasPlaidAccounts","showAuthError","display_text","display_icon","handleConnectBankClicked","WelcomePage","customerFirstName","handleGetStartedClicked","ErrorNotification","LoadingPage","TextButton","ConfirmedBankAccounts","isLandingPage","headline","getHeaderText","itemId","getLastBankItemId","lastItemIndex","handleContinueClicked","handleConnectAnotherBankClicked","ThankYouPage","prevPage","setBankAccountHeadline","bankStatementCalloutShown","handleReturnTextClicked","handleUploadDocsClicked","PlaidAccountConnection","hasPlaid","landingPageType","showPageType","setShowPageType","bankAccountHeadline","NewPlaidFlow","DealerInfoPage","setDealer","setUsStates","pageLoader","setPageLoader","feedbackModal","setFeedbackModal","feedbackInfo","setFeedbackInfo","feedback_info","feedbackBg","feedbackFontColor","feedbackIcon","saveDealer","submitText","is_empty","actionTypes","DOCUMENT_GROUPS_FETCHED","DOCUMENT_ADDED","DOCUMENT_REMOVED","SET_UPLOAD_GROUP","SET_CURING_GROUP","DOCUMENT_UPLOAD_START","isOtherGroup","getGroupStage","collection_slots","stage","isFinancingGroup","isApprovalGroup","DocumentsReducer","targetSlot","flatData","actionData","slots","acc","slot","groupId","documents","flattenCollectionGroupData","stateUpdate","verification_status","curingGroupId","uploadGroupId","collectionSlotId","newDocument","user_filename","slotToUpdate","updatedSlot","collection_slot_id","documentId","newSlots","DOCUMENT_ERROR","filteredDocs","SET_LOADER","useDeleteDocument","deleteDocument","document_id","useCreateOrUpdateBankStatements","institution_name","slot_id","DocumentsContext","DocumentsProvider","reducer","collectionGroupUrl","fetchCollectionGroups","createDocument","setUploadingDocuments","createDocumentCall","createOrUpdateBankSlot","getSlotDocuments","hasDocuments","getGroupSlots","groupHasDocuments","isBankGroup","groupSlots","collection_type","setUploadGroup","setCuringGroup","createBankSlot","replaceDocument","docIdToReplace","helpers","getGroup","getDocument","docId","isLockedStatus","VERIFICATION_STATUSES","BANK_OPTIONS","MANUAL_TITLE_OVERRIDES","displayTitle","SLOT_TITLE_OVERRIDES","parseSlotName","overrideTitle","override","parseGroupTitle","PrimaryStageContext","UploadButton","linkStyle","EmptySlot","onUploadClick","FileLink","Icon","family","Button","StatusTag","onDeleteButton","_statusTagView","DocumentLinkPlaceholder","DocumentLink","isPreviewing","setIsPreviewing","isConfirmationOpen","setConfirmationOpen","deleteConfirmation","filePreview","backgroundImage","Note","FilledSlot","includeTitle","additionalButtonText","hasAddFilesButton","AddFilesButton","renderTitleView","external_note","DocumentSlot","slotTitle","EmptyGroup","isRecourse","renderDownloadTemplateButton","FilledGroup","hasSingleSlot","slotSections","isRejected","isVerified","isLocked","satisfiedSlots","hasVerified","additionalUploadButton","renderAdditionalDocumentsLink","DocumentGroup","singleRequiredView","multiRequiredView","slot_view","hasMultipleRequiredSlots","DocumentsGroupList","Section","DocumentStage","stageGroups","isStageVerified","requiredSlotsVerified","verifiedIfRequired","groupRequiredVerified","group_level_required","stageHeaderClass","STAGES","secondaryDescription","DocumentStages","stageArray","_toPropertyKey","_objectSpread2","StyleSheet","_insertTag","tags","insertionPoint","isSpeedy","speedy","ctr","_proto","createStyleElement","sheet","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","line","column","begin","points","character","fixedElements","compat","isImplicitRule","rules","parentRules","removeLabel","defaultStylisPlugins","ssrStyles","stylisPlugins","_insert","inserted","nodesToHydrate","attrib","currentSheet","finalizingPlugins","serializer","serialized","shouldCache","registered","getRegisteredStyles","registeredStyles","rawClassName","registerStyles","isStringTag","insertStyles","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","WebkitLineClamp","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","styleName","handleInterpolation","mergedProps","interpolation","__emotion_styles","interpolated","createStringFromObject","previousCursor","labelPattern","stringMode","identifierName","useInsertionEffect","useInsertionEffectAlwaysWithSyncFallback","EmotionCacheContext","HTMLElement","ThemeContext","typePropName","createEmotionProps","newProps","Emotion","WrappedComponent","createElementArgArray","classnames","cls","toAdd","serializedArr","ClassNames","cx","theme","ele","setInterval","getNodeName","getUAString","uaData","userAgentData","brands","brand","isHTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","_getComputedStyle","isLayoutViewport","isLastTraversableNode","includeScale","isFixedStrategy","_win$visualViewport$o","_win$visualViewport","_win$visualViewport$o2","_win$visualViewport2","clientRect","scaleX","scaleY","addVisualOffsets","visualViewport","offsetLeft","offsetTop","getDocumentElement","Node","getParentNode","assignedSlot","getNearestOverflowAncestor","getOverflowAncestors","_node$ownerDocument","scrollableAncestor","isBody","updatedList","_excluded$3","applyPrefixToName","clearValue","hasValue","isMulti","isRtl","selectOption","selectProps","isDocumentElement","easeOutCubic","animatedScrollTo","increment","animateScroll","menuEl","focusedEl","menuRect","focusedRect","overScroll","scrollHeight","isTouchCapable","createEvent","passiveOptionAccessed","supportsPassiveEvents","notNullish","valueTernary","multiValue","getMenuPlacement","preferredMaxHeight","preferredPlacement","placement","shouldScroll","isFixedPosition","controlHeight","scrollParent","excludeStaticParent","overflowRx","parentElement","getScrollParent","defaultState","_menuEl$getBoundingCl","menuBottom","menuHeight","containerTop","viewHeight","viewSpaceAbove","viewSpaceBelow","scrollSpaceAbove","scrollSpaceBelow","scrollDown","scrollUp","scrollDuration","_constrainedHeight","spaceAbove","_constrainedHeight2","coercePlacement","PortalPlacementContext","minMenuHeight","maxMenuHeight","menuPlacement","menuPosition","menuShouldScrollIntoView","setPortalPlacement","_useState2","setMaxHeight","_useState4","setPlacement","spacing","placerProps","noticeCSS","_ref6","_ref6$theme","baseUnit","colors","neutral40","noOptionsMessageCSS","loadingMessageCSS","innerProps","_templateObject","_excluded$2","focusable","baseCSS","_ref3","isFocused","_ref3$theme","neutral60","neutral20","neutral80","dropdownIndicatorCSS","clearIndicatorCSS","loadingDotAnimations","insertable","keyframes","verticalAlign","indicator","_excluded$1","spacingStyle","outline","gridTemplateColumns","whiteSpace","isHidden","_ref4","ClearIndicator","innerRef","menuIsOpen","control","DropdownIndicator","DownChevron","CrossIcon","Group","Heading","headingProps","GroupHeading","_cleanCommonProps","IndicatorsContainer","indicators","IndicatorSeparator","Input","inputClassName","LoadingIndicator","MenuList","MenuPortal","_ref8","controlElement","menuPortalRef","cleanupRef","_useState6","portalPlacementContext","_useState8","computedPosition","setComputedPosition","updateComputedPosition","getBoundingClientObj","scrollDistance","runAutoUpdate","_options","_options$ancestorScro","ancestorScroll","_ancestorScroll","_options$ancestorResi","ancestorResize","_options$elementResiz","elementResize","_options$animationFra","animationFrame","contextElement","ancestor","passive","frameId","observer","initialUpdate","ResizeObserver","prevRefRect","frameLoop","nextRefRect","_observer","autoUpdate","setMenuPortalElement","menuPortalElement","menuWrapper","LoadingMessage","NoOptionsMessage","MultiValue","removeProps","Container","Label","Remove","emotionCx","MultiValueContainer","MultiValueLabel","MultiValueRemove","_ref5","Option","isSelected","Placeholder","SelectContainer","SingleValue","ValueContainer","safeIsNaN","areInputsEqual","newInputs","lastInputs","defaultAriaLiveMessages","guidance","isSearchable","tabSelectsValue","_props$label","labels","focused","_props$label2","selectValue","getArrayIndex","onFilter","inputValue","resultsMessage","ariaSelection","focusedOption","focusedValue","focusableOptions","ariaLiveMessages","getOptionLabel","isOptionDisabled","screenReaderStatus","ariaLabel","ariaLive","ariaSelected","selectedOptions","removedValue","removedValues","multiSelected","onChangeProps","ariaFocused","focusMsg","onFocusProps","ariaResults","resultsMsg","ariaGuidance","guidanceMsg","ariaContext","ScreenReaderText","isInitialFocus","diacritics","letters","anyDiacritic","diacriticToBase","diacritic","stripDiacritics","memoizedStripDiacriticsForInput","resultFn","newArgs","lastResult","memoizeOne","trimString","defaultStringify","DummyInput","filteredProps","propsObj","caretColor","STYLE_KEYS","LOCK_STYLES","boxSizing","preventTouchMove","allowTouchMove","preventInertiaScroll","totalScroll","currentScroll","isTouchDevice","canUseDOM","activeScrollLocks","listenerOptions","capture","blurSelectInput","_ref2$1","ScrollManager","lockEnabled","_ref$captureEnabled","captureEnabled","setScrollCaptureTarget","isEnabled","onBottomArrive","onBottomLeave","onTopArrive","onTopLeave","isBottom","isTop","touchStart","scrollTarget","handleEventDelta","_scrollTarget$current","isDeltaPositive","availableScroll","shouldCancelScroll","cancelScroll","onWheel","onTouchMove","startListening","notPassive","stopListening","useScrollCapture","setScrollLockTarget","_ref$accountForScroll","accountForScrollbars","originalStyles","addScrollLock","touchScrollTarget","targetStyle","currentPadding","adjustedPadding","removeScrollLock","useScrollLock","defaultStyles","clearIndicator","pointerEvents","_ref$theme","alignItems","neutral5","neutral0","neutral10","flexWrap","justifyContent","neutral30","dropdownIndicator","groupHeading","_ref2","textTransform","indicatorsContainer","alignSelf","indicatorSeparator","_ref4$theme","loadingIndicator","_ref5$theme","loadingMessage","_ref2$theme","alignToControl","menuGutter","menuList","WebkitOverflowScrolling","menuPortal","_ref7","multiValueLabel","cropWithEllipsis","textOverflow","multiValueRemove","dangerLight","danger","noOptionsMessage","primary25","userSelect","WebkitTapHighlightColor","primary50","neutral50","valueContainer","controlShouldRenderValue","defaultTheme","primary75","neutral70","neutral90","backspaceRemovesValue","blurInputOnSelect","captureMenuScroll","closeMenuOnSelect","closeMenuOnScroll","escapeClearsValue","filterOption","rawInput","__isNew__","_ignoreCase$ignoreAcc","ignoreCase","ignoreAccents","matchFrom","candidate","formatGroupLabel","getOptionValue","menuShouldBlockScroll","isMobileDevice","openMenuOnFocus","openMenuOnClick","pageSize","toCategorizedOption","_isOptionDisabled","_isOptionSelected","buildCategorizedOptions","groupOrOption","groupOrOptionIndex","categorizedOptions","optionIndex","categorizedOption","isFocusable","buildFocusableOptionsFromCategorizedOptions","optionsAccumulator","_props$inputValue","shouldHideSelectedOptions","_filterOption","isOptionSelected","hideSelectedOptions","instanceId","_Component","Select","inputIsHidden","clearFocusValueOnUpdate","prevWasFocused","inputIsHiddenAfterUpdate","blockOptionHover","isComposing","commonProps","initialTouchX","initialTouchY","instancePrefix","openAfterFocus","scrollToFocusedOptionOnUpdate","userIsDragging","controlRef","getControlRef","focusedOptionRef","getFocusedOptionRef","menuListRef","getMenuListRef","getInputRef","focusInput","blurInput","actionMeta","_this$props","ariaOnChange","_this$props2","onInputChange","prevInputValue","onMenuClose","_this$props3","deselected","removeValue","newValueArray","popValue","lastSelectedValue","classNamePrefix","custom","getElementId","getComponents","getCategorizedOptions","buildFocusableOptions","getFocusableOptions","onMenuMouseDown","onMenuMouseMove","onControlMouseDown","openMenu","onDropdownIndicatorMouseDown","_this$props4","onClearIndicatorMouseDown","onScroll","onCompositionStart","onCompositionEnd","touch","onTouchEnd","onControlTouchEnd","onClearIndicatorTouchEnd","onDropdownIndicatorTouchEnd","handleInputChange","onMenuOpen","onInputFocus","onInputBlur","onOptionHover","onValueInputFocus","_this$props5","isClearable","_this$state","focusValue","focusOption","newMenuOptionsState","nextSelectValue","lastFocusedIndex","getNextFocusedValue","lastFocusedOption","getNextFocusedOption","newInputIsHiddenState","newAriaSelection","hasKeptFocus","startListeningComposition","startListeningToTouch","_this$props6","stopListeningComposition","stopListeningToTouch","_this$state2","openAtIndex","_this$state3","focusedIndex","nextFocus","getTheme","_this$props7","formatOptionLabel","_inputValue","_selectValue","_this$props8","inputId","_this$state4","ariaAttributes","autoCapitalize","autoCorrect","spellCheck","inputMode","_this$getComponents2","_this$props9","_this$state5","isOptionFocused","onMouseDown","_this$props10","_this$props11","_this$getComponents5","_this$getComponents7","_this$props12","menuPortalTarget","onMenuScrollToTop","onMenuScrollToBottom","menuUI","onHover","optionId","onMouseMove","onMouseOver","hasOptions","groupIndex","headingId","_message","menuPlacementProps","menuElement","_ref4$placerProps","scrollTargetRef","_this$props13","delimiter","_this$state6","_this$getComponents8","_this$props14","getCommonProps","renderLiveRegion","renderPlaceholderOrValue","renderClearIndicator","renderLoadingIndicator","renderIndicatorSeparator","renderDropdownIndicator","_ref$defaultInputValu","defaultInputValue","_ref$defaultMenuIsOpe","defaultMenuIsOpen","_ref$defaultValue","propsInputValue","propsMenuIsOpen","propsOnChange","propsOnInputChange","propsOnMenuClose","propsOnMenuOpen","propsValue","restSelectProps","stateInputValue","setStateInputValue","stateMenuIsOpen","setStateMenuIsOpen","stateValue","setStateValue","baseSelectProps","LBSelect","selectedValue","setSelectedValue","setSlotOption","provided","borderBottom","baseStyle","displayValue","renderCheckMark","UploadPage","hasFilesInSlot","titleRef","UploadBankPage","bankOption","setBankOption","accountName","setAccountName","handleNameChange","slot_documents_view","UploadZone","maxSixe","zoneText","UploadSlotPage","singleOption","initialOption","slotOption","slotDocuments","slot_select_view","ReUploadZone","CuringPage","_rejectedSlots","_otherSlots","RejectedSlots","OtherSlots","groupName","renderUploadZone","HeaderAnnouncement","StoredAnnouncement","storageKey","setIsVisible","DocumentsPage","renderAppButton","loader_view","bankModalVisible","slotModalVisisble","renderBodyView","DocumentsApp","EmptyHeader","gen","_next","_throw","allowArrayLike","it","_e2","normalCompletion","didErr","_e3","isCheckBoxInput","isDateObject","isObjectType","getEventValue","isNameInFieldArray","getNodeParentName","EVENTS","VALIDATION_MODE","INPUT_VALIDATION_RULES","HookFormContext","getProxyFormState","_proxyFormState","localProxyFormState","isRoot","createGetter","shouldRenderFormState","formStateData","convertToArrayPayload","shouldSubscribeByName","signalName","currentName","useSubscribe","subject","tearDown","useFormState","_ref$control","_React$useState2","_formState","updateFormState","_localProxyFormState","isDirty","dirtyFields","touchedFields","isValidating","_subjects","generateWatchOutput","_names","formValues","isGlobal","watch","fieldName","watchAll","objectHasFunction","useWatch","_ref2$control","fieldValues","_formValues","updateValue","_React$useState4","_getWatch","_removeUnmounted","appendErrors","validateAllFieldCriteria","tempPath","focusFieldBy","fieldsNames","_step","_iterator","isWatched","isBlurEvent","watchName","cloneObject","createSubject","_observers","_step3","_iterator3","isPrimitive","deepEqual","object1","object2","keys1","keys2","_i2","_keys","val1","val2","getValidationModes","isOnSubmit","isOnBlur","isOnChange","isOnAll","isOnTouch","isFileInput","isMultipleSelect","isRadioInput","isRadioOrCheckboxFunction","isWeb","live","previousObjRef","updatePath","childObject","objectRef","currentPaths","currentPathsLength","markFieldsDirty","isParentNodeArray","getDirtyFieldsFromDefaultValues","dirtyFieldsFromValues","getDirtyFields","defaultValues","defaultResult","validResult","getCheckboxValue","getFieldValueAs","valueAsNumber","valueAsDate","setValueAs","defaultReturn","getRadioValue","getFieldValue","getResolverOptions","_fields","criteriaMode","shouldUseNativeValidation","_step4","_iterator4","hasValidation","mount","minLength","schemaErrorLookup","foundError","skipValidation","isTouched","isSubmitted","reValidateMode","unsetEmptyArray","isRegex","getValidateError","getValueAndMessage","validationData","validateField","_callee","_field$_f","setCustomValidity","isRadio","isCheckBox","isRadioOrCheckbox","appendErrorsCurry","getMinMaxMessage","_ref9","exceedMax","exceedMin","maxOutput","minOutput","valueNumber","valueDate","maxLengthOutput","minLengthOutput","_exceedMax","_exceedMin","_getValueAndMessage","patternValue","validateError","validationResult","_validateError","reportValidity","maxLengthMessage","minLengthMessage","maxType","minType","t0","t1","t2","t3","t4","t5","_x2","_x3","_x4","defaultOptions","shouldFocusError","isWindowUndefined","createFormControl","delayErrorCallback","submitCount","isSubmitSuccessful","_defaultValues","shouldUnregister","_stateFlags","unMount","validateFields","validationModeBeforeSubmit","validationModeAfterSubmit","shouldDisplayAllAssociatedErrors","_updateValid","_ref10","_callee2","shouldSkipRender","_context2","_executeSchema","executeBuildInValidation","_x5","_updateFieldArray","shouldSetValues","shouldSetFields","argA","argB","_getDirty","updateValidAndValue","shouldSkipSetValueAs","setFieldValue","updateTouchAndDirty","fieldValue","isCurrentTouched","shouldRender","isFieldDirty","isPreviousFieldTouched","isPreviousFormDirty","isPreviousFieldDirty","isCurrentFieldPristine","shouldRenderByError","_ref11","_callee3","fieldState","previousFieldError","shouldUpdateValid","updatedFormState","_context3","delayError","_x6","_x7","_x8","_x9","_x10","_ref12","_callee4","_context4","_x11","executeSchemaAndUpdateState","_ref13","_callee5","_yield$_executeSchema","_iterator5","_step5","_name2","_error","_context5","_x12","_ref14","_callee6","shouldOnlyCheckValid","_name3","fieldReference","fieldError","_args6","_context6","_x13","_x14","_step6","_iterator6","_name4","getValues","_getFieldArray","selectRef","checkboxRef","radioRef","shouldDirty","shouldTouch","shouldValidate","setValues","fieldKey","isFieldArray","_ref16","_callee7","_error2","shouldSkipValidation","watched","_yield$_executeSchema2","previousErrorLookupResult","errorLookupResult","_context7","_x15","_ref17","_callee9","fieldNames","_args9","_context9","_ref18","_callee8","_context8","_x17","shouldFocus","_x16","inputName","_step7","_iterator7","keepValue","keepError","keepDirty","keepTouched","keepDefaultValue","keepIsValid","_ref20","_x18","_field","fieldRef","_field2","handleSubmit","onValid","onInvalid","_ref21","_callee10","hasNoPromiseError","_yield$_executeSchema3","_context10","_x19","resetField","keepStateOptions","updatedValues","cloneUpdatedValues","keepDefaultValues","keepValues","_step8","_iterator8","_name5","keepSubmitCount","keepIsSubmitted","_ref22","_ref23","keepErrors","setFocus","useFetch","extractData","buildUrl","_body","urlWithParams","lbFetch","additionalBody","fetchData","silentLoading","abortPendingRequest","raw_data","extracted_data","RESEND_TIMEOUT","OTPContext","useOTPContext","otp","setOtp","fetchGenerateOtp","generateOTP","cause","expiry","attempt_count","retryDatetime","VARIANT_CLASSES","standard","outlined","TEXT_SIZE_CLASSES","variant","VARIANTS","spinnerIcon","handleLoginMethodChange","isOTPForm","Forms","OTP","isEmailForm","Phone","handleGenerateOtp","isPhoneForm","formattedMessage","part","renderErrors","isOtpLoading","hasError","isSubmitDisabled","isForgotPasswordDisabled","isStyleObject","_b","_c","numInputs","inputType","renderSeparator","containerStyle","inputStyle","activeInput","setActiveInput","inputRefs","getOTPValue","isInputNum","getPlaceholderValue","isInputValueValid","changeCodeAtFocus","handleBlur","handleOTPChange","otpValue","handlePaste","nextActiveInput","pastedData","handleFocus","onPaste","onInput","useInterval","savedCallback","clearInterval","expiresAt","unitOfTime","secondsUntil","setSecondsUntil","secondsUntilRetry","disableRetry","isButtonDisabled","firstOtpRef","lastFour","shouldShowErrorState","serverError","disableButtons","handleKeyUp","previousElementSibling","prevEl","nextEl","columnGap","onKeyUp","unformattedPhoneNumber","HEADER_TEXT","Default","setForm","login","disableSubmit","shouldShowLoader","redirect_to","FormBody","unformattedPhone","isServerError","fallbackError","noValidate","unionErrors","_wrapNativeSuper","Class","_cache","Wrapper","_construct","Parent","assertEqual","assertIs","_arg","assertNever","arrayToEnum","getValidEnumValues","_step2","filtered","_iterator2","objectKeys","objectValues","checker","joinValues","jsonStringifyReplacer","ZodParsedType","getParsedType","nan","boolean","function","bigint","null","unknown","ZodIssueCode","ZodError","_Error","issues","addIssue","sub","addIssues","subs","actualProto","_mapper","mapper","issue","fieldErrors","processError","returnTypeError","argumentsError","errorMap","_ctx","invalid_type","expected","invalid_literal","unrecognized_keys","invalid_union","invalid_union_discriminator","invalid_enum_value","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","inclusive","minimum","too_big","maximum","invalid_intersection_types","not_multiple_of","multipleOf","not_finite","defaultError","overrideErrorMap","getErrorMap","makeIssue","errorMaps","issueData","fullPath","fullIssue","addIssueToContext","common","contextualErrorMap","schemaErrorMap","errorUtil","ParseStatus","_mergeObjectAsync","arrayValue","INVALID","dirty","syncPairs","mergeObjectSync","_step9","finalObject","_iterator9","alwaysSet","DIRTY","OK","isAborted","isAsync","errToObj","ParseInputLazyPath","_path","handleResult","processCreateParams","invalid_type_error","required_error","iss","ZodType","def","spa","safeParseAsync","_def","safeParse","parseAsync","refine","refinement","superRefine","optional","nullable","nullish","or","and","describe","isNullable","isOptional","_safeParseAsync","_parseAsync2","parsedType","_parse","_parseSync","maybeAsyncResult","_refinement","getIssueProperties","refinementData","ZodEffects","schema","typeName","ZodFirstPartyTypeKind","ZodOptional","ZodNullable","ZodArray","ZodPromise","incoming","ZodIntersection","_transform","defaultValueFunc","ZodDefault","innerType","ZodBranded","catchValueFunc","ZodCatch","catchValue","This","cuidRegex","cuid2Regex","uuidRegex","emailRegex","ZodString","_ZodType","_super2","_regex","nonempty","checks","coerce","_getType","_ctx2","_getOrReturnCtx","_step10","_iterator10","tooBig","tooSmall","_addCheck","_step11","_iterator11","_step12","_iterator12","ZodNumber","_ZodType2","_super3","_ctx3","_step13","valDecCount","stepDecCount","decCount","_iterator13","setLimit","_step14","_iterator14","_step15","_iterator15","_step16","_iterator16","ZodBigInt","_ZodType3","_super4","BigInt","ZodBoolean","_ZodType4","_super5","ZodDate","_ZodType5","_super6","_ctx4","_step17","_iterator17","minDate","maxDate","_step18","_iterator18","_step19","_iterator19","ZodSymbol","_ZodType6","_super7","ZodUndefined","_ZodType7","_super8","ZodNull","_ZodType8","_super9","ZodAny","_ZodType9","_super10","_any","ZodUnknown","_ZodType10","_super11","_unknown","ZodNever","_ZodType11","_super12","never","ZodVoid","_ZodType12","_super13","void","objectUtil","_ZodType13","_super14","_this$_processInputPa","_processInputParams","exactLength","_parseAsync","mergeArray","deepPartialify","newShape","fieldSchema","ZodTuple","mergeShapes","_ZodType14","ZodObject","_super15","_cached","nonstrict","passthrough","augment","_ctx6","_this$_processInputPa2","_this$_getCached","_getCached","shapeKeys","extraKeys","catchall","unknownKeys","_step20","_iterator20","keyValidator","_step21","_iterator21","_step22","_iterator22","_iterator23","_step23","augmentation","_this8","merging","_this9","mask","_this10","_shape","_this11","_shape2","_this12","_this13","newField","createZodEnum","_shape3","strictCreate","_shape4","lazycreate","_ZodType15","ZodUnion","_super16","childCtx","_step24","_iterator24","_step25","_iterator25","_ctx$common$issues","_step26","_ctx$common$issues2","_iterator26","getDiscriminator","ZodLazy","ZodLiteral","ZodEnum","ZodNativeEnum","enum","ZodDiscriminatedUnion","_ZodType16","_super17","discriminator","discriminatorValue","optionsMap","_step27","_iterator27","discriminatorValues","_step28","_iterator28","mergeValues","aType","bType","_step29","bKeys","sharedKeys","_iterator29","sharedValue","newArray","_sharedValue","_ZodType17","_super18","_this$_processInputPa5","handleParsed","parsedLeft","parsedRight","merged","_ZodType18","_super19","_this14","_this$_processInputPa6","itemIndex","_rest","schemas","ZodRecord","_ZodType19","_super20","keyType","valueType","_this$_processInputPa7","mergeObjectAsync","third","_ZodType20","ZodMap","_super21","_this$_processInputPa8","finalMap","_iterator30","_step30","_step31","_finalMap","_iterator31","ZodSet","_ZodType21","_super22","_this$_processInputPa9","finalizeSet","_step32","parsedSet","_iterator32","_size","_ZodType22","ZodFunction","_super23","_this15","implement","_this16","makeArgsIssue","makeReturnsIssue","returns","parsedArgs","parsedReturns","_args7","returnType","_ZodType23","_super24","_ZodType24","_super25","_ZodType25","_super26","expectedValues","_ctx7","_expectedValues","_step33","enumValues","_iterator33","_step34","_iterator34","_step35","_iterator35","_ZodType26","_super27","nativeEnumValues","_expectedValues2","_ZodType27","_super28","_this17","promisified","_ZodType28","_super29","sourceType","_this18","_this$_processInputPa13","processed","checkCtx","fatal","executeRefinement","inner","createWithPreprocess","preprocess","_ZodType29","_super30","_ZodType30","_super31","_ZodType31","_super32","_ZodType32","_super33","_this19","ZodNaN","_ZodType33","_super34","BRAND","_ZodType34","_super35","_ZodType35","ZodPipeline","_super36","_this20","_this$_processInputPa17","inResult","in","handleAsync","late","stringType","numberType","nanType","bigIntType","booleanType","dateType","symbolType","undefinedType","nullType","anyType","unknownType","neverType","voidType","arrayType","objectType","strictObjectType","unionType","discriminatedUnionType","intersectionType","tupleType","recordType","mapType","setType","functionType","lazyType","literalType","enumType","nativeEnumType","promiseType","effectsType","optionalType","nullableType","preprocessType","pipelineType","NEVER","defaultErrorMap","setErrorMap","EMPTY_PATH","ZodTransformer","Schema","ZodSchema","discriminatedUnion","literal","nativeEnum","oboolean","onumber","ostring","pipeline","strictObject","transformer","quotelessJson","ERRORS","REGEX","SCHEMA","useLoginForm","useLoginFormSchema","_formControl","_React$useState8","useForm","rawValues","initialFormFlow","formFlow","setFormFlow","newForm","Login"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,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V,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,IACV,SAAU,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AAI,gBACHugN,IACCE,EAA0G,yBAAtE,OAAlBzB,QAA4C,IAAlBA,OAA2B,EAASA,EAAc3jN,QAClG,OAAO,GAAI,WAAU,KAAM,GAAI,GAAU,CACvC2E,GAAIA,GACHygN,GAAkBD,GAAmB,GAAI,GAAU,CACpD,YAAaf,EACb,cAAe,QACf,gBAAiB,kBAChBzH,IAAcyI,GAAkBD,KAGjCE,GAAa,CAAC,CAChBhgO,KAAM,IACNigO,QAAS,+LACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,oBACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,gBACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,qDACR,CACDjgO,KAAM,IACNigO,QAAS,qEACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,KACNigO,QAAS,gBACR,CACDjgO,KAAM,KACNigO,QAAS,gBACR,CACDjgO,KAAM,IACNigO,QAAS,2KACR,CACDjgO,KAAM,IACNigO,QAAS,mCACR,CACDjgO,KAAM,IACNigO,QAAS,yFACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,IACNigO,QAAS,+GACR,CACDjgO,KAAM,IACNigO,QAAS,6BACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,IACNigO,QAAS,2GACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,+CACR,CACDjgO,KAAM,IACNigO,QAAS,6FACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,qPACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,2DACR,CACDjgO,KAAM,IACNigO,QAAS,mCACR,CACDjgO,KAAM,IACNigO,QAAS,qGACR,CACDjgO,KAAM,IACNigO,QAAS,qGACR,CACDjgO,KAAM,IACNigO,QAAS,yFACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,mMACR,CACDjgO,KAAM,IACNigO,QAAS,+CACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,2DACR,CACDjgO,KAAM,IACNigO,QAAS,6BACR,CACDjgO,KAAM,IACNigO,QAAS,uFACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,IACNigO,QAAS,qMACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,oBACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,KACNigO,QAAS,gBACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,qDACR,CACDjgO,KAAM,IACNigO,QAAS,2EACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,KACNigO,QAAS,gBACR,CACDjgO,KAAM,IACNigO,QAAS,iLACR,CACDjgO,KAAM,IACNigO,QAAS,mCACR,CACDjgO,KAAM,IACNigO,QAAS,yFACR,CACDjgO,KAAM,IACNigO,QAAS,yFACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,+GACR,CACDjgO,KAAM,IACNigO,QAAS,mCACR,CACDjgO,KAAM,IACNigO,QAAS,mFACR,CACDjgO,KAAM,IACNigO,QAAS,iHACR,CACDjgO,KAAM,KACNigO,QAAS,UACR,CACDjgO,KAAM,IACNigO,QAAS,+CACR,CACDjgO,KAAM,IACNigO,QAAS,mGACR,CAC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,wEACb,kBAAC,GAAY,iBAAKxE,GAChB,kBAAC,GAAW,KACV,kBAAC,GAAa,CAACA,KAAMy7P,EAAU9f,QATfggB,GAAmB,KAC3CD,EAAYC,W,yHCUhBp7J,IAAazB,UAAb,OACE2gG,UAAQS,YAAUpC,qBAAmBe,gBAAcv2C,iBAAa+D,kBAChE65C,kBAAgBl5C,gBAAYR,gBAAYkB,yBAAqBltE,gBAAYuqE,YAAQ+yB,UAFnF,SAGE2hB,IAHF,iBAGUS,IAHV,0BAGoBpC,IAHpB,qBAGuCe,IAHvC,oBAGqDv2C,MAHrD,qBAGkE+D,MAHlE,cAGgFvoH,IAHhF,qBAGuFmnK,IAHvF,yBAIE/lC,MAJF,uBAIoBghC,IAJpB,sBAIoCjb,IAJpC,mBAImDj+B,MAJnD,mBAI+DR,MAJ/D,4BAI2EkB,MAJ3E,mBAIgGltE,MAJhG,eAKEuqE,MALF,uBAKUmgD,IALV,wBAK0BhE,IAL1B,oBAK2Cg6B,IAL3C,kBAKwD15H,MALxD,cAKmEo0J,IALnE,qBAK0E36B,IAL1E","file":"thoughtbot-6e9c98cf6bca21ccf9bd.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 785);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n//! moment.js\n//! version : 2.29.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory();\n})(this, function () {\n 'use strict';\n\n var hookCallback;\n\n function hooks() {\n return hookCallback.apply(null, arguments);\n } // This is done to register the method called with moment()\n // without creating circular dependencies.\n\n\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n\n function isArray(input) {\n return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n }\n\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return input != null && Object.prototype.toString.call(input) === '[object Object]';\n }\n\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n\n return true;\n }\n }\n\n function isUndefined(input) {\n return input === void 0;\n }\n\n function isNumber(input) {\n return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n }\n\n function isDate(input) {\n return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n }\n\n function map(arr, fn) {\n var res = [],\n i;\n\n for (i = 0; i < arr.length; ++i) {\n res.push(fn(arr[i], i));\n }\n\n return res;\n }\n\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n }\n\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false\n };\n }\n\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n\n return m._pf;\n }\n\n var some;\n\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function some(fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n }\n\n function isValid(m) {\n if (m._isValid == null) {\n var flags = getParsingFlags(m),\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n }),\n isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);\n\n if (m._strict) {\n isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;\n }\n\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n }\n\n return m._isValid;\n }\n\n function createInvalid(flags) {\n var m = createUTC(NaN);\n\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n } // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n\n\n var momentProperties = hooks.momentProperties = [],\n updateInProgress = false;\n\n function copyConfig(to, from) {\n var i, prop, val;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentProperties.length > 0) {\n for (i = 0; i < momentProperties.length; i++) {\n prop = momentProperties[i];\n val = from[prop];\n\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n } // Moment prototype object\n\n\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n\n if (!this.isValid()) {\n this._d = new Date(NaN);\n } // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n\n\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n\n function isMoment(obj) {\n return obj instanceof Moment || obj != null && obj._isAMomentObject != null;\n }\n\n function warn(msg) {\n if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n\n function deprecate(msg, fn) {\n var firstTime = true;\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n\n if (firstTime) {\n var args = [],\n arg,\n i,\n key;\n\n for (i = 0; i < arguments.length; i++) {\n arg = '';\n\n if (_typeof(arguments[i]) === 'object') {\n arg += '\\n[' + i + '] ';\n\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n\n args.push(arg);\n }\n\n warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + new Error().stack);\n firstTime = false;\n }\n\n return fn.apply(this, arguments);\n }, fn);\n }\n\n var deprecations = {};\n\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n\n function isFunction(input) {\n return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n\n function set(config) {\n var prop, i;\n\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n\n this._config = config; // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n\n this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\\d{1,2}/.source);\n }\n\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n\n for (prop in parentConfig) {\n if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n\n return res;\n }\n\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n\n var keys;\n\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function keys(obj) {\n var i,\n res = [];\n\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n\n return res;\n };\n }\n\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n };\n\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n }\n\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {}; // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n\n if (typeof callback === 'string') {\n func = function func() {\n return this[callback]();\n };\n }\n\n if (token) {\n formatTokenFunctions[token] = func;\n }\n\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(func.apply(this, arguments), token);\n };\n }\n }\n\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n\n return input.replace(/\\\\/g, '');\n }\n\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n\n for (i = 0; i < length; i++) {\n output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n }\n\n return output;\n };\n } // format date using native date object\n\n\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n return formatFunctions[format](m);\n }\n\n function expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n }\n\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n };\n\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {\n if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {\n return tok.slice(1);\n }\n\n return tok;\n }).join('');\n return this._longDateFormat[key];\n }\n\n var defaultInvalidDate = 'Invalid date';\n\n function invalidDate() {\n return this._invalidDate;\n }\n\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n };\n\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);\n }\n\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n\n var aliases = {};\n\n function addUnitAlias(unit, shorthand) {\n var lowerCase = unit.toLowerCase();\n aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n }\n\n function normalizeUnits(units) {\n return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n }\n\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n }\n\n var priorities = {};\n\n function addUnitPriority(unit, priority) {\n priorities[unit] = priority;\n }\n\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({\n unit: u,\n priority: priorities[u]\n });\n }\n }\n\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n\n function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n }\n\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n }\n\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n\n function get(mom, unit) {\n return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;\n }\n\n function set$1(mom, unit, value) {\n if (mom.isValid() && !isNaN(value)) {\n if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {\n value = toInt(value);\n\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));\n } else {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n }\n }\n } // MOMENTS\n\n\n function stringGet(units) {\n units = normalizeUnits(units);\n\n if (isFunction(this[units])) {\n return this[units]();\n }\n\n return this;\n }\n\n function stringSet(units, value) {\n if (_typeof(units) === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i;\n\n for (i = 0; i < prioritized.length; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n\n return this;\n }\n\n var match1 = /\\d/,\n // 0 - 9\n match2 = /\\d\\d/,\n // 00 - 99\n match3 = /\\d{3}/,\n // 000 - 999\n match4 = /\\d{4}/,\n // 0000 - 9999\n match6 = /[+-]?\\d{6}/,\n // -999999 - 999999\n match1to2 = /\\d\\d?/,\n // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/,\n // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/,\n // 99999 - 999999\n match1to3 = /\\d{1,3}/,\n // 0 - 999\n match1to4 = /\\d{1,4}/,\n // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/,\n // -999999 - 999999\n matchUnsigned = /\\d+/,\n // 0 - inf\n matchSigned = /[+-]?\\d+/,\n // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi,\n // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi,\n // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/,\n // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n regexes;\n regexes = {};\n\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n } // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n\n\n function unescapeFormat(s) {\n return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }));\n }\n\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n var tokens = {};\n\n function addParseToken(token, callback) {\n var i,\n func = callback;\n\n if (typeof token === 'string') {\n token = [token];\n }\n\n if (isNumber(callback)) {\n func = function func(input, array) {\n array[callback] = toInt(input);\n };\n }\n\n for (i = 0; i < token.length; i++) {\n tokens[token[i]] = func;\n }\n }\n\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n function mod(n, x) {\n return (n % x + x) % x;\n }\n\n var indexOf;\n\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function indexOf(o) {\n // I know\n var i;\n\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n\n return -1;\n };\n }\n\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;\n } // FORMATTING\n\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n }); // ALIASES\n\n addUnitAlias('month', 'M'); // PRIORITY\n\n addUnitPriority('month', 8); // PARSING\n\n addRegexToken('M', match1to2);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict); // if we didn't find a month name, mark the date as invalid.\n\n\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n }); // LOCALES\n\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months) ? this._months : this._months['standalone'];\n }\n\n return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n }\n\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];\n }\n\n return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n }\n\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n } // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n\n\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n }\n\n if (!strict && !this._monthsParse[i]) {\n regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n } // test the regex\n\n\n if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n return i;\n } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n } // MOMENTS\n\n\n function setMonth(mom, value) {\n var dayOfMonth;\n\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value); // TODO: Another silent failure?\n\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n\n return mom;\n }\n\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n\n return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;\n }\n }\n\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n\n return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;\n }\n }\n\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom;\n\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortPieces.push(this.monthsShort(mom, ''));\n longPieces.push(this.months(mom, ''));\n mixedPieces.push(this.months(mom, ''));\n mixedPieces.push(this.monthsShort(mom, ''));\n } // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n\n\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n for (i = 0; i < 12; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n }\n\n for (i = 0; i < 24; i++) {\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n } // FORMATTING\n\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); // ALIASES\n\n addUnitAlias('year', 'y'); // PRIORITIES\n\n addUnitPriority('year', 1); // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n }); // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n } // HOOKS\n\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n }; // MOMENTS\n\n\n var getSetYear = makeGetSet('FullYear', true);\n\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date; // the date constructor remaps years 0-99 to 1900-1999\n\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n }\n\n function createUTCDate(y) {\n var date, args; // the Date.UTC function remaps years 0-99 to 1900-1999\n\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments); // preserve leap years using a full 400 year cycle, then reset\n\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n } // start-of-first-week - start-of-year\n\n\n function firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n } // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n\n\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear\n };\n }\n\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear\n };\n }\n\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n } // FORMATTING\n\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); // ALIASES\n\n addUnitAlias('week', 'w');\n addUnitAlias('isoWeek', 'W'); // PRIORITIES\n\n addUnitPriority('week', 5);\n addUnitPriority('isoWeek', 5); // PARSING\n\n addRegexToken('w', match1to2);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2);\n addRegexToken('WW', match1to2, match2);\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n }); // HELPERS\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n\n var defaultLocaleWeek = {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n\n function localeFirstDayOfYear() {\n return this._week.doy;\n } // MOMENTS\n\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n } // FORMATTING\n\n\n addFormatToken('d', 0, 'do', 'day');\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday'); // ALIASES\n\n addUnitAlias('day', 'd');\n addUnitAlias('weekday', 'e');\n addUnitAlias('isoWeekday', 'E'); // PRIORITY\n\n addUnitPriority('day', 11);\n addUnitPriority('weekday', 11);\n addUnitPriority('isoWeekday', 11); // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict); // if we didn't get a weekday name, mark the date as invalid\n\n\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n }); // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n }\n\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n\n return isNaN(input) ? null : input;\n } // LOCALES\n\n\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];\n return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;\n }\n\n function localeWeekdaysShort(m) {\n return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n }\n\n function localeWeekdaysMin(m) {\n return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n }\n\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$', 'i');\n }\n\n if (!this._weekdaysParse[i]) {\n regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n } // test the regex\n\n\n if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n } // MOMENTS\n\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n } // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n\n return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;\n }\n }\n\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n\n return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n }\n }\n\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n\n return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n }\n }\n\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n } // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n\n\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n } // FORMATTING\n\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n\n function kFormat() {\n return this.hours() || 24;\n }\n\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n addFormatToken('hmmss', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n addFormatToken('Hmmss', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n });\n }\n\n meridiem('a', true);\n meridiem('A', false); // ALIASES\n\n addUnitAlias('hour', 'h'); // PRIORITY\n\n addUnitPriority('hour', 13); // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2);\n addRegexToken('h', match1to2);\n addRegexToken('k', match1to2);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n }); // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n week: defaultLocaleWeek,\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n meridiemParse: defaultLocaleMeridiemParse\n }; // internal storage for locale config files\n\n var locales = {},\n localeFamilies = {},\n globalLocale;\n\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n\n return minl;\n }\n\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n } // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n\n\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n\n if (locale) {\n return locale;\n }\n\n if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n\n j--;\n }\n\n i++;\n }\n\n return globalLocale;\n }\n\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire; // TODO: Find a better way to register and load all the locales in Node\n\n if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n\n return locales[name];\n } // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n\n\n function getSetGlobalLocale(key, values) {\n var data;\n\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn('Locale ' + key + ' not found. Did you forget to load it?');\n }\n }\n }\n\n return globalLocale._abbr;\n }\n\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n\n if (locales[name] != null) {\n deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config\n });\n return null;\n }\n }\n }\n\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n } // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n\n\n getSetGlobalLocale(name);\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n\n config = mergeConfigs(parentConfig, config);\n\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n } // backwards compat for now: also set the locale\n\n\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n\n return locales[name];\n } // returns locale data\n\n\n function getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n\n if (locale) {\n return locale;\n }\n\n key = [key];\n }\n\n return chooseLocale(key);\n }\n\n function listLocales() {\n return keys(locales);\n }\n\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;\n\n if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n overflow = DATE;\n }\n\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n } // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n\n\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/], ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/], ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/], ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false], ['YYYY-DDD', /\\d{4}-\\d{3}/], ['YYYY-MM', /\\d{4}-\\d\\d/, false], ['YYYYYYMMDD', /[+-]\\d{10}/], ['YYYYMMDD', /\\d{8}/], ['GGGG[W]WWE', /\\d{4}W\\d{3}/], ['GGGG[W]WW', /\\d{4}W\\d{2}/, false], ['YYYYDDD', /\\d{7}/], ['YYYYMM', /\\d{6}/, false], ['YYYY', /\\d{4}/, false]],\n // iso time formats and regexes\n isoTimes = [['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/], ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/], ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/], ['HH:mm', /\\d\\d:\\d\\d/], ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/], ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/], ['HHmmss', /\\d\\d\\d\\d\\d\\d/], ['HHmm', /\\d\\d\\d\\d/], ['HH', /\\d\\d/]],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n }; // date from iso format\n\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat;\n\n if (match) {\n getParsingFlags(config).iso = true;\n\n for (i = 0, l = isoDates.length; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n\n if (match[3]) {\n for (i = 0, l = isoTimes.length; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n\n function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n }\n\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n\n return year;\n }\n\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^)]*\\)|[\\n\\t]/g, ' ').replace(/(\\s\\s+)/g, ' ').replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n }\n\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();\n\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n\n return true;\n }\n\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n } // date and time from ref 2822 format\n\n\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n\n if (match) {\n parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);\n\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n config._d = createUTCDate.apply(null, config._a);\n\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n } // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n\n\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n\n hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }); // Pick the first defined of two or three arguments.\n\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n\n if (b != null) {\n return b;\n }\n\n return c;\n }\n\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n\n if (config._useUTC) {\n return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n }\n\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n } // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n\n\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config); //compute day of the year from weeks and weekdays\n\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n } //if the day of the year is set, figure out what it is\n\n\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n } // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n\n\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n } // Zero out whatever was not defaulted, including time\n\n\n for (; i < 7; i++) {\n config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];\n } // Check for 24:00:00.000\n\n\n if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay(); // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n } // check for mismatching day of week\n\n\n if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n w = config._w;\n\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4; // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n\n weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n curWeek = weekOfYear(createLocal(), dow, doy);\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); // Default to current week.\n\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n } // constant that refers to the ISO standard\n\n\n hooks.ISO_8601 = function () {}; // constant that refers to the RFC 2822 form\n\n\n hooks.RFC_2822 = function () {}; // date from string and format string\n\n\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n\n config._a = [];\n getParsingFlags(config).empty = true; // This array is used to make a Date, either with `new Date` or `Date.UTC`\n\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era;\n tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n for (i = 0; i < tokens.length; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];\n\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n\n string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n totalParsedInputLength += parsedInput.length;\n } // don't parse if it's not a known token\n\n\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n } // add remaining unparsed input length to the string\n\n\n getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n } // clear _12h flag if hour is <= 12\n\n\n if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem; // handle meridiem\n\n config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem); // handle era\n\n era = getParsingFlags(config).era;\n\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n\n configFromArray(config);\n checkOverflow(config);\n }\n\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n\n if (isPm && hour < 12) {\n hour += 12;\n }\n\n if (!isPm && hour === 12) {\n hour = 0;\n }\n\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n } // date from string and array of format strings\n\n\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false;\n\n if (config._f.length === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < config._f.length; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (isValid(tempConfig)) {\n validFormatFound = true;\n } // if there is any input that was not parsed add a penalty for that format\n\n\n currentScore += getParsingFlags(tempConfig).charsLeftOver; //or tokens\n\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n getParsingFlags(tempConfig).score = currentScore;\n\n if (!bestFormatIsValid) {\n if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n\n extend(config, bestMoment || tempConfig);\n }\n\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n return obj && parseInt(obj, 10);\n });\n configFromArray(config);\n }\n\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n }\n\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || format === undefined && input === '') {\n return createInvalid({\n nullInput: true\n });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n }\n\n function configFromInput(config) {\n var input = config._i;\n\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {\n input = undefined;\n } // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n\n\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n return createFromConfig(c);\n }\n\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n\n var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }),\n prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }); // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n\n function pickBy(fn, moments) {\n var res, i;\n\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n\n if (!moments.length) {\n return createLocal();\n }\n\n res = moments[0];\n\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n\n return res;\n } // TODO: Use [].sort instead?\n\n\n function min() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isBefore', args);\n }\n\n function max() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isAfter', args);\n }\n\n var now = function now() {\n return Date.now ? Date.now() : +new Date();\n };\n\n var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i;\n\n for (key in m) {\n if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n return false;\n }\n }\n\n for (i = 0; i < ordering.length; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n }\n\n function isValid$1() {\n return this._isValid;\n }\n\n function createInvalid$1() {\n return createDuration(NaN);\n }\n\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n this._isValid = isDurationValid(normalizedInput); // representation for dateAddRemove\n\n this._milliseconds = +milliseconds + seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n\n this._days = +days + weeks * 7; // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n\n this._months = +months + quarters * 3 + years * 12;\n this._data = {};\n this._locale = getLocale();\n\n this._bubble();\n }\n\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n } // compare two arrays, return the number of differences\n\n\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {\n diffs++;\n }\n }\n\n return diffs + lengthDiff;\n } // FORMATTING\n\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n\n return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);\n });\n }\n\n offset('Z', ':');\n offset('ZZ', ''); // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n }); // HELPERS\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n\n if (matches === null) {\n return null;\n }\n\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n } // Return a moment from input, that is local/utc/zone equivalent to model.\n\n\n function cloneWithOffset(input, model) {\n var res, diff;\n\n if (model._isUTC) {\n res = model.clone();\n diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf(); // Use low-level api, because this fn is low-level api.\n\n res._d.setTime(res._d.valueOf() + diff);\n\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n } // HOOKS\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n\n\n hooks.updateOffset = function () {}; // MOMENTS\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n\n\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n\n this._offset = input;\n this._isUTC = true;\n\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n\n return this;\n }\n\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n\n return this;\n }\n\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n\n input = input ? createLocal(input).utcOffset() : 0;\n return (this.utcOffset() - input) % 60 === 0;\n }\n\n function isDaylightSavingTime() {\n return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();\n }\n\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {},\n other;\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n }\n\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n } // ASP.NET json date format regex\n\n\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if (match = aspNetRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n\n };\n } else if (match = isoRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign)\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (_typeof(duration) === 'object' && ('from' in duration || 'to' in duration)) {\n diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n\n return ret;\n }\n\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.')); // apply sign while we're at it\n\n return (isNaN(res) ? 0 : res) * sign;\n }\n\n function positiveMomentsDifference(base, other) {\n var res = {};\n res.months = other.month() - base.month() + (other.year() - base.year()) * 12;\n\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n return res;\n }\n\n function momentsDifference(base, other) {\n var res;\n\n if (!(base.isValid() && other.isValid())) {\n return {\n milliseconds: 0,\n months: 0\n };\n }\n\n other = cloneWithOffset(other, base);\n\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n } // TODO: remove 'name' arg after deprecation is removed\n\n\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp; //invert the arguments, but complain about it\n\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n tmp = val;\n val = period;\n period = tmp;\n }\n\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n } // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n\n\n function isMomentInput(input) {\n return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;\n }\n\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n\n if (arrayTest) {\n dataTypeTest = input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n\n return arrayTest && dataTypeTest;\n }\n\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';\n }\n\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n } // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n\n\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n }\n\n function clone() {\n return new Moment(this);\n }\n\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n\n inclusivity = inclusivity || '()';\n return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));\n }\n\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n }\n }\n\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n\n case 'month':\n output = monthDiff(this, that);\n break;\n\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n\n case 'second':\n output = (this - that) / 1e3;\n break;\n // 1000\n\n case 'minute':\n output = (this - that) / 6e4;\n break;\n // 1000 * 60\n\n case 'hour':\n output = (this - that) / 36e5;\n break;\n // 1000 * 60 * 60\n\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break;\n // 1000 * 60 * 60 * 24, negate dst\n\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break;\n // 1000 * 60 * 60 * 24 * 7, negate dst\n\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n }\n\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n } // difference in months\n\n\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); // linear across the month\n\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); // linear across the month\n\n adjust = (b - anchor) / (anchor2 - anchor);\n } //check for negative zero, return zero if negative zero\n\n\n return -(wholeMonthDiff + adjust) || 0;\n }\n\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));\n }\n }\n\n return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n\n\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n return this.format(prefix + year + datetime + suffix);\n }\n\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n }\n\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n\n function from(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n to: this,\n from: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n\n function to(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n from: this,\n to: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n } // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n\n\n function locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n\n return this;\n }\n }\n\n var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n });\n\n function localeData() {\n return this._locale;\n }\n\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; // actual modulo - handles negative numbers (for dates before 1970):\n\n function mod$1(dividend, divisor) {\n return (dividend % divisor + divisor) % divisor;\n }\n\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3, 1);\n break;\n\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday());\n break;\n\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));\n break;\n\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);\n break;\n\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n\n hooks.updateOffset(this, true);\n return this;\n }\n\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;\n break;\n\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;\n break;\n\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;\n break;\n\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n\n case 'hour':\n time = this._d.valueOf();\n time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;\n break;\n\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n\n hooks.updateOffset(this, true);\n return this;\n }\n\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n\n function toDate() {\n return new Date(this.valueOf());\n }\n\n function toArray() {\n var m = this;\n return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n }\n\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds()\n };\n }\n\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n\n function isValid$2() {\n return isValid(this);\n }\n\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict\n };\n }\n\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n });\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (_typeof(eras[i].since)) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n\n switch (_typeof(eras[i].until)) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n\n return eras;\n }\n\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n\n break;\n\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n\n break;\n\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n\n return '';\n }\n\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n\n return '';\n }\n\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n\n return '';\n }\n\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1; // truncate time\n\n val = this.clone().startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {\n return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;\n }\n }\n\n return this.year();\n }\n\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n eras = this.eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n namePieces.push(regexEscape(eras[i].name));\n abbrPieces.push(regexEscape(eras[i].abbr));\n narrowPieces.push(regexEscape(eras[i].narrow));\n mixedPieces.push(regexEscape(eras[i].name));\n mixedPieces.push(regexEscape(eras[i].abbr));\n mixedPieces.push(regexEscape(eras[i].narrow));\n }\n\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');\n } // FORMATTING\n\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear'); // ALIASES\n\n addUnitAlias('weekYear', 'gg');\n addUnitAlias('isoWeekYear', 'GG'); // PRIORITY\n\n addUnitPriority('weekYear', 1);\n addUnitPriority('isoWeekYear', 1); // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n });\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n }); // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy);\n }\n\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);\n }\n\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n } // FORMATTING\n\n\n addFormatToken('Q', 0, 'Qo', 'quarter'); // ALIASES\n\n addUnitAlias('quarter', 'Q'); // PRIORITY\n\n addUnitPriority('quarter', 7); // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n }); // MOMENTS\n\n function getSetQuarter(input) {\n return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n } // FORMATTING\n\n\n addFormatToken('D', ['DD', 2], 'Do', 'date'); // ALIASES\n\n addUnitAlias('date', 'D'); // PRIORITY\n\n addUnitPriority('date', 9); // PARSING\n\n addRegexToken('D', match1to2);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;\n });\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n }); // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true); // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); // ALIASES\n\n addUnitAlias('dayOfYear', 'DDD'); // PRIORITY\n\n addUnitPriority('dayOfYear', 4); // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n }); // HELPERS\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n } // FORMATTING\n\n\n addFormatToken('m', ['mm', 2], 0, 'minute'); // ALIASES\n\n addUnitAlias('minute', 'm'); // PRIORITY\n\n addUnitPriority('minute', 14); // PARSING\n\n addRegexToken('m', match1to2);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE); // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false); // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second'); // ALIASES\n\n addUnitAlias('second', 's'); // PRIORITY\n\n addUnitPriority('second', 15); // PARSING\n\n addRegexToken('s', match1to2);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND); // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false); // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n }); // ALIASES\n\n addUnitAlias('millisecond', 'ms'); // PRIORITY\n\n addUnitPriority('millisecond', 16); // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n var token, getSetMillisecond;\n\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n\n getSetMillisecond = makeGetSet('Milliseconds', false); // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName'); // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n\n var proto = Moment.prototype;\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\n proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\n proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);\n proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\n proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n\n function preParsePostFormat(string) {\n return string;\n }\n\n var proto$1 = Locale.prototype;\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i,\n out = [];\n\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n\n return out;\n } // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n\n\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n\n return out;\n }\n\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n\n getSetGlobalLocale('en', {\n eras: [{\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD'\n }, {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC'\n }],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n }); // Side effect imports\n\n hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\n hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n var mathAbs = Math.abs;\n\n function abs() {\n var data = this._data;\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n return this;\n }\n\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n return duration._bubble();\n } // supports only 2.0-style add(1, 's') or add(duration)\n\n\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n } // supports only 2.0-style subtract(1, 's') or subtract(duration)\n\n\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays; // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n\n if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n } // The following code bubbles up values, see the tests for\n // examples of what that means.\n\n\n data.milliseconds = milliseconds % 1000;\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n days += absFloor(hours / 24); // convert days to months\n\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays)); // 12 months -> 1 year\n\n years = absFloor(months / 12);\n months %= 12;\n data.days = days;\n data.months = months;\n data.years = years;\n return this;\n }\n\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return days * 4800 / 146097;\n }\n\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return months * 146097 / 4800;\n }\n\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n\n var days,\n months,\n milliseconds = this._milliseconds;\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n\n switch (units) {\n case 'month':\n return months;\n\n case 'quarter':\n return months / 3;\n\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n\n case 'day':\n return days + milliseconds / 864e5;\n\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n } // TODO: Use this.as('ms')?\n\n\n function valueOf$1() {\n if (!this.isValid()) {\n return NaN;\n }\n\n return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;\n }\n\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y');\n\n function clone$1() {\n return createDuration(this);\n }\n\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n\n function weeks() {\n return absFloor(this.days() / 7);\n }\n\n var round = Math.round,\n thresholds = {\n ss: 44,\n // a few seconds to seconds\n s: 45,\n // seconds to minute\n m: 45,\n // minutes to hour\n h: 22,\n // hours to day\n d: 26,\n // days to month/week\n w: null,\n // weeks to month\n M: 11 // months to year\n\n }; // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];\n\n if (thresholds.w != null) {\n a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];\n }\n\n a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n } // This function allows you to set the rounding function for relative time strings\n\n\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n\n return false;\n } // This function allows you to set a threshold for relative time strings\n\n\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n\n if (limit === undefined) {\n return thresholds[threshold];\n }\n\n thresholds[threshold] = limit;\n\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n\n return true;\n }\n\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n\n if (_typeof(argWithSuffix) === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n\n if (_typeof(argThresholds) === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n }\n\n var abs$1 = Math.abs;\n\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n } // 3600 seconds -> 60 minutes -> 1 hour\n\n\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60; // 12 months -> 1 year\n\n years = absFloor(months / 12);\n months %= 12; // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');\n }\n\n var proto$2 = Duration.prototype;\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\n proto$2.lang = lang; // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf'); // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n }); //! moment.js\n\n hooks.version = '2.29.1';\n setHookCallback(createLocal);\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto; // currently HTML5 input type only supports 24-hour formats\n\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',\n // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',\n // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',\n // \n DATE: 'YYYY-MM-DD',\n // \n TIME: 'HH:mm',\n // \n TIME_SECONDS: 'HH:mm:ss',\n // \n TIME_MS: 'HH:mm:ss.SSS',\n // \n WEEK: 'GGGG-[W]WW',\n // \n MONTH: 'YYYY-MM' // \n\n };\n return hooks;\n});","module.exports = require(\"regenerator-runtime\");\n","var numeral = require('numeral');\n\nexport const NumberFormatter = {\n /* To be moved shortly */\n formatterWithoutDecimal: function(float) {\n let value = Math.round(float)\n return numeral(value).format('0,0');\n },\n\n formatterWithDecimal: function(float) {\n return numeral(float).format('0,0.00');\n },\n\n withComma: function(float, showDecimals) {\n let formatter = null;\n if (showDecimals)\n formatter = this.formatterWithDecimal;\n else\n formatter = this.formatterWithoutDecimal;\n\n if (float)\n return formatter(float) || float;\n else\n return float;\n },\n\n formatMoney: function(value, decimal = false){\n let number = this.parseMoney(value);\n let error = false;\n let formatted\n\n if (isNaN(number)){\n console.log(\"Error formatting NaN as money\")\n } else {\n formatted = NumberFormatter.withComma(number, decimal)\n }\n\n return formatted\n },\n\n parseMoney: function(input){\n let number = input || '0'\n if (typeof number === 'string') {\n number = number.replace(/[$,]/g,'')\n }\n\n return parseFloat(number);\n },\n\n convertToNumber: function(value) {\n value = parseFloat(value).toFixed(2)\n return parseFloat(value)\n }\n};\n\n/* When we move to Webpack\n * export NumberFormatter\n **/\nexport default NumberFormatter;\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\ndefine([\"./var/arr\", \"./var/getProto\", \"./var/slice\", \"./var/flat\", \"./var/push\", \"./var/indexOf\", \"./var/class2type\", \"./var/toString\", \"./var/hasOwn\", \"./var/fnToString\", \"./var/ObjectFunctionString\", \"./var/support\", \"./var/isFunction\", \"./var/isWindow\", \"./core/DOMEval\", \"./core/toType\"], function (arr, getProto, _slice, flat, push, indexOf, class2type, toString, hasOwn, fnToString, ObjectFunctionString, support, isFunction, isWindow, DOMEval, toType) {\n \"use strict\";\n\n var version = \"3.6.0\",\n // Define a local copy of jQuery\n jQuery = function jQuery(selector, context) {\n // The jQuery object is actually just the init constructor 'enhanced'\n // Need init if jQuery is called (just allow error to be thrown if not included)\n return new jQuery.fn.init(selector, context);\n };\n\n jQuery.fn = jQuery.prototype = {\n // The current version of jQuery being used\n jquery: version,\n constructor: jQuery,\n // The default length of a jQuery object is 0\n length: 0,\n toArray: function toArray() {\n return _slice.call(this);\n },\n // Get the Nth element in the matched element set OR\n // Get the whole matched element set as a clean array\n get: function get(num) {\n // Return all the elements in a clean array\n if (num == null) {\n return _slice.call(this);\n } // Return just the one element from the set\n\n\n return num < 0 ? this[num + this.length] : this[num];\n },\n // Take an array of elements and push it onto the stack\n // (returning the new matched element set)\n pushStack: function pushStack(elems) {\n // Build a new jQuery matched element set\n var ret = jQuery.merge(this.constructor(), elems); // Add the old object onto the stack (as a reference)\n\n ret.prevObject = this; // Return the newly-formed element set\n\n return ret;\n },\n // Execute a callback for every element in the matched set.\n each: function each(callback) {\n return jQuery.each(this, callback);\n },\n map: function map(callback) {\n return this.pushStack(jQuery.map(this, function (elem, i) {\n return callback.call(elem, i, elem);\n }));\n },\n slice: function slice() {\n return this.pushStack(_slice.apply(this, arguments));\n },\n first: function first() {\n return this.eq(0);\n },\n last: function last() {\n return this.eq(-1);\n },\n even: function even() {\n return this.pushStack(jQuery.grep(this, function (_elem, i) {\n return (i + 1) % 2;\n }));\n },\n odd: function odd() {\n return this.pushStack(jQuery.grep(this, function (_elem, i) {\n return i % 2;\n }));\n },\n eq: function eq(i) {\n var len = this.length,\n j = +i + (i < 0 ? len : 0);\n return this.pushStack(j >= 0 && j < len ? [this[j]] : []);\n },\n end: function end() {\n return this.prevObject || this.constructor();\n },\n // For internal use only.\n // Behaves like an Array's method, not like a jQuery method.\n push: push,\n sort: arr.sort,\n splice: arr.splice\n };\n\n jQuery.extend = jQuery.fn.extend = function () {\n var options,\n name,\n src,\n copy,\n copyIsArray,\n clone,\n target = arguments[0] || {},\n i = 1,\n length = arguments.length,\n deep = false; // Handle a deep copy situation\n\n if (typeof target === \"boolean\") {\n deep = target; // Skip the boolean and the target\n\n target = arguments[i] || {};\n i++;\n } // Handle case when target is a string or something (possible in deep copy)\n\n\n if (_typeof(target) !== \"object\" && !isFunction(target)) {\n target = {};\n } // Extend jQuery itself if only one argument is passed\n\n\n if (i === length) {\n target = this;\n i--;\n }\n\n for (; i < length; i++) {\n // Only deal with non-null/undefined values\n if ((options = arguments[i]) != null) {\n // Extend the base object\n for (name in options) {\n copy = options[name]; // Prevent Object.prototype pollution\n // Prevent never-ending loop\n\n if (name === \"__proto__\" || target === copy) {\n continue;\n } // Recurse if we're merging plain objects or arrays\n\n\n if (deep && copy && (jQuery.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {\n src = target[name]; // Ensure proper type for the source value\n\n if (copyIsArray && !Array.isArray(src)) {\n clone = [];\n } else if (!copyIsArray && !jQuery.isPlainObject(src)) {\n clone = {};\n } else {\n clone = src;\n }\n\n copyIsArray = false; // Never move original objects, clone them\n\n target[name] = jQuery.extend(deep, clone, copy); // Don't bring in undefined values\n } else if (copy !== undefined) {\n target[name] = copy;\n }\n }\n }\n } // Return the modified object\n\n\n return target;\n };\n\n jQuery.extend({\n // Unique for each copy of jQuery on the page\n expando: \"jQuery\" + (version + Math.random()).replace(/\\D/g, \"\"),\n // Assume jQuery is ready without the ready module\n isReady: true,\n error: function error(msg) {\n throw new Error(msg);\n },\n noop: function noop() {},\n isPlainObject: function isPlainObject(obj) {\n var proto, Ctor; // Detect obvious negatives\n // Use toString instead of jQuery.type to catch host objects\n\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n\n proto = getProto(obj); // Objects with no prototype (e.g., `Object.create( null )`) are plain\n\n if (!proto) {\n return true;\n } // Objects with prototype are plain iff they were constructed by a global Object function\n\n\n Ctor = hasOwn.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && fnToString.call(Ctor) === ObjectFunctionString;\n },\n isEmptyObject: function isEmptyObject(obj) {\n var name;\n\n for (name in obj) {\n return false;\n }\n\n return true;\n },\n // Evaluates a script in a provided context; falls back to the global one\n // if not specified.\n globalEval: function globalEval(code, options, doc) {\n DOMEval(code, {\n nonce: options && options.nonce\n }, doc);\n },\n each: function each(obj, callback) {\n var length,\n i = 0;\n\n if (isArrayLike(obj)) {\n length = obj.length;\n\n for (; i < length; i++) {\n if (callback.call(obj[i], i, obj[i]) === false) {\n break;\n }\n }\n } else {\n for (i in obj) {\n if (callback.call(obj[i], i, obj[i]) === false) {\n break;\n }\n }\n }\n\n return obj;\n },\n // results is for internal usage only\n makeArray: function makeArray(arr, results) {\n var ret = results || [];\n\n if (arr != null) {\n if (isArrayLike(Object(arr))) {\n jQuery.merge(ret, typeof arr === \"string\" ? [arr] : arr);\n } else {\n push.call(ret, arr);\n }\n }\n\n return ret;\n },\n inArray: function inArray(elem, arr, i) {\n return arr == null ? -1 : indexOf.call(arr, elem, i);\n },\n // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n merge: function merge(first, second) {\n var len = +second.length,\n j = 0,\n i = first.length;\n\n for (; j < len; j++) {\n first[i++] = second[j];\n }\n\n first.length = i;\n return first;\n },\n grep: function grep(elems, callback, invert) {\n var callbackInverse,\n matches = [],\n i = 0,\n length = elems.length,\n callbackExpect = !invert; // Go through the array, only saving the items\n // that pass the validator function\n\n for (; i < length; i++) {\n callbackInverse = !callback(elems[i], i);\n\n if (callbackInverse !== callbackExpect) {\n matches.push(elems[i]);\n }\n }\n\n return matches;\n },\n // arg is for internal usage only\n map: function map(elems, callback, arg) {\n var length,\n value,\n i = 0,\n ret = []; // Go through the array, translating each of the items to their new values\n\n if (isArrayLike(elems)) {\n length = elems.length;\n\n for (; i < length; i++) {\n value = callback(elems[i], i, arg);\n\n if (value != null) {\n ret.push(value);\n }\n } // Go through every key on the object,\n\n } else {\n for (i in elems) {\n value = callback(elems[i], i, arg);\n\n if (value != null) {\n ret.push(value);\n }\n }\n } // Flatten any nested arrays\n\n\n return flat(ret);\n },\n // A global GUID counter for objects\n guid: 1,\n // jQuery.support is not used in Core but other projects attach their\n // properties to it so it needs to exist.\n support: support\n });\n\n if (typeof Symbol === \"function\") {\n jQuery.fn[Symbol.iterator] = arr[Symbol.iterator];\n } // Populate the class2type map\n\n\n jQuery.each(\"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\" \"), function (_i, name) {\n class2type[\"[object \" + name + \"]\"] = name.toLowerCase();\n });\n\n function isArrayLike(obj) {\n // Support: real iOS 8.2 only (not reproducible in simulator)\n // `in` check used to prevent JIT error (gh-2145)\n // hasOwn isn't used here due to false negatives\n // regarding Nodelist length in IE\n var length = !!obj && \"length\" in obj && obj.length,\n type = toType(obj);\n\n if (isFunction(obj) || isWindow(obj)) {\n return false;\n }\n\n return type === \"array\" || length === 0 || typeof length === \"number\" && length > 0 && length - 1 in obj;\n }\n\n return jQuery;\n});","const lb_fetch = function (url, { handleErrors = false, ...options } = {}) {\n if (handleErrors) {\n return lb_fetch_with_error_handling(url, options)\n }\n\n return lb_fetch_classic(url, options)\n}\n\nconst lb_fetch_with_error_handling = async (url, options) => {\n try {\n const res = await lb_fetch_classic(url, options)\n const data = await res.json()\n\n if (res.status >= 400) {\n throw data\n }\n\n return { data }\n } catch (error) {\n if (options.ignoreAbortErrors && error.name === 'AbortError') return {}\n\n console.log('error in lb_fetch_with_error_handling', error)\n if (options.useOriginalError) {\n return { error: error }\n }\n\n return { error: 'Something went wrong', traceback: error }\n }\n}\n\nconst lb_fetch_classic = (url, options) => {\n options = options || {}\n\n const { headers = {}, ...otherOptions } = options\n const authenticity_token = $('meta[name=\"csrf-token\"]').attr('content')\n\n options = {\n method: 'post',\n headers: {\n 'Content-Type': 'application/json',\n // user overwrites\n ...headers,\n\n // mandatory overwrites\n 'X-CSRF-Token': authenticity_token,\n },\n ...otherOptions,\n\n // mandatory overwrites\n credentials: 'same-origin',\n }\n\n if (options.body && options.method.toLowerCase() === 'get') {\n delete options.body\n }\n\n const isJson = options['headers']['Content-Type'] === 'application/json';\n if (options['body'] && isJson ) {\n options['body'] = JSON.stringify(options['body'])\n }\n\n // Multi-part Form data must be explicitly sent with an undefined 'Content-Type'\n // This check enables that behavior for callers passing 'Content-Type': false \n if (options['headers']['Content-Type'] === false) {\n delete options['headers']['Content-Type']\n }\n\n return fetch(url, options)\n}\n\nexport default lb_fetch\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is'); // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n\n\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}","define([\"./core\", \"./selector\", \"./traversing\", \"./callbacks\", \"./deferred\", \"./deferred/exceptionHook\", \"./core/ready\", \"./data\", \"./queue\", \"./queue/delay\", \"./attributes\", \"./event\", \"./event/focusin\", \"./manipulation\", \"./manipulation/_evalUrl\", \"./wrap\", \"./css\", \"./css/hiddenVisibleSelectors\", \"./serialize\", \"./ajax\", \"./ajax/xhr\", \"./ajax/script\", \"./ajax/jsonp\", \"./ajax/load\", \"./core/parseXML\", \"./core/parseHTML\", \"./effects\", \"./effects/animatedSelector\", \"./offset\", \"./dimensions\", \"./deprecated\", \"./exports/amd\", \"./exports/global\"], function (jQuery) {\n \"use strict\";\n\n return jQuery;\n});","import NumberFormatter from '../../number_formatter.js';\nimport { updateForm } from '../../actions/DealerDealStructureActions.js.jsx'\nimport lb_fetch from \"../../helpers/Request\"\nimport { calcLTV } from './helpers/LTVHelper.js';\n\nconst dealStructure = (form) => {\n let purchase_price = form['purchase_price']\n const purchase_price_cleanup_keys = ['purchase_price', 'cash_downpayment', 'sales_tax', 'rebate', 'doc_fees', 'license_registration_fees', 'extended_warranty', 'tire_protection', 'gap_insurance_dealer', 'accid_disability_insurance', 'credit_life_insurance', 'vsi_insurance', 'gps_cost', 'tax', 'gap_insurance']\n const loan_term_cleanup_keys = ['reserved_amount', 'loan_acquisition_fee']\n purchase_price = cleanUpData(purchase_price, purchase_price_cleanup_keys)\n const loan_term = cleanUpData(form['loan_term'], loan_term_cleanup_keys)\n const total_downpayment = totalDownpayment(purchase_price)\n const other_charges_frontend = form['purchase_price']['other_charges_frontend'] || []\n const total_other_charges_frontend = other_charges_frontend.map(c => NumberFormatter.parseMoney(c['amount'] || 0)).reduce((a, b) => a + b, 0)\n const frontend_subtotal = NumberFormatter.parseMoney(purchase_price['purchase_price'] || 0) + NumberFormatter.parseMoney(purchase_price['sales_tax'] || 0) + NumberFormatter.parseMoney(purchase_price['license_registration_fees'] || 0) + NumberFormatter.parseMoney(purchase_price['doc_fees'] || 0)\n const frontend_deductions = NumberFormatter.parseMoney(purchase_price['rebate'] || 0) + total_downpayment\n const frontend_total = frontend_subtotal + (total_other_charges_frontend || 0) - frontend_deductions\n const other_charges = form['purchase_price']['other_charges'] || []\n const total_other_charges = other_charges.map(c => NumberFormatter.parseMoney(c['amount'] || 0)).reduce((a, b) => a + b, 0)\n const protection_total = NumberFormatter.parseMoney(purchase_price['extended_warranty'] || 0) + NumberFormatter.parseMoney(purchase_price['tire_protection'] || 0) + NumberFormatter.parseMoney(purchase_price['gap_insurance_dealer'] || 0) + NumberFormatter.parseMoney(purchase_price['accid_disability_insurance'] || 0) + NumberFormatter.parseMoney(purchase_price['credit_life_insurance'] || 0)\n const backend_total = protection_total + (total_other_charges || 0)\n let product_fees = totalLendbuzzProducts(purchase_price)\n product_fees = NumberFormatter.parseMoney(product_fees).toFixed(2)\n product_fees = NumberFormatter.parseMoney(product_fees)\n const net_financed_amount = frontend_total + backend_total\n let reserve_amount = 0\n if (form['reserved_active']) {\n reserve_amount = NumberFormatter.parseMoney(loan_term['reserved_amount'] || 0)\n }\n const net_check = net_financed_amount - reserve_amount\n let lendbuzz_fees = product_fees + (NumberFormatter.parseMoney(loan_term['loan_acquisition_fee']) || 0)\n lendbuzz_fees = NumberFormatter.parseMoney(lendbuzz_fees).toFixed(2)\n lendbuzz_fees = NumberFormatter.parseMoney(lendbuzz_fees)\n const loan_amount = net_financed_amount + lendbuzz_fees\n return {\n frontend_total: NumberFormatter.parseMoney(frontend_total || 0), backend_total: NumberFormatter.parseMoney(backend_total || 0), product_fees: NumberFormatter.parseMoney(product_fees || 0),\n net_financed_amount: NumberFormatter.parseMoney(net_financed_amount || 0), net_check: NumberFormatter.parseMoney(net_check || 0),\n total_downpayment: NumberFormatter.parseMoney(total_downpayment || 0), total_other_charges: NumberFormatter.parseMoney(total_other_charges || 0),\n total_other_charges_frontend: NumberFormatter.parseMoney(total_other_charges_frontend || 0), protection_total: NumberFormatter.parseMoney(protection_total || 0),\n loan_amount: NumberFormatter.parseMoney(loan_amount || 0), lendbuzz_fees\n }\n}\n\nconst cleanUpData = (data, clean_keys) => {\n let new_data = {}\n Object.keys(data).forEach((key) => {\n if (!clean_keys.includes(key)) {\n return\n }\n\n new_data[key] = data[key]\n\n if (new_data[key] != 0 && !new_data[key]) {\n new_data[key] = \"\"\n }\n\n new_data[key] = `${new_data[key]}`\n new_data[key] = new_data[key].replace(/,/g, \"\").replace(/\\$/g, \"\")\n new_data[key] = new_data[key].trim()\n new_data[key] = NumberFormatter.parseMoney(new_data[key])\n })\n\n return {...data, ...new_data}\n}\n\nconst updateDealStructure = (form) => {\n if (!form['purchase_price']['has_trade_in']) {\n form['purchase_price']['trade_in_allowance'] = 0\n form['purchase_price']['trade_in_loan_balance'] = 0\n }\n form['purchase_price']['net_trade_in_value'] = netTradeInValue(form['purchase_price'])\n const { net_financed_amount, net_check, loan_amount } = dealStructure(form)\n form['loan_term']['net_financed_amount'] = net_financed_amount\n form['loan_term']['net_check'] = net_check\n form['loan_term']['loan_amount'] = loan_amount\n return form\n}\n\nconst totalDownpayment = (purchase_price) => {\n return NumberFormatter.convertToNumber(NumberFormatter.parseMoney(purchase_price['cash_downpayment'] || 0) + NumberFormatter.parseMoney(netTradeInValue(purchase_price) || 0))\n}\n\nconst calcNetTradeInValue = (purchase_price) => {\n if (!purchase_price['has_trade_in']) {\n return 0\n }\n const trade_in_allowance = NumberFormatter.parseMoney(purchase_price['trade_in_allowance']) || 0\n const trade_in_loan_bal = NumberFormatter.parseMoney(purchase_price['trade_in_loan_balance']) || 0\n const net_tradein_value = trade_in_allowance - trade_in_loan_bal\n return net_tradein_value\n}\n\nconst netTradeInValue = (purchase_price) => {\n if (!purchase_price['has_trade_in']) {\n return 0\n }\n\n return purchase_price['net_trade_in_value']\n}\n\nconst totalLendbuzzProducts = (purchase_price) => {\n const vsi_insurance = NumberFormatter.parseMoney(purchase_price['vsi_insurance'] || 0)\n const gps_cost = NumberFormatter.parseMoney(purchase_price['gps_cost'] || 0)\n const tax = NumberFormatter.parseMoney(purchase_price['tax'] || 0)\n const gap_insurance = NumberFormatter.parseMoney(purchase_price['gap_insurance'] || 0)\n return vsi_insurance + gps_cost + tax + gap_insurance\n}\n\nconst downpaymentPercentage = (purchase_price, downpayment) => {\n purchase_price = NumberFormatter.parseMoney(purchase_price || 0)\n downpayment = NumberFormatter.parseMoney(downpayment || 0)\n\n const dp_percentage = (downpayment*100)/purchase_price\n if (isFinite(dp_percentage)) {\n return NumberFormatter.parseMoney(NumberFormatter.parseMoney(dp_percentage).toFixed(2))\n }\n\n return null\n}\n\nconst convertToMonths = (duration_in_years) => {\n if (!duration_in_years) {\n return null\n }\n\n return parseFloat(duration_in_years) * 12\n}\n\nconst allowedLoanDurations = (form) => {\n let a_l_d = form['allowed_loan_durations'] || []\n if (!a_l_d.length) {\n a_l_d = [3, 4, 5]\n }\n\n return a_l_d\n}\n\nconst downpaymentLimits = (form) => {\n const purchase_price = form['purchase_price'] || {}\n const pre_approval_terms = form['pre_approval_terms']\n\n const auto_downpayment = NumberFormatter.parseMoney(form['loan_term']['down_payment'] || 0);\n const downpayment_percent = NumberFormatter.parseMoney(pre_approval_terms['downpayment_percentage'] || 0);\n const downpayment_amount = NumberFormatter.parseMoney(pre_approval_terms['downpayment_amount'] || 0);\n\n const asset_value = NumberFormatter.parseMoney(purchase_price['purchase_price']) || 0\n\n const { total_downpayment } = dealStructure(form);\n\n const d_percentage_amount = (downpayment_percent * asset_value)/100;\n const auto_percent_amount = (auto_downpayment * asset_value)/100;\n\n const downpayments = [0];\n\n if (pre_approval_terms['downpayment_percentage_active']) {\n downpayments.push(d_percentage_amount);\n }\n\n if (pre_approval_terms['downpayment_amount_active']) {\n downpayments.push(downpayment_amount);\n }\n\n if (pre_approval_terms['downpayment_auto']) {\n downpayments.push(auto_percent_amount);\n }\n\n var min_downpayment = Math.max.apply(Math, downpayments).toFixed(2);\n min_downpayment = parseFloat(min_downpayment)\n\n var result = {};\n\n if (min_downpayment && total_downpayment < min_downpayment) {\n result['amount'] = min_downpayment;\n result['status'] = false;\n return result;\n }\n else {\n result['amount'] = min_downpayment\n result['status'] = true;\n return result;\n }\n}\n\nconst validateVIN = (vin) => {\n if ((vin || \"\").length == 17) {\n return {valid: true}\n } else {\n return {valid: false, error: \"VIN should be 17 characters\"}\n };\n}\n\nconst formatPurchasePrice = (form) => {\n let new_form = _.clone(form)\n let new_purchase_price = new_form['purchase_price']\n\n Object.keys(form['purchase_price']).forEach(key => {\n if(typeof form['purchase_price'][key] == 'number' && isFinite(form['purchase_price'][key])) {\n new_purchase_price[key] = NumberFormatter.formatMoney(form['purchase_price'][key], true)\n } else if (key === \"other_charges_frontend\" && form['purchase_price'][key].length) {\n new_purchase_price[key][0]['amount'] = NumberFormatter.formatMoney(form['purchase_price'][key][0]['amount'], true)\n } else if (key === \"other_charges\" && form['purchase_price'][key].length) {\n new_purchase_price[key].forEach((othChg, idx) => {\n new_purchase_price[key][idx]['amount'] = NumberFormatter.formatMoney(othChg['amount'], true)\n })\n }\n })\n\n new_form['purchase_price'] = new_purchase_price\n return new_form\n}\n\nconst handleAnalytics = (origin, currentUser, userEmail, form, data={}) => {\n Modern.handleAnalytics(origin, { currentUser, userEmail, data: { ...data, dealer_rep_id: form.dealer_rep_id } })\n}\n\nconst getLoanApplication = async (lbid) => {\n const url = '/loan_applications/get_loan_by_lbid'\n let res = null\n\n try {\n res = await lb_fetch(url, {method: 'post', body: {lbid: lbid}})\n } catch (error) {\n console.log('error in getLoanByLbid');\n console.log(error);\n common.notification(\"Error while getting loan application\")\n return null\n }\n\n if (!res.ok) {\n common.notification(\"Error while getting loan application\")\n return\n }\n\n let data = await res.json()\n return data\n}\n\nconst updatePurchasePrice = (dispatches, field, value, form, format=false) => {\n let updated_form = _.cloneDeep(form)\n let purchase_price = updated_form['purchase_price']\n\n purchase_price[field] = value\n\n if ([\"trade_in_allowance\", \"trade_in_loan_balance\"].includes(field) && purchase_price['has_trade_in']) {\n const net_trade = calcNetTradeInValue(purchase_price)\n\n purchase_price['net_trade_in_value'] = NumberFormatter.formatMoney(net_trade, true)\n }\n\n if (format) {\n purchase_price[field] = NumberFormatter.formatMoney(value || 0, true)\n }\n\n updated_form['purchase_price'] = purchase_price\n updateForm(dispatches, updated_form)\n}\n\nconst calculateLTVData = (form) => {\n const { frontend_total, backend_total, net_financed_amount } = dealStructure(form)\n const ltv_data = form['pre_approval_dynamic_rules_check']\n const ltv_asset_value = ltv_data['ltv-asset-value']\n\n const frontend_ltv = calcLTV(frontend_total, ltv_asset_value)\n const backend_ltv = calcLTV(backend_total, ltv_asset_value)\n const ltv = calcLTV(net_financed_amount, ltv_asset_value)\n\n return { ...ltv_data, \"frontend-ltv\": frontend_ltv, \"backend-ltv\": backend_ltv, ltv }\n}\n\nconst requestedMapper = (form) => {\n const requested_deal = form['requested_deal'] || {}\n\n return {\n \"reserved_active\": requested_deal['reserved_active'],\n \"tax_manual\": requested_deal['tax_manual'],\n \"gap_sold\": requested_deal['gap_sold'],\n \"gap_type\": requested_deal['gap_type'],\n \"gps_installed\": requested_deal['gps_installed'],\n \"loan_term\": {\n \"APR\": requested_deal['apr'],\n \"monthly_payment\": requested_deal['monthly_payment'],\n \"net_check\": requested_deal['net_check'],\n \"net_financed_amount\": requested_deal['net_financed_amount'],\n \"reserved_amount\": requested_deal['reserved_amount'],\n \"loan_amount\": requested_deal['loan_amount'],\n \"loan_acquisition_fee\": requested_deal['loan_acquisition_fee']\n },\n \"purchase_price\": {\n \"purchase_price\": requested_deal['purchase_price'],\n \"cash_downpayment\": requested_deal['cash_downpayment'],\n \"sales_tax\": requested_deal['sales_tax'],\n \"license_registration_fees\": requested_deal[\"license_registration_fees\"],\n \"rebate\": requested_deal['rebate'],\n \"doc_fees\": requested_deal['doc_fees'],\n \"has_trade_in\": requested_deal['has_trade_in'],\n \"trade_in_allowance\": requested_deal['trade_in_allowance'],\n \"trade_in_loan_balance\": requested_deal['trade_in_loan_balance'],\n \"trade_in_monthly_payment\": requested_deal['trade_in_monthly_payment'],\n \"net_trade_in_value\": requested_deal['net_trade_in_value'],\n \"extended_warranty\": requested_deal['extended_warranty'],\n \"tire_protection\": requested_deal['tire_protection'],\n \"gap_insurance_dealer\": requested_deal['gap_insurance_dealer'],\n \"accid_disability_insurance\": requested_deal['accid_disability_insurance'],\n \"credit_life_insurance\": requested_deal['credit_life_insurance'],\n \"other_charges\": requested_deal['other_charges'],\n \"vsi_insurance\": requested_deal['vsi_insurance'],\n \"gps_cost\": requested_deal['gps_cost'],\n \"gap_insurance\": requested_deal['gap_insurance'],\n \"tax\": requested_deal['tax']\n }\n }\n}\n\nconst calculatorRequestData = (prevCalc) => {\n let formattedPurchasePrice = prevCalc['purchase_price']\n\n Object.keys(prevCalc['purchase_price']).forEach(key => {\n if(typeof prevCalc['purchase_price'][key] == 'string') {\n formattedPurchasePrice[key] = NumberFormatter.parseMoney(prevCalc['purchase_price'][key])\n } else if (key === \"other_charges_frontend\" && prevCalc['purchase_price'][key].length) {\n formattedPurchasePrice[key][0]['amount'] = NumberFormatter.parseMoney(prevCalc['purchase_price'][key][0]['amount'])\n } else if (key === \"other_charges\" && prevCalc['purchase_price'][key].length) {\n formattedPurchasePrice[key].forEach((othChg, idx) => {\n formattedPurchasePrice[key][idx]['amount'] = NumberFormatter.parseMoney(othChg['amount'])\n })\n }\n })\n\n return {\n 'dynamic_rules': prevCalc['dynamic_rules'],\n 'pre_approval_terms': prevCalc['pre_approval_terms'],\n 'pre_approval_dynamic_rules_check': prevCalc['pre_approval_dynamic_rules_check'],\n 'loan_term': prevCalc['loan_term'],\n 'purchase_price': formattedPurchasePrice,\n 'gps_installed': prevCalc['gps_installed'],\n 'vsi_included': prevCalc['vsi_included'],\n 'gap_sold': prevCalc['gap_sold'],\n 'reserved_active': prevCalc['reserved_active'],\n 'tax_manual': prevCalc['tax_manual'],\n 'gap_type': prevCalc['gap_type'],\n }\n}\n\nexport {\n dealStructure, convertToMonths, updateDealStructure, netTradeInValue, allowedLoanDurations,\n requestedMapper, calcNetTradeInValue, downpaymentPercentage, downpaymentLimits, validateVIN,\n formatPurchasePrice, handleAnalytics, getLoanApplication, updatePurchasePrice,\n calculatorRequestData, calculateLTVData, totalDownpayment\n}\n","import React from 'react';\n\nconst LBModal = ({\n overflow = 'overflow-hidden',\n ...props\n}) => {\n\n const onClickAway = (e) => {\n if (props.onClickAway && e) {\n props.onClickAway(e)\n } else if (props.onClickAway) {\n props.onClickAway()\n }\n }\n\n let visibility_class = ''\n\n if (props.visible && props.animate == 'fade') {\n visibility_class = 'visible opacity-100'\n }\n else if (props.animate == 'fade') {\n visibility_class = 'invisible opacity-0'\n }\n\n if (!props.visible && !props.animate) {\n return \"\"\n }\n\n let size = 'sm:my-8 sm:align-middle sm:max-w-xl sm:w-full'\n if (props.large) {\n size = 'w-3/5 my-24'\n }\n\n return (\n
\n
\n
\n
\n {props.children}\n
\n
\n
\n );\n};\n\nexport default LBModal;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar React = require('react');\n\nvar factory = require('./factory');\n\nif (typeof React === 'undefined') {\n throw Error('create-react-class could not find the React object. If you are using script tags, ' + 'make sure that React is being loaded before create-react-class.');\n} // Hack to grab NoopUpdateQueue from isomorphic React\n\n\nvar ReactNoopUpdateQueue = new React.Component().updater;\nmodule.exports = factory(React.Component, React.isValidElement, ReactNoopUpdateQueue);","export const PlaidReducer = (state, action) => {\n const { payload } = action\n \n const toggle_bool = (value) => payload ?? !Boolean(value)\n /* \n returns the action payload if it exists\n or flips the relevant boolean if it doesn't\n (specifically, if payload is null || undefined)\n giving you a default fallback\n but enabling you to override if needed\n this was initially to work around a modal close issue I was having\n (some kind of race condition in its render, I'm pretty sure)\n and there *might* be a cleaner solve than this,\n but this one also falls under ease of use/developer happiness\n */\n\n switch (action.type) {\n case 'UPDATE_ACTIVE_BANK_ACCOUNT':\n return { ...state, bankAccount: payload }\n case 'UPDATE_SAVED_BANK_ACCOUNTS':\n return { ...state, financialPullingBankAccounts: payload }\n case 'UPDATE_PLAID_DATA':\n return { ...state, financialPullingData: payload }\n case 'UPDATE_APP_STATUS':\n return { ...state, appStatus: payload }\n case 'SET_COMMS_MODAL_TARGET':\n return { ...state, commsModalTarget: payload }\n case 'TOGGLE_MODAL_VISIBLE':\n const modalVisible = toggle_bool(state.modalVisible)\n return { ...state, modalVisible }\n case 'TOGGLE_LOADING_PLAID_LINK':\n const loadingPlaidLink = toggle_bool(state.loadingPlaidLink)\n return { ...state, loadingPlaidLink }\n case 'TOGGLE_FETCHING_BANKING_DATA':\n const fetchingBankingData = toggle_bool(state.fetchingBankingData)\n return { ...state, fetchingBankingData }\n case 'TOGGLE_CONNECTION_ERROR':\n const connectionError = toggle_bool(state.connectionError)\n return { ...state, connectionError }\n case 'TOGGLE_POLLING_TIMEOUT':\n const pollingTimeout = toggle_bool(state.pollingTimeout)\n return { ...state, pollingTimeout }\n case 'INCREASE_BANK_COUNT':\n const count = state.inlineBankConnectionCount || 0\n return { ...state, inlineBankConnectionCount: count + 1 }\n default:\n console.log(\"This action isn't recognized\")\n }\n}\n","import React, { createContext, useReducer } from \"react\"\nimport plaidHelper from \"../../../plaid_helper.js\"\nimport { PlaidReducer } from \"./PlaidReducer.js\"\nimport lb_fetch from '../../../helpers/Request'\nimport FinanceConnector from \"./FinanceConnector.js\"\nimport { sendPlaidAnalytics } from \"../../../helpers/analyticsHelper.js\"\n\nexport const PlaidContext = createContext()\n\nexport const PlaidProvider = ({ value: init_state, children }) => {\n // static init values for use by context\n const init_defaults = {\n modalVisible: false,\n commsModalTarget: null,\n loadingPlaidLink: false,\n fetchingBankingData: false,\n connectionError: false,\n pollingTimeout: false,\n inlineBankConnectionCount: 0,\n isReadonly: false // not altered in context. overridden by props and accessed at multiple levels\n }\n /*\n NOTE:\n I added states for each modal here, but it's a little verbose and it *might*\n make more sense to just reuse `modalVisible` and further just *keep* that\n on removing (the rest of) the v1 stuff\n */\n\n const [state, dispatch] = useReducer(PlaidReducer, { ...init_defaults, ...init_state })\n const {\n lbid,\n isDealer,\n bankAccount,\n financialPullingData,\n appStatus,\n fetchingBankingData,\n currentUser,\n loanApplication,\n loanApplicationErrors\n } = state\n\n // secondary context values\n // derived from primary ones destructured above\n const account_fields = ['last_4', 'account_type', 'bank_name']\n\n const check_getting_accounts = (plaid_accounts = []) => plaid_accounts\n .some(pull => pull.status_auth === null)\n\n const check_auth = (plaid_accounts = []) => plaid_accounts.some(pull => pull.status_auth)\n const check_transactions = (plaid_accounts = []) => plaid_accounts.some(pull => pull.status_trans)\n const check_bank_account = (account) => account && account_fields\n .every(field => Boolean(account[field]))\n\n const gettingNewBank = fetchingBankingData\n\n const hasAuth = check_auth(financialPullingData)\n const hasTransactions = check_transactions(financialPullingData)\n const bank_account_is_valid = check_bank_account(bankAccount)\n\n const plaidDataIsValid = hasAuth && hasTransactions && bank_account_is_valid\n\n const check_data_queue = (plaid_accounts = []) => plaid_accounts.some(pull => pull.data_queued)\n const financialDataQueue = check_data_queue(financialPullingData)\n\n /* actions begin here */\n\n // actions: state update handlers (includes ones only used internally)\n const toggleLoadingPlaidLink = (payload) => dispatch({ type: 'TOGGLE_LOADING_PLAID_LINK', payload })\n const toggleModalVisible = (payload) => dispatch({ type: 'TOGGLE_MODAL_VISIBLE', payload })\n const toggleFetchingBankingData = (payload) => dispatch({ type: 'TOGGLE_FETCHING_BANKING_DATA', payload })\n const toggleConnectionError = (payload) => dispatch({ type: 'TOGGLE_CONNECTION_ERROR', payload })\n const togglePollingTimeout = (payload) => dispatch({ type: 'TOGGLE_POLLING_TIMEOUT', payload })\n const setCommsModalTarget = (payload = null) => dispatch({ type: 'SET_COMMS_MODAL_TARGET', payload })\n const increaseInlineBankCount = () => dispatch({ type: 'INCREASE_BANK_COUNT' })\n\n const check_ws_connection = () => FinanceConnector.get_connection_status(lbid)\n\n const handleSuccessfulPlaidConnection = (public_token, metadata, success_callback = (() => {})) => {\n const failure_callback = () => {\n toggleFetchingBankingData(false)\n toggleConnectionError()\n }\n const options = {}\n plaidHelper.updatePlaid(public_token, metadata, options, async () => {\n // it will be an extra call if websockets is already connected, but is called to avoid the delays\n await refreshPageState()\n toggleFetchingBankingData(false)\n increaseInlineBankCount()\n }, failure_callback)\n }\n\n const closePlaidLink = () => {\n toggleLoadingPlaidLink(false)\n toggleModalVisible(false)\n }\n\n const openPlaidLink = () => {\n toggleLoadingPlaidLink()\n\n const handleExit = () => closePlaidLink()\n const [onFail, onExit] = new Array(2).fill(handleExit)\n /* ASK:\n should onFail also set a failure_message? what specifically *triggers* onFail?\n (see either plaidStatusMessages for where that failure_message would live...\n upstream I'm thinking just a ConnectionError toggle as a bool,\n since there's just the one error message left from the old implementation)\n also, per the console warnings, onFail isn't even a valid parameter for Plaid.create() anymore\n */\n\n const onSuccess = (public_token, metadata) => {\n toggleFetchingBankingData(true)\n closePlaidLink()\n handleSuccessfulPlaidConnection(public_token, metadata)\n }\n plaidHelper.openModal(lbid, { onSuccess, onFail, onExit })\n }\n\n const updateBankAccount = (payload) => dispatch({ type: 'UPDATE_ACTIVE_BANK_ACCOUNT', payload })\n const updateSavedBankAccounts = (payload) => dispatch({ type: 'UPDATE_SAVED_BANK_ACCOUNTS', payload })\n const updatePlaidData = (payload) => dispatch({ type: 'UPDATE_PLAID_DATA', payload })\n const updateAppStatus = (payload) => dispatch({ type: 'UPDATE_APP_STATUS', payload })\n\n const updatePrimaryStateValues = ({ financial_pulling_bank_accounts, bank_account, financial_pulling_data, app_status }) => {\n financial_pulling_bank_accounts && updateSavedBankAccounts(financial_pulling_bank_accounts)\n bank_account && updateBankAccount(bank_account)\n financial_pulling_data && updatePlaidData(financial_pulling_data)\n\n const should_update_loan = app_status && app_status != appStatus\n should_update_loan && updateAppStatus(app_status)\n\n /* NOTE:\n any error from the API call whose output is passed into this will return an empty object\n in which case all of the above properties will then be undefined, making the whole thing a no-op\n appStatus is also equality checked here to cut down on unnecessary re-renders\n since as a string it's trivial to do this\n it's *possible* w the arrays, but that would involve looping over all of them\n to do deep equality checks on the objects therein, and it's hard to tell\n if that would be tangibly less calculation than just doing the accompanying state updates\n */\n }\n\n // actions (controller calls)\n const fetchPageState = async (options) => {\n const endpoint = `/loan_applications/${lbid}/financial_pulling/get_dashboard_data`\n let res\n try {\n res = await lb_fetch(endpoint, { ...options, method: 'POST' })\n if (res.status != 200) throw new Error(`failed to fetch page state... status: ${res.status}`)\n }\n catch(error) {\n console.error(error)\n return {}\n }\n\n const data = await res.json()\n\n return data\n }\n\n const refreshPageState = async (connection_attempt_count = 0, queued = false) => {\n if (connection_attempt_count >= 10) {\n console.log('attempt limit reached!')\n\n if (queued) togglePollingTimeout(true)\n\n return\n }\n connection_attempt_count++\n console.log(`attempt ${connection_attempt_count}`)\n const page_data = await fetchPageState() || {}\n\n updatePrimaryStateValues(page_data)\n setTimeout(() => {\n const { financial_pulling_data = [], bank_account = {} } = page_data\n\n const page_data_validated = check_auth(financial_pulling_data)\n && check_transactions(financial_pulling_data)\n && check_bank_account(bank_account)\n\n const queued = check_data_queue(financial_pulling_data)\n\n const should_update = (queued || !page_data_validated)\n const should_poll = !check_ws_connection() && should_update\n\n if (should_poll) refreshPageState(connection_attempt_count, queued)\n }, 1000 * 10)\n }\n\n const setUserConsents = async () => {\n const endpoint = `/loan_applications/${lbid}/save_communications_consent`\n const body = { id: lbid }\n\n try {\n const res = await lb_fetch(endpoint, { method: 'POST', body })\n if (!res || res.status != 200) throw new Error(`failed to save user consent... status: ${res.status || 'N/A'}`)\n }\n catch(error) {\n console.error(error)\n }\n }\n\n const sendAnalytics = (eventName, additionalData = {}) => {\n const analyticsData = {\n eventName,\n currentUser,\n lbid,\n plaidDataIsValid,\n hasAuth,\n hasTransactions\n }\n\n sendPlaidAnalytics(analyticsData, additionalData)\n }\n\n // actions used by child components\n const actions = {\n toggleModalVisible,\n setCommsModalTarget,\n setUserConsents,\n openPlaidLink,\n closePlaidLink,\n updateBankAccount,\n refreshPageState,\n sendAnalytics\n }\n\n // derived values used by child components\n const derived = {\n gettingNewBank,\n financialDataQueue,\n hasTransactions,\n hasAuth,\n plaidDataIsValid\n }\n\n const value = {\n ...state,\n ...derived,\n ...actions\n }\n\n return (\n \n {children}\n \n )\n}\n","import lb_fetch from \"./Request\"\n\nconst fetchLoanAndForm = async (lbid) => {\n const url = `/loan_applications/get_loan_by_lbid?loan_data`\n let res = null\n\n try {\n res = await lb_fetch(url, {method: 'post', body: {id: lbid}})\n } catch (error) {\n console.log(error);\n return null\n }\n\n const data = await res.json()\n return { loanApplication: data.form, loan: data.loan }\n}\n\nconst handleAnalytics = async ({ eventName, lbid, currentUser, loanApplication = null, loan = null }, additionalData = {}) => {\n\n if (lbid) {\n const app_data = await fetchLoanAndForm(lbid)\n loanApplication = app_data?.loanApplication\n loan = app_data?.loan\n }\n\n const is_dealer = currentUser?.dealer_id\n // when the user is a client, those fields sometimes doesnt have value (null) in currentUser\n const user_data_source = is_dealer ? currentUser : loanApplication?.person\n const first_name = user_data_source?.first_name?.trim()\n const last_name = user_data_source?.last_name?.trim()\n const phone_number = is_dealer ? user_data_source?.phone : user_data_source?.telephone\n const deviceDetails = getDeviceDetails()\n\n const getSegment = () => {\n if (!loanApplication?.is_dealership)\n return 'B2C'\n\n if (is_dealer)\n return 'B2B dealer portal'\n\n return 'B2B dealer applicant'\n }\n\n const analyticsData = {\n amount: loanApplication?.loan_term?.loan_amount,\n applicationStatus: loanApplication?.app_status,\n carHistory: loanApplication?.automobile?.history,\n carMake: loanApplication?.automobile?.make,\n carModel: loanApplication?.automobile?.model,\n carVINNumber: loanApplication?.automobile?.vin,\n carYear: loanApplication?.automobile?.year,\n closeDate: loanApplication?.timestamps?.FINANCED[0],\n createdDate: loanApplication?.timestamps?.IN_APPLICATION[0],\n dateTime: new Date().toString(),\n dealershipId: loanApplication?.dealer_id,\n dealershipName: loanApplication?.dealer?.name,\n dealershipRepresentative: loanApplication?.dealer?.contact_person,\n group: loanApplication?.loan_term?.group,\n lbid,\n loanAPR: loanApplication?.loan_term?.apr,\n loanDate: loanApplication?.loan_term?.loan_date,\n loanDuration: loanApplication?.loan_term?.loan_due_date,\n loanID: loan?.id,\n loanRate: loanApplication?.loan_term?.loan_rate,\n loanState: loanApplication?.person?.state,\n loanZipcode: loanApplication?.person?.zipcode,\n loanStatus: loan?.loan_status,\n monthlyPayment: loanApplication?.loan_term?.monthly_payment,\n nationality: loanApplication?.person?.nationality,\n production: window.ENV === 'production',\n purchasePrice: loanApplication?.purchase_price?.purchase_price,\n userEmail: currentUser?.email,\n userPhoneNumber: phone_number,\n userId: currentUser?.id,\n userName: `${first_name} ${last_name}`,\n userType: is_dealer ? 'dealer' : 'client',\n refinance: loanApplication?.refinancing,\n repossessed: loan?.repossessed,\n segment: getSegment(),\n surrender: loan?.surrender,\n throughADealership: loanApplication?.is_dealership,\n timestampFinanced: loanApplication?.timestamps?.FINANCED[0],\n totalDownPayment: loanApplication?.purchase_price?.cash_downpayment,\n ...additionalData,\n ...deviceDetails\n }\n\n analytics.track(eventName, analyticsData)\n}\n\nconst sendPlaidAnalytics = ({ eventName, lbid, currentUser, plaidDataIsValid, hasAuth, hasTransactions }, additionalData = {}) => {\n const is_dealer = currentUser?.dealer_id\n const dealer_or_user = is_dealer ? 'Dealer' : 'User'\n const data = {\n plaidDataIsValid,\n hasAuth,\n hasTransactions,\n ...additionalData\n }\n\n handleAnalytics({eventName: `${dealer_or_user} Portal - ${eventName}`, lbid, currentUser }, data)\n}\n\nconst sendPaymentsAnalytics = ({ eventName, payment_type, user_type, currentUser, lbid }, additionalData = {}) => {\n const data = {\n payment_type,\n user_type,\n ...additionalData\n }\n\n handleAnalytics({ eventName, lbid, currentUser }, data)\n}\n\nconst getRawCookie = () => {\n const isIframe = window !== window.parent\n try {\n if (isIframe) {\n return window.parent.document.cookie\n }\n } catch (error) {\n return document.cookie\n }\n\n return document.cookie\n}\n\nconst getCookie = (cname) => {\n const name = `${cname}=`\n const decodedCookie = decodeURIComponent(getRawCookie())\n const ca = decodedCookie.split(';')\n\n for (let c of ca) {\n while (c.charAt(0) == ' ') {\n c = c.slice(1)\n }\n if (c.indexOf(name) == 0) {\n return c.slice(name.length, c.length)\n }\n }\n\n return ''\n}\n\nconst getDeviceDetails = () => {\n const deviceId = getCookie('lb_device_id') || ''\n const fingerprint = getCookie('lb_fingerprint') || ''\n const ip = getCookie('lb_ip') || ''\n return { deviceId, fingerprint, ip }\n}\n\nconst sendSecurityAnalytics = (eventName, { lbid, userId, ...additionalData }) => {\n const rumorDetails = getDeviceDetails()\n\n let globalProperties = {}\n\n if (typeof segmentTrackProperties === 'object') {\n globalProperties = {\n ...segmentTrackProperties\n }\n }\n\n const data = {\n lbid,\n userId,\n ...globalProperties,\n ...additionalData,\n ...rumorDetails\n }\n\n analytics.track(eventName, data)\n}\n\nconst gpsAnalytics = ({ currentUser, lbid, status }) => {\n const eventName = 'Dealer Portal - Verify GPS'\n\n handleAnalytics({ eventName, lbid, currentUser }, { status })\n}\n\nconst recordPlaidEvent = async ({ lbid, eventName, metadata, error = null}) => {\n lb_fetch(`/loan_applications/${lbid}/send_plaid_event_analytics`, { method: 'post', body: { eventName, metadata, error } })\n}\n\nwindow.sendSecurityAnalytics = sendSecurityAnalytics\n\nexport { handleAnalytics, sendPlaidAnalytics, gpsAnalytics, sendPaymentsAnalytics, recordPlaidEvent, sendSecurityAnalytics }\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}","import React from 'react';\nimport DollarInput from '../../modules/BasicElements/DollarInput.js.jsx';\nimport { CompactDollarInput } from '../../modules/BasicElements/DollarInput.js.jsx';\n\nconst DSDollarInput = (props) => {\n const title = props.title\n const value = props.value\n const on_change = props.onChange || null\n const on_blur = props.onBlur || null\n const error_key = props.errorKey\n const type = props.type || \"text\"\n const placeholder = \"Enter Amount\"\n const class_name = `${props.className} ${error_key}`\n\n if (props.compact) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n\n};\n\nexport default DSDollarInput;\n","define(function () {\n \"use strict\";\n\n return function isFunction(obj) {\n // Support: Chrome <=57, Firefox <=52\n // In some browsers, typeof returns \"function\" for HTML elements\n // (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n // We don't want to classify *any* DOM node as a function.\n // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n // Plus for old WebKit, typeof returns \"function\" for HTML collections\n // (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n return typeof obj === \"function\" && typeof obj.nodeType !== \"number\" && typeof obj.item !== \"function\";\n };\n});","const verifyBankAccountInfo = (bank) => {\n for (let key in bank) {\n let value = bank[key]\n if (['account-number', 'routing-number', 'bank-name', 'first-name', 'last-name'].includes(key) && !value) {\n return false\n }\n\n if ((key === 'account-number') && !verifyAccountNumber(value)) {\n return false\n }\n\n if ((key === 'routing-number') && !verifyRoutingNumber(value)) {\n return false\n }\n\n if ((key === 'account-type') && !['checking', 'savings'].includes(value)) {\n return false\n }\n }\n\n return true\n}\n\n\n// ----- helpers -----\n\nconst verifyPlaidData = (finance_connections) => {\n let verify_auth = false\n let verify_trans = false\n finance_connections.forEach((fc) => {\n if (fc['status_auth']) {\n verify_auth = true\n }\n if (fc['status_trans']) {\n verify_trans = true\n }\n })\n\n return verify_auth && verify_trans\n}\n\nconst verifyAccountNumber = (num) => {\n num = num || \"\"\n num = num.trim()\n if (num.length > 17) {\n return false\n }\n\n if (!num.match(/^\\d+$/)) {\n return false\n }\n\n return true\n}\n\nconst verifyRoutingNumber = (num) => {\n num = num || \"\"\n num = num.trim()\n if (num.length > 9) {\n return false\n }\n\n if (!num.match(/^\\d+$/)) {\n return false\n }\n\n return true\n}\n\nexport { verifyBankAccountInfo, verifyPlaidData }\n","import { verifyBankAccountInfo, verifyPlaidData } from \"../validations/bank_account\"\n\nconst isBankAvaliable = (form) => {\n return form['app-status'] === 'PENDING_PRE_APPROVAL'\n}\n\nconst isBankRequired = (form) => {\n const required_app_status = [\n 'PRE_APPROVED',\n 'IN_VERIFICATION',\n 'APPROVED',\n 'DOC_SIGNED',\n 'FINANCED'\n ]\n\n return required_app_status.includes(form['app-status'])\n}\n\nconst isBankDone = (form, finance_connections) => {\n const is_plaid_required = form['financial-data-required']\n const bank_account = form['bank-account'] || {}\n \n if (!is_plaid_required) {\n return verifyBankAccountInfo(bank_account)\n }\n\n return verifyPlaidData(finance_connections)\n}\n\nconst isBankVerified = (form, finance_connections) => {\n // essentially, for IN_VERIFICATION and later steps, bank accounts should only be showing check\n // mark if it's already done\n const appStatusCheck = [\"IN_VERIFICATION\", \"APPROVED\", \"DOC_SIGNED\", \"FINANCED\"].includes(form['app-status'])\n\n return isBankDone(form, finance_connections) && appStatusCheck\n}\n\nexport { isBankAvaliable, isBankRequired, isBankDone, isBankVerified }\n","const isContractVerified = (form) => {\n if (form['docusign-filename'] && form['app-status'] !== \"APPROVED\") {\n return true\n }\n\n return false\n}\n\nconst isContractRequired = (form) => {\n const required_app_status = [\n \"APPROVED\",\n \"DOC_SIGNED\",\n \"FINANCED\"\n ]\n \n return required_app_status.includes(form['app-status'])\n}\n\nconst isContractDisabled = (form) => {\n if (isContractRequired(form)) {\n return false\n }\n\n return true\n}\n\nexport { isContractVerified, isContractRequired, isContractDisabled }\n","const isGpsVerified = (gps_data, form) => {\n if (isGpsDone(gps_data) && form['requested-funding']) {\n return true\n }\n\n return false\n}\n\nconst isGpsDone = (gps_data) => {\n let gpsDone = false\n if (!gps_data.length) {\n return gpsDone\n }\n\n gps_data.forEach((gps) => {\n if (gps?.working || gps?.force_working) {\n gpsDone = true\n }\n })\n\n return gpsDone\n}\n\nconst isGpsRequired = (gps_data, form) => {\n let gpsRequired = false\n\n gps_data.forEach((gps) => {\n if (!gps?.working && !gps?.force_working) {\n gpsRequired = true\n }\n })\n\n if (gpsRequired) {\n return true\n }\n\n const required_app_status = [\n \"APPROVED\",\n \"DOC_SIGNED\",\n \"FUNDED\"\n ]\n\n return required_app_status.includes(form['app-status'])\n}\n\nconst isGpsAvailable = (form) => {\n const available_app_status = [\n \"PRE_APPROVED\",\n \"IN_VERIFICATION\"\n ]\n \n return available_app_status.includes(form['app-status'])\n}\n\nexport { isGpsVerified, isGpsDone, isGpsRequired, isGpsAvailable }\n\n","import { isBankDone, isBankAvaliable, isBankRequired, isBankVerified } from \"./TrackerHelper/bank_account\";\nimport { isIncomeAvailable, isIncomeDone, isIncomeRequired } from \"./TrackerHelper/income_verification\";\nimport { isApprovalDocsVerified, isApprovalDocsDone, isApprovalDocsRequired, isApprovalDocsAvailable } from \"./TrackerHelper/approval_docs\";\nimport { isContractRequired, isContractDisabled, isContractVerified } from \"./TrackerHelper/contract\";\nimport { isFundingDocsVerified, isFundingDocsDone, isFundingDocsRequired, isFundingDocsAvailable } from \"./TrackerHelper/funding_docs\";\nimport { isGpsDone, isGpsRequired, isGpsAvailable, isGpsVerified } from \"./TrackerHelper/gps\"\nimport { isCollateralNotQualified } from \"./ReasonHelper\";\n\nconst disabledAppStatuses = [\"IN_APPLICATION\", \"PRE_APPROVAL_DENIED\", \"DENIED\", \"PENDING_LICENSE\", \"CANCELED\", \"PRE_APPROVED_EXPIRED\", \"APPROVED_EXPIRED\"]\n\nconst bankAccountStatus = (loan) => {\n const { form_data: form, finance_connections } = loan\n switch (true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isBankVerified(form, finance_connections):\n return 'verified'\n case isBankDone(form, finance_connections):\n return 'done'\n case isBankRequired(form):\n return 'required'\n case isBankAvaliable(form):\n return 'available'\n default:\n return 'disabled'\n }\n}\n\nconst incomeStatus = (loan) => {\n const { form_data: form, financial_stats } = loan\n switch (true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isIncomeDone(financial_stats):\n return 'done'\n case isIncomeRequired(form):\n return 'required'\n case isIncomeAvailable(form):\n return 'available'\n default:\n return 'disabled'\n }\n}\n\nconst approvalDocsStatus = (loan) => {\n const { form_data: form, documents_data } = loan\n switch (true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isApprovalDocsVerified(documents_data):\n return 'verified'\n case isApprovalDocsDone(documents_data):\n return 'done'\n case isApprovalDocsRequired(form):\n return 'required'\n case isApprovalDocsAvailable(form):\n return 'available'\n default:\n return 'disabled'\n }\n}\n\n// this one is a bit weird because the check for if contract is done is based on docusign-filename\n// there will be a docusign-filename if the contract reaches DOC_SIGNED and is then later changed\n// back to PRE_APPROVED - so the display needs to prioritize disabled over done to match the\n// current behavior of the portal\n\n// Additionally, I've decided to remove the done status for this one specifically because it's the\n// only one that doesn't have a link after it's considered \"done\", so it makes more sense to just\n// call the state it is in after document is signed \"verified\"\nconst contractStatus = (loan) => {\n const { form_data: form } = loan\n switch(true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isContractDisabled(form):\n return 'disabled'\n case isContractVerified(form):\n return 'verified'\n case isContractRequired(form):\n return 'required'\n default:\n return 'disabled'\n }\n}\n\nconst fundingStatus = (loan) => {\n const { form_data: form, documents_data } = loan\n switch(true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isFundingDocsVerified(documents_data):\n return 'verified'\n case isFundingDocsDone(documents_data):\n return 'done'\n case isFundingDocsRequired(form):\n return 'required'\n case isFundingDocsAvailable(form):\n return 'available'\n default:\n return 'disabled'\n }\n}\n\nconst gpsStatus = (loan) => {\n const { form_data: form, gps_data } = loan\n switch(true) {\n case disabledAppStatuses.includes(form['app-status']):\n return 'disabled'\n case isGpsVerified(gps_data, form):\n return 'verified'\n case isGpsDone(gps_data):\n return 'done'\n case isGpsRequired(gps_data, form):\n return 'required'\n case isGpsAvailable(form):\n return 'available'\n default:\n return 'disabled'\n }\n}\n\nconst requestFundingCheck = (loan) => {\n const bankDone = [\"done\", \"verified\"].includes(bankAccountStatus(loan))\n const incomeDone = incomeStatus(loan) === \"done\"\n const approvalDone = [\"verified\"].includes(approvalDocsStatus(loan))\n const contractDone = contractStatus(loan) === \"verified\"\n const fundingDone = [\"done\", \"verified\"].includes(fundingStatus(loan))\n const gpsDone = (gpsStatus(loan) === \"done\" || !loan['form_data']['gps-installed'])\n\n if ([bankDone, incomeDone, approvalDone, contractDone, fundingDone, gpsDone].includes(false)) {\n return false\n }\n\n return true\n}\n\nconst requestContractCheck = (loan) => {\n const bankDone = [\"done\", \"verified\"].includes(bankAccountStatus(loan))\n const incomeDone = incomeStatus(loan) === \"done\"\n const approvalDone = [\"verified\", \"done\"].includes(approvalDocsStatus(loan))\n\n if ([bankDone, incomeDone, approvalDone].includes(false)) {\n return false\n }\n\n return true\n}\n\n//stolen from LoanTrackerHelper to keep filter working\nconst app_status_text_mapping = {\n 'All': 'All',\n 'IN_APPLICATION': 'In Application',\n 'PENDING_PRE_APPROVAL': 'Pending Pre-approval',\n 'PRE_APPROVED': 'Pre-approved',\n 'APPROVED': 'Approved',\n 'IN_FUNDING': 'In Funding',\n 'PENDING_LICENSE': 'Pending License',\n 'PRE_APPROVAL_DENIED': 'Pre-approval Denied',\n 'PRE_APPROVED_EXPIRED': 'Pre-approved Expired',\n 'APPROVED_EXPIRED': 'Approved Expired',\n 'DENIED': 'Denied',\n // 'FINANCED': 'Financed',\n 'CANCELED': 'Canceled',\n // 'Delinquent': 'Delinquent',\n}\n\nconst derivedAppStatus = (loan) => {\n const form = loan['form_data']\n const app_status = form['app-status']\n const req_funding = form['requested-funding']\n const sent_to_dealer = form['sent-to-dealer']\n\n if ((app_status === 'DOC_SIGNED' && (sent_to_dealer || req_funding))) {\n return \"IN FUNDING\"\n }\n\n return app_status\n}\n\nconst fancyAppStatus = (loan) => {\n const derived_app_status = derivedAppStatus(loan)\n let app_status_text = derived_app_status.replaceAll(\"_\", \" \")\n let app_status_classes = \"bg-gray-200 text-gray-400\"\n\n if ([\"DENIED\", \"PRE_APPROVAL_DENIED\"].includes(derived_app_status)) {\n app_status_text = \"DENIED\"\n } else if ([\"APPROVED_EXPIRED\", \"PRE_APPROVED_EXPIRED\"].includes(derived_app_status)) {\n app_status_text = \"EXPIRED\"\n } else if (derived_app_status === \"PENDING_PRE_APPROVAL\") {\n app_status_text = \"PENDING\"\n app_status_classes = \"bg-yellow-400 text-yellow-600\"\n } else if ([\"PRE_APPROVED\", \"IN_VERIFICATION\"].includes(derived_app_status)) {\n app_status_text = \"PRE-APPROVED\"\n app_status_classes = \"bg-green-100 text-green-500\"\n } else if ([\"APPROVED\", \"DOC_SIGNED\"].includes(derived_app_status)) {\n app_status_classes = \"bg-green-500 text-white\"\n app_status_text = \"APPROVED\"\n } else if (derived_app_status === \"IN FUNDING\") {\n app_status_classes = 'bg-green-100 text-green-500'\n } else if (derived_app_status === \"IN_APPLICATION\" && isCollateralNotQualified(loan)) {\n app_status_classes = 'bg-red-100 text-red-300'\n app_status_text = \"ACTIONS REQUIRED\"\n }\n\n return {\n app_status_text: app_status_text,\n app_status_classes: app_status_classes\n }\n}\n\nexport { bankAccountStatus, incomeStatus, approvalDocsStatus, contractStatus, fundingStatus, gpsStatus, disabledAppStatuses, requestFundingCheck, requestContractCheck, derivedAppStatus, fancyAppStatus, app_status_text_mapping }\n","const isIncomeDone = (financial_stats) => {\n return financial_stats?.income_verification_status === 'verified' || financial_stats?.data?.['auto-income-verified']\n}\n\nconst isIncomeRequired = (form) => {\n const required_app_status = [\n 'PRE_APPROVED',\n 'IN_VERIFICATION',\n 'APPROVED',\n 'DOC_SIGNED',\n 'FINANCED'\n ]\n\n return required_app_status.includes(form['app-status'])\n}\n\nconst isIncomeAvailable = (form) => {\n return form['app-status'] === \"PENDING_PRE_APPROVAL\"\n}\n\nexport { isIncomeDone, isIncomeRequired, isIncomeAvailable }\n","const isApprovalDocsVerified = (documents_data) => {\n const approval_documents = documents_data['approval_documents'] || {}\n\n if (approval_documents['status'] === 'verified') {\n return true\n }\n\n return false\n}\n\nconst isApprovalDocsDone = (documents_data) => {\n const approval_documents = documents_data['approval_documents'] || {}\n const { approval_stats = {}, rejected_stats = {} } = approval_documents\n\n if ((approval_stats['total'] === approval_stats['uploaded']) && rejected_stats['total'] === 0) {\n return true\n }\n\n return false\n}\n\nconst isApprovalDocsRequired = (form) => {\n const required_app_status = [\n 'PRE_APPROVED',\n 'IN_VERIFICATION',\n 'APPROVED',\n 'DOC_SIGNED',\n 'FINANCED'\n ]\n\n return required_app_status.includes(form['app-status'])\n}\n\nconst isApprovalDocsAvailable = (form) => {\n return form['app-status'] === 'PENDING_PRE_APPROVAL'\n}\n\nexport { isApprovalDocsVerified, isApprovalDocsDone, isApprovalDocsRequired, isApprovalDocsAvailable }\n","const isFundingDocsVerified = (documents_data) => {\n const financing_documents = documents_data['financing_documents'] || {}\n \n if (financing_documents['status'] === 'verified') {\n return true\n }\n\n return false\n}\n\nconst isFundingDocsDone = (documents_data) => {\n const financing_documents = documents_data['financing_documents'] || {}\n const { approval_stats = {}, rejected_stats = {} } = financing_documents\n\n if ((approval_stats?.total === approval_stats?.uploaded) && rejected_stats?.total === 0) {\n return true\n }\n\n return false\n}\n\nconst isFundingDocsRequired = (form) => {\n const required_app_status = [\n \"APPROVED\",\n \"DOC_SIGNED\",\n \"FINANCED\"\n ]\n \n return required_app_status.includes(form['app-status'])\n}\n\nconst isFundingDocsAvailable = (form) => {\n const required_app_status = [\n \"PENDING_PRE_APPROVAL\",\n \"PRE_APPROVED\",\n \"IN_VERIFICATION\"\n ]\n\n return required_app_status.includes(form['app-status'])\n}\n\nexport { isFundingDocsVerified, isFundingDocsDone, isFundingDocsRequired, isFundingDocsAvailable }\n\n","/**\n * Returns a string of classnames from arguments and filters out falsy values\n *\n * @example\n * // Input\n *
\n *\n * // Output\n *
\n *\n * @param {...any} classes - The classes to filter\n * @returns {string} string of classnames\n */\n export function classNames(...classes) {\n return classes.filter(Boolean).join(' ')\n}\n\nexport default classNames\n","define(function () {\n \"use strict\";\n\n return window.document;\n});","define([\"./selector-sizzle\"], function () {\n \"use strict\";\n});","import React, { useRef, useEffect } from 'react';\n\nexport const useIsMount = () => {\n const isMountRef = useRef(true);\n useEffect(() => {\n isMountRef.current = false;\n }, []);\n return isMountRef.current;\n};\n","export const quickSearchLoansDictionary = (QSL) => {\n if (!QSL) return null\n const QSL_dict = {}\n QSL.forEach(loan => {\n let loanId = loan[\"id\"]\n QSL_dict[loanId] = loan\n })\n\n return QSL_dict\n}\n\nexport const spliceUpdatedLoan = (loan, loans) => {\n const loanId = loan['id']\n const loanIndex = loans.findIndex(loan => {\n loan['id'] === loanId\n })\n let new_loans = JSON.parse(JSON.stringify(loans))\n new_loans.splice(loanIndex, 1, loan)\n\n return new_loans\n}\n","const LoansReducer = (state, action) => {\n switch (action.type) {\n case \"UPDATE_LOANS\":\n return {...state, loans: action.loans, rawLoans: action.rawLoans }\n case \"UPDATE_LOAN\":\n let new_loan = action.loan\n let new_state = _.cloneDeep({ ...state })\n new_state.loans[action.loanId] = new_loan\n new_state.rawLoans = action.rawLoans\n return {...state, ...new_state}\n default:\n return state;\n }\n}\n\nexport default LoansReducer\n","import React, { createContext, useReducer } from \"react\";\nimport { quickSearchLoansDictionary, spliceUpdatedLoan } from \"./DealerPortalHelper/LoansContextHelper\";\nimport LoansReducer from \"../../reducers/LoansReducer\";\n\nconst initialState = {\n loans: {},\n rawLoans: [],\n currentUser: \"\",\n repName: \"\",\n userEmail: \"\"\n}\n\nconst LoansContext = createContext(initialState)\n\nconst { Provider } = LoansContext;\n\nexport const LoansProvider = (props) => {\n const reducer = (state, action) => LoansReducer(state, action)\n\n initialState.rawLoans = props.rawLoans\n initialState.loans = quickSearchLoansDictionary(initialState.rawLoans)\n initialState.currentUser = props.currentUser\n initialState.repName = props.repName\n initialState.userEmail = props.userEmail\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const updateLoans = (qslLoans) => {\n let loansDict = quickSearchLoansDictionary(qslLoans)\n\n const payload = {\n type: \"UPDATE_LOANS\",\n loans: loansDict,\n rawLoans: qslLoans\n }\n\n dispatch(payload)\n }\n\n const updateLoan = (loan, rawLoans) => {\n const newRawLoans = spliceUpdatedLoan(loan, rawLoans)\n const payload = {\n type: \"UPDATE_LOAN\",\n loanId: loan['id'],\n loan: loan,\n rawLoans: newRawLoans\n }\n\n dispatch(payload)\n }\n\n return {props.children};\n}\n\nexport default LoansContext;\n","const flashInput = (key) => {\n const _key = `${key} .input-box-title`\n $(`.${key}`).addClass('transition-all duration-500')\n $(`.${_key}`).addClass('transition-all duration-500')\n $(`.${key}`).css('background-color', '#70c77f').css('color', '#ffffff')\n $(`.${_key}`).css('color', '#ffffff')\n setTimeout(() => {\n $(`.${key}`).css('background-color', '').css('color', '')\n $(`.${_key}`).css('color', '')\n }, 800)\n}\n\nexport { flashInput }\n","import { updateDealStructure } from \"../components/deal_structure/DealStructureHelpers.jsx\";\n\nconst HeaderReducer = (state, action) => {\n\n switch (action.type) {\n case \"UPDATE_FORM\":\n let form = _.cloneDeep({...state.form, ...action.form})\n form = updateDealStructure(form)\n return {...state, form}\n case \"UPDATE_AUTOMOBILE_DETAILS\":\n let new_data = {...state.automobileDetails, ...action.data || {}}\n if (action.replace) {\n new_data = action.data || {}\n }\n return {...state, automobileDetails: new_data}\n case \"UPDATE_AUTOMOBILE_PURCHASE_PRICE\":\n let new_purchase_price = {...state.automobilePurchasePrice, ...action.data || {}}\n return {...state, automobilePurchasePrice: new_purchase_price}\n case \"CALCULATED_STATUS\":\n return {...state, calculated: action.status}\n case \"LOADER\":\n return {...state, loader: action.loader}\n case \"UPDATE_PTI\":\n return {...state, pti: action.pti, ptiThreshold: action.threshold}\n case \"PTI_LOADER\":\n return {...state, ptiLoader: action.status}\n case \"SET_SHOW_VALIDATIONS\":\n return {...state, showValidations: action.status}\n default:\n return state;\n }\n }\n\nexport default HeaderReducer\n","import React, { createContext, useReducer } from \"react\";\nimport HeaderReducer from \"../../reducers/HeaderReducer.js\";\n\nconst initialState = {\n lbid: null,\n loanId: null,\n form: null,\n automobileDetails: null,\n automobilePurchasePrice: null,\n calculated: true,\n loader: false,\n warnings: [],\n errors: [],\n readOnly: false,\n autoReadOnly: false,\n currentUser: null,\n userEmail: null,\n pti: null,\n ptiThreshold: null,\n ptiLoader: false,\n showValidations: true\n}\n\nconst HeaderContext = createContext(initialState)\n\nconst { Provider } = HeaderContext;\n\nexport const HeaderProvider = (props) => {\n const reducer = (state, action) => HeaderReducer(state, action)\n\n initialState.form = props.form\n initialState.lbid = props.lbid\n initialState.loanId = props.loanId\n initialState.automobileDetails = props.form?.['automobile']\n initialState.automobilePurchasePrice = props.form?.['purchase_price']\n initialState.readOnly = props.readOnly\n initialState.autoReadOnly = props.autoReadOnly\n initialState.currentUser = props.currentUser\n initialState.userEmail = props.userEmail\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n return \n {props.children}\n ;\n}\n\nexport default HeaderContext;\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function webpackUniversalModuleDefinition(root, factory) {\n if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object') module.exports = factory(require(\"react\"), require(\"prop-types\"));else if (typeof define === 'function' && define.amd) define([\"react\", \"prop-types\"], factory);else if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object') exports[\"Dropzone\"] = factory(require(\"react\"), require(\"prop-types\"));else root[\"Dropzone\"] = factory(root[\"react\"], root[\"prop-types\"]);\n})(this, function (__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {\n return (\n /******/\n function (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId])\n /******/\n return installedModules[moduleId].exports;\n /******/\n\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n var module = installedModules[moduleId] = {\n /******/\n exports: {},\n\n /******/\n id: moduleId,\n\n /******/\n loaded: false\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.loaded = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n __webpack_require__.p = \"\";\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(0);\n /******/\n }([\n /* 0 */\n\n /***/\n\n /* 1 */\n\n /***/\n\n /* 2 */\n\n /***/\n\n /* 3 */\n\n /***/\n\n /* 4 */\n\n /***/\n\n /* 5 */\n\n /***/\n\n /******/\n function (module, exports, __webpack_require__) {\n /* WEBPACK VAR INJECTION */\n (function (process) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _react = __webpack_require__(2);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(3);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n var _attrAccept = __webpack_require__(4);\n\n var _attrAccept2 = _interopRequireDefault(_attrAccept);\n\n var _getDataTransferItems = __webpack_require__(5);\n\n var _getDataTransferItems2 = _interopRequireDefault(_getDataTransferItems);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n }\n\n function _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n /* eslint prefer-template: 0 */\n\n\n var supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true;\n\n function fileAccepted(file, accept) {\n // Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with\n // that MIME type will always be accepted\n return file.type === 'application/x-moz-file' || (0, _attrAccept2.default)(file, accept);\n }\n\n var Dropzone = function (_React$Component) {\n _inherits(Dropzone, _React$Component);\n\n _createClass(Dropzone, null, [{\n key: 'onDocumentDragOver',\n value: function onDocumentDragOver(evt) {\n // allow the entire document to be a drag target\n evt.preventDefault();\n }\n }]);\n\n function Dropzone(props, context) {\n _classCallCheck(this, Dropzone);\n\n var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context));\n\n _this.renderChildren = function (children, isDragActive, isDragReject) {\n if (typeof children === 'function') {\n return children(_extends({}, _this.state, {\n isDragActive: isDragActive,\n isDragReject: isDragReject\n }));\n }\n\n return children;\n };\n\n _this.onClick = _this.onClick.bind(_this);\n _this.onDocumentDrop = _this.onDocumentDrop.bind(_this);\n _this.onDragStart = _this.onDragStart.bind(_this);\n _this.onDragEnter = _this.onDragEnter.bind(_this);\n _this.onDragLeave = _this.onDragLeave.bind(_this);\n _this.onDragOver = _this.onDragOver.bind(_this);\n _this.onDrop = _this.onDrop.bind(_this);\n _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this);\n _this.setRef = _this.setRef.bind(_this);\n _this.setRefs = _this.setRefs.bind(_this);\n _this.onInputElementClick = _this.onInputElementClick.bind(_this);\n _this.isFileDialogActive = false;\n _this.state = {\n draggedFiles: [],\n acceptedFiles: [],\n rejectedFiles: []\n };\n return _this;\n }\n\n _createClass(Dropzone, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n var preventDropOnDocument = this.props.preventDropOnDocument;\n this.dragTargets = [];\n\n if (preventDropOnDocument) {\n document.addEventListener('dragover', Dropzone.onDocumentDragOver, false);\n document.addEventListener('drop', this.onDocumentDrop, false);\n }\n\n this.fileInputEl.addEventListener('click', this.onInputElementClick, false); // Tried implementing addEventListener, but didn't work out\n\n document.body.onfocus = this.onFileDialogCancel;\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var preventDropOnDocument = this.props.preventDropOnDocument;\n\n if (preventDropOnDocument) {\n document.removeEventListener('dragover', Dropzone.onDocumentDragOver);\n document.removeEventListener('drop', this.onDocumentDrop);\n }\n\n this.fileInputEl.removeEventListener('click', this.onInputElementClick, false); // Can be replaced with removeEventListener, if addEventListener works\n\n document.body.onfocus = null;\n }\n }, {\n key: 'onDocumentDrop',\n value: function onDocumentDrop(evt) {\n if (this.node.contains(evt.target)) {\n // if we intercepted an event for our instance, let it propagate down to the instance's onDrop handler\n return;\n }\n\n evt.preventDefault();\n this.dragTargets = [];\n }\n }, {\n key: 'onDragStart',\n value: function onDragStart(evt) {\n if (this.props.onDragStart) {\n this.props.onDragStart.call(this, evt);\n }\n }\n }, {\n key: 'onDragEnter',\n value: function onDragEnter(evt) {\n evt.preventDefault(); // Count the dropzone and any children that are entered.\n\n if (this.dragTargets.indexOf(evt.target) === -1) {\n this.dragTargets.push(evt.target);\n }\n\n this.setState({\n draggedFiles: (0, _getDataTransferItems2.default)(evt)\n });\n\n if (this.props.onDragEnter) {\n this.props.onDragEnter.call(this, evt);\n }\n }\n }, {\n key: 'onDragOver',\n value: function onDragOver(evt) {\n // eslint-disable-line class-methods-use-this\n evt.preventDefault();\n evt.stopPropagation();\n\n try {\n evt.dataTransfer.dropEffect = 'copy'; // eslint-disable-line no-param-reassign\n } catch (err) {// continue regardless of error\n }\n\n if (this.props.onDragOver) {\n this.props.onDragOver.call(this, evt);\n }\n\n return false;\n }\n }, {\n key: 'onDragLeave',\n value: function onDragLeave(evt) {\n var _this2 = this;\n\n evt.preventDefault(); // Only deactivate once the dropzone and all children have been left.\n\n this.dragTargets = this.dragTargets.filter(function (el) {\n return el !== evt.target && _this2.node.contains(el);\n });\n\n if (this.dragTargets.length > 0) {\n return;\n } // Clear dragging files state\n\n\n this.setState({\n draggedFiles: []\n });\n\n if (this.props.onDragLeave) {\n this.props.onDragLeave.call(this, evt);\n }\n }\n }, {\n key: 'onDrop',\n value: function onDrop(evt) {\n var _this3 = this;\n\n var _props = this.props,\n onDrop = _props.onDrop,\n onDropAccepted = _props.onDropAccepted,\n onDropRejected = _props.onDropRejected,\n multiple = _props.multiple,\n disablePreview = _props.disablePreview,\n accept = _props.accept;\n var fileList = (0, _getDataTransferItems2.default)(evt);\n var acceptedFiles = [];\n var rejectedFiles = []; // Stop default browser behavior\n\n evt.preventDefault(); // Reset the counter along with the drag on a drop.\n\n this.dragTargets = [];\n this.isFileDialogActive = false;\n fileList.forEach(function (file) {\n if (!disablePreview) {\n try {\n file.preview = window.URL.createObjectURL(file); // eslint-disable-line no-param-reassign\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Failed to generate preview for file', file, err); // eslint-disable-line no-console\n }\n }\n }\n\n if (fileAccepted(file, accept) && _this3.fileMatchSize(file)) {\n acceptedFiles.push(file);\n } else {\n rejectedFiles.push(file);\n }\n });\n\n if (!multiple) {\n // if not in multi mode add any extra accepted files to rejected.\n // This will allow end users to easily ignore a multi file drop in \"single\" mode.\n rejectedFiles.push.apply(rejectedFiles, _toConsumableArray(acceptedFiles.splice(1)));\n }\n\n if (onDrop) {\n onDrop.call(this, acceptedFiles, rejectedFiles, evt);\n }\n\n if (rejectedFiles.length > 0 && onDropRejected) {\n onDropRejected.call(this, rejectedFiles, evt);\n }\n\n if (acceptedFiles.length > 0 && onDropAccepted) {\n onDropAccepted.call(this, acceptedFiles, evt);\n } // Clear files value\n\n\n this.draggedFiles = null; // Reset drag state\n\n this.setState({\n draggedFiles: [],\n acceptedFiles: acceptedFiles,\n rejectedFiles: rejectedFiles\n });\n }\n }, {\n key: 'onClick',\n value: function onClick(evt) {\n var _props2 = this.props,\n onClick = _props2.onClick,\n disableClick = _props2.disableClick;\n\n if (!disableClick) {\n evt.stopPropagation();\n\n if (onClick) {\n onClick.call(this, evt);\n } // in IE11/Edge the file-browser dialog is blocking, ensure this is behind setTimeout\n // this is so react can handle state changes in the onClick prop above above\n // see: https://github.com/okonet/react-dropzone/issues/450\n\n\n setTimeout(this.open.bind(this), 0);\n }\n }\n }, {\n key: 'onInputElementClick',\n value: function onInputElementClick(evt) {\n evt.stopPropagation();\n\n if (this.props.inputProps && this.props.inputProps.onClick) {\n this.props.inputProps.onClick();\n }\n }\n }, {\n key: 'onFileDialogCancel',\n value: function onFileDialogCancel() {\n // timeout will not recognize context of this method\n var onFileDialogCancel = this.props.onFileDialogCancel;\n var fileInputEl = this.fileInputEl;\n var isFileDialogActive = this.isFileDialogActive; // execute the timeout only if the onFileDialogCancel is defined and FileDialog\n // is opened in the browser\n\n if (onFileDialogCancel && isFileDialogActive) {\n setTimeout(function () {\n // Returns an object as FileList\n var FileList = fileInputEl.files;\n\n if (!FileList.length) {\n isFileDialogActive = false;\n onFileDialogCancel();\n }\n }, 300);\n }\n }\n }, {\n key: 'setRef',\n value: function setRef(ref) {\n this.node = ref;\n }\n }, {\n key: 'setRefs',\n value: function setRefs(ref) {\n this.fileInputEl = ref;\n }\n }, {\n key: 'fileMatchSize',\n value: function fileMatchSize(file) {\n return file.size <= this.props.maxSize && file.size >= this.props.minSize;\n }\n }, {\n key: 'allFilesAccepted',\n value: function allFilesAccepted(files) {\n var _this4 = this;\n\n return files.every(function (file) {\n return fileAccepted(file, _this4.props.accept);\n });\n }\n /**\n * Open system file upload dialog.\n *\n * @public\n */\n\n }, {\n key: 'open',\n value: function open() {\n this.isFileDialogActive = true;\n this.fileInputEl.value = null;\n this.fileInputEl.click();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props3 = this.props,\n accept = _props3.accept,\n activeClassName = _props3.activeClassName,\n inputProps = _props3.inputProps,\n multiple = _props3.multiple,\n name = _props3.name,\n rejectClassName = _props3.rejectClassName,\n children = _props3.children,\n rest = _objectWithoutProperties(_props3, ['accept', 'activeClassName', 'inputProps', 'multiple', 'name', 'rejectClassName', 'children']);\n\n var activeStyle = rest.activeStyle,\n className = rest.className,\n rejectStyle = rest.rejectStyle,\n style = rest.style,\n props = _objectWithoutProperties(rest, ['activeStyle', 'className', 'rejectStyle', 'style']);\n\n var draggedFiles = this.state.draggedFiles;\n var filesCount = draggedFiles.length;\n var isMultipleAllowed = multiple || filesCount <= 1;\n var isDragActive = filesCount > 0 && this.allFilesAccepted(draggedFiles);\n var isDragReject = filesCount > 0 && (!isDragActive || !isMultipleAllowed);\n className = className || '';\n\n if (isDragActive && activeClassName) {\n className += ' ' + activeClassName;\n }\n\n if (isDragReject && rejectClassName) {\n className += ' ' + rejectClassName;\n }\n\n if (!className && !style && !activeStyle && !rejectStyle) {\n style = {\n width: 200,\n height: 200,\n borderWidth: 2,\n borderColor: '#666',\n borderStyle: 'dashed',\n borderRadius: 5\n };\n activeStyle = {\n borderStyle: 'solid',\n borderColor: '#6c6',\n backgroundColor: '#eee'\n };\n rejectStyle = {\n borderStyle: 'solid',\n borderColor: '#c66',\n backgroundColor: '#eee'\n };\n }\n\n var appliedStyle = void 0;\n\n if (activeStyle && isDragActive) {\n appliedStyle = _extends({}, style, activeStyle);\n } else if (rejectStyle && isDragReject) {\n appliedStyle = _extends({}, style, rejectStyle);\n } else {\n appliedStyle = _extends({}, style);\n }\n\n var inputAttributes = {\n accept: accept,\n type: 'file',\n style: {\n display: 'none'\n },\n multiple: supportMultiple && multiple,\n ref: this.setRefs,\n onChange: this.onDrop\n };\n\n if (name && name.length) {\n inputAttributes.name = name;\n } // Remove custom properties before passing them to the wrapper div element\n\n\n var customProps = ['acceptedFiles', 'preventDropOnDocument', 'disablePreview', 'disableClick', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize'];\n\n var divProps = _extends({}, props);\n\n customProps.forEach(function (prop) {\n return delete divProps[prop];\n });\n return _react2.default.createElement('div', _extends({\n className: className,\n style: appliedStyle\n }, divProps\n /* expand user provided props first so event handlers are never overridden */\n , {\n onClick: this.onClick,\n onDragStart: this.onDragStart,\n onDragEnter: this.onDragEnter,\n onDragOver: this.onDragOver,\n onDragLeave: this.onDragLeave,\n onDrop: this.onDrop,\n ref: this.setRef\n }), this.renderChildren(children, isDragActive, isDragReject), _react2.default.createElement('input', _extends({}, inputProps\n /* expand user provided inputProps first so inputAttributes override them */\n , inputAttributes)));\n }\n }]);\n\n return Dropzone;\n }(_react2.default.Component);\n\n Dropzone.propTypes = {\n /**\n * Allow specific types of files. See https://github.com/okonet/attr-accept for more information.\n * Keep in mind that mime type determination is not reliable accross platforms. CSV files,\n * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under\n * Windows. In some cases there might not be a mime type set at all.\n * See: https://github.com/okonet/react-dropzone/issues/276\n */\n accept: _propTypes2.default.string,\n\n /**\n * Contents of the dropzone\n */\n children: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]),\n\n /**\n * Disallow clicking on the dropzone container to open file dialog\n */\n disableClick: _propTypes2.default.bool,\n\n /**\n * Enable/disable preview generation\n */\n disablePreview: _propTypes2.default.bool,\n\n /**\n * If false, allow dropped items to take over the current browser window\n */\n preventDropOnDocument: _propTypes2.default.bool,\n\n /**\n * Pass additional attributes to the `` tag\n */\n inputProps: _propTypes2.default.object,\n\n /**\n * Allow dropping multiple files\n */\n multiple: _propTypes2.default.bool,\n\n /**\n * `name` attribute for the input tag\n */\n name: _propTypes2.default.string,\n\n /**\n * Maximum file size\n */\n maxSize: _propTypes2.default.number,\n\n /**\n * Minimum file size\n */\n minSize: _propTypes2.default.number,\n\n /**\n * className\n */\n className: _propTypes2.default.string,\n\n /**\n * className for accepted state\n */\n activeClassName: _propTypes2.default.string,\n\n /**\n * className for rejected state\n */\n rejectClassName: _propTypes2.default.string,\n\n /**\n * CSS styles to apply\n */\n style: _propTypes2.default.object,\n\n /**\n * CSS styles to apply when drop will be accepted\n */\n activeStyle: _propTypes2.default.object,\n\n /**\n * CSS styles to apply when drop will be rejected\n */\n rejectStyle: _propTypes2.default.object,\n\n /**\n * onClick callback\n * @param {Event} event\n */\n onClick: _propTypes2.default.func,\n\n /**\n * onDrop callback\n */\n onDrop: _propTypes2.default.func,\n\n /**\n * onDropAccepted callback\n */\n onDropAccepted: _propTypes2.default.func,\n\n /**\n * onDropRejected callback\n */\n onDropRejected: _propTypes2.default.func,\n\n /**\n * onDragStart callback\n */\n onDragStart: _propTypes2.default.func,\n\n /**\n * onDragEnter callback\n */\n onDragEnter: _propTypes2.default.func,\n\n /**\n * onDragOver callback\n */\n onDragOver: _propTypes2.default.func,\n\n /**\n * onDragLeave callback\n */\n onDragLeave: _propTypes2.default.func,\n\n /**\n * Provide a callback on clicking the cancel button of the file dialog\n */\n onFileDialogCancel: _propTypes2.default.func\n };\n Dropzone.defaultProps = {\n preventDropOnDocument: true,\n disablePreview: false,\n disableClick: false,\n multiple: true,\n maxSize: Infinity,\n minSize: 0\n };\n exports.default = Dropzone;\n module.exports = exports['default'];\n /* WEBPACK VAR INJECTION */\n }).call(exports, __webpack_require__(1));\n /***/\n }, function (module, exports) {\n // shim for using process in browser\n var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n // don't break things. But we need to wrap it in a try catch in case it is\n // wrapped in strict mode code which doesn't define any globals. It's inside a\n // function because try/catches deoptimize in certain engines.\n\n var cachedSetTimeout;\n var cachedClearTimeout;\n\n function defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n }\n\n function defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n }\n\n (function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n })();\n\n function runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n }\n\n function runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n }\n\n var queue = [];\n var draining = false;\n var currentQueue;\n var queueIndex = -1;\n\n function cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n }\n\n function drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n }\n\n process.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n }; // v8 likes predictible objects\n\n\n function Item(fun, array) {\n this.fun = fun;\n this.array = array;\n }\n\n Item.prototype.run = function () {\n this.fun.apply(null, this.array);\n };\n\n process.title = 'browser';\n process.browser = true;\n process.env = {};\n process.argv = [];\n process.version = ''; // empty string to avoid regexp issues\n\n process.versions = {};\n\n function noop() {}\n\n process.on = noop;\n process.addListener = noop;\n process.once = noop;\n process.off = noop;\n process.removeListener = noop;\n process.removeAllListeners = noop;\n process.emit = noop;\n process.prependListener = noop;\n process.prependOnceListener = noop;\n\n process.listeners = function (name) {\n return [];\n };\n\n process.binding = function (name) {\n throw new Error('process.binding is not supported');\n };\n\n process.cwd = function () {\n return '/';\n };\n\n process.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n };\n\n process.umask = function () {\n return 0;\n };\n /***/\n\n }, function (module, exports) {\n module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n /***/\n }, function (module, exports) {\n module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n /***/\n }, function (module, exports) {\n module.exports = function (t) {\n function n(e) {\n if (r[e]) return r[e].exports;\n var o = r[e] = {\n exports: {},\n id: e,\n loaded: !1\n };\n return t[e].call(o.exports, o, o.exports, n), o.loaded = !0, o.exports;\n }\n\n var r = {};\n return n.m = t, n.c = r, n.p = \"\", n(0);\n }([function (t, n, r) {\n \"use strict\";\n\n n.__esModule = !0, r(8), r(9), n[\"default\"] = function (t, n) {\n if (t && n) {\n var r = function () {\n var r = Array.isArray(n) ? n : n.split(\",\"),\n e = t.name || \"\",\n o = t.type || \"\",\n i = o.replace(/\\/.*$/, \"\");\n return {\n v: r.some(function (t) {\n var n = t.trim();\n return \".\" === n.charAt(0) ? e.toLowerCase().endsWith(n.toLowerCase()) : /\\/\\*$/.test(n) ? i === n.replace(/\\/.*$/, \"\") : o === n;\n })\n };\n }();\n\n if (\"object\" == _typeof(r)) return r.v;\n }\n\n return !0;\n }, t.exports = n[\"default\"];\n }, function (t, n) {\n var r = t.exports = {\n version: \"1.2.2\"\n };\n \"number\" == typeof __e && (__e = r);\n }, function (t, n) {\n var r = t.exports = \"undefined\" != typeof window && window.Math == Math ? window : \"undefined\" != typeof self && self.Math == Math ? self : Function(\"return this\")();\n \"number\" == typeof __g && (__g = r);\n }, function (t, n, r) {\n var e = r(2),\n o = r(1),\n i = r(4),\n u = r(19),\n c = \"prototype\",\n f = function f(t, n) {\n return function () {\n return t.apply(n, arguments);\n };\n },\n s = function s(t, n, r) {\n var a,\n p,\n l,\n y,\n d = t & s.G,\n h = t & s.P,\n v = d ? e : t & s.S ? e[n] || (e[n] = {}) : (e[n] || {})[c],\n x = d ? o : o[n] || (o[n] = {});\n d && (r = n);\n\n for (a in r) {\n p = !(t & s.F) && v && a in v, l = (p ? v : r)[a], y = t & s.B && p ? f(l, e) : h && \"function\" == typeof l ? f(Function.call, l) : l, v && !p && u(v, a, l), x[a] != l && i(x, a, y), h && ((x[c] || (x[c] = {}))[a] = l);\n }\n };\n\n e.core = o, s.F = 1, s.G = 2, s.S = 4, s.P = 8, s.B = 16, s.W = 32, t.exports = s;\n }, function (t, n, r) {\n var e = r(5),\n o = r(18);\n t.exports = r(22) ? function (t, n, r) {\n return e.setDesc(t, n, o(1, r));\n } : function (t, n, r) {\n return t[n] = r, t;\n };\n }, function (t, n) {\n var r = Object;\n t.exports = {\n create: r.create,\n getProto: r.getPrototypeOf,\n isEnum: {}.propertyIsEnumerable,\n getDesc: r.getOwnPropertyDescriptor,\n setDesc: r.defineProperty,\n setDescs: r.defineProperties,\n getKeys: r.keys,\n getNames: r.getOwnPropertyNames,\n getSymbols: r.getOwnPropertySymbols,\n each: [].forEach\n };\n }, function (t, n) {\n var r = 0,\n e = Math.random();\n\n t.exports = function (t) {\n return \"Symbol(\".concat(void 0 === t ? \"\" : t, \")_\", (++r + e).toString(36));\n };\n }, function (t, n, r) {\n var e = r(20)(\"wks\"),\n o = r(2).Symbol;\n\n t.exports = function (t) {\n return e[t] || (e[t] = o && o[t] || (o || r(6))(\"Symbol.\" + t));\n };\n }, function (t, n, r) {\n r(26), t.exports = r(1).Array.some;\n }, function (t, n, r) {\n r(25), t.exports = r(1).String.endsWith;\n }, function (t, n) {\n t.exports = function (t) {\n if (\"function\" != typeof t) throw TypeError(t + \" is not a function!\");\n return t;\n };\n }, function (t, n) {\n var r = {}.toString;\n\n t.exports = function (t) {\n return r.call(t).slice(8, -1);\n };\n }, function (t, n, r) {\n var e = r(10);\n\n t.exports = function (t, n, r) {\n if (e(t), void 0 === n) return t;\n\n switch (r) {\n case 1:\n return function (r) {\n return t.call(n, r);\n };\n\n case 2:\n return function (r, e) {\n return t.call(n, r, e);\n };\n\n case 3:\n return function (r, e, o) {\n return t.call(n, r, e, o);\n };\n }\n\n return function () {\n return t.apply(n, arguments);\n };\n };\n }, function (t, n) {\n t.exports = function (t) {\n if (void 0 == t) throw TypeError(\"Can't call method on \" + t);\n return t;\n };\n }, function (t, n, r) {\n t.exports = function (t) {\n var n = /./;\n\n try {\n \"/./\"[t](n);\n } catch (e) {\n try {\n return n[r(7)(\"match\")] = !1, !\"/./\"[t](n);\n } catch (o) {}\n }\n\n return !0;\n };\n }, function (t, n) {\n t.exports = function (t) {\n try {\n return !!t();\n } catch (n) {\n return !0;\n }\n };\n }, function (t, n) {\n t.exports = function (t) {\n return \"object\" == _typeof(t) ? null !== t : \"function\" == typeof t;\n };\n }, function (t, n, r) {\n var e = r(16),\n o = r(11),\n i = r(7)(\"match\");\n\n t.exports = function (t) {\n var n;\n return e(t) && (void 0 !== (n = t[i]) ? !!n : \"RegExp\" == o(t));\n };\n }, function (t, n) {\n t.exports = function (t, n) {\n return {\n enumerable: !(1 & t),\n configurable: !(2 & t),\n writable: !(4 & t),\n value: n\n };\n };\n }, function (t, n, r) {\n var e = r(2),\n o = r(4),\n i = r(6)(\"src\"),\n u = \"toString\",\n c = Function[u],\n f = (\"\" + c).split(u);\n r(1).inspectSource = function (t) {\n return c.call(t);\n }, (t.exports = function (t, n, r, u) {\n \"function\" == typeof r && (o(r, i, t[n] ? \"\" + t[n] : f.join(String(n))), \"name\" in r || (r.name = n)), t === e ? t[n] = r : (u || delete t[n], o(t, n, r));\n })(Function.prototype, u, function () {\n return \"function\" == typeof this && this[i] || c.call(this);\n });\n }, function (t, n, r) {\n var e = r(2),\n o = \"__core-js_shared__\",\n i = e[o] || (e[o] = {});\n\n t.exports = function (t) {\n return i[t] || (i[t] = {});\n };\n }, function (t, n, r) {\n var e = r(17),\n o = r(13);\n\n t.exports = function (t, n, r) {\n if (e(n)) throw TypeError(\"String#\" + r + \" doesn't accept regex!\");\n return String(o(t));\n };\n }, function (t, n, r) {\n t.exports = !r(15)(function () {\n return 7 != Object.defineProperty({}, \"a\", {\n get: function get() {\n return 7;\n }\n }).a;\n });\n }, function (t, n) {\n var r = Math.ceil,\n e = Math.floor;\n\n t.exports = function (t) {\n return isNaN(t = +t) ? 0 : (t > 0 ? e : r)(t);\n };\n }, function (t, n, r) {\n var e = r(23),\n o = Math.min;\n\n t.exports = function (t) {\n return t > 0 ? o(e(t), 9007199254740991) : 0;\n };\n }, function (t, n, r) {\n \"use strict\";\n\n var e = r(3),\n o = r(24),\n i = r(21),\n u = \"endsWith\",\n c = \"\"[u];\n e(e.P + e.F * r(14)(u), \"String\", {\n endsWith: function endsWith(t) {\n var n = i(this, t, u),\n r = arguments,\n e = r.length > 1 ? r[1] : void 0,\n f = o(n.length),\n s = void 0 === e ? f : Math.min(o(e), f),\n a = String(t);\n return c ? c.call(n, a, s) : n.slice(s - a.length, s) === a;\n }\n });\n }, function (t, n, r) {\n var e = r(5),\n o = r(3),\n i = r(1).Array || Array,\n u = {},\n c = function c(t, n) {\n e.each.call(t.split(\",\"), function (t) {\n void 0 == n && t in i ? u[t] = i[t] : t in [] && (u[t] = r(12)(Function.call, [][t], n));\n });\n };\n\n c(\"pop,reverse,shift,keys,values,entries\", 1), c(\"indexOf,every,some,forEach,map,filter,find,findIndex,includes\", 3), c(\"join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill\"), o(o.S, \"Array\", u);\n }]);\n /***/\n\n }, function (module, exports) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = getDataTransferFiles;\n\n function getDataTransferFiles(event) {\n var dataTransferItemsList = [];\n\n if (event.dataTransfer) {\n var dt = event.dataTransfer;\n\n if (dt.files && dt.files.length) {\n dataTransferItemsList = dt.files;\n } else if (dt.items && dt.items.length) {\n // During the drag even the dataTransfer.files is null\n // but Chrome implements some drag store, which is accesible via dataTransfer.items\n dataTransferItemsList = dt.items;\n }\n } else if (event.target && event.target.files) {\n dataTransferItemsList = event.target.files;\n } // Convert from DataTransferItemsList to the native Array\n\n\n return Array.prototype.slice.call(dataTransferItemsList);\n }\n\n module.exports = exports[\"default\"];\n /***/\n }])\n );\n});\n\n;","// Initialize a jQuery object\ndefine([\"../core\", \"../var/document\", \"../var/isFunction\", \"./var/rsingleTag\", \"../traversing/findFilter\"], function (jQuery, document, isFunction, rsingleTag) {\n \"use strict\"; // A central reference to the root jQuery(document)\n\n var rootjQuery,\n // A simple way to check for HTML strings\n // Prioritize #id over to avoid XSS via location.hash (#9521)\n // Strict HTML recognition (#11290: must start with <)\n // Shortcut simple #id case for speed\n rquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n init = jQuery.fn.init = function (selector, context, root) {\n var match, elem; // HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\n if (!selector) {\n return this;\n } // Method init() accepts an alternate rootjQuery\n // so migrate can support jQuery.sub (gh-2101)\n\n\n root = root || rootjQuery; // Handle HTML strings\n\n if (typeof selector === \"string\") {\n if (selector[0] === \"<\" && selector[selector.length - 1] === \">\" && selector.length >= 3) {\n // Assume that strings that start and end with <> are HTML and skip the regex check\n match = [null, selector, null];\n } else {\n match = rquickExpr.exec(selector);\n } // Match html or make sure no context is specified for #id\n\n\n if (match && (match[1] || !context)) {\n // HANDLE: $(html) -> $(array)\n if (match[1]) {\n context = context instanceof jQuery ? context[0] : context; // Option to run scripts is true for back-compat\n // Intentionally let the error be thrown if parseHTML is not present\n\n jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document, true)); // HANDLE: $(html, props)\n\n if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {\n for (match in context) {\n // Properties of context are called as methods if possible\n if (isFunction(this[match])) {\n this[match](context[match]); // ...and otherwise set as attributes\n } else {\n this.attr(match, context[match]);\n }\n }\n }\n\n return this; // HANDLE: $(#id)\n } else {\n elem = document.getElementById(match[2]);\n\n if (elem) {\n // Inject the element directly into the jQuery object\n this[0] = elem;\n this.length = 1;\n }\n\n return this;\n } // HANDLE: $(expr, $(...))\n\n } else if (!context || context.jquery) {\n return (context || root).find(selector); // HANDLE: $(expr, context)\n // (which is just equivalent to: $(context).find(expr)\n } else {\n return this.constructor(context).find(selector);\n } // HANDLE: $(DOMElement)\n\n } else if (selector.nodeType) {\n this[0] = selector;\n this.length = 1;\n return this; // HANDLE: $(function)\n // Shortcut for document ready\n } else if (isFunction(selector)) {\n return root.ready !== undefined ? root.ready(selector) : // Execute immediately if ready is not present\n selector(jQuery);\n }\n\n return jQuery.makeArray(selector, this);\n }; // Give the init function the jQuery prototype for later instantiation\n\n\n init.prototype = jQuery.fn; // Initialize central reference\n\n rootjQuery = jQuery(document);\n return init;\n});","import React, { useState, useCallback } from 'react';\nimport lb_fetch from '../helpers/Request';\n\n/**\n * @typedef { 'GET' | 'POST' | 'PUT' | 'DELETE' } RequestMethod\n */\n\n/**\n * @typedef {{\n * headers?: Record,\n * method?: RequestMethod | Lowercase,\n * }} LBFetchOptions\n */\n\n/**\n * @typedef {{\n * loading: boolean,\n * error: boolean,\n * finished: boolean,\n * errors: any,\n * fetch(data: any): Promise\n * }} LBFetchResponse\n */\n\n/**\n * Hook to use lb_fetch\n *\n * @param {string} url\n * @param {LBFetchOptions} [options={ headers: {}, method: 'post' }]\n * @returns {LBFetchResponse}\n */\nexport function useLbFetch(url, { headers = {}, method = 'post' } = {}) {\n const [loading, setLoading] = useState(false);\n const [finished, setFinished] = useState(false);\n const [errors, setErrors] = useState(null);\n const error = errors !== null;\n\n /**\n * fetches data from url\n *\n * @param {any} [data]\n * @returns {Promise}\n */\n const fetch = useCallback(\n async data => {\n try {\n setFinished(false);\n setLoading(true);\n\n return await lb_fetch(url, { headers, method, body: data });\n } catch (error) {\n // TODO: handle error\n // Unknown error structure\n setErrors(error);\n } finally {\n setLoading(false);\n setFinished(true);\n }\n },\n [lb_fetch, url, headers, method]\n );\n\n return { loading, errors, error, finished, fetch };\n}\n\nexport default useLbFetch;\n","import { updateDealStructure } from \"../components/deal_structure/DealStructureHelpers.jsx\";\n\nconst DealStructureReducer = (state, action) => {\n\n switch (action.type) {\n case \"UPDATE_FORM\":\n let form = _.cloneDeep({...state.form, ...action.form})\n form = updateDealStructure(form)\n return {...state, form}\n case \"CALCULATE_APR\":\n let new_state = {...state, calculatorResponse: action.response}\n return new_state\n case \"CALCULATED_STATUS\":\n return {...state, calculated: action.status}\n case \"UPDATE_ORIGINAL_FORM\":\n let og_form = _.cloneDeep({...state.originalForm, ...action.form})\n og_form = updateDealStructure(og_form)\n return {...state, originalForm: og_form }\n case \"CALCULATOR_LOADER\":\n return {...state, calculatorLoader: action.loader}\n case \"UPDATE_LOADER\":\n return {...state, updateLoader: action.loader}\n case \"UPDATED_STATUS\":\n return {...state, updated: action.status}\n case \"SAVED_ANIMATION\":\n return {...state, savedAnimation: action.status}\n default:\n return state;\n }\n}\n\nexport default DealStructureReducer\n","import React, { createContext, useReducer, useState, useEffect, useMemo } from \"react\";\nimport { onEnter, requestCalculateTerms, requestUpdateTerms } from \"../../actions/DealerDealStructureActions.js.jsx\";\nimport DealStructureReducer from \"../../reducers/DealStructureReducer.js\";\nimport { dealStructure } from './DealStructureHelpers.jsx';\nimport lb_fetch from '../../helpers/Request.js'\n\nconst initialState = {\n lbid: null,\n originalForm: null,\n form: null,\n calculatorResponse: {},\n calculated: false,\n calculatorLoader: false,\n updateLoader: false,\n errors: {},\n warnings: {},\n updated: true,\n savedAnimation: false,\n readOnly: false,\n currentUser: null,\n userEmail: null\n}\n\nconst DealStructureContext = createContext(initialState)\n\nconst { Provider } = DealStructureContext;\n\nexport const DealStructureProvider = (props) => {\n const reducer = (state, action) => DealStructureReducer(state, action)\n\n const form = props.form\n\n initialState.lbid = props.lbid\n initialState.form = form\n initialState.originalForm = form\n initialState.readOnly = props.readOnly\n initialState.currentUser = props.currentUser\n initialState.userEmail = props.userEmail\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const [dealHistory, setDealHistory] = useState({})\n const [dealHistoryLoader, setDealHistoryLoader] = useState(true)\n\n useEffect(() => {\n if (state.updated) {\n requestDealHistory(form['lbid'])\n }\n }, [state.updated])\n\n const calculatedModifiers = useMemo(() => {\n if(!state.calculatorResponse?.applied_modifiers) return state.form?.applied_modifiers\n\n return state.calculatorResponse.applied_modifiers\n }, [state.calculatorResponse, state.form])\n\n\n const requestDealHistory = async (lbid) => {\n setDealHistoryLoader(true)\n\n const url = `/loan_applications/${lbid}/get_deal_history`\n let res = null\n\n try {\n res = await lb_fetch(url, { method: 'post' })\n } catch (error) {\n console.log('error in requestDeal');\n console.log(error);\n return null\n }\n\n if (!res.ok) {\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.statusText}`)\n alert(\"Something went wrong with requestDeal, please contact us\")\n return\n }\n\n let data = await res.json()\n\n setDealHistory(data['data'])\n setDealHistoryLoader(false)\n }\n\n const analyticsInfo = {\n currentUser: props.currentUser,\n userEmail: props.userEmail\n }\n\n const calculateTerms = async (dispatches) => requestCalculateTerms(dispatches, state.form, analyticsInfo, calculatedModifiers )\n \n const updateTerms = async (dispatches) => \n requestUpdateTerms(\n dispatches, \n state.form, \n analyticsInfo, \n calculatedModifiers, \n state.calculatorResponse?.warnings, \n state.calculatorResponse?.remarks\n );\n\n const disable_calculate = state.calculatorLoader || state.updateLoader || state.readOnly\n const onKeyDown = disable_calculate ? () => {} : (e, dispatches) => onEnter(e, dispatches, state.form, analyticsInfo, calculatedModifiers)\n const deal_structure = dealStructure(state.form)\n const revertPurchasePrice = (originalForm = form) => {\n dispatch({\n type: 'UPDATE_FORM',\n form: originalForm\n })\n dispatch({\n type: 'CALCULATED_STATUS',\n status: true\n })\n dispatch({\n type: 'UPDATED_STATUS',\n status: true\n })\n }\n\n const readOnly = state.readOnly || state.calculatorLoader || state.updateLoader\n const calculated = state.readOnly || state.calculated\n\n return \n {props.children}\n ;\n}\n\nexport default DealStructureContext;\n","import React from 'react';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js';\n\nconst DollarInput = (props) => {\n const { title, value, onBlur, onClick, error, warning, disabled, top, required, readOnly, invert, inputClass } = props\n let onKeyDown = props.onKeyDown || (() => {})\n let onChange = props.onChange || (() => {})\n\n let body_class = \"\"\n let input_class = inputClass || \"\"\n let title_class = \"text-gray-380\"\n let font_weight_class = \"font-light\"\n\n if (disabled || readOnly) {\n body_class = `${body_class} bg-gray-150`\n input_class = `${input_class} bg-gray-150`\n }\n\n if (readOnly) {\n title_class = \"text-gray-500\"\n font_weight_class = \"font-medium\"\n }\n\n if (invert) {\n title_class = \"text-white\"\n body_class = \"bg-black\"\n input_class = \"bg-black text-white\"\n font_weight_class = \"font-light\"\n }\n\n if (top) {\n body_class = `${body_class} border-t`\n }\n\n const input_style = {backgroundColor: 'inherit'}\n const dollar_sign = ($)\n const percent_sign = (%)\n let dollar = null\n let percent = null\n\n if (props.percent) {\n percent = percent_sign\n } else {\n dollar = dollar_sign\n }\n\n return (\n
\n
\n
{title || \"No title\"}
\n
\n
\n
\n {dollar}\n onChange(event)}\n onClick={onClick}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n disabled={disabled || readOnly}\n />\n {percent}\n
\n \n
\n
\n
{error}
\n
{warning}
\n
\n
\n );\n};\n\nconst CompactDollarInput = (props) => {\n const { title, value, onBlur, onClick, error, warning, disabled, top, left, required, placeholder, className, inputSide } = props\n const type = props.type || \"text\"\n let onChange = props.onChange || (() => {})\n let onKeyDown = props.onKeyDown || (() => {})\n const input_ref = React.createRef()\n\n let body_class = \"\"\n let input_class = \"\"\n\n const input_style = {backgroundColor: 'inherit'}\n const input_side = inputSide || \"right\"\n input_class = `text-${input_side}`\n\n if (disabled) {\n body_class = `${body_class} bg-gray-150`\n input_class = `${input_class} bg-gray-150`\n }\n\n if (left) {\n body_class = `${body_class} border-l`\n }\n\n if (top) {\n body_class = `${body_class} border-t`\n }\n\n const selectInput = () => {\n try {\n input_ref.current.click()\n input_ref.current.focus()\n } catch (error) {\n console.log('no input found');\n }\n }\n\n const renderedOptions = () => {\n const options = props.options || []\n return options.map((option, index) => {\n return (\n \n )\n })\n }\n\n const renderElement = () => {\n if (type == 'select') {\n return renderSelectElement()\n }\n else if (type == 'custom') {\n return props.renderElement\n }\n\n return renderInputElement()\n }\n\n const renderInputElement = () => {\n return (\n \n )\n }\n\n const renderSelectElement = () => {\n let empty_option = (\n \n )\n if (props.disableEmptyOption) {\n empty_option = \"\"\n }\n return (\n \n )\n }\n\n const renderLabelClasses = () => {\n let label_classes = \"text-xs font-light\"\n if (required) {\n label_classes = label_classes + \" asterisk\"\n }\n if (error) {\n label_classes = label_classes + \" text-error\"\n } else {\n label_classes = label_classes + \" text-gray-380\"\n }\n return label_classes\n }\n\n return (\n
\n
{title}
\n
\n $\n {renderElement()}\n
\n \n
\n
\n
{error}
\n
{warning}
\n
\n )\n}\n\nexport { CompactDollarInput, DollarInput }\nexport default DollarInput;\n","const DispatchesHelper = (dispatches={}) => {\n\n const dealStructureDispatch = dispatches['dealStructure'] || (() => {})\n const dealHeaderDispatch = dispatches['dealHeader'] || (() => {})\n\n const setCalculated = (calculatedStatus) => {\n const payload = {\n type: 'CALCULATED_STATUS',\n status: calculatedStatus\n }\n dealStructureDispatch(payload)\n dealHeaderDispatch(payload)\n }\n\n const setUpdated = (status) => {\n dealStructureDispatch({\n type: 'UPDATED_STATUS',\n status\n })\n }\n\n const setCalculatedLoader = (status) => {\n dealStructureDispatch({\n type: 'CALCULATOR_LOADER',\n loader: status\n })\n dealHeaderDispatch({\n type: 'LOADER',\n loader: status\n })\n dealHeaderDispatch({\n type: 'PTI_LOADER',\n status: status\n })\n dealHeaderDispatch({\n type: 'SET_SHOW_VALIDATIONS',\n status: !status\n })\n }\n\n return {\n setCalculated,\n setUpdated,\n setCalculatedLoader\n }\n}\n\nexport default DispatchesHelper\n","import {\n formatPurchasePrice, handleAnalytics, calculatorRequestData\n} from \"../components/deal_structure/DealStructureHelpers\"\nimport DispatchesHelper from \"../components/deal_structure/DispatchesHelper\"\nimport lb_fetch from \"../helpers/Request\"\n\nconst updateForm = (dispatches, updated_data) => {\n const {\n setCalculated,\n setUpdated\n } = DispatchesHelper(dispatches)\n\n const payload = {\n type: 'UPDATE_FORM',\n form: updated_data\n }\n\n dispatches['dealStructure'](payload)\n if (dispatches['dealHeader']) {\n dispatches['dealHeader'](payload)\n }\n\n setCalculated(false)\n setUpdated(false)\n}\n\nconst requestCalculateTerms = async (dispatches, form, options, modifiers) => {\n handleAnalytics('deal_structure_calculate', options?.currentUser, options?.userEmail, form)\n const {\n setCalculated,\n setCalculatedLoader\n } = DispatchesHelper(dispatches)\n\n setCalculatedLoader(true)\n\n dispatches['dealStructure']({\n type: 'CALCULATE_APR',\n response: {}\n })\n\n let calcReqData = calculatorRequestData(form)\n\n let request_data = {\n lbid: form['lbid'],\n ...calcReqData\n }\n\n const url = '/autofill/calculations/calculate_apr'\n let res = null\n\n try {\n res = await lb_fetch(url, { \n method: 'post', \n body: { \n loan_application: request_data, \n loan_application_id: form?.lbid, \n calculator_data: {\n applied_modifiers: modifiers\n } \n } \n })\n } catch (error) {\n console.log('error in requestCalculateTerms');\n console.log(error);\n return null\n } finally {\n setCalculatedLoader(false)\n }\n\n if (!res.ok) {\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.statusText}`)\n alert(\"Something went wrong with calculate terms, please contact us\")\n return\n }\n\n const data = await res.json()\n const new_deal = data['new_deal']\n const new_form = { ...form, ...new_deal }\n const financial_stats = data.financial_stats?.stats\n\n dispatches['dealStructure']({\n type: 'CALCULATE_APR',\n response: data\n })\n\n setCalculated(true)\n\n dispatches['dealStructure']({\n type: 'UPDATE_FORM',\n form: new_form\n })\n\n if (dispatches['dealHeader']) {\n dispatches['dealHeader']({\n type: 'UPDATE_FORM',\n form: new_form\n })\n\n dispatches['dealHeader']({\n type: 'UPDATE_PTI',\n pti: financial_stats['PTI'],\n threshold: financial_stats['pti-threshold']\n })\n }\n}\n\nconst requestUpdateTerms = async (dispatches, form, options, applied_modifiers, remarks, warnings) => {\n handleAnalytics('deal_structure_update', options?.currentUser, options?.userEmail, form)\n const {\n setCalculated,\n setUpdated\n } = DispatchesHelper(dispatches)\n\n dispatches['dealStructure']({\n type: 'UPDATE_LOADER',\n loader: true\n })\n\n if (dispatches['dealHeader']) {\n dispatches['dealHeader']({\n type: 'LOADER',\n loader: true\n })\n }\n\n dispatches['dealStructure']({\n type: 'CALCULATE_APR',\n response: {}\n })\n\n let calcReqData = calculatorRequestData(form)\n\n const url = '/autofill/calculations/update_apr'\n let res = null\n let request_data = {\n lbid: form['lbid'],\n ...calcReqData\n }\n\n try {\n res = await lb_fetch(url, {\n method: 'post',\n body: {\n loan_application: request_data,\n loan_application_id: form?.lbid,\n calculator_data: {\n applied_modifiers,\n remarks,\n warnings\n }\n }\n })\n } catch (error) {\n console.log('error in requestUpdateTerms');\n console.log(error);\n return null\n }\n finally {\n dispatches['dealStructure']({\n type: 'UPDATE_LOADER',\n loader: false\n })\n\n if (dispatches['dealHeader']) {\n dispatches['dealHeader']({\n type: 'LOADER',\n loader: false\n })\n }\n }\n\n if (!res.ok) {\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.statusText}`)\n alert(\"Something went wrong with update terms, please contact us\")\n return\n }\n\n savedAnimation(dispatches['dealStructure'])\n\n setUpdated(true)\n setCalculated(true)\n\n\n let data = await res.json()\n const new_form = data['form'] || {}\n\n new_form['purchase_price'] = formatPurchasePrice(new_form['purchase_price'])\n\n if (!new_form) {\n console.log('form not found in CalculateUpdate#requestUpdateTerms');\n console.log(data);\n }\n\n dispatches['dealStructure']({\n type: 'UPDATE_FORM',\n form: new_form\n })\n\n dispatches['dealStructure']({\n type: 'UPDATE_ORIGINAL_FORM',\n form: new_form\n })\n\n if (dispatches['dealHeader']) {\n dispatches['dealHeader']({\n type: 'UPDATE_FORM',\n form: new_form\n })\n }\n}\n\nconst savedAnimation = (dispatch) => {\n dispatch({\n type: 'SAVED_ANIMATION',\n status: true\n })\n\n setTimeout(() => {\n dispatch({\n type: 'SAVED_ANIMATION',\n status: false\n })\n }, 2000)\n}\n\nconst onEnter = (e, dispatches, form, analyticsInfo, modifiers) => {\n if (e.key == \"Enter\") {\n requestCalculateTerms(dispatches, form, analyticsInfo, modifiers)\n }\n}\n\nexport { requestCalculateTerms, requestUpdateTerms, onEnter, updateForm }\n","define([\"../Data\"], function (Data) {\n \"use strict\";\n\n return new Data();\n});","import React from 'react';\n\nconst ErrorIcon = (props) => {\n const renderErrorIcon = () => {\n let errorClasses = props.clickable ? \"cursor-pointer hover:text-black transition\" : \"\"\n let icon_view = null\n\n if (props.error) {\n icon_view = (\n \n \n )\n } else if (props.warning) {\n icon_view = ()\n }\n \n return icon_view\n }\n\n return(renderErrorIcon())\n}\n\nexport default ErrorIcon\n","import React from 'react';\n\nconst XSButton = (props) => {\n const handleClick = props.onClick\n const generateButtonColor = () => {\n if (props.primary) {\n return 'btn btn--primary btn--sm outline-none cursor-pointer text-white shadow-none'\n } else {\n return 'btn btn--primary-outline btn--sm outline-none cursor-pointer'\n }\n }\n\n return({props.buttonText})\n}\n\nexport default XSButton\n","define(function () {\n \"use strict\";\n\n function nodeName(elem, name) {\n return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n }\n\n return nodeName;\n});","define(function () {\n \"use strict\"; // Only count HTML whitespace\n // Other whitespace should count in values\n // https://infra.spec.whatwg.org/#ascii-whitespace\n\n return /[^\\x20\\t\\r\\n\\f]+/g;\n});","import React, { useState } from 'react';\nimport InputBox from '../../modules/BasicElements/InputBox.js.jsx';\n\nconst DSInputBox = (props) => {\n const error_key = props.errorKey\n const [errors, setErrors] = useState({errors: { [error_key]: \"\" }})\n const [warnings, setWarnings] = useState({warnings: { [error_key]: \"\" }})\n const class_name = `${props.className} ${error_key}`\n\n\n return (\n \n );\n};\n\nexport default DSInputBox;\n","import lb_fetch from \"./Request\"\n\nconst DealerLoanRequests = (function() {\n\n const multipleOffersRequest = async (parent_id) => {\n let res = null\n let url = `/loan_applications/multiple_offers`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { parent_id }})\n }\n catch (error) {\n console.log('error in DealerLoans#multipleOffersRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const financialStatsRequest = async (lbid) => {\n let res = null\n let url = `/dealers/get_financial_stats_details`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { \"lbid\": lbid }})\n } catch (error) {\n console.log('error in DealerLoans#financialStatsRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const validationsRequest = async (lbid) => {\n let res = null\n let url = `/loan_applications/${lbid}/validations`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { }})\n } catch (error) {\n console.log('error in DealerLoans#validationsRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const sendLoanErrorsEmail = async (lbid) => {\n let res = null\n let url = `/loan_applications/${lbid}/send_loan_errors_email`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { }})\n } catch (error) {\n console.log('error in DealerLoans#sendLoanErrorsEmail');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const onRequestFunding = async (lbid) => {\n let res = null\n let url = `/dealers/requested_funding`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { 'lbid': lbid }})\n } catch (error) {\n console.log('error in DealerLoans#onRequestFunding');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const otherActionsStatusRequest = async (lbid) => {\n let res = null\n let url = `/dealers/other_actions_status/${lbid}`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { }})\n } catch (error) {\n console.log('error in DealerLoans#otherActionsStatusRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data\n }\n\n const qslSingleLoanRequest = async (loanId) => {\n let res = null\n let url = '/dealers/loans_search'\n const params_data = {\n \"search_keyword\": `${loanId}`,\n \"authenticity_token\": $('meta[name=\"csrf-token\"]').attr('content'),\n \"get_documents_data\": true,\n \"get_financial_stats\": true\n }\n\n try {\n res = await lb_fetch(url, { method: 'post', body: params_data })\n } catch (error) {\n console.log('error in DealerLoans#financialStatsRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return;\n }\n\n let data = await res.json()\n return data['loans'][0]\n }\n\n return {\n multipleOffersRequest,\n financialStatsRequest,\n validationsRequest,\n sendLoanErrorsEmail,\n onRequestFunding,\n otherActionsStatusRequest,\n qslSingleLoanRequest\n }\n})()\n\nexport default DealerLoanRequests\n","define(function () {\n \"use strict\"; // All support tests are defined in their respective modules.\n\n return {};\n});","define([\"../core\", \"../core/toType\", \"../var/isFunction\"], function (jQuery, toType, isFunction) {\n \"use strict\"; // Multifunctional method to get and set values of a collection\n // The value/s can optionally be executed if it's a function\n\n var access = function access(elems, fn, key, value, chainable, emptyGet, raw) {\n var i = 0,\n len = elems.length,\n bulk = key == null; // Sets many values\n\n if (toType(key) === \"object\") {\n chainable = true;\n\n for (i in key) {\n access(elems, fn, i, key[i], true, emptyGet, raw);\n } // Sets one value\n\n } else if (value !== undefined) {\n chainable = true;\n\n if (!isFunction(value)) {\n raw = true;\n }\n\n if (bulk) {\n // Bulk operations run against the entire set\n if (raw) {\n fn.call(elems, value);\n fn = null; // ...except when executing function values\n } else {\n bulk = fn;\n\n fn = function fn(elem, _key, value) {\n return bulk.call(jQuery(elem), value);\n };\n }\n }\n\n if (fn) {\n for (; i < len; i++) {\n fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));\n }\n }\n }\n\n if (chainable) {\n return elems;\n } // Gets\n\n\n if (bulk) {\n return fn.call(elems);\n }\n\n return len ? fn(elems[0], key) : emptyGet;\n };\n\n return access;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\ndefine([\"./core\", \"./var/document\", \"./var/isFunction\", \"./var/rnothtmlwhite\", \"./ajax/var/location\", \"./ajax/var/nonce\", \"./ajax/var/rquery\", \"./core/init\", \"./core/parseXML\", \"./event/trigger\", \"./deferred\", \"./serialize\" // jQuery.param\n], function (jQuery, document, isFunction, rnothtmlwhite, location, nonce, rquery) {\n \"use strict\";\n\n var r20 = /%20/g,\n rhash = /#.*$/,\n rantiCache = /([?&])_=[^&]*/,\n rheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n // #7653, #8125, #8152: local protocol detection\n rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n rnoContent = /^(?:GET|HEAD)$/,\n rprotocol = /^\\/\\//,\n\n /* Prefilters\n * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n * 2) These are called:\n * - BEFORE asking for a transport\n * - AFTER param serialization (s.data is a string if s.processData is true)\n * 3) key is the dataType\n * 4) the catchall symbol \"*\" can be used\n * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n */\n prefilters = {},\n\n /* Transports bindings\n * 1) key is the dataType\n * 2) the catchall symbol \"*\" can be used\n * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n */\n transports = {},\n // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n allTypes = \"*/\".concat(\"*\"),\n // Anchor tag for parsing the document origin\n originAnchor = document.createElement(\"a\");\n originAnchor.href = location.href; // Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\n\n function addToPrefiltersOrTransports(structure) {\n // dataTypeExpression is optional and defaults to \"*\"\n return function (dataTypeExpression, func) {\n if (typeof dataTypeExpression !== \"string\") {\n func = dataTypeExpression;\n dataTypeExpression = \"*\";\n }\n\n var dataType,\n i = 0,\n dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || [];\n\n if (isFunction(func)) {\n // For each dataType in the dataTypeExpression\n while (dataType = dataTypes[i++]) {\n // Prepend if requested\n if (dataType[0] === \"+\") {\n dataType = dataType.slice(1) || \"*\";\n (structure[dataType] = structure[dataType] || []).unshift(func); // Otherwise append\n } else {\n (structure[dataType] = structure[dataType] || []).push(func);\n }\n }\n }\n };\n } // Base inspection function for prefilters and transports\n\n\n function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {\n var inspected = {},\n seekingTransport = structure === transports;\n\n function inspect(dataType) {\n var selected;\n inspected[dataType] = true;\n jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {\n var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);\n\n if (typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[dataTypeOrTransport]) {\n options.dataTypes.unshift(dataTypeOrTransport);\n inspect(dataTypeOrTransport);\n return false;\n } else if (seekingTransport) {\n return !(selected = dataTypeOrTransport);\n }\n });\n return selected;\n }\n\n return inspect(options.dataTypes[0]) || !inspected[\"*\"] && inspect(\"*\");\n } // A special extend for ajax options\n // that takes \"flat\" options (not to be deep extended)\n // Fixes #9887\n\n\n function ajaxExtend(target, src) {\n var key,\n deep,\n flatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n for (key in src) {\n if (src[key] !== undefined) {\n (flatOptions[key] ? target : deep || (deep = {}))[key] = src[key];\n }\n }\n\n if (deep) {\n jQuery.extend(true, target, deep);\n }\n\n return target;\n }\n /* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\n\n\n function ajaxHandleResponses(s, jqXHR, responses) {\n var ct,\n type,\n finalDataType,\n firstDataType,\n contents = s.contents,\n dataTypes = s.dataTypes; // Remove auto dataType and get content-type in the process\n\n while (dataTypes[0] === \"*\") {\n dataTypes.shift();\n\n if (ct === undefined) {\n ct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n }\n } // Check if we're dealing with a known content-type\n\n\n if (ct) {\n for (type in contents) {\n if (contents[type] && contents[type].test(ct)) {\n dataTypes.unshift(type);\n break;\n }\n }\n } // Check to see if we have a response for the expected dataType\n\n\n if (dataTypes[0] in responses) {\n finalDataType = dataTypes[0];\n } else {\n // Try convertible dataTypes\n for (type in responses) {\n if (!dataTypes[0] || s.converters[type + \" \" + dataTypes[0]]) {\n finalDataType = type;\n break;\n }\n\n if (!firstDataType) {\n firstDataType = type;\n }\n } // Or just use first one\n\n\n finalDataType = finalDataType || firstDataType;\n } // If we found a dataType\n // We add the dataType to the list if needed\n // and return the corresponding response\n\n\n if (finalDataType) {\n if (finalDataType !== dataTypes[0]) {\n dataTypes.unshift(finalDataType);\n }\n\n return responses[finalDataType];\n }\n }\n /* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\n\n\n function ajaxConvert(s, response, jqXHR, isSuccess) {\n var conv2,\n current,\n conv,\n tmp,\n prev,\n converters = {},\n // Work with a copy of dataTypes in case we need to modify it for conversion\n dataTypes = s.dataTypes.slice(); // Create converters map with lowercased keys\n\n if (dataTypes[1]) {\n for (conv in s.converters) {\n converters[conv.toLowerCase()] = s.converters[conv];\n }\n }\n\n current = dataTypes.shift(); // Convert to each sequential dataType\n\n while (current) {\n if (s.responseFields[current]) {\n jqXHR[s.responseFields[current]] = response;\n } // Apply the dataFilter if provided\n\n\n if (!prev && isSuccess && s.dataFilter) {\n response = s.dataFilter(response, s.dataType);\n }\n\n prev = current;\n current = dataTypes.shift();\n\n if (current) {\n // There's only work to do if current dataType is non-auto\n if (current === \"*\") {\n current = prev; // Convert response if prev dataType is non-auto and differs from current\n } else if (prev !== \"*\" && prev !== current) {\n // Seek a direct converter\n conv = converters[prev + \" \" + current] || converters[\"* \" + current]; // If none found, seek a pair\n\n if (!conv) {\n for (conv2 in converters) {\n // If conv2 outputs current\n tmp = conv2.split(\" \");\n\n if (tmp[1] === current) {\n // If prev can be converted to accepted input\n conv = converters[prev + \" \" + tmp[0]] || converters[\"* \" + tmp[0]];\n\n if (conv) {\n // Condense equivalence converters\n if (conv === true) {\n conv = converters[conv2]; // Otherwise, insert the intermediate dataType\n } else if (converters[conv2] !== true) {\n current = tmp[0];\n dataTypes.unshift(tmp[1]);\n }\n\n break;\n }\n }\n }\n } // Apply converter (if not an equivalence)\n\n\n if (conv !== true) {\n // Unless errors are allowed to bubble, catch and return them\n if (conv && s.throws) {\n response = conv(response);\n } else {\n try {\n response = conv(response);\n } catch (e) {\n return {\n state: \"parsererror\",\n error: conv ? e : \"No conversion from \" + prev + \" to \" + current\n };\n }\n }\n }\n }\n }\n }\n\n return {\n state: \"success\",\n data: response\n };\n }\n\n jQuery.extend({\n // Counter for holding the number of active queries\n active: 0,\n // Last-Modified header cache for next request\n lastModified: {},\n etag: {},\n ajaxSettings: {\n url: location.href,\n type: \"GET\",\n isLocal: rlocalProtocol.test(location.protocol),\n global: true,\n processData: true,\n async: true,\n contentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n /*\n timeout: 0,\n data: null,\n dataType: null,\n username: null,\n password: null,\n cache: null,\n throws: false,\n traditional: false,\n headers: {},\n */\n accepts: {\n \"*\": allTypes,\n text: \"text/plain\",\n html: \"text/html\",\n xml: \"application/xml, text/xml\",\n json: \"application/json, text/javascript\"\n },\n contents: {\n xml: /\\bxml\\b/,\n html: /\\bhtml/,\n json: /\\bjson\\b/\n },\n responseFields: {\n xml: \"responseXML\",\n text: \"responseText\",\n json: \"responseJSON\"\n },\n // Data converters\n // Keys separate source (or catchall \"*\") and destination types with a single space\n converters: {\n // Convert anything to text\n \"* text\": String,\n // Text to html (true = no transformation)\n \"text html\": true,\n // Evaluate text as a json expression\n \"text json\": JSON.parse,\n // Parse text as xml\n \"text xml\": jQuery.parseXML\n },\n // For options that shouldn't be deep extended:\n // you can add your own custom options here if\n // and when you create one that shouldn't be\n // deep extended (see ajaxExtend)\n flatOptions: {\n url: true,\n context: true\n }\n },\n // Creates a full fledged settings object into target\n // with both ajaxSettings and settings fields.\n // If target is omitted, writes into ajaxSettings.\n ajaxSetup: function ajaxSetup(target, settings) {\n return settings ? // Building a settings object\n ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) : // Extending ajaxSettings\n ajaxExtend(jQuery.ajaxSettings, target);\n },\n ajaxPrefilter: addToPrefiltersOrTransports(prefilters),\n ajaxTransport: addToPrefiltersOrTransports(transports),\n // Main method\n ajax: function ajax(url, options) {\n // If url is an object, simulate pre-1.5 signature\n if (_typeof(url) === \"object\") {\n options = url;\n url = undefined;\n } // Force options to be an object\n\n\n options = options || {};\n\n var transport,\n // URL without anti-cache param\n cacheURL,\n // Response headers\n responseHeadersString,\n responseHeaders,\n // timeout handle\n timeoutTimer,\n // Url cleanup var\n urlAnchor,\n // Request state (becomes false upon send and true upon completion)\n completed,\n // To know if global events are to be dispatched\n fireGlobals,\n // Loop variable\n i,\n // uncached part of the url\n uncached,\n // Create the final options object\n s = jQuery.ajaxSetup({}, options),\n // Callbacks context\n callbackContext = s.context || s,\n // Context for global events is callbackContext if it is a DOM node or jQuery collection\n globalEventContext = s.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event,\n // Deferreds\n deferred = jQuery.Deferred(),\n completeDeferred = jQuery.Callbacks(\"once memory\"),\n // Status-dependent callbacks\n _statusCode = s.statusCode || {},\n // Headers (they are sent all at once)\n requestHeaders = {},\n requestHeadersNames = {},\n // Default abort message\n strAbort = \"canceled\",\n // Fake xhr\n jqXHR = {\n readyState: 0,\n // Builds headers hashtable if needed\n getResponseHeader: function getResponseHeader(key) {\n var match;\n\n if (completed) {\n if (!responseHeaders) {\n responseHeaders = {};\n\n while (match = rheaders.exec(responseHeadersString)) {\n responseHeaders[match[1].toLowerCase() + \" \"] = (responseHeaders[match[1].toLowerCase() + \" \"] || []).concat(match[2]);\n }\n }\n\n match = responseHeaders[key.toLowerCase() + \" \"];\n }\n\n return match == null ? null : match.join(\", \");\n },\n // Raw string\n getAllResponseHeaders: function getAllResponseHeaders() {\n return completed ? responseHeadersString : null;\n },\n // Caches the header\n setRequestHeader: function setRequestHeader(name, value) {\n if (completed == null) {\n name = requestHeadersNames[name.toLowerCase()] = requestHeadersNames[name.toLowerCase()] || name;\n requestHeaders[name] = value;\n }\n\n return this;\n },\n // Overrides response content-type header\n overrideMimeType: function overrideMimeType(type) {\n if (completed == null) {\n s.mimeType = type;\n }\n\n return this;\n },\n // Status-dependent callbacks\n statusCode: function statusCode(map) {\n var code;\n\n if (map) {\n if (completed) {\n // Execute the appropriate callbacks\n jqXHR.always(map[jqXHR.status]);\n } else {\n // Lazy-add the new callbacks in a way that preserves old ones\n for (code in map) {\n _statusCode[code] = [_statusCode[code], map[code]];\n }\n }\n }\n\n return this;\n },\n // Cancel the request\n abort: function abort(statusText) {\n var finalText = statusText || strAbort;\n\n if (transport) {\n transport.abort(finalText);\n }\n\n done(0, finalText);\n return this;\n }\n }; // Attach deferreds\n\n\n deferred.promise(jqXHR); // Add protocol if not provided (prefilters might expect it)\n // Handle falsy url in the settings object (#10093: consistency with old signature)\n // We also use the url parameter if available\n\n s.url = ((url || s.url || location.href) + \"\").replace(rprotocol, location.protocol + \"//\"); // Alias method option to type as per ticket #12004\n\n s.type = options.method || options.type || s.method || s.type; // Extract dataTypes list\n\n s.dataTypes = (s.dataType || \"*\").toLowerCase().match(rnothtmlwhite) || [\"\"]; // A cross-domain request is in order when the origin doesn't match the current origin.\n\n if (s.crossDomain == null) {\n urlAnchor = document.createElement(\"a\"); // Support: IE <=8 - 11, Edge 12 - 15\n // IE throws exception on accessing the href property if url is malformed,\n // e.g. http://example.com:80x/\n\n try {\n urlAnchor.href = s.url; // Support: IE <=8 - 11 only\n // Anchor's host property isn't correctly set when s.url is relative\n\n urlAnchor.href = urlAnchor.href;\n s.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !== urlAnchor.protocol + \"//\" + urlAnchor.host;\n } catch (e) {\n // If there is an error parsing the URL, assume it is crossDomain,\n // it can be rejected by the transport if it is invalid\n s.crossDomain = true;\n }\n } // Convert data if not already a string\n\n\n if (s.data && s.processData && typeof s.data !== \"string\") {\n s.data = jQuery.param(s.data, s.traditional);\n } // Apply prefilters\n\n\n inspectPrefiltersOrTransports(prefilters, s, options, jqXHR); // If request was aborted inside a prefilter, stop there\n\n if (completed) {\n return jqXHR;\n } // We can fire global events as of now if asked to\n // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\n\n fireGlobals = jQuery.event && s.global; // Watch for a new set of requests\n\n if (fireGlobals && jQuery.active++ === 0) {\n jQuery.event.trigger(\"ajaxStart\");\n } // Uppercase the type\n\n\n s.type = s.type.toUpperCase(); // Determine if request has content\n\n s.hasContent = !rnoContent.test(s.type); // Save the URL in case we're toying with the If-Modified-Since\n // and/or If-None-Match header later on\n // Remove hash to simplify url manipulation\n\n cacheURL = s.url.replace(rhash, \"\"); // More options handling for requests with no content\n\n if (!s.hasContent) {\n // Remember the hash so we can put it back\n uncached = s.url.slice(cacheURL.length); // If data is available and should be processed, append data to url\n\n if (s.data && (s.processData || typeof s.data === \"string\")) {\n cacheURL += (rquery.test(cacheURL) ? \"&\" : \"?\") + s.data; // #9682: remove data so that it's not used in an eventual retry\n\n delete s.data;\n } // Add or update anti-cache param if needed\n\n\n if (s.cache === false) {\n cacheURL = cacheURL.replace(rantiCache, \"$1\");\n uncached = (rquery.test(cacheURL) ? \"&\" : \"?\") + \"_=\" + nonce.guid++ + uncached;\n } // Put hash and anti-cache on the URL that will be requested (gh-1732)\n\n\n s.url = cacheURL + uncached; // Change '%20' to '+' if this is encoded form body content (gh-2658)\n } else if (s.data && s.processData && (s.contentType || \"\").indexOf(\"application/x-www-form-urlencoded\") === 0) {\n s.data = s.data.replace(r20, \"+\");\n } // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\n\n if (s.ifModified) {\n if (jQuery.lastModified[cacheURL]) {\n jqXHR.setRequestHeader(\"If-Modified-Since\", jQuery.lastModified[cacheURL]);\n }\n\n if (jQuery.etag[cacheURL]) {\n jqXHR.setRequestHeader(\"If-None-Match\", jQuery.etag[cacheURL]);\n }\n } // Set the correct header, if data is being sent\n\n\n if (s.data && s.hasContent && s.contentType !== false || options.contentType) {\n jqXHR.setRequestHeader(\"Content-Type\", s.contentType);\n } // Set the Accepts header for the server, depending on the dataType\n\n\n jqXHR.setRequestHeader(\"Accept\", s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + (s.dataTypes[0] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\") : s.accepts[\"*\"]); // Check for headers option\n\n for (i in s.headers) {\n jqXHR.setRequestHeader(i, s.headers[i]);\n } // Allow custom headers/mimetypes and early abort\n\n\n if (s.beforeSend && (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed)) {\n // Abort if not done already and return\n return jqXHR.abort();\n } // Aborting is no longer a cancellation\n\n\n strAbort = \"abort\"; // Install callbacks on deferreds\n\n completeDeferred.add(s.complete);\n jqXHR.done(s.success);\n jqXHR.fail(s.error); // Get transport\n\n transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR); // If no transport, we auto-abort\n\n if (!transport) {\n done(-1, \"No Transport\");\n } else {\n jqXHR.readyState = 1; // Send global event\n\n if (fireGlobals) {\n globalEventContext.trigger(\"ajaxSend\", [jqXHR, s]);\n } // If request was aborted inside ajaxSend, stop there\n\n\n if (completed) {\n return jqXHR;\n } // Timeout\n\n\n if (s.async && s.timeout > 0) {\n timeoutTimer = window.setTimeout(function () {\n jqXHR.abort(\"timeout\");\n }, s.timeout);\n }\n\n try {\n completed = false;\n transport.send(requestHeaders, done);\n } catch (e) {\n // Rethrow post-completion exceptions\n if (completed) {\n throw e;\n } // Propagate others as results\n\n\n done(-1, e);\n }\n } // Callback for when everything is done\n\n\n function done(status, nativeStatusText, responses, headers) {\n var isSuccess,\n success,\n error,\n response,\n modified,\n statusText = nativeStatusText; // Ignore repeat invocations\n\n if (completed) {\n return;\n }\n\n completed = true; // Clear timeout if it exists\n\n if (timeoutTimer) {\n window.clearTimeout(timeoutTimer);\n } // Dereference transport for early garbage collection\n // (no matter how long the jqXHR object will be used)\n\n\n transport = undefined; // Cache response headers\n\n responseHeadersString = headers || \"\"; // Set readyState\n\n jqXHR.readyState = status > 0 ? 4 : 0; // Determine if successful\n\n isSuccess = status >= 200 && status < 300 || status === 304; // Get response data\n\n if (responses) {\n response = ajaxHandleResponses(s, jqXHR, responses);\n } // Use a noop converter for missing script but not if jsonp\n\n\n if (!isSuccess && jQuery.inArray(\"script\", s.dataTypes) > -1 && jQuery.inArray(\"json\", s.dataTypes) < 0) {\n s.converters[\"text script\"] = function () {};\n } // Convert no matter what (that way responseXXX fields are always set)\n\n\n response = ajaxConvert(s, response, jqXHR, isSuccess); // If successful, handle type chaining\n\n if (isSuccess) {\n // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n if (s.ifModified) {\n modified = jqXHR.getResponseHeader(\"Last-Modified\");\n\n if (modified) {\n jQuery.lastModified[cacheURL] = modified;\n }\n\n modified = jqXHR.getResponseHeader(\"etag\");\n\n if (modified) {\n jQuery.etag[cacheURL] = modified;\n }\n } // if no content\n\n\n if (status === 204 || s.type === \"HEAD\") {\n statusText = \"nocontent\"; // if not modified\n } else if (status === 304) {\n statusText = \"notmodified\"; // If we have data, let's convert it\n } else {\n statusText = response.state;\n success = response.data;\n error = response.error;\n isSuccess = !error;\n }\n } else {\n // Extract error from statusText and normalize for non-aborts\n error = statusText;\n\n if (status || !statusText) {\n statusText = \"error\";\n\n if (status < 0) {\n status = 0;\n }\n }\n } // Set data for the fake xhr object\n\n\n jqXHR.status = status;\n jqXHR.statusText = (nativeStatusText || statusText) + \"\"; // Success/Error\n\n if (isSuccess) {\n deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);\n } else {\n deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);\n } // Status-dependent callbacks\n\n\n jqXHR.statusCode(_statusCode);\n _statusCode = undefined;\n\n if (fireGlobals) {\n globalEventContext.trigger(isSuccess ? \"ajaxSuccess\" : \"ajaxError\", [jqXHR, s, isSuccess ? success : error]);\n } // Complete\n\n\n completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);\n\n if (fireGlobals) {\n globalEventContext.trigger(\"ajaxComplete\", [jqXHR, s]); // Handle the global AJAX counter\n\n if (! --jQuery.active) {\n jQuery.event.trigger(\"ajaxStop\");\n }\n }\n }\n\n return jqXHR;\n },\n getJSON: function getJSON(url, data, callback) {\n return jQuery.get(url, data, callback, \"json\");\n },\n getScript: function getScript(url, callback) {\n return jQuery.get(url, undefined, callback, \"script\");\n }\n });\n jQuery.each([\"get\", \"post\"], function (_i, method) {\n jQuery[method] = function (url, data, callback, type) {\n // Shift arguments if data argument was omitted\n if (isFunction(data)) {\n type = type || callback;\n callback = data;\n data = undefined;\n } // The url can be an options object (which then must have .url)\n\n\n return jQuery.ajax(jQuery.extend({\n url: url,\n type: method,\n dataType: type,\n data: data,\n success: callback\n }, jQuery.isPlainObject(url) && url));\n };\n });\n jQuery.ajaxPrefilter(function (s) {\n var i;\n\n for (i in s.headers) {\n if (i.toLowerCase() === \"content-type\") {\n s.contentType = s.headers[i] || \"\";\n }\n }\n });\n return jQuery;\n});","const Education = (function(){\n const HIGH_SCHOOL = Symbol(\"high_school\")\n const ASSOCIATE = Symbol(\"associate\")\n const BACHELORS = Symbol(\"bachelors\")\n const MASTERS = Symbol(\"masters\")\n const DOCTORATE = Symbol(\"doctorate\")\n\n const LEVELS = {\n [HIGH_SCHOOL]: {\n level: HIGH_SCHOOL,\n score: 0,\n name: \"High School / GED\",\n degrees: [\"High School / GED\"],\n defaultDegree: \"High School / GED\",\n regex: /(high( school)?|school|ged)/gi,\n },\n [ASSOCIATE]: {\n level: ASSOCIATE,\n score: 1,\n name: \"Associate Degree\",\n displayName: \"Associate / Certificate Degree\",\n degrees: [\"A.A.\", \"A.S.\", \"A.E.\"],\n defaultDegree: \"A.S.\",\n regex: /associate/gi,\n },\n [BACHELORS]: {\n level: BACHELORS,\n score: 2,\n name: \"Bachelor Degree\",\n degrees: [\"B.Arch.\",\"B.A.\",\"B.B.A.\",\"B.F.A.\",\"LL.B.\",\"B.S.\"],\n defaultDegree: \"B.S.\",\n regex: /bachelor/gi,\n },\n [MASTERS]: {\n level: MASTERS,\n score: 3,\n name: \"Masters Degree\",\n degrees: [\"M.A.\",\"M.B.A.\",\"M.F.A.\",\"LL.M.\",\"M.Phil.\",\"M.Res.\",\"M.S.\"],\n defaultDegree: \"M.S.\",\n regex: /master/gi,\n },\n [DOCTORATE]: {\n level: DOCTORATE,\n score: 4,\n name: \"Doctorate / M.D.\",\n degrees: [\"Ed.D.\",\"M.D.\",\"Ph.D.\",\"J.D.\"],\n defaultDegree: \"Ph.D.\",\n regex: /doctor(ate)?/gi,\n },\n };\n\n const forEachLevel = (callback) => {\n Object.getOwnPropertySymbols(LEVELS).forEach(levelKey => {\n callback(LEVELS[levelKey], levelKey)\n })\n };\n\n const getDegreeMapping = ({name, degrees, level, score}) => degrees.map(d => ({degree: d, name, level, score}))\n\n const getEducationLevels = () => {\n const levels = []\n\n forEachLevel(level => {\n levels.push({\n ...level,\n displayName: level.displayName || level.name,\n })\n })\n\n return levels\n };\n\n const getDegreeToLevelMap = () => {\n const map = []\n\n forEachLevel(level => {\n getDegreeMapping(level).map(degree => map.push(degree))\n })\n\n return map\n }\n\n const getEducationOptions = () => {\n return getEducationLevels().map(level => [level.displayName, level.defaultDegree])\n }\n\n const getEducationLevelByDegree = (degree) => {\n if(typeof degree !== \"string\") {\n return null\n }\n\n for(const level of Object.getOwnPropertySymbols(LEVELS)) {\n if(\n degree.match(LEVELS[level].regex) ||\n LEVELS[level].degrees.includes(degree)\n ){\n return LEVELS[level];\n }\n }\n\n return null\n }\n\n const getLowestEducationLevel = () => {\n let lowestLevel = LEVELS[HIGH_SCHOOL];\n\n for(const level of Object.getOwnPropertySymbols(LEVELS)) {\n if(lowestLevel.score > LEVELS[level].score){\n lowestLevel = LEVELS[level]\n }\n }\n\n return lowestLevel;\n }\n\n return {\n getEducationLevels, \n getDegreeToLevelMap, \n getEducationOptions, \n getEducationLevelByDegree, \n getLowestEducationLevel,\n HIGH_SCHOOL,\n ASSOCIATE,\n BACHELORS,\n MASTERS,\n DOCTORATE\n };\n})();\n\nexport default Education;\n","const UrlHelper = (function() {\n\n const getParamsFromURL = (key) => {\n const url = new URL(window.decodeURIComponent(window.location.href));\n return url.searchParams.get(key)\n }\n\n const getHashValue = () => {\n let hash_value = window.location.hash\n let value_array = hash_value.split(\"#\")\n if (value_array.length < 2) {\n return null\n }\n\n return value_array[1]\n }\n\n const updateHashValue = (hash_value) => {\n history.replaceState(null, null, `${document.location.pathname}${document.location.search}#${hash_value}`);\n }\n\n const getValuefromHash = (key) => {\n let hash_value = window.location.hash\n let value_array = hash_value.split(\"#\")\n\n if (value_array.length < 2) {\n return\n }\n\n let params_string = value_array[1]\n let params_string_array = params_string.split('=')\n if (params_string_array.length != 2) {\n return\n }\n\n if (params_string_array[0] != key || !params_string_array[1].trim()) {\n return\n }\n\n return params_string_array[1]\n }\n\n const addTohash = (key, value) => {\n let values = getValuefromHash(key) || \"\"\n if (values) {\n values = values.split(',')\n }\n else {\n values = []\n }\n if (values.includes(value.toString())) {\n return\n }\n values.push(value)\n let values_string = values.join(',')\n history.replaceState(null, null, `${document.location.pathname}${document.location.search}#loan=${values_string}`);\n }\n\n const removeFromHash = (key, value) => {\n let values = getValuefromHash(key) || \"\"\n values = values.split(',')\n value = value.toString()\n if (!values.includes(value)) {\n return\n }\n values.splice(values.indexOf(value), 1)\n if (!values.length) {\n history.replaceState(null, null, `${document.location.pathname}${document.location.search}`);\n return\n }\n let values_string = values.join(',')\n history.replaceState(null, null, `${document.location.pathname}#loan=${values_string}${document.location.search}`);\n }\n\n const clearHash = () => {\n history.replaceState(null, null, `${document.location.pathname}${document.location.search}`);\n }\n\n return {\n getHashValue, updateHashValue, getValuefromHash, addTohash, removeFromHash, clearHash, getParamsFromURL\n }\n})()\n\nexport default UrlHelper\n","const calcLTV = (_l, _v) => {\n return (Common.convert_to_number(_l)*100)/Common.convert_to_number(_v)\n}\n\nconst ltvType = (form) => {\n const dynamic_rules = form['dynamic_rules'] || {}\n if (dynamic_rules['incr_ltv_enabled']) {\n return 'multiple_ltv'\n }\n\n return 'max_ltv'\n}\n\nconst frontendLimit = (ltv_data) => {\n const has_no_limit = !ltv_data['frontend_ltv_limit'] && ltv_data['frontend_ltv_limit'] != 0\n const frontend_limit_limit_perc = has_no_limit ? Infinity : ltv_data['frontend_ltv_limit']\n return calcAmount(frontend_limit_limit_perc, ltv_data)\n}\n\n\nconst frontendLTV = (ltv_data) => {\n const frontend_ltv_perc = ltv_data['frontend_ltv'] || 0\n return calcAmount(frontend_ltv_perc, ltv_data)\n}\n\nconst backendLimit = (ltv_data) => {\n const has_no_limit = !ltv_data['backend_ltv_limit'] && ltv_data['backend_ltv_limit'] != 0\n const backend_limit_limit_perc = has_no_limit ? Infinity : ltv_data['backend_ltv_limit']\n return calcAmount(backend_limit_limit_perc, ltv_data)\n}\n\nconst backendLTV = (ltv_data) => {\n const backend_ltv_perc = ltv_data['backend_ltv'] || 0\n return calcAmount(backend_ltv_perc, ltv_data)\n}\n\nconst ltvPerc = (form) => {\n const ltv_data = form['pre_approval_dynamic_rules_check'] || {}\n const ltv_type = ltvType(form)\n if (ltv_type == 'max_ltv') {\n return ltv_data['ltv']\n }\n\n const frontend_ltv = ltv_data['frontend_ltv'] || 0\n const backend_ltv = ltv_data['backend_ltv'] || 0\n const percentage = frontend_ltv + backend_ltv\n return percentage\n}\n\nconst ltvLimit = (form) => {\n const ltv_data = form['pre_approval_dynamic_rules_check'] || {}\n\n const ltv_type = ltvType(form)\n if (ltv_type == 'max_ltv') {\n const has_no_limit = !ltv_data['ltv_limit'] && ltv_data['ltv_limit'] != 0\n const _ltv = has_no_limit ? Infinity : ltv_data['ltv_limit']\n const _ltv_amount = calcAmount(_ltv, ltv_data)\n return {\n percentage: _ltv,\n amount: _ltv_amount\n }\n }\n\n const frontend_limit_limit_perc = ltv_data['frontend_ltv_limit'] || Infinity\n const backend_limit_limit_perc = ltv_data['backend_ltv_limit'] || Infinity\n const percentage = frontend_limit_limit_perc + backend_limit_limit_perc\n const amount = calcAmount(percentage, ltv_data)\n\n return {\n percentage, amount\n }\n}\n\nconst calcAmount = (perc, ltv_data) => {\n perc = perc || 0\n const asset_value = ltv_data['ltv_asset_value'] || 0\n const amount = Number(perc*asset_value/100)\n return amount\n}\n\nexport {\n ltvType, frontendLimit, frontendLTV, ltvLimit, backendLimit, backendLTV, ltvPerc, calcLTV\n}\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\ndefine([\"../var/class2type\", \"../var/toString\"], function (class2type, toString) {\n \"use strict\";\n\n function toType(obj) {\n if (obj == null) {\n return obj + \"\";\n } // Support: Android <=2.3 only (functionish RegExp)\n\n\n return _typeof(obj) === \"object\" || typeof obj === \"function\" ? class2type[toString.call(obj)] || \"object\" : _typeof(obj);\n }\n\n return toType;\n});","define([\"./core\", \"./var/getProto\", \"./var/indexOf\", \"./traversing/var/dir\", \"./traversing/var/siblings\", \"./traversing/var/rneedsContext\", \"./core/nodeName\", \"./core/init\", \"./traversing/findFilter\", \"./selector\"], function (jQuery, getProto, indexOf, dir, _siblings, rneedsContext, nodeName) {\n \"use strict\";\n\n var rparentsprev = /^(?:parents|prev(?:Until|All))/,\n // Methods guaranteed to produce a unique set when starting from a unique set\n guaranteedUnique = {\n children: true,\n contents: true,\n next: true,\n prev: true\n };\n jQuery.fn.extend({\n has: function has(target) {\n var targets = jQuery(target, this),\n l = targets.length;\n return this.filter(function () {\n var i = 0;\n\n for (; i < l; i++) {\n if (jQuery.contains(this, targets[i])) {\n return true;\n }\n }\n });\n },\n closest: function closest(selectors, context) {\n var cur,\n i = 0,\n l = this.length,\n matched = [],\n targets = typeof selectors !== \"string\" && jQuery(selectors); // Positional selectors never match, since there's no _selection_ context\n\n if (!rneedsContext.test(selectors)) {\n for (; i < l; i++) {\n for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {\n // Always skip document fragments\n if (cur.nodeType < 11 && (targets ? targets.index(cur) > -1 : // Don't pass non-elements to Sizzle\n cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors))) {\n matched.push(cur);\n break;\n }\n }\n }\n }\n\n return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched);\n },\n // Determine the position of an element within the set\n index: function index(elem) {\n // No argument, return index in parent\n if (!elem) {\n return this[0] && this[0].parentNode ? this.first().prevAll().length : -1;\n } // Index in selector\n\n\n if (typeof elem === \"string\") {\n return indexOf.call(jQuery(elem), this[0]);\n } // Locate the position of the desired element\n\n\n return indexOf.call(this, // If it receives a jQuery object, the first element is used\n elem.jquery ? elem[0] : elem);\n },\n add: function add(selector, context) {\n return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(), jQuery(selector, context))));\n },\n addBack: function addBack(selector) {\n return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector));\n }\n });\n\n function sibling(cur, dir) {\n while ((cur = cur[dir]) && cur.nodeType !== 1) {}\n\n return cur;\n }\n\n jQuery.each({\n parent: function parent(elem) {\n var parent = elem.parentNode;\n return parent && parent.nodeType !== 11 ? parent : null;\n },\n parents: function parents(elem) {\n return dir(elem, \"parentNode\");\n },\n parentsUntil: function parentsUntil(elem, _i, until) {\n return dir(elem, \"parentNode\", until);\n },\n next: function next(elem) {\n return sibling(elem, \"nextSibling\");\n },\n prev: function prev(elem) {\n return sibling(elem, \"previousSibling\");\n },\n nextAll: function nextAll(elem) {\n return dir(elem, \"nextSibling\");\n },\n prevAll: function prevAll(elem) {\n return dir(elem, \"previousSibling\");\n },\n nextUntil: function nextUntil(elem, _i, until) {\n return dir(elem, \"nextSibling\", until);\n },\n prevUntil: function prevUntil(elem, _i, until) {\n return dir(elem, \"previousSibling\", until);\n },\n siblings: function siblings(elem) {\n return _siblings((elem.parentNode || {}).firstChild, elem);\n },\n children: function children(elem) {\n return _siblings(elem.firstChild);\n },\n contents: function contents(elem) {\n if (elem.contentDocument != null && // Support: IE 11+\n // elements with no `data` attribute has an object\n // `contentDocument` with a `null` prototype.\n getProto(elem.contentDocument)) {\n return elem.contentDocument;\n } // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n // Treat the template element as a regular one in browsers that\n // don't support it.\n\n\n if (nodeName(elem, \"template\")) {\n elem = elem.content || elem;\n }\n\n return jQuery.merge([], elem.childNodes);\n }\n }, function (name, fn) {\n jQuery.fn[name] = function (until, selector) {\n var matched = jQuery.map(this, fn, until);\n\n if (name.slice(-5) !== \"Until\") {\n selector = until;\n }\n\n if (selector && typeof selector === \"string\") {\n matched = jQuery.filter(selector, matched);\n }\n\n if (this.length > 1) {\n // Remove duplicates\n if (!guaranteedUnique[name]) {\n jQuery.uniqueSort(matched);\n } // Reverse order for parents* and prev-derivatives\n\n\n if (rparentsprev.test(name)) {\n matched.reverse();\n }\n }\n\n return this.pushStack(matched);\n };\n });\n return jQuery;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\ndefine([\"./core\", \"./var/isFunction\", \"./var/slice\", \"./callbacks\"], function (jQuery, isFunction, slice) {\n \"use strict\";\n\n function Identity(v) {\n return v;\n }\n\n function Thrower(ex) {\n throw ex;\n }\n\n function adoptValue(value, resolve, reject, noValue) {\n var method;\n\n try {\n // Check for promise aspect first to privilege synchronous behavior\n if (value && isFunction(method = value.promise)) {\n method.call(value).done(resolve).fail(reject); // Other thenables\n } else if (value && isFunction(method = value.then)) {\n method.call(value, resolve, reject); // Other non-thenables\n } else {\n // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n // * false: [ value ].slice( 0 ) => resolve( value )\n // * true: [ value ].slice( 1 ) => resolve()\n resolve.apply(undefined, [value].slice(noValue));\n } // For Promises/A+, convert exceptions into rejections\n // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n // Deferred#then to conditionally suppress rejection.\n\n } catch (value) {\n // Support: Android 4.0 only\n // Strict mode functions invoked without .call/.apply get global-object context\n reject.apply(undefined, [value]);\n }\n }\n\n jQuery.extend({\n Deferred: function Deferred(func) {\n var tuples = [// action, add listener, callbacks,\n // ... .then handlers, argument index, [final state]\n [\"notify\", \"progress\", jQuery.Callbacks(\"memory\"), jQuery.Callbacks(\"memory\"), 2], [\"resolve\", \"done\", jQuery.Callbacks(\"once memory\"), jQuery.Callbacks(\"once memory\"), 0, \"resolved\"], [\"reject\", \"fail\", jQuery.Callbacks(\"once memory\"), jQuery.Callbacks(\"once memory\"), 1, \"rejected\"]],\n _state = \"pending\",\n _promise = {\n state: function state() {\n return _state;\n },\n always: function always() {\n deferred.done(arguments).fail(arguments);\n return this;\n },\n \"catch\": function _catch(fn) {\n return _promise.then(null, fn);\n },\n // Keep pipe for back-compat\n pipe: function pipe() {\n var fns = arguments;\n return jQuery.Deferred(function (newDefer) {\n jQuery.each(tuples, function (_i, tuple) {\n // Map tuples (progress, done, fail) to arguments (done, fail, progress)\n var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]]; // deferred.progress(function() { bind to newDefer or newDefer.notify })\n // deferred.done(function() { bind to newDefer or newDefer.resolve })\n // deferred.fail(function() { bind to newDefer or newDefer.reject })\n\n deferred[tuple[1]](function () {\n var returned = fn && fn.apply(this, arguments);\n\n if (returned && isFunction(returned.promise)) {\n returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject);\n } else {\n newDefer[tuple[0] + \"With\"](this, fn ? [returned] : arguments);\n }\n });\n });\n fns = null;\n }).promise();\n },\n then: function then(onFulfilled, onRejected, onProgress) {\n var maxDepth = 0;\n\n function resolve(depth, deferred, handler, special) {\n return function () {\n var that = this,\n args = arguments,\n mightThrow = function mightThrow() {\n var returned, then; // Support: Promises/A+ section 2.3.3.3.3\n // https://promisesaplus.com/#point-59\n // Ignore double-resolution attempts\n\n if (depth < maxDepth) {\n return;\n }\n\n returned = handler.apply(that, args); // Support: Promises/A+ section 2.3.1\n // https://promisesaplus.com/#point-48\n\n if (returned === deferred.promise()) {\n throw new TypeError(\"Thenable self-resolution\");\n } // Support: Promises/A+ sections 2.3.3.1, 3.5\n // https://promisesaplus.com/#point-54\n // https://promisesaplus.com/#point-75\n // Retrieve `then` only once\n\n\n then = returned && (_typeof(returned) === \"object\" || typeof returned === \"function\") && returned.then; // Handle a returned thenable\n\n if (isFunction(then)) {\n // Special processors (notify) just wait for resolution\n if (special) {\n then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special)); // Normal processors (resolve) also hook into progress\n } else {\n // ...and disregard older resolution values\n maxDepth++;\n then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special), resolve(maxDepth, deferred, Identity, deferred.notifyWith));\n } // Handle all other returned values\n\n } else {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Identity) {\n that = undefined;\n args = [returned];\n } // Process the value(s)\n // Default process is resolve\n\n\n (special || deferred.resolveWith)(that, args);\n }\n },\n // Only normal processors (resolve) catch and reject exceptions\n process = special ? mightThrow : function () {\n try {\n mightThrow();\n } catch (e) {\n if (jQuery.Deferred.exceptionHook) {\n jQuery.Deferred.exceptionHook(e, process.stackTrace);\n } // Support: Promises/A+ section 2.3.3.3.4.1\n // https://promisesaplus.com/#point-61\n // Ignore post-resolution exceptions\n\n\n if (depth + 1 >= maxDepth) {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Thrower) {\n that = undefined;\n args = [e];\n }\n\n deferred.rejectWith(that, args);\n }\n }\n }; // Support: Promises/A+ section 2.3.3.3.1\n // https://promisesaplus.com/#point-57\n // Re-resolve promises immediately to dodge false rejection from\n // subsequent errors\n\n\n if (depth) {\n process();\n } else {\n // Call an optional hook to record the stack, in case of exception\n // since it's otherwise lost when execution goes async\n if (jQuery.Deferred.getStackHook) {\n process.stackTrace = jQuery.Deferred.getStackHook();\n }\n\n window.setTimeout(process);\n }\n };\n }\n\n return jQuery.Deferred(function (newDefer) {\n // progress_handlers.add( ... )\n tuples[0][3].add(resolve(0, newDefer, isFunction(onProgress) ? onProgress : Identity, newDefer.notifyWith)); // fulfilled_handlers.add( ... )\n\n tuples[1][3].add(resolve(0, newDefer, isFunction(onFulfilled) ? onFulfilled : Identity)); // rejected_handlers.add( ... )\n\n tuples[2][3].add(resolve(0, newDefer, isFunction(onRejected) ? onRejected : Thrower));\n }).promise();\n },\n // Get a promise for this deferred\n // If obj is provided, the promise aspect is added to the object\n promise: function promise(obj) {\n return obj != null ? jQuery.extend(obj, _promise) : _promise;\n }\n },\n deferred = {}; // Add list-specific methods\n\n jQuery.each(tuples, function (i, tuple) {\n var list = tuple[2],\n stateString = tuple[5]; // promise.progress = list.add\n // promise.done = list.add\n // promise.fail = list.add\n\n _promise[tuple[1]] = list.add; // Handle state\n\n if (stateString) {\n list.add(function () {\n // state = \"resolved\" (i.e., fulfilled)\n // state = \"rejected\"\n _state = stateString;\n }, // rejected_callbacks.disable\n // fulfilled_callbacks.disable\n tuples[3 - i][2].disable, // rejected_handlers.disable\n // fulfilled_handlers.disable\n tuples[3 - i][3].disable, // progress_callbacks.lock\n tuples[0][2].lock, // progress_handlers.lock\n tuples[0][3].lock);\n } // progress_handlers.fire\n // fulfilled_handlers.fire\n // rejected_handlers.fire\n\n\n list.add(tuple[3].fire); // deferred.notify = function() { deferred.notifyWith(...) }\n // deferred.resolve = function() { deferred.resolveWith(...) }\n // deferred.reject = function() { deferred.rejectWith(...) }\n\n deferred[tuple[0]] = function () {\n deferred[tuple[0] + \"With\"](this === deferred ? undefined : this, arguments);\n return this;\n }; // deferred.notifyWith = list.fireWith\n // deferred.resolveWith = list.fireWith\n // deferred.rejectWith = list.fireWith\n\n\n deferred[tuple[0] + \"With\"] = list.fireWith;\n }); // Make the deferred a promise\n\n _promise.promise(deferred); // Call given func if any\n\n\n if (func) {\n func.call(deferred, deferred);\n } // All done!\n\n\n return deferred;\n },\n // Deferred helper\n when: function when(singleValue) {\n var // count of uncompleted subordinates\n remaining = arguments.length,\n // count of unprocessed arguments\n i = remaining,\n // subordinate fulfillment data\n resolveContexts = Array(i),\n resolveValues = slice.call(arguments),\n // the primary Deferred\n primary = jQuery.Deferred(),\n // subordinate callback factory\n updateFunc = function updateFunc(i) {\n return function (value) {\n resolveContexts[i] = this;\n resolveValues[i] = arguments.length > 1 ? slice.call(arguments) : value;\n\n if (! --remaining) {\n primary.resolveWith(resolveContexts, resolveValues);\n }\n };\n }; // Single- and empty arguments are adopted like Promise.resolve\n\n\n if (remaining <= 1) {\n adoptValue(singleValue, primary.done(updateFunc(i)).resolve, primary.reject, !remaining); // Use .then() to unwrap secondary thenables (cf. gh-3000)\n\n if (primary.state() === \"pending\" || isFunction(resolveValues[i] && resolveValues[i].then)) {\n return primary.then();\n }\n } // Multiple arguments are aggregated like Promise.all array elements\n\n\n while (i--) {\n adoptValue(resolveValues[i], updateFunc(i), primary.reject);\n }\n\n return primary.promise();\n }\n });\n return jQuery;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\ndefine([\"./core\", \"./var/document\", \"./var/documentElement\", \"./var/isFunction\", \"./var/rnothtmlwhite\", \"./var/rcheckableType\", \"./var/slice\", \"./data/var/acceptData\", \"./data/var/dataPriv\", \"./core/nodeName\", \"./core/init\", \"./selector\"], function (jQuery, document, documentElement, isFunction, rnothtmlwhite, rcheckableType, slice, acceptData, dataPriv, nodeName) {\n \"use strict\";\n\n var rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\n function returnTrue() {\n return true;\n }\n\n function returnFalse() {\n return false;\n } // Support: IE <=9 - 11+\n // focus() and blur() are asynchronous, except when they are no-op.\n // So expect focus to be synchronous when the element is already active,\n // and blur to be synchronous when the element is not already active.\n // (focus and blur are always synchronous in other supported browsers,\n // this just defines when we can count on it).\n\n\n function expectSync(elem, type) {\n return elem === safeActiveElement() === (type === \"focus\");\n } // Support: IE <=9 only\n // Accessing document.activeElement can throw unexpectedly\n // https://bugs.jquery.com/ticket/13393\n\n\n function safeActiveElement() {\n try {\n return document.activeElement;\n } catch (err) {}\n }\n\n function _on(elem, types, selector, data, fn, one) {\n var origFn, type; // Types can be a map of types/handlers\n\n if (_typeof(types) === \"object\") {\n // ( types-Object, selector, data )\n if (typeof selector !== \"string\") {\n // ( types-Object, data )\n data = data || selector;\n selector = undefined;\n }\n\n for (type in types) {\n _on(elem, type, selector, data, types[type], one);\n }\n\n return elem;\n }\n\n if (data == null && fn == null) {\n // ( types, fn )\n fn = selector;\n data = selector = undefined;\n } else if (fn == null) {\n if (typeof selector === \"string\") {\n // ( types, selector, fn )\n fn = data;\n data = undefined;\n } else {\n // ( types, data, fn )\n fn = data;\n data = selector;\n selector = undefined;\n }\n }\n\n if (fn === false) {\n fn = returnFalse;\n } else if (!fn) {\n return elem;\n }\n\n if (one === 1) {\n origFn = fn;\n\n fn = function fn(event) {\n // Can use an empty set, since event contains the info\n jQuery().off(event);\n return origFn.apply(this, arguments);\n }; // Use same guid so caller can remove using origFn\n\n\n fn.guid = origFn.guid || (origFn.guid = jQuery.guid++);\n }\n\n return elem.each(function () {\n jQuery.event.add(this, types, fn, data, selector);\n });\n }\n /*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\n\n\n jQuery.event = {\n global: {},\n add: function add(elem, types, handler, data, selector) {\n var handleObjIn,\n eventHandle,\n tmp,\n events,\n t,\n handleObj,\n special,\n handlers,\n type,\n namespaces,\n origType,\n elemData = dataPriv.get(elem); // Only attach events to objects that accept data\n\n if (!acceptData(elem)) {\n return;\n } // Caller can pass in an object of custom data in lieu of the handler\n\n\n if (handler.handler) {\n handleObjIn = handler;\n handler = handleObjIn.handler;\n selector = handleObjIn.selector;\n } // Ensure that invalid selectors throw exceptions at attach time\n // Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\n\n if (selector) {\n jQuery.find.matchesSelector(documentElement, selector);\n } // Make sure that the handler has a unique ID, used to find/remove it later\n\n\n if (!handler.guid) {\n handler.guid = jQuery.guid++;\n } // Init the element's event structure and main handler, if this is the first\n\n\n if (!(events = elemData.events)) {\n events = elemData.events = Object.create(null);\n }\n\n if (!(eventHandle = elemData.handle)) {\n eventHandle = elemData.handle = function (e) {\n // Discard the second event of a jQuery.event.trigger() and\n // when an event is called after a page has unloaded\n return typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply(elem, arguments) : undefined;\n };\n } // Handle multiple events separated by a space\n\n\n types = (types || \"\").match(rnothtmlwhite) || [\"\"];\n t = types.length;\n\n while (t--) {\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort(); // There *must* be a type, no attaching namespace-only handlers\n\n if (!type) {\n continue;\n } // If event changes its type, use the special event handlers for the changed type\n\n\n special = jQuery.event.special[type] || {}; // If selector defined, determine special event api type, otherwise given type\n\n type = (selector ? special.delegateType : special.bindType) || type; // Update special based on newly reset type\n\n special = jQuery.event.special[type] || {}; // handleObj is passed to all event handlers\n\n handleObj = jQuery.extend({\n type: type,\n origType: origType,\n data: data,\n handler: handler,\n guid: handler.guid,\n selector: selector,\n needsContext: selector && jQuery.expr.match.needsContext.test(selector),\n namespace: namespaces.join(\".\")\n }, handleObjIn); // Init the event handler queue if we're the first\n\n if (!(handlers = events[type])) {\n handlers = events[type] = [];\n handlers.delegateCount = 0; // Only use addEventListener if the special events handler returns false\n\n if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {\n if (elem.addEventListener) {\n elem.addEventListener(type, eventHandle);\n }\n }\n }\n\n if (special.add) {\n special.add.call(elem, handleObj);\n\n if (!handleObj.handler.guid) {\n handleObj.handler.guid = handler.guid;\n }\n } // Add to the element's handler list, delegates in front\n\n\n if (selector) {\n handlers.splice(handlers.delegateCount++, 0, handleObj);\n } else {\n handlers.push(handleObj);\n } // Keep track of which events have ever been used, for event optimization\n\n\n jQuery.event.global[type] = true;\n }\n },\n // Detach an event or set of events from an element\n remove: function remove(elem, types, handler, selector, mappedTypes) {\n var j,\n origCount,\n tmp,\n events,\n t,\n handleObj,\n special,\n handlers,\n type,\n namespaces,\n origType,\n elemData = dataPriv.hasData(elem) && dataPriv.get(elem);\n\n if (!elemData || !(events = elemData.events)) {\n return;\n } // Once for each type.namespace in types; type may be omitted\n\n\n types = (types || \"\").match(rnothtmlwhite) || [\"\"];\n t = types.length;\n\n while (t--) {\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort(); // Unbind all events (on this namespace, if provided) for the element\n\n if (!type) {\n for (type in events) {\n jQuery.event.remove(elem, type + types[t], handler, selector, true);\n }\n\n continue;\n }\n\n special = jQuery.event.special[type] || {};\n type = (selector ? special.delegateType : special.bindType) || type;\n handlers = events[type] || [];\n tmp = tmp[2] && new RegExp(\"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\"); // Remove matching events\n\n origCount = j = handlers.length;\n\n while (j--) {\n handleObj = handlers[j];\n\n if ((mappedTypes || origType === handleObj.origType) && (!handler || handler.guid === handleObj.guid) && (!tmp || tmp.test(handleObj.namespace)) && (!selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector)) {\n handlers.splice(j, 1);\n\n if (handleObj.selector) {\n handlers.delegateCount--;\n }\n\n if (special.remove) {\n special.remove.call(elem, handleObj);\n }\n }\n } // Remove generic event handler if we removed something and no more handlers exist\n // (avoids potential for endless recursion during removal of special event handlers)\n\n\n if (origCount && !handlers.length) {\n if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) {\n jQuery.removeEvent(elem, type, elemData.handle);\n }\n\n delete events[type];\n }\n } // Remove data and the expando if it's no longer used\n\n\n if (jQuery.isEmptyObject(events)) {\n dataPriv.remove(elem, \"handle events\");\n }\n },\n dispatch: function dispatch(nativeEvent) {\n var i,\n j,\n ret,\n matched,\n handleObj,\n handlerQueue,\n args = new Array(arguments.length),\n // Make a writable jQuery.Event from the native event object\n event = jQuery.event.fix(nativeEvent),\n handlers = (dataPriv.get(this, \"events\") || Object.create(null))[event.type] || [],\n special = jQuery.event.special[event.type] || {}; // Use the fix-ed jQuery.Event rather than the (read-only) native event\n\n args[0] = event;\n\n for (i = 1; i < arguments.length; i++) {\n args[i] = arguments[i];\n }\n\n event.delegateTarget = this; // Call the preDispatch hook for the mapped type, and let it bail if desired\n\n if (special.preDispatch && special.preDispatch.call(this, event) === false) {\n return;\n } // Determine handlers\n\n\n handlerQueue = jQuery.event.handlers.call(this, event, handlers); // Run delegates first; they may want to stop propagation beneath us\n\n i = 0;\n\n while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {\n event.currentTarget = matched.elem;\n j = 0;\n\n while ((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped()) {\n // If the event is namespaced, then each handler is only invoked if it is\n // specially universal or its namespaces are a superset of the event's.\n if (!event.rnamespace || handleObj.namespace === false || event.rnamespace.test(handleObj.namespace)) {\n event.handleObj = handleObj;\n event.data = handleObj.data;\n ret = ((jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler).apply(matched.elem, args);\n\n if (ret !== undefined) {\n if ((event.result = ret) === false) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n }\n }\n } // Call the postDispatch hook for the mapped type\n\n\n if (special.postDispatch) {\n special.postDispatch.call(this, event);\n }\n\n return event.result;\n },\n handlers: function handlers(event, _handlers) {\n var i,\n handleObj,\n sel,\n matchedHandlers,\n matchedSelectors,\n handlerQueue = [],\n delegateCount = _handlers.delegateCount,\n cur = event.target; // Find delegate handlers\n\n if (delegateCount && // Support: IE <=9\n // Black-hole SVG instance trees (trac-13180)\n cur.nodeType && // Support: Firefox <=42\n // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n // Support: IE 11 only\n // ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n !(event.type === \"click\" && event.button >= 1)) {\n for (; cur !== this; cur = cur.parentNode || this) {\n // Don't check non-elements (#13208)\n // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n if (cur.nodeType === 1 && !(event.type === \"click\" && cur.disabled === true)) {\n matchedHandlers = [];\n matchedSelectors = {};\n\n for (i = 0; i < delegateCount; i++) {\n handleObj = _handlers[i]; // Don't conflict with Object.prototype properties (#13203)\n\n sel = handleObj.selector + \" \";\n\n if (matchedSelectors[sel] === undefined) {\n matchedSelectors[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) > -1 : jQuery.find(sel, this, null, [cur]).length;\n }\n\n if (matchedSelectors[sel]) {\n matchedHandlers.push(handleObj);\n }\n }\n\n if (matchedHandlers.length) {\n handlerQueue.push({\n elem: cur,\n handlers: matchedHandlers\n });\n }\n }\n }\n } // Add the remaining (directly-bound) handlers\n\n\n cur = this;\n\n if (delegateCount < _handlers.length) {\n handlerQueue.push({\n elem: cur,\n handlers: _handlers.slice(delegateCount)\n });\n }\n\n return handlerQueue;\n },\n addProp: function addProp(name, hook) {\n Object.defineProperty(jQuery.Event.prototype, name, {\n enumerable: true,\n configurable: true,\n get: isFunction(hook) ? function () {\n if (this.originalEvent) {\n return hook(this.originalEvent);\n }\n } : function () {\n if (this.originalEvent) {\n return this.originalEvent[name];\n }\n },\n set: function set(value) {\n Object.defineProperty(this, name, {\n enumerable: true,\n configurable: true,\n writable: true,\n value: value\n });\n }\n });\n },\n fix: function fix(originalEvent) {\n return originalEvent[jQuery.expando] ? originalEvent : new jQuery.Event(originalEvent);\n },\n special: {\n load: {\n // Prevent triggered image.load events from bubbling to window.load\n noBubble: true\n },\n click: {\n // Utilize native event to ensure correct state for checkable inputs\n setup: function setup(data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data; // Claim the first handler\n\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) {\n // dataPriv.set( el, \"click\", ... )\n leverageNative(el, \"click\", returnTrue);\n } // Return false to allow normal processing in the caller\n\n\n return false;\n },\n trigger: function trigger(data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data; // Force setup before triggering a click\n\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) {\n leverageNative(el, \"click\");\n } // Return non-false to allow normal event-path propagation\n\n\n return true;\n },\n // For cross-browser consistency, suppress native .click() on links\n // Also prevent it if we're currently inside a leveraged native-event stack\n _default: function _default(event) {\n var target = event.target;\n return rcheckableType.test(target.type) && target.click && nodeName(target, \"input\") && dataPriv.get(target, \"click\") || nodeName(target, \"a\");\n }\n },\n beforeunload: {\n postDispatch: function postDispatch(event) {\n // Support: Firefox 20+\n // Firefox doesn't alert if the returnValue field is not set.\n if (event.result !== undefined && event.originalEvent) {\n event.originalEvent.returnValue = event.result;\n }\n }\n }\n }\n }; // Ensure the presence of an event listener that handles manually-triggered\n // synthetic events by interrupting progress until reinvoked in response to\n // *native* events that it fires directly, ensuring that state changes have\n // already occurred before other listeners are invoked.\n\n function leverageNative(el, type, expectSync) {\n // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add\n if (!expectSync) {\n if (dataPriv.get(el, type) === undefined) {\n jQuery.event.add(el, type, returnTrue);\n }\n\n return;\n } // Register the controller as a special universal handler for all event namespaces\n\n\n dataPriv.set(el, type, false);\n jQuery.event.add(el, type, {\n namespace: false,\n handler: function handler(event) {\n var notAsync,\n result,\n saved = dataPriv.get(this, type);\n\n if (event.isTrigger & 1 && this[type]) {\n // Interrupt processing of the outer synthetic .trigger()ed event\n // Saved data should be false in such cases, but might be a leftover capture object\n // from an async native handler (gh-4350)\n if (!saved.length) {\n // Store arguments for use when handling the inner native event\n // There will always be at least one argument (an event object), so this array\n // will not be confused with a leftover capture object.\n saved = slice.call(arguments);\n dataPriv.set(this, type, saved); // Trigger the native event and capture its result\n // Support: IE <=9 - 11+\n // focus() and blur() are asynchronous\n\n notAsync = expectSync(this, type);\n this[type]();\n result = dataPriv.get(this, type);\n\n if (saved !== result || notAsync) {\n dataPriv.set(this, type, false);\n } else {\n result = {};\n }\n\n if (saved !== result) {\n // Cancel the outer synthetic event\n event.stopImmediatePropagation();\n event.preventDefault(); // Support: Chrome 86+\n // In Chrome, if an element having a focusout handler is blurred by\n // clicking outside of it, it invokes the handler synchronously. If\n // that handler calls `.remove()` on the element, the data is cleared,\n // leaving `result` undefined. We need to guard against this.\n\n return result && result.value;\n } // If this is an inner synthetic event for an event with a bubbling surrogate\n // (focus or blur), assume that the surrogate already propagated from triggering the\n // native event and prevent that from happening again here.\n // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n // bubbling surrogate propagates *after* the non-bubbling base), but that seems\n // less bad than duplication.\n\n } else if ((jQuery.event.special[type] || {}).delegateType) {\n event.stopPropagation();\n } // If this is a native event triggered above, everything is now in order\n // Fire an inner synthetic event with the original arguments\n\n } else if (saved.length) {\n // ...and capture the result\n dataPriv.set(this, type, {\n value: jQuery.event.trigger( // Support: IE <=9 - 11+\n // Extend with the prototype to reset the above stopImmediatePropagation()\n jQuery.extend(saved[0], jQuery.Event.prototype), saved.slice(1), this)\n }); // Abort handling of the native event\n\n event.stopImmediatePropagation();\n }\n }\n });\n }\n\n jQuery.removeEvent = function (elem, type, handle) {\n // This \"if\" is needed for plain objects\n if (elem.removeEventListener) {\n elem.removeEventListener(type, handle);\n }\n };\n\n jQuery.Event = function (src, props) {\n // Allow instantiation without the 'new' keyword\n if (!(this instanceof jQuery.Event)) {\n return new jQuery.Event(src, props);\n } // Event object\n\n\n if (src && src.type) {\n this.originalEvent = src;\n this.type = src.type; // Events bubbling up the document may have been marked as prevented\n // by a handler lower down the tree; reflect the correct value.\n\n this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && // Support: Android <=2.3 only\n src.returnValue === false ? returnTrue : returnFalse; // Create target properties\n // Support: Safari <=6 - 7 only\n // Target should not be a text node (#504, #13143)\n\n this.target = src.target && src.target.nodeType === 3 ? src.target.parentNode : src.target;\n this.currentTarget = src.currentTarget;\n this.relatedTarget = src.relatedTarget; // Event type\n } else {\n this.type = src;\n } // Put explicitly provided properties onto the event object\n\n\n if (props) {\n jQuery.extend(this, props);\n } // Create a timestamp if incoming event doesn't have one\n\n\n this.timeStamp = src && src.timeStamp || Date.now(); // Mark it as fixed\n\n this[jQuery.expando] = true;\n }; // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\n\n\n jQuery.Event.prototype = {\n constructor: jQuery.Event,\n isDefaultPrevented: returnFalse,\n isPropagationStopped: returnFalse,\n isImmediatePropagationStopped: returnFalse,\n isSimulated: false,\n preventDefault: function preventDefault() {\n var e = this.originalEvent;\n this.isDefaultPrevented = returnTrue;\n\n if (e && !this.isSimulated) {\n e.preventDefault();\n }\n },\n stopPropagation: function stopPropagation() {\n var e = this.originalEvent;\n this.isPropagationStopped = returnTrue;\n\n if (e && !this.isSimulated) {\n e.stopPropagation();\n }\n },\n stopImmediatePropagation: function stopImmediatePropagation() {\n var e = this.originalEvent;\n this.isImmediatePropagationStopped = returnTrue;\n\n if (e && !this.isSimulated) {\n e.stopImmediatePropagation();\n }\n\n this.stopPropagation();\n }\n }; // Includes all common event props including KeyEvent and MouseEvent specific props\n\n jQuery.each({\n altKey: true,\n bubbles: true,\n cancelable: true,\n changedTouches: true,\n ctrlKey: true,\n detail: true,\n eventPhase: true,\n metaKey: true,\n pageX: true,\n pageY: true,\n shiftKey: true,\n view: true,\n \"char\": true,\n code: true,\n charCode: true,\n key: true,\n keyCode: true,\n button: true,\n buttons: true,\n clientX: true,\n clientY: true,\n offsetX: true,\n offsetY: true,\n pointerId: true,\n pointerType: true,\n screenX: true,\n screenY: true,\n targetTouches: true,\n toElement: true,\n touches: true,\n which: true\n }, jQuery.event.addProp);\n jQuery.each({\n focus: \"focusin\",\n blur: \"focusout\"\n }, function (type, delegateType) {\n jQuery.event.special[type] = {\n // Utilize native event if possible so blur/focus sequence is correct\n setup: function setup() {\n // Claim the first handler\n // dataPriv.set( this, \"focus\", ... )\n // dataPriv.set( this, \"blur\", ... )\n leverageNative(this, type, expectSync); // Return false to allow normal processing in the caller\n\n return false;\n },\n trigger: function trigger() {\n // Force setup before trigger\n leverageNative(this, type); // Return non-false to allow normal event-path propagation\n\n return true;\n },\n // Suppress native focus or blur as it's already being fired\n // in leverageNative.\n _default: function _default() {\n return true;\n },\n delegateType: delegateType\n };\n }); // Create mouseenter/leave events using mouseover/out and event-time checks\n // so that event delegation works in jQuery.\n // Do the same for pointerenter/pointerleave and pointerover/pointerout\n //\n // Support: Safari 7 only\n // Safari sends mouseenter too often; see:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n // for the description of the bug (it existed in older Chrome versions as well).\n\n jQuery.each({\n mouseenter: \"mouseover\",\n mouseleave: \"mouseout\",\n pointerenter: \"pointerover\",\n pointerleave: \"pointerout\"\n }, function (orig, fix) {\n jQuery.event.special[orig] = {\n delegateType: fix,\n bindType: fix,\n handle: function handle(event) {\n var ret,\n target = this,\n related = event.relatedTarget,\n handleObj = event.handleObj; // For mouseenter/leave call the handler if related is outside the target.\n // NB: No relatedTarget if the mouse left/entered the browser window\n\n if (!related || related !== target && !jQuery.contains(target, related)) {\n event.type = handleObj.origType;\n ret = handleObj.handler.apply(this, arguments);\n event.type = fix;\n }\n\n return ret;\n }\n };\n });\n jQuery.fn.extend({\n on: function on(types, selector, data, fn) {\n return _on(this, types, selector, data, fn);\n },\n one: function one(types, selector, data, fn) {\n return _on(this, types, selector, data, fn, 1);\n },\n off: function off(types, selector, fn) {\n var handleObj, type;\n\n if (types && types.preventDefault && types.handleObj) {\n // ( event ) dispatched jQuery.Event\n handleObj = types.handleObj;\n jQuery(types.delegateTarget).off(handleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler);\n return this;\n }\n\n if (_typeof(types) === \"object\") {\n // ( types-object [, selector] )\n for (type in types) {\n this.off(type, selector, types[type]);\n }\n\n return this;\n }\n\n if (selector === false || typeof selector === \"function\") {\n // ( types [, fn] )\n fn = selector;\n selector = undefined;\n }\n\n if (fn === false) {\n fn = returnFalse;\n }\n\n return this.each(function () {\n jQuery.event.remove(this, types, fn, selector);\n });\n }\n });\n return jQuery;\n});","const isB2bClient = (currentUser, loanApplication) => {\n const is_client = !currentUser?.dealer_id\n const is_b2b = loanApplication?.is_dealership\n\n return is_client && is_b2b\n}\n\nconst getVehicle = (loanApplication) => {\n const year = loanApplication?.automobile?.year?.trim()\n const make = loanApplication?.automobile?.make?.trim()\n const model = loanApplication?.automobile?.model?.trim()\n\n return `${year} ${make} ${model}`\n}\n\nconst getCustomerFirstName = (loanApplication) => loanApplication?.person?.first_name?.trim()\n\nconst getDealershipName = (loanApplication) => loanApplication?.dealer?.name?.trim()\n\n\nexport { isB2bClient, getVehicle, getCustomerFirstName, getDealershipName }\n","import { handleAnalytics, recordPlaidEvent } from \"./helpers/analyticsHelper\"\n\nconst plaidHelper = (function() {\n\n let config = {\n apiVersion: 'v2',\n clientName: 'Lendbuzz'\n }\n\n let lbid = null\n\n let isReturningUser = false\n\n // set required configuration\n function setConfig(extraConfig={}) {\n let empty_callback = () => {}\n config.onFail = config.onFail || empty_callback\n\n // extract onExit from callbacks and combine it with logger in the client initialised below\n let on_exit_callback = extraConfig['onExit'] || (() => {})\n delete extraConfig['onExit']\n\n // webhook url\n const base_url = baseUrl()\n const webhook = `${base_url}/loan_applications/${lbid}/financial_pulling/hook`\n\n config = Object.assign({\n webhook,\n onEvent: (eventName, metadata) => {\n recordPlaidEvent({ lbid, eventName, metadata })\n\n if (metadata?.match_reason) isReturningUser = true\n\n if (eventName === 'ERROR') handleAnalytics({ eventName: 'Borrower Portal - Connect Bank - Plaid - Connection Error', lbid, }, { metadata, isReturningUser })\n },\n onExit: (error, metadata) => {\n on_exit_callback()\n\n recordPlaidEvent({ lbid, eventName: 'ON_EXIT', metadata, error })\n\n handleAnalytics({ eventName: 'Borrower Portal - Connect Bank - Plaid - Connection Exit', lbid, }, { metadata, error, isReturningUser })\n\n // If there was an error with Plaid, send the info to the controllers to be logged.\n let logging_endpoint = `/loan_applications/${lbid}/financial_pulling/log`;\n $.post(logging_endpoint, {error, metadata}, (data) => {\n console.log('Error sent and logged');\n });\n },\n }, config, extraConfig)\n }\n\n function triggerModal(res) {\n // sanity check\n if (!res['link_token'] || res['error']) {\n let fail_callback = config.onFail || (() => {})\n fail_callback()\n return null\n }\n\n config.token = res['link_token']\n\n let plaid_link = Plaid.create(config)\n\n if (!plaid_link) {\n return\n }\n\n plaid_link.open()\n }\n\n // get link token to trigger plaid modal\n function createLinkToken(onSuccess=(() => {})) {\n let url = `/loan_applications/${lbid}/financial_pulling/create_link_token`\n let onFail = config.onFail || (() => {})\n return $.ajax({\n url,\n type: 'post',\n dataType: 'json',\n data: {\n authenticity_token: $('meta[name=\"csrf-token\"]').attr('content'),\n redirect_uri: `${baseUrl()}/loan_applications/plaid_oauth`\n },\n success: onSuccess,\n error: onFail\n })\n }\n\n function updatePlaid(public_token, metadata, req_data={}, success_callback=null, error_callback=null) {\n var successEndpoint = `/loan_applications/${lbid}/financial_pulling`;\n $.ajax(successEndpoint, {\n method: 'PUT',\n data: Object.assign({\n authenticity_token: $('meta[name=\"csrf-token\"]').attr('content'),\n public_token: public_token,\n metadata: metadata\n }, req_data),\n success: (res, textStatus) => {\n handleAnalytics({ eventName: 'Borrower Portal - Connect Bank - Plaid - Connection Success', lbid, }, { metadata, isReturningUser })\n\n recordPlaidEvent({ lbid, eventName: 'SUCCESS', metadata })\n\n if (success_callback) {\n success_callback(res, textStatus)\n }\n },\n error: (jqXhr, textStatus, errorThrown) => {\n console.log(textStatus);\n console.log(errorThrown);\n if (error_callback) {\n error_callback()\n }\n }\n })\n }\n\n\n // HELPERS\n\n function baseUrl() {\n if (typeof location.origin === 'undefined') {\n let protocol = location.href.split('/')[0];\n let host = location.href.split('/')[2];\n return `${protocol}//${host}`;\n }\n\n return location.origin;\n }\n\n function getPlaidStorage(key=null) {\n let plaid = {}\n try {\n plaid = JSON.parse(localStorage.getItem('plaid'))\n } catch (error) {\n plaid = {}\n }\n if (!key) {\n return plaid\n }\n return plaid[key]\n }\n\n function setPlaidStorage(key, value) {\n let plaid = getPlaidStorage() || {}\n plaid[key] = value\n localStorage.setItem('plaid', JSON.stringify(plaid))\n return plaid\n }\n\n function getRedirectURL() {\n let redirect_url = getPlaidStorage('redirect_url')\n if (redirect_url && redirect_url.includes('new_payment_method')) {\n return `/loan_applications/${lbid}/payment_methods`\n }\n\n return `${redirect_url}#bank_accounts`\n }\n\n\n // --------- PUBLIC FUNCTIONS ---------------\n\n // open plaid modal\n function openModal(local_lbid, extraConfig={}) {\n lbid = local_lbid\n\n // store details for oauth redirects\n setPlaidStorage('lbid', lbid)\n setPlaidStorage('redirect_url', window.location.href)\n\n // initialise plaid client\n setConfig(extraConfig)\n\n // get link token from the servers\n createLinkToken((res) => {\n triggerModal(res)\n setPlaidStorage('link_token', res['link_token'])\n })\n }\n\n function oauthModal() {\n lbid = getPlaidStorage('lbid')\n\n if (!lbid) {\n alert('Something went wrong, try again')\n return\n }\n\n if (!window.location.href.includes(\"?oauth_state_id=\")) {\n return\n }\n\n setConfig({\n onExit: () => {\n window.location.href = getRedirectURL()\n }\n })\n\n config.receivedRedirectUri = window.location.href\n let onSuccess = config.onSuccess || (() => {})\n config.onSuccess = (public_token, metadata) => {\n onSuccess(public_token, metadata)\n updatePlaid(public_token, metadata, {}, () => {\n window.location.href = getRedirectURL()\n }, () => {\n window.location.href = getRedirectURL()\n })\n }\n triggerModal({link_token: getPlaidStorage('link_token')})\n }\n\n return {\n openModal,\n oauthModal,\n updatePlaid\n }\n})();\n\nwindow.PlaidHelper = plaidHelper\n\nexport default plaidHelper;\n","import automobile_data from './automobile.json'\n\nconst Automobile = {\n base_url: 'https://www.carqueryapi.com/api/0.3/',\n\n years() {\n return $.get(\"/autofill/automobiles/years\");\n },\n\n makes(year) {\n return $.getJSON(this.base_url + '?callback=?&sold_in_us=1', {cmd: 'getMakes', year});\n },\n\n async models(year, make) {\n let response = await $.getJSON(this.base_url + '?callback=?&sold_in_us=1', {cmd: 'getModels', year, make});\n response.Models = response.Models || [];\n\n let makes = Object.keys(automobile_data)\n if (makes.includes(make)) {\n response.Models = [...response.Models, ...automobile_data[make]]\n }\n return response\n },\n\n styles(year, make, model) {\n return $.getJSON(this.base_url + '?callback=?&sold_in_us=1', {cmd: 'getTrims', year, make, model});\n }\n}\n\nexport default Automobile\n","define(function () {\n \"use strict\";\n\n return [];\n});","define(function () {\n \"use strict\";\n\n return function isWindow(obj) {\n return obj != null && obj === obj.window;\n };\n});","define([], function () {\n \"use strict\"; // Matches dashed string for camelizing\n\n var rmsPrefix = /^-ms-/,\n rdashAlpha = /-([a-z])/g; // Used by camelCase as callback to replace()\n\n function fcamelCase(_all, letter) {\n return letter.toUpperCase();\n } // Convert dashed to camelCase; used by the css and data modules\n // Support: IE <=9 - 11, Edge 12 - 15\n // Microsoft forgot to hump their vendor prefix (#9572)\n\n\n function camelCase(string) {\n return string.replace(rmsPrefix, \"ms-\").replace(rdashAlpha, fcamelCase);\n }\n\n return camelCase;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\ndefine([\"./core\", \"./core/access\", \"./core/camelCase\", \"./core/nodeName\", \"./var/rcssNum\", \"./css/var/rnumnonpx\", \"./css/var/cssExpand\", \"./css/var/getStyles\", \"./css/var/swap\", \"./css/curCSS\", \"./css/adjustCSS\", \"./css/addGetHookIf\", \"./css/support\", \"./css/finalPropName\", \"./core/init\", \"./core/ready\", \"./selector\" // contains\n], function (jQuery, access, camelCase, nodeName, rcssNum, rnumnonpx, cssExpand, getStyles, swap, curCSS, adjustCSS, addGetHookIf, support, finalPropName) {\n \"use strict\";\n\n var // Swappable if display is none or starts with table\n // except \"table\", \"table-cell\", or \"table-caption\"\n // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n rdisplayswap = /^(none|table(?!-c[ea]).+)/,\n rcustomProp = /^--/,\n cssShow = {\n position: \"absolute\",\n visibility: \"hidden\",\n display: \"block\"\n },\n cssNormalTransform = {\n letterSpacing: \"0\",\n fontWeight: \"400\"\n };\n\n function setPositiveNumber(_elem, value, subtract) {\n // Any relative (+/-) values have already been\n // normalized at this point\n var matches = rcssNum.exec(value);\n return matches ? // Guard against undefined \"subtract\", e.g., when used as in cssHooks\n Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || \"px\") : value;\n }\n\n function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) {\n var i = dimension === \"width\" ? 1 : 0,\n extra = 0,\n delta = 0; // Adjustment may not be necessary\n\n if (box === (isBorderBox ? \"border\" : \"content\")) {\n return 0;\n }\n\n for (; i < 4; i += 2) {\n // Both box models exclude margin\n if (box === \"margin\") {\n delta += jQuery.css(elem, box + cssExpand[i], true, styles);\n } // If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\n\n if (!isBorderBox) {\n // Add padding\n delta += jQuery.css(elem, \"padding\" + cssExpand[i], true, styles); // For \"border\" or \"margin\", add border\n\n if (box !== \"padding\") {\n delta += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles); // But still keep track of it otherwise\n } else {\n extra += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n } // If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n // \"padding\" or \"margin\"\n\n } else {\n // For \"content\", subtract padding\n if (box === \"content\") {\n delta -= jQuery.css(elem, \"padding\" + cssExpand[i], true, styles);\n } // For \"content\" or \"padding\", subtract border\n\n\n if (box !== \"margin\") {\n delta -= jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n }\n }\n } // Account for positive content-box scroll gutter when requested by providing computedVal\n\n\n if (!isBorderBox && computedVal >= 0) {\n // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n // Assuming integer scroll gutter, subtract the rest and round down\n delta += Math.max(0, Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - computedVal - delta - extra - 0.5 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n // Use an explicit zero to avoid NaN (gh-3964)\n )) || 0;\n }\n\n return delta;\n }\n\n function getWidthOrHeight(elem, dimension, extra) {\n // Start with computed style\n var styles = getStyles(elem),\n // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n // Fake content-box until we know it's needed to know the true value.\n boxSizingNeeded = !support.boxSizingReliable() || extra,\n isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\",\n valueIsBorderBox = isBorderBox,\n val = curCSS(elem, dimension, styles),\n offsetProp = \"offset\" + dimension[0].toUpperCase() + dimension.slice(1); // Support: Firefox <=54\n // Return a confounding non-pixel value or feign ignorance, as appropriate.\n\n if (rnumnonpx.test(val)) {\n if (!extra) {\n return val;\n }\n\n val = \"auto\";\n } // Support: IE 9 - 11 only\n // Use offsetWidth/offsetHeight for when box sizing is unreliable.\n // In those cases, the computed value can be trusted to be border-box.\n\n\n if ((!support.boxSizingReliable() && isBorderBox || // Support: IE 10 - 11+, Edge 15 - 18+\n // IE/Edge misreport `getComputedStyle` of table rows with width/height\n // set in CSS while `offset*` properties report correct values.\n // Interestingly, in some cases IE 9 doesn't suffer from this issue.\n !support.reliableTrDimensions() && nodeName(elem, \"tr\") || // Fall back to offsetWidth/offsetHeight when value is \"auto\"\n // This happens for inline elements with no explicit setting (gh-3571)\n val === \"auto\" || // Support: Android <=4.1 - 4.3 only\n // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n !parseFloat(val) && jQuery.css(elem, \"display\", false, styles) === \"inline\") && // Make sure the element is visible & connected\n elem.getClientRects().length) {\n isBorderBox = jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\"; // Where available, offsetWidth/offsetHeight approximate border box dimensions.\n // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n // retrieved value as a content box dimension.\n\n valueIsBorderBox = offsetProp in elem;\n\n if (valueIsBorderBox) {\n val = elem[offsetProp];\n }\n } // Normalize \"\" and auto\n\n\n val = parseFloat(val) || 0; // Adjust for the element's box model\n\n return val + boxModelAdjustment(elem, dimension, extra || (isBorderBox ? \"border\" : \"content\"), valueIsBorderBox, styles, // Provide the current computed size to request scroll gutter calculation (gh-3589)\n val) + \"px\";\n }\n\n jQuery.extend({\n // Add in style property hooks for overriding the default\n // behavior of getting and setting a style property\n cssHooks: {\n opacity: {\n get: function get(elem, computed) {\n if (computed) {\n // We should always get a number back from opacity\n var ret = curCSS(elem, \"opacity\");\n return ret === \"\" ? \"1\" : ret;\n }\n }\n }\n },\n // Don't automatically add \"px\" to these possibly-unitless properties\n cssNumber: {\n \"animationIterationCount\": true,\n \"columnCount\": true,\n \"fillOpacity\": true,\n \"flexGrow\": true,\n \"flexShrink\": true,\n \"fontWeight\": true,\n \"gridArea\": true,\n \"gridColumn\": true,\n \"gridColumnEnd\": true,\n \"gridColumnStart\": true,\n \"gridRow\": true,\n \"gridRowEnd\": true,\n \"gridRowStart\": true,\n \"lineHeight\": true,\n \"opacity\": true,\n \"order\": true,\n \"orphans\": true,\n \"widows\": true,\n \"zIndex\": true,\n \"zoom\": true\n },\n // Add in properties whose names you wish to fix before\n // setting or getting the value\n cssProps: {},\n // Get and set the style property on a DOM Node\n style: function style(elem, name, value, extra) {\n // Don't set styles on text and comment nodes\n if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {\n return;\n } // Make sure that we're working with the right name\n\n\n var ret,\n type,\n hooks,\n origName = camelCase(name),\n isCustomProp = rcustomProp.test(name),\n style = elem.style; // Make sure that we're working with the right name. We don't\n // want to query the value if it is a CSS custom property\n // since they are user-defined.\n\n if (!isCustomProp) {\n name = finalPropName(origName);\n } // Gets hook for the prefixed version, then unprefixed version\n\n\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; // Check if we're setting a value\n\n if (value !== undefined) {\n type = _typeof(value); // Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\n if (type === \"string\" && (ret = rcssNum.exec(value)) && ret[1]) {\n value = adjustCSS(elem, name, ret); // Fixes bug #9237\n\n type = \"number\";\n } // Make sure that null and NaN values aren't set (#7116)\n\n\n if (value == null || value !== value) {\n return;\n } // If a number was passed in, add the unit (except for certain CSS properties)\n // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n // \"px\" to a few hardcoded values.\n\n\n if (type === \"number\" && !isCustomProp) {\n value += ret && ret[3] || (jQuery.cssNumber[origName] ? \"\" : \"px\");\n } // background-* props affect original clone's values\n\n\n if (!support.clearCloneStyle && value === \"\" && name.indexOf(\"background\") === 0) {\n style[name] = \"inherit\";\n } // If a hook was provided, use that value, otherwise just set the specified value\n\n\n if (!hooks || !(\"set\" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {\n if (isCustomProp) {\n style.setProperty(name, value);\n } else {\n style[name] = value;\n }\n }\n } else {\n // If a hook was provided get the non-computed value from there\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) {\n return ret;\n } // Otherwise just get the value from the style object\n\n\n return style[name];\n }\n },\n css: function css(elem, name, extra, styles) {\n var val,\n num,\n hooks,\n origName = camelCase(name),\n isCustomProp = rcustomProp.test(name); // Make sure that we're working with the right name. We don't\n // want to modify the value if it is a CSS custom property\n // since they are user-defined.\n\n if (!isCustomProp) {\n name = finalPropName(origName);\n } // Try prefixed name followed by the unprefixed name\n\n\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; // If a hook was provided get the computed value from there\n\n if (hooks && \"get\" in hooks) {\n val = hooks.get(elem, true, extra);\n } // Otherwise, if a way to get the computed value exists, use that\n\n\n if (val === undefined) {\n val = curCSS(elem, name, styles);\n } // Convert \"normal\" to computed value\n\n\n if (val === \"normal\" && name in cssNormalTransform) {\n val = cssNormalTransform[name];\n } // Make numeric if forced or a qualifier was provided and val looks numeric\n\n\n if (extra === \"\" || extra) {\n num = parseFloat(val);\n return extra === true || isFinite(num) ? num || 0 : val;\n }\n\n return val;\n }\n });\n jQuery.each([\"height\", \"width\"], function (_i, dimension) {\n jQuery.cssHooks[dimension] = {\n get: function get(elem, computed, extra) {\n if (computed) {\n // Certain elements can have dimension info if we invisibly show them\n // but it must have a current display style that would benefit\n return rdisplayswap.test(jQuery.css(elem, \"display\")) && (!elem.getClientRects().length || !elem.getBoundingClientRect().width) ? swap(elem, cssShow, function () {\n return getWidthOrHeight(elem, dimension, extra);\n }) : getWidthOrHeight(elem, dimension, extra);\n }\n },\n set: function set(elem, value, extra) {\n var matches,\n styles = getStyles(elem),\n // Only read styles.position if the test has a chance to fail\n // to avoid forcing a reflow.\n scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === \"absolute\",\n // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n boxSizingNeeded = scrollboxSizeBuggy || extra,\n isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\",\n subtract = extra ? boxModelAdjustment(elem, dimension, extra, isBorderBox, styles) : 0; // Account for unreliable border-box dimensions by comparing offset* to computed and\n // faking a content-box to get border and padding (gh-3699)\n\n if (isBorderBox && scrollboxSizeBuggy) {\n subtract -= Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - parseFloat(styles[dimension]) - boxModelAdjustment(elem, dimension, \"border\", false, styles) - 0.5);\n } // Convert to pixels if value adjustment is needed\n\n\n if (subtract && (matches = rcssNum.exec(value)) && (matches[3] || \"px\") !== \"px\") {\n elem.style[dimension] = value;\n value = jQuery.css(elem, dimension);\n }\n\n return setPositiveNumber(elem, value, subtract);\n }\n };\n });\n jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft, function (elem, computed) {\n if (computed) {\n return (parseFloat(curCSS(elem, \"marginLeft\")) || elem.getBoundingClientRect().left - swap(elem, {\n marginLeft: 0\n }, function () {\n return elem.getBoundingClientRect().left;\n })) + \"px\";\n }\n }); // These hooks are used by animate to expand properties\n\n jQuery.each({\n margin: \"\",\n padding: \"\",\n border: \"Width\"\n }, function (prefix, suffix) {\n jQuery.cssHooks[prefix + suffix] = {\n expand: function expand(value) {\n var i = 0,\n expanded = {},\n // Assumes a single number if not a string\n parts = typeof value === \"string\" ? value.split(\" \") : [value];\n\n for (; i < 4; i++) {\n expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0];\n }\n\n return expanded;\n }\n };\n\n if (prefix !== \"margin\") {\n jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;\n }\n });\n jQuery.fn.extend({\n css: function css(name, value) {\n return access(this, function (elem, name, value) {\n var styles,\n len,\n map = {},\n i = 0;\n\n if (Array.isArray(name)) {\n styles = getStyles(elem);\n len = name.length;\n\n for (; i < len; i++) {\n map[name[i]] = jQuery.css(elem, name[i], false, styles);\n }\n\n return map;\n }\n\n return value !== undefined ? jQuery.style(elem, name, value) : jQuery.css(elem, name);\n }, name, value, arguments.length > 1);\n }\n });\n return jQuery;\n});","let config = {}\nconst env = rails_profile || \"development\"\nvar baseEnv = env.replace(/\\d+/g, '');\n\n// Get base configs if they exist\nif(env !== baseEnv){\n try {\n if (baseEnv === 'test-env-') {\n baseEnv = 'staging'\n }\n config = {...config,...require(`./${baseEnv}`).default}\n } catch (error) {\n console.log(`no config for ${env} found`);\n }\n}\n\n// Get env specific configs (e.g staging1) and merge them with the base one\ntry {\n config = {...config,...require(`./${env}`).default}\n} catch (error) {\n console.log(`no config for ${env} found`);\n}\n\nexport default config\n","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar React = require('react');\n\nvar PropTypes = require('prop-types');\n\nvar _require = require('react-dom'),\n findDOMNode = _require.findDOMNode;\n\nvar scrollIntoView = require('dom-scroll-into-view');\n\nvar IMPERATIVE_API = ['blur', 'checkValidity', 'click', 'focus', 'select', 'setCustomValidity', 'setSelectionRange', 'setRangeText'];\n\nfunction getScrollOffset() {\n return {\n x: window.pageXOffset !== undefined ? window.pageXOffset : (document.documentElement || document.body.parentNode || document.body).scrollLeft,\n y: window.pageYOffset !== undefined ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop\n };\n}\n\nvar Autocomplete = function (_React$Component) {\n _inherits(Autocomplete, _React$Component);\n\n function Autocomplete(props) {\n _classCallCheck(this, Autocomplete);\n\n var _this = _possibleConstructorReturn(this, (Autocomplete.__proto__ || Object.getPrototypeOf(Autocomplete)).call(this, props));\n\n _this.state = {\n isOpen: false,\n highlightedIndex: null\n };\n _this._debugStates = [];\n _this.ensureHighlightedIndex = _this.ensureHighlightedIndex.bind(_this);\n _this.exposeAPI = _this.exposeAPI.bind(_this);\n _this.handleInputFocus = _this.handleInputFocus.bind(_this);\n _this.handleInputBlur = _this.handleInputBlur.bind(_this);\n _this.handleChange = _this.handleChange.bind(_this);\n _this.handleKeyDown = _this.handleKeyDown.bind(_this);\n _this.handleInputClick = _this.handleInputClick.bind(_this);\n _this.maybeAutoCompleteText = _this.maybeAutoCompleteText.bind(_this);\n return _this;\n }\n\n _createClass(Autocomplete, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n // this.refs is frozen, so we need to assign a new object to it\n this.refs = {};\n this._ignoreBlur = false;\n this._ignoreFocus = false;\n this._scrollOffset = null;\n this._scrollTimer = null;\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n clearTimeout(this._scrollTimer);\n this._scrollTimer = null;\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if (this.state.highlightedIndex !== null) {\n this.setState(this.ensureHighlightedIndex);\n }\n\n if (nextProps.autoHighlight && (this.props.value !== nextProps.value || this.state.highlightedIndex === null)) {\n this.setState(this.maybeAutoCompleteText);\n }\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.isOpen()) {\n this.setMenuPositions();\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n if (this.state.isOpen && !prevState.isOpen || 'open' in this.props && this.props.open && !prevProps.open) this.setMenuPositions();\n this.maybeScrollItemIntoView();\n\n if (prevState.isOpen !== this.state.isOpen) {\n this.props.onMenuVisibilityChange(this.state.isOpen);\n }\n }\n }, {\n key: 'exposeAPI',\n value: function exposeAPI(el) {\n var _this2 = this;\n\n this.refs.input = el;\n IMPERATIVE_API.forEach(function (ev) {\n return _this2[ev] = el && el[ev] && el[ev].bind(el);\n });\n }\n }, {\n key: 'maybeScrollItemIntoView',\n value: function maybeScrollItemIntoView() {\n if (this.isOpen() && this.state.highlightedIndex !== null) {\n var itemNode = this.refs['item-' + this.state.highlightedIndex];\n var menuNode = this.refs.menu;\n scrollIntoView(findDOMNode(itemNode), findDOMNode(menuNode), {\n onlyScrollIfNeeded: true\n });\n }\n }\n }, {\n key: 'handleKeyDown',\n value: function handleKeyDown(event) {\n if (Autocomplete.keyDownHandlers[event.key]) Autocomplete.keyDownHandlers[event.key].call(this, event);else if (!this.isOpen()) {\n this.setState({\n isOpen: true\n });\n }\n }\n }, {\n key: 'handleChange',\n value: function handleChange(event) {\n this.props.onChange(event, event.target.value);\n }\n }, {\n key: 'getFilteredItems',\n value: function getFilteredItems(props) {\n var items = props.items;\n\n if (props.shouldItemRender) {\n items = items.filter(function (item) {\n return props.shouldItemRender(item, props.value);\n });\n }\n\n if (props.sortItems) {\n items.sort(function (a, b) {\n return props.sortItems(a, b, props.value);\n });\n }\n\n return items;\n }\n }, {\n key: 'maybeAutoCompleteText',\n value: function maybeAutoCompleteText(state, props) {\n var highlightedIndex = state.highlightedIndex;\n var value = props.value,\n getItemValue = props.getItemValue;\n var index = highlightedIndex === null ? 0 : highlightedIndex;\n var items = this.getFilteredItems(props);\n\n for (var i = 0; i < items.length; i++) {\n if (props.isItemSelectable(items[index])) break;\n index = (index + 1) % items.length;\n }\n\n var matchedItem = items[index] && props.isItemSelectable(items[index]) ? items[index] : null;\n\n if (value !== '' && matchedItem) {\n var itemValue = getItemValue(matchedItem);\n var itemValueDoesMatch = itemValue.toLowerCase().indexOf(value.toLowerCase()) === 0;\n\n if (itemValueDoesMatch) {\n return {\n highlightedIndex: index\n };\n }\n }\n\n return {\n highlightedIndex: null\n };\n }\n }, {\n key: 'ensureHighlightedIndex',\n value: function ensureHighlightedIndex(state, props) {\n if (state.highlightedIndex >= this.getFilteredItems(props).length) {\n return {\n highlightedIndex: null\n };\n }\n }\n }, {\n key: 'setMenuPositions',\n value: function setMenuPositions() {\n var node = this.refs.input;\n var rect = node.getBoundingClientRect();\n var computedStyle = global.window.getComputedStyle(node);\n var marginBottom = parseInt(computedStyle.marginBottom, 10) || 0;\n var marginLeft = parseInt(computedStyle.marginLeft, 10) || 0;\n var marginRight = parseInt(computedStyle.marginRight, 10) || 0;\n this.setState({\n menuTop: rect.bottom + marginBottom,\n menuLeft: rect.left + marginLeft,\n menuWidth: rect.width + marginLeft + marginRight\n });\n }\n }, {\n key: 'highlightItemFromMouse',\n value: function highlightItemFromMouse(index) {\n this.setState({\n highlightedIndex: index\n });\n }\n }, {\n key: 'selectItemFromMouse',\n value: function selectItemFromMouse(item) {\n var _this3 = this;\n\n var value = this.props.getItemValue(item); // The menu will de-render before a mouseLeave event\n // happens. Clear the flag to release control over focus\n\n this.setIgnoreBlur(false);\n this.setState({\n isOpen: false,\n highlightedIndex: null\n }, function () {\n _this3.props.onSelect(value, item);\n });\n }\n }, {\n key: 'setIgnoreBlur',\n value: function setIgnoreBlur(ignore) {\n this._ignoreBlur = ignore;\n }\n }, {\n key: 'renderMenu',\n value: function renderMenu() {\n var _this4 = this;\n\n var items = this.getFilteredItems(this.props).map(function (item, index) {\n var element = _this4.props.renderItem(item, _this4.state.highlightedIndex === index, {\n cursor: 'default'\n });\n\n return React.cloneElement(element, {\n onMouseEnter: _this4.props.isItemSelectable(item) ? function () {\n return _this4.highlightItemFromMouse(index);\n } : null,\n onClick: _this4.props.isItemSelectable(item) ? function () {\n return _this4.selectItemFromMouse(item);\n } : null,\n ref: function ref(e) {\n return _this4.refs['item-' + index] = e;\n }\n });\n });\n var style = {\n left: this.state.menuLeft,\n top: this.state.menuTop,\n minWidth: this.state.menuWidth\n };\n var menu = this.props.renderMenu(items, this.props.value, style);\n return React.cloneElement(menu, {\n ref: function ref(e) {\n return _this4.refs.menu = e;\n },\n // Ignore blur to prevent menu from de-rendering before we can process click\n onTouchStart: function onTouchStart() {\n return _this4.setIgnoreBlur(true);\n },\n onMouseEnter: function onMouseEnter() {\n return _this4.setIgnoreBlur(true);\n },\n onMouseLeave: function onMouseLeave() {\n return _this4.setIgnoreBlur(false);\n }\n });\n }\n }, {\n key: 'handleInputBlur',\n value: function handleInputBlur(event) {\n var _this5 = this;\n\n if (this._ignoreBlur) {\n this._ignoreFocus = true;\n this._scrollOffset = getScrollOffset();\n this.refs.input.focus();\n return;\n }\n\n var setStateCallback = void 0;\n var highlightedIndex = this.state.highlightedIndex;\n\n if (this.props.selectOnBlur && highlightedIndex !== null) {\n var items = this.getFilteredItems(this.props);\n var item = items[highlightedIndex];\n var value = this.props.getItemValue(item);\n\n setStateCallback = function setStateCallback() {\n return _this5.props.onSelect(value, item);\n };\n }\n\n this.setState({\n isOpen: false,\n highlightedIndex: null\n }, setStateCallback);\n var onBlur = this.props.inputProps.onBlur;\n\n if (onBlur) {\n onBlur(event);\n }\n }\n }, {\n key: 'handleInputFocus',\n value: function handleInputFocus(event) {\n var _this6 = this;\n\n if (this._ignoreFocus) {\n this._ignoreFocus = false;\n var _scrollOffset = this._scrollOffset,\n x = _scrollOffset.x,\n y = _scrollOffset.y;\n this._scrollOffset = null; // Focus will cause the browser to scroll the into view.\n // This can cause the mouse coords to change, which in turn\n // could cause a new highlight to happen, cancelling the click\n // event (when selecting with the mouse)\n\n window.scrollTo(x, y); // Some browsers wait until all focus event handlers have been\n // processed before scrolling the into view, so let's\n // scroll again on the next tick to ensure we're back to where\n // the user was before focus was lost. We could do the deferred\n // scroll only, but that causes a jarring split second jump in\n // some browsers that scroll before the focus event handlers\n // are triggered.\n\n clearTimeout(this._scrollTimer);\n this._scrollTimer = setTimeout(function () {\n _this6._scrollTimer = null;\n window.scrollTo(x, y);\n }, 0);\n return;\n }\n\n this.setState({\n isOpen: true\n });\n var onFocus = this.props.inputProps.onFocus;\n\n if (onFocus) {\n onFocus(event);\n }\n }\n }, {\n key: 'isInputFocused',\n value: function isInputFocused() {\n var el = this.refs.input;\n return el.ownerDocument && el === el.ownerDocument.activeElement;\n }\n }, {\n key: 'handleInputClick',\n value: function handleInputClick() {\n // Input will not be focused if it's disabled\n if (this.isInputFocused() && !this.isOpen()) this.setState({\n isOpen: true\n });\n }\n }, {\n key: 'composeEventHandlers',\n value: function composeEventHandlers(internal, external) {\n return external ? function (e) {\n internal(e);\n external(e);\n } : internal;\n }\n }, {\n key: 'isOpen',\n value: function isOpen() {\n return 'open' in this.props ? this.props.open : this.state.isOpen;\n }\n }, {\n key: 'render',\n value: function render() {\n if (this.props.debug) {\n // you don't like it, you love it\n this._debugStates.push({\n id: this._debugStates.length,\n state: this.state\n });\n }\n\n var inputProps = this.props.inputProps;\n var open = this.isOpen();\n return React.createElement('div', _extends({\n style: _extends({}, this.props.wrapperStyle)\n }, this.props.wrapperProps), this.props.renderInput(_extends({}, inputProps, {\n role: 'combobox',\n 'aria-autocomplete': 'list',\n 'aria-expanded': open,\n autoComplete: 'off',\n ref: this.exposeAPI,\n onFocus: this.handleInputFocus,\n onBlur: this.handleInputBlur,\n onChange: this.handleChange,\n onKeyDown: this.composeEventHandlers(this.handleKeyDown, inputProps.onKeyDown),\n onClick: this.composeEventHandlers(this.handleInputClick, inputProps.onClick),\n value: this.props.value\n })), open && this.renderMenu(), this.props.debug && React.createElement('pre', {\n style: {\n marginLeft: 300\n }\n }, JSON.stringify(this._debugStates.slice(Math.max(0, this._debugStates.length - 5), this._debugStates.length), null, 2)));\n }\n }]);\n\n return Autocomplete;\n}(React.Component);\n\nAutocomplete.propTypes = {\n /**\n * The items to display in the dropdown menu\n */\n items: PropTypes.array.isRequired,\n\n /**\n * The value to display in the input field\n */\n value: PropTypes.any,\n\n /**\n * Arguments: `event: Event, value: String`\n *\n * Invoked every time the user changes the input's value.\n */\n onChange: PropTypes.func,\n\n /**\n * Arguments: `value: String, item: Any`\n *\n * Invoked when the user selects an item from the dropdown menu.\n */\n onSelect: PropTypes.func,\n\n /**\n * Arguments: `item: Any, value: String`\n *\n * Invoked for each entry in `items` and its return value is used to\n * determine whether or not it should be displayed in the dropdown menu.\n * By default all items are always rendered.\n */\n shouldItemRender: PropTypes.func,\n\n /**\n * Arguments: `item: Any`\n *\n * Invoked when attempting to select an item. The return value is used to\n * determine whether the item should be selectable or not.\n * By default all items are selectable.\n */\n isItemSelectable: PropTypes.func,\n\n /**\n * Arguments: `itemA: Any, itemB: Any, value: String`\n *\n * The function which is used to sort `items` before display.\n */\n sortItems: PropTypes.func,\n\n /**\n * Arguments: `item: Any`\n *\n * Used to read the display value from each entry in `items`.\n */\n getItemValue: PropTypes.func.isRequired,\n\n /**\n * Arguments: `item: Any, isHighlighted: Boolean, styles: Object`\n *\n * Invoked for each entry in `items` that also passes `shouldItemRender` to\n * generate the render tree for each item in the dropdown menu. `styles` is\n * an optional set of styles that can be applied to improve the look/feel\n * of the items in the dropdown menu.\n */\n renderItem: PropTypes.func.isRequired,\n\n /**\n * Arguments: `items: Array, value: String, styles: Object`\n *\n * Invoked to generate the render tree for the dropdown menu. Ensure the\n * returned tree includes every entry in `items` or else the highlight order\n * and keyboard navigation logic will break. `styles` will contain\n * { top, left, minWidth } which are the coordinates of the top-left corner\n * and the width of the dropdown menu.\n */\n renderMenu: PropTypes.func,\n\n /**\n * Styles that are applied to the dropdown menu in the default `renderMenu`\n * implementation. If you override `renderMenu` and you want to use\n * `menuStyle` you must manually apply them (`this.props.menuStyle`).\n */\n menuStyle: PropTypes.object,\n\n /**\n * Arguments: `props: Object`\n *\n * Invoked to generate the input element. The `props` argument is the result\n * of merging `props.inputProps` with a selection of props that are required\n * both for functionality and accessibility. At the very least you need to\n * apply `props.ref` and all `props.on` event handlers. Failing to do\n * this will cause `Autocomplete` to behave unexpectedly.\n */\n renderInput: PropTypes.func,\n\n /**\n * Props passed to `props.renderInput`. By default these props will be\n * applied to the `` element rendered by `Autocomplete`, unless you\n * have specified a custom value for `props.renderInput`. Any properties\n * supported by `HTMLInputElement` can be specified, apart from the\n * following which are set by `Autocomplete`: value, autoComplete, role,\n * aria-autocomplete. `inputProps` is commonly used for (but not limited to)\n * placeholder, event handlers (onFocus, onBlur, etc.), autoFocus, etc..\n */\n inputProps: PropTypes.object,\n\n /**\n * Props that are applied to the element which wraps the `` and\n * dropdown menu elements rendered by `Autocomplete`.\n */\n wrapperProps: PropTypes.object,\n\n /**\n * This is a shorthand for `wrapperProps={{ style: }}`.\n * Note that `wrapperStyle` is applied before `wrapperProps`, so the latter\n * will win if it contains a `style` entry.\n */\n wrapperStyle: PropTypes.object,\n\n /**\n * Whether or not to automatically highlight the top match in the dropdown\n * menu.\n */\n autoHighlight: PropTypes.bool,\n\n /**\n * Whether or not to automatically select the highlighted item when the\n * `` loses focus.\n */\n selectOnBlur: PropTypes.bool,\n\n /**\n * Arguments: `isOpen: Boolean`\n *\n * Invoked every time the dropdown menu's visibility changes (i.e. every\n * time it is displayed/hidden).\n */\n onMenuVisibilityChange: PropTypes.func,\n\n /**\n * Used to override the internal logic which displays/hides the dropdown\n * menu. This is useful if you want to force a certain state based on your\n * UX/business logic. Use it together with `onMenuVisibilityChange` for\n * fine-grained control over the dropdown menu dynamics.\n */\n open: PropTypes.bool,\n debug: PropTypes.bool\n};\nAutocomplete.defaultProps = {\n value: '',\n wrapperProps: {},\n wrapperStyle: {\n display: 'inline-block'\n },\n inputProps: {},\n renderInput: function renderInput(props) {\n return React.createElement('input', props);\n },\n onChange: function onChange() {},\n onSelect: function onSelect() {},\n isItemSelectable: function isItemSelectable() {\n return true;\n },\n renderMenu: function renderMenu(items, value, style) {\n return React.createElement('div', {\n style: _extends({}, style, this.menuStyle),\n children: items\n });\n },\n menuStyle: {\n borderRadius: '3px',\n boxShadow: '0 2px 12px rgba(0, 0, 0, 0.1)',\n background: 'rgba(255, 255, 255, 0.9)',\n padding: '2px 0',\n fontSize: '90%',\n position: 'fixed',\n overflow: 'auto',\n maxHeight: '50%'\n },\n autoHighlight: true,\n selectOnBlur: false,\n onMenuVisibilityChange: function onMenuVisibilityChange() {}\n};\nAutocomplete.keyDownHandlers = {\n ArrowDown: function ArrowDown(event) {\n event.preventDefault();\n var items = this.getFilteredItems(this.props);\n if (!items.length) return;\n var highlightedIndex = this.state.highlightedIndex;\n var index = highlightedIndex === null ? -1 : highlightedIndex;\n\n for (var i = 0; i < items.length; i++) {\n var p = (index + i + 1) % items.length;\n\n if (this.props.isItemSelectable(items[p])) {\n index = p;\n break;\n }\n }\n\n if (index > -1 && index !== highlightedIndex) {\n this.setState({\n highlightedIndex: index,\n isOpen: true\n });\n }\n },\n ArrowUp: function ArrowUp(event) {\n event.preventDefault();\n var items = this.getFilteredItems(this.props);\n if (!items.length) return;\n var highlightedIndex = this.state.highlightedIndex;\n var index = highlightedIndex === null ? items.length : highlightedIndex;\n\n for (var i = 0; i < items.length; i++) {\n var p = (index - (1 + i) + items.length) % items.length;\n\n if (this.props.isItemSelectable(items[p])) {\n index = p;\n break;\n }\n }\n\n if (index !== items.length) {\n this.setState({\n highlightedIndex: index,\n isOpen: true\n });\n }\n },\n Enter: function Enter(event) {\n var _this7 = this; // Key code 229 is used for selecting items from character selectors (Pinyin, Kana, etc)\n\n\n if (event.keyCode !== 13) return; // In case the user is currently hovering over the menu\n\n this.setIgnoreBlur(false);\n\n if (!this.isOpen()) {\n // menu is closed so there is no selection to accept -> do nothing\n return;\n } else if (this.state.highlightedIndex == null) {\n // input has focus but no menu item is selected + enter is hit -> close the menu, highlight whatever's in input\n this.setState({\n isOpen: false\n }, function () {\n _this7.refs.input.select();\n });\n } else {\n // text entered + menu item has been highlighted + enter is hit -> update value to that of selected menu item, close the menu\n event.preventDefault();\n var item = this.getFilteredItems(this.props)[this.state.highlightedIndex];\n var value = this.props.getItemValue(item);\n this.setState({\n isOpen: false,\n highlightedIndex: null\n }, function () {\n //this.refs.input.focus() // TODO: file issue\n _this7.refs.input.setSelectionRange(value.length, value.length);\n\n _this7.props.onSelect(value, item);\n });\n }\n },\n Escape: function Escape() {\n // In case the user is currently hovering over the menu\n this.setIgnoreBlur(false);\n this.setState({\n highlightedIndex: null,\n isOpen: false\n });\n },\n Tab: function Tab() {\n // In case the user is currently hovering over the menu\n this.setIgnoreBlur(false);\n }\n};\nmodule.exports = Autocomplete;","import FinanceChannel from \"../../../channels/finance_channel\";\n\nconst FinanceConnector = (() => {\n const lbids = {}\n\n const get_connection_status = (lbid) => {\n const finance_channel = lbids[lbid]\n if (!finance_channel) {\n return false\n }\n return finance_channel.connection_success\n }\n\n const subscribe = (lbid, callback) => {\n const finance_channel = FinanceChannel.subscribe(lbid, callback)\n lbids[lbid] = finance_channel\n return finance_channel\n }\n\n return { subscribe, get_connection_status }\n})()\n\nexport default FinanceConnector\n","import React from 'react'\n\nconst gradeMapColor = {\n 'S': 'text-green-700',\n 'A': 'text-green-500',\n 'B': 'text-yellow-300',\n 'C': 'text-orange-300',\n 'D': 'text-red-300',\n 'E': 'text-gray-370',\n 'U': 'text-gray-370',\n}\n\n// set of grade to display only\nexport const acceptedGrades = Object.freeze(['A', 'E'])\n\nconst AssetGrade = ({ grade, model, make, dataTestId = null }) => {\n if (!make || !model || !acceptedGrades.includes(grade)) return null\n\n const finalGrade = grade || 'U'\n const gradeColor = gradeMapColor[finalGrade]\n\n return (\n
\n \n {finalGrade}\n

\n
\n )\n}\n\nexport default AssetGrade\n","import React from 'react';\nimport Dropzone from 'react-dropzone';\nvar createReactClass = require('create-react-class');\nexport const FileUpload = createReactClass({\n /* Data */\n propTypes: {\n },\n getDefaultProps: function () {\n return {\n };\n },\n getInitialState: function () {\n return {\n id: this.props.id,\n file: null,\n uploaded: false,\n uploadProgress: 0,\n successfullUpload: false,\n failed: false,\n errors: {},\n current_step: this.props.current_step\n };\n },\n\n componentDidMount: function (params) {\n if (this.props.filename) {\n this.setState({uploaded: true, uploadProgress: 100})\n }\n },\n\n uploading: function (progress) {\n progress = parseInt(progress)\n\n let new_state = {\n uploadProgress: progress\n }\n\n this.setState(new_state)\n },\n\n fileSize: function (byte_size) {\n byte_size = parseFloat(byte_size)\n\n if (byte_size < 1024) {\n return `${byte_size.toFixed(2)} B`\n }\n else if (byte_size < 1024 * 1024) {\n return `${(byte_size / 1024).toFixed(2)} KB`\n }\n else {\n return `${(byte_size / (1024 * 1024)).toFixed(2)} MB`\n }\n },\n\n /* Event Handlers */\n onDrop: function (acceptedFiles) {\n let errors = this.state.errors\n delete errors['fileupload']\n\n let file = acceptedFiles[0];\n\n // check for valid file extensions\n let extension = file.name.split('.').pop();\n let valid_extension = extension.toLowerCase().match(/(jpg|png|pdf)/)\n if (!extension) {\n errors['fileupload'] = \"Document must have a valid extension!\";\n }\n else if (valid_extension) {\n this.setState({ file: file })\n this.uploadFile(file)\n }\n else if (!valid_extension) {\n errors['fileupload'] = \"Document type is not supported\";\n }\n this.setState({ errors: errors })\n\n },\n\n /**\n * Ajax call to upload file\n */\n uploadFile: function (file) {\n // documents for dealer onboarding\n let dealer_id = this.state.id\n\n if (!dealer_id) {\n return;\n }\n var url = `/dealers/${dealer_id}/documents`\n\n // dynamic title based on file category\n let document = this.props.document.toLowerCase()\n\n let input_data = new FormData()\n input_data.set(`${document}`, file);\n input_data.set(`authenticity_token`, $('meta[name=\"csrf-token\"]').attr('content'));\n\n let self = this\n this.setState({uploaded: false, uploadProgress: 0})\n $.ajax({\n url: url,\n type: 'put',\n data: input_data,\n processData: false,\n contentType: false,\n xhr: function () {\n var xhr = new window.XMLHttpRequest();\n //Upload progress\n xhr.upload.addEventListener(\"progress\", function (evt) {\n if (evt.lengthComputable) {\n var percentComplete = evt.loaded / evt.total;\n percentComplete = percentComplete * 100\n self.uploading(percentComplete)\n }\n }, false);\n return xhr;\n },\n success: function (res) {\n if (res.status != 200) {\n this.setState({ failed: true, upload: false })\n // console.log('Error uploading the document');\n }\n this.setState({ uploaded: true, failed: false })\n if (this.props.finish) {\n this.props.finish()\n }\n }.bind(this),\n error: function (xhr, status) {\n this.setState({ failed: true, upload: false })\n }.bind(this)\n });\n },\n\n /* Rendering */\n render: function () {\n return (\n
\n {this.renderDropArea()}\n {this.renderProgress()}\n
\n )\n },\n\n renderDropArea: function () {\n // file upload error\n let errors = this.state.errors\n\n if ((this.props.filename || this.state.file) && !errors['fileupload']) {\n return\n }\n\n return (\n { this.onDrop(acceptedFiles) }} className=\"bg-lightd\">\n
\n
\n

\n
\n
Upload {this.props.type}
\n
Drag and Drop or Click here to upload
\n
{errors['fileupload']}
\n
\n
\n
\n
\n )\n },\n\n renderProgress: function () {\n let uploadProgress = this.state.uploadProgress\n\n let file = this.state.file\n\n let file_name = ''\n if (file) {\n file_name = file.name\n }\n else if (this.props.filename) {\n file_name = this.props.filename\n }\n else {\n return;\n }\n\n // file type icon\n let display_file_image = \"\";\n let extension = file_name.split('.').pop();\n if (extension == \"pdf\") {\n display_file_image = \"fal fa-file-pdf\"\n }\n else if (extension == \"jpg\") {\n display_file_image = \"fal fa-file-image\"\n }\n else if (extension == \"png\") {\n display_file_image = \"fal fa-file-image\"\n }\n\n\n let description = file_name\n let upload_view = \"\"\n let re_upload_view = \"\"\n let box_class = \"\"\n\n\n if (this.state.failed) {\n upload_view = (\n
Failed
\n )\n box_class = \"text-warning\"\n }\n else if (this.state.uploaded) {\n upload_view = (\n
Uploaded
\n )\n re_upload_view = (\n
Drag and Drop or Click here to re-upload
\n )\n }\n else if (uploadProgress && file) {\n description = (\n uploading {file_name}\n )\n upload_view = (\n
{uploadProgress}%
\n )\n re_upload_view = (\n
{this.fileSize(file.size * uploadProgress / 100)} / {this.fileSize(file.size)}
\n )\n display_file_image = 'fad fa-spinner loader-spin'\n box_class = \"uploading\"\n }\n\n return (\n { this.onDrop(acceptedFiles) }} className=\"cursor-pointer\">\n
\n
\n

\n
\n
{this.props.type}
\n
{description}
\n {re_upload_view}\n
\n
\n {upload_view}\n
\n
\n )\n },\n\n\n});\n\nexport default FileUpload;\n","/**\n * Returns the reasons data for the given loan.\n *\n * @param {Object} loan Expects a loan object that has `reasons-data` key in it\n * @returns null | object\n */\nconst getReasonDataFromLoan = (loan) => loan?.['reasons-data'] || null\n\n/**\n *\n * @param {Object} loan Expects a loan object that has `reasons-data` key in it\n * @param {string} target_reason Target reason that we want to test against the loan\n * @param {Object} options Additional options that can be passed\n * @param {Boolean} options.dealer_visible should match `dealer_visible` key in reasons-data to get a valid return value\n * @returns true if the loan reason and the target reason matches\n */\nconst isLoanReasonEqualTo = (\n loan,\n target_reason,\n { dealer_visible } = {}\n) => {\n const reason_data = getReasonDataFromLoan(loan) || {}\n\n const is_reason_equal = reason_data?.name === target_reason\n const is_dealer_visible = reason_data?.dealer_visible === dealer_visible\n\n return is_reason_equal && is_dealer_visible\n}\n\nconst isCollateralNotQualified = (loan) => isLoanReasonEqualTo(loan, \"collateral_not_qualified\", { dealer_visible: true })\n\nexport { getReasonDataFromLoan, isLoanReasonEqualTo, isCollateralNotQualified }","const Error = (function () {\n const popup = (title, description) => {\n $(document).trigger('error:modal', { title, description })\n }\n\n return {\n popup\n }\n})()\n\nexport default Error\n","module.exports = function (module) {\n if (!module.webpackPolyfill) {\n module.deprecate = function () {};\n\n module.paths = []; // module.parent = undefined by default\n\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function get() {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function get() {\n return module.i;\n }\n });\n module.webpackPolyfill = 1;\n }\n\n return module;\n};","define([\"./arr\"], function (arr) {\n \"use strict\";\n\n return arr.slice;\n});","define(function () {\n \"use strict\"; // [[Class]] -> type pairs\n\n return {};\n});","define(function () {\n \"use strict\";\n /**\n * Determines whether an object can have data\n */\n\n return function (owner) {\n // Accepts only:\n // - Node\n // - Node.ELEMENT_NODE\n // - Node.DOCUMENT_NODE\n // - Object\n // - Any\n return owner.nodeType === 1 || owner.nodeType === 9 || !+owner.nodeType;\n };\n});","define([\"../core\", \"../var/documentElement\", \"../selector\" // jQuery.contains\n], function (jQuery, documentElement) {\n \"use strict\";\n\n var isAttached = function isAttached(elem) {\n return jQuery.contains(elem.ownerDocument, elem);\n },\n composed = {\n composed: true\n }; // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n // Check attachment across shadow DOM boundaries when possible (gh-3504)\n // Support: iOS 10.0-10.2 only\n // Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n // leading to errors. We need to check for `getRootNode`.\n\n\n if (documentElement.getRootNode) {\n isAttached = function isAttached(elem) {\n return jQuery.contains(elem.ownerDocument, elem) || elem.getRootNode(composed) === elem.ownerDocument;\n };\n }\n\n return isAttached;\n});","define([\"./document\"], function (document) {\n \"use strict\";\n\n return document.documentElement;\n});","define([\"./core\", \"./core/isAttached\", \"./var/flat\", \"./var/isFunction\", \"./var/push\", \"./var/rcheckableType\", \"./core/access\", \"./manipulation/var/rtagName\", \"./manipulation/var/rscriptType\", \"./manipulation/wrapMap\", \"./manipulation/getAll\", \"./manipulation/setGlobalEval\", \"./manipulation/buildFragment\", \"./manipulation/support\", \"./data/var/dataPriv\", \"./data/var/dataUser\", \"./data/var/acceptData\", \"./core/DOMEval\", \"./core/nodeName\", \"./core/init\", \"./traversing\", \"./selector\", \"./event\"], function (jQuery, isAttached, flat, isFunction, push, rcheckableType, access, rtagName, rscriptType, wrapMap, getAll, setGlobalEval, buildFragment, support, dataPriv, dataUser, acceptData, DOMEval, nodeName) {\n \"use strict\";\n\n var // Support: IE <=10 - 11, Edge 12 - 13 only\n // In IE/Edge using regex groups here causes severe slowdowns.\n // See https://connect.microsoft.com/IE/feedback/details/1736512/\n rnoInnerhtml = /\\s*$/g; // Prefer a tbody over its parent table for containing new rows\n\n function manipulationTarget(elem, content) {\n if (nodeName(elem, \"table\") && nodeName(content.nodeType !== 11 ? content : content.firstChild, \"tr\")) {\n return jQuery(elem).children(\"tbody\")[0] || elem;\n }\n\n return elem;\n } // Replace/restore the type attribute of script elements for safe DOM manipulation\n\n\n function disableScript(elem) {\n elem.type = (elem.getAttribute(\"type\") !== null) + \"/\" + elem.type;\n return elem;\n }\n\n function restoreScript(elem) {\n if ((elem.type || \"\").slice(0, 5) === \"true/\") {\n elem.type = elem.type.slice(5);\n } else {\n elem.removeAttribute(\"type\");\n }\n\n return elem;\n }\n\n function cloneCopyEvent(src, dest) {\n var i, l, type, pdataOld, udataOld, udataCur, events;\n\n if (dest.nodeType !== 1) {\n return;\n } // 1. Copy private data: events, handlers, etc.\n\n\n if (dataPriv.hasData(src)) {\n pdataOld = dataPriv.get(src);\n events = pdataOld.events;\n\n if (events) {\n dataPriv.remove(dest, \"handle events\");\n\n for (type in events) {\n for (i = 0, l = events[type].length; i < l; i++) {\n jQuery.event.add(dest, type, events[type][i]);\n }\n }\n }\n } // 2. Copy user data\n\n\n if (dataUser.hasData(src)) {\n udataOld = dataUser.access(src);\n udataCur = jQuery.extend({}, udataOld);\n dataUser.set(dest, udataCur);\n }\n } // Fix IE bugs, see support tests\n\n\n function fixInput(src, dest) {\n var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button.\n\n if (nodeName === \"input\" && rcheckableType.test(src.type)) {\n dest.checked = src.checked; // Fails to return the selected option to the default selected state when cloning options\n } else if (nodeName === \"input\" || nodeName === \"textarea\") {\n dest.defaultValue = src.defaultValue;\n }\n }\n\n function domManip(collection, args, callback, ignored) {\n // Flatten any nested arrays\n args = flat(args);\n var fragment,\n first,\n scripts,\n hasScripts,\n node,\n doc,\n i = 0,\n l = collection.length,\n iNoClone = l - 1,\n value = args[0],\n valueIsFunction = isFunction(value); // We can't cloneNode fragments that contain checked, in WebKit\n\n if (valueIsFunction || l > 1 && typeof value === \"string\" && !support.checkClone && rchecked.test(value)) {\n return collection.each(function (index) {\n var self = collection.eq(index);\n\n if (valueIsFunction) {\n args[0] = value.call(this, index, self.html());\n }\n\n domManip(self, args, callback, ignored);\n });\n }\n\n if (l) {\n fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored);\n first = fragment.firstChild;\n\n if (fragment.childNodes.length === 1) {\n fragment = first;\n } // Require either new content or an interest in ignored elements to invoke the callback\n\n\n if (first || ignored) {\n scripts = jQuery.map(getAll(fragment, \"script\"), disableScript);\n hasScripts = scripts.length; // Use the original fragment for the last item\n // instead of the first because it can end up\n // being emptied incorrectly in certain situations (#8070).\n\n for (; i < l; i++) {\n node = fragment;\n\n if (i !== iNoClone) {\n node = jQuery.clone(node, true, true); // Keep references to cloned scripts for later restoration\n\n if (hasScripts) {\n // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n jQuery.merge(scripts, getAll(node, \"script\"));\n }\n }\n\n callback.call(collection[i], node, i);\n }\n\n if (hasScripts) {\n doc = scripts[scripts.length - 1].ownerDocument; // Reenable scripts\n\n jQuery.map(scripts, restoreScript); // Evaluate executable scripts on first document insertion\n\n for (i = 0; i < hasScripts; i++) {\n node = scripts[i];\n\n if (rscriptType.test(node.type || \"\") && !dataPriv.access(node, \"globalEval\") && jQuery.contains(doc, node)) {\n if (node.src && (node.type || \"\").toLowerCase() !== \"module\") {\n // Optional AJAX dependency, but won't run scripts if not present\n if (jQuery._evalUrl && !node.noModule) {\n jQuery._evalUrl(node.src, {\n nonce: node.nonce || node.getAttribute(\"nonce\")\n }, doc);\n }\n } else {\n DOMEval(node.textContent.replace(rcleanScript, \"\"), node, doc);\n }\n }\n }\n }\n }\n }\n\n return collection;\n }\n\n function _remove(elem, selector, keepData) {\n var node,\n nodes = selector ? jQuery.filter(selector, elem) : elem,\n i = 0;\n\n for (; (node = nodes[i]) != null; i++) {\n if (!keepData && node.nodeType === 1) {\n jQuery.cleanData(getAll(node));\n }\n\n if (node.parentNode) {\n if (keepData && isAttached(node)) {\n setGlobalEval(getAll(node, \"script\"));\n }\n\n node.parentNode.removeChild(node);\n }\n }\n\n return elem;\n }\n\n jQuery.extend({\n htmlPrefilter: function htmlPrefilter(html) {\n return html;\n },\n clone: function clone(elem, dataAndEvents, deepDataAndEvents) {\n var i,\n l,\n srcElements,\n destElements,\n clone = elem.cloneNode(true),\n inPage = isAttached(elem); // Fix IE cloning issues\n\n if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) {\n // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n destElements = getAll(clone);\n srcElements = getAll(elem);\n\n for (i = 0, l = srcElements.length; i < l; i++) {\n fixInput(srcElements[i], destElements[i]);\n }\n } // Copy the events from the original to the clone\n\n\n if (dataAndEvents) {\n if (deepDataAndEvents) {\n srcElements = srcElements || getAll(elem);\n destElements = destElements || getAll(clone);\n\n for (i = 0, l = srcElements.length; i < l; i++) {\n cloneCopyEvent(srcElements[i], destElements[i]);\n }\n } else {\n cloneCopyEvent(elem, clone);\n }\n } // Preserve script evaluation history\n\n\n destElements = getAll(clone, \"script\");\n\n if (destElements.length > 0) {\n setGlobalEval(destElements, !inPage && getAll(elem, \"script\"));\n } // Return the cloned set\n\n\n return clone;\n },\n cleanData: function cleanData(elems) {\n var data,\n elem,\n type,\n special = jQuery.event.special,\n i = 0;\n\n for (; (elem = elems[i]) !== undefined; i++) {\n if (acceptData(elem)) {\n if (data = elem[dataPriv.expando]) {\n if (data.events) {\n for (type in data.events) {\n if (special[type]) {\n jQuery.event.remove(elem, type); // This is a shortcut to avoid jQuery.event.remove's overhead\n } else {\n jQuery.removeEvent(elem, type, data.handle);\n }\n }\n } // Support: Chrome <=35 - 45+\n // Assign undefined instead of using delete, see Data#remove\n\n\n elem[dataPriv.expando] = undefined;\n }\n\n if (elem[dataUser.expando]) {\n // Support: Chrome <=35 - 45+\n // Assign undefined instead of using delete, see Data#remove\n elem[dataUser.expando] = undefined;\n }\n }\n }\n }\n });\n jQuery.fn.extend({\n detach: function detach(selector) {\n return _remove(this, selector, true);\n },\n remove: function remove(selector) {\n return _remove(this, selector);\n },\n text: function text(value) {\n return access(this, function (value) {\n return value === undefined ? jQuery.text(this) : this.empty().each(function () {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {\n this.textContent = value;\n }\n });\n }, null, value, arguments.length);\n },\n append: function append() {\n return domManip(this, arguments, function (elem) {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {\n var target = manipulationTarget(this, elem);\n target.appendChild(elem);\n }\n });\n },\n prepend: function prepend() {\n return domManip(this, arguments, function (elem) {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {\n var target = manipulationTarget(this, elem);\n target.insertBefore(elem, target.firstChild);\n }\n });\n },\n before: function before() {\n return domManip(this, arguments, function (elem) {\n if (this.parentNode) {\n this.parentNode.insertBefore(elem, this);\n }\n });\n },\n after: function after() {\n return domManip(this, arguments, function (elem) {\n if (this.parentNode) {\n this.parentNode.insertBefore(elem, this.nextSibling);\n }\n });\n },\n empty: function empty() {\n var elem,\n i = 0;\n\n for (; (elem = this[i]) != null; i++) {\n if (elem.nodeType === 1) {\n // Prevent memory leaks\n jQuery.cleanData(getAll(elem, false)); // Remove any remaining nodes\n\n elem.textContent = \"\";\n }\n }\n\n return this;\n },\n clone: function clone(dataAndEvents, deepDataAndEvents) {\n dataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n return this.map(function () {\n return jQuery.clone(this, dataAndEvents, deepDataAndEvents);\n });\n },\n html: function html(value) {\n return access(this, function (value) {\n var elem = this[0] || {},\n i = 0,\n l = this.length;\n\n if (value === undefined && elem.nodeType === 1) {\n return elem.innerHTML;\n } // See if we can take a shortcut and just use innerHTML\n\n\n if (typeof value === \"string\" && !rnoInnerhtml.test(value) && !wrapMap[(rtagName.exec(value) || [\"\", \"\"])[1].toLowerCase()]) {\n value = jQuery.htmlPrefilter(value);\n\n try {\n for (; i < l; i++) {\n elem = this[i] || {}; // Remove element nodes and prevent memory leaks\n\n if (elem.nodeType === 1) {\n jQuery.cleanData(getAll(elem, false));\n elem.innerHTML = value;\n }\n }\n\n elem = 0; // If using innerHTML throws an exception, use the fallback method\n } catch (e) {}\n }\n\n if (elem) {\n this.empty().append(value);\n }\n }, null, value, arguments.length);\n },\n replaceWith: function replaceWith() {\n var ignored = []; // Make the changes, replacing each non-ignored context element with the new content\n\n return domManip(this, arguments, function (elem) {\n var parent = this.parentNode;\n\n if (jQuery.inArray(this, ignored) < 0) {\n jQuery.cleanData(getAll(this));\n\n if (parent) {\n parent.replaceChild(elem, this);\n }\n } // Force callback invocation\n\n }, ignored);\n }\n });\n jQuery.each({\n appendTo: \"append\",\n prependTo: \"prepend\",\n insertBefore: \"before\",\n insertAfter: \"after\",\n replaceAll: \"replaceWith\"\n }, function (name, original) {\n jQuery.fn[name] = function (selector) {\n var elems,\n ret = [],\n insert = jQuery(selector),\n last = insert.length - 1,\n i = 0;\n\n for (; i <= last; i++) {\n elems = i === last ? this : this.clone(true);\n jQuery(insert[i])[original](elems); // Support: Android <=4.0 only, PhantomJS 1 only\n // .get() because push.apply(_, arraylike) throws on ancient WebKit\n\n push.apply(ret, elems.get());\n }\n\n return this.pushStack(ret);\n };\n });\n return jQuery;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar g; // This works in non-strict mode\n\ng = function () {\n return this;\n}();\n\ntry {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n} catch (e) {\n // This works if the window reference is available\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n} // g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\n\nmodule.exports = g;","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n'use strict';\n/* eslint-disable no-unused-vars */\n\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n\n return Object(val);\n}\n\nfunction shouldUseNative() {\n try {\n if (!Object.assign) {\n return false;\n } // Detect buggy property enumeration order in older V8 versions.\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\n\n var test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\n test1[5] = 'de';\n\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test2 = {};\n\n for (var i = 0; i < 10; i++) {\n test2['_' + String.fromCharCode(i)] = i;\n }\n\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n return test2[n];\n });\n\n if (order2.join('') !== '0123456789') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test3 = {};\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n test3[letter] = letter;\n });\n\n if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {\n return false;\n }\n\n return true;\n } catch (err) {\n // We don't expect any of the above to throw, but better to be safe.\n return false;\n }\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n var from;\n var to = toObject(target);\n var symbols;\n\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n\n if (getOwnPropertySymbols) {\n symbols = getOwnPropertySymbols(from);\n\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n\n return to;\n};","import React from 'react';\nvar createReactClass = require('create-react-class');\nexport const Loader = createReactClass({\n /* Data */\n propTypes: {\n },\n getDefaultProps: function() {\n return {\n };\n },\n getInitialState: function() {\n return {\n };\n },\n\n /* Rendering */\n render: function() {\n\n let status = this.props.status || false;\n\n if (status) {\n return this.renderLoader();\n }\n\n return null;\n },\n\n renderLoader: function() {\n let loader_attr = this.props.loaderAttr || {};\n let loader_text = loader_attr['text'] || 'Loading';\n let loader_class = loader_attr['bg-class'] || \"#444444\";\n let text_color = loader_attr['text-color'] || '#fff'\n return (\n
\n
\n
\n\n
\n
\n
\n
\n
\n {\n loader_text ? (\n

{loader_text}

\n ) : ''\n }\n
\n
\n
\n
\n
\n
\n )\n },\n\n });\n\n\nexport default Loader;\n","import React from 'react'\nimport { plaidHeaderText, plaidParagraphs } from './constants.js'\n\nexport const BankAccountHeader = ({ lbid, sendAnalytics }) => {\n\n return (\n
\n
\n \n
\n
\n
\n {plaidHeaderText}\n
\n
\n
\n
\n )\n}\n\n// TODO: stop exporting this after v1 is gone\nexport const plaidIntro = plaidParagraphs.map((paragraph, index) => (\n
{paragraph}
\n))\n\nexport const BankAccountIntroText = () => (\n
\n {plaidIntro}\n
\n)\n","// this isn't *shared* anymore, since the modal doesn't exist in v2\n// but keeping text descriptions here in case of any eventual i18n need\n\nexport const plaidHeaderText = 'Connect Bank'\nexport const plaidParagraphs = [\n \"This helps us offer the best rate and fastest approval time.\",\n \"We use Plaid’s state-of-the art security encryption preventing access to your login information to anyone but you.\"\n]","import React from 'react';\n\nconst Tabs = (props) => {\n return (\n
\n
\n
\n
\n
{props.title}
\n {props.children}\n
\n
\n {props.rightView}\n
\n
\n
\n
\n )\n}\n\nconst Tab = (props) => {\n let selected_class = 'cursor-pointer'\n if (props.selected) {\n selected_class = 'border-b-4 border-green-400 text-green-500'\n }\n\n const onClick = () => {\n if (props.onClick) {\n props.onClick()\n }\n }\n\n return (\n
{props.children}
\n )\n}\n\nexport { Tabs, Tab };\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;\n(function () {\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n /** Used as the semantic version number. */\n\n var VERSION = '4.17.21';\n /** Used as the size to enable large array optimizations. */\n\n var LARGE_ARRAY_SIZE = 200;\n /** Error message constants. */\n\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n /** Used to stand-in for `undefined` hash values. */\n\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n /** Used as the maximum memoize cache size. */\n\n var MAX_MEMOIZE_SIZE = 500;\n /** Used as the internal argument placeholder. */\n\n var PLACEHOLDER = '__lodash_placeholder__';\n /** Used to compose bitmasks for cloning. */\n\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n /** Used to compose bitmasks for value comparisons. */\n\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n /** Used to compose bitmasks for function metadata. */\n\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n /** Used as default options for `_.truncate`. */\n\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n /** Used to indicate the type of lazy iteratees. */\n\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n /** Used as references for various `Number` constants. */\n\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n /** Used as references for the maximum length and index of an array. */\n\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n /** Used to associate wrap methods with their bit flags. */\n\n var wrapFlags = [['ary', WRAP_ARY_FLAG], ['bind', WRAP_BIND_FLAG], ['bindKey', WRAP_BIND_KEY_FLAG], ['curry', WRAP_CURRY_FLAG], ['curryRight', WRAP_CURRY_RIGHT_FLAG], ['flip', WRAP_FLIP_FLAG], ['partial', WRAP_PARTIAL_FLAG], ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], ['rearg', WRAP_REARG_FLAG]];\n /** `Object#toString` result references. */\n\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n /** Used to match empty string literals in compiled template source. */\n\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n /** Used to match HTML entities and HTML characters. */\n\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n /** Used to match template delimiters. */\n\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n /** Used to match property names within property paths. */\n\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n /** Used to match leading whitespace. */\n\n var reTrimStart = /^\\s+/;\n /** Used to match a single whitespace character. */\n\n var reWhitespace = /\\s/;\n /** Used to match wrap detail comments. */\n\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n /** Used to match words composed of alphanumeric characters. */\n\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n /** Used to match backslashes in property paths. */\n\n var reEscapeChar = /\\\\(\\\\)?/g;\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n /** Used to match `RegExp` flags from their coerced string values. */\n\n var reFlags = /\\w*$/;\n /** Used to detect bad signed hexadecimal string values. */\n\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n /** Used to detect binary string values. */\n\n var reIsBinary = /^0b[01]+$/i;\n /** Used to detect host constructors (Safari). */\n\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n /** Used to detect octal string values. */\n\n var reIsOctal = /^0o[0-7]+$/i;\n /** Used to detect unsigned integer values. */\n\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n /** Used to ensure capturing order of template delimiters. */\n\n var reNoMatch = /($^)/;\n /** Used to match unescaped characters in compiled string literals. */\n\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n /** Used to compose unicode character classes. */\n\n var rsAstralRange = \"\\\\ud800-\\\\udfff\",\n rsComboMarksRange = \"\\\\u0300-\\\\u036f\",\n reComboHalfMarksRange = \"\\\\ufe20-\\\\ufe2f\",\n rsComboSymbolsRange = \"\\\\u20d0-\\\\u20ff\",\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = \"\\\\u2700-\\\\u27bf\",\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = \"\\\\u2000-\\\\u206f\",\n rsSpaceRange = \" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = \"\\\\ufe0e\\\\ufe0f\",\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n /** Used to compose unicode capture groups. */\n\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = \"\\\\ud83c[\\\\udffb-\\\\udfff]\",\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = \"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",\n rsSurrPair = \"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = \"\\\\u200d\";\n /** Used to compose unicode regexes. */\n\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n /** Used to match apostrophes. */\n\n var reApos = RegExp(rsApos, 'g');\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n\n var reComboMark = RegExp(rsCombo, 'g');\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n /** Used to match complex or compound words. */\n\n var reUnicodeWord = RegExp([rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, rsUpper + '+' + rsOptContrUpper, rsOrdUpper, rsOrdLower, rsDigits, rsEmoji].join('|'), 'g');\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n /** Used to detect strings that need a more robust regexp to match words. */\n\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n /** Used to assign default `context` object properties. */\n\n var contextProps = ['Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'];\n /** Used to make template sourceURLs easier to identify. */\n\n var templateCounter = -1;\n /** Used to identify `toStringTag` values of typed arrays. */\n\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;\n /** Used to map Latin Unicode letters to basic Latin letters. */\n\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A',\n '\\xc1': 'A',\n '\\xc2': 'A',\n '\\xc3': 'A',\n '\\xc4': 'A',\n '\\xc5': 'A',\n '\\xe0': 'a',\n '\\xe1': 'a',\n '\\xe2': 'a',\n '\\xe3': 'a',\n '\\xe4': 'a',\n '\\xe5': 'a',\n '\\xc7': 'C',\n '\\xe7': 'c',\n '\\xd0': 'D',\n '\\xf0': 'd',\n '\\xc8': 'E',\n '\\xc9': 'E',\n '\\xca': 'E',\n '\\xcb': 'E',\n '\\xe8': 'e',\n '\\xe9': 'e',\n '\\xea': 'e',\n '\\xeb': 'e',\n '\\xcc': 'I',\n '\\xcd': 'I',\n '\\xce': 'I',\n '\\xcf': 'I',\n '\\xec': 'i',\n '\\xed': 'i',\n '\\xee': 'i',\n '\\xef': 'i',\n '\\xd1': 'N',\n '\\xf1': 'n',\n '\\xd2': 'O',\n '\\xd3': 'O',\n '\\xd4': 'O',\n '\\xd5': 'O',\n '\\xd6': 'O',\n '\\xd8': 'O',\n '\\xf2': 'o',\n '\\xf3': 'o',\n '\\xf4': 'o',\n '\\xf5': 'o',\n '\\xf6': 'o',\n '\\xf8': 'o',\n '\\xd9': 'U',\n '\\xda': 'U',\n '\\xdb': 'U',\n '\\xdc': 'U',\n '\\xf9': 'u',\n '\\xfa': 'u',\n '\\xfb': 'u',\n '\\xfc': 'u',\n '\\xdd': 'Y',\n '\\xfd': 'y',\n '\\xff': 'y',\n '\\xc6': 'Ae',\n '\\xe6': 'ae',\n '\\xde': 'Th',\n '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n \"\\u0100\": 'A',\n \"\\u0102\": 'A',\n \"\\u0104\": 'A',\n \"\\u0101\": 'a',\n \"\\u0103\": 'a',\n \"\\u0105\": 'a',\n \"\\u0106\": 'C',\n \"\\u0108\": 'C',\n \"\\u010A\": 'C',\n \"\\u010C\": 'C',\n \"\\u0107\": 'c',\n \"\\u0109\": 'c',\n \"\\u010B\": 'c',\n \"\\u010D\": 'c',\n \"\\u010E\": 'D',\n \"\\u0110\": 'D',\n \"\\u010F\": 'd',\n \"\\u0111\": 'd',\n \"\\u0112\": 'E',\n \"\\u0114\": 'E',\n \"\\u0116\": 'E',\n \"\\u0118\": 'E',\n \"\\u011A\": 'E',\n \"\\u0113\": 'e',\n \"\\u0115\": 'e',\n \"\\u0117\": 'e',\n \"\\u0119\": 'e',\n \"\\u011B\": 'e',\n \"\\u011C\": 'G',\n \"\\u011E\": 'G',\n \"\\u0120\": 'G',\n \"\\u0122\": 'G',\n \"\\u011D\": 'g',\n \"\\u011F\": 'g',\n \"\\u0121\": 'g',\n \"\\u0123\": 'g',\n \"\\u0124\": 'H',\n \"\\u0126\": 'H',\n \"\\u0125\": 'h',\n \"\\u0127\": 'h',\n \"\\u0128\": 'I',\n \"\\u012A\": 'I',\n \"\\u012C\": 'I',\n \"\\u012E\": 'I',\n \"\\u0130\": 'I',\n \"\\u0129\": 'i',\n \"\\u012B\": 'i',\n \"\\u012D\": 'i',\n \"\\u012F\": 'i',\n \"\\u0131\": 'i',\n \"\\u0134\": 'J',\n \"\\u0135\": 'j',\n \"\\u0136\": 'K',\n \"\\u0137\": 'k',\n \"\\u0138\": 'k',\n \"\\u0139\": 'L',\n \"\\u013B\": 'L',\n \"\\u013D\": 'L',\n \"\\u013F\": 'L',\n \"\\u0141\": 'L',\n \"\\u013A\": 'l',\n \"\\u013C\": 'l',\n \"\\u013E\": 'l',\n \"\\u0140\": 'l',\n \"\\u0142\": 'l',\n \"\\u0143\": 'N',\n \"\\u0145\": 'N',\n \"\\u0147\": 'N',\n \"\\u014A\": 'N',\n \"\\u0144\": 'n',\n \"\\u0146\": 'n',\n \"\\u0148\": 'n',\n \"\\u014B\": 'n',\n \"\\u014C\": 'O',\n \"\\u014E\": 'O',\n \"\\u0150\": 'O',\n \"\\u014D\": 'o',\n \"\\u014F\": 'o',\n \"\\u0151\": 'o',\n \"\\u0154\": 'R',\n \"\\u0156\": 'R',\n \"\\u0158\": 'R',\n \"\\u0155\": 'r',\n \"\\u0157\": 'r',\n \"\\u0159\": 'r',\n \"\\u015A\": 'S',\n \"\\u015C\": 'S',\n \"\\u015E\": 'S',\n \"\\u0160\": 'S',\n \"\\u015B\": 's',\n \"\\u015D\": 's',\n \"\\u015F\": 's',\n \"\\u0161\": 's',\n \"\\u0162\": 'T',\n \"\\u0164\": 'T',\n \"\\u0166\": 'T',\n \"\\u0163\": 't',\n \"\\u0165\": 't',\n \"\\u0167\": 't',\n \"\\u0168\": 'U',\n \"\\u016A\": 'U',\n \"\\u016C\": 'U',\n \"\\u016E\": 'U',\n \"\\u0170\": 'U',\n \"\\u0172\": 'U',\n \"\\u0169\": 'u',\n \"\\u016B\": 'u',\n \"\\u016D\": 'u',\n \"\\u016F\": 'u',\n \"\\u0171\": 'u',\n \"\\u0173\": 'u',\n \"\\u0174\": 'W',\n \"\\u0175\": 'w',\n \"\\u0176\": 'Y',\n \"\\u0177\": 'y',\n \"\\u0178\": 'Y',\n \"\\u0179\": 'Z',\n \"\\u017B\": 'Z',\n \"\\u017D\": 'Z',\n \"\\u017A\": 'z',\n \"\\u017C\": 'z',\n \"\\u017E\": 'z',\n \"\\u0132\": 'IJ',\n \"\\u0133\": 'ij',\n \"\\u0152\": 'Oe',\n \"\\u0153\": 'oe',\n \"\\u0149\": \"'n\",\n \"\\u017F\": 's'\n };\n /** Used to map characters to HTML entities. */\n\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n /** Used to map HTML entities to characters. */\n\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n /** Used to escape characters for inclusion in compiled string literals. */\n\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n \"\\u2028\": 'u2028',\n \"\\u2029\": 'u2029'\n };\n /** Built-in method references without a dependency on `root`. */\n\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n /** Detect free variable `global` from Node.js. */\n\n var freeGlobal = (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && global && global.Object === Object && global;\n /** Detect free variable `self`. */\n\n var freeSelf = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && self && self.Object === Object && self;\n /** Used as a reference to the global object. */\n\n var root = freeGlobal || freeSelf || Function('return this')();\n /** Detect free variable `exports`. */\n\n var freeExports = (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) == 'object' && exports && !exports.nodeType && exports;\n /** Detect free variable `module`. */\n\n var freeModule = freeExports && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) == 'object' && module && !module.nodeType && module;\n /** Detect the popular CommonJS extension `module.exports`. */\n\n var moduleExports = freeModule && freeModule.exports === freeExports;\n /** Detect free variable `process` from Node.js. */\n\n var freeProcess = moduleExports && freeGlobal.process;\n /** Used to access faster Node.js helpers. */\n\n var nodeUtil = function () {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n } // Legacy `process.binding('util')` for Node.js < 10.\n\n\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }();\n /* Node.js helper references. */\n\n\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0:\n return func.call(thisArg);\n\n case 1:\n return func.call(thisArg, args[0]);\n\n case 2:\n return func.call(thisArg, args[0], args[1]);\n\n case 3:\n return func.call(thisArg, args[0], args[1], args[2]);\n }\n\n return func.apply(thisArg, args);\n }\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n\n return array;\n }\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n\n return array;\n }\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n\n\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n\n\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n\n\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n\n\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n\n return false;\n }\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n\n\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n\n return result;\n }\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n\n return array;\n }\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[--length];\n }\n\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n\n\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n\n return false;\n }\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n\n\n var asciiSize = baseProperty('length');\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n function asciiToArray(string) {\n return string.split('');\n }\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n\n\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n\n\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function (value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while (fromRight ? index-- : ++index < length) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseIndexOf(array, value, fromIndex) {\n return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n\n\n function baseIsNaN(value) {\n return value !== value;\n }\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n\n\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? baseSum(array, iteratee) / length : NAN;\n }\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function baseProperty(key) {\n return function (object) {\n return object == null ? undefined : object[key];\n };\n }\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function basePropertyOf(object) {\n return function (key) {\n return object == null ? undefined : object[key];\n };\n }\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function (value, index, collection) {\n accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n\n\n function baseSortBy(array, comparer) {\n var length = array.length;\n array.sort(comparer);\n\n while (length--) {\n array[length] = array[length].value;\n }\n\n return array;\n }\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n\n\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n\n if (current !== undefined) {\n result = result === undefined ? current : result + current;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n\n\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n\n return result;\n }\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n\n\n function baseToPairs(object, props) {\n return arrayMap(props, function (key) {\n return [key, object[key]];\n });\n }\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n\n\n function baseTrim(string) {\n return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') : string;\n }\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n\n\n function baseUnary(func) {\n return function (value) {\n return func(value);\n };\n }\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n\n\n function baseValues(object, props) {\n return arrayMap(props, function (key) {\n return object[key];\n });\n }\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n\n\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n\n return index;\n }\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n\n\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n\n return index;\n }\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n\n\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n\n return result;\n }\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n\n\n var deburrLetter = basePropertyOf(deburredLetters);\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n\n\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n\n\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n\n\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n\n return result;\n }\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n\n\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n map.forEach(function (value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n\n\n function overArg(func, transform) {\n return function (arg) {\n return func(transform(arg));\n };\n }\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n\n\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n\n return result;\n }\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n\n\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n set.forEach(function (value) {\n result[++index] = value;\n });\n return result;\n }\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n\n\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n set.forEach(function (value) {\n result[++index] = [value, value];\n });\n return result;\n }\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n\n return index;\n }\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n\n\n function stringSize(string) {\n return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);\n }\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function stringToArray(string) {\n return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);\n }\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n\n\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n\n return index;\n }\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n\n\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n\n while (reUnicode.test(string)) {\n ++result;\n }\n\n return result;\n }\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n\n\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n\n\n var runInContext = function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n /** Built-in constructor references. */\n\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n /** Used for built-in method references. */\n\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n /** Used to detect overreaching core-js shims. */\n\n var coreJsData = context['__core-js_shared__'];\n /** Used to resolve the decompiled source of functions. */\n\n var funcToString = funcProto.toString;\n /** Used to check objects for own properties. */\n\n var hasOwnProperty = objectProto.hasOwnProperty;\n /** Used to generate unique IDs. */\n\n var idCounter = 0;\n /** Used to detect methods masquerading as native. */\n\n var maskSrcKey = function () {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? 'Symbol(src)_1.' + uid : '';\n }();\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\n\n var nativeObjectToString = objectProto.toString;\n /** Used to infer the `Object` constructor. */\n\n var objectCtorString = funcToString.call(Object);\n /** Used to restore the original `_` reference in `_.noConflict`. */\n\n var oldDash = root._;\n /** Used to detect if a method is native. */\n\n var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n /** Built-in value references. */\n\n var Buffer = moduleExports ? context.Buffer : undefined,\n _Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = _Symbol ? _Symbol.isConcatSpreadable : undefined,\n symIterator = _Symbol ? _Symbol.iterator : undefined,\n symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n var defineProperty = function () {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }();\n /** Mocked built-ins. */\n\n\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n /* Built-in method references for those with the same name as other `lodash` methods. */\n\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n /* Built-in method references that are verified to be native. */\n\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n /** Used to store function metadata. */\n\n var metaMap = WeakMap && new WeakMap();\n /** Used to lookup unminified function names. */\n\n var realNames = {};\n /** Used to detect maps, sets, and weakmaps. */\n\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n /** Used to convert symbols to primitives and strings. */\n\n var symbolProto = _Symbol ? _Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n\n return new LodashWrapper(value);\n }\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n\n\n var baseCreate = function () {\n function object() {}\n\n return function (proto) {\n if (!isObject(proto)) {\n return {};\n }\n\n if (objectCreate) {\n return objectCreate(proto);\n }\n\n object.prototype = proto;\n var result = new object();\n object.prototype = undefined;\n return result;\n };\n }();\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n\n\n function baseLodash() {// No operation performed.\n }\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n\n\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n\n\n lodash.templateSettings = {\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n }; // Ensure wrappers are instances of `baseLodash`.\n\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n\n\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n\n\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n\n return result;\n }\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n\n\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : start - 1,\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || !isRight && arrLength == length && takeCount == length) {\n return baseWrapperValue(array, this.__actions__);\n }\n\n var result = [];\n\n outer: while (length-- && resIndex < takeCount) {\n index += dir;\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n\n result[resIndex++] = value;\n }\n\n return result;\n } // Ensure `LazyWrapper` is an instance of `baseLodash`.\n\n\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n\n\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function hashGet(key) {\n var data = this.__data__;\n\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n }\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n\n\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n return this;\n } // Add methods to `Hash`.\n\n\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n\n\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n\n var lastIndex = data.length - 1;\n\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n\n --this.size;\n return true;\n }\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n return index < 0 ? undefined : data[index][1];\n }\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n\n\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n\n return this;\n } // Add methods to `ListCache`.\n\n\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n\n\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash(),\n 'map': new (Map || ListCache)(),\n 'string': new Hash()\n };\n }\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n\n\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n } // Add methods to `MapCache`.\n\n\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n this.__data__ = new MapCache();\n\n while (++index < length) {\n this.add(values[index]);\n }\n }\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n\n\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n\n return this;\n }\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n\n\n function setCacheHas(value) {\n return this.__data__.has(value);\n } // Add methods to `SetCache`.\n\n\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n\n\n function stackClear() {\n this.__data__ = new ListCache();\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n this.size = data.size;\n return result;\n }\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function stackGet(key) {\n return this.__data__.get(key);\n }\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function stackHas(key) {\n return this.__data__.has(key);\n }\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n\n\n function stackSet(key, value) {\n var data = this.__data__;\n\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n\n if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n\n data = this.__data__ = new MapCache(pairs);\n }\n\n data.set(key, value);\n this.size = data.size;\n return this;\n } // Add methods to `Stack`.\n\n\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && ( // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' || isBuff && (key == 'offset' || key == 'parent') || isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset') || // Skip index properties.\n isIndex(key, length)))) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n\n\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n\n\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n\n\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function assignMergeValue(object, key, value) {\n if (value !== undefined && !eq(object[key], value) || value === undefined && !(key in object)) {\n baseAssignValue(object, key, value);\n }\n }\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function assignValue(object, key, value) {\n var objValue = object[key];\n\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === undefined && !(key in object)) {\n baseAssignValue(object, key, value);\n }\n }\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function assocIndexOf(array, key) {\n var length = array.length;\n\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n\n return -1;\n }\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function (value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n\n\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n\n return result;\n }\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n\n\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n\n return number;\n }\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n\n\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n\n if (result !== undefined) {\n return result;\n }\n\n if (!isObject(value)) {\n return value;\n }\n\n var isArr = isArray(value);\n\n if (isArr) {\n result = initCloneArray(value);\n\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n\n if (tag == objectTag || tag == argsTag || isFunc && !object) {\n result = isFlat || isFunc ? {} : initCloneObject(value);\n\n if (!isDeep) {\n return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n\n result = initCloneByTag(value, tag, isDeep);\n }\n } // Check for circular references and return its corresponding clone.\n\n\n stack || (stack = new Stack());\n var stacked = stack.get(value);\n\n if (stacked) {\n return stacked;\n }\n\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function (subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function (subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function (subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n } // Recursively populate clone (susceptible to call stack limits).\n\n\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseConforms(source) {\n var props = keys(source);\n return function (object) {\n return baseConformsTo(object, source, props);\n };\n }\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n\n\n function baseConformsTo(object, source, props) {\n var length = props.length;\n\n if (object == null) {\n return !length;\n }\n\n object = Object(object);\n\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if (value === undefined && !(key in object) || !predicate(value)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n\n\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n return setTimeout(function () {\n func.apply(undefined, args);\n }, wait);\n }\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n\n\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n } else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n\n outer: while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n value = comparator || value !== 0 ? value : 0;\n\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n\n result.push(value);\n } else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n\n\n var baseEach = createBaseEach(baseForOwn);\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function (value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n\n\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined ? current === current && !isSymbol(current) : comparator(current, computed))) {\n var computed = current,\n result = value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n\n\n function baseFill(array, value, start, end) {\n var length = array.length;\n start = toInteger(start);\n\n if (start < 0) {\n start = -start > length ? 0 : length + start;\n }\n\n end = end === undefined || end > length ? length : toInteger(end);\n\n if (end < 0) {\n end += length;\n }\n\n end = start > end ? 0 : toLength(end);\n\n while (start < end) {\n array[start++] = value;\n }\n\n return array;\n }\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n\n\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function (value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n\n\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n\n\n var baseFor = createBaseFor();\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n\n var baseForRight = createBaseFor(true);\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n\n\n function baseFunctions(object, props) {\n return arrayFilter(props, function (key) {\n return isFunction(object[key]);\n });\n }\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n\n\n function baseGet(object, path) {\n path = castPath(path, object);\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n\n return index && index == length ? object : undefined;\n }\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\n\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n\n return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n }\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n\n\n function baseGt(value, other) {\n return value > other;\n }\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n\n\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n\n\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n\n\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n\n\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined;\n }\n\n array = arrays[0];\n var index = -1,\n seen = caches[0];\n\n outer: while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n value = comparator || value !== 0 ? value : 0;\n\n if (!(seen ? cacheHas(seen, computed) : includes(result, computed, comparator))) {\n othIndex = othLength;\n\n while (--othIndex) {\n var cache = caches[othIndex];\n\n if (!(cache ? cacheHas(cache, computed) : includes(arrays[othIndex], computed, comparator))) {\n continue outer;\n }\n }\n\n if (seen) {\n seen.push(computed);\n }\n\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function (value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n\n\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n\n\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n\n\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n\n\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n\n\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n\n if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {\n return value !== value && other !== other;\n }\n\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n\n objIsArr = true;\n objIsObj = false;\n }\n\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack());\n return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n stack || (stack = new Stack());\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n\n if (!isSameTag) {\n return false;\n }\n\n stack || (stack = new Stack());\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n\n\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n\n\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n\n object = Object(object);\n\n while (index--) {\n var data = matchData[index];\n\n if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {\n return false;\n }\n }\n\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack();\n\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n\n if (!(result === undefined ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {\n return false;\n }\n }\n }\n\n return true;\n }\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n\n\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n\n\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n\n\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n\n\n function baseIsTypedArray(value) {\n return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n\n\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n\n if (value == null) {\n return identity;\n }\n\n if (_typeof(value) == 'object') {\n return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);\n }\n\n return property(value);\n }\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n\n var result = [];\n\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n\n\n function baseLt(value, other) {\n return value < other;\n }\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n\n\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n baseEach(collection, function (value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseMatches(source) {\n var matchData = getMatchData(source);\n\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n\n return function (object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n\n return function (object) {\n var objValue = get(object, path);\n return objValue === undefined && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n\n\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n\n baseFor(source, function (srcValue, key) {\n stack || (stack = new Stack());\n\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n } else {\n var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + '', object, source, stack) : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n\n\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n\n var newValue = customizer ? customizer(objValue, srcValue, key + '', object, source, stack) : undefined;\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n newValue = srcValue;\n\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n } else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n } else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n } else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n } else {\n newValue = [];\n }\n } else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n } else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n } else {\n isCommon = false;\n }\n }\n\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n\n assignMergeValue(object, key, newValue);\n }\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n\n\n function baseNth(array, n) {\n var length = array.length;\n\n if (!length) {\n return;\n }\n\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n\n\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function (iteratee) {\n if (isArray(iteratee)) {\n return function (value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n };\n }\n\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n var result = baseMap(collection, function (value, key, collection) {\n var criteria = arrayMap(iteratees, function (iteratee) {\n return iteratee(value);\n });\n return {\n 'criteria': criteria,\n 'index': ++index,\n 'value': value\n };\n });\n return baseSortBy(result, function (object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n\n\n function basePick(object, paths) {\n return basePickBy(object, paths, function (value, path) {\n return hasIn(object, path);\n });\n }\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n\n\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function basePropertyDeep(path) {\n return function (object) {\n return baseGet(object, path);\n };\n }\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n\n\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n\n splice.call(array, fromIndex, 1);\n }\n }\n\n return array;\n }\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n\n\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n\n if (length == lastIndex || index !== previous) {\n var previous = index;\n\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n\n return array;\n }\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n\n\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n\n\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n\n return result;\n }\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n\n\n function baseRepeat(string, n) {\n var result = '';\n\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n } // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n\n\n do {\n if (n % 2) {\n result += string;\n }\n\n n = nativeFloor(n / 2);\n\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n\n\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n\n\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n\n\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n\n path = castPath(path, object);\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n\n if (newValue === undefined) {\n newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};\n }\n }\n\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n\n return object;\n }\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n\n\n var baseSetData = !metaMap ? identity : function (func, data) {\n metaMap.set(func, data);\n return func;\n };\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n\n var baseSetToString = !defineProperty ? identity : function (func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : length + start;\n }\n\n end = end > length ? length : end;\n\n if (end < 0) {\n end += length;\n }\n\n length = start > end ? 0 : end - start >>> 0;\n start >>>= 0;\n var result = Array(length);\n\n while (++index < length) {\n result[index] = array[index + start];\n }\n\n return result;\n }\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n\n\n function baseSome(collection, predicate) {\n var result;\n baseEach(collection, function (value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n\n\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = low + high >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) && (retHighest ? computed <= value : computed < value)) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n\n return high;\n }\n\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n\n\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? computed <= value : computed < value;\n }\n\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n\n\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n\n\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n return +value;\n }\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n\n\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n }\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n\n\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n } else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n\n if (set) {\n return setToArray(set);\n }\n\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache();\n } else {\n seen = iteratee ? [] : result;\n }\n\n outer: while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n value = comparator || value !== 0 ? value : 0;\n\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n\n if (iteratee) {\n seen.push(computed);\n }\n\n result.push(value);\n } else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n\n\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n\n return isDrop ? baseSlice(array, fromRight ? 0 : index, fromRight ? index + 1 : length) : baseSlice(array, fromRight ? index + 1 : 0, fromRight ? length : index);\n }\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n\n\n function baseWrapperValue(value, actions) {\n var result = value;\n\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n\n return arrayReduce(actions, function (result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n\n\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n\n\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n\n return result;\n }\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n\n\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n\n\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n\n\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n\n\n var castRest = baseRest;\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return !start && end >= length ? array : baseSlice(array, start, end);\n }\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n\n\n var clearTimeout = ctxClearTimeout || function (id) {\n return root.clearTimeout(id);\n };\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n\n\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n buffer.copy(result);\n return result;\n }\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n\n\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n\n\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n\n\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n\n\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n\n\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n\n\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) {\n return 1;\n }\n\n if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) {\n return -1;\n }\n }\n\n return 0;\n }\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n\n\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n } // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n\n\n return object.index - other.index;\n }\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n\n\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n\n return result;\n }\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n\n\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n\n var offset = argsIndex;\n\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n\n return result;\n }\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n\n\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n array || (array = Array(length));\n\n while (++index < length) {\n array[index] = source[index];\n }\n\n return array;\n }\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n\n\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n\n return object;\n }\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n\n\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n\n\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n\n\n function createAggregator(setter, initializer) {\n return function (collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n\n\n function createAssigner(assigner) {\n return baseRest(function (object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n customizer = assigner.length > 3 && typeof customizer == 'function' ? (length--, customizer) : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n\n object = Object(object);\n\n while (++index < length) {\n var source = sources[index];\n\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n\n return object;\n });\n }\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n\n\n function createBaseEach(eachFunc, fromRight) {\n return function (collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while (fromRight ? index-- : ++index < length) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n\n return collection;\n };\n }\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n\n\n function createBaseFor(fromRight) {\n return function (object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n\n return object;\n };\n }\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n\n return wrapper;\n }\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n\n\n function createCaseFirst(methodName) {\n return function (string) {\n string = toString(string);\n var strSymbols = hasUnicode(string) ? stringToArray(string) : undefined;\n var chr = strSymbols ? strSymbols[0] : string.charAt(0);\n var trailing = strSymbols ? castSlice(strSymbols, 1).join('') : string.slice(1);\n return chr[methodName]() + trailing;\n };\n }\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n\n\n function createCompounder(callback) {\n return function (string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createCtor(Ctor) {\n return function () {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n\n switch (args.length) {\n case 0:\n return new Ctor();\n\n case 1:\n return new Ctor(args[0]);\n\n case 2:\n return new Ctor(args[0], args[1]);\n\n case 3:\n return new Ctor(args[0], args[1], args[2]);\n\n case 4:\n return new Ctor(args[0], args[1], args[2], args[3]);\n\n case 5:\n return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n\n case 6:\n return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n\n case 7:\n return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args); // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n\n return isObject(result) ? result : thisBinding;\n };\n }\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n\n var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);\n length -= holders.length;\n\n if (length < arity) {\n return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, undefined, args, holders, undefined, undefined, arity - length);\n }\n\n var fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n return apply(fn, this, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n\n\n function createFind(findIndexFunc) {\n return function (collection, predicate, fromIndex) {\n var iterable = Object(collection);\n\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n\n predicate = function predicate(key) {\n return iteratee(iterable[key], key, iterable);\n };\n }\n\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n\n\n function createFlow(fromRight) {\n return flatRest(function (funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n\n while (index--) {\n var func = funcs[index];\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n\n index = wrapper ? index : length;\n\n while (++index < length) {\n func = funcs[index];\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) && data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = func.length == 1 && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func);\n }\n }\n\n return function () {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n\n return result;\n };\n });\n }\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n\n length -= holdersCount;\n\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, thisArg, args, newHolders, argPos, ary, arity - length);\n }\n\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n length = args.length;\n\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n\n if (isAry && ary < length) {\n args.length = ary;\n }\n\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n\n return fn.apply(thisBinding, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n\n\n function createInverter(setter, toIteratee) {\n return function (object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n\n\n function createMathOperation(operator, defaultValue) {\n return function (value, other) {\n var result;\n\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n\n if (value !== undefined) {\n result = value;\n }\n\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n\n result = operator(value, other);\n }\n\n return result;\n };\n }\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n\n\n function createOver(arrayFunc) {\n return flatRest(function (iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function (args) {\n var thisArg = this;\n return arrayFunc(iteratees, function (iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n\n\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n var charsLength = chars.length;\n\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars) ? castSlice(stringToArray(result), 0, length).join('') : result.slice(0, length);\n }\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n\n return apply(fn, isBind ? thisArg : this, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n\n\n function createRange(fromRight) {\n return function (start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n } // Ensure the sign of `-0` is preserved.\n\n\n start = toFinite(start);\n\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n\n step = step === undefined ? start < end ? 1 : -1 : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n\n\n function createRelationalOperation(operator) {\n return function (value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n\n return operator(value, other);\n };\n }\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG;\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n\n var newData = [func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, newHoldersRight, argPos, ary, arity];\n var result = wrapFunc.apply(undefined, newData);\n\n if (isLaziable(func)) {\n setData(result, newData);\n }\n\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n\n\n function createRound(methodName) {\n var func = Math[methodName];\n return function (number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n\n return func(number);\n };\n }\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n\n\n var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) ? noop : function (values) {\n return new Set(values);\n };\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n\n function createToPairs(keysFunc) {\n return function (object) {\n var tag = getTag(object);\n\n if (tag == mapTag) {\n return mapToArray(object);\n }\n\n if (tag == setTag) {\n return setToPairs(object);\n }\n\n return baseToPairs(object, keysFunc(object));\n };\n }\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n var length = partials ? partials.length : 0;\n\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n partials = holders = undefined;\n }\n\n var data = isBindKey ? undefined : getData(func);\n var newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\n if (data) {\n mergeData(newData, data);\n }\n\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined ? isBindKey ? 0 : func.length : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n\n\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined || eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key)) {\n return srcValue;\n }\n\n return objValue;\n }\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n\n\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n\n return objValue;\n }\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n\n\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n\n\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n } // Check that cyclic values are equal.\n\n\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n\n var index = -1,\n result = true,\n seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined;\n stack.set(array, other);\n stack.set(other, array); // Ignore non-index properties.\n\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n }\n\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n\n result = false;\n break;\n } // Recursively compare arrays (susceptible to call stack limits).\n\n\n if (seen) {\n if (!arraySome(other, function (othValue, othIndex) {\n if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n result = false;\n break;\n }\n }\n\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {\n return false;\n }\n\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == other + '';\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(object);\n\n if (stacked) {\n return stacked == other;\n }\n\n bitmask |= COMPARE_UNORDERED_FLAG; // Recursively compare objects (susceptible to call stack limits).\n\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n\n }\n\n return false;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n\n var index = objLength;\n\n while (index--) {\n var key = objProps[index];\n\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n } // Check that cyclic values are equal.\n\n\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n var skipCtor = isPartial;\n\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n } // Recursively compare objects (susceptible to call stack limits).\n\n\n if (!(compared === undefined ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {\n result = false;\n break;\n }\n\n skipCtor || (skipCtor = key == 'constructor');\n }\n\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor; // Non `Object` object instances with different constructors are not equal.\n\n if (objCtor != othCtor && 'constructor' in object && 'constructor' in other && !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n\n\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n\n\n var getData = !metaMap ? noop : function (func) {\n return metaMap.get(func);\n };\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n\n function getFuncName(func) {\n var result = func.name + '',\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n\n return result;\n }\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n\n\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n\n\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n\n\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n }\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n\n\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n result[length] = [key, value, isStrictComparable(value)];\n }\n\n return result;\n }\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\n\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n\n\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n\n return result;\n }\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n\n\n var getSymbols = !nativeGetSymbols ? stubArray : function (object) {\n if (object == null) {\n return [];\n }\n\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function (symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function (object) {\n var result = [];\n\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n\n return result;\n };\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\n var getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\n if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function getTag(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n }\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n\n\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop':\n start += size;\n break;\n\n case 'dropRight':\n end -= size;\n break;\n\n case 'take':\n end = nativeMin(end, start + size);\n break;\n\n case 'takeRight':\n start = nativeMax(start, end - size);\n break;\n }\n }\n\n return {\n 'start': start,\n 'end': end\n };\n }\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n\n\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n\n\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n\n object = object[key];\n }\n\n if (result || ++index != length) {\n return result;\n }\n\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));\n }\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n\n\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length); // Add properties assigned by `RegExp#exec`.\n\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n\n return result;\n }\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n\n\n function initCloneObject(object) {\n return typeof object.constructor == 'function' && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};\n }\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n\n\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag:\n case float64Tag:\n case int8Tag:\n case int16Tag:\n case int32Tag:\n case uint8Tag:\n case uint8ClampedTag:\n case uint16Tag:\n case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor();\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor();\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n\n\n function insertWrapDetails(source, details) {\n var length = details.length;\n\n if (!length) {\n return source;\n }\n\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n\n\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n\n\n function isIndex(value, length) {\n var type = _typeof(value);\n\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length && (type == 'number' || type != 'symbol' && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;\n }\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n\n\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n\n var type = _typeof(index);\n\n if (type == 'number' ? isArrayLike(object) && isIndex(index, object.length) : type == 'string' && index in object) {\n return eq(object[index], value);\n }\n\n return false;\n }\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n\n\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n\n var type = _typeof(value);\n\n if (type == 'number' || type == 'symbol' || type == 'boolean' || value == null || isSymbol(value)) {\n return true;\n }\n\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);\n }\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n\n\n function isKeyable(value) {\n var type = _typeof(value);\n\n return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;\n }\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n\n\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n\n if (func === other) {\n return true;\n }\n\n var data = getData(other);\n return !!data && func === data[0];\n }\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n\n\n function isMasked(func) {\n return !!maskSrcKey && maskSrcKey in func;\n }\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n\n\n var isMaskable = coreJsData ? isFunction : stubFalse;\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n return value === proto;\n }\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n\n\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function matchesStrictComparable(key, srcValue) {\n return function (object) {\n if (object == null) {\n return false;\n }\n\n return object[key] === srcValue && (srcValue !== undefined || key in Object(object));\n };\n }\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n\n\n function memoizeCapped(func) {\n var result = memoize(func, function (key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n\n return key;\n });\n var cache = result.cache;\n return result;\n }\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n\n\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n var isCombo = srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_CURRY_FLAG || srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_REARG_FLAG && data[7].length <= source[8] || srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG) && source[7].length <= source[8] && bitmask == WRAP_CURRY_FLAG; // Exit early if metadata can't be merged.\n\n if (!(isCommon || isCombo)) {\n return data;\n } // Use source `thisArg` if available.\n\n\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2]; // Set when currying a bound function.\n\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n } // Compose partial arguments.\n\n\n var value = source[3];\n\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n } // Compose partial right arguments.\n\n\n value = source[5];\n\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n } // Use source `argPos` if available.\n\n\n value = source[7];\n\n if (value) {\n data[7] = value;\n } // Use source `ary` if it's smaller.\n\n\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n } // Use source `arity` if one is not provided.\n\n\n if (data[9] == null) {\n data[9] = source[9];\n } // Use source `func` and merge bitmasks.\n\n\n data[0] = source[0];\n data[1] = newBitmask;\n return data;\n }\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function nativeKeysIn(object) {\n var result = [];\n\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n\n\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n\n\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? func.length - 1 : start, 0);\n return function () {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n\n index = -1;\n var otherArgs = Array(start + 1);\n\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n\n\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n\n\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n\n return array;\n }\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n\n\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n\n\n var setData = shortOut(baseSetData);\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n\n var setTimeout = ctxSetTimeout || function (func, wait) {\n return root.setTimeout(func, wait);\n };\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n\n\n var setToString = shortOut(baseSetToString);\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n\n function setWrapToString(wrapper, reference, bitmask) {\n var source = reference + '';\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n\n\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n return function () {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n lastCalled = stamp;\n\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n\n return func.apply(undefined, arguments);\n };\n }\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n\n\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n size = size === undefined ? length : size;\n\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n array[rand] = array[index];\n array[index] = value;\n }\n\n array.length = size;\n return array;\n }\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n\n\n var stringToPath = memoizeCapped(function (string) {\n var result = [];\n\n if (string.charCodeAt(0) === 46\n /* . */\n ) {\n result.push('');\n }\n\n string.replace(rePropName, function (match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : number || match);\n });\n return result;\n });\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n }\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n\n\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n\n try {\n return func + '';\n } catch (e) {}\n }\n\n return '';\n }\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n\n\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function (pair) {\n var value = '_.' + pair[0];\n\n if (bitmask & pair[1] && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n\n\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n\n\n function chunk(array, size, guard) {\n if (guard ? isIterateeCall(array, size, guard) : size === undefined) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n\n var length = array == null ? 0 : array.length;\n\n if (!length || size < 1) {\n return [];\n }\n\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, index += size);\n }\n\n return result;\n }\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n\n\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (value) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n }\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n\n\n function concat() {\n var length = arguments.length;\n\n if (!length) {\n return [];\n }\n\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n\n\n var difference = baseRest(function (array, values) {\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) : [];\n });\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n\n var differenceBy = baseRest(function (array, values) {\n var iteratee = last(values);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) : [];\n });\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n\n var differenceWith = baseRest(function (array, values) {\n var comparator = last(values);\n\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) : [];\n });\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n\n\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n\n\n function dropRightWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true, true) : [];\n }\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n\n\n function dropWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true) : [];\n }\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n\n\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n\n return baseFill(array, value, start, end);\n }\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n\n\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n\n\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = length - 1;\n\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n\n\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n\n\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n\n\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n\n\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n\n return result;\n }\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n\n\n function head(array) {\n return array && array.length ? array[0] : undefined;\n }\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n\n\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n\n return baseIndexOf(array, value, index);\n }\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n\n\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n\n\n var intersection = baseRest(function (arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];\n });\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n\n var intersectionBy = baseRest(function (arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, getIteratee(iteratee, 2)) : [];\n });\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n\n var intersectionWith = baseRest(function (arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n\n if (comparator) {\n mapped.pop();\n }\n\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined, comparator) : [];\n });\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n\n\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n\n\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = length;\n\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n\n return value === value ? strictLastIndexOf(array, value, index) : baseFindIndex(array, baseIsNaN, index, true);\n }\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n\n\n function nth(array, n) {\n return array && array.length ? baseNth(array, toInteger(n)) : undefined;\n }\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n\n\n var pull = baseRest(pullAll);\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n\n function pullAll(array, values) {\n return array && array.length && values && values.length ? basePullAll(array, values) : array;\n }\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n\n\n function pullAllBy(array, values, iteratee) {\n return array && array.length && values && values.length ? basePullAll(array, values, getIteratee(iteratee, 2)) : array;\n }\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n\n\n function pullAllWith(array, values, comparator) {\n return array && array.length && values && values.length ? basePullAll(array, values, undefined, comparator) : array;\n }\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n\n\n var pullAt = flatRest(function (array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n basePullAt(array, arrayMap(indexes, function (index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n return result;\n });\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n\n function remove(array, predicate) {\n var result = [];\n\n if (!(array && array.length)) {\n return result;\n }\n\n var index = -1,\n indexes = [],\n length = array.length;\n predicate = getIteratee(predicate, 3);\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n\n basePullAt(array, indexes);\n return result;\n }\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n\n\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n } else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n\n return baseSlice(array, start, end);\n }\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n\n\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n\n\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n\n\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n\n if (length) {\n var index = baseSortedIndex(array, value);\n\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n\n\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n\n\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n\n\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n\n if (eq(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n\n\n function sortedUniq(array) {\n return array && array.length ? baseSortedUniq(array) : [];\n }\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n\n\n function sortedUniqBy(array, iteratee) {\n return array && array.length ? baseSortedUniq(array, getIteratee(iteratee, 2)) : [];\n }\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n\n\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n\n\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n\n\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n\n\n function takeRightWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), false, true) : [];\n }\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n\n\n function takeWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3)) : [];\n }\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n\n\n var union = baseRest(function (arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n\n var unionBy = baseRest(function (arrays) {\n var iteratee = last(arrays);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n\n var unionWith = baseRest(function (arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n\n function uniq(array) {\n return array && array.length ? baseUniq(array) : [];\n }\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n\n\n function uniqBy(array, iteratee) {\n return array && array.length ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n\n\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return array && array.length ? baseUniq(array, undefined, comparator) : [];\n }\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n\n\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n\n var length = 0;\n array = arrayFilter(array, function (group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function (index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n\n\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n\n var result = unzip(array);\n\n if (iteratee == null) {\n return result;\n }\n\n return arrayMap(result, function (group) {\n return apply(iteratee, undefined, group);\n });\n }\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n\n\n var without = baseRest(function (array, values) {\n return isArrayLikeObject(array) ? baseDifference(array, values) : [];\n });\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n\n var xor = baseRest(function (arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n\n var xorBy = baseRest(function (arrays) {\n var iteratee = last(arrays);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n\n var xorWith = baseRest(function (arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n\n var zip = baseRest(unzip);\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n\n\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n\n\n var zipWith = baseRest(function (arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n\n\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n\n\n function thru(value, interceptor) {\n return interceptor(value);\n }\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n\n\n var wrapperAt = flatRest(function (paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function interceptor(object) {\n return baseAt(object, paths);\n };\n\n if (length > 1 || this.__actions__.length || !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n\n value = value.slice(start, +start + (length ? 1 : 0));\n\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n\n return new LodashWrapper(value, this.__chain__).thru(function (array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n\n return array;\n });\n });\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n\n function wrapperChain() {\n return chain(this);\n }\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n\n\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n\n\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n return {\n 'done': done,\n 'value': value\n };\n }\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n\n\n function wrapperToIterator() {\n return this;\n }\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n\n\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n\n var previous = clone;\n parent = parent.__wrapped__;\n }\n\n previous.__wrapped__ = value;\n return result;\n }\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n\n\n function wrapperReverse() {\n var value = this.__wrapped__;\n\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n\n wrapped = wrapped.reverse();\n\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n\n return new LodashWrapper(wrapped, this.__chain__);\n }\n\n return this.thru(reverse);\n }\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n\n\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n\n\n var countBy = createAggregator(function (result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n\n\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n\n\n var find = createFind(findIndex);\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n\n var findLast = createFind(findLastIndex);\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n\n\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n\n\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n\n\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n\n\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n\n\n var groupBy = createAggregator(function (result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = fromIndex && !guard ? toInteger(fromIndex) : 0;\n var length = collection.length;\n\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n\n return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;\n }\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n\n\n var invokeMap = baseRest(function (collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n baseEach(collection, function (value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n\n var keyBy = createAggregator(function (result, value, key) {\n baseAssignValue(result, key, value);\n });\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n\n\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n\n orders = guard ? undefined : orders;\n\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n\n return baseOrderBy(collection, iteratees, orders);\n }\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n\n\n var partition = createAggregator(function (result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function () {\n return [[], []];\n });\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n\n\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n\n\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n\n\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n\n\n function sampleSize(collection, n, guard) {\n if (guard ? isIterateeCall(collection, n, guard) : n === undefined) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n\n\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n\n\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n\n var tag = getTag(collection);\n\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n\n return baseKeys(collection).length;\n }\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n\n\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n\n\n var sortBy = baseRest(function (collection, iteratees) {\n if (collection == null) {\n return [];\n }\n\n var length = iteratees.length;\n\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n\n var now = ctxNow || function () {\n return root.Date.now();\n };\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n\n\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n n = toInteger(n);\n return function () {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n\n\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = func && n == null ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n\n\n function before(n, func) {\n var result;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n n = toInteger(n);\n return function () {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n\n if (n <= 1) {\n func = undefined;\n }\n\n return result;\n };\n }\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n\n\n var bind = baseRest(function (func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n\n var bindKey = baseRest(function (object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n\n return createWrap(key, bitmask, object, partials, holders);\n });\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n\n\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n\n\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n wait = toNumber(wait) || 0;\n\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time; // Start the timer for the trailing edge.\n\n timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.\n\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n\n function timerExpired() {\n var time = now();\n\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n } // Restart the timer.\n\n\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n\n return result;\n }\n\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n\n\n var defer = baseRest(function (func, args) {\n return baseDelay(func, 1, args);\n });\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n\n var delay = baseRest(function (func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n\n\n function memoize(func, resolver) {\n if (typeof func != 'function' || resolver != null && typeof resolver != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n var memoized = function memoized() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n\n memoized.cache = new (memoize.Cache || MapCache)();\n return memoized;\n } // Expose `MapCache`.\n\n\n memoize.Cache = MapCache;\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n return function () {\n var args = arguments;\n\n switch (args.length) {\n case 0:\n return !predicate.call(this);\n\n case 1:\n return !predicate.call(this, args[0]);\n\n case 2:\n return !predicate.call(this, args[0], args[1]);\n\n case 3:\n return !predicate.call(this, args[0], args[1], args[2]);\n }\n\n return !predicate.apply(this, args);\n };\n }\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n\n\n function once(func) {\n return before(2, func);\n }\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n\n\n var overArgs = castRest(function (func, transforms) {\n transforms = transforms.length == 1 && isArray(transforms[0]) ? arrayMap(transforms[0], baseUnary(getIteratee())) : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n var funcsLength = transforms.length;\n return baseRest(function (args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n\n return apply(func, this, args);\n });\n });\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n\n var partial = baseRest(function (func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n\n var partialRight = baseRest(function (func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n\n var rearg = flatRest(function (func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n\n\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function (args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n\n return apply(func, this, otherArgs);\n });\n }\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n\n\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n\n\n function unary(func) {\n return ary(func, 1);\n }\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n\n\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n\n\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n\n\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n\n\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n\n\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n\n\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n\n\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n\n\n function eq(value, other) {\n return value === other || value !== value && other !== other;\n }\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n\n\n var gt = createRelationalOperation(baseGt);\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n\n var gte = createRelationalOperation(function (value, other) {\n return value >= other;\n });\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n\n var isArguments = baseIsArguments(function () {\n return arguments;\n }()) ? baseIsArguments : function (value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n };\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n\n var isArray = Array.isArray;\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n\n\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n\n\n function isBoolean(value) {\n return value === true || value === false || isObjectLike(value) && baseGetTag(value) == boolTag;\n }\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n\n\n var isBuffer = nativeIsBuffer || stubFalse;\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n\n\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n\n if (isArrayLike(value) && (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n\n var tag = getTag(value);\n\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n\n\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n\n\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n\n\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag || typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value);\n }\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n\n\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n\n\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n } // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n\n\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n\n\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n\n\n function isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\n\n function isObject(value) {\n var type = _typeof(value);\n\n return value != null && (type == 'object' || type == 'function');\n }\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\n\n function isObjectLike(value) {\n return value != null && _typeof(value) == 'object';\n }\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n\n\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n\n\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n\n\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n\n\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n\n return baseIsNative(value);\n }\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n\n\n function isNull(value) {\n return value === null;\n }\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n\n\n function isNil(value) {\n return value == null;\n }\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n\n\n function isNumber(value) {\n return typeof value == 'number' || isObjectLike(value) && baseGetTag(value) == numberTag;\n }\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n\n\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n\n var proto = getPrototype(value);\n\n if (proto === null) {\n return true;\n }\n\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;\n }\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n\n\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n\n\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n\n function isString(value) {\n return typeof value == 'string' || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;\n }\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\n\n function isSymbol(value) {\n return _typeof(value) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag;\n }\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n\n\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n\n function isUndefined(value) {\n return value === undefined;\n }\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n\n\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n\n\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n\n\n var lt = createRelationalOperation(baseLt);\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n\n var lte = createRelationalOperation(function (value, other) {\n return value <= other;\n });\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n\n function toArray(value) {\n if (!value) {\n return [];\n }\n\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : tag == setTag ? setToArray : values;\n return func(value);\n }\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n\n\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n\n value = toNumber(value);\n\n if (value === INFINITY || value === -INFINITY) {\n var sign = value < 0 ? -1 : 1;\n return sign * MAX_INTEGER;\n }\n\n return value === value ? value : 0;\n }\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n\n\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n return result === result ? remainder ? result - remainder : result : 0;\n }\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n\n\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\n\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n }\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n\n\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n\n\n function toSafeInteger(value) {\n return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;\n }\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n\n\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n\n\n var assign = createAssigner(function (object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n\n var assignIn = createAssigner(function (object, source) {\n copyObject(source, keysIn(source), object);\n });\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n var assignInWith = createAssigner(function (object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n var assignWith = createAssigner(function (object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n\n var at = flatRest(baseAt);\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n\n var defaults = baseRest(function (object, sources) {\n object = Object(object);\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined || eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n\n var defaultsDeep = baseRest(function (args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n\n\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n\n\n function forIn(object, iteratee) {\n return object == null ? object : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n\n\n function forInRight(object, iteratee) {\n return object == null ? object : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n\n\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n\n\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n\n\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n\n\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n\n\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n\n\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n\n\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n\n\n var invert = createInverter(function (result, value, key) {\n if (value != null && typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n\n var invertBy = createInverter(function (result, value, key) {\n if (value != null && typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n\n var invoke = baseRest(baseInvoke);\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n\n\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n\n\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n baseForOwn(object, function (value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n\n\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n baseForOwn(object, function (value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n\n\n var merge = createAssigner(function (object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n\n var mergeWith = createAssigner(function (object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n\n var omit = flatRest(function (object, paths) {\n var result = {};\n\n if (object == null) {\n return result;\n }\n\n var isDeep = false;\n paths = arrayMap(paths, function (path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n\n var length = paths.length;\n\n while (length--) {\n baseUnset(result, paths[length]);\n }\n\n return result;\n });\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n\n\n var pick = flatRest(function (object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n\n var props = arrayMap(getAllKeysIn(object), function (prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function (value, path) {\n return predicate(value, path[0]);\n });\n }\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n\n\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n var index = -1,\n length = path.length; // Ensure the loop is entered when path is empty.\n\n if (!length) {\n length = 1;\n object = undefined;\n }\n\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n\n object = isFunction(value) ? value.call(object) : value;\n }\n\n return object;\n }\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n\n\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n\n\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n\n\n var toPairs = createToPairs(keys);\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n\n var toPairsIn = createToPairs(keysIn);\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n iteratee = getIteratee(iteratee, 4);\n\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n\n if (isArrLike) {\n accumulator = isArr ? new Ctor() : [];\n } else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n } else {\n accumulator = {};\n }\n }\n\n (isArrLike ? arrayEach : baseForOwn)(object, function (value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n\n\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n\n\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n\n\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n\n\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n\n\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n\n\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n\n return baseClamp(toNumber(number), lower, upper);\n }\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n\n\n function inRange(number, start, end) {\n start = toFinite(start);\n\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n\n\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n } else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n } else {\n lower = toFinite(lower);\n\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1))), upper);\n }\n\n return baseRandom(lower, upper);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n\n\n var camelCase = createCompounder(function (result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n\n\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n\n\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n var length = string.length;\n position = position === undefined ? length : baseClamp(toInteger(position), 0, length);\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n\n\n function escape(string) {\n string = toString(string);\n return string && reHasUnescapedHtml.test(string) ? string.replace(reUnescapedHtml, escapeHtmlChar) : string;\n }\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n\n\n function escapeRegExp(string) {\n string = toString(string);\n return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar, '\\\\$&') : string;\n }\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n\n\n var kebabCase = createCompounder(function (result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n\n var lowerCase = createCompounder(function (result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n\n var lowerFirst = createCaseFirst('toLowerCase');\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n\n if (!length || strLength >= length) {\n return string;\n }\n\n var mid = (length - strLength) / 2;\n return createPadding(nativeFloor(mid), chars) + string + createPadding(nativeCeil(mid), chars);\n }\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n\n\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n return length && strLength < length ? string + createPadding(length - strLength, chars) : string;\n }\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n\n\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n return length && strLength < length ? createPadding(length - strLength, chars) + string : string;\n }\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n\n\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n\n\n function repeat(string, n, guard) {\n if (guard ? isIterateeCall(string, n, guard) : n === undefined) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n\n return baseRepeat(toString(string), n);\n }\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n\n\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n\n\n var snakeCase = createCompounder(function (result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n\n if (!limit) {\n return [];\n }\n\n string = toString(string);\n\n if (string && (typeof separator == 'string' || separator != null && !isRegExp(separator))) {\n separator = baseToString(separator);\n\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n\n return string.split(separator, limit);\n }\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n\n\n var startCase = createCompounder(function (result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null ? 0 : baseClamp(toInteger(position), 0, string.length);\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '\";\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nexports.default = function (val) {\n // Replace closing\n var re = /<\\/\\W*script/gi;\n return val.replace(re, '(/script');\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n authenticityToken: function authenticityToken() {\n var token = document.querySelector('meta[name=\"csrf-token\"]');\n\n if (token && token instanceof window.HTMLMetaElement) {\n return token.content;\n }\n\n return null;\n },\n authenticityHeaders: function authenticityHeaders(otherHeaders) {\n if (otherHeaders === void 0) {\n otherHeaders = {};\n }\n\n return Object.assign(otherHeaders, {\n 'X-CSRF-Token': this.authenticityToken(),\n 'X-Requested-With': 'XMLHttpRequest'\n });\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * Get the context, be it window or global\n * @returns {boolean|Window|*|context}\n */\n\nfunction context() {\n return typeof window !== 'undefined' && window || typeof global !== 'undefined' && global || this;\n}\n\nexports.default = context;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar _assign = require('object-assign'); // -- Inlined from fbjs --\n\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction _invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n\n throw error;\n }\n}\n\nvar warning = function warning() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n} // /-- Inlined from fbjs --\n\n\nvar MIXINS_KEY = 'mixins'; // Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\n\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n var injectedMixins = [];\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
Hello World
;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
Hello, {name}!
;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n\n var RESERVED_SPEC_KEYS = {\n displayName: function displayName(Constructor, _displayName) {\n Constructor.displayName = _displayName;\n },\n mixins: function mixins(Constructor, _mixins) {\n if (_mixins) {\n for (var i = 0; i < _mixins.length; i++) {\n mixSpecIntoComponent(Constructor, _mixins[i]);\n }\n }\n },\n childContextTypes: function childContextTypes(Constructor, _childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, _childContextTypes, 'childContext');\n }\n\n Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, _childContextTypes);\n },\n contextTypes: function contextTypes(Constructor, _contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, _contextTypes, 'context');\n }\n\n Constructor.contextTypes = _assign({}, Constructor.contextTypes, _contextTypes);\n },\n\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function getDefaultProps(Constructor, _getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, _getDefaultProps);\n } else {\n Constructor.getDefaultProps = _getDefaultProps;\n }\n },\n propTypes: function propTypes(Constructor, _propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, _propTypes, 'prop');\n }\n\n Constructor.propTypes = _assign({}, Constructor.propTypes, _propTypes);\n },\n statics: function statics(Constructor, _statics) {\n mixStaticSpecIntoComponent(Constructor, _statics);\n },\n autobind: function autobind() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName);\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null; // Disallow overriding of base class methods unless explicitly allowed.\n\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(specPolicy === 'OVERRIDE_BASE', 'ReactClassInterface: You are attempting to override ' + '`%s` from your class specification. Ensure that your method names ' + 'do not overlap with React methods.', name);\n } // Disallow defining methods more than once unless explicitly allowed.\n\n\n if (isAlreadyDefined) {\n _invariant(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED', 'ReactClassInterface: You are attempting to define ' + '`%s` on your component more than once. This conflict may be due ' + 'to a mixin.', name);\n }\n }\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n\n\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = _typeof(spec);\n\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(isMixinValid, \"%s: You're attempting to include a mixin that is either null \" + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec);\n }\n }\n\n return;\n }\n\n _invariant(typeof spec !== 'function', \"ReactClass: You're attempting to \" + 'use a component class or function as a mixin. Instead, just use a ' + 'regular object.');\n\n _invariant(!isValidElement(spec), \"ReactClass: You're attempting to \" + 'use a component as a mixin. Instead, just use a regular object.');\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs; // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name]; // These cases should already be caught by validateMethodOverride.\n\n _invariant(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY'), 'ReactClass: Unexpected spec policy %s for key %s ' + 'when mixing in component specs.', specPolicy, name); // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n\n\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = (name in RESERVED_SPEC_KEYS);\n\n _invariant(!isReserved, 'ReactClass: You are attempting to define a reserved ' + 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' + 'as an instance property instead; it will still be accessible on the ' + 'constructor.', name);\n\n var isAlreadyDefined = (name in Constructor);\n\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name) ? ReactClassStaticInterface[name] : null;\n\n _invariant(specPolicy === 'DEFINE_MANY_MERGED', 'ReactClass: You are attempting to define ' + '`%s` on your component more than once. This conflict may be ' + 'due to a mixin.', name);\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n return;\n }\n\n Constructor[name] = property;\n }\n }\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n\n\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(one && two && _typeof(one) === 'object' && _typeof(two) === 'object', 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.');\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(one[key] === undefined, 'mergeIntoWithNoDuplicateKeys(): ' + 'Tried to merge two objects with the same key: `%s`. This conflict ' + 'may be due to a mixin; in particular, this may be caused by two ' + 'getInitialState() or getDefaultProps() methods returning objects ' + 'with clashing keys.', key);\n\n one[key] = two[key];\n }\n }\n\n return one;\n }\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n\n\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n\n\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n\n\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n\n boundMethod.bind = function (newThis) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n } // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n\n\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName);\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName);\n }\n\n return boundMethod;\n }\n\n var reboundMethod = _bind.apply(boundMethod, arguments);\n\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n\n return boundMethod;\n }\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n\n\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function componentDidMount() {\n this.__isMounted = true;\n }\n };\n var IsMountedPostMixin = {\n componentWillUnmount: function componentWillUnmount() {\n this.__isMounted = false;\n }\n };\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function replaceState(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function isMounted() {\n if (process.env.NODE_ENV !== 'production') {\n warning(this.__didWarnIsMounted, '%s: isMounted is deprecated. Instead, make sure to clean up ' + 'subscriptions and pending requests in componentWillUnmount to ' + 'prevent memory leaks.', this.constructor && this.constructor.displayName || this.name || 'Component');\n this.__didWarnIsMounted = true;\n }\n\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function ReactClassComponent() {};\n\n _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n\n\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function (props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n if (process.env.NODE_ENV !== 'production') {\n warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory');\n } // Wire up auto-binding\n\n\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n this.state = null; // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (initialState === undefined && this.getInitialState._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n\n _invariant(_typeof(initialState) === 'object' && !Array.isArray(initialState), '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent');\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin); // Initialize the defaultProps property after all mixins have been merged.\n\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(Constructor.prototype.render, 'createClass(...): Class specification must implement a `render` method.');\n\n if (process.env.NODE_ENV !== 'production') {\n warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component');\n warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component');\n warning(!Constructor.prototype.UNSAFE_componentWillRecieveProps, '%s has a method called UNSAFE_componentWillRecieveProps(). ' + 'Did you mean UNSAFE_componentWillReceiveProps()?', spec.displayName || 'A component');\n } // Reduce time spent doing lookups by setting these on the prototype.\n\n\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\n\nfunction emptyFunctionWithReset() {}\n\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function () {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n\n var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n ;\n shim.isRequired = shim;\n\n function getShim() {\n return shim;\n }\n\n ; // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\nmodule.exports = ReactPropTypesSecret;","module.exports = require('./lib/dom-scroll-into-view');","var util = require('./util');\n\nfunction scrollIntoView(elem, container, config) {\n config = config || {}; // document 归一化到 window\n\n if (container.nodeType === 9) {\n container = util.getWindow(container);\n }\n\n var allowHorizontalScroll = config.allowHorizontalScroll;\n var onlyScrollIfNeeded = config.onlyScrollIfNeeded;\n var alignWithTop = config.alignWithTop;\n var alignWithLeft = config.alignWithLeft;\n allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;\n var isWin = util.isWindow(container);\n var elemOffset = util.offset(elem);\n var eh = util.outerHeight(elem);\n var ew = util.outerWidth(elem);\n var containerOffset, ch, cw, containerScroll, diffTop, diffBottom, win, winScroll, ww, wh;\n\n if (isWin) {\n win = container;\n wh = util.height(win);\n ww = util.width(win);\n winScroll = {\n left: util.scrollLeft(win),\n top: util.scrollTop(win)\n }; // elem 相对 container 可视视窗的距离\n\n diffTop = {\n left: elemOffset.left - winScroll.left,\n top: elemOffset.top - winScroll.top\n };\n diffBottom = {\n left: elemOffset.left + ew - (winScroll.left + ww),\n top: elemOffset.top + eh - (winScroll.top + wh)\n };\n containerScroll = winScroll;\n } else {\n containerOffset = util.offset(container);\n ch = container.clientHeight;\n cw = container.clientWidth;\n containerScroll = {\n left: container.scrollLeft,\n top: container.scrollTop\n }; // elem 相对 container 可视视窗的距离\n // 注意边框, offset 是边框到根节点\n\n diffTop = {\n left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)),\n top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0))\n };\n diffBottom = {\n left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)),\n top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0))\n };\n }\n\n if (diffTop.top < 0 || diffBottom.top > 0) {\n // 强制向上\n if (alignWithTop === true) {\n util.scrollTop(container, containerScroll.top + diffTop.top);\n } else if (alignWithTop === false) {\n util.scrollTop(container, containerScroll.top + diffBottom.top);\n } else {\n // 自动调整\n if (diffTop.top < 0) {\n util.scrollTop(container, containerScroll.top + diffTop.top);\n } else {\n util.scrollTop(container, containerScroll.top + diffBottom.top);\n }\n }\n } else {\n if (!onlyScrollIfNeeded) {\n alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;\n\n if (alignWithTop) {\n util.scrollTop(container, containerScroll.top + diffTop.top);\n } else {\n util.scrollTop(container, containerScroll.top + diffBottom.top);\n }\n }\n }\n\n if (allowHorizontalScroll) {\n if (diffTop.left < 0 || diffBottom.left > 0) {\n // 强制向上\n if (alignWithLeft === true) {\n util.scrollLeft(container, containerScroll.left + diffTop.left);\n } else if (alignWithLeft === false) {\n util.scrollLeft(container, containerScroll.left + diffBottom.left);\n } else {\n // 自动调整\n if (diffTop.left < 0) {\n util.scrollLeft(container, containerScroll.left + diffTop.left);\n } else {\n util.scrollLeft(container, containerScroll.left + diffBottom.left);\n }\n }\n } else {\n if (!onlyScrollIfNeeded) {\n alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;\n\n if (alignWithLeft) {\n util.scrollLeft(container, containerScroll.left + diffTop.left);\n } else {\n util.scrollLeft(container, containerScroll.left + diffBottom.left);\n }\n }\n }\n }\n}\n\nmodule.exports = scrollIntoView;","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\n\nfunction getClientPosition(elem) {\n var box, x, y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement; // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n\n box = elem.getBoundingClientRect(); // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = box.left;\n y = box.top; // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\n\nfunction getScroll(w, top) {\n var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];\n var method = 'scroll' + (top ? 'Top' : 'Left');\n\n if (typeof ret !== 'number') {\n var d = w.document; //ie6,7,8 standard mode\n\n ret = d.documentElement[method];\n\n if (typeof ret !== 'number') {\n //quirks mode\n ret = d.body[method];\n }\n }\n\n return ret;\n}\n\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\n\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\n\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\nfunction _getComputedStyle(elem, name, computedStyle) {\n var val = '';\n var d = elem.ownerDocument; // https://github.com/kissyteam/kissy/issues/61\n\n if (computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null)) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n\n return val;\n}\n\nvar _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');\n\nvar RE_POS = /^(top|right|bottom|left)$/,\n CURRENT_STYLE = 'currentStyle',\n RUNTIME_STYLE = 'runtimeStyle',\n LEFT = 'left',\n PX = 'px';\n\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name]; // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style,\n left = style[LEFT],\n rsLeft = elem[RUNTIME_STYLE][LEFT]; // prevent flashing of content\n\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT]; // Put in the new values to get a computed value out\n\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX; // Revert the changed values\n\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n\n return ret === '' ? 'auto' : ret;\n}\n\nvar getComputedStyleX;\n\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n} // 设置 elem 相对 elem.ownerDocument 的坐标\n\n\nfunction setOffset(elem, offset) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n\n var old = getOffset(elem),\n ret = {},\n current,\n key;\n\n for (key in offset) {\n current = parseFloat(css(elem, key)) || 0;\n ret[key] = current + offset[key] - old[key];\n }\n\n css(elem, ret);\n}\n\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\n\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\n\nvar BOX_MODELS = ['margin', 'border', 'padding'],\n CONTENT_INDEX = -1,\n PADDING_INDEX = 2,\n BORDER_INDEX = 1,\n MARGIN_INDEX = 0;\n\nfunction swap(elem, options, callback) {\n var old = {},\n style = elem.style,\n name; // Remember the old values, and insert the new ones\n\n for (name in options) {\n old[name] = style[name];\n style[name] = options[name];\n }\n\n callback.call(elem); // Revert the old values\n\n for (name in options) {\n style[name] = old[name];\n }\n}\n\nfunction getPBMWidth(elem, props, which) {\n var value = 0,\n prop,\n j,\n i;\n\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp;\n\n if (prop === 'border') {\n cssProp = prop + which[i] + 'Width';\n } else {\n cssProp = prop + which[i];\n }\n\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n\n return value;\n}\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\n\n\nfunction isWindow(obj) {\n // must use == for ie8\n\n /*jshint eqeqeq:false*/\n return obj != null && obj == obj.window;\n}\n\nvar domUtils = {};\neach(['Width', 'Height'], function (name) {\n domUtils['doc' + name] = function (refWin) {\n var d = refWin.document;\n return Math.max( //firefox chrome documentElement.scrollHeight< body.scrollHeight\n //ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement['scroll' + name], //quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body['scroll' + name], domUtils['viewport' + name](d));\n };\n\n domUtils['viewport' + name] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = 'client' + name,\n doc = win.document,\n body = doc.body,\n documentElement = doc.documentElement,\n documentElementProp = documentElement[prop]; // 标准模式取 documentElement\n // backcompat 取 body\n\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\n\nfunction getWH(elem, name, extra) {\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'],\n borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem, computedStyle);\n var cssBoxValue = 0;\n\n if (borderBoxValue == null || borderBoxValue <= 0) {\n borderBoxValue = undefined; // Fall back to computed then un computed css if necessary\n\n cssBoxValue = getComputedStyleX(elem, name);\n\n if (cssBoxValue == null || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n } // Normalize '', auto, and prepare for extra\n\n\n cssBoxValue = parseFloat(cssBoxValue) || 0;\n }\n\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);\n } else {\n return cssBoxValue;\n }\n } else if (borderBoxValueOrIsBorderBox) {\n return val + (extra === BORDER_INDEX ? 0 : extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle));\n } else {\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);\n }\n}\n\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n}; // fix #119 : https://github.com/kissyteam/kissy/issues/119\n\nfunction getWHIgnoreDisplay(elem) {\n var val,\n args = arguments; // in case elem is window\n // elem.offsetWidth === undefined\n\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n\n return val;\n}\n\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n\n domUtils['outer' + first] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n\n domUtils[name] = function (elem, val) {\n if (val !== undefined) {\n if (elem) {\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem);\n\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);\n }\n\n return css(elem, name, val);\n }\n\n return;\n }\n\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\n\nfunction css(el, name, value) {\n if (_typeof(name) === 'object') {\n for (var i in name) {\n css(el, i, name[i]);\n }\n\n return;\n }\n\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = value + 'px';\n }\n\n el.style[name] = value;\n } else {\n return getComputedStyleX(el, name);\n }\n}\n\nfunction mix(to, from) {\n for (var i in from) {\n to[i] = from[i];\n }\n\n return to;\n}\n\nvar utils = module.exports = {\n getWindow: function getWindow(node) {\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n offset: function offset(el, value) {\n if (typeof value !== 'undefined') {\n setOffset(el, value);\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var ret = {};\n\n for (var i in obj) {\n ret[i] = obj[i];\n }\n\n var overflow = obj.overflow;\n\n if (overflow) {\n for (i in obj) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n\n return ret;\n },\n mix: mix,\n scrollLeft: function scrollLeft(w, v) {\n if (isWindow(w)) {\n if (v === undefined) {\n return getScrollLeft(w);\n } else {\n window.scrollTo(v, getScrollTop(w));\n }\n } else {\n if (v === undefined) {\n return w.scrollLeft;\n } else {\n w.scrollLeft = v;\n }\n }\n },\n scrollTop: function scrollTop(w, v) {\n if (isWindow(w)) {\n if (v === undefined) {\n return getScrollTop(w);\n } else {\n window.scrollTo(getScrollLeft(w), v);\n }\n } else {\n if (v === undefined) {\n return w.scrollTop;\n } else {\n w.scrollTop = v;\n }\n }\n },\n merge: function merge() {\n var ret = {};\n\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, arguments[i]);\n }\n\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);","window.Modern = Modern = {\n handleAnalytics: function(origin, { currentUser = {}, userEmail = '', repName = '', data = {}, userType = 'dealer' }={}) {\n analytics.track(origin, {\n current_user_id: currentUser.id,\n user_type: userType,\n user_email: userEmail,\n email: currentUser.email,\n dealer_id: currentUser?.dealer_id || null,\n rep_name: repName,\n ...data\n })\n },\n\n send_docusign_to_client: function(lbid, name='client') {\n let url = `/api/loan_applications/${lbid}/approvals`\n $('#loader_modal').modal()\n $.ajax({\n url: url,\n type: 'post',\n dataType: 'json',\n data: {},\n success: function(data) {\n $('#loader_modal').modal('hide')\n Modern.notificationModal('Approval Email - Docusign', `Approval email sent to ${name} to docusign`)\n },\n error: function(s, e, r) {\n $('#loader_modal').modal('hide')\n console.log(s);\n console.log(e);\n console.log(r);\n }\n })\n },\n\n notificationModal: function(heading, body) {\n let n_modal = $('#notification_modal')\n if (!n_modal.length) {\n return\n }\n n_modal.find('.heading').text(heading)\n n_modal.find('.body').text(body)\n n_modal.modal()\n setTimeout(function() {\n n_modal.modal(\"hide\")\n }, 3000)\n }\n}\n\nwindow.BottomNotification = BottomNotification = {\n show: function(text, type='success') {\n $('.bottom-notification .b-content').text(text).attr('class', `b-content ${type}`)\n $('.bottom-notification').removeClass('hidden')\n },\n\n close: function() {\n $('.bottom-notification').addClass('hidden').find('.b-content').text('')\n }\n}\n\nwindow.Common = Common = (function() {\n const replaceKeys = (data, key_string, replacement_string) => {\n if (!data) {\n return data\n }\n\n if (typeof(data) !== 'object') {\n console.log(`needs a object to replaceKeys, given ${typeof(data)}`);\n return data\n }\n\n if (Array.isArray(data)) {\n return replaceKeysWithArray(data, key_string, replacement_string)\n }\n\n return replaceKeysWithDict(data, key_string, replacement_string)\n }\n\n const replaceKeysWithDict = (data, key_string, replacement_string) => {\n const new_data = {}\n Object.entries(data).forEach(([key, value]) => {\n const new_key = key.replace(key_string, replacement_string)\n\n if (typeof(value) !== 'object') {\n new_data[new_key] = value\n }\n else {\n const new_value = replaceKeys(value, key_string, replacement_string)\n new_data[new_key] = new_value\n }\n })\n\n return new_data\n }\n\n const replaceKeysWithArray = (data, key_string, replacement_string) => {\n const new_data = []\n data.forEach((value) => {\n let new_value = value\n if (typeof(value) === 'object') {\n new_value = replaceKeys(value, key_string, replacement_string)\n }\n\n new_data.push(new_value)\n })\n\n return new_data\n }\n\n var convert_to_number = function(value) {\n value = Number(value).toFixed(2)\n return Number(value)\n }\n\n var dollar_format = function(number, options) {\n options = options || {}\n options.toFixed = options.toFixed ?? 0\n\n if (typeof(number) == 'number' && !isNaN(number) && !!options.toFixed) {\n number = number.toFixed(options.toFixed)\n }\n\n if (!number && number != 0)\n return number;\n\n const ceil_number = Math.round(number)\n\n if ((!options.toFixed && parseFloat(number) == ceil_number) || options.ceil) {\n number = ceil_number\n } else {\n number = parseFloat(number).toFixed(2)\n }\n\n return `$ ${number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}`;\n }\n\n var percentage_format = function(number, decPlaces) {\n if (!number && number != 0)\n return number;\n\n if (parseFloat(number) == parseInt(number) && !decPlaces) {\n number = parseInt(number)\n }\n\n if (decPlaces) {\n number = parseFloat(number).toFixed(decPlaces)\n }\n\n return `${number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")} %`;\n }\n\n // yeah this is a bit ugly/repetative but I don't want to affect every case of percentage format\n // for one design tweak\n var percentage_format_no_space = function(number, decPlaces) {\n if (!number && number != 0)\n return number;\n\n if (parseFloat(number) == parseInt(number) && !decPlaces) {\n number = parseInt(number)\n }\n\n if (decPlaces) {\n number = parseFloat(number).toFixed(decPlaces)\n }\n\n return `${number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}%`;\n }\n\n var pagination_data = function(page, offset, total) {\n page = parseInt(page)\n total = parseInt(total)\n offset = parseInt(offset)\n\n let start = ((parseInt(page) - 1) * parseInt(offset)) + 1\n let end = parseInt(offset) * parseInt(page)\n\n if (total < end) {\n end = total\n }\n\n return {start, end}\n }\n\n var sanitizeValue = (value) => {\n if ([null, undefined].includes(value)) {\n return \"\"\n }\n\n return value\n }\n\n const getDate = function(custom_date=null, { format=null, timezone_from='UTC', local=false, show_time=false }={}) {\n const moment = require('moment')\n let today = new Date()\n\n if (custom_date) {\n today = new Date(`${custom_date} ${timezone_from}`)\n }\n\n if (format === 'date') {\n return today;\n }\n\n let date = moment.utc(today)\n\n if (local) {\n date = date.local()\n }\n\n let formatter = format || 'YYYY-MM-DD'\n\n if (format === 'fancy') {\n formatter = 'DD MMM YYYY'\n }\n\n if (show_time) {\n formatter = `${formatter}, hh:mma`\n }\n\n let formated_date = date.format(formatter)\n\n return formated_date;\n };\n\n /**\n * DO NOT USE THIS FOR ANY NEW TOOLTIP FUNCTIONALITY.\n * FOR NEW FUNCTIONALITY, CREATE A TOOLTIP MODULE, ADD AN EVENT LISTENER THAT WILL MAKE THESE FEATURES AVAILABLE FOR ALL TOOLTIPS ON PAGE LOAD.\n * THIS INCLUDES - enterIcon, leaveIcon, clickIcon\n **/\n const enterIcon = (id) => {\n let state = $(id).data('state');\n if (state == 'hover') {\n $(id).tooltip('show');\n }\n }\n\n const leaveIcon = (id) => {\n let state = $(id).data('state');\n if (state == 'hover') {\n $(id).tooltip('hide');\n }\n }\n\n const clickIcon = (id) => {\n let state = $(id).data('state');\n if (state == 'hover') {\n $(id).data('state', 'click');\n }\n }\n\n const isInViewport = (element) => {\n const rect = element.getBoundingClientRect();\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.top <= (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\n );\n }\n\n var format_phone_number = function(s) {\n var s2 = (\"\" + s).replace(/\\D/g, '');\n var extract_phone_number = s2.replace(/\\D+/g, \"\");\n var m = extract_phone_number.match(/^(\\d{3})(\\d{3})(\\d{4})$/);\n return (!m) ? s : \"(\" + m[1] + \") \" + m[2] + \"-\" + m[3];\n };\n\n const unformat_phone_number = (s) => {\n if (!s) return ''\n const raw_phone_number = s.replace(/\\D+/g, \"\")\n return raw_phone_number\n }\n\n return {\n dollar_format,\n pagination_data,\n percentage_format,\n percentage_format_no_space,\n sanitizeValue,\n getDate,\n enterIcon,\n leaveIcon,\n clickIcon,\n isInViewport,\n convert_to_number,\n replaceKeys,\n format_phone_number,\n unformat_phone_number,\n }\n})()\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nexports.getInternalMethods = getInternalMethods;\nexports.getPrototypeChain = getPrototypeChain;\nexports.warn = warn;\nexports.uid = uid;\nexports.formatAsConstant = formatAsConstant;\nexports.dispatchIdentity = dispatchIdentity;\nexports.fsa = fsa;\nexports.dispatch = dispatch;\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n/*eslint-disable*/\n\n\nvar builtIns = Object.getOwnPropertyNames(NoopClass);\nvar builtInProto = Object.getOwnPropertyNames(NoopClass.prototype);\n/*eslint-enable*/\n\nfunction getInternalMethods(Obj, isProto) {\n var excluded = isProto ? builtInProto : builtIns;\n var obj = isProto ? Obj.prototype : Obj;\n return Object.getOwnPropertyNames(obj).reduce(function (value, m) {\n if (excluded.indexOf(m) !== -1) {\n return value;\n }\n\n value[m] = obj[m];\n return value;\n }, {});\n}\n\nfunction getPrototypeChain(Obj) {\n var methods = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n return Obj === Function.prototype ? methods : getPrototypeChain(Object.getPrototypeOf(Obj), fn.assign(getInternalMethods(Obj, true), methods));\n}\n\nfunction warn(msg) {\n /* istanbul ignore else */\n\n /*eslint-disable*/\n if (typeof console !== 'undefined') {\n console.warn(new ReferenceError(msg));\n }\n /*eslint-enable*/\n\n}\n\nfunction uid(container, name) {\n var count = 0;\n var key = name;\n\n while (Object.hasOwnProperty.call(container, key)) {\n key = name + String(++count);\n }\n\n return key;\n}\n\nfunction formatAsConstant(name) {\n return name.replace(/[a-z]([A-Z])/g, function (i) {\n return String(i[0]) + '_' + String(i[1].toLowerCase());\n }).toUpperCase();\n}\n\nfunction dispatchIdentity(x) {\n if (x === undefined) return null;\n\n for (var _len = arguments.length, a = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n a[_key - 1] = arguments[_key];\n }\n\n return a.length ? [x].concat(a) : x;\n}\n\nfunction fsa(id, type, payload, details) {\n return {\n type: type,\n payload: payload,\n meta: _extends({\n dispatchId: id\n }, details),\n id: id,\n action: type,\n data: payload,\n details: details\n };\n}\n\nfunction dispatch(id, actionObj, payload, alt) {\n var data = actionObj.dispatch(payload);\n if (data === undefined) return null;\n var type = actionObj.id;\n var namespace = type;\n var name = type;\n var details = {\n id: type,\n namespace: namespace,\n name: name\n };\n\n var dispatchLater = function dispatchLater(x) {\n return alt.dispatch(type, x, details);\n };\n\n if (fn.isFunction(data)) return data(dispatchLater, alt); // XXX standardize this\n\n return alt.dispatcher.dispatch(fsa(id, type, data, details));\n}\n/* istanbul ignore next */\n\n\nfunction NoopClass() {}","module.exports = __webpack_public_path__ + \"media/images/careers__hero-e1b3e34c.png\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--alex-459ee5a9.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--anthony-a1925b6d.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--gaurang-862f098d.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--maria-f4ee7054.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--noelle-84e0d2a9.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--pranjal-0dfaae19.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--wai-kin-3db8ebc4.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-1-6b483215.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-2-94f7612e.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-3-9ed56e17.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-4-8ff0898f.jpg\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-5-2e10c234.jpg\";","module.exports = __webpack_public_path__ + \"media/images/dealers__baha-auto-e93a14d2.jpg\";","module.exports = __webpack_public_path__ + \"media/images/dealers__chevrolet-333358e7.jpg\";","module.exports = __webpack_public_path__ + \"media/images/dealers__ford-0cb56ada.jpg\";","module.exports = __webpack_public_path__ + \"media/images/dealers__hero-9c5a89fc.png\";","module.exports = __webpack_public_path__ + \"media/images/dealers__nissan-2b3088a6.jpg\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-1-992c08b4.png\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-2-eea13871.png\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-3-45a2cae5.png\";","module.exports = __webpack_public_path__ + \"media/images/dealers__toyota-dd61a222.jpg\";","module.exports = __webpack_public_path__ + \"media/images/emoji__balloon-587cc961.png\";","module.exports = __webpack_public_path__ + \"media/images/emoji__female-dancer-4f6199c9.png\";","module.exports = __webpack_public_path__ + \"media/images/emoji__male-dancer-f5807b07.png\";","module.exports = __webpack_public_path__ + \"media/images/emoji__party-3868ad5a.png\";","module.exports = __webpack_public_path__ + \"media/images/emoji__sparkles-f7d37e2b.png\";","module.exports = __webpack_public_path__ + \"media/images/faq__hero-a1299122.png\";","module.exports = __webpack_public_path__ + \"media/general/lendbuzz_logo_color-39263540.png\";","module.exports = __webpack_public_path__ + \"media/general/lendbuzz_logo_white-587ad605.png\";","module.exports = __webpack_public_path__ + \"media/general/new_lendbuzz_logo-ee0dd74e.png\";","module.exports = __webpack_public_path__ + \"media/general/stepsdone-4031f689.png\";","module.exports = __webpack_public_path__ + \"media/general/stepsline-b710f67a.png\";","module.exports = __webpack_public_path__ + \"media/general/stepsmiss-95d6379b.png\";","module.exports = __webpack_public_path__ + \"media/images/homepage__hero-a87b768b.png\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-1-11a3701d.png\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-2-57fb2dc3.png\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-3-f81cdcab.png\";","module.exports = __webpack_public_path__ + \"media/widget/tooltip-85d04ce5.png\";","function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return _setPrototypeOf(_this, BabelRegExp.prototype); } _inherits(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === \"string\") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\\$<([^>]+)>/g, function (_, name) { return \"$\" + groups[name]; })); } else if (typeof substitution === \"function\") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof(args[args.length - 1]) !== \"object\") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction e(e, r, n, t) {\n return new (n || (n = Promise))(function (o, a) {\n function i(e) {\n try {\n c(t.next(e));\n } catch (e) {\n a(e);\n }\n }\n\n function u(e) {\n try {\n c(t.throw(e));\n } catch (e) {\n a(e);\n }\n }\n\n function c(e) {\n var r;\n e.done ? o(e.value) : (r = e.value, r instanceof n ? r : new n(function (e) {\n e(r);\n })).then(i, u);\n }\n\n c((t = t.apply(e, r || [])).next());\n });\n}\n\nfunction r(e, r) {\n var n,\n t,\n o,\n a,\n i = {\n label: 0,\n sent: function sent() {\n if (1 & o[0]) throw o[1];\n return o[1];\n },\n trys: [],\n ops: []\n };\n return a = {\n next: u(0),\n throw: u(1),\n return: u(2)\n }, \"function\" == typeof Symbol && (a[Symbol.iterator] = function () {\n return this;\n }), a;\n\n function u(u) {\n return function (c) {\n return function (u) {\n if (n) throw new TypeError(\"Generator is already executing.\");\n\n for (; a && (a = 0, u[0] && (i = 0)), i;) {\n try {\n if (n = 1, t && (o = 2 & u[0] ? t.return : u[0] ? t.throw || ((o = t.return) && o.call(t), 0) : t.next) && !(o = o.call(t, u[1])).done) return o;\n\n switch (t = 0, o && (u = [2 & u[0], o.value]), u[0]) {\n case 0:\n case 1:\n o = u;\n break;\n\n case 4:\n return i.label++, {\n value: u[1],\n done: !1\n };\n\n case 5:\n i.label++, t = u[1], u = [0];\n continue;\n\n case 7:\n u = i.ops.pop(), i.trys.pop();\n continue;\n\n default:\n if (!(o = i.trys, (o = o.length > 0 && o[o.length - 1]) || 6 !== u[0] && 2 !== u[0])) {\n i = 0;\n continue;\n }\n\n if (3 === u[0] && (!o || u[1] > o[0] && u[1] < o[3])) {\n i.label = u[1];\n break;\n }\n\n if (6 === u[0] && i.label < o[1]) {\n i.label = o[1], o = u;\n break;\n }\n\n if (o && i.label < o[2]) {\n i.label = o[2], i.ops.push(u);\n break;\n }\n\n o[2] && i.ops.pop(), i.trys.pop();\n continue;\n }\n\n u = r.call(e, i);\n } catch (e) {\n u = [6, e], t = 0;\n } finally {\n n = o = 0;\n }\n }\n\n if (5 & u[0]) throw u[1];\n return {\n value: u[0] ? u[1] : void 0,\n done: !0\n };\n }([u, c]);\n };\n }\n}\n\n\"function\" == typeof SuppressedError && SuppressedError;\nvar n = {\n exclude: []\n};\n\nfunction t(e, r) {\n if (![\"exclude\", \"permissions_to_check\", \"retries\", \"timeout\"].includes(e)) throw new Error(\"Unknown option \" + e);\n if ([\"exclude\", \"permissions_to_check\"].includes(e) && (!Array.isArray(r) || !r.every(function (e) {\n return \"string\" == typeof e;\n }))) throw new Error(\"The value of the exclude and permissions_to_check must be an array of strings\");\n if ([\"retries\", \"timeout\"].includes(e) && \"number\" != typeof r) throw new Error(\"The value of retries must be a number\");\n n[e] = r;\n}\n\nvar o = {},\n a = {\n timeout: \"true\"\n},\n i = function i(e, r) {\n \"undefined\" != typeof window && (o[e] = r);\n},\n u = function u() {\n return Object.fromEntries(Object.entries(o).filter(function (e) {\n var r,\n t = e[0];\n return !(null === (r = null == n ? void 0 : n.exclude) || void 0 === r ? void 0 : r.includes(t));\n }).map(function (e) {\n return [e[0], (0, e[1])()];\n }));\n};\n\nfunction c(e) {\n return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;\n}\n\nvar s = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);\n\nfunction l(e, r) {\n return e << r | e >>> 32 - r;\n}\n\nfunction f(e, r) {\n var n;\n if (void 0 === r && (r = 0), r = r ? 0 | r : 0, \"string\" == typeof e && (n = e, e = new TextEncoder().encode(n).buffer), !(e instanceof ArrayBuffer)) throw new TypeError(\"Expected key to be ArrayBuffer or string\");\n var t = new Uint32Array([r, r, r, r]);\n !function (e, r) {\n for (var n = e.byteLength / 16 | 0, t = new Uint32Array(e, 0, 4 * n), o = 0; o < n; o++) {\n var a = t.subarray(4 * o, 4 * (o + 1));\n a[0] = Math.imul(a[0], s[0]), a[0] = l(a[0], 15), a[0] = Math.imul(a[0], s[1]), r[0] = r[0] ^ a[0], r[0] = l(r[0], 19), r[0] = r[0] + r[1], r[0] = Math.imul(r[0], 5) + 1444728091, a[1] = Math.imul(a[1], s[1]), a[1] = l(a[1], 16), a[1] = Math.imul(a[1], s[2]), r[1] = r[1] ^ a[1], r[1] = l(r[1], 17), r[1] = r[1] + r[2], r[1] = Math.imul(r[1], 5) + 197830471, a[2] = Math.imul(a[2], s[2]), a[2] = l(a[2], 17), a[2] = Math.imul(a[2], s[3]), r[2] = r[2] ^ a[2], r[2] = l(r[2], 15), r[2] = r[2] + r[3], r[2] = Math.imul(r[2], 5) + 2530024501, a[3] = Math.imul(a[3], s[3]), a[3] = l(a[3], 18), a[3] = Math.imul(a[3], s[0]), r[3] = r[3] ^ a[3], r[3] = l(r[3], 13), r[3] = r[3] + r[0], r[3] = Math.imul(r[3], 5) + 850148119;\n }\n }(e, t), function (e, r) {\n var n = e.byteLength / 16 | 0,\n t = e.byteLength % 16,\n o = new Uint32Array(4),\n a = new Uint8Array(e, 16 * n, t);\n\n switch (t) {\n case 15:\n o[3] = o[3] ^ a[14] << 16;\n\n case 14:\n o[3] = o[3] ^ a[13] << 8;\n\n case 13:\n o[3] = o[3] ^ a[12] << 0, o[3] = Math.imul(o[3], s[3]), o[3] = l(o[3], 18), o[3] = Math.imul(o[3], s[0]), r[3] = r[3] ^ o[3];\n\n case 12:\n o[2] = o[2] ^ a[11] << 24;\n\n case 11:\n o[2] = o[2] ^ a[10] << 16;\n\n case 10:\n o[2] = o[2] ^ a[9] << 8;\n\n case 9:\n o[2] = o[2] ^ a[8] << 0, o[2] = Math.imul(o[2], s[2]), o[2] = l(o[2], 17), o[2] = Math.imul(o[2], s[3]), r[2] = r[2] ^ o[2];\n\n case 8:\n o[1] = o[1] ^ a[7] << 24;\n\n case 7:\n o[1] = o[1] ^ a[6] << 16;\n\n case 6:\n o[1] = o[1] ^ a[5] << 8;\n\n case 5:\n o[1] = o[1] ^ a[4] << 0, o[1] = Math.imul(o[1], s[1]), o[1] = l(o[1], 16), o[1] = Math.imul(o[1], s[2]), r[1] = r[1] ^ o[1];\n\n case 4:\n o[0] = o[0] ^ a[3] << 24;\n\n case 3:\n o[0] = o[0] ^ a[2] << 16;\n\n case 2:\n o[0] = o[0] ^ a[1] << 8;\n\n case 1:\n o[0] = o[0] ^ a[0] << 0, o[0] = Math.imul(o[0], s[0]), o[0] = l(o[0], 15), o[0] = Math.imul(o[0], s[1]), r[0] = r[0] ^ o[0];\n }\n }(e, t), function (e, r) {\n r[0] = r[0] ^ e.byteLength, r[1] = r[1] ^ e.byteLength, r[2] = r[2] ^ e.byteLength, r[3] = r[3] ^ e.byteLength, r[0] = r[0] + r[1] | 0, r[0] = r[0] + r[2] | 0, r[0] = r[0] + r[3] | 0, r[1] = r[1] + r[0] | 0, r[2] = r[2] + r[0] | 0, r[3] = r[3] + r[0] | 0, r[0] = c(r[0]), r[1] = c(r[1]), r[2] = c(r[2]), r[3] = c(r[3]), r[0] = r[0] + r[1] | 0, r[0] = r[0] + r[2] | 0, r[0] = r[0] + r[3] | 0, r[1] = r[1] + r[0] | 0, r[2] = r[2] + r[0] | 0, r[3] = r[3] + r[0] | 0;\n }(e, t);\n var o = new Uint8Array(t.buffer);\n return Array.from(o).map(function (e) {\n return e.toString(16).padStart(2, \"0\");\n }).join(\"\");\n}\n\nfunction d(e, r) {\n return new Promise(function (n) {\n setTimeout(function () {\n return n(r);\n }, e);\n });\n}\n\nfunction h(e, r, n) {\n return Promise.all(e.map(function (e) {\n var t = performance.now();\n return Promise.race([e.then(function (e) {\n return {\n value: e,\n elapsed: performance.now() - t\n };\n }), d(r, n).then(function (e) {\n return {\n value: e,\n elapsed: performance.now() - t\n };\n })]);\n }));\n}\n\nfunction m(e, r, n) {\n return Promise.all(e.map(function (e) {\n return Promise.race([e, d(r, n)]);\n }));\n}\n\nfunction v() {\n return e(this, void 0, void 0, function () {\n var e, t, o, i, c;\n return r(this, function (r) {\n switch (r.label) {\n case 0:\n return r.trys.push([0, 2,, 3]), e = u(), t = Object.keys(e), [4, m(Object.values(e), (null == n ? void 0 : n.timeout) || 1e3, a)];\n\n case 1:\n return o = r.sent(), i = o.filter(function (e) {\n return void 0 !== e;\n }), c = {}, i.forEach(function (e, r) {\n c[t[r]] = e;\n }), [2, p(c, n.exclude || [])];\n\n case 2:\n throw r.sent();\n\n case 3:\n return [2];\n }\n });\n });\n}\n\nfunction p(e, r) {\n var n = {},\n t = function t(_t) {\n if (e.hasOwnProperty(_t)) {\n var o = e[_t];\n if (\"object\" != _typeof(o) || Array.isArray(o)) r.includes(_t) || (n[_t] = o);else {\n var a = p(o, r.map(function (e) {\n return e.startsWith(_t + \".\") ? e.slice(_t.length + 1) : e;\n }));\n Object.keys(a).length > 0 && (n[_t] = a);\n }\n }\n };\n\n for (var o in e) {\n t(o);\n }\n\n return n;\n}\n\nfunction g(n) {\n return e(this, void 0, void 0, function () {\n var e, t;\n return r(this, function (r) {\n switch (r.label) {\n case 0:\n return r.trys.push([0, 2,, 3]), [4, v()];\n\n case 1:\n return e = r.sent(), t = f(JSON.stringify(e)), n ? [2, {\n hash: t.toString(),\n data: e\n }] : [2, t.toString()];\n\n case 2:\n throw r.sent();\n\n case 3:\n return [2];\n }\n });\n });\n}\n\nfunction w() {\n return e(this, void 0, void 0, function () {\n var e, t, o, i;\n return r(this, function (r) {\n switch (r.label) {\n case 0:\n return r.trys.push([0, 2,, 3]), e = u(), t = Object.keys(e), [4, h(Object.values(e), (null == n ? void 0 : n.timeout) || 1e3, a)];\n\n case 1:\n return o = r.sent(), i = {\n elapsed: {}\n }, o.forEach(function (e, r) {\n i[t[r]] = e.value, i.elapsed[t[r]] = e.elapsed;\n }), [2, i];\n\n case 2:\n throw r.sent();\n\n case 3:\n return [2];\n }\n });\n });\n}\n\nfunction y(e) {\n for (var r = 0, n = 0; n < e.length; ++n) {\n r += Math.abs(e[n]);\n }\n\n return r;\n}\n\nfunction b(e, r, n) {\n for (var t = [], o = 0; o < e[0].data.length; o++) {\n for (var a = [], i = 0; i < e.length; i++) {\n a.push(e[i].data[o]);\n }\n\n t.push(S(a));\n }\n\n var u = new Uint8ClampedArray(t);\n return new ImageData(u, r, n);\n}\n\nfunction S(e) {\n if (0 === e.length) return 0;\n\n for (var r = {}, n = 0, t = e; n < t.length; n++) {\n r[a = t[n]] = (r[a] || 0) + 1;\n }\n\n var o = e[0];\n\n for (var a in r) {\n r[a] > r[o] && (o = parseInt(a, 10));\n }\n\n return o;\n}\n\nfunction M() {\n if (\"undefined\" == typeof navigator) return {\n name: \"unknown\",\n version: \"unknown\"\n };\n\n for (var e = navigator.userAgent, r = {\n Edg: \"Edge\",\n OPR: \"Opera\"\n }, n = 0, t = [/*#__PURE__*/_wrapRegExp(/(Edge|Edg)\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/((?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/((?:Firefox|Waterfox|Iceweasel|IceCat))\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/(Safari)\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/(MSIE|Trident|IEMobile).+?([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/([A-Za-z]+)\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n }), /*#__PURE__*/_wrapRegExp(/(SamsungBrowser)\\/([0-9]+(?:\\.[0-9]+)?)/, {\n name: 1,\n version: 2\n })]; n < t.length; n++) {\n var o = t[n],\n a = e.match(o);\n if (a && a.groups) return {\n name: r[a.groups.name] || a.groups.name,\n version: a.groups.version\n };\n }\n\n return {\n name: \"unknown\",\n version: \"unknown\"\n };\n}\n\ni(\"audio\", function () {\n return e(this, void 0, void 0, function () {\n return r(this, function (e) {\n return [2, new Promise(function (e, r) {\n try {\n var n = new (window.OfflineAudioContext || window.webkitOfflineAudioContext)(1, 5e3, 44100),\n t = n.createBufferSource(),\n o = n.createOscillator();\n o.frequency.value = 1e3;\n var a,\n i = n.createDynamicsCompressor();\n i.threshold.value = -50, i.knee.value = 40, i.ratio.value = 12, i.attack.value = 0, i.release.value = .2, o.connect(i), i.connect(n.destination), o.start(), n.oncomplete = function (r) {\n a = r.renderedBuffer.getChannelData(0), e({\n sampleHash: y(a),\n oscillator: o.type,\n maxChannels: n.destination.maxChannelCount,\n channelCountMode: t.channelCountMode\n });\n }, n.startRendering();\n } catch (e) {\n console.error(\"Error creating audio fingerprint:\", e), r(e);\n }\n })];\n });\n });\n});\nvar E = \"SamsungBrowser\" !== M().name ? 1 : 3,\n P = 280,\n A = 20;\n\"Firefox\" != M().name && i(\"canvas\", function () {\n return document.createElement(\"canvas\").getContext(\"2d\"), new Promise(function (e) {\n var r = Array.from({\n length: E\n }, function () {\n return function () {\n var e = document.createElement(\"canvas\"),\n r = e.getContext(\"2d\");\n if (!r) return new ImageData(1, 1);\n e.width = P, e.height = A;\n var n = r.createLinearGradient(0, 0, e.width, e.height);\n n.addColorStop(0, \"red\"), n.addColorStop(1 / 6, \"orange\"), n.addColorStop(2 / 6, \"yellow\"), n.addColorStop(.5, \"green\"), n.addColorStop(4 / 6, \"blue\"), n.addColorStop(5 / 6, \"indigo\"), n.addColorStop(1, \"violet\"), r.fillStyle = n, r.fillRect(0, 0, e.width, e.height);\n var t = \"Random Text WMwmil10Oo\";\n r.font = \"23.123px Arial\", r.fillStyle = \"black\", r.fillText(t, -5, 15), r.fillStyle = \"rgba(0, 0, 255, 0.5)\", r.fillText(t, -3.3, 17.7), r.beginPath(), r.moveTo(0, 0), r.lineTo(2 * e.width / 7, e.height), r.strokeStyle = \"white\", r.lineWidth = 2, r.stroke();\n var o = r.getImageData(0, 0, e.width, e.height);\n return o;\n }();\n });\n e({\n commonImageDataHash: f(b(r, P, A).data.toString()).toString()\n });\n });\n});\nvar C,\n x = [\"Arial\", \"Arial Black\", \"Arial Narrow\", \"Arial Rounded MT\", \"Arimo\", \"Archivo\", \"Barlow\", \"Bebas Neue\", \"Bitter\", \"Bookman\", \"Calibri\", \"Cabin\", \"Candara\", \"Century\", \"Century Gothic\", \"Comic Sans MS\", \"Constantia\", \"Courier\", \"Courier New\", \"Crimson Text\", \"DM Mono\", \"DM Sans\", \"DM Serif Display\", \"DM Serif Text\", \"Dosis\", \"Droid Sans\", \"Exo\", \"Fira Code\", \"Fira Sans\", \"Franklin Gothic Medium\", \"Garamond\", \"Geneva\", \"Georgia\", \"Gill Sans\", \"Helvetica\", \"Impact\", \"Inconsolata\", \"Indie Flower\", \"Inter\", \"Josefin Sans\", \"Karla\", \"Lato\", \"Lexend\", \"Lucida Bright\", \"Lucida Console\", \"Lucida Sans Unicode\", \"Manrope\", \"Merriweather\", \"Merriweather Sans\", \"Montserrat\", \"Myriad\", \"Noto Sans\", \"Nunito\", \"Nunito Sans\", \"Open Sans\", \"Optima\", \"Orbitron\", \"Oswald\", \"Pacifico\", \"Palatino\", \"Perpetua\", \"PT Sans\", \"PT Serif\", \"Poppins\", \"Prompt\", \"Public Sans\", \"Quicksand\", \"Rajdhani\", \"Recursive\", \"Roboto\", \"Roboto Condensed\", \"Rockwell\", \"Rubik\", \"Segoe Print\", \"Segoe Script\", \"Segoe UI\", \"Sora\", \"Source Sans Pro\", \"Space Mono\", \"Tahoma\", \"Taviraj\", \"Times\", \"Times New Roman\", \"Titillium Web\", \"Trebuchet MS\", \"Ubuntu\", \"Varela Round\", \"Verdana\", \"Work Sans\"],\n T = [\"monospace\", \"sans-serif\", \"serif\"];\n\nfunction k(e, r) {\n if (!e) throw new Error(\"Canvas context not supported\");\n return e.font, e.font = \"72px \".concat(r), e.measureText(\"WwMmLli0Oo\").width;\n}\n\nfunction R() {\n var e,\n r = document.createElement(\"canvas\"),\n n = null !== (e = r.getContext(\"webgl\")) && void 0 !== e ? e : r.getContext(\"experimental-webgl\");\n if (n && \"getParameter\" in n) try {\n var t = (n.getParameter(n.VENDOR) || \"\").toString(),\n o = (n.getParameter(n.RENDERER) || \"\").toString(),\n a = {\n vendor: t,\n renderer: o,\n version: (n.getParameter(n.VERSION) || \"\").toString(),\n shadingLanguageVersion: (n.getParameter(n.SHADING_LANGUAGE_VERSION) || \"\").toString()\n };\n\n if (!o.length || !t.length) {\n var i = n.getExtension(\"WEBGL_debug_renderer_info\");\n\n if (i) {\n var u = (n.getParameter(i.UNMASKED_VENDOR_WEBGL) || \"\").toString(),\n c = (n.getParameter(i.UNMASKED_RENDERER_WEBGL) || \"\").toString();\n u && (a.vendorUnmasked = u), c && (a.rendererUnmasked = c);\n }\n }\n\n return a;\n } catch (e) {}\n return \"undefined\";\n}\n\nfunction I() {\n var e = new Float32Array(1),\n r = new Uint8Array(e.buffer);\n return e[0] = 1 / 0, e[0] = e[0] - e[0], r[3];\n}\n\nfunction O(e, r) {\n var n = {};\n return r.forEach(function (r) {\n var t = function (e) {\n if (0 === e.length) return null;\n var r = {};\n e.forEach(function (e) {\n var n = String(e);\n r[n] = (r[n] || 0) + 1;\n });\n var n = e[0],\n t = 1;\n return Object.keys(r).forEach(function (e) {\n r[e] > t && (n = e, t = r[e]);\n }), n;\n }(e.map(function (e) {\n return r in e ? e[r] : void 0;\n }).filter(function (e) {\n return void 0 !== e;\n }));\n\n t && (n[r] = t);\n }), n;\n}\n\nfunction L() {\n var e = [],\n r = {\n \"prefers-contrast\": [\"high\", \"more\", \"low\", \"less\", \"forced\", \"no-preference\"],\n \"any-hover\": [\"hover\", \"none\"],\n \"any-pointer\": [\"none\", \"coarse\", \"fine\"],\n pointer: [\"none\", \"coarse\", \"fine\"],\n hover: [\"hover\", \"none\"],\n update: [\"fast\", \"slow\"],\n \"inverted-colors\": [\"inverted\", \"none\"],\n \"prefers-reduced-motion\": [\"reduce\", \"no-preference\"],\n \"prefers-reduced-transparency\": [\"reduce\", \"no-preference\"],\n scripting: [\"none\", \"initial-only\", \"enabled\"],\n \"forced-colors\": [\"active\", \"none\"]\n };\n return Object.keys(r).forEach(function (n) {\n r[n].forEach(function (r) {\n matchMedia(\"(\".concat(n, \": \").concat(r, \")\")).matches && e.push(\"\".concat(n, \": \").concat(r));\n });\n }), e;\n}\n\nfunction _() {\n if (\"https:\" === window.location.protocol && \"function\" == typeof window.ApplePaySession) try {\n for (var e = window.ApplePaySession.supportsVersion, r = 15; r > 0; r--) {\n if (e(r)) return r;\n }\n } catch (e) {\n return 0;\n }\n return 0;\n}\n\n\"Firefox\" != M().name && i(\"fonts\", function () {\n var n = this;\n return new Promise(function (t, o) {\n try {\n !function (n) {\n var t;\n e(this, void 0, void 0, function () {\n var e, o, a;\n return r(this, function (r) {\n switch (r.label) {\n case 0:\n return document.body ? [3, 2] : [4, (i = 50, new Promise(function (e) {\n return setTimeout(e, i, u);\n }))];\n\n case 1:\n return r.sent(), [3, 0];\n\n case 2:\n if ((e = document.createElement(\"iframe\")).setAttribute(\"frameBorder\", \"0\"), (o = e.style).setProperty(\"position\", \"fixed\"), o.setProperty(\"display\", \"block\", \"important\"), o.setProperty(\"visibility\", \"visible\"), o.setProperty(\"border\", \"0\"), o.setProperty(\"opacity\", \"0\"), e.src = \"about:blank\", document.body.appendChild(e), !(a = e.contentDocument || (null === (t = e.contentWindow) || void 0 === t ? void 0 : t.document))) throw new Error(\"Iframe document is not accessible\");\n return n({\n iframe: a\n }), setTimeout(function () {\n document.body.removeChild(e);\n }, 0), [2];\n }\n\n var i, u;\n });\n });\n }(function (o) {\n var a = o.iframe;\n return e(n, void 0, void 0, function () {\n var e, n, o, i;\n return r(this, function (r) {\n return \"Hello, world!\", e = a.createElement(\"canvas\"), n = e.getContext(\"2d\"), o = T.map(function (e) {\n return k(n, e);\n }), i = {}, x.forEach(function (e) {\n var r = k(n, e);\n o.includes(r) || (i[e] = r);\n }), t(i), [2];\n });\n });\n });\n } catch (e) {\n o({\n error: \"unsupported\"\n });\n }\n });\n}), i(\"hardware\", function () {\n return new Promise(function (e, r) {\n var n = void 0 !== navigator.deviceMemory ? navigator.deviceMemory : 0,\n t = window.performance && window.performance.memory ? window.performance.memory : 0;\n e({\n videocard: R(),\n architecture: I(),\n deviceMemory: n.toString() || \"undefined\",\n jsHeapSizeLimit: t.jsHeapSizeLimit || 0\n });\n });\n}), i(\"locales\", function () {\n return new Promise(function (e) {\n e({\n languages: navigator.language,\n timezone: Intl.DateTimeFormat().resolvedOptions().timeZone\n });\n });\n}), i(\"permissions\", function () {\n return e(this, void 0, void 0, function () {\n var t;\n return r(this, function (o) {\n return C = (null == n ? void 0 : n.permissions_to_check) || [\"accelerometer\", \"accessibility\", \"accessibility-events\", \"ambient-light-sensor\", \"background-fetch\", \"background-sync\", \"bluetooth\", \"camera\", \"clipboard-read\", \"clipboard-write\", \"device-info\", \"display-capture\", \"gyroscope\", \"geolocation\", \"local-fonts\", \"magnetometer\", \"microphone\", \"midi\", \"nfc\", \"notifications\", \"payment-handler\", \"persistent-storage\", \"push\", \"speaker\", \"storage-access\", \"top-level-storage-access\", \"window-management\", \"query\"], t = Array.from({\n length: (null == n ? void 0 : n.retries) || 3\n }, function () {\n return function () {\n return e(this, void 0, void 0, function () {\n var e, n, t, o, a;\n return r(this, function (r) {\n switch (r.label) {\n case 0:\n e = {}, n = 0, t = C, r.label = 1;\n\n case 1:\n if (!(n < t.length)) return [3, 6];\n o = t[n], r.label = 2;\n\n case 2:\n return r.trys.push([2, 4,, 5]), [4, navigator.permissions.query({\n name: o\n })];\n\n case 3:\n return a = r.sent(), e[o] = a.state.toString(), [3, 5];\n\n case 4:\n return r.sent(), [3, 5];\n\n case 5:\n return n++, [3, 1];\n\n case 6:\n return [2, e];\n }\n });\n });\n }();\n }), [2, Promise.all(t).then(function (e) {\n return O(e, C);\n })];\n });\n });\n}), i(\"plugins\", function () {\n var e = [];\n if (navigator.plugins) for (var r = 0; r < navigator.plugins.length; r++) {\n var n = navigator.plugins[r];\n e.push([n.name, n.filename, n.description].join(\"|\"));\n }\n return new Promise(function (r) {\n r({\n plugins: e\n });\n });\n}), i(\"screen\", function () {\n return new Promise(function (e) {\n e({\n is_touchscreen: navigator.maxTouchPoints > 0,\n maxTouchPoints: navigator.maxTouchPoints,\n colorDepth: screen.colorDepth,\n mediaMatches: L()\n });\n });\n}), i(\"system\", function () {\n return new Promise(function (e) {\n var r = M();\n e({\n platform: window.navigator.platform,\n cookieEnabled: window.navigator.cookieEnabled,\n productSub: navigator.productSub,\n product: navigator.product,\n useragent: navigator.userAgent,\n hardwareConcurrency: navigator.hardwareConcurrency,\n browser: {\n name: r.name,\n version: r.version\n },\n applePayVersion: _()\n });\n });\n});\nvar D,\n B = \"SamsungBrowser\" !== M().name ? 1 : 3,\n U = null;\ni(\"webgl\", function () {\n return e(this, void 0, void 0, function () {\n var e;\n return r(this, function (r) {\n \"undefined\" != typeof document && ((D = document.createElement(\"canvas\")).width = 200, D.height = 100, U = D.getContext(\"webgl\"));\n\n try {\n if (!U) throw new Error(\"WebGL not supported\");\n return e = Array.from({\n length: B\n }, function () {\n return function () {\n try {\n if (!U) throw new Error(\"WebGL not supported\");\n var e = \"\\n attribute vec2 position;\\n void main() {\\n gl_Position = vec4(position, 0.0, 1.0);\\n }\\n \",\n r = \"\\n precision mediump float;\\n void main() {\\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\\n }\\n \",\n n = U.createShader(U.VERTEX_SHADER),\n t = U.createShader(U.FRAGMENT_SHADER);\n if (!n || !t) throw new Error(\"Failed to create shaders\");\n if (U.shaderSource(n, e), U.shaderSource(t, r), U.compileShader(n), !U.getShaderParameter(n, U.COMPILE_STATUS)) throw new Error(\"Vertex shader compilation failed: \" + U.getShaderInfoLog(n));\n if (U.compileShader(t), !U.getShaderParameter(t, U.COMPILE_STATUS)) throw new Error(\"Fragment shader compilation failed: \" + U.getShaderInfoLog(t));\n var o = U.createProgram();\n if (!o) throw new Error(\"Failed to create shader program\");\n if (U.attachShader(o, n), U.attachShader(o, t), U.linkProgram(o), !U.getProgramParameter(o, U.LINK_STATUS)) throw new Error(\"Shader program linking failed: \" + U.getProgramInfoLog(o));\n U.useProgram(o);\n\n for (var a = 137, i = new Float32Array(4 * a), u = 2 * Math.PI / a, c = 0; c < a; c++) {\n var s = c * u;\n i[4 * c] = 0, i[4 * c + 1] = 0, i[4 * c + 2] = Math.cos(s) * (D.width / 2), i[4 * c + 3] = Math.sin(s) * (D.height / 2);\n }\n\n var l = U.createBuffer();\n U.bindBuffer(U.ARRAY_BUFFER, l), U.bufferData(U.ARRAY_BUFFER, i, U.STATIC_DRAW);\n var f = U.getAttribLocation(o, \"position\");\n U.enableVertexAttribArray(f), U.vertexAttribPointer(f, 2, U.FLOAT, !1, 0, 0), U.viewport(0, 0, D.width, D.height), U.clearColor(0, 0, 0, 1), U.clear(U.COLOR_BUFFER_BIT), U.drawArrays(U.LINES, 0, 2 * a);\n var d = new Uint8ClampedArray(D.width * D.height * 4);\n return U.readPixels(0, 0, D.width, D.height, U.RGBA, U.UNSIGNED_BYTE, d), new ImageData(d, D.width, D.height);\n } catch (e) {\n return new ImageData(1, 1);\n } finally {\n U && (U.bindBuffer(U.ARRAY_BUFFER, null), U.useProgram(null), U.viewport(0, 0, U.drawingBufferWidth, U.drawingBufferHeight), U.clearColor(0, 0, 0, 0));\n }\n }();\n }), [2, {\n commonImageHash: f(b(e, D.width, D.height).data.toString()).toString()\n }];\n } catch (e) {\n return [2, {\n webgl: \"unsupported\"\n }];\n }\n\n return [2];\n });\n });\n});\n\nvar F = function F(e, r, n, t) {\n for (var o = (n - r) / t, a = 0, i = 0; i < t; i++) {\n a += e(r + (i + .5) * o);\n }\n\n return a * o;\n};\n\nfunction N() {\n return \"0.16.1\";\n}\n\ni(\"math\", function () {\n return e(void 0, void 0, void 0, function () {\n return r(this, function (e) {\n return [2, {\n acos: Math.acos(.5),\n asin: F(Math.asin, -1, 1, 97),\n atan: F(Math.atan, -1, 1, 97),\n cos: F(Math.cos, 0, Math.PI, 97),\n cosh: Math.cosh(9 / 7),\n e: Math.E,\n largeCos: Math.cos(1e20),\n largeSin: Math.sin(1e20),\n largeTan: Math.tan(1e20),\n log: Math.log(1e3),\n pi: Math.PI,\n sin: F(Math.sin, -Math.PI, Math.PI, 97),\n sinh: F(Math.sinh, -9 / 7, 7 / 9, 97),\n sqrt: Math.sqrt(2),\n tan: F(Math.tan, 0, 2 * Math.PI, 97),\n tanh: F(Math.tanh, -9 / 7, 7 / 9, 97)\n }];\n });\n });\n});\nexport { g as getFingerprint, v as getFingerprintData, w as getFingerprintPerformance, N as getVersion, t as setOption };","import { getFingerprint } from '@thumbmarkjs/thumbmarkjs'\nimport lb_fetch from './helpers/Request'\nimport $ from 'jquery'\nimport config from './config'\n;(async () => {\n const fingerprint = await getFingerprint()\n\n await lb_fetch(`${config.api_host}/api/device/register`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: {\n fingerprint: fingerprint,\n },\n })\n})()\n\n$.ajaxSetup({\n xhrFields: {\n withCredentials: true,\n },\n})\n","'use strict';\n\nvar reactIs = require('react-is');\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;","import React from 'react';\nimport DealerHelper from '../../helpers/DealerHelper';\nimport lb_fetch from '../../helpers/Request'\nconst Logo = require('images/site-header__logo.svg')\nconst moment = require('moment');\n\nclass BasicHeader extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n user: this.props.user,\n dealer: this.props.dealer,\n headerLoaded: false,\n announcementRead: localStorage['b2bAppAnnouncementRead']\n };\n this.pageOptionsMap = {\n '/login': ['contact_us', 'faq', 'logout'],\n '/dealer_portal': ['button', 'dealer_portal', 'settings', 'pending_review', 'dealer_new_loan', 'verify_gps'],\n '/dealers/settings': ['button', 'dealer_portal', 'settings', 'pending_review', 'dealer_new_loan', 'verify_gps'],\n }\n }\n\n componentDidMount() {\n let self = this\n $(document).trigger('mobileNavLoaded')\n $(document).on('reload:header', function () {\n self.getCurrentUserData()\n })\n\n $(document).on('closeAnnouncement', function() {\n self.closeAnnouncement()\n })\n\n let user = this.state.user || {}\n let dealer = this.state.dealer || {}\n\n if (user['id']) {\n $(document).trigger(\"headerLoaded\")\n this.setState({headerLoaded: true})\n }\n\n if (!user['id'] || !dealer['id']) {\n this.getCurrentUserData(user['id'] == null, dealer['id'] == null)\n }\n }\n\n closeAnnouncement() {\n this.setState({ announcementRead: true })\n localStorage['b2bAppAnnouncementRead'] = true\n }\n\n isVisible(type) {\n let user = this.state.user || {}\n\n let pathname = location.pathname\n\n // page url mapping\n // for dealer portal\n if (pathname.includes(`/dealers/${user['dealer_id']}/`)) {\n pathname = '/dealer_portal'\n }\n\n let page_options = this.pageOptionsMap[pathname]\n if (!page_options) {\n return true\n }\n\n return page_options.includes(type)\n }\n\n dealerStatus() {\n let dealer = this.state.dealer\n if (!dealer) {\n return\n }\n let status_text = DealerHelper.currentStep(dealer, 'text')\n return status_text\n }\n\n async getCurrentUserData(user=true, dealer=true) {\n let res = null\n try {\n res = await lb_fetch('/get_current_user_data', {method: 'post', body: {user, dealer}})\n } catch (error) {\n console.log('error in BasicHeader#getCurrentUserData');\n console.log(error);\n return\n }\n\n let data = await res.json()\n let new_state = {}\n if (user && data['user']) {\n new_state['user'] = data['user']\n }\n if (dealer && data['dealer']) {\n new_state['dealer'] = data['dealer']\n }\n this.setState(new_state, () => {\n if (!this.state.headerLoaded && this.state.user) {\n $(document).trigger(\"headerLoaded\")\n this.setState({headerLoaded: true})\n }\n })\n }\n\n handleLogout() {\n const drift = window?.drift\n drift?.reset()\n\n window.location.href = '/logout'\n }\n\n render() {\n let for_dealership = (\n \n )\n\n if (!this.isVisible('for_dealership')) {\n for_dealership = \"\"\n }\n\n let careers = this.renderNavLink('Careers', '/careers', 'careers')\n let faq = this.renderNavLink('FAQ', '/faq', 'faq')\n let contact_us = this.renderNavLink('Contact Us', '/contact', 'contact_us')\n let button_right = this.renderButton()\n\n const logoLink = !!this.props?.user?.dealer_id ? '/dealer_portal' : '/'\n\n return (\n \n {this.renderAnnouncement()}\n\n
\n
\n
\n

\n \"Lendbuzz\"\n

\n
    \n {for_dealership}\n {careers}\n {faq}\n {contact_us}\n {button_right}\n {this.renderMobile()}\n
\n
\n
\n
\n
\n );\n }\n\n renderAnnouncement() {\n\n if (!location.pathname.includes('/loans/application')) {\n return\n }\n\n let announcement_read = this.state.announcementRead\n let current_est_time = moment().utcOffset('-0500')\n let start_est_time = moment(\"2022-01-06T00:00:00\").isBefore(current_est_time)\n let end_est_time = moment(\"2022-01-21T06:00:00\").isAfter(current_est_time)\n\n\n if (!start_est_time || !end_est_time) {\n return\n }\n\n if (announcement_read) {\n return\n }\n\n return (\n
\n
{window.open(\"https://lendbuzz.notion.site/January-2022-Product-Update-Credit-Application-381ac94d745a4678823ee76aadb35a5b\", '_blank')}}>\n \n \n We’re excited to bring you a newly redesigned credit application\n Click here to read more\n \n
\n
\n \n
\n
\n )\n }\n\n renderButton() {\n let is_visible = this.isVisible('button')\n if (!is_visible) {\n return \"\"\n }\n\n let user = this.state.user || {}\n if (user['id']) {\n return this.renderDropDown()\n }\n\n return this.renderSigninButton()\n }\n\n renderSigninButton() {\n let is_visible = this.isVisible('sign_in')\n if (!is_visible) {\n return\n }\n return (\n \n Login\n \n \n )\n }\n\n renderDropDown() {\n let user = this.state.user || {}\n let name = user['first_name'] || \"Account\"\n\n let name_shown = name.substring(0, 7)\n\n return (\n
\n
\n
\n
\n \n {name_shown}\n
\n
\n
\n \n
\n
\n
    \n {this.renderDropdownOptions()}\n
  • \n Log out\n
  • \n
\n
\n )\n }\n\n renderDropdownOptions() {\n let user = this.state.user || {}\n if (user['dealer_id']) {\n return this.renderDealerDropdownOptions()\n }\n\n return this.renderUserDropdownOptions()\n }\n\n renderUserDropdownOptions() {\n let my_loans_dropdown = this.renderDropdownLink('My Loans', `/loan_applications`, 'my_loans')\n let new_loan_dropdown = this.renderDropdownLink('New Loan', `/loan_applications/new`, 'new_loan')\n let options = [\n new_loan_dropdown,\n my_loans_dropdown\n ]\n\n return options\n }\n\n renderDealerDropdownOptions() {\n let user = this.state.user || {}\n let dealer = this.state.dealer || {}\n let options = []\n let dealer_status = this.dealerStatus() || \"Pending Review\"\n\n let dealer_portal_option = this.renderDropdownLink('Dealer Portal', `/dealers/${user['dealer_id']}/loans`, 'dealer_portal')\n let dealer_settings_option = this.renderDropdownLink('Settings', `/dealers/settings`, 'settings')\n let pending_review_option = this.renderDropdownLink(dealer_status, '/dealers/signup', 'pending_reivew')\n let dealer_new_loan_option = this.renderDropdownLink('New Loan', `/dealers/loan/application`, 'dealer_new_loan')\n let verify_gps_option = this.renderDropdownLink('Verify GPS', `/verify_gps`, 'verify_gps')\n\n if (dealer['active'] && !this.props.isGpsTech) {\n options.push(dealer_portal_option)\n options.push(dealer_settings_option)\n options.push(dealer_new_loan_option)\n }\n else if (dealer['id'] && !this.props.isGpsTech) {\n options.push(pending_review_option)\n }\n\n options.push(verify_gps_option)\n\n return options.filter(o => o != null)\n }\n\n renderDropdownLink(title, link, type) {\n let is_visible = this.isVisible(type)\n if (!is_visible) {\n return null\n }\n return (\n
  • \n {title}\n
  • \n )\n }\n\n renderMobile() {\n let for_dealership = (\n
  • \n For Dealerships\n
  • \n )\n\n if (!this.isVisible('for_dealership')) {\n for_dealership = \"\"\n }\n return (\n
    \n
    \n\n
      \n {for_dealership}\n {this.renderNavLinkMobile('Careers', '/careers', 'career')}\n {this.renderNavLinkMobile('FAQ', '/faq', 'faq')}\n {this.renderNavLinkMobile('Contact Us', '/contact', 'contact_us')}\n
    \n
    \n )\n }\n\n renderNavLink(title, link, type) {\n let is_visible = this.isVisible(type)\n if (!is_visible) {\n return \"\"\n }\n return (\n
  • \n {title}\n
  • \n )\n }\n\n renderNavLinkMobile(title, link, type) {\n let is_visible = this.isVisible(type)\n if (!is_visible) {\n return \"\"\n }\n return (\n
  • \n {title}\n
  • \n )\n }\n}\n\nexport default BasicHeader;\n","import React from 'react'\nimport {ReviewData} from '../data/ReviewData'\nimport big_star from 'images/homepage__star.png'\nimport half_star from 'images/homepage__star-75.png'\nimport google_icon from 'images/icon__google.png'\nimport ReviewCard from '../components/ReviewCard.js'\n\nclass Review extends React.Component {\n constructor(props){\n super(props)\n this.state = {\n leftButton: false,\n rightButton: false\n }\n }\n\n componentDidMount() {\n let self = this\n $('#contents').on('scroll', function(e) {\n self.triggerButton(e, $(this))\n })\n $(window).on('resize', function(e) {\n self.triggerButton($('#contents'), $('#contents'))\n })\n $(\"#contents\").trigger('scroll')\n }\n\n triggerButton(e, element) {\n let left_scrolled = element.scrollLeft()\n let total_width = element[0].scrollWidth\n let width = parseInt(element.outerWidth())\n let remaining_width = Math.ceil(total_width - left_scrolled)\n\n if (left_scrolled == 0) {\n this.setState({leftButton: false})\n }\n else {\n this.setState({leftButton: true})\n }\n\n if (remaining_width <= width + 5) {\n this.setState({rightButton: false})\n }\n else {\n this.setState({rightButton: true})\n }\n }\n\n scrollright() {\n let scroll_position = parseInt($(\"#contents\").scrollLeft())\n let width = parseInt($('.carousel__card').outerWidth(true))\n let scroll_to = scroll_position + width\n if (!this.state.leftButton) {\n scroll_to = scroll_to + 25\n }\n $(\"#contents\").animate( { scrollLeft: scroll_to }, 100 , 'swing' );\n }\n\n scrollleft() {\n let scroll_position = parseInt($(\"#contents\").scrollLeft())\n let width = parseInt($('.carousel__card').outerWidth(true))\n $(\"#contents\").animate( { scrollLeft: scroll_position - width }, 100 , 'swing' );\n }\n\n render() {\n let reviews = ReviewData.map(\n (data,key) => {\n return \n }\n )\n\n let left_button = (\n
    this.scrollleft()}>\n \n
    \n )\n\n let right_button = (\n
    this.scrollright()}>\n \n
    \n )\n\n if (!this.state.leftButton) {\n left_button = null\n }\n\n if (!this.state.rightButton) {\n right_button = null\n }\n\n return (\n
    \n
    \n
    \n
    \n

    Don't take our word for it

    \n
    \n
      \n {this.renderBigStar(5)}\n
    \n
    \n
    \n
    4.8avg
    \n
    486 reviews
    \n
    \n
    \n \n \"Google\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {left_button}\n
    \n
    \n
    \n
      \n {reviews}\n
    \n
    \n
    \n
    \n {right_button}\n
    \n
    \n
    \n
    \n )\n }\n\n renderBigStar(no_of_stars){\n let array = []\n for(let i=0; i < no_of_stars; i++ ){\n let star = (\n
  • \n \n
  • \n )\n if (i == no_of_stars - 1) {\n star = (\n
  • \n \n
  • \n )\n }\n array.push(star)\n }\n return array\n }\n}\nexport default Review;\n","import React from 'react'\nimport {DealerReviewData} from '../data/DealerReviewData'\nimport DealerReviewCard from './DealerReviewCard.js'\nclass DealerReview extends React.Component {\n constructor(props){\n super(props)\n this.state = {\n leftButton: false,\n rightButton: false\n }\n }\n\n componentDidMount() {\n let self = this\n $('#contents').on('scroll', function(e) {\n self.triggerButton(e, $(this))\n })\n $(window).on('resize', function(e) {\n self.triggerButton($('#contents'), $('#contents'))\n })\n $(\"#contents\").trigger('scroll')\n }\n\n triggerButton(e, element) {\n let left_scrolled = element.scrollLeft()\n let total_width = element[0].scrollWidth\n let width = parseInt(element.outerWidth())\n let remaining_width = Math.ceil(total_width - left_scrolled)\n\n if (left_scrolled == 0) {\n this.setState({leftButton: false})\n }\n else {\n this.setState({leftButton: true})\n }\n\n if (remaining_width <= width + 5) {\n this.setState({rightButton: false})\n }\n else {\n this.setState({rightButton: true})\n }\n }\n\n scrollright() {\n let scroll_position = parseInt($(\"#contents\").scrollLeft())\n let width = parseInt($('.carousel__card').outerWidth(true))\n let scroll_to = scroll_position + width\n if (!this.state.leftButton) {\n scroll_to = scroll_to + 25\n }\n $(\"#contents\").animate( { scrollLeft: scroll_to }, 100 , 'swing' );\n }\n\n scrollleft() {\n let scroll_position = parseInt($(\"#contents\").scrollLeft())\n let width = parseInt($('.carousel__card').outerWidth(true))\n $(\"#contents\").animate( { scrollLeft: scroll_position - width }, 100 , 'swing' );\n }\n\n render() {\n let dealerReviews = DealerReviewData.map(\n (data,key) => {\n return \n }\n )\n\n let left_button = (\n
    this.scrollleft()}>\n \n
    \n )\n\n let right_button = (\n
    this.scrollright()}>\n \n
    \n )\n\n if (!this.state.leftButton) {\n left_button = null\n }\n\n if (!this.state.rightButton) {\n right_button = null\n }\n\n return (\n
    \n

    What dealers say about us

    \n
    \n
    \n {left_button}\n
    \n
    \n
      \n {dealerReviews}\n
    \n
    \n
    \n {right_button}\n
    \n
    \n
    \n )\n }\n}\nexport default DealerReview;\n","import React, { useState, useEffect } from 'react';\nimport LBModal from '../modules/LBModal.js.jsx';\n\nconst ErrorModal = (props) => {\n\n const default_title = 'Error'\n const default_description = 'Something went wrong. Please Contact US'\n\n const [visible, setVisible] = useState(props.visible || false)\n const [title, setTitle] = useState(default_title)\n const [description, setDescription] = useState(default_description)\n\n $(document).on('error:modal', (e, modal_info) => {\n const i_title = modal_info['title'] || default_title\n const i_description = modal_info['description'] || default_description\n setTitle(i_title)\n setDescription(i_description)\n setVisible(true)\n })\n\n const onClickAway = () => {\n setVisible(false)\n setTitle(default_title)\n setDescription(default_description)\n }\n\n return (\n \n
    \n
    \n
    {title}
    \n \n
    \n
    \n {description}\n
    \n
    \n \n
    \n
    \n
    \n );\n};\n\n\nexport default ErrorModal;\n","import React, { Component } from 'react';\nimport FundedDeals from './FundedDeals.js';\nimport DealerLoans from './DealerLoans.js';\nimport {Tabs, Tab} from '../modules/Tab.js';\nimport { LoansProvider } from \"./LoansContext.jsx\"\nimport PayoffQuote from './PayoffQuotes/index.jsx';\n\nclass DealerTabs extends Component {\n constructor(props) {\n super(props)\n this.state = {\n viewMode: this.props.viewMode || 'loans',\n firstLoad: true\n }\n }\n\n viewMode(type = null) {\n this.setState({ viewMode: type })\n\n // temporary fix to avoid out-of-sync between page data displayed on the page\n if (this.state.viewMode === type) {\n return\n }\n\n let path = `/dealers/${this.props.dealerId}/loans/1`\n if (type === 'transactions') {\n path = `/dealers/${this.props.dealerId}/funded_deals/1`\n }\n if (type === 'payoff') {\n path = `/dealers/payoff_quote`\n }\n history.replaceState(null, null, path);\n }\n\n render() {\n let view_mode = this.state.viewMode\n let main_view = \"\"\n if (view_mode === 'transactions') {\n main_view = (\n \n )\n } else if (view_mode === 'payoff') {\n main_view = (\n \n )\n } else {\n main_view = (\n \n this.setState({firstLoad: false})} page={this.props.page} offset={this.props.offset} dealerId={this.props.dealerId} />\n \n )\n }\n\n return (\n
    \n {this.renderTabs()}\n
    \n {main_view}\n
    \n
    \n )\n }\n\n renderRightView() {\n const { currentUser, userEmail, repName } = this.props\n\n return (\n {$(document).trigger('show:tutorial_loan_tracker'), Modern.handleAnalytics('watch-tutorial', { currentUser, userEmail, repName })}}>\n \n Watch Tutorial\n \n )\n }\n\n renderTabs() {\n return (\n \n this.viewMode('loans')} selected={this.state.viewMode === 'loans'}>All\n this.viewMode('transactions')} selected={this.state.viewMode === 'transactions'}>Funded Deals\n this.viewMode('payoff')} selected={this.state.viewMode === 'payoff'}>Payoff Quotes\n \n )\n }\n}\n\nexport default DealerTabs;\n","import React, { useState } from 'react';\nimport LBModal from '../modules/LBModal.js';\n\nconst LoanTrackerTutorial = () => {\n const watched = () => {\n if (localStorage['watched_loan_tracker_tutorial'] == 'false' || !localStorage['watched_loan_tracker_tutorial']) {\n return false\n }\n\n return true\n }\n\n const video_link = 'https://www.loom.com/embed/a3043df21fbe4d9e9a38240e2ff710ef'\n const [showModal, setShowModal] = useState(!watched())\n\n $(document).on('show:tutorial_loan_tracker', function() {\n setShowModal(true)\n })\n\n\n const onClose = () => {\n setShowModal(false)\n localStorage['watched_loan_tracker_tutorial'] = true\n }\n\n const renderYoutubeVideo = () => {\n return (\n \n )\n }\n\n return (\n \n
    \n
    \n
    \n Introducing Application Tracker\n
    \n \n
    \n
    \n {renderYoutubeVideo()}\n
    \n
    \n \n
    \n
    \n
    \n );\n};\n\nexport default LoanTrackerTutorial;\n","\"use strict\";\n\nfunction transmitter() {\n var subscriptions = [];\n var nowDispatching = false;\n var toUnsubscribe = {};\n\n var unsubscribe = function unsubscribe(onChange) {\n var id = subscriptions.indexOf(onChange);\n if (id < 0) return;\n\n if (nowDispatching) {\n toUnsubscribe[id] = onChange;\n return;\n }\n\n subscriptions.splice(id, 1);\n };\n\n var subscribe = function subscribe(onChange) {\n var id = subscriptions.push(onChange);\n\n var dispose = function dispose() {\n return unsubscribe(onChange);\n };\n\n return {\n dispose: dispose\n };\n };\n\n var publish = function publish() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n nowDispatching = true;\n\n try {\n subscriptions.forEach(function (subscription, id) {\n return toUnsubscribe[id] || subscription.apply(undefined, args);\n });\n } finally {\n nowDispatching = false;\n Object.keys(toUnsubscribe).forEach(function (id) {\n return unsubscribe(toUnsubscribe[id]);\n });\n toUnsubscribe = {};\n }\n };\n\n return {\n publish: publish,\n subscribe: subscribe,\n $subscriptions: subscriptions\n };\n}\n\nmodule.exports = transmitter;","var map = {\n\t\"./announcement/founders\": 439,\n\t\"./announcement/founders.jpg\": 439,\n\t\"./application_list\": 440,\n\t\"./application_list.svg\": 440,\n\t\"./background/about\": 441,\n\t\"./background/about.jpg\": 441,\n\t\"./background/contact\": 442,\n\t\"./background/contact.jpg\": 442,\n\t\"./background/hero\": 443,\n\t\"./background/hero.jpg\": 443,\n\t\"./background/hex_bg\": 444,\n\t\"./background/hex_bg.jpg\": 444,\n\t\"./background/road\": 445,\n\t\"./background/road.jpg\": 445,\n\t\"./background/support\": 446,\n\t\"./background/support.jpg\": 446,\n\t\"./betterdata/@1x\": 447,\n\t\"./betterdata/@1x.svg\": 447,\n\t\"./betterdata/asphalt\": 448,\n\t\"./betterdata/asphalt.png\": 448,\n\t\"./betterdata/asphalt2\": 449,\n\t\"./betterdata/asphalt2.png\": 449,\n\t\"./betterdata/asphalt3\": 450,\n\t\"./betterdata/asphalt3.png\": 450,\n\t\"./betterdata/asphalt4\": 451,\n\t\"./betterdata/asphalt4.png\": 451,\n\t\"./betterdata/asphalt_tile\": 452,\n\t\"./betterdata/asphalt_tile.png\": 452,\n\t\"./betterdata/car\": 453,\n\t\"./betterdata/car.png\": 453,\n\t\"./betterdata/graph\": 454,\n\t\"./betterdata/graph.png\": 454,\n\t\"./car_offer\": 455,\n\t\"./car_offer.svg\": 455,\n\t\"./careers__benefit-1\": 456,\n\t\"./careers__benefit-1.svg\": 456,\n\t\"./careers__benefit-2\": 457,\n\t\"./careers__benefit-2.svg\": 457,\n\t\"./careers__benefit-3\": 458,\n\t\"./careers__benefit-3.svg\": 458,\n\t\"./careers__benefit-4\": 459,\n\t\"./careers__benefit-4.svg\": 459,\n\t\"./careers__benefit-5\": 460,\n\t\"./careers__benefit-5.svg\": 460,\n\t\"./careers__benefit-6\": 461,\n\t\"./careers__benefit-6.svg\": 461,\n\t\"./careers__benefit-7\": 462,\n\t\"./careers__benefit-7.svg\": 462,\n\t\"./careers__benefit-8\": 463,\n\t\"./careers__benefit-8.svg\": 463,\n\t\"./careers__hero\": 388,\n\t\"./careers__hero.png\": 388,\n\t\"./careers__hero.png.webp\": 717,\n\t\"./careers__quote--alex\": 389,\n\t\"./careers__quote--alex.jpg\": 389,\n\t\"./careers__quote--alex.jpg.webp\": 718,\n\t\"./careers__quote--anthony\": 390,\n\t\"./careers__quote--anthony.jpg\": 390,\n\t\"./careers__quote--anthony.jpg.webp\": 719,\n\t\"./careers__quote--gaurang\": 391,\n\t\"./careers__quote--gaurang.jpg\": 391,\n\t\"./careers__quote--gaurang.jpg.webp\": 720,\n\t\"./careers__quote--maria\": 392,\n\t\"./careers__quote--maria.jpg\": 392,\n\t\"./careers__quote--maria.jpg.webp\": 721,\n\t\"./careers__quote--noelle\": 393,\n\t\"./careers__quote--noelle.jpg\": 393,\n\t\"./careers__quote--noelle.jpg.webp\": 722,\n\t\"./careers__quote--pranjal\": 394,\n\t\"./careers__quote--pranjal.jpg\": 394,\n\t\"./careers__quote--pranjal.jpg.webp\": 723,\n\t\"./careers__quote--wai-kin\": 395,\n\t\"./careers__quote--wai-kin.jpg\": 395,\n\t\"./careers__quote--wai-kin.jpg.webp\": 724,\n\t\"./careers__team-1\": 396,\n\t\"./careers__team-1.jpg\": 396,\n\t\"./careers__team-1.jpg.webp\": 725,\n\t\"./careers__team-2\": 397,\n\t\"./careers__team-2.jpg\": 397,\n\t\"./careers__team-2.jpg.webp\": 726,\n\t\"./careers__team-3\": 398,\n\t\"./careers__team-3.jpg\": 398,\n\t\"./careers__team-3.jpg.webp\": 727,\n\t\"./careers__team-4\": 399,\n\t\"./careers__team-4.jpg\": 399,\n\t\"./careers__team-4.jpg.webp\": 728,\n\t\"./careers__team-5\": 400,\n\t\"./careers__team-5.jpg\": 400,\n\t\"./careers__team-5.jpg.webp\": 729,\n\t\"./careers__value-1\": 464,\n\t\"./careers__value-1.svg\": 464,\n\t\"./careers__value-2\": 465,\n\t\"./careers__value-2.svg\": 465,\n\t\"./careers__value-3\": 466,\n\t\"./careers__value-3.svg\": 466,\n\t\"./careers__value-4\": 467,\n\t\"./careers__value-4.svg\": 467,\n\t\"./careers__value-5\": 468,\n\t\"./careers__value-5.svg\": 468,\n\t\"./comodo_secure_113x59_transp\": 469,\n\t\"./comodo_secure_113x59_transp.png\": 469,\n\t\"./contact__address\": 470,\n\t\"./contact__address.svg\": 470,\n\t\"./contact__email\": 471,\n\t\"./contact__email.svg\": 471,\n\t\"./contact__hero\": 472,\n\t\"./contact__hero.png\": 472,\n\t\"./contact__phone\": 473,\n\t\"./contact__phone.svg\": 473,\n\t\"./dealers-landing-hero\": 474,\n\t\"./dealers-landing-hero.jpg\": 474,\n\t\"./dealers__baha-auto\": 401,\n\t\"./dealers__baha-auto.jpg\": 401,\n\t\"./dealers__baha-auto.jpg.webp\": 730,\n\t\"./dealers__chevrolet\": 402,\n\t\"./dealers__chevrolet.jpg\": 402,\n\t\"./dealers__chevrolet.jpg.webp\": 731,\n\t\"./dealers__ford\": 403,\n\t\"./dealers__ford.jpg\": 403,\n\t\"./dealers__ford.jpg.webp\": 732,\n\t\"./dealers__hero\": 404,\n\t\"./dealers__hero.png\": 404,\n\t\"./dealers__hero.png.webp\": 733,\n\t\"./dealers__nissan\": 405,\n\t\"./dealers__nissan.jpg\": 405,\n\t\"./dealers__nissan.jpg.webp\": 734,\n\t\"./dealers__step-1\": 406,\n\t\"./dealers__step-1.png\": 406,\n\t\"./dealers__step-1.png.webp\": 735,\n\t\"./dealers__step-2\": 407,\n\t\"./dealers__step-2.png\": 407,\n\t\"./dealers__step-2.png.webp\": 736,\n\t\"./dealers__step-3\": 408,\n\t\"./dealers__step-3.png\": 408,\n\t\"./dealers__step-3.png.webp\": 737,\n\t\"./dealers__toyota\": 409,\n\t\"./dealers__toyota.jpg\": 409,\n\t\"./dealers__toyota.jpg.webp\": 738,\n\t\"./docs_tour/upload_1\": 296,\n\t\"./docs_tour/upload_1.gif\": 296,\n\t\"./docs_tour/upload_2\": 297,\n\t\"./docs_tour/upload_2.png\": 297,\n\t\"./edit_pencil\": 475,\n\t\"./edit_pencil.png\": 475,\n\t\"./edit_pencil_color\": 476,\n\t\"./edit_pencil_color.png\": 476,\n\t\"./emoji__balloon\": 410,\n\t\"./emoji__balloon.png\": 410,\n\t\"./emoji__balloon.png.webp\": 739,\n\t\"./emoji__female-dancer\": 411,\n\t\"./emoji__female-dancer.png\": 411,\n\t\"./emoji__female-dancer.png.webp\": 740,\n\t\"./emoji__male-dancer\": 412,\n\t\"./emoji__male-dancer.png\": 412,\n\t\"./emoji__male-dancer.png.webp\": 741,\n\t\"./emoji__party\": 413,\n\t\"./emoji__party.png\": 413,\n\t\"./emoji__party.png.webp\": 742,\n\t\"./emoji__sparkles\": 414,\n\t\"./emoji__sparkles.png\": 414,\n\t\"./emoji__sparkles.png.webp\": 743,\n\t\"./faq__hero\": 415,\n\t\"./faq__hero.png\": 415,\n\t\"./faq__hero.png.webp\": 744,\n\t\"./favicon\": 477,\n\t\"./favicon copy\": 478,\n\t\"./favicon copy.png\": 478,\n\t\"./favicon.png\": 477,\n\t\"./file_folders\": 479,\n\t\"./file_folders.png\": 479,\n\t\"./founders\": 480,\n\t\"./founders.jpg\": 480,\n\t\"./general/avatar\": 481,\n\t\"./general/avatar.png\": 481,\n\t\"./general/blank\": 482,\n\t\"./general/blank.png\": 482,\n\t\"./general/check\": 483,\n\t\"./general/check.svg\": 483,\n\t\"./general/error\": 484,\n\t\"./general/error.png\": 484,\n\t\"./general/icon_info\": 485,\n\t\"./general/icon_info.png\": 485,\n\t\"./general/icon_invalid\": 486,\n\t\"./general/icon_invalid.png\": 486,\n\t\"./general/icon_success\": 487,\n\t\"./general/icon_success.png\": 487,\n\t\"./general/icon_valid\": 488,\n\t\"./general/icon_valid.png\": 488,\n\t\"./general/lendbuzz_logo_color\": 416,\n\t\"./general/lendbuzz_logo_color.png\": 416,\n\t\"./general/lendbuzz_logo_color.svg\": 745,\n\t\"./general/lendbuzz_logo_white\": 417,\n\t\"./general/lendbuzz_logo_white.png\": 417,\n\t\"./general/lendbuzz_logo_white.svg\": 746,\n\t\"./general/new_lendbuzz_logo\": 418,\n\t\"./general/new_lendbuzz_logo.png\": 418,\n\t\"./general/new_lendbuzz_logo.png.webp\": 747,\n\t\"./general/norton\": 489,\n\t\"./general/norton.png\": 489,\n\t\"./general/ribbonbg\": 490,\n\t\"./general/ribbonbg.png\": 490,\n\t\"./general/selected\": 491,\n\t\"./general/selected.png\": 491,\n\t\"./general/selected_large\": 492,\n\t\"./general/selected_large.png\": 492,\n\t\"./general/steps1\": 493,\n\t\"./general/steps1.png\": 493,\n\t\"./general/stepsdone\": 419,\n\t\"./general/stepsdone.png\": 419,\n\t\"./general/stepsdone.svg\": 748,\n\t\"./general/stepsline\": 420,\n\t\"./general/stepsline.png\": 420,\n\t\"./general/stepsline.svg\": 749,\n\t\"./general/stepsmiss\": 421,\n\t\"./general/stepsmiss.png\": 421,\n\t\"./general/stepsmiss.svg\": 750,\n\t\"./general/unselected\": 494,\n\t\"./general/unselected.png\": 494,\n\t\"./general/warning\": 495,\n\t\"./general/warning.png\": 495,\n\t\"./gps/gps_best_practices\": 311,\n\t\"./gps/gps_best_practices.jpg\": 311,\n\t\"./gps/gps_located\": 496,\n\t\"./gps/gps_located.png\": 496,\n\t\"./gps/question_mark\": 497,\n\t\"./gps/question_mark.png\": 497,\n\t\"./home_bg\": 498,\n\t\"./home_bg.jpg\": 498,\n\t\"./homepage__ai-1\": 499,\n\t\"./homepage__ai-1.svg\": 499,\n\t\"./homepage__ai-2\": 500,\n\t\"./homepage__ai-2.svg\": 500,\n\t\"./homepage__ai-3\": 501,\n\t\"./homepage__ai-3.svg\": 501,\n\t\"./homepage__carousel-star\": 301,\n\t\"./homepage__carousel-star.png\": 301,\n\t\"./homepage__carousel-star.png.webp\": 751,\n\t\"./homepage__hero\": 422,\n\t\"./homepage__hero.png\": 422,\n\t\"./homepage__hero.png.webp\": 752,\n\t\"./homepage__star\": 298,\n\t\"./homepage__star-75\": 299,\n\t\"./homepage__star-75.png\": 299,\n\t\"./homepage__star-75.png.webp\": 753,\n\t\"./homepage__star.png\": 298,\n\t\"./homepage__star.png.webp\": 754,\n\t\"./homepage__step-1\": 423,\n\t\"./homepage__step-1.png\": 423,\n\t\"./homepage__step-1.png.webp\": 755,\n\t\"./homepage__step-2\": 424,\n\t\"./homepage__step-2.png\": 424,\n\t\"./homepage__step-2.png.webp\": 756,\n\t\"./homepage__step-3\": 425,\n\t\"./homepage__step-3.png\": 425,\n\t\"./homepage__step-3.png.webp\": 757,\n\t\"./homepage__why-1\": 502,\n\t\"./homepage__why-1.svg\": 502,\n\t\"./homepage__why-2\": 503,\n\t\"./homepage__why-2.svg\": 503,\n\t\"./homepage__why-3\": 504,\n\t\"./homepage__why-3.svg\": 504,\n\t\"./howitworks/homepage_arrow_down\": 505,\n\t\"./howitworks/homepage_arrow_down.svg\": 505,\n\t\"./howitworks/lines\": 506,\n\t\"./howitworks/lines.png\": 506,\n\t\"./icon__chevron\": 507,\n\t\"./icon__chevron.svg\": 507,\n\t\"./icon__close\": 508,\n\t\"./icon__close.svg\": 508,\n\t\"./icon__dropdown\": 509,\n\t\"./icon__dropdown.svg\": 509,\n\t\"./icon__email\": 510,\n\t\"./icon__email.svg\": 510,\n\t\"./icon__google\": 300,\n\t\"./icon__google.png\": 300,\n\t\"./icon__google.png.webp\": 758,\n\t\"./icon__handshake\": 312,\n\t\"./icon__handshake.svg\": 312,\n\t\"./icon__phone\": 511,\n\t\"./icon__phone.svg\": 511,\n\t\"./icon__signin-arrow\": 512,\n\t\"./icon__signin-arrow.svg\": 512,\n\t\"./icon__sparkle\": 513,\n\t\"./icon__sparkle.svg\": 513,\n\t\"./icons/external-link\": 514,\n\t\"./icons/external-link.svg\": 514,\n\t\"./icons/facebook\": 515,\n\t\"./icons/facebook.png\": 515,\n\t\"./icons/instagram\": 516,\n\t\"./icons/instagram.png\": 516,\n\t\"./icons/linkedin\": 517,\n\t\"./icons/linkedin.png\": 517,\n\t\"./icons/send\": 518,\n\t\"./icons/send.svg\": 518,\n\t\"./icons/twitter\": 519,\n\t\"./icons/twitter.png\": 519,\n\t\"./icons/upload_cloud\": 97,\n\t\"./icons/upload_cloud.png\": 97,\n\t\"./icons/wechat\": 520,\n\t\"./icons/wechat.png\": 520,\n\t\"./in-verification\": 521,\n\t\"./in-verification.png\": 521,\n\t\"./landings/bmw_3series\": 522,\n\t\"./landings/bmw_3series.png\": 522,\n\t\"./landings/bmw_3series2\": 523,\n\t\"./landings/bmw_3series2.png\": 523,\n\t\"./landings/body-style-icon\": 524,\n\t\"./landings/body-style-icon.png\": 524,\n\t\"./landings/brand-logo\": 525,\n\t\"./landings/brand-logo.png\": 525,\n\t\"./landings/color-selected-item\": 526,\n\t\"./landings/color-selected-item.png\": 526,\n\t\"./landings/down-arrow\": 527,\n\t\"./landings/down-arrow.png\": 527,\n\t\"./landings/header-slider\": 528,\n\t\"./landings/header-slider.png\": 528,\n\t\"./landings/icon-alert\": 529,\n\t\"./landings/icon-alert.png\": 529,\n\t\"./landings/icon-engine\": 530,\n\t\"./landings/icon-engine.png\": 530,\n\t\"./landings/icon-mail\": 531,\n\t\"./landings/icon-mail.png\": 531,\n\t\"./landings/icon-phone\": 532,\n\t\"./landings/icon-phone.png\": 532,\n\t\"./landings/icon-suv\": 533,\n\t\"./landings/icon-suv.png\": 533,\n\t\"./landings/icon-toyota\": 534,\n\t\"./landings/icon-toyota.png\": 534,\n\t\"./landings/icon-transmission\": 535,\n\t\"./landings/icon-transmission.png\": 535,\n\t\"./landings/icon-trim\": 536,\n\t\"./landings/icon-trim.png\": 536,\n\t\"./landings/icon-year\": 537,\n\t\"./landings/icon-year.png\": 537,\n\t\"./landings/left-arrow\": 538,\n\t\"./landings/left-arrow.png\": 538,\n\t\"./landings/left-small-arrow\": 539,\n\t\"./landings/left-small-arrow.png\": 539,\n\t\"./landings/logo\": 540,\n\t\"./landings/logo.png\": 540,\n\t\"./landings/mitsubishi_outlander\": 541,\n\t\"./landings/mitsubishi_outlander.png\": 541,\n\t\"./landings/mitsubishi_outlander2\": 542,\n\t\"./landings/mitsubishi_outlander2.png\": 542,\n\t\"./landings/right-arrow\": 543,\n\t\"./landings/right-arrow.png\": 543,\n\t\"./landings/right-small-arrow\": 544,\n\t\"./landings/right-small-arrow.png\": 544,\n\t\"./landings/select-arrow\": 545,\n\t\"./landings/select-arrow.png\": 545,\n\t\"./landings/showcase-arrow\": 546,\n\t\"./landings/showcase-arrow.png\": 546,\n\t\"./landings/showcase-bar\": 547,\n\t\"./landings/showcase-bar-bg\": 548,\n\t\"./landings/showcase-bar-bg.jpg\": 548,\n\t\"./landings/showcase-bar.jpg\": 547,\n\t\"./landings/showcase-bg\": 549,\n\t\"./landings/showcase-bg.jpg\": 549,\n\t\"./landings/showcase-dual-right-bg\": 550,\n\t\"./landings/showcase-dual-right-bg.jpg\": 550,\n\t\"./landings/toyota_rav4\": 551,\n\t\"./landings/toyota_rav4.png\": 551,\n\t\"./landings/type-car-slide\": 552,\n\t\"./landings/type-car-slide.png\": 552,\n\t\"./landings/up-arrow\": 553,\n\t\"./landings/up-arrow.png\": 553,\n\t\"./landings/year-icon\": 554,\n\t\"./landings/year-icon.png\": 554,\n\t\"./lend_buzz_logo\": 555,\n\t\"./lend_buzz_logo.png\": 555,\n\t\"./lendbuzz_logo_color\": 556,\n\t\"./lendbuzz_logo_color.svg\": 556,\n\t\"./lendbuzz_logo_dark\": 557,\n\t\"./lendbuzz_logo_dark.png\": 557,\n\t\"./lendbuzz_logo_on_white\": 558,\n\t\"./lendbuzz_logo_on_white.jpg\": 558,\n\t\"./lendbuzz_logo_white\": 559,\n\t\"./lendbuzz_logo_white.png\": 559,\n\t\"./logo__83north\": 560,\n\t\"./logo__83north.png\": 560,\n\t\"./logo__bhi\": 561,\n\t\"./logo__bhi.png\": 561,\n\t\"./logo__connectone\": 562,\n\t\"./logo__connectone.png\": 562,\n\t\"./logo__dealer-track\": 563,\n\t\"./logo__dealer-track.png\": 563,\n\t\"./logo__goldman-sachs\": 564,\n\t\"./logo__goldman-sachs.png\": 564,\n\t\"./logo__idb\": 565,\n\t\"./logo__idb.png\": 565,\n\t\"./logo__mufg\": 566,\n\t\"./logo__mufg.png\": 566,\n\t\"./logo__route-one\": 567,\n\t\"./logo__route-one.png\": 567,\n\t\"./logo__viola\": 568,\n\t\"./logo__viola.png\": 568,\n\t\"./logo__wellington\": 569,\n\t\"./logo__wellington.png\": 569,\n\t\"./norton\": 570,\n\t\"./norton.png\": 570,\n\t\"./onboarding/back\": 571,\n\t\"./onboarding/back.png\": 571,\n\t\"./onboarding/dropdown\": 572,\n\t\"./onboarding/dropdown.png\": 572,\n\t\"./onboarding/page1/2015-Ford-F-150-XLT\": 573,\n\t\"./onboarding/page1/2015-Ford-F-150-XLT.jpg\": 573,\n\t\"./onboarding/page1/2015-Toyota-Camry-SE-front-three-quarter-03\": 574,\n\t\"./onboarding/page1/2015-Toyota-Camry-SE-front-three-quarter-03.png\": 574,\n\t\"./onboarding/page1/2015-s-series-gran-turismo\": 575,\n\t\"./onboarding/page1/2015-s-series-gran-turismo.png\": 575,\n\t\"./onboarding/page1/2018-audi-a7-in-depth-model-photo-s-original\": 576,\n\t\"./onboarding/page1/2018-audi-a7-in-depth-model-photo-s-original.png\": 576,\n\t\"./onboarding/page1/2018-tesla-model-3\": 577,\n\t\"./onboarding/page1/2018-tesla-model-3.png\": 577,\n\t\"./onboarding/page1/Chevrolet-Camaro\": 578,\n\t\"./onboarding/page1/Chevrolet-Camaro.jpg\": 578,\n\t\"./onboarding/page1/Overlay\": 579,\n\t\"./onboarding/page1/Overlay-mobile\": 580,\n\t\"./onboarding/page1/Overlay-mobile.png\": 580,\n\t\"./onboarding/page1/Overlay.png\": 579,\n\t\"./onboarding/page1/clock\": 581,\n\t\"./onboarding/page1/clock.png\": 581,\n\t\"./onboarding/page1/envelope\": 582,\n\t\"./onboarding/page1/envelope.png\": 582,\n\t\"./onboarding/page1/lendbuzz_logo_white\": 583,\n\t\"./onboarding/page1/lendbuzz_logo_white.png\": 583,\n\t\"./onboarding/page1/money-bag\": 584,\n\t\"./onboarding/page1/money-bag.svg\": 584,\n\t\"./onboarding/page2/help\": 585,\n\t\"./onboarding/page2/help.png\": 585,\n\t\"./onboarding/page4/browse\": 586,\n\t\"./onboarding/page4/browse.png\": 586,\n\t\"./onboarding/page4/camera\": 587,\n\t\"./onboarding/page4/camera.png\": 587,\n\t\"./onboarding/page4/jpg-label\": 588,\n\t\"./onboarding/page4/jpg-label.png\": 588,\n\t\"./onboarding/page4/pdf-label\": 589,\n\t\"./onboarding/page4/pdf-label.png\": 589,\n\t\"./onboarding/page4/png-label\": 590,\n\t\"./onboarding/page4/png-label.png\": 590,\n\t\"./onboarding/page4/upload-download\": 591,\n\t\"./onboarding/page4/upload-download.png\": 591,\n\t\"./onboarding/page6/handshake\": 592,\n\t\"./onboarding/page6/handshake.png\": 592,\n\t\"./pending_brown\": 593,\n\t\"./pending_brown.svg\": 593,\n\t\"./receipt\": 594,\n\t\"./receipt.png\": 594,\n\t\"./singlepage/carfax-logo\": 595,\n\t\"./singlepage/carfax-logo.png\": 595,\n\t\"./singlepage/fetch\": 596,\n\t\"./singlepage/fetch.png\": 596,\n\t\"./singlepage/logo-nada-used\": 597,\n\t\"./singlepage/logo-nada-used.png\": 597,\n\t\"./singlepage/navigate\": 598,\n\t\"./singlepage/navigate.png\": 598,\n\t\"./site-footer__facebook\": 599,\n\t\"./site-footer__facebook.svg\": 599,\n\t\"./site-footer__instagram\": 600,\n\t\"./site-footer__instagram.svg\": 600,\n\t\"./site-footer__linkedin\": 601,\n\t\"./site-footer__linkedin.svg\": 601,\n\t\"./site-footer__logo\": 602,\n\t\"./site-footer__logo.svg\": 602,\n\t\"./site-footer__twitter\": 603,\n\t\"./site-footer__twitter.svg\": 603,\n\t\"./site-header__logo\": 309,\n\t\"./site-header__logo.svg\": 309,\n\t\"./testimonials/tablet-white-triangle-bg\": 604,\n\t\"./testimonials/tablet-white-triangle-bg.png\": 604,\n\t\"./testimonials/testimonial\": 605,\n\t\"./testimonials/testimonial-image-1\": 606,\n\t\"./testimonials/testimonial-image-1.png\": 606,\n\t\"./testimonials/testimonial-image-2\": 607,\n\t\"./testimonials/testimonial-image-2.png\": 607,\n\t\"./testimonials/testimonial-image-3\": 608,\n\t\"./testimonials/testimonial-image-3.png\": 608,\n\t\"./testimonials/testimonial.jpg\": 605,\n\t\"./testimonials/testimonials-green-bg\": 609,\n\t\"./testimonials/testimonials-green-bg.png\": 609,\n\t\"./testimonials/testimonials-mobile-green-bg\": 610,\n\t\"./testimonials/testimonials-mobile-green-bg.png\": 610,\n\t\"./testimonials/testimonials-slider-arrows\": 611,\n\t\"./testimonials/testimonials-slider-arrows.png\": 611,\n\t\"./testimonials/testimonials-tablet-green-bg\": 612,\n\t\"./testimonials/testimonials-tablet-green-bg.png\": 612,\n\t\"./testimonials/white-triangle-bg\": 613,\n\t\"./testimonials/white-triangle-bg.png\": 613,\n\t\"./tooltip\": 614,\n\t\"./tooltip.svg\": 614,\n\t\"./underline--lg\": 615,\n\t\"./underline--lg.svg\": 615,\n\t\"./underline--md\": 616,\n\t\"./underline--md.svg\": 616,\n\t\"./underline--sm\": 617,\n\t\"./underline--sm.svg\": 617,\n\t\"./via_banner_v3\": 618,\n\t\"./via_banner_v3.jpg\": 618,\n\t\"./wechat_qr_code\": 619,\n\t\"./wechat_qr_code.png\": 619,\n\t\"./why/credit_score\": 620,\n\t\"./why/credit_score.svg\": 620,\n\t\"./why/low_rates\": 621,\n\t\"./why/low_rates.svg\": 621,\n\t\"./why/quick_easy\": 622,\n\t\"./why/quick_easy.svg\": 622,\n\t\"./widget/lock\": 623,\n\t\"./widget/lock.svg\": 623,\n\t\"./widget/tooltip\": 426,\n\t\"./widget/tooltip.png\": 426,\n\t\"./widget/tooltip.svg\": 759\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 438;","module.exports = __webpack_public_path__ + \"media/announcement/founders-242628e1.jpg\";","module.exports = __webpack_public_path__ + \"media/images/application_list-7489f76a.svg\";","module.exports = __webpack_public_path__ + \"media/background/about-da2c1a90.jpg\";","module.exports = __webpack_public_path__ + \"media/background/contact-6ecf36d6.jpg\";","module.exports = __webpack_public_path__ + \"media/background/hero-2769c808.jpg\";","module.exports = __webpack_public_path__ + \"media/background/hex_bg-69450494.jpg\";","module.exports = __webpack_public_path__ + \"media/background/road-1d904a33.jpg\";","module.exports = __webpack_public_path__ + \"media/background/support-c4034aa0.jpg\";","module.exports = __webpack_public_path__ + \"media/betterdata/@1x-a8865eaa.svg\";","module.exports = __webpack_public_path__ + \"media/betterdata/asphalt-a66b97ee.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/asphalt2-71fbf42d.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/asphalt3-ac87af7b.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/asphalt4-403863d7.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/asphalt_tile-ac87af7b.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/car-0235fc47.png\";","module.exports = __webpack_public_path__ + \"media/betterdata/graph-d8a04dd2.png\";","module.exports = __webpack_public_path__ + \"media/images/car_offer-d628053f.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-1-084d6ab9.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-2-5360e0ba.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-3-8d8843a7.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-4-ae0d3b57.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-5-7408c7b6.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-6-a56e0270.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-7-d8a733e4.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__benefit-8-92236bd4.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__value-1-a66375fb.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__value-2-e38ce581.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__value-3-b1803e52.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__value-4-f7d3044f.svg\";","module.exports = __webpack_public_path__ + \"media/images/careers__value-5-99776ba8.svg\";","module.exports = __webpack_public_path__ + \"media/images/comodo_secure_113x59_transp-03f80413.png\";","module.exports = __webpack_public_path__ + \"media/images/contact__address-e9d82f5d.svg\";","module.exports = __webpack_public_path__ + \"media/images/contact__email-061c0c9a.svg\";","module.exports = __webpack_public_path__ + \"media/images/contact__hero-bf8de463.png\";","module.exports = __webpack_public_path__ + \"media/images/contact__phone-ada32d5e.svg\";","module.exports = __webpack_public_path__ + \"media/images/dealers-landing-hero-835d6f65.jpg\";","module.exports = __webpack_public_path__ + \"media/images/edit_pencil-3b885da1.png\";","module.exports = __webpack_public_path__ + \"media/images/edit_pencil_color-27604317.png\";","module.exports = __webpack_public_path__ + \"media/images/favicon-cf9c0a53.png\";","module.exports = __webpack_public_path__ + \"media/images/favicon copy-77fb6405.png\";","module.exports = __webpack_public_path__ + \"media/images/file_folders-f8b4e7b4.png\";","module.exports = __webpack_public_path__ + \"media/images/founders-d682e539.jpg\";","module.exports = __webpack_public_path__ + \"media/general/avatar-2bf7c520.png\";","module.exports = __webpack_public_path__ + \"media/general/blank-3946b56d.png\";","module.exports = __webpack_public_path__ + \"media/general/check-dc76841a.svg\";","module.exports = __webpack_public_path__ + \"media/general/error-2816dd55.png\";","module.exports = __webpack_public_path__ + \"media/general/icon_info-dc0b064e.png\";","module.exports = __webpack_public_path__ + \"media/general/icon_invalid-fded3073.png\";","module.exports = __webpack_public_path__ + \"media/general/icon_success-cf7b5097.png\";","module.exports = __webpack_public_path__ + \"media/general/icon_valid-791a6f10.png\";","module.exports = __webpack_public_path__ + \"media/general/norton-0d8a8626.png\";","module.exports = __webpack_public_path__ + \"media/general/ribbonbg-335d38e4.png\";","module.exports = __webpack_public_path__ + \"media/general/selected-dee72a4b.png\";","module.exports = __webpack_public_path__ + \"media/general/selected_large-5c563f15.png\";","module.exports = __webpack_public_path__ + \"media/general/steps1-a2828fb6.png\";","module.exports = __webpack_public_path__ + \"media/general/unselected-fbda7f22.png\";","module.exports = __webpack_public_path__ + \"media/general/warning-e36b6ebc.png\";","module.exports = __webpack_public_path__ + \"media/gps/gps_located-2c8c011d.png\";","module.exports = __webpack_public_path__ + \"media/gps/question_mark-ab4ba730.png\";","module.exports = __webpack_public_path__ + \"media/images/home_bg-652588eb.jpg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__ai-1-c120786c.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__ai-2-750d6d5b.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__ai-3-70ece743.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__why-1-dca0de1b.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__why-2-d105817d.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__why-3-07942f42.svg\";","module.exports = __webpack_public_path__ + \"media/howitworks/homepage_arrow_down-9410fdbf.svg\";","module.exports = __webpack_public_path__ + \"media/howitworks/lines-9baaa8f7.png\";","module.exports = __webpack_public_path__ + \"media/images/icon__chevron-51fa77fb.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__close-ee98bb61.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__dropdown-e9dbbdf3.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__email-c0783177.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__phone-3bcd808a.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__signin-arrow-6db71848.svg\";","module.exports = __webpack_public_path__ + \"media/images/icon__sparkle-9fb2bda9.svg\";","module.exports = __webpack_public_path__ + \"media/icons/external-link-e763596d.svg\";","module.exports = __webpack_public_path__ + \"media/icons/facebook-025b3e71.png\";","module.exports = __webpack_public_path__ + \"media/icons/instagram-04307ea4.png\";","module.exports = __webpack_public_path__ + \"media/icons/linkedin-bff7e63f.png\";","module.exports = __webpack_public_path__ + \"media/icons/send-ab6a1852.svg\";","module.exports = __webpack_public_path__ + \"media/icons/twitter-d97227b7.png\";","module.exports = __webpack_public_path__ + \"media/icons/wechat-84a78001.png\";","module.exports = __webpack_public_path__ + \"media/images/in-verification-cd5cf26f.png\";","module.exports = __webpack_public_path__ + \"media/landings/bmw_3series-e6a269d8.png\";","module.exports = __webpack_public_path__ + \"media/landings/bmw_3series2-abbab8ad.png\";","module.exports = __webpack_public_path__ + \"media/landings/body-style-icon-a96ae366.png\";","module.exports = __webpack_public_path__ + \"media/landings/brand-logo-57fc3acc.png\";","module.exports = __webpack_public_path__ + \"media/landings/color-selected-item-d374b246.png\";","module.exports = __webpack_public_path__ + \"media/landings/down-arrow-3d3f702e.png\";","module.exports = __webpack_public_path__ + \"media/landings/header-slider-18631e82.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-alert-c528c2c0.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-engine-410d3653.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-mail-8a9c7ad4.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-phone-f65ca0fa.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-suv-81fb0afa.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-toyota-d7e47ad8.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-transmission-5da91ebd.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-trim-5e4c94f1.png\";","module.exports = __webpack_public_path__ + \"media/landings/icon-year-a6c82884.png\";","module.exports = __webpack_public_path__ + \"media/landings/left-arrow-c978285e.png\";","module.exports = __webpack_public_path__ + \"media/landings/left-small-arrow-643f0348.png\";","module.exports = __webpack_public_path__ + \"media/landings/logo-a16d5753.png\";","module.exports = __webpack_public_path__ + \"media/landings/mitsubishi_outlander-539b10c1.png\";","module.exports = __webpack_public_path__ + \"media/landings/mitsubishi_outlander2-68f9f654.png\";","module.exports = __webpack_public_path__ + \"media/landings/right-arrow-25dc08e2.png\";","module.exports = __webpack_public_path__ + \"media/landings/right-small-arrow-64d6895b.png\";","module.exports = __webpack_public_path__ + \"media/landings/select-arrow-f118412b.png\";","module.exports = __webpack_public_path__ + \"media/landings/showcase-arrow-b703a788.png\";","module.exports = __webpack_public_path__ + \"media/landings/showcase-bar-5ea4b72a.jpg\";","module.exports = __webpack_public_path__ + \"media/landings/showcase-bar-bg-df74f4bd.jpg\";","module.exports = __webpack_public_path__ + \"media/landings/showcase-bg-fa0a1526.jpg\";","module.exports = __webpack_public_path__ + \"media/landings/showcase-dual-right-bg-41768dbd.jpg\";","module.exports = __webpack_public_path__ + \"media/landings/toyota_rav4-b771ec22.png\";","module.exports = __webpack_public_path__ + \"media/landings/type-car-slide-09650d33.png\";","module.exports = __webpack_public_path__ + \"media/landings/up-arrow-3a350488.png\";","module.exports = __webpack_public_path__ + \"media/landings/year-icon-d6aef25f.png\";","module.exports = __webpack_public_path__ + \"media/images/lend_buzz_logo-6df86927.png\";","module.exports = __webpack_public_path__ + \"media/images/lendbuzz_logo_color-1eef97ba.svg\";","module.exports = __webpack_public_path__ + \"media/images/lendbuzz_logo_dark-b522e089.png\";","module.exports = __webpack_public_path__ + \"media/images/lendbuzz_logo_on_white-0aeae2d8.jpg\";","module.exports = __webpack_public_path__ + \"media/images/lendbuzz_logo_white-f0f017e6.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__83north-6c2419d1.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__bhi-c356253f.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__connectone-27e6089e.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__dealer-track-12f24922.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__goldman-sachs-5a874c08.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__idb-d4973162.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__mufg-7419c3fa.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__route-one-fe944f03.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__viola-61d1357e.png\";","module.exports = __webpack_public_path__ + \"media/images/logo__wellington-cb844074.png\";","module.exports = __webpack_public_path__ + \"media/images/norton-0d8a8626.png\";","module.exports = __webpack_public_path__ + \"media/onboarding/back-3ec5b4dc.png\";","module.exports = __webpack_public_path__ + \"media/onboarding/dropdown-80b1ebcb.png\";","module.exports = __webpack_public_path__ + \"media/page1/2015-Ford-F-150-XLT-79635bde.jpg\";","module.exports = __webpack_public_path__ + \"media/page1/2015-Toyota-Camry-SE-front-three-quarter-03-8851631c.png\";","module.exports = __webpack_public_path__ + \"media/page1/2015-s-series-gran-turismo-0e4443ca.png\";","module.exports = __webpack_public_path__ + \"media/page1/2018-audi-a7-in-depth-model-photo-s-original-bb1c0e7e.png\";","module.exports = __webpack_public_path__ + \"media/page1/2018-tesla-model-3-2327020c.png\";","module.exports = __webpack_public_path__ + \"media/page1/Chevrolet-Camaro-97469533.jpg\";","module.exports = __webpack_public_path__ + \"media/page1/Overlay-a27548fe.png\";","module.exports = __webpack_public_path__ + \"media/page1/Overlay-mobile-71177c64.png\";","module.exports = __webpack_public_path__ + \"media/page1/clock-15f967c9.png\";","module.exports = __webpack_public_path__ + \"media/page1/envelope-a08dee16.png\";","module.exports = __webpack_public_path__ + \"media/page1/lendbuzz_logo_white-7cd471ec.png\";","module.exports = __webpack_public_path__ + \"media/page1/money-bag-ded29102.svg\";","module.exports = __webpack_public_path__ + \"media/page2/help-fcb4641b.png\";","module.exports = __webpack_public_path__ + \"media/page4/browse-0e15fed8.png\";","module.exports = __webpack_public_path__ + \"media/page4/camera-8d7b2331.png\";","module.exports = __webpack_public_path__ + \"media/page4/jpg-label-060c7e6d.png\";","module.exports = __webpack_public_path__ + \"media/page4/pdf-label-57d2d48c.png\";","module.exports = __webpack_public_path__ + \"media/page4/png-label-ae8bac04.png\";","module.exports = __webpack_public_path__ + \"media/page4/upload-download-7722af8c.png\";","module.exports = __webpack_public_path__ + \"media/page6/handshake-263d1eef.png\";","module.exports = __webpack_public_path__ + \"media/images/pending_brown-e6fcb698.svg\";","module.exports = __webpack_public_path__ + \"media/images/receipt-78bbb28c.png\";","module.exports = __webpack_public_path__ + \"media/singlepage/carfax-logo-fb4e50ad.png\";","module.exports = __webpack_public_path__ + \"media/singlepage/fetch-4224d510.png\";","module.exports = __webpack_public_path__ + \"media/singlepage/logo-nada-used-40fa9d75.png\";","module.exports = __webpack_public_path__ + \"media/singlepage/navigate-09301bea.png\";","module.exports = __webpack_public_path__ + \"media/images/site-footer__facebook-0cf81210.svg\";","module.exports = __webpack_public_path__ + \"media/images/site-footer__instagram-143ca116.svg\";","module.exports = __webpack_public_path__ + \"media/images/site-footer__linkedin-8d8c2f2d.svg\";","module.exports = __webpack_public_path__ + \"media/images/site-footer__logo-65efdba7.svg\";","module.exports = __webpack_public_path__ + \"media/images/site-footer__twitter-ff33ab77.svg\";","module.exports = __webpack_public_path__ + \"media/testimonials/tablet-white-triangle-bg-ef85444a.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonial-e604ad48.jpg\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonial-image-1-49e90ac2.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonial-image-2-81b96f3a.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonial-image-3-2ba4b54e.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonials-green-bg-78c894f7.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonials-mobile-green-bg-43e3061d.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonials-slider-arrows-0904a9be.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/testimonials-tablet-green-bg-0322b92f.png\";","module.exports = __webpack_public_path__ + \"media/testimonials/white-triangle-bg-598ed5cd.png\";","module.exports = __webpack_public_path__ + \"media/images/tooltip-f401998c.svg\";","module.exports = __webpack_public_path__ + \"media/images/underline--lg-96056093.svg\";","module.exports = __webpack_public_path__ + \"media/images/underline--md-c6d6263d.svg\";","module.exports = __webpack_public_path__ + \"media/images/underline--sm-df183fdd.svg\";","module.exports = __webpack_public_path__ + \"media/images/via_banner_v3-43550eb4.jpg\";","module.exports = __webpack_public_path__ + \"media/images/wechat_qr_code-be084395.png\";","module.exports = __webpack_public_path__ + \"media/why/credit_score-d29c44d0.svg\";","module.exports = __webpack_public_path__ + \"media/why/low_rates-a40f65f5.svg\";","module.exports = __webpack_public_path__ + \"media/why/quick_easy-4b5b5cd8.svg\";","module.exports = __webpack_public_path__ + \"media/widget/lock-2b379468.svg\";","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","import React, { useContext, useEffect, useState, useMemo } from 'react';\nimport { formatPurchasePrice } from '../DealStructureHelpers.jsx';\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx';\nimport DealStructureContext from '../DealStructureContext.js';\nimport DealStructureValidations from '../helpers/Validations.js';\nimport NumberFormatter from '../../../number_formatter.js';\nimport HeaderContext from '../HeaderContext.jsx';\n\nconst ToolBar = () => {\n const { form, dispatch, originalForm, calculated, calculatorLoader,\n calculateTerms, updateLoader, updateTerms, updated, savedAnimation, readOnly,\n readOnlyState\n } = useContext(DealStructureContext)\n const loan_term = form['loan_term']\n const HContext = useContext(HeaderContext)\n const isMount = useIsMount()\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HContext.dispatch }\n\n const fixed_style = {\n position: 'fixed',\n bottom: 0,\n width: '100%',\n zIndex: '49'\n }\n const [style, setStyle] = useState(fixed_style)\n\n const validations = useMemo(() => {\n return new DealStructureValidations(form)\n }, [form])\n\n const frontend_total_errors = validations.errors('frontend_total')\n const net_check_errors = validations.errors('net_check')\n const net_financed_amount_errors = validations.errors('net_financed_amount')\n const loan_amount_errors = validations.errors('loan_amount')\n\n const failsValidation = useMemo(() => {\n const errors = [\n frontend_total_errors, \n net_check_errors, \n net_financed_amount_errors, \n loan_amount_errors\n ]\n return errors.some(err => err?.message === 'Cannot be negative')\n }, [form])\n\n useEffect(() => {\n if (isMount) {\n setToolBarStyle()\n $(document).on('scroll', setToolBarStyle)\n $(window).on('resize', setToolBarStyle)\n }\n\n if (isMount && !readOnlyState && HContext) {\n calculateTerms({ 'dealStructure': dispatch, 'dealHeader': HContext.dispatch })\n } else if (isMount && !readOnlyState) {\n calculateTerms({ 'dealStructure': dispatch })\n }\n }, [])\n\n useEffect(() => {\n window.onbeforeunload = function () {\n if (!updated) {\n return \"Did you save your stuff?\"\n }\n }\n }, [updated])\n\n useEffect(() => {\n if (isMount && form) {\n dispatches['dealStructure']({\n type: 'UPDATE_FORM',\n form: formatPurchasePrice(form)\n })\n\n dispatches['dealHeader']({\n type: 'UPDATE_FORM',\n form: formatPurchasePrice(form)\n })\n }\n }, [])\n\n const handleCalculate = () => {\n if (HContext) {\n calculateTerms(dispatches)\n } else {\n calculateTerms({ 'dealStructure': dispatch })\n }\n }\n\n const handleUpdate = () => {\n if (HContext) {\n updateTerms(dispatches)\n } else {\n updateTerms({ 'dealStructure': dispatch })\n }\n }\n\n const setToolBarStyle = () => {\n const el = $('footer')[0]\n const visible = Common.isInViewport(el)\n if (visible) {\n setStyle(null)\n return\n }\n else {\n setStyle(fixed_style)\n }\n }\n\n const renderCalcNotification = () => {\n if (calculatorLoader) {\n return (\n Calculating...\n )\n }\n else if (!calculated && updateLoader) {\n return (\n Updating...\n )\n }\n else if (!calculated) {\n return (\n (Click Calculate)\n )\n }\n\n return null\n }\n\n const renderCalcFooter = (key, type = null) => {\n if (!calculated) {\n return null\n }\n\n if (updateLoader || calculatorLoader) {\n return true\n }\n\n const originalLoanTerm = originalForm?.loan_term || {}\n let value = originalLoanTerm[key]\n let display_value\n\n if (type === 'percentage') {\n display_value = `${value} %`\n } else if (type === 'dollar') {\n display_value = `$ ${NumberFormatter.formatMoney(value)}`\n } else if (type === 'date') {\n display_value = Common.getDate(value, { format: \"fancy\" })\n }\n\n if (originalLoanTerm[key] !== loan_term[key]) {\n return (\n
    was {display_value}
    \n )\n }\n\n return null\n }\n\n const renderStartDate = () => {\n let description = loan_term?.loan_date || '--'\n const calc_notification = renderCalcNotification()\n\n if (calc_notification) {\n description = calc_notification\n }\n else if (description !== '--') {\n description = `${Common.getDate(description, { format: \"fancy\" })}`\n }\n\n let footer_view = renderCalcFooter('loan_date', 'date')\n\n return (\n
    \n
    Loan Start
    \n
    {description}
    \n {footer_view}\n
    \n )\n }\n\n const renderAPR = () => {\n let description = loan_term?.apr || '--'\n const calc_notification = renderCalcNotification()\n\n if (calc_notification) {\n description = calc_notification\n }\n else if (description !== '--') {\n description = `${description} %`\n }\n\n let footer_view = renderCalcFooter('apr', 'percentage')\n\n return (\n
    \n
    APR
    \n
    {description}
    \n {footer_view}\n
    \n )\n }\n\n const renderMonthly = () => {\n let description = loan_term?.monthly_payment ? Math.round(loan_term?.monthly_payment) : '--'\n const calc_notification = renderCalcNotification()\n\n if (calc_notification) {\n description = calc_notification\n }\n else if (description !== '--') {\n description = `$ ${NumberFormatter.formatMoney(description)}`\n }\n\n let footer_view = renderCalcFooter('monthly_payment', 'dollar')\n\n return (\n
    \n
    Monthly Payment
    \n
    {description}
    \n {footer_view}\n
    \n )\n }\n\n const renderButtonsNotification = () => {\n if (calculatorLoader) {\n return (\n
    \n
    \n Calculating, Please Wait...\n
    \n
    \n )\n } else if (updateLoader) {\n return (\n
    \n
    \n Updating Deal, Please Wait...\n
    \n
    \n )\n }\n\n return null\n }\n\n const renderButtons = () => {\n if (readOnlyState) {\n return (\n
    \n
    \n Deal Structure\n
    \n
    \n )\n }\n const button_notifications = renderButtonsNotification()\n if (button_notifications) {\n return button_notifications\n }\n\n if (savedAnimation) {\n return (\n
    \n
    \n Saved\n
    \n
    \n )\n }\n\n const btn_classes = {\n 'calculate': '',\n 'update': ''\n }\n\n if (!calculated) {\n btn_classes['calculate'] = 'btn--lg'\n } else {\n btn_classes['calculate'] = 'btn--sm'\n }\n\n if (calculated && !updated) {\n btn_classes['update'] = 'btn--lg'\n } else {\n btn_classes['update'] = 'btn--sm'\n }\n\n return (\n
    \n
    \n \n \n
    \n
    \n )\n }\n\n const renderErrorNotification = (message) => {\n return (\n
    \n {message}\n
    \n )\n }\n\n const renderNotification = () => {\n if (frontend_total_errors['message'] === 'Cannot be negative') {\n return renderErrorNotification('Frontend total cannot be negative')\n }\n if (net_financed_amount_errors['message'] === 'Cannot be negative') {\n return renderErrorNotification('Net financed amount cannot be negative')\n }\n if (net_check_errors['message'] === 'Cannot be negative') {\n return renderErrorNotification('Net check cannot be negative')\n }\n if (loan_amount_errors['message'] === 'Cannot be negative') {\n return renderErrorNotification('Loan amount cannot be negative')\n }\n\n if ((calculated && updated) || calculatorLoader || updateLoader) {\n return\n } else if (calculated) {\n return (\n
    \n You made changes to deal structure, click Update Callback to save the changes\n
    \n )\n }\n\n return (\n
    \n You made changes to deal structure, click Calculate to check the terms\n
    \n )\n }\n\n return (\n
    \n
    \n
    \n {renderNotification()}\n
    \n
    \n
    \n {renderStartDate()}\n
    \n
    \n {renderAPR()}\n
    \n
    \n {renderMonthly()}\n
    \n
    \n {renderButtons()}\n
    \n
    \n
    \n
    \n
    \n );\n};\n\nexport default ToolBar;\n","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _flux = require('flux');\n\nvar _StateFunctions = require('./utils/StateFunctions');\n\nvar StateFunctions = _interopRequireWildcard(_StateFunctions);\n\nvar _functions = require('./functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nvar _store = require('./store');\n\nvar store = _interopRequireWildcard(_store);\n\nvar _AltUtils = require('./utils/AltUtils');\n\nvar utils = _interopRequireWildcard(_AltUtils);\n\nvar _actions = require('./actions');\n\nvar _actions2 = _interopRequireDefault(_actions);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n/* global window */\n\n\nvar Alt = function () {\n function Alt() {\n var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n _classCallCheck(this, Alt);\n\n this.config = config;\n this.serialize = config.serialize || JSON.stringify;\n this.deserialize = config.deserialize || JSON.parse;\n this.dispatcher = config.dispatcher || new _flux.Dispatcher();\n\n this.batchingFunction = config.batchingFunction || function (callback) {\n return callback();\n };\n\n this.actions = {\n global: {}\n };\n this.stores = {};\n this.storeTransforms = config.storeTransforms || [];\n this.trapAsync = false;\n this._actionsRegistry = {};\n this._initSnapshot = {};\n this._lastSnapshot = {};\n }\n\n Alt.prototype.dispatch = function () {\n function dispatch(action, data, details) {\n var _this = this;\n\n this.batchingFunction(function () {\n var id = Math.random().toString(18).substr(2, 16); // support straight dispatching of FSA-style actions\n\n if (action.hasOwnProperty('type') && action.hasOwnProperty('payload')) {\n var fsaDetails = {\n id: action.type,\n namespace: action.type,\n name: action.type\n };\n return _this.dispatcher.dispatch(utils.fsa(id, action.type, action.payload, fsaDetails));\n }\n\n if (action.id && action.dispatch) {\n return utils.dispatch(id, action, data, _this);\n }\n\n return _this.dispatcher.dispatch(utils.fsa(id, action, data, details));\n });\n }\n\n return dispatch;\n }();\n\n Alt.prototype.createUnsavedStore = function () {\n function createUnsavedStore(StoreModel) {\n var key = StoreModel.displayName || '';\n store.createStoreConfig(this.config, StoreModel);\n var Store = store.transformStore(this.storeTransforms, StoreModel);\n\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.isFunction(Store) ? store.createStoreFromClass.apply(store, [this, Store, key].concat(args)) : store.createStoreFromObject(this, Store, key);\n }\n\n return createUnsavedStore;\n }();\n\n Alt.prototype.createStore = function () {\n function createStore(StoreModel, iden) {\n var key = iden || StoreModel.displayName || StoreModel.name || '';\n store.createStoreConfig(this.config, StoreModel);\n var Store = store.transformStore(this.storeTransforms, StoreModel);\n /* istanbul ignore next */\n\n if (module.hot) delete this.stores[key];\n\n if (this.stores[key] || !key) {\n if (this.stores[key]) {\n utils.warn('A store named ' + String(key) + ' already exists, double check your store ' + 'names or pass in your own custom identifier for each store');\n } else {\n utils.warn('Store name was not specified');\n }\n\n key = utils.uid(this.stores, key);\n }\n\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n var storeInstance = fn.isFunction(Store) ? store.createStoreFromClass.apply(store, [this, Store, key].concat(args)) : store.createStoreFromObject(this, Store, key);\n this.stores[key] = storeInstance;\n StateFunctions.saveInitialSnapshot(this, key);\n return storeInstance;\n }\n\n return createStore;\n }();\n\n Alt.prototype.generateActions = function () {\n function generateActions() {\n var actions = {\n name: 'global'\n };\n\n for (var _len3 = arguments.length, actionNames = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n actionNames[_key3] = arguments[_key3];\n }\n\n return this.createActions(actionNames.reduce(function (obj, action) {\n obj[action] = utils.dispatchIdentity;\n return obj;\n }, actions));\n }\n\n return generateActions;\n }();\n\n Alt.prototype.createAction = function () {\n function createAction(name, implementation, obj) {\n return (0, _actions2['default'])(this, 'global', name, implementation, obj);\n }\n\n return createAction;\n }();\n\n Alt.prototype.createActions = function () {\n function createActions(ActionsClass) {\n var _this3 = this;\n\n var exportObj = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n var actions = {};\n var key = utils.uid(this._actionsRegistry, ActionsClass.displayName || ActionsClass.name || 'Unknown');\n\n if (fn.isFunction(ActionsClass)) {\n fn.assign(actions, utils.getPrototypeChain(ActionsClass));\n\n var ActionsGenerator = function (_ActionsClass) {\n _inherits(ActionsGenerator, _ActionsClass);\n\n function ActionsGenerator() {\n _classCallCheck(this, ActionsGenerator);\n\n for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _possibleConstructorReturn(this, _ActionsClass.call.apply(_ActionsClass, [this].concat(args)));\n }\n\n ActionsGenerator.prototype.generateActions = function () {\n function generateActions() {\n for (var _len6 = arguments.length, actionNames = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n actionNames[_key6] = arguments[_key6];\n }\n\n actionNames.forEach(function (actionName) {\n actions[actionName] = utils.dispatchIdentity;\n });\n }\n\n return generateActions;\n }();\n\n return ActionsGenerator;\n }(ActionsClass);\n\n for (var _len4 = arguments.length, argsForConstructor = Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {\n argsForConstructor[_key4 - 2] = arguments[_key4];\n }\n\n fn.assign(actions, new (Function.prototype.bind.apply(ActionsGenerator, [null].concat(argsForConstructor)))());\n } else {\n fn.assign(actions, ActionsClass);\n }\n\n this.actions[key] = this.actions[key] || {};\n fn.eachObject(function (actionName, action) {\n if (!fn.isFunction(action)) {\n exportObj[actionName] = action;\n return;\n } // create the action\n\n\n exportObj[actionName] = (0, _actions2['default'])(_this3, key, actionName, action, exportObj); // generate a constant\n\n var constant = utils.formatAsConstant(actionName);\n exportObj[constant] = exportObj[actionName].id;\n }, [actions]);\n return exportObj;\n }\n\n return createActions;\n }();\n\n Alt.prototype.takeSnapshot = function () {\n function takeSnapshot() {\n for (var _len7 = arguments.length, storeNames = Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n storeNames[_key7] = arguments[_key7];\n }\n\n var state = StateFunctions.snapshot(this, storeNames);\n fn.assign(this._lastSnapshot, state);\n return this.serialize(state);\n }\n\n return takeSnapshot;\n }();\n\n Alt.prototype.rollback = function () {\n function rollback() {\n StateFunctions.setAppState(this, this.serialize(this._lastSnapshot), function (storeInst) {\n storeInst.lifecycle('rollback');\n storeInst.emitChange();\n });\n }\n\n return rollback;\n }();\n\n Alt.prototype.recycle = function () {\n function recycle() {\n for (var _len8 = arguments.length, storeNames = Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n storeNames[_key8] = arguments[_key8];\n }\n\n var initialSnapshot = storeNames.length ? StateFunctions.filterSnapshots(this, this._initSnapshot, storeNames) : this._initSnapshot;\n StateFunctions.setAppState(this, this.serialize(initialSnapshot), function (storeInst) {\n storeInst.lifecycle('init');\n storeInst.emitChange();\n });\n }\n\n return recycle;\n }();\n\n Alt.prototype.flush = function () {\n function flush() {\n var state = this.serialize(StateFunctions.snapshot(this));\n this.recycle();\n return state;\n }\n\n return flush;\n }();\n\n Alt.prototype.bootstrap = function () {\n function bootstrap(data) {\n StateFunctions.setAppState(this, data, function (storeInst, state) {\n storeInst.lifecycle('bootstrap', state);\n storeInst.emitChange();\n });\n }\n\n return bootstrap;\n }();\n\n Alt.prototype.prepare = function () {\n function prepare(storeInst, payload) {\n var data = {};\n\n if (!storeInst.displayName) {\n throw new ReferenceError('Store provided does not have a name');\n }\n\n data[storeInst.displayName] = payload;\n return this.serialize(data);\n }\n\n return prepare;\n }(); // Instance type methods for injecting alt into your application as context\n\n\n Alt.prototype.addActions = function () {\n function addActions(name, ActionsClass) {\n for (var _len9 = arguments.length, args = Array(_len9 > 2 ? _len9 - 2 : 0), _key9 = 2; _key9 < _len9; _key9++) {\n args[_key9 - 2] = arguments[_key9];\n }\n\n this.actions[name] = Array.isArray(ActionsClass) ? this.generateActions.apply(this, ActionsClass) : this.createActions.apply(this, [ActionsClass].concat(args));\n }\n\n return addActions;\n }();\n\n Alt.prototype.addStore = function () {\n function addStore(name, StoreModel) {\n for (var _len10 = arguments.length, args = Array(_len10 > 2 ? _len10 - 2 : 0), _key10 = 2; _key10 < _len10; _key10++) {\n args[_key10 - 2] = arguments[_key10];\n }\n\n this.createStore.apply(this, [StoreModel, name].concat(args));\n }\n\n return addStore;\n }();\n\n Alt.prototype.getActions = function () {\n function getActions(name) {\n return this.actions[name];\n }\n\n return getActions;\n }();\n\n Alt.prototype.getStore = function () {\n function getStore(name) {\n return this.stores[name];\n }\n\n return getStore;\n }();\n\n Alt.debug = function () {\n function debug(name, alt, win) {\n var key = 'alt.js.org';\n var context = win;\n\n if (!context && typeof window !== 'undefined') {\n context = window;\n }\n\n if (typeof context !== 'undefined') {\n context[key] = context[key] || [];\n context[key].push({\n name: name,\n alt: alt\n });\n }\n\n return alt;\n }\n\n return debug;\n }();\n\n return Alt;\n}();\n\nexports['default'] = Alt;\nmodule.exports = exports['default'];","import React, { useEffect, useRef } from 'react'\n\nconst GoogleAutocomplete = (props) => {\n // adding refs to avoid losing values on each render when using event listeners\n const selectGoogleAddressRef = useRef(props.results)\n const address1InputRef = useRef(props.address1Input.current)\n const suggestionChosenRef = useRef(false)\n let autocomplete = null\n\n useEffect(() => {\n selectGoogleAddressRef.current = props.results\n }, [props.results])\n\n useEffect(() => {\n address1InputRef.current = props.address1Input.current\n }, [props.address1Input])\n\n try {\n if (props.address1Input.current) {\n $(props.address1Input.current).on('DOMSubtreeModified', function () {\n if ($(this).prop('autocomplete') == 'off') {\n $(this).prop('autocomplete', 'chrome-off')\n }\n })\n }\n } catch (error) {\n console.log('error in setting autocomplete to off')\n console.log(error)\n }\n\n window.gm_authFailure = () => {\n props.handleGoogleBrokenAPI()\n }\n\n useEffect(() => {\n if (props.address1Input.current !== null) {\n if (googleMapsInitialized) {\n initAutocomplete()\n } else {\n $(document).on('google:initAutocomplete', function () {\n initAutocomplete()\n })\n }\n }\n\n const handleMouseDown = (event) => {\n suggestionChosenRef.current = false\n const pacContainers = document.querySelectorAll('.pac-container')\n pacContainers.forEach((container) => {\n if (container.contains(event.target)) {\n suggestionChosenRef.current = true\n }\n })\n }\n\n const handleKeydown = (event) => {\n suggestionChosenRef.current = false\n if (event.key === 'Tab') {\n const pacItems = document.querySelectorAll('.pac-item')\n if (pacItems.length === 0) {\n console.log('suggestion chosen')\n suggestionChosenRef.current = true\n }\n }\n }\n\n document.addEventListener('mousedown', handleMouseDown)\n document.addEventListener('keydown', handleKeydown)\n\n return () => {\n document.removeEventListener('mousedown', handleMouseDown)\n document.removeEventListener('keydown', handleKeydown)\n }\n }, [])\n\n const initAutocomplete = () => {\n const address1_field = address1InputRef.current\n\n // Create the autocomplete object, restricting the search predictions to\n // addresses in the US and Canada.\n autocomplete = new google.maps.places.Autocomplete(address1_field, {\n componentRestrictions: { country: ['us', 'ca'] },\n fields: ['address_components', 'geometry'],\n types: ['address'],\n })\n // When the user selects an address from the drop-down, populate the\n // address fields in the form.\n autocomplete.addListener('place_changed', fillInAddress)\n }\n const fillInAddress = () => {\n // Get the place details from the autocomplete object.\n const place = autocomplete.getPlace()\n let address1 = ''\n let postcode = ''\n let city = ''\n let state = ''\n let country = ''\n\n // Get each component of the address from the place details,\n // and then fill-in the corresponding field on the form.\n // place.address_components are google.maps.GeocoderAddressComponent objects\n // which are documented at http://goo.gle/3l5i5Mr\n if (place.address_components === undefined) return\n for (const component of place.address_components) {\n const componentType = component.types[0]\n\n switch (componentType) {\n case 'street_number': {\n address1 = `${component.long_name} ${address1}`\n break\n }\n\n case 'route': {\n address1 += component.short_name\n break\n }\n\n case 'postal_code': {\n postcode = `${component.long_name}${postcode}`\n break\n }\n\n case 'locality': {\n city = component.short_name\n break\n }\n\n case 'administrative_area_level_1': {\n state = component.short_name\n break\n }\n case 'country':\n country = component.long_name\n break\n }\n }\n if (selectGoogleAddressRef.current) {\n selectGoogleAddressRef.current({\n address1,\n city,\n state,\n country,\n postcode,\n })\n }\n }\n\n return (\n {\n if (!suggestionChosenRef.current) props.onBlur()\n }}\n >\n {props.children}\n
    \n )\n}\n\nexport default GoogleAutocomplete\n","import React from 'react';\nimport lb_fetch from '../../helpers/Request.js';\nimport User from '../../helpers/User';\n\nclass DealerInformation extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loading: false,\n error: null,\n\n emailValidationLoader: false,\n emailValid: true,\n emailError: null,\n\n recaptchaResponse: null,\n captchaError: null\n };\n\n this.requiredFields = ['first_name', 'last_name', 'phone', 'email', 'password', 'password_confirmation', 'name', 'legal_name', 'address_1', 'city', 'state', 'zip']\n this.updateDealer = this.props.updateDealer || (() => {})\n this.recaptchaRef = React.createRef()\n }\n\n componentDidMount() {\n $(document).on('load_recaptcha', function() {\n this.loadRecaptcha()\n }.bind(this))\n }\n\n loadRecaptcha() {\n if (!this.recaptchaRef || !this.recaptchaRef.current || !this.props.recaptchaSiteKey) {\n return\n }\n grecaptcha.render(this.recaptchaRef.current, {\n 'sitekey' : this.props.recaptchaSiteKey,\n 'callback' : (response) => {\n this.setCaptchaError()\n this.setState({recaptchaResponse: response})\n }\n });\n }\n\n onChange(e, field) {\n let value = e.target.value\n\n if (e.target.type == 'checkbox') {\n value = e.target.checked\n }\n\n let dealer = this.props.dealer || {}\n dealer[field] = value\n\n if (dealer['legal_name_checkbox']) {\n dealer['legal_name'] = dealer['name']\n }\n\n this.updateDealer(dealer)\n }\n\n onBlurEmail() {\n let dealer = this.props.dealer || {}\n let email = dealer['email']\n this.emailValidation(email)\n }\n\n onClickNext() {\n this.setRequiredFields()\n let errors = this.errors(true) || {}\n if (Object.keys(errors).length) {\n console.log(errors);\n return\n }\n\n this.createOrUpdateDealer()\n }\n\n loading(status) {\n this.setState({loading: status})\n }\n\n emailValidationLoader(status) {\n this.setState({emailValidationLoader: status})\n }\n\n setRequiredFields() {\n let dealer = this.props.dealer || {}\n let keys = Object.keys(dealer)\n this.requiredFields.map((field) => {\n if (!keys.includes(field)) {\n dealer[field] = \"\"\n }\n })\n this.setState({dealer})\n\n if (!dealer['id']) {\n this.emailValidation(dealer['email'])\n }\n }\n\n async emailValidation(email) {\n if (!email) {\n this.setState({emailValid: false, emailError: \"can't be empty\"})\n return\n }\n this.emailValidationLoader(true)\n let res = await User.emailValidation(email)\n this.setState({emailValid: res['valid'], emailError: res['error']}, () => this.emailValidationLoader(false))\n }\n\n\n errors(force_check=false) {\n let errors = {}\n let dealer = this.props.dealer || {}\n let required_fields = this.requiredFields\n\n let fields = Object.keys(dealer)\n required_fields.forEach((field) => {\n if (dealer['id'] && ['password', 'password_confirmation'].includes(field)) {\n return\n }\n if ((fields.includes(field) || force_check) && !dealer[field]) {\n errors[field] = \"can't be empty\"\n }\n })\n\n let password = dealer['password']\n let password_confirmation = dealer['password_confirmation']\n\n if (password_confirmation && password != password_confirmation) {\n errors['password_confirmation'] = \"Password doesn't match\"\n }\n\n if (dealer['id'] && !dealer['password'] && !dealer['password_confirmation']) {\n delete dealer['password']\n delete dealer['password_confirmation']\n }\n\n return errors\n }\n\n recaptchaIncomplete() {\n if (!this.props.recaptchaSiteKey) {\n return false\n }\n const dealer = this.props.dealer || {}\n return !dealer['id'] && !this.state.recaptchaResponse\n }\n\n disableNext() {\n let errors = this.errors() || {}\n const recaptcha_imcomplete = this.recaptchaIncomplete()\n if (Object.keys(errors).length) {\n return true\n }\n else if (!this.state.emailValid || this.state.emailValidationLoader || this.state.loading || recaptcha_imcomplete) {\n return true\n }\n }\n\n async setCaptchaErrorWithRes(res) {\n let data = {}\n try {\n data = await res.json()\n } catch (error) {\n console.log(error);\n }\n\n if (data['recaptcha_error']) {\n this.setCaptchaError(data['recaptcha_error'])\n }\n }\n\n setCaptchaError(err) {\n this.setState({captchaError: err})\n }\n\n async createOrUpdateDealer() {\n this.loading(true)\n let res = null\n let dealer = this.props.dealer || {}\n let url = '/dealers/onboard_create'\n\n if (dealer['id']) {\n url = '/dealers/onboard_update'\n }\n\n dealer['current_step'] = 'PENDING_DOCUMENTS'\n const req_data = {dealer}\n\n if (!dealer['id']) {\n req_data['g-recaptcha-response'] = this.state.recaptchaResponse\n }\n\n try {\n res = await lb_fetch(url, {method: 'post', body: req_data})\n } catch (error) {\n this.setState({error: true})\n console.log('error in DealerSignup#updateDealer in lb_fetch');\n console.log(error);\n this.loading(false)\n return\n }\n\n if (res.status == 400) {\n this.setCaptchaErrorWithRes(res)\n this.loading(false)\n return\n }\n\n if (res.status != 200) {\n this.setState({error: true})\n this.loading(false)\n return\n }\n\n let data = await res.json()\n if (!data['dealer_id']) {\n this.setState({error: true})\n this.loading(false)\n return\n }\n\n if (this.props.next) {\n await this.props.next()\n }\n\n $(document).trigger('reload:header')\n\n this.setState({error: false})\n this.loading(false)\n\n }\n\n render() {\n return (\n
    \n
    \n
    \n {this.renderRepInformation()}\n
    \n {this.renderDealershipInformation()}\n {this.renderRecaptcha()}\n {this.renderNextButton()}\n
    \n
    \n
    \n
    \n );\n }\n\n renderNextButton() {\n let text = \"Next: Upload Documents\"\n\n if (this.state.emailValidationLoader) {\n text = \"Checking Email Availability...\"\n }\n else if (this.state.loading) {\n text = \"Saving, Please Wait...\"\n }\n\n return (\n
    \n \n
    \n )\n }\n\n renderRepInformation() {\n let dealer = this.props.dealer || {}\n\n let extra_class = ''\n if (!this.state.emailValid) {\n extra_class = 'form-error form-error--warning'\n }\n\n let error_view = \"\"\n if (this.state.error) {\n error_view = (\n
    We cannot proccess your request at this time, Contact us
    \n )\n }\n\n let passoword_view = this.renderFormField('password', 'Password', true, 'password')\n let password_confirmation_view = this.renderFormField('password_confirmation', 'Confirm password', true, 'password')\n\n if (dealer['id']) {\n passoword_view = \"\"\n password_confirmation_view = \"\"\n }\n\n return (\n
    \n
    \n \n

    Account Details

    \n {error_view}\n
    \n
    Representative Information
    \n
      \n {this.renderFormField('first_name', 'First name', true)}\n {this.renderFormField('last_name', 'Last name', true)}\n {this.renderFormField('phone', 'Phone number', true)}\n\n
    • \n this.onChange(e, 'email')}/>\n \n
      {this.state.emailError}
      \n
    • \n\n {passoword_view}\n {password_confirmation_view}\n
    \n
    \n
    \n )\n }\n\n renderDealershipInformation() {\n let dealer = this.props.dealer || {}\n\n let legal_name_error = this.renderErrorView('legal_name')\n let state_error = this.renderErrorView('state')\n\n let rep_code_view = this.renderFormField('admin_owner_code', \"Lendbuzz Rep Code\")\n if (dealer['id']) {\n rep_code_view = \"\"\n }\n\n return (\n
    \n
    Dealership information
    \n
      \n {this.renderFormField('name', 'Name (DBA)', true)}\n\n
    • \n this.onChange(e, 'legal_name')} />\n \n {legal_name_error}\n\n
      \n this.onChange(e, 'legal_name_checkbox')} />\n \n
      \n
    • \n\n {this.renderFormField('address_1', 'Address', true)}\n {this.renderFormField('city', 'City', true)}\n\n
    • \n \n \n {state_error}\n
    • \n\n {this.renderFormField('zip', 'Zip code', true)}\n {rep_code_view}\n
    \n
    \n )\n }\n\n renderStateOptions() {\n let us_states = this.props.usStates || []\n let state_options = us_states.map((us_state, index) => {\n return (\n \n )\n })\n\n return state_options\n }\n\n renderFormField(field, title, required=false, type='text') {\n let dealer = this.props.dealer || {}\n let error_view = this.renderErrorView(field)\n let extra_class = ''\n\n if (error_view) {\n extra_class = 'form-error form-error--warning'\n }\n\n return (\n
  • \n this.onChange(e, field)}/>\n \n {error_view}\n
  • \n )\n }\n\n renderErrorView(field) {\n let errors = this.errors() || {}\n let error = errors[field]\n\n if (!error) {\n return\n }\n\n return (\n
    {error}
    \n )\n }\n\n renderRecaptcha() {\n let dealer = this.props.dealer || {}\n\n if (dealer['id']) {\n return\n }\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {this.state.captchaError}\n
    \n
    \n\n )\n }\n}\n\n\nexport default DealerInformation;\n","import lb_fetch from \"./Request\"\n\nconst User = (function() {\n\n const emailValidation = async (email) => {\n const url = '/user/is_email_valid'\n let res = null\n\n try {\n res = await lb_fetch(url, {'method': 'post', body: {email, exist_check: true}})\n } catch (error) {\n console.log('error in User#emailValidation try catch');\n console.log(error);\n return {valid: true}\n }\n\n if (!res) {\n console.log('no res found in User#emailValidation');\n console.log(res);\n return {valid: true}\n }\n\n if (res.status != 200) {\n console.log(`error in User#emailValidation with status ${res.status}`);\n console.log(res);\n return {valid: true}\n }\n\n let data = await res.json()\n if (!data || !data['data']) {\n console.log('no data in User#emailValidation');\n console.log(data);\n return {valid: true}\n }\n\n data = data['data'] || {}\n\n if (data['valid']) {\n return {valid: true}\n }\n\n let error = data['error'] || {}\n let reason = error['reason']\n return {valid: false, error: reason}\n }\n\n return {\n emailValidation\n }\n})()\n\nexport default User\n","import React from 'react';\nimport lb_fetch from '../../helpers/Request.js';\nimport FileUpload from '../file_upload.js';\n\nclass UploadDocuments extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loading: false\n };\n this.updateDealer = this.props.updateDealer || (() => {})\n }\n\n onClickFinish() {\n this.updateDealerRequest()\n }\n\n loading(status) {\n this.setState({loading: status})\n }\n\n goBack() {\n let dealer = this.props.dealer || {}\n dealer['current_step'] = 'REP_INFO'\n this.updateDealer(dealer)\n this.updateDealerRequest(dealer['current_step'])\n }\n\n disableFinish() {\n if (this.state.loading) {\n return true\n }\n let dealer = this.props.dealer || {}\n let files = ['ownership_filename', 'w9_filename', 'license_filename']\n for (let index in files) {\n let file = files[index]\n if (!dealer[file]) {\n return true\n }\n }\n\n return false\n }\n\n async updateDealerRequest(current_step='UNDER_REVIEW') {\n this.loading(true)\n let res = null\n let dealer = this.props.dealer || {}\n let url = '/dealers/onboard_update'\n\n dealer['current_step'] = current_step\n\n try {\n res = await lb_fetch(url, {method: 'post', body: {dealer}})\n } catch (error) {\n console.log('error in DealerSignup#updateDealer in lb_fetch');\n console.log(error);\n this.loading(false)\n return\n }\n\n if (res.status != 200) {\n this.loading(false)\n return\n }\n\n let data = await res.json()\n if (!data['dealer_id']) {\n this.loading(false)\n return\n }\n\n if (this.props.finish) {\n await this.props.finish()\n }\n\n $(document).trigger('reload:header')\n\n this.loading(false)\n\n }\n\n render() {\n let dealer = this.props.dealer || {}\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n Back\n
    \n
    \n

    Upload Documents

    \n
    Document types supported: PDF, JPG, PNG
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n}\n\n\nexport default UploadDocuments;\n","export let ReviewData =[\n {\n name: \"Nicholas S.\",\n rating: 5,\n review: \"After relocating to the US on a work visa, Lendbuzz offered me the best loan option I could find. [They] went above and beyond to answer questions and gave good suggestions for negotiating with the car dealership. I had an excellent experience.\"\n },\n {\n name: \"Rashid A.\",\n rating: 5,\n review: \"It was an amazing experience for me with Lendbuzz... I recommend you deal with them!\"\n },\n {\n name: \"Santosh P.\",\n rating: 5,\n review: \"For new international students in the USA, this is the best option to get a car loan.\"\n },\n {\n name: \"Abhishek N.\",\n rating: 5,\n review: \"Working with Lendbuzz was great and super easy!\"\n },\n {\n name: \"Joao\",\n rating: 5,\n review: \"Lendbuzz was quick to approve me with a great interest rate and first payment for 45 days. I’m Extremely happy with my new 2018 Honda Accord thanks to Lendbuzz, highly recommend\"\n },\n {\n name: \"Chenqiang Yang\",\n rating: 5,\n review: \"I moved to the States a year ago. With less than a year of credit history, it was impossible to get an auto loan thorugh the tradition bank. The dealership recommended Lendbuzz to me. Everything is being done electronically, very simple and their rep was very helpful. I left very happy with a car.\"\n },\n {\n name: \"Claudio Sousa\",\n rating: 5,\n review: \"Lendbuzz is a very serious company, committed to finding the best solution to meet our needs. They are good professionals available and there is plenty of clarity in negotiations.\"\n },\n {\n name: \"Ye Leng\",\n rating: 5,\n review: \"I’m a international student and Lendbuzz helped me financed my first car in the U.S. The whole process was fast and smooth, even I don’t have SSN and credit history, the rate is good! I want to gave a special thank you to my agent Eva, she is quite supportive and professional. I would highly recommend Lendbuzz to my friends!\"\n },\n {\n name: \"Ranbir\",\n rating: 5,\n review: \"Great experience, Everton Mandelli helped me out so much throughout the entire process. Would definitely recommend it!\"\n },\n {\n name: \"Judith Williams\",\n rating: 5,\n review: \"The approval time was beyond my expectations, No hassle 😊\"\n },\n {\n name: \"Cindy Aimee Rodríguez\",\n rating: 5,\n review: \"Everton was really kind and helpful all the way! Thanks for your support!\"\n }\n]\n","import React from 'react'\nimport small_star from 'images/homepage__carousel-star.png'\nclass ReviewCard extends React.Component {\n constructor(props){\n super(props)\n }\n\n renderStar(no_of_stars){\n let array = []\n for(let i=0; i < no_of_stars; i++ ){\n array.push(\n
  • \n \n
  • \n )\n }\n return array\n }\n\n render() {\n return (\n \n
  • \n
    {this.props.data.review}
    \n
    \n
    {this.props.data.name}
    \n
    \n
      \n {this.renderStar(this.props.data.rating)}\n
    \n
    {this.props.data.rating} stars
    \n
    \n
    \n
  • \n
    \n )\n }\n}\nexport default ReviewCard;","export let DealerReviewData =[\n {\n photo: 'dealers__toyota.jpg',\n review: \"Fast, simple and easy - everyone on the team loves working with Lendbuzz.\",\n name: 'Yoan, Sales Manager',\n dealer: 'Toyota dealership'\n },\n {\n photo: 'dealers__chevrolet.jpg',\n review: \"Lendbuzz helps us sell more cars and have happier customers. They have fair rates and are fast at funding the dealership.\",\n name: 'Jose, Finance Director',\n dealer: 'Chevrolet dealership'\n },\n {\n photo: 'dealers__nissan.jpg',\n review: \"Lendbuzz has helped us sell more cars to buyers we previously had to turn away.\",\n name: 'Izzy, Sales Manager',\n dealer: 'Nissan dealership'\n },\n {\n photo: 'dealers__ford.jpg',\n review: \"Lendbuzz is a pleasure to work with. They are always fast to respond, and provide better terms and service to clients that are not served well by many other banks.\",\n name: 'Joon, Finance Manager',\n dealer: 'Ford dealership'\n }\n]\n","import React from 'react'\nimport PictureTag from './PictureTag.js';\n\nclass DealerReviewCard extends React.Component {\n constructor(props){\n super(props)\n }\n\n render() {\n return (\n \n
  • \n \n
    \n
    {this.props.data.review}
    \n
    \n
    {this.props.data.name}
    \n
    {this.props.data.dealer}
    \n
    \n
    \n
  • \n
    \n )\n }\n}\nexport default DealerReviewCard;\n","/*globals self, window */\n\"use strict\";\n/*eslint-disable @mysticatea/prettier */\n\nvar _ref = typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window :\n/* otherwise */\nundefined,\n AbortController = _ref.AbortController,\n AbortSignal = _ref.AbortSignal;\n/*eslint-enable @mysticatea/prettier */\n\n\nmodule.exports = AbortController;\nmodule.exports.AbortSignal = AbortSignal;\nmodule.exports.default = AbortController;","import React from 'react';\nimport Filter from '../modules/Filter.js';\nimport lb_fetch from '../../helpers/Request';\nimport BasicTable from '../modules/BasicTable.js.jsx';\nimport Pagination from '../modules/Pagination.js.jsx';\nvar moment = require('moment');\nclass FundedDeals extends React.Component {\n constructor(props) {\n super(props)\n this.state = {\n loans: this.props.financedLoans || [],\n page: this.props.page || 1,\n offset: this.props.offset || 30,\n loading: false,\n\n searchKeyword: '',\n filter: 'FINANCED',\n\n }\n\n this.loanStatus = {\n 'All': 'All',\n 'Delinquent': 'Delinquent'\n }\n }\n\n componentDidMount() {\n if (!this.props.financedLoans || this.props.financedLoans.length == 0) {\n let page = this.getPage()\n this.goToPage(page)\n }\n else {\n this.sortLoans(this.state.loans)\n }\n }\n\n componentWillUnmount() {\n if (this.xhr) {\n this.xhr.abort()\n }\n }\n\n loading(status) {\n this.setState({ loading: status })\n }\n\n nextPage() {\n let page = this.state.page + 1\n this.setState({page: page})\n this.quickSearchLoansRequest(page)\n let path = `/dealers/${this.props.dealerId}/funded_deals/${page}`\n history.replaceState(null, null, `${path}${document.location.search}`);\n }\n\n previousPage() {\n let page = this.state.page\n if (page <= 1) {\n return\n }\n page = page - 1\n this.setState({page: page})\n this.quickSearchLoansRequest(page)\n let path = `/dealers/${this.props.dealerId}/funded_deals/${page}`\n history.replaceState(null, null, `${path}${document.location.search}`);\n }\n\n onChangeSearchKeyword(e) {\n if (this.state.searchKeyword != e.target.value && !e.target.value) {\n let page = this.getPage()\n this.quickSearchLoansRequest(page, '')\n this.setState({ page })\n }\n this.setState({ searchKeyword: e.target.value })\n }\n\n onPressEnterSearch(e) {\n e.stopPropagation();\n if (e.keyCode == 13) {\n this.onSearch()\n }\n }\n\n onSearch() {\n this.goToPage(1)\n }\n\n onSelectFilter(value) {\n let filter = this.state.filter || 'FINANCED'\n\n if (value == 'All') {\n this.setState({ filter: 'FINANCED' }, () => {\n this.goToPage(1)\n })\n return\n }\n else if (value == 'Delinquent') {\n this.setState({filter: 'Delinquent'}, () => {\n this.goToPage(1)\n })\n return\n }\n\n this.setState({ filter })\n }\n\n goToPage(page) {\n this.setState({ page: page }, () => {\n this.quickSearchLoansRequest(page)\n })\n let path = `/dealers/${this.props.dealerId}/funded_deals`\n if (page > 1) {\n path = `/dealers/${this.props.dealerId}/funded_deals/${page}`\n }\n history.replaceState(null, null, `${path}`);\n }\n\n getPage() {\n let page = this.getPageFromURL() || this.state.page || 1\n return parseInt(page)\n }\n\n getPageFromURL() {\n let path = window.location.pathname\n let path_array = path.split('/')\n if (path_array.length < 2) {\n return\n }\n\n let page = path_array[path_array.length - 1]\n let page_name = path_array[path_array.length - 2]\n\n if (page_name != 'funded_deals') {\n return\n }\n\n if (!page) {\n return 1\n }\n\n return page\n }\n\n sortLoans(loans) {\n\t\t// Remove loans with no loan_transaction (specifically for test data)\n loans = loans.filter(f => f['loan_transaction'] != null)\n\n let financed_loans_array = loans\n\n // For 'All' filter\n if (this.state.filter != 'Delinquent') {\n // Sort the loan statuses in the descending order of loan_transaction sent_at timestamp\n financed_loans_array = loans.sort((x, y) => (x['loan_transaction']['sent_at'] < y['loan_transaction']['sent_at']) ? 1 : -1)\n }\n\n // For 'Delinquent' filter, get the loans ordered by 'id' from controllers itself.\n\n this.setState({ loans: financed_loans_array }, () => {\n this.loading(false)\n })\n }\n\n async quickSearchLoansRequest(page = this.state.page, search_keyword = this.state.searchKeyword, app_status = this.state.filter) {\n this.loading(true)\n\n let url = '/dealers/loans_search'\n let params_data = {\n search_keyword, app_status,\n 'get_loan_transaction': true,\n 'order_by': 'FINANCED'\n }\n\n if (page) {\n params_data['page'] = page\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, {method: 'post', body: params_data })\n } catch (error) {\n console.log('error in FundedDeals#quickSearchLoansRequest');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n this.loading(false)\n console.log('Something went wrong, contact tech.');\n console.log(res);\n return;\n }\n\n let data = await res.json()\n this.sortLoans(data['loans'] || [])\n }\n\n render() {\n return (\n
    \n
    \n
    \n {this.renderSearch()}\n {this.renderFilter()}\n
    \n
    \n {this.renderTable()}\n
    \n {this.renderPagination()}\n
    \n
    \n )\n }\n\n renderSearch() {\n return (\n
    \n this.onChangeSearchKeyword(e)} onKeyDown={(e) => this.onPressEnterSearch(e)} />\n
    this.onSearch()}>
    \n
    \n )\n }\n\n renderFilter() {\n let list = Object.keys(this.loanStatus).map((status) => {\n return [this.loanStatus[status], status]\n })\n\n let selected = this.state.filter || ''\n if (!selected || selected == 'FINANCED') {\n selected = 'All'\n }\n\n let filter_text = selected\n\n return (\n \n
    \n Filter: {filter_text}\n \n
    \n
    \n )\n }\n\n renderTable() {\n let header_list = ['Date Funded', 'Loan ID', ['Borrower', 'VIN'], ['Payment Type','Reference ID'], 'Net Check', 'Total Funded', 'Notice']\n\n return (\n \n {this.renderTableBody()}\n \n )\n }\n\n renderTableBody() {\n let loans = this.state.loans || []\n\n if (this.state.loading) {\n return (\n \n {this.renderLoader()}\n \n )\n }\n else if (!loans.length) {\n return (\n \n \n \n \n \n )\n }\n\n let rows = loans.map((loan) => {\n return this.renderRow(loan)\n })\n return (\n \n {rows}\n \n )\n }\n\n renderRow(loan) {\n let transaction = loan['loan_transaction'] || {}\n let form = loan['form_data'] || {}\n let person = form['person'] ||{}\n let automobile = form['automobile'] || {}\n\n let date_string = moment.utc(transaction['sent_at']).local().format('DD MMM YYYY')\n let full_name = `${person['first-name']} ${person['last-name']}`.trim() || ((No Name))\n\n let payment_type = null\n let payment_ref_id = null\n if (transaction['payment_type_id'] == 1) {\n payment_type = 'Wire'\n payment_ref_id = transaction['confirmation_number']\n }\n else if (transaction['payment_type_id'] == 2) {\n payment_type = 'Check'\n payment_ref_id = transaction['check_number']\n }\n\n let loan_status = loan['loan_status']\n let delinquent_list = ['LATE', 'LATE_15','LATE_30','LATE_45','LATE_60','LATE_75','LATE_90']\n\n let badge_color = ''\n if (delinquent_list.includes(loan_status)) {\n badge_color = 'bg-red-100 text-warning'\n }\n\n let net_check = transaction['amount'] ? Common.dollar_format(transaction['amount'].toFixed(2)) : '--'\n let total_funded = transaction['total_combined_amount'] ? Common.dollar_format(transaction['total_combined_amount'].toFixed(2)) : '--'\n\n return (\n \n \n
    {date_string}
    \n \n \n
    {loan['id']}
    \n {\n badge_color ? (\n
    \n LATE\n
    \n ) : ''\n }\n \n \n
    {full_name}
    \n
    VIN: {automobile['vin'] || \"--\"}
    \n \n \n
    {payment_type || '--'}
    \n
    {payment_ref_id}
    \n \n \n
    {net_check}
    \n \n \n
    {total_funded}
    \n \n \n {\n transaction && transaction['lbid'] ? (\n \n \n View/Print\n \n ) : '--'\n }\n \n \n )\n }\n\n renderPagination() {\n let loans = this.state.loans || []\n\n return (\n \n )\n }\n\n renderLoader(num=10) {\n let rows = []\n for (var i = 0; i < num; i++) {\n rows.push(this.renderLoaderRow(i))\n }\n\n return rows\n }\n\n renderLoaderRow(index) {\n return (\n \n \n
    \n \n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n )\n }\n}\n\nexport default FundedDeals;\n","import React, { Component } from 'react';\nimport Pagination from '../modules/Pagination.js.jsx';\nimport BasicTable from '../modules/BasicTable.js.jsx';\nimport { app_status_text_mapping } from './DealerPortalHelper/index.js';\nimport Filter from '../modules/Filter.js';\nimport Notification from '../modules/Notification.js.jsx';\nimport DealerLoan from './DealerLoan.js.jsx';\nimport UrlHelper from '../../helpers/UrlHelper.js';\nimport LoansContext from './LoansContext.jsx';\nclass DealerLoans extends Component {\n constructor(props) {\n super(props)\n this.state = {\n page: this.props.page || 1,\n offset: this.props.offset || 30,\n loading: false,\n searchKeyword: '',\n filter: []\n }\n\n this.appStatus = app_status_text_mapping\n }\n\n componentDidMount() {\n const qslContext = this.context\n if (!qslContext.rawLoans || !this.props.firstLoad) {\n let page = this.getPage()\n let search_keyword = UrlHelper.getParamsFromURL('search_keyword') || this.state.searchKeyword\n let app_status = this.getAppStatusFromURL()\n\n if (search_keyword) {\n page = null\n }\n\n this.setState({ page, searchKeyword: search_keyword, filter: app_status })\n this.quickSearchLoansRequest(page, search_keyword, this.state.filter)\n }\n else {\n let search_keyword = UrlHelper.getParamsFromURL('search_keyword') || this.state.searchKeyword\n let app_status = this.getAppStatusFromURL()\n this.setState({ searchKeyword: search_keyword, filter: app_status })\n if (this.props.setFirstLoad) {\n this.props.setFirstLoad()\n }\n }\n }\n\n componentWillUnmount() {\n if (this.xhr) {\n this.xhr.abort()\n }\n }\n\n getPage() {\n let page = this.getPageFromURL() || this.state.page || 1\n return parseInt(page)\n }\n\n getPageFromURL() {\n let path = window.location.pathname\n let path_array = path.split('/')\n if (path_array.length < 2) {\n return\n }\n\n let page = path_array[path_array.length - 1]\n let page_name = path_array[path_array.length - 2]\n\n if (page_name != 'loans') {\n return\n }\n\n if (!page) {\n return 1\n }\n\n return page\n }\n\n // hash for accordion\n\n setParamsToUrl(key, value) {\n var url = new URL(window.location);\n if (value) {\n url.searchParams.set(key, value);\n }\n else {\n url.searchParams.delete(key)\n }\n\n history.replaceState(null, null, url.href);\n }\n\n getLoanIdsfromHash() {\n let hash_value = window.location.hash\n let value_array = hash_value.split(\"#\")\n\n if (value_array.length < 2) {\n return\n }\n\n let params_string = value_array[1]\n let loan_string_array = params_string.split('=')\n if (loan_string_array.length != 2) {\n return\n }\n\n if (loan_string_array[0] != 'loan' || !loan_string_array[1].trim()) {\n return\n }\n\n let loan_ids = loan_string_array[1].split(',')\n return loan_ids\n }\n\n hashTrigger() {\n let loan_ids = this.getLoanIdsfromHash() || []\n loan_ids.forEach((loan_id) => {\n this.toggleAccordion(loan_id, true)\n })\n }\n\n getAppStatusFromURL() {\n let app_status = UrlHelper.getParamsFromURL('app_status')\n\n if (!app_status) {\n return []\n }\n\n app_status = app_status.split(',')\n let all_status = Object.keys(this.appStatus)\n\n let whitelisted_appstatus = app_status.filter(a_status => all_status.includes(a_status))\n\n return whitelisted_appstatus\n }\n\n getLoanFromLoanId(loan_id) {\n const qslContext = this.context\n let loans = qslContext.rawLoans || []\n let loan = loans.filter(l => l['id'] == loan_id)\n if (!loan.length) {\n return\n }\n\n return loan[0]\n }\n\n onChangeSearchKeyword(e) {\n if (this.state.searchKeyword != e.target.value && !e.target.value) {\n let page = this.getPage()\n this.quickSearchLoansRequest(page, '')\n UrlHelper.clearHash()\n this.setState({ page })\n }\n this.setState({ searchKeyword: e.target.value })\n }\n\n onPressEnterSearch(e) {\n e.stopPropagation();\n if (e.keyCode == 13) {\n this.onSearch()\n }\n }\n\n onSearch() {\n this.goToPage(1)\n UrlHelper.clearHash()\n }\n\n onSelectFilter(value) {\n let filter = this.state.filter || []\n let index = filter.indexOf(value)\n\n if (value == 'All') {\n this.setState({ filter: [] }, () => {\n this.setParamsToUrl('app_status', null)\n this.goToPage(1)\n })\n return\n }\n\n if (index > -1) {\n filter.splice(index, 1)\n }\n else {\n // for multi selection un comment this\n // filter.push(value)\n\n // for multi selection comment this\n filter = [value]\n }\n this.setState({ filter }, () => {\n if (!filter.length) {\n filter = null\n }\n this.setParamsToUrl('app_status', filter)\n\n this.goToPage(1)\n })\n }\n\n loading(status) {\n this.setState({ loading: status })\n }\n\n nextPage() {\n let page = this.state.page + 1\n this.goToPage(page)\n }\n\n previousPage() {\n let page = this.state.page\n if (page <= 1) {\n return\n }\n page = page - 1\n this.goToPage(page)\n }\n\n goToPage(page) {\n this.setState({ page: page }, () => {\n this.quickSearchLoansRequest(page)\n })\n let path = `/dealers/${this.props.dealerId}/loans`\n if (page) {\n path = `/dealers/${this.props.dealerId}/loans/${page}`\n }\n history.replaceState(null, null, `${path}${document.location.search}`);\n }\n\n quickSearchLoansRequest(page = this.state.page, search_keyword = this.state.searchKeyword, app_status = this.state.filter, callback = () => { }) {\n if (this.xhr) {\n try {\n this.xhr.abort()\n } catch (error) {\n console.log(`error in quickSearchLoansRequest for xhr abort, ${error}`);\n }\n }\n\n this.loading(true)\n\n // exclude financed loans when app_status filter does not exist\n if (app_status.length == 0) {\n app_status = ['EXCLUDE_FINANCED']\n }\n\n let url = '/dealers/loans_search'\n let params_data = {\n search_keyword, app_status,\n \"authenticity_token\": $('meta[name=\"csrf-token\"]').attr('content'),\n 'get_documents_data': true,\n 'get_financial_stats': true\n }\n\n if (page) {\n params_data['page'] = page\n }\n\n this.setParamsToUrl('search_keyword', search_keyword)\n\n // ajax call\n this.xhr = $.ajax({\n url: url,\n type: 'post',\n dataType: 'json',\n data: params_data,\n complete: () => {\n this.loading(false)\n },\n success: function (data) {\n if (!data) {\n return\n }\n\n let { loans } = data\n const qslContext = this.context\n qslContext.updateLoans(loans)\n }.bind(this),\n error: function (xhr, status, err) {\n console.log('error making AJAX call from quickSearchLoansRequest#dealer_loans, with error: ' + err);\n }.bind(this)\n });\n }\n\n render() {\n return (\n
    \n
    \n
    \n
    \n {this.renderSearch()}\n {this.renderFilter()}\n
    \n {this.renderNewLoan()}\n
    \n
    \n {this.renderTable()}\n
    \n {this.renderPagination()}\n \n
    \n
    \n )\n }\n\n renderNewLoan() {\n return (\n
    \n \n
    \n )\n }\n\n renderSearch() {\n return (\n
    \n this.onChangeSearchKeyword(e)} value={this.state.searchKeyword || \"\"} onKeyDown={(e) => this.onPressEnterSearch(e)} />\n
    this.onSearch()}>
    \n
    \n )\n }\n\n renderFilter() {\n let list = Object.keys(this.appStatus).map((status) => {\n return [this.appStatus[status], status]\n })\n\n let selected = this.state.filter || []\n if (!selected.length) {\n selected = ['All']\n }\n\n let filter_text = selected[0]\n\n if (selected.length > 1) {\n filter_text = `${selected.length} Selected`\n }\n\n // {filter_text.replaceAll('_', ' ')}\n filter_text = filter_text.replaceAll('_', ' ')\n\n return (\n \n
    \n Filter: {filter_text}\n \n
    \n
    \n )\n }\n\n renderTable() {\n let header_list = ['DATE', 'LOAN ID', ['BORROWER', 'Vehicle'], ['NET CHECK', 'Payment'], ['STATUS', null, 'text-center'], ['TRACKER', null, 'text-center'], ['DEAL ACTION', null, 'text-center'], '']\n\n return (\n \n {this.renderTableBody()}\n \n )\n }\n\n renderTableBody() {\n const qslContext = this.context\n let loans = qslContext.rawLoans || []\n\n if (this.state.loading) {\n return (\n \n {this.renderLoader()}\n \n )\n }\n else if (!loans.length) {\n return (\n \n \n \n \n {/* Start a new loan */}\n \n \n \n )\n }\n\n let rows = []\n loans.map((loan, index) => {\n rows.push(this.renderRow(loan, index))\n })\n return (\n \n {rows}\n \n )\n }\n\n\n renderRow(loan, index) {\n return (\n \n )\n }\n\n\n renderPagination() {\n const qslContext = this.context\n let loans = qslContext.rawLoans || []\n\n return (\n \n )\n }\n\n renderLoader(num=10) {\n let rows = []\n for (var i = 0; i < num; i++) {\n rows.push(this.renderLoaderRow(i))\n }\n\n return rows\n }\n\n renderLoaderRow(index) {\n return (\n \n \n
    \n \n \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n )\n }\n}\nDealerLoans.contextType = LoansContext\n\nexport default DealerLoans;\n","import React, { useEffect, useState, useContext, useRef } from 'react';\nimport DealerLoansAccordion from './DealerLoansAccordion/index.jsx';\nimport { useIsMount } from '../helpers/useIsMount.js'\nimport UrlHelper from '../../helpers/UrlHelper.js';\nimport CTAButton from './CTA/index.jsx';\nimport LoanTracker from './LoanTracker/index.jsx';\nimport AppStatusPill from './AppStatusPill.jsx';\nimport LoansContext from './LoansContext.jsx';\nimport classNames from '../../helpers/classNames.js';\nimport { getReasonDataFromLoan, isCollateralNotQualified } from './DealerPortalHelper/ReasonHelper.js';\n\nconst moment = require('moment');\n\nconst DealerLoan = (props) => {\n const { loanId } = props\n const [showAccordion, setShowAccordion] = useState(false)\n const { loans } = useContext(LoansContext)\n const loan = loans[loanId]\n const form = loan.form_data || {}\n const isMount = useIsMount()\n const rowRef = useRef(null)\n\n\n useEffect(() => {\n if (!isMount && showAccordion) {\n UrlHelper.addTohash('loan', loan['id'])\n }\n else if (!isMount) {\n UrlHelper.removeFromHash('loan', loan['id'])\n }\n\n }, [showAccordion])\n\n useEffect(() => {\n if (isMount) {\n hashTrigger()\n $(window).on('hashchange', function (e) {\n hashTrigger()\n });\n }\n }, [])\n\n const hashTrigger = () => {\n let loan_ids = UrlHelper.getValuefromHash('loan') || \"\"\n loan_ids = loan_ids.split(',')\n if (loan_ids.includes(`${loan['id']}`)) {\n setShowAccordion(true)\n }\n }\n\n const fullName = () => {\n let form = loan['form_data'] || {}\n let person = form['person'] || {}\n let name_array = []\n if (person['first-name']) {\n name_array.push(person['first-name'])\n }\n if (person['last-name']) {\n name_array.push(person['last-name'])\n }\n let full_name = name_array.join(' ') || (No Name)\n return full_name\n }\n\n const getVehicleName = () => {\n const {year, make, model} = form?.automobile || {}\n\n return `${year || \"\"} ${make || \"\"} ${model || \"\"}`.trim().toUpperCase()\n }\n\n const handleChangeVehicleSuccess = () => {\n setShowAccordion(true)\n // Move the element to the view\n rowRef.current?.scrollIntoView({ behavior: \"smooth\", block: \"center\" })\n }\n\n const renderVehicleName = () => {\n const vehicle_name = getVehicleName()\n\n // Note: this code is very specific to S3714 requirements. Might need to make changes to make it scalable.\n const is_in_application = form['app-status'] == 'IN_APPLICATION'\n const { reason: reason_text } = getReasonDataFromLoan(loan) || {}\n\n const onAddVehicleClick = (e) => {\n e.stopPropagation();\n let url = `/dealers/loan/application?loan_application_id=${loan['lbid']}#car_details`\n window.open(url, '_blank');\n }\n\n\n if (is_in_application && !vehicle_name) {\n return (\n \n \n Add Vehicle\n \n )\n } else if (is_in_application && vehicle_name && isCollateralNotQualified(loan)) {\n return (\n \n {vehicle_name}\n \n )\n } else if (!vehicle_name) {\n return (\n (No Vehicle)\n )\n }\n\n return vehicle_name\n }\n\n const renderRow = () => {\n const date_string = moment.utc(loan['created_at']).local().format('DD MMM YYYY')\n // const date_string_row_two = moment.utc(loan['created_at']).local().format('YYYY')\n let full_name = fullName(loan)\n\n let loan_term = form['loan-term'] || {}\n let net_check = loan_term['net-check'] ? Common.dollar_format(loan_term['net-check'].toFixed(2)) : '--'\n let monthly_payment = loan_term['monthly-payment'] ? Common.dollar_format(loan_term['monthly-payment'].toFixed(2)) : '--'\n let display_monthly_payment = form['app-status'] == 'PENDING_PRE_APPROVAL' ? '--' : monthly_payment\n\n const vehicle_name = getVehicleName()\n\n let tr_open_style = {}\n let td_open_style = {}\n let font_classes = \"text-black\"\n\n if (showAccordion) {\n font_classes = \"text-white\"\n td_open_style = {\n \"color\": \"#fff\"\n }\n\n tr_open_style = {\n \"backgroundColor\": \"#485469\",\n \"color\": \"#fff\"\n }\n }\n\n return (\n setShowAccordion(!showAccordion)} style={{...tr_open_style, paddingLeft: '1.5rem', paddingRight: '1.5rem', paddingBottom: '0.75rem', paddingTop: '0.75rem' }}>\n \n
    {date_string}
    \n \n {loan['id']}\n \n
    \n {full_name}\n
    \n
    \n {renderVehicleName()}\n
    \n \n \n
    \n {net_check}\n
    \n
    \n {display_monthly_payment}/mo\n
    \n \n \n \n \n \n
    \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n \n
    \n \n \n )\n }\n\n const renderAccordian = () => {\n return (\n \n )\n }\n\n return [renderRow(), renderAccordian()];\n};\n\nexport default DealerLoan\n","import React, { Component } from 'react';\nimport { derivedAppStatus } from '../DealerPortalHelper/index.js';\nimport AccordionTracker from './AccordionTracker/index.jsx';\nimport AccordionStats from './AccordionStats/index.jsx';\nimport LBModal from '../../modules/LBModal.js.jsx';\nimport AssetGrade from '../../deal_structure/AssetGrade.jsx';\nimport {NumberFormatter} from '../../../number_formatter';\nimport DealerLoanRequests from '../../../helpers/DealerLoanRequests';\nimport CommunicationTypes from '../../CommunicationTypes.js.jsx';\nimport { fullName } from '../../../helpers/LoanHelper.js';\nimport LoansContext from '../LoansContext.jsx';\nimport { getReasonDataFromLoan, isCollateralNotQualified } from '../DealerPortalHelper/ReasonHelper.js';\nimport classNames from '../../../helpers/classNames.js';\n\nclass DealerLoansAccordion extends Component {\n constructor(props) {\n super(props)\n this.state = {\n commTypeModal: false,\n clientDetailsModal: false,\n otherOffersModal: false,\n selectedCommType: null,\n\n financialStats: {},\n\n financialStatsLoader: false,\n otherOffersLoader: false,\n otherActionsLoader: false\n }\n\n this.optionsVisibility = {\n 'continue_application': ['IN_APPLICATION', 'PENDING_PRE_APPROVAL', 'PRE_APPROVED', 'IN_VERIFICATION', 'APPROVED', 'DOC_SIGNED', 'CANCELED', 'PENDING_LICENSE'],\n 'send_to_customer': ['PRE_APPROVED'],\n 'view_terms': ['PENDING_PRE_APPROVAL', 'PRE_APPROVED', 'IN_VERIFICATION', 'APPROVED', 'DOC_SIGNED'],\n 'edit_purchase_price': ['PRE_APPROVED'],\n 'view_purchase_price': ['PENDING_PRE_APPROVAL', 'IN_VERIFICATION', 'APPROVED', 'DOC_SIGNED'],\n 'add_new_vehicle': ['PRE_APPROVED', 'PRE_APPROVAL_DENIED'],\n 'resubmit': ['APPROVED_EXPIRED', 'PRE_APPROVED_EXPIRED']\n }\n\n this.accordionRef = React.createRef()\n }\n\n componentDidMount() {\n this.toggleAccordion(this.props.visible || false)\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.visible != this.props.visible) {\n this.toggleAccordion(this.props.visible || false)\n }\n }\n\n toggleAccordion(status) {\n let details_element = $(this.accordionRef.current)\n if (status) {\n\n // financial stats request for pti\n this.financialStatsRequest()\n\n // multiple related offers\n this.multipleOffersRequest()\n\n details_element.slideDown()\n return\n }\n details_element.slideUp()\n }\n\n financialStatsLoader(status) {\n this.setState({financialStatsLoader: status})\n }\n\n otherOffersLoader(status) {\n this.setState({otherOffersLoader: status})\n }\n\n otherActionsLoader(status) {\n this.setState({otherActionsLoader: status})\n }\n\n commTypeModal(status, type=null) {\n this.setState({commTypeModal: status, selectedCommType: type})\n }\n\n clientDetailsModal(status) {\n this.setState({clientDetailsModal: status})\n }\n\n otherOffersModal(status) {\n this.setState({otherOffersModal: status})\n }\n\n optionVisibility(name, app_status) {\n let visility_options = this.optionsVisibility || {}\n let visiblity_status = visility_options[name] || []\n\n if (visiblity_status.length && !visiblity_status.includes(app_status)) {\n return false\n }\n\n return true\n }\n\n handleAnalytics(origin, data={}) {\n let tracker_status = null\n if (data.status) {\n switch(data.status) {\n case 'text-green-600':\n tracker_status = 'green'\n break;\n case 'text-gray-400':\n tracker_status = 'gray'\n break;\n case 'text-yellow-600':\n tracker_status = 'orange'\n break;\n default:\n console.log('something went wrong')\n break;\n }\n data.status = tracker_status\n }\n Modern.handleAnalytics(origin, this.context.currentUser, this.props.userEmail, this.props.repName, data)\n }\n\n // Comm type Modal Settings\n\n commTypeDetails() {\n const loan = this.props.loan\n const type = this.state.selectedCommType\n\n if (!type) {\n return {}\n }\n\n let email = loan['user_email']\n let telephone = loan['form_data']['person']['telephone']\n\n let text = {\n Email: email,\n SMS: telephone\n }\n\n let comm_urls = {\n 'bank_account': {\n Email: `/loan_applications/${loan['lbid']}/financial_pulling/request_account`,\n SMS: `/loan_applications/${loan['lbid']}/financial_pulling/request_account_sms`\n },\n 'sending_terms_to_customer': {\n Email: `/loan_applications/${loan['lbid']}/send_to_client`\n }\n }\n\n let headers = {\n 'bank_account': `Ask Client to Connect Bank - (${loan['id']}) ${loan['form_data']['person']['first-name']}`,\n 'sending_terms_to_customer': `Send Deal to Client - (${loan['id']}) ${loan['form_data']['person']['first-name']}`\n }\n\n let urls = comm_urls[type]\n let header = headers[type]\n\n if (!telephone && urls) {\n delete urls['SMS']\n }\n\n if (!telephone && header) {\n delete header['SMS']\n }\n\n return { commUrls: urls, commHeader: header, commText: text, commName: type.replace(/_/g, ' ') }\n }\n\n getFinancialStats() {\n const loan = this.props.loan\n let financial_stats = this.state.financialStats || {}\n\n let pti = null\n let six_months_avg = null\n\n // Using the isFinite check to rule out string and Infinity\n if (financial_stats?.stats?.PTI && isFinite(financial_stats.stats.PTI)) {\n pti = (financial_stats.stats.PTI*100).toFixed(1)\n // ruling out infinity as string here since this ideally catches No Data and Insufficient Data\n // as the only other string responses to stats: PTI\n } else if (financial_stats?.stats?.PTI && financial_stats.stats.PTI != 'infinity') {\n pti = financial_stats.stats.PTI\n }\n\n let form = loan['form_data'] || {}\n let loan_term = form['loan-term'] || {}\n let monthly_payment = Math.ceil(loan_term['monthly-payment'])\n let display_monthly_payment = form['app-status'] == 'PENDING_PRE_APPROVAL' ? null : monthly_payment\n\n if (display_monthly_payment && pti) {\n six_months_avg = ((display_monthly_payment/pti)*100).toFixed(0)\n }\n\n let loan_financial_stats_pti = \"\"\n if (pti && !['infinity', 'Insufficient Data', 'No Data'].includes(pti)) {\n loan_financial_stats_pti = Common.percentage_format_no_space(pti)\n } else if (pti && pti != 'infinity') {\n loan_financial_stats_pti = pti\n } else {\n loan_financial_stats_pti = null\n }\n\n let loan_financial_stats = {\n 'pti': loan_financial_stats_pti,\n 'pti-monthly' : six_months_avg ? Common.dollar_format(six_months_avg) : null\n }\n\n return loan_financial_stats\n }\n\n async financialStatsRequest() {\n let loan = this.props.loan || {}\n if (!loan) {\n return\n }\n\n if (!loan['lbid']) {\n console.log(`No lbid for loan ${loan['id']} found`);\n return\n }\n this.financialStatsLoader(true)\n\n let data = await DealerLoanRequests.financialStatsRequest(loan['lbid'])\n\n let financial_stats = this.state.financialStats || {}\n\n if (data && data['financial_stats'] && data['financial_stats']['data']) {\n financial_stats = data['financial_stats']['data']\n }\n this.setState({ financialStats: financial_stats }, () => {\n this.financialStatsLoader(false)\n })\n }\n\n async multipleOffersRequest() {\n let loan = this.props.loan || {}\n if (!loan) {\n return\n }\n\n if (!loan['lbid'] || !loan['parent_id'] || !loan['has_children']) {\n return\n }\n\n this.otherOffersLoader(true)\n let data = await DealerLoanRequests.multipleOffersRequest(loan['parent_id'])\n\n let other_offers = data['data'] || []\n this.setState({ otherOffers: other_offers }, () => {\n this.otherOffersLoader(false)\n })\n }\n\n async otherActionsStatusRequest() {\n let loan = this.props.loan || {}\n if (!loan) {\n return\n }\n\n if (!loan['lbid']) {\n console.log(`No lbid for loan ${loan['id']} found`);\n return\n }\n\n this.otherActionsLoader(true)\n let data = await DealerLoanRequests.otherActionsStatusRequest(loan['lbid'])\n this.otherActionsLoader(false)\n\n let { docusign, send_to_client } = data\n let other_actions_details = {\n docusign_status: docusign,\n send_to_client_status: send_to_client\n }\n this.setState({ otherActionsDetails: other_actions_details })\n }\n\n // RENDER\n\n render() {\n return (\n this.renderAccordion()\n );\n }\n\n renderAccordion() {\n const loan = this.props.loan || {}\n let derived_app_status = derivedAppStatus(loan)\n const comm_details = this.commTypeDetails()\n\n return (\n \n \n
    \n
    \n
    \n
    \n {this.renderDealDetails1()}\n \n {this.renderAccordionStats()}\n {\n ([\"APPROVED\", \"IN FUNDING\"].includes(derived_app_status)) ? (\n ''\n ) : this.renderOtherOffers()\n }\n
    \n
    \n {this.renderOtherOffersModal()}\n {this.renderClientDetails()}\n this.commTypeModal(false)} onSend={this.otherActionsStatusRequest.bind(this)} />\n
    \n
    \n \n \n )\n }\n\n renderAccordionStats() {\n let loan = this.props.loan || {}\n let financial_stats = this.getFinancialStats() || {}\n\n return ( this.financialStatsRequest.bind(this)}\n />)\n }\n\n renderVehicleError() {\n const loan = this.props.loan || {}\n\n if(!isCollateralNotQualified(loan)) {\n return null\n }\n\n const { reason: reason_text } = getReasonDataFromLoan(loan)\n\n return (\n
    \n {reason_text}\n
    \n )\n }\n\n renderDealDetails1() {\n const loan = this.props.loan || {}\n\n let form = loan['form_data'] || {}\n let automobile = form['automobile'] || {}\n\n let view_application_link = `/loan_applications/${loan['lbid']}`\n if (form['app-status'] == 'IN_APPLICATION') {\n view_application_link = `/dealers/loan/application?loan_application_id=${loan['lbid']}`\n }\n\n // options visiblity based on old app status\n let view_application_option = this.optionVisibility(\"continue_application\", form['app-status'])\n let update_structure_option = this.optionVisibility(\"edit_purchase_price\", form['app-status'])\n const view_structure_option = this.optionVisibility(\"view_purchase_price\", form['app-status'])\n let send_terms_to_customer_option = this.optionVisibility(\"send_to_customer\", form['app-status'])\n let view_terms_option = this.optionVisibility(\"view_terms\", form['app-status'])\n\n // vin details\n let vehicle_name = `${automobile['year'] || \"\"} ${automobile['make'] || \"\"} ${automobile['model'] || \"\"}`.trim().toUpperCase() || '--'\n let vehicle_mileage = `${automobile['mileage'] || \"\"}`.trim()\n let vin = `${automobile['vin'] || \"\"}`.trim().toUpperCase() || \"--\"\n\n const acceptedGrades = new Set(['A'])\n const vehicle_classnames = classNames(isCollateralNotQualified(this.props.loan) && \"text-red-300\")\n\n if(vehicle_mileage) {\n vehicle_mileage = `(${NumberFormatter.withComma(vehicle_mileage, false)} miles)`\n }\n\n return (\n
    \n
    \n
    \n {\n acceptedGrades.has(form?.asset_grade) &&
    \n GRADE: \n \n
    \n }\n
    \n VIN: \n {vin}\n
    \n
    \n Vehicle: \n {vehicle_name}\n {vehicle_mileage}\n
    \n
    \n {this.renderVehicleError()}\n
    \n
    \n {\n view_application_option ? (\n
    {window.open(view_application_link), this.handleAnalytics('view-edit-application')}}>\n
    View/Edit Application
    \n
    \n ) : ''\n }\n {\n update_structure_option ? (\n
    {window.open(`/loan_applications/${loan['lbid']}/deal_structure/edit`), this.handleAnalytics('update-structure')}}>\n
    View / Edit Deal Structure
    \n
    \n ) : view_structure_option ? (\n
    {window.open(`/loan_applications/${loan['lbid']}/deal_structure/edit`), this.handleAnalytics('view-structure')}}>\n
    View Deal Structure
    \n
    \n ) : ''\n }\n
    {this.clientDetailsModal(true), this.handleAnalytics('view-client-details')}} title=\"View Client Details\">\n
    \n
    \n {\n send_terms_to_customer_option ? (\n
    this.commTypeModal(true, 'sending_terms_to_customer')} title=\"Send Terms to Client\">\n
    \n
    \n ) : ''\n }\n {\n view_terms_option ? (\n
    window.open(`/loan_applications/${loan['lbid']}/view_terms.pdf`)} title=\"Print/View Terms\">\n
    \n
    \n ) : ''\n }\n
    \n
    \n )\n }\n\n renderOtherOffers() {\n const loan = this.props.loan || {}\n let form = loan['form_data'] || {}\n let oo_loader = this.state.otherOffersLoader\n let other_offers = this.state.otherOffers || []\n other_offers = other_offers.filter(o => o['lbid'] != loan['lbid'])\n\n let add_new_vehicle_view = null\n let add_new_vehicle_visiblity = this.optionVisibility(\"add_new_vehicle\", form['app-status'])\n\n if (add_new_vehicle_visiblity) {\n add_new_vehicle_view = (\n \n )\n }\n\n let total_shown = 3\n\n let offers_view = null\n if (oo_loader) {\n offers_view = (\n
    \n
    Loading Related Deals...
    \n
    \n
    \n )\n }\n else if (!other_offers.length) {\n offers_view = (\n
    \n
    No Related Deals
    \n
    \n )\n }\n else {\n let main_offers_view = other_offers.slice(0, total_shown).map((offer, index) => {\n if (loan['lbid'] == offer['lbid']) {\n return\n }\n let form = offer['form_data'] || {}\n let automobile = form['automobile'] || {}\n let vehicle_name = `${automobile['year'] || \"\"} ${automobile['make'] || \"\"} ${automobile['model'] || \"\"}`.trim()\n return (\n
    window.open(`/loan_applications/${offer['lbid']}`)}>{vehicle_name || \"(No Car Name)\"}
    \n )\n })\n offers_view = (\n
    \n {main_offers_view}\n {other_offers.length > total_shown ? (\n
    \n
    \n this.otherOffersModal(true)}>+ {other_offers.length - total_shown} more\n
    \n
    \n ) : \"\"}\n
    \n )\n }\n\n return (\n
    \n
    \n
    Related Deals:
    \n {offers_view}\n
    \n {add_new_vehicle_view}\n
    \n )\n }\n\n renderOtherOffersModal() {\n const loan = this.props.loan || {}\n let form = loan['form_data'] || {}\n let loan_id = loan['id']\n\n let add_new_vehicle_visiblity = this.optionVisibility(\"add_new_vehicle\", form['app-status'])\n\n let other_offers = this.state.otherOffers || []\n other_offers = other_offers.filter(o => o['lbid'] != loan['lbid'])\n\n let offers_view = other_offers.map((offer, index) => {\n let form = offer['form_data'] || {}\n let automobile = form['automobile']\n let url = `/loan_applications/${offer['lbid']}`\n\n return (\n
    window.open(url, '_blank')}>\n
    \n
    Make
    \n
    {automobile['make'] || \"--\"}
    \n
    \n
    \n
    Model
    \n
    {automobile['model'] || \"--\"}
    \n
    \n
    \n
    Trim
    \n
    {automobile['style'] || \"--\"}
    \n
    \n
    \n
    Year
    \n
    {automobile['year'] || \"--\"}
    \n
    \n
    \n )\n })\n\n return (\n this.otherOffersModal(false)}>\n
    \n
    \n
    \n
    \n {other_offers.length} Related Deals - {loan_id}\n
    \n
    \n this.otherOffersModal(false)}>\n
    \n
    \n {offers_view}\n
    \n {\n add_new_vehicle_visiblity ? (\n
    \n \n
    \n ) : ''\n }\n
    \n
    \n )\n }\n\n renderClientDetails() {\n const loan = this.props.loan || {}\n let form = loan['form_data'] || {}\n let person = form['person'] || {}\n\n let full_name = fullName(person)\n let email = loan['user_email']\n let telephone = person ? person['telephone'] : null\n\n if (!full_name) {\n full_name = (\n (No Name)\n )\n }\n\n let address_1 = []\n Object.keys(person).map((key) => {\n let value = person[key]\n if (['address-1', 'address-2', 'city', 'state', 'zipcode'].includes(key)) {\n address_1.push(value)\n }\n })\n let client_address = address_1.filter(a => a).join(', ')\n\n return (\n this.clientDetailsModal(false)}>\n
    \n
    \n
    \n
    \n \n \n \n \n Client Details - {loan['id']}\n \n
    \n
    \n this.clientDetailsModal(false)}>\n
    \n
    \n

    \n Name: \n {full_name || '--'}\n

    \n

    \n Phone: \n {telephone || '--'}\n

    \n

    \n Email: \n \n {email || '--'}\n \n

    \n

    \n Address: \n {client_address || '--'}\n

    \n
    \n
    \n \n
    \n
    \n
    \n )\n }\n}\n\nDealerLoansAccordion.contextType = LoansContext\n\nexport default DealerLoansAccordion;\n","const fullName = (person) => {\n let name_array = []\n if (person['first-name']) {\n name_array.push(person['first-name'])\n }\n if (person['last-name']) {\n name_array.push(person['last-name'])\n }\n let full_name = name_array.join(' ')\n return full_name\n}\n\nexport { fullName }\n","import React, { useState } from 'react'\nimport DealerLoanRequests from '../../../../helpers/DealerLoanRequests'\n\nconst GetHelp = ({ lbid, loanId, onClickClose }) => {\n const [getHelpLoader, setGetHelpLoader] = useState(false)\n\n const sendLoanErrorsEmail = async (e) => {\n e.stopPropagation()\n if (!lbid) {\n console.log(`No lbid for loan ${loan['id']} found`);\n return\n }\n\n setGetHelpLoader(true)\n\n let data = await DealerLoanRequests.sendLoanErrorsEmail(lbid)\n\n let text = \"\"\n let description = `We have notified our team, someone will assist you shortly for loan ${loanId}.`\n const type = \"Email\"\n const status = data?.success\n\n if (!status) {\n text = `Get Help Failed - Try again`\n description = renderNotificationDescription()\n }\n\n setGetHelpLoader(false)\n onClickClose()\n $(document).trigger('notifications:add', [status, text, description, type])\n }\n\n const renderNotificationDescription = () => {\n return (\n sendLoanErrorsEmail(e)}>\n Click here to try again, loan {loanId}.\n \n )\n }\n\n return (\n
    \n
    \n
    \n
    \n \n Validations\n \n
    \n
    \n onClickClose(e)}>\n
    \n
    \n

    Some information is missing, click 'Get Help' to get assistance.

    \n
    \n
    \n \n
    \n
    \n )\n}\n\nexport default GetHelp\n","import React, { useMemo, useState } from 'react'\nimport Consent from './Consent'\nimport NetFinancedCheck from './NetFinancedCheck'\nimport lb_fetch from '../../../../../helpers/Request';\n\nconst Finalize = ({ onClickClose, onClickSecondary, getLoanRequest, form, setModal }) => {\n const [netFinCorrect, setNetFinCorrect] = useState(false)\n const [toggleConsent, setToggleConsent] = useState(false)\n const [requestContractLoader, setRequestContractLoader] = useState(false)\n\n const isValid = useMemo(() => {\n return toggleConsent && netFinCorrect\n }, [toggleConsent, netFinCorrect])\n\n const handleConsent = (e) => {\n e.stopPropagation()\n setToggleConsent(!toggleConsent)\n }\n\n const handleRequestContract = async (e) => {\n e.stopPropagation()\n if (!isValid) {\n return\n }\n\n const url = `/loan_applications/${form['lbid']}/request_contract`\n let res\n let notification = {}\n setRequestContractLoader(true)\n\n try {\n res = await lb_fetch(url, { method: 'post', body: { \"loan_application\": { \"hard_credit_inquiry_consent\": toggleConsent} } })\n } catch (error) {\n console.log('error in request_contract')\n console.log(error)\n setRequestContractLoader(false)\n return null\n }\n\n if (!res.ok) {\n setRequestContractLoader(false)\n notification.success = false\n notification.text = \"Failed to request contract, please contact us\"\n notification.title = \"Request contract failed\"\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.message}`)\n } else {\n notification.success = true\n notification.text = \"Contract successfully requested!\"\n notification.title = \"Request contract successful!\"\n await getLoanRequest()\n }\n\n $(document).trigger('notifications:add', [notification.success, notification.text, '', null, notification.title])\n setRequestContractLoader(false)\n setModal(false)\n }\n\n const renderPrintLoan = () => {\n return (\n {e.stopPropagation()}}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"pt-2 font-light text-xs\"\n >\n Print Loan Summary\n \n )\n }\n\n const renderNextButton = () => {\n if (requestContractLoader) {\n return (\n \n )\n }\n\n return (\n \n )\n }\n\n const renderBackButton = () => {\n return (\n \n )\n }\n\n return (\n
    e.stopPropagation(e)}>\n
    \n
    \n
    \n \n 2. Confirm Net Financed Amount & Request Contract\n \n onClickClose(e)}>\n
    \n \n Take a minute to review the loan details.\n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n {renderPrintLoan()}\n
    \n {renderBackButton()}\n {renderNextButton()}\n
    \n
    \n
    \n )\n}\n\nexport default Finalize\n","import React, { useState } from 'react'\n\nconst Consent = (props) => {\n const { toggleConsent, handleConsent } = props\n const [readMore, setReadMore] = useState(false)\n\n const finePrintView = () => {\n if (readMore) {\n return (By submitting this application you certify that your client has instructed you to click the 'I Agree' button below. Your client understands that by allowing you to click on the 'I Agree' button immediately following this notice they are providing written consent to Lendbuzz under the Fair Credit Reporting Act to obtain information from their credit profile or other information from Experian. Your client authorizes Lendbuzz to obtain such information solely to prequalify them for credit options.)\n }\n\n return (By submitting this application you certify that your client has instructed you to click the 'I Agree' button below. Your client understands that by allowing you to click on the 'I Agree' button immediately following this notice they are providing written consent to Lendbuzz\n setReadMore(true)}> (read more)\n )\n }\n\n return(
    \n
    Credit Inquiry Consent
    \n
    \n
    \n {finePrintView()}\n
    \n
    \n handleConsent(e)}\n onClick={(e) => {e.stopPropagation()}}\n disabled={props.disabled}\n />\n handleConsent(e)}>\n I Agree\n \n
    \n
    \n
    )\n}\n\nexport default Consent\n","import React, { useState, useEffect, useMemo } from 'react'\n\nconst NetFinancedCheck = (props) => {\n const { form, netFinCorrect, setNetFinCorrect, disabled } = props\n const [netFinAmountConfirm, setNetFinAmountConfirm] = useState('')\n const inputRef = React.createRef()\n\n useEffect(() => {\n if (inputRef.current) {\n inputRef.current.focus()\n }\n }, [inputRef])\n\n const borderColor = useMemo(() => {\n if (netFinCorrect) {\n return \"border-green-500\"\n } else if (netFinAmountConfirm) {\n return \"border-error\"\n }\n\n return \"border-gray-300\"\n }, [netFinCorrect, netFinAmountConfirm])\n\n const getNetFinRange = () => {\n const netFin = form['loan-term']['net-financed-amount']\n return [(netFin - 0.01), netFin, (netFin + 0.01)]\n }\n\n const onChangeNetFinAmount = (e) => {\n let value = e.target.value || \"\"\n value = value.replace(/[^0-9.]/g, '')\n setNetFinAmountConfirm(value)\n if(getNetFinRange().includes(parseFloat(value))) {\n setNetFinCorrect(true)\n } else {\n setNetFinCorrect(false)\n }\n }\n\n const renderErrorText = () => {\n if (netFinCorrect) {\n return (

    \n This amount matches our deal details.\n

    )\n }\n else if (!netFinAmountConfirm) {\n return (

    \n Please enter the net financed amount from the dealer bill of sale in the above box.\n

    )\n }\n\n return ((
    \n

    \n Our contracting details do not match bill of sale.\n

    \n

    \n Please update to match for faster approval.\n

    \n
    ))\n }\n\n return(
    \n Enter net financed amount from dealer bill of sale:\n onChangeNetFinAmount(e)}\n onClick={(e) => {e.stopPropagation()}}\n placeholder=\"Ex: $21,100.69\"\n disabled={disabled}\n className={`border border-1-sm ${borderColor} rounded my-4 p-2 text-black outline-none focus:border-2`}\n />\n {renderErrorText()}\n
    )\n}\n\nexport default NetFinancedCheck\n","import React, { useState } from 'react'\nimport XSButton from '../modules/XSButton.jsx';\nimport LBModal from '../../modules/LBModal.js.jsx';\nimport lb_fetch from '../../../helpers/Request';\n\nconst CTAResubmit = (props) => {\n const { loan } = props\n const [resubmitAppModal, setResubmitAppModal] = useState(false)\n const [resubmitAppLoader, setResubmitAppLoader] = useState(false)\n\n const handleResubmitAppModal = (e, toggle) => {\n e.stopPropagation()\n setResubmitAppModal(toggle)\n }\n\n const onResubmitApp = async (e) => {\n e.stopPropagation()\n setResubmitAppLoader(true)\n\n const url = `/loan_applications/${loan['lbid']}/resubmit`\n let res\n let notification = {}\n\n try {\n res = await lb_fetch(url, {method: 'post', body: { lbid: loan['lbid'], json_response: true }})\n } catch (error) {\n console.log('error in resubmit')\n console.log(error);\n setResubmitAppModal(false)\n setResubmitAppLoader(false)\n return null\n }\n\n if (res.ok) {\n const data = await res.json()\n window.location.href = data['redirect_to']\n return\n }\n\n notification.success = false\n notification.text = \"There was an error resubmitting the application. Please try again or contact Lendbuzz support.\"\n notification.title = \"Resubmit application failed\"\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.message}`)\n\n $(document).trigger('notifications:add', [notification.success, notification.text, '', null, notification.title])\n setResubmitAppLoader(false)\n setResubmitAppModal(false)\n return\n }\n\n\n const renderResubmitApp = () => {\n let button = ()\n\n if (resubmitAppLoader) {\n button = ()\n }\n\n return (\n handleResubmitAppModal(e, false)}>\n
    {e.stopPropagation(e)}}>\n
    \n
    \n
    \n \n Resubmit Expired Application\n \n
    \n
    \n handleResubmitAppModal(e, false)}>\n \n
    \n
    \n

    This application has expired. You can resubmit it to create

    \n

    a new application using the same client information. You'll need to re-enter

    \n

    the vehicle and price details and submit it for pre-approval.

    \n
    \n
    \n {button}\n
    \n
    \n
    \n )\n }\n\n return((\n
    \n handleResubmitAppModal(e, true)} buttonText=\"Submit new app\" />\n {renderResubmitApp()}\n
    \n ))\n}\n\nexport default CTAResubmit\n","import React, { useState, useContext } from 'react'\nimport DealerLoanRequests from '../../../../helpers/DealerLoanRequests'\nimport LBModal from '../../../modules/LBModal.js.jsx'\nimport LoansContext from '../../LoansContext'\n\nconst RequestFundingModalBody = (props) => {\n const { loan, onClickClose, setRequestFundingStatus, handleAnalytics } = props\n const { updateLoan, rawLoans } = useContext(LoansContext)\n const [requestFundingLoader, setRequestFundingLoader] = useState(false)\n\n const button_text = requestFundingLoader ? \"Requesting funding...\" : \"Request Funding\"\n\n const getLoanRequest = async () => {\n if (!loan) {\n return\n }\n\n if (!loan['id']) {\n console.log(`No loan id found`);\n return\n }\n\n let data = await DealerLoanRequests.qslSingleLoanRequest(loan['id'])\n updateLoan(data, rawLoans)\n }\n\n const onRequestFunding = async (e) => {\n e.stopPropagation()\n handleAnalytics('request-funding')\n\n if (!loan) {\n return\n }\n\n if (!loan['lbid']) {\n console.log(`No lbid for loan ${loan['id']} found`);\n return\n }\n \n setRequestFundingLoader(true)\n\n let data = await DealerLoanRequests.onRequestFunding(loan['lbid'])\n\n onClickClose(null)\n\n let text = \"\"\n let description = \"\"\n let type = \"Email\"\n let status = data && data['success'] ? true : false\n\n if (status) {\n description = `We have notified our team.`\n await getLoanRequest()\n setRequestFundingStatus(\"success\")\n }\n else {\n description = `Request Funding Failed - Try again`\n setRequestFundingStatus(\"error\")\n }\n\n $(document).trigger('notifications:add', [status, text, description, type])\n }\n\n return(\n
    {e.stopPropagation(e)}}>\n
    \n
    \n
    \n \n Request Funding - {loan['id']}\n \n
    \n
    \n onClickClose(e)}>\n
    \n
    \n

    Click to confirm your request for funding review.

    \n

    You're one step closer to funding 💰.

    \n

    We'll let you know if anything needs your attention.

    \n
    \n
    \n \n
    \n
    )\n}\n\nexport default RequestFundingModalBody\n","import React, { useContext, useState } from 'react'\nimport XSButton from '../modules/XSButton'\nimport Portal from '../../modules/Portal/index'\nimport AutomobileModal from '../AutomobileModal'\nimport useLbFetch from '../../../hooks/useLbFetch'\nimport getKeyReplacedData from '../../../helpers/getKeyReplacedData'\nimport { handleAnalytics } from '../../../helpers/analyticsHelper'\nimport LoansContext from '../LoansContext'\n\n// Default values for the optional fields as they need to\n// be set explicilty so that the old values are overridden\nconst default_automobile_details = {\n wholesale_value: 0\n}\n\nconst default_purchase_price = {\n purchase_price: 0,\n sales_tax: 0,\n cash_downpayment: 0,\n rebate: 0\n}\n\nconst CTAChangeVehicle = ({\n updateLoan = (loan) => {},\n onCTASuccess = () => {},\n ...props\n}) => {\n const { loan } = props\n const [showModal, setShowModal] = useState(false)\n const [errorText, setErrorText] = useState(\"\")\n const [isSubmittingVehicle, setIsSubmittingVehicle] = useState(false)\n\n const { currentUser } = useContext(LoansContext)\n\n const { fetch: fetchUpdatedLoan } = useLbFetch('/loan_applications/get_loan_by_lbid?loan_data')\n const { fetch: fetchSubmitForApproval } = useLbFetch('/dealers/loans/submit_for_preapproval')\n\n // To render new component each time it is visible\n const [modalKey, setModalKey] = useState(Date.now())\n\n const onCTAClick = () => {\n handleAnalytics({\n eventName: \"Dealer Portal - App List - Click - Change Vehicle\",\n lbid: loan?.lbid,\n currentUser\n })\n\n setShowModal(true)\n setModalKey(Date.now())\n }\n\n const triggerSuccessNotificationModal = () => {\n const notification = {\n success: true,\n title: \"Change vehicle\",\n text: \"Vehicle has been changed successfully\"\n }\n\n $(document).trigger('notifications:add',\n [notification.success, notification.text, '', null, notification.title]\n )\n }\n\n const getUpdatedLoan = async () => {\n const updated_loan_res = await fetchUpdatedLoan({ id: loan.lbid })\n const { form, loan: loan_res } = await updated_loan_res.json()\n\n return {\n ...loan,\n ...loan_res,\n 'reasons-data': null,\n form_data: getKeyReplacedData(form, \"_\", \"-\")\n }\n }\n\n /**\n * Returns a new loan application object that has all the changes applied and has a \n * structure that can be readily used by `handleAnalytics` method\n * @param {Object} loanApplicationChanges All the changed values of the loan application\n * @returns \n */\n const getAnalyticsData = (loanApplicationChanges) => {\n // To avoid editing the `loan` prop\n const loan_application = _.cloneDeep(loan.form_data)\n\n const updated_loan_application = {\n ...loan_application,\n ...loanApplicationChanges,\n\n // Note: handleAnalytics expects these keys to be present in `loanApplication`\n // but `loan.form_data` does not have it. Hence manually adding it.\n // This is just to send correct data to heap\n is_dealership: loan?.is_dealership,\n dealer_id: loan_application?.dealer?.id,\n }\n\n return getKeyReplacedData(updated_loan_application, \"-\", \"_\")\n }\n\n const onAutomobileSubmit = async (automobileDetails, automobilePurchasePrice) => {\n setErrorText(\"\")\n setIsSubmittingVehicle(true)\n\n const payload = {\n email: loan.user_email,\n loan_application: {\n lbid: loan.lbid,\n automobile: {...automobileDetails},\n purchase_price: {...automobilePurchasePrice},\n },\n use_existing_consents: true,\n }\n\n handleAnalytics(\n { \n eventName: \"Dealer Portal - Change Vehicle Modal - Click - Change Vehicle\", \n loanApplication: getAnalyticsData(payload.loan_application), \n loan,\n currentUser\n },\n { lbid: loan?.lbid }\n )\n\n try{\n const res = await fetchSubmitForApproval( getKeyReplacedData(payload, \"-\", \"_\") )\n let { error = false } = await res.json()\n\n // Sometimes error is an object. So, convert it to string.\n if (typeof error === 'object') {\n console.log(\"Error in changing vehicle\", error);\n error = \"Something went wrong. Please try again!\"\n }\n\n if (error) {\n handleAnalytics({\n eventName: \"Dealer Portal - Change Vehicle Modal - View - Unsuccessful Change Notification\",\n lbid: loan?.lbid,\n currentUser\n })\n\n setErrorText(error)\n setIsSubmittingVehicle(false)\n return\n }\n\n // Fetch the updated\n const updated_loan = await getUpdatedLoan()\n\n setShowModal(false)\n setIsSubmittingVehicle(false)\n\n triggerSuccessNotificationModal()\n\n onCTASuccess()\n\n updateLoan(updated_loan)\n } catch(error) {\n handleAnalytics({\n eventName: \"Dealer Portal - Change Vehicle Modal - View - Unsuccessful Change Notification\",\n lbid: loan?.lbid,\n currentUser\n })\n\n console.error(\"Error while saving new vehicle info\", error);\n setErrorText(\"Something went wrong, please try again!\")\n setIsSubmittingVehicle(false)\n }\n }\n\n return (\n
    e.stopPropagation()}>\n \n setShowModal(false)}\n readOnly={false}\n onSubmitClick={onAutomobileSubmit}\n isSubmitting={isSubmittingVehicle}\n errorText={errorText}\n automobileDetails={default_automobile_details}\n automobilePurchasePrice={default_purchase_price}\n />\n \n \n
    \n )\n}\n\nexport default CTAChangeVehicle\n","import React, { useContext } from 'react'\nimport LoansContext from './LoansContext'\nimport { fancyAppStatus } from './DealerPortalHelper/index.js'\n\nconst AppStatusPill = (props) => {\n const { loanId } = props\n const { loans } = useContext(LoansContext)\n const loan = loans[loanId]\n const fancy_app_status = fancyAppStatus(loan)\n\n return (
    \n \n {fancy_app_status.app_status_text}\n \n
    )\n}\n\nexport default AppStatusPill\n","import React, { useState, useEffect, useMemo } from 'react'\nimport { BankAccountHeader, BankAccountIntroText } from './BankAccountIntro.jsx'\nimport Notification from '../modules/Notification.js.jsx'\nimport lb_fetch from '../../helpers/Request'\nimport BankAccountValidations from '../../helpers/BankEntryHelper'\n\nconst strip_field = (field, account) => account[field] ? `XXXX${account[field]}` : ''\n \n// read an individual field from an instance of form JSON,\n// returning a default value according to property name if null\nconst get_account_data = (field, account) => {\n if (field == 'last_4') return strip_field('last_4', account)\n if (field == 'routing_last_4') return strip_field('routing_last_4', account)\n\n const defaultValue = field == 'account_type' ? 'checking' : ''\n\n return account[field] || defaultValue\n}\n\n/*\n initialize form values from bank account JSON, either passed in as a prop or received as response data:\n strip out account name (which is autofilled by plaid and not used here)\n convert any null values (on text fields) to empty strings\n copy account_number's (stripped or empty) value and use it to initialize account_number_verify\n*/\nconst generate_form_values = (account) => {\n const form_fields = Object.keys(account)\n .map(key => {\n if (key == 'account_name') return {}\n \n const new_value = get_account_data(key, account)\n\n if (key == 'routing_last_4') return { ['routing_number']: new_value }\n if (key == 'last_4') return { ['account_number']: new_value }\n\n return { [key]: new_value } \n }) \n .reduce((a, b) => ({...a, ...b}))\n\n const { account_number: account_number_verify } = form_fields \n return { ...form_fields, account_number_verify }\n}\n\nconst BankAccountEntry = ({ lbid, bankAccount, isReadonly = false }) => { \n const [ loading, setLoading ] = useState(false)\n \n const initial_state = generate_form_values(bankAccount)\n const [ formState, setFormState ] = useState(initial_state)\n const [ formErrors, setFormErrors ] = useState(null)\n \n const should_have_next_button = Boolean(bankAccount.last_4 && !isReadonly)\n const [ nextButtonEnabled, setNextButtonEnabled ] = useState(should_have_next_button)\n // last_4 is something of a lazy check, but just represents a value\n // which will only exist on an account that's already been submitted and validated\n \n const save_text = loading ? 'Saving' : 'Save'\n \n const validations = useMemo(() => {\n return new BankAccountValidations(formState)\n }, [formState])\n \n const fields_to_validate = Object.keys(validations.validations())\n \n const form_valid = useMemo(() => {\n return validations.valid()\n }, [validations])\n\n const save_disabled = !form_valid || loading\n \n useEffect(() => {\n if (formErrors) return\n\n const initial_errors = fields_to_validate\n .map(key => ({[key]: null}))\n .reduce((a, b) => ({ ...a, ...b }))\n \n setFormErrors(initial_errors)\n }, [])\n\n if (!formErrors) return null\n \n const validate_field = (field) => validations.errors(field).message\n\n const update_field = (field, value) => {\n const next_field = { [field]: value}\n const next_state = { ...formState, ...next_field }\n\n setFormState(next_state)\n\n if (fields_to_validate.includes(field)) {\n const next_errors = { ...formErrors, [field]: null }\n setFormErrors(next_errors)\n }\n }\n\n const handle_change = (e) => update_field(e.target.id, e.target.value)\n\n const handle_blur = (e) => {\n const field = e.target.id\n\n const error = validate_field(field)\n if (!error && !formErrors[field]) return\n\n const next_errors = { ...formErrors, [field]: error }\n setFormErrors(next_errors)\n }\n \n const handle_focus = (e) => {\n const field = e.target.id\n if (!formErrors[field]) return\n\n const next_errors = { ...formErrors }\n delete next_errors[field]\n setFormErrors(next_errors)\n }\n \n const handle_submit = async (e) => {\n e.preventDefault()\n\n // validate all fields; if any have errors, exit after updating state accordingly\n const errors = fields_to_validate.map(key => {\n const value = validate_field(key)\n return { [key]: value }\n }).reduce((a, b) => ({...a, ...b}))\n \n const has_errors = Object.values(errors).some(error => error)\n\n if (has_errors) {\n setFormErrors(errors)\n return\n }\n const notification = { success: false, title: 'Failed to Save' }\n \n setLoading(true)\n \n // eager UI change\n const user_entry = { ...formState }\n const initial_field_update = generate_form_values(user_entry)\n setFormState(initial_field_update)\n\n let response\n try {\n const endpoint = `/loan_applications/${lbid}/bank_account/update`\n const options = { method: 'POST', body: { bank_account: user_entry } }\n\n response = await lb_fetch(endpoint, options)\n\n if (response.status != 200) throw new Error(`server could not save selection... status: ${response.status}`)\n\n const data = await response.json()\n\n const final_field_update = generate_form_values(data)\n setFormState(final_field_update)\n \n const { first_name, last_name, bank_name, last_4 } = data\n\n notification.text = `successfully saved ${bank_name} account ending in ${last_4} for ${first_name} ${last_name}`\n notification.success = true\n notification.title = 'Saved Successfully'\n\n setNextButtonEnabled(true)\n }\n catch (error) {\n setFormState(user_entry)\n\n // don't show the server response to the user...\n notification.text = 'Failed to save. Try again, or contact us.'\n // ...but do log it, in case it's needed for debug purposes\n console.error(error.message)\n }\n finally {\n $(document).trigger('notifications:add', [notification.success, notification.text, '', null, notification.title])\n setLoading(false)\n }\n }\n\n\n const render_form_field = (field, custom_label = '') => {\n const field_value = formState[field]\n const label_text = `${custom_label || field.replaceAll('_', ' ')}*`\n\n const field_error = formErrors[field]\n const error_classes = field_error && 'form-error form-error--warning'\n\n if (field == 'account_type') return (\n
  • \n \n \n \n \n \n
  • \n )\n\n return (\n
  • \n \n \n {field_error &&
    {field_error}
    }\n
  • \n )\n }\n\n const render_submit_button = () => (\n
    \n \n {save_text}\n \n
    \n )\n\n // ASK: should this just be broken out into something recyclable?\n // I'm sure there'll need to be analogs to it at other steps...\n const render_next_button = () => (\n \n )\n \n return (\n
    \n
    \n
    \n
    \n \n \n\n
    \n
    \n

    \n \n We can’t connect automatically.\n

    \n

    Please enter your account information manually.

    \n
    \n
    \n\n \n
    \n
      \n {render_form_field('first_name')}\n {render_form_field('last_name')}\n {render_form_field('account_type')}\n {render_form_field('bank_name')}\n
    \n
      \n {render_form_field('routing_number')}\n {render_form_field('account_number')}\n {render_form_field('account_number_verify', 'Re-enter Account Number')}\n
    \n {!isReadonly && render_submit_button()}\n
    \n
    \n
    \n
    \n {nextButtonEnabled && render_next_button()}\n
    \n\n )\n}\n\nexport default BankAccountEntry","// individual validation rules -- these return true if passed, and an error string if false\n\nconst checkTruncated = (val) => val.startsWith('XXXX') && val.length == 8\nconst checkMinCharLength = (val, min_length) => val.length >= min_length\n\nconst requireValue = (val) => val.length != 0 || `Can't be blank!`\nconst requireAllNumbers = (val) => {\n const pattern = /\\D+/\n\n const only_digits = !pattern.test(val) // check that there are no non-digit characters\n const is_truncated = checkTruncated(val)\n\n const passes = only_digits || is_truncated\n\n return passes || 'Must only contain numbers'\n}\n\nconst requireMinDigitLength = (val, min_length) => {\n const passes = checkMinCharLength(val, min_length) || checkTruncated(val)\n\n return passes || `Must be at least ${min_length} digits`\n}\n\nconst requireMinWordLength = (val, min_length) => checkMinCharLength(val, min_length)\n || `Must be at least ${min_length} letters`\n\nconst requireDigitLength = (val, length) => {\n const meets_length_requirements = val.length == length\n\n const passes = meets_length_requirements || checkTruncated(val)\n\n return passes || `Must be ${length} digits`\n}\n\nconst limitDigitLength = (val, max_length) => val.length <= max_length || `Must not exceed ${max_length} digits`\n\nconst matchAccountNumbers = (verify, original) => verify == original || 'Account numbers must match'\n\n// convert the output from a rule above to an object showing the validation status and (if present) message\nconst getError = (rule) => {\n const status = typeof(rule) != 'string' // verify that a validation function hasn't output an error\n const error = status ? {} : { message: rule }\n\n return { status, ...error }\n}\n\nclass BankAccountValidations {\n constructor(form) {\n this.form = form\n }\n\n validations() {\n // setup field-specific validations\n const [ first_name, last_name, bank_name ] = Array(3).fill([])\n const _validations = {\n first_name,\n last_name,\n bank_name,\n routing_number: [ this.validateRoutingNum.bind(this) ],\n account_number: [ this.validateAcctNum.bind(this) ],\n account_number_verify: [ this.validateAcctNumVerify.bind(this) ]\n }\n\n // loop over keys and add generic validations\n for (let key of Object.keys(_validations)) {\n const key_validations = _validations[key]\n\n const is_number = key.includes('number')\n\n const check_name_or_number = () => is_number ? this.validateNumbers(key) : this.validateName(key)\n const check_presence = () => this.validatePresence(key)\n\n _validations[key] = key == 'account_number_verify'\n ? [ check_presence, ...key_validations, check_name_or_number ]\n : [ check_presence, check_name_or_number, ...key_validations ]\n }\n\n return _validations\n }\n\n errors(key) {\n const validations = this.validations()\n const key_validations = validations[key] || []\n let resp = {\n status: true\n }\n key_validations.some((validation) => {\n const validation_data = validation()\n if (!validation_data['status']) {\n resp = validation_data\n return true\n }\n return false\n })\n\n return resp\n }\n\n valid() {\n const _errors = this.validations()\n let valid = true\n Object.keys(_errors).some((key) => {\n const validation = this.errors(key)\n valid = validation['status']\n return !valid\n })\n\n return valid\n }\n\n validatePresence(key) {\n const value = this.form[key] || ''\n\n const rule = requireValue(value)\n return getError(rule)\n }\n\n validateName(key) {\n const value = this.form[key] || ''\n\n const rule = requireMinWordLength(value, 2)\n return getError(rule)\n }\n\n validateNumbers(key) {\n const value = this.form[key] || ''\n\n const rule = requireAllNumbers(value)\n return getError(rule)\n }\n\n validateRoutingNum() {\n const rule = requireDigitLength(this.form.routing_number, 9)\n return getError(rule)\n }\n\n validateAcctNum() {\n const value = this.form.account_number\n const rules = [requireMinDigitLength(value, 8), limitDigitLength(value, 17)]\n\n for (let rule of rules) {\n const validated = getError(rule)\n if (!validated.status) return validated\n }\n\n return { status: true }\n }\n\n validateAcctNumVerify() {\n const { account_number, account_number_verify } = this.form\n\n const rule = matchAccountNumbers(account_number_verify, account_number)\n const validated = getError(rule)\n\n // check validateAcctNum for the rest. If they match, they should just show the same status (error or otherwise)\n return validated.status ? this.validateAcctNum() : validated\n }\n\n}\n\nexport default BankAccountValidations\n","import { useCallback } from 'react'\nimport useLbFetch from '../../../hooks/useLbFetch'\n\nconst useCreateOrUpdateDocument = ({ lbid, callBack, errorCallback }) => {\n const url = `/loan_applications/${lbid}/documents/create_update_document`\n const token = $('meta[name=\"csrf-token\"]').attr('content')\n\n const { fetch } = useLbFetch(url, {\n headers: {\n \"Content-Type\": false,\n },\n method: 'post'\n })\n\n const uploadFile = useCallback(async (file, slotId) => {\n const data = new FormData()\n data.append('document', file)\n data.append('collection_slot_id', slotId)\n data.append('authenticity_token', token)\n\n try {\n const res = await fetch(data)\n if (res.ok) {\n const json = await res.json()\n callBack(json)\n } else {\n alert('Try another file')\n console.log('Uploading File Error')\n errorCallback({ data: { res, slotId } })\n }\n } catch (error) {\n console.log('Uploading Error', error)\n }\n }, [lbid, callBack])\n\n return [uploadFile]\n}\n\nexport default useCreateOrUpdateDocument;\n\n","import React from 'react'\n\nconst ContractStep = (props) => {\n const { title, infoList, description } = props\n // title should be a string\n // description should be either a string (will be either text or an tag)\n // infoList should be array that has elements with {key (string), label (string), data (string), bold (boolean)}\n\n const renderList = () => {\n const list = infoList.map(elem => {\n if (elem.bold) {\n return(
  • \n {elem.label}\n {elem.data}\n
  • )\n } else {\n return(
  • \n {elem.label}\n {elem.data}\n
  • )\n }\n })\n \n return list\n }\n\n const renderHeader = () => {\n return (
    \n {title}\n {description}\n
    )\n }\n\n return (
    \n {renderHeader()}\n
      \n {renderList()}\n
    \n
    )\n}\n\nexport default ContractStep\n","import { dealStructure, downpaymentPercentage } from \"../../../../deal_structure/DealStructureHelpers\"\nimport NumberFormatter from \"../../../../../number_formatter\"\n\nconst convertToMonths = (duration_in_years) => {\n if (!duration_in_years) {\n return null\n }\n let year = duration_in_years.split('-')[0] || 0\n return parseInt(year * 12)\n}\n\n// lol, dealer portal form has dashes instead of underscores, thusly meaning you can't use dealer\n// portal form easily with functions outside dealer portal. Probably we should fix this at some\n// point but for now, I present the Entirely Excessive Key Converter\n\nconst convertKeys = (form) => {\n let convertedForm = {}\n let newFormKey\n\n Object.keys(form).forEach(formKey => {\n let elem = form[formKey]\n newFormKey = formKey.split(\"-\").join(\"_\")\n if (typeof elem === \"object\" && !Array.isArray(elem) && elem !== null) {\n convertedForm[newFormKey] = convertKeys(elem)\n } else {\n convertedForm[newFormKey] = elem\n }\n })\n\n return convertedForm\n}\n\n\nconst reviewStepOneData = (form) => {\n if (!form) {\n return []\n }\n\n const loan_term = form['loan-term']\n const automobile = form['automobile']\n\n return [\n {\n key: \"totalLoanAmt\",\n label: \"Total Loan Amount\",\n data: `$ ${NumberFormatter.formatMoney(loan_term['loan-amount'], true)}`,\n bold: true\n },\n {\n key: \"monthlyPayment\",\n label: \"Monthly Payment\",\n data: `$ ${NumberFormatter.formatMoney(loan_term['monthly-payment'], true)}`,\n bold: false\n },\n {\n key: \"autoVin\",\n label: \"VIN\",\n data: `${automobile['vin']}`,\n bold: false\n },\n {\n key: \"loanTerm\",\n label: \"Term\",\n data: `${convertToMonths(loan_term['loan-duration'])} Months`,\n bold: false\n },\n {\n key: \"rateAPR\",\n label: \"Customer Rate / APR\",\n data: `${loan_term['loan-rate']} % / ${loan_term['APR']} %`,\n bold: false\n }\n ]\n}\n\nconst reviewStepTwoData = (form) => {\n if (!form) {\n return []\n }\n const convertedForm = convertKeys(form)\n const purchase_price = form['purchase-price']\n const loan_term = form['loan-term']\n const { total_downpayment, lendbuzz_fees } = dealStructure(convertedForm)\n const downpayment_percentage = downpaymentPercentage(purchase_price['purchase-price'], total_downpayment)\n return [\n {\n key: \"purchasePrice\",\n label: \"Purchase Price\",\n data: `$ ${NumberFormatter.formatMoney(purchase_price['purchase-price'], true)}`,\n bold: true\n },\n {\n key: \"totalDownpayment\",\n label: `Total Downpayment (${downpayment_percentage} %)`,\n data: `$ ${NumberFormatter.formatMoney(total_downpayment, true)}`,\n bold: true\n },\n {\n key: \"cashDownpayment\",\n label: \"Cash Downpayment\",\n data: `$ ${NumberFormatter.formatMoney(purchase_price['cash-downpayment'], true)}`,\n bold: false\n },\n {\n key: \"salesTax\",\n label: \"Sales Tax\",\n data: `$ ${NumberFormatter.formatMoney(purchase_price['sales-tax'], true)}`,\n bold: false\n },\n {\n key: \"netFinanced\",\n label: \"Net Financed Amount\",\n data: `$ ${NumberFormatter.formatMoney(loan_term['net-financed-amount'], true)}`,\n bold: true\n },\n {\n key: \"netCheck\",\n label: \"Net Check\",\n data: `$ ${NumberFormatter.formatMoney(loan_term['net-check'], true)}`,\n bold: true\n },\n {\n key: \"lendbuzzFees\",\n label: \"Lendbuzz Fees (charged to consumer)\",\n data: `$ ${NumberFormatter.formatMoney(lendbuzz_fees, true)}`\n }\n ]\n}\n\nexport {\n reviewStepOneData,\n reviewStepTwoData\n}\n","import React, { useMemo } from 'react'\nimport ContractStep from './ContractStep'\nimport { reviewStepOneData, reviewStepTwoData } from './ReviewHelper'\n\nconst Review = ({ onClickClose, onClickPrimary, form }) => {\n const automobile = form?.automobile || {}\n const vehicle_name_view = ({`${automobile['year']} ${automobile['make']} ${automobile['model']}`})\n\n const block1Data = useMemo(() => {\n return reviewStepOneData(form)\n }, [form])\n\n const block2Data = useMemo(() => {\n return reviewStepTwoData(form)\n }, [form])\n\n const handleRestructureDeal = (e) => {\n e.stopPropagation()\n onClickClose(e)\n }\n\n const renderDealStructureLink = () => {\n if (form) {\n return (\n handleRestructureDeal(e)}\n rel=\"noopener noreferrer\"\n className=\"text-xs font-light\"\n >\n Restructure Deal\n
    \n )\n }\n\n return (Loading...)\n }\n\n const renderPrintLoan = () => {\n return (\n {e.stopPropagation()}}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"pt-2 pl-2 font-light text-xs\"\n >\n Print Loan Summary\n \n )\n }\n\n const renderNextButton = () => {\n return (\n onClickPrimary(e)}\n >\n Next\n \n )\n }\n\n const renderCancelButton = () => {\n return (\n onClickClose(e)}\n >\n Cancel\n \n )\n }\n\n return (\n
    e.stopPropagation(e)}>\n
    \n
    \n
    \n \n 1. Review Loan Summary and Deal Structure\n \n onClickClose(e)}>\n
    \n \n Take a minute to review the loan details.\n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n {renderPrintLoan()}\n
    \n {renderCancelButton()}\n {renderNextButton()}\n
    \n
    \n
    \n )\n}\n\nexport default Review\n","import React from 'react'\n\nconst Loader = ({ onClickClose, message }) => {\n\n return (\n
    e.stopPropagation(e)}>\n
    \n
    \n
    \n \n Request Contract\n \n
    \n
    \n onClickClose(e)}>\n
    \n
    \n {message || \"Loading...\"}\n
    \n
    \n )\n}\n\nexport default Loader\n","import React from 'react'\n\nconst MissingDataModalBody = (props) => {\n const { onClickClose, loan } = props\n\n return(\n
    {e.stopPropagation(e)}}>\n
    \n
    \n
    \n \n Missing Information - {loan['id']}\n \n
    \n
    \n onClickClose(e)}>\n
    \n
    \n

    Some information regarding this application has changed.

    \n

    Please try again or reach out to your account manager for more assistance

    \n
    \n
    \n \n
    \n
    )\n}\n\nexport default MissingDataModalBody\n","import React from 'react'\nimport XSButton from '../modules/XSButton'\n\n// app_status \"PRE_APPROVED\", \"PRE_APPROVAL_PENDING\"\nconst CTAViewEditDeal = (props) => {\n const { loan } = props\n const form = loan['form_data']\n const app_status = form['app-status']\n\n const handleClick = (e) => {\n e.stopPropagation()\n window.open(`/loan_applications/${loan['lbid']}/deal_structure/edit`)\n }\n\n const generateButtonText = () => {\n if (app_status === \"PRE_APPROVED\") {\n return \"Edit Deal\"\n }\n\n return \"View Deal\"\n }\n\n return (
    \n handleClick(e)} buttonText={generateButtonText()} primary={false} />\n
    )\n}\n\nexport default CTAViewEditDeal\n","import React, { useState, useEffect, useContext } from 'react'\nimport XSButton from '../../modules/XSButton.jsx';\nimport LBModal from '../../../modules/LBModal.js.jsx';\nimport DealerLoanRequests from '../../../../helpers/DealerLoanRequests';\nimport Review from './Review/index.jsx';\nimport GetHelp from './GetHelp.jsx';\nimport Finalize from './Finalize/index.jsx';\nimport Loader from './Loader.jsx';\nimport LoansContext from '../../LoansContext.jsx';\nimport { requestContractCheck } from '../../DealerPortalHelper/index.js';\nimport MissingDataModalBody from '../MissingDataModalBody.jsx';\nimport CTAViewEditDeal from '../CTAViewEditDeal.jsx';\nimport Portal from '../../../modules/Portal';\n\nconst RequestContract = (props) => {\n const { loan } = props\n const { updateLoan, rawLoans } = useContext(LoansContext)\n const form = loan['form_data']\n // four states: \"none\", \"review\", \"missing data\", \"request\"\n const [contractStep, setContractStep] = useState(\"none\")\n const [modal, setModal] = useState(false)\n const [validationsLoader, setValidationsLoader] = useState(false)\n const [loader, setLoader] = useState(false)\n const [valid, setValid] = useState(null)\n\n const edit_deal = !requestContractCheck(loan)\n\n useEffect(() => {\n if (valid && contractStep === \"none\") {\n setContractStep(\"review\")\n }\n }, [valid])\n\n const validationsRequest = async () => {\n if (!loan) {\n return\n }\n\n if (!loan['lbid']) {\n console.log(`No lbid for loan ${loan['id']} found`);\n return\n }\n\n if (form['app-status'] !== 'PRE_APPROVED') {\n return\n }\n\n setValidationsLoader(true)\n\n let data = await DealerLoanRequests.validationsRequest(loan['lbid'])\n\n setValid(data?.valid)\n setValidationsLoader(false)\n }\n\n const getLoanRequest = async () => {\n if (!loan) {\n return\n }\n\n if (!loan['id']) {\n console.log(`No loan id found`);\n return\n }\n\n\n let data = await DealerLoanRequests.qslSingleLoanRequest(loan['id'])\n updateLoan(data, rawLoans)\n\n if (!requestContractCheck(data)) {\n setContractStep(\"missing data\")\n } else {\n await validationsRequest()\n }\n }\n\n const handleValidationsModal = async (e) => {\n e.stopPropagation()\n setLoader(true)\n setModal(true)\n await getLoanRequest()\n setLoader(false)\n }\n\n const onClickAway = (e) => {\n if (e) {\n e.stopPropagation()\n }\n\n setContractStep(\"none\")\n setValid(false)\n setModal(false)\n }\n\n const onClickNext = (e) => {\n e.stopPropagation()\n setContractStep(\"request\")\n }\n\n const onClickBack = (e) => {\n e.stopPropagation()\n setContractStep(\"review\")\n }\n\n const renderModal = () => {\n let modalBody = ()\n\n if (loader || validationsLoader) {\n modalBody = ()\n } else if (contractStep === \"review\") {\n modalBody = ()\n } else if (contractStep === \"request\") {\n modalBody = ()\n } else if (contractStep === \"missing data\") {\n modalBody = ()\n }\n\n return (\n \n onClickAway(e)}>\n {modalBody}\n \n )\n }\n\n const renderButton = () => {\n if (edit_deal) {\n return ()\n }\n\n return ( handleValidationsModal(e)}\n buttonText=\"Request Contract\"\n primary={true}\n />)\n }\n\n return (\n
    \n {renderButton()}\n {renderModal()}\n
    \n )\n}\n\nexport default RequestContract\n","import React from 'react'\n\nconst Loader = ({ onClickClose, message }) => {\n\n return (\n
    e.stopPropagation(e)}>\n
    \n
    \n
    \n \n Request Funding\n \n
    \n
    \n onClickClose(e)}>\n
    \n
    \n {message || \"Loading...\"}\n
    \n
    \n )\n}\n\nexport default Loader\n","import React, { useState, useContext } from 'react'\nimport XSButton from '../../modules/XSButton.jsx'\nimport { requestFundingCheck } from '../../DealerPortalHelper/index.js'\nimport MissingDataModalBody from '../MissingDataModalBody.jsx'\nimport LoansContext from '../../LoansContext.jsx'\nimport DealerLoanRequests from '../../../../helpers/DealerLoanRequests.js'\nimport LBModal from '../../../modules/LBModal.js.jsx'\nimport RequestFundingModalBody from './RequestFundingModalBody.jsx'\nimport Loader from './Loader.jsx'\n\nconst RequestFunding = (props) => {\n const { loan } = props\n const { updateLoan, rawLoans, currentUser, userEmail, repName } = useContext(LoansContext)\n const [requestFundingModal, setRequestFundingModal] = useState(false)\n // \"success\", \"missing data\" \"error\", null\n const [requestFundingStatus, setRequestFundingStatus] = useState(null)\n const [loader, setLoader] = useState(false)\n\n const getLoanRequest = async () => {\n if (!loan) {\n return\n }\n\n if (!loan['id']) {\n console.log(`No loan id found`);\n return\n }\n\n let data = await DealerLoanRequests.qslSingleLoanRequest(loan['id'])\n updateLoan(data, rawLoans)\n\n if (!requestFundingCheck(data)) {\n setRequestFundingStatus(\"missing data\")\n }\n }\n\n const disable_button = () => {\n if (requestFundingCheck(loan)) {\n return false\n }\n\n return true\n }\n\n const handleAnalytics = (origin) => {\n Modern.handleAnalytics(origin, currentUser, userEmail, repName)\n }\n\n const handleRequestFundingModal = async (e, toggle) => {\n if (e) {\n e.stopPropagation()\n }\n\n setLoader(true)\n setRequestFundingModal(toggle)\n await getLoanRequest()\n setLoader(false)\n }\n\n const onClickAway = (e) => {\n if (e) {\n e.stopPropagation()\n }\n\n setRequestFundingModal(false)\n }\n\n const renderRequestFundingButton = () => {\n return ( handleRequestFundingModal(e, true)}\n buttonText={\"Request Funding\"}\n primary={true}\n disabled={disable_button()}\n />)\n }\n\n const renderModalBody = () => {\n if (loader) {\n return (\n \n )\n }\n\n if (requestFundingStatus === \"missing data\") {\n return()\n }\n\n return ()\n }\n\n return(
    \n {renderRequestFundingButton()}\n onClickClose(e)}>\n {renderModalBody()}\n \n
    )\n}\n\nexport default RequestFunding\n","import React from 'react'\nimport XSButton from '../modules/XSButton'\n\nconst CTAContinueApp = (props) => {\n const { loan } = props\n\n const handleClick = (e) => {\n e.stopPropagation()\n window.open(`/dealers/loan/application?loan_application_id=${loan['lbid']}`)\n }\n\n return (
    \n handleClick(e)}\n buttonText=\"Continue Application\"\n primary={false}\n />\n
    )\n}\n\nexport default CTAContinueApp\n","import React from 'react'\nimport XSButton from '../modules/XSButton'\n\n// App status - \"DENIED\", \"PRE_APPROVAL_DENIED\", \"PENDING_LICENSE\", \"CANCELED\"\nconst CTANotApplicable = () => {\n return (
    \n \n
    )\n}\n\nexport default CTANotApplicable\n","import React from 'react'\nimport XSButton from '../modules/XSButton'\n\n// App status - \"IN_VERIFICATION\", \"IN_FUNDING\"\nconst CTAUnderReview = () => {\n return (
    \n \n
    )\n}\n\nexport default CTAUnderReview\n","import React, { useState } from 'react'\nimport XSButton from '../modules/XSButton'\nimport ResendContractModal from '../modules/ResendContractModal'\nimport Portal from '../../modules/Portal/index'\n\nconst CTAResendContract = (props) => {\n const { loan } = props\n const [commTypeModal, setCommTypeModal] = useState(false)\n\n return (\n
    \n
    e.stopPropagation()}>\n \n \n \n setCommTypeModal(true)}\n buttonText=\"Resend Contract\"\n primary={false}\n />\n
    \n
    )\n}\n\nexport default CTAResendContract\n\n","import React, { useContext } from 'react'\nimport RequestContract from './RequestContract/index.jsx'\nimport CTAResubmit from './CTAResubmit.jsx'\nimport RequestFunding from './RequestFunding/index.jsx'\nimport CTAContinueApp from './CTAContinueApp.jsx'\nimport LoansContext from '../LoansContext.jsx'\nimport CTAViewEditDeal from './CTAViewEditDeal.jsx'\nimport CTANotApplicable from './CTANotApplicable.jsx'\nimport CTAUnderReview from './CTAUnderReview.jsx'\nimport CTAResendContract from './CTAResendContract.jsx'\nimport { derivedAppStatus } from '../DealerPortalHelper/index.js'\nimport CTAChangeVehicle from './CTAChangeVehicle.jsx'\nimport { isCollateralNotQualified } from '../DealerPortalHelper/ReasonHelper.js'\n\nconst CTAButton = ({ loanId, onChangeVehicleCTASuccess = () => { }, ...props }) => {\n const { rawLoans, loans, updateLoan } = useContext(LoansContext)\n const loan = loans[loanId]\n const derived_app_status = derivedAppStatus(loan)\n\n const renderCTAButton = () => {\n if (derived_app_status === \"PRE_APPROVED\") {\n return \n } else if ([\"PRE_APPROVED_EXPIRED\", \"APPROVED_EXPIRED\"].includes(derived_app_status)) {\n return \n } else if (derived_app_status === \"APPROVED\") {\n return \n } else if (derived_app_status === \"DOC_SIGNED\") {\n return \n } else if (derived_app_status === \"IN_APPLICATION\" && isCollateralNotQualified(loan)) {\n return ( updateLoan(loan, rawLoans)}\n onCTASuccess={onChangeVehicleCTASuccess}\n />)\n } else if (derived_app_status === \"IN_APPLICATION\") {\n return ()\n } else if (derived_app_status === \"PENDING_PRE_APPROVAL\") {\n return ()\n } else if ([\"IN FUNDING\", \"IN_VERIFICATION\"].includes(derived_app_status)) {\n return ()\n }\n\n return ()\n }\n\n return (\n
    \n {renderCTAButton()}\n
    )\n}\n\nexport default CTAButton\n","import React from 'react'\n\nconst DisplayBoxTrackerMini = (props) => {\n const {\n status,\n icon,\n title\n } = props\n\n const determineTrackerColor = () => {\n let tracker_color = 'text-gray-350'\n\n if ([\"done\", \"verified\"].includes(status)) {\n tracker_color = 'text-green-600'\n } else if (status === \"required\") {\n tracker_color = 'text-yellow-600'\n } else if (status === \"available\") {\n tracker_color = 'text-gray-400'\n } else {\n tracker_color = 'text-gray-350'\n }\n\n return tracker_color\n }\n\n return(\n
    \n
    \n \n {icon}\n \n
    \n
    \n )\n}\n\nexport default DisplayBoxTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { approvalDocsStatus } from '../DealerPortalHelper'\n\nconst ApprovalTrackerMini = (props) => {\n const { loan } = props\n const status = approvalDocsStatus(loan)\n const icon_view = (\n \n A\n )\n\n return ()\n}\n\nexport default ApprovalTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { bankAccountStatus } from '../DealerPortalHelper'\n\nconst BankTrackerMini = (props) => {\n const { loan } = props\n const status = bankAccountStatus(loan)\n const icon_view = ()\n\n return(\n \n )\n}\n\nexport default BankTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { contractStatus } from '../DealerPortalHelper'\n\nconst ContractTrackerMini = (props) => {\n const { loan } = props\n const status = contractStatus(loan)\n const icon_view = \n\n return(\n \n )\n}\n\nexport default ContractTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { fundingStatus } from '../DealerPortalHelper'\n\nconst FundingTrackerMini = (props) => {\n const { loan } = props\n const status = fundingStatus(loan)\n const icon_view = (\n \n F\n )\n\n return(\n \n )\n}\n\nexport default FundingTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { gpsStatus } from '../DealerPortalHelper'\n\nconst GpsTrackerMini = (props) => {\n const { loan } = props\n const status = gpsStatus(loan)\n const icon_view = ()\n\n return(\n \n )\n}\n\nexport default GpsTrackerMini\n","import React from 'react'\nimport DisplayBoxTrackerMini from './DisplayBoxTrackerMini'\nimport { incomeStatus } from '../DealerPortalHelper/index'\n\nconst IncomeVerifyTrackerMini = (props) => {\n const { loan } = props\n const status = incomeStatus(loan)\n const icon_view = ()\n\n return(\n \n )\n}\n\nexport default IncomeVerifyTrackerMini\n","import React, { useContext } from 'react'\nimport LoansContext from '../LoansContext'\nimport ApprovalTrackerMini from './ApprovalTrackerMini'\nimport BankTrackerMini from './BankTrackerMini'\nimport ContractTrackerMini from './ContractTrackerMini'\nimport FundingTrackerMini from './FundingTrackerMini'\nimport GpsTrackerMini from './GpsTrackerMini'\nimport IncomeVerifyTrackerMini from './IncomeVerifyTrackerMini'\n\nconst LoanTracker = (props) => {\n const { loanId } = props\n const { loans } = useContext(LoansContext)\n const loan = loans[loanId]\n const form = loan['form_data']\n\n const renderGps = () => {\n if (!form['gps-installed']) {\n return null\n }\n return \n }\n\n return(\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n \n {renderGps()}\n
    \n
    \n
    )\n}\n\nexport default LoanTracker\n","import React, { useContext } from 'react'\nimport LoansContext from '../../LoansContext'\n\nconst DisplayBoxTracker = (props) => {\n const {\n status,\n icon,\n title,\n onClick,\n footer,\n handle,\n displayText,\n onClickStatuses = ['required', 'available', \"done\"]\n } = props\n\n const { currentUser, repName, userEmail } = useContext(LoansContext)\n\n const handleAnalytics = (origin) => {\n let tracker_status = null\n\n if (status) {\n switch(status) {\n case 'verified':\n tracker_status = 'green'\n break;\n case 'done':\n tracker_status = 'green'\n break;\n case 'available':\n tracker_status = 'gray'\n break;\n case 'required':\n tracker_status = 'orange'\n break;\n default:\n console.log('something went wrong')\n break;\n }\n }\n\n const data = {\n handle: handle,\n text: displayText,\n status: tracker_status\n }\n\n Modern.handleAnalytics(origin, currentUser, userEmail, repName, data)\n }\n\n\n const determineTrackerColor = () => {\n let tracker_color = 'text-gray-350'\n\n\n if ([\"done\", \"verified\"].includes(status)) {\n tracker_color = 'text-green-600'\n } else if (status === \"required\") {\n tracker_color = 'text-yellow-600'\n } else if (status === \"available\") {\n tracker_color = 'text-gray-400'\n } else {\n tracker_color = 'text-gray-350'\n }\n\n return tracker_color\n }\n\n const determineTitleColor = () => {\n if (status === \"disabled\") {\n return \"text-gray-350\"\n }\n\n return \"text-black\"\n }\n\n const determineLinkClasses = () => {\n if (!onClick) {\n return \"text-muted\"\n }\n\n // extremely hacky fix for an edge case sorry\n if (title === \"Contract\" && displayText === \"Contact Sales\") {\n return \"text-muted cursor-default\"\n }\n\n if (onClickStatuses.includes(status)) {\n return 'cursor-pointer text-primary-hover'\n }\n\n return 'text-muted'\n }\n\n const onClickTracker = () => {\n const statusCheck = onClickStatuses\n\n\n if (!onClick) {\n return () => {handleAnalytics('tracker-icon')}\n } else if (statusCheck.includes(status)) {\n return () => {\n handleAnalytics('tracker-icon')\n onClick()\n }\n }\n\n return () => {handleAnalytics('tracker-icon')}\n }\n\n return(\n
    \n
    \n
    \n \n {icon}\n \n
    \n {title.toUpperCase()}\n
    \n
    \n {footer}\n
    \n
    \n
    \n
    )\n}\n\nexport default DisplayBoxTracker\n","import React from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { approvalDocsStatus } from '../../DealerPortalHelper'\n\nconst ApprovalTracker = (props) => {\n const { loan } = props\n\n const status = approvalDocsStatus(loan)\n const icon_view = (\n \n A\n )\n\n const generateApprovalText = () => {\n // States: 'Upload\", \"Uploaded\", \"Upload X of Y\", \"Re-upload (Rejected)\", \"Verified\", \"\"\n\n const documents_data = loan['documents_data']\n const { approval_documents={} } = documents_data\n const { approval_stats = {}, rejected_stats = {} } = approval_documents\n if (status === \"disabled\") {\n return \"\"\n } else if (status === \"verified\") {\n return \"Verified\"\n } else if (status === \"done\") {\n return 'Uploaded'\n } else if (rejected_stats?.total !== 0) {\n return 'Re-upload (Rejected)'\n } else if (approval_stats?.uploaded !== 0) {\n return `Upload ${approval_stats['uploaded']} of ${approval_stats['total']}`\n }\n\n return \"Upload\"\n }\n\n const onClick = () => {\n let approval_link = `/loan_applications/${loan['lbid']}/documents/edit`\n\n window.open(approval_link)\n }\n\n const renderApprovalFooter = () => {\n return (
    \n {generateApprovalText()}\n
    )\n }\n\n return (\n \n )\n}\n\nexport default ApprovalTracker\n","import React from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { bankAccountStatus } from '../../DealerPortalHelper'\n\nconst BankTracker = (props) => {\n const { loan } = props\n const form = loan['form_data']\n const status = bankAccountStatus(loan)\n const app_status = form['app-status']\n const icon_view = ()\n\n const generateBankText = () => {\n // options - \"Resend\", \"Edit\", \"Connect Another Bank\", \"Verified\", \"\"\n const is_plaid_required = form['financial-data-required']\n\n if (status === \"disabled\") {\n return \"\"\n } else if (status === \"verified\") {\n return \"Verified\"\n } else if (status === \"done\" && is_plaid_required) {\n return \"Connect Another Bank\"\n } else if (status === \"required\" && is_plaid_required) {\n return \"Resend\"\n } else if (is_plaid_required) {\n return \"Connect Bank\"\n } else {\n return \"Edit\"\n }\n\n return\n }\n\n const onClick = () => {\n const link_bank_account_url = form['financial-data-required'] ? 'financial_pulling' : 'bank_account'\n let bank_link = `/loan_applications/${loan['lbid']}/${link_bank_account_url}/edit`\n window.open(bank_link)\n }\n\n const renderBankFooter = () => {\n let underline = \"underline\"\n\n if (status === \"verified\") {\n underline = \"no-underline\"\n }\n\n if (app_status === \"IN_VERIFICATION\") {\n return null\n }\n\n return (
    \n {generateBankText()}\n
    )\n }\n\n return(\n \n )\n}\n\nexport default BankTracker\n","import React, { useState } from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { contractStatus } from '../../DealerPortalHelper'\nimport Portal from '../../../modules/Portal'\nimport ResendContractModal from '../../modules/ResendContractModal'\n\nconst ContractTracker = (props) => {\n const { loan } = props\n const [commModal, setCommModal] = useState(false)\n const form = loan['form_data']\n const status = contractStatus(loan)\n const app_status = form['app-status']\n const icon_view = ()\n\n const generateContractText = () => {\n // States: \"Contact Sales\", \"Resend\", \"Verified\", \"\"\n \n if (status === \"verified\") {\n return \"Verified\"\n } else if (app_status === \"IN_VERIFICATION\" || status === \"disabled\") {\n return \"\"\n } else if (app_status === \"APPROVED\") {\n return \"Resend\"\n } \n\n return \"Contact Sales\"\n }\n\n const onClick = () => {\n const contractText = generateContractText()\n if (app_status === \"IN_VERIFICATION\" || form['docusign-filename'] || contractText === \"Contact Sales\") {\n return null\n }\n\n return () => setCommModal(true)\n }\n\n const renderContractFooter = () => {\n const contractText = generateContractText()\n let underline = 'no-underline'\n\n // I am deeply confused as to why this footer is acting differently from all the other ones\n // so this is basically here to patch the padding\n let weirdPaddingClass = \"pb-5\"\n\n if ([\"available\", \"required\"].includes(status)) {\n underline = \"underline\"\n weirdPaddingClass = \"pb-3\"\n }\n\n if (status === \"verified\" || (contractText === \"Contact Sales\")) {\n underline = 'no-underline'\n weirdPaddingClass = \"pb-3\"\n }\n\n return (
    \n {contractText}\n
    )\n }\n\n return(\n
    \n \n \n \n \n
    \n )\n}\n\nexport default ContractTracker\n","import React from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { fundingStatus } from '../../DealerPortalHelper'\n\nconst FundingTracker = (props) => {\n const { loan } = props\n const status = fundingStatus(loan)\n const form = loan[\"form_data\"]\n const icon_view = (\n \n F\n )\n\n const generateFundingText = () => {\n // Options are: \"Verified\", \"Uploaded\", \"Upload\", \"Re-upload (Rejected)\", \"Upload X of Y\", \"\"\n const documents_data = loan['documents_data']\n const financing_documents = documents_data['financing_documents'] || {}\n const { approval_stats = {}, rejected_stats = {} } = financing_documents\n const sent_to_dealer = form['sent-to-dealer']\n\n if (status === \"disabled\") {\n return \"\"\n } else if (status === \"verified\"){\n return \"Verified\"\n } else if (status === \"done\") {\n return \"Uploaded\"\n } else if (rejected_stats?.total !== 0 ) {\n return \"Re-upload (Rejected)\"\n } else if (sent_to_dealer && approval_stats?.uploaded !== 0) {\n return \"\"\n } else if (approval_stats?.uploaded !== 0) {\n return `Upload ${approval_stats['uploaded']} of ${approval_stats['total']}`\n }\n\n return \"Upload\"\n }\n\n const onClick = () => {\n const funding_link = `/loan_applications/${loan['lbid']}/documents/finish`\n\n window.open(funding_link)\n }\n\n const renderFundingFooter = () => {\n let underline = 'underline'\n\n if (status === \"verified\") {\n underline = 'no-underline'\n }\n\n return (
    \n {generateFundingText()}\n
    )\n }\n\n return(\n \n )\n}\n\nexport default FundingTracker\n","import React from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { gpsStatus } from '../../DealerPortalHelper'\n\nconst GpsTracker = (props) => {\n const { loan } = props\n const form = loan[\"form_data\"]\n const status = gpsStatus(loan)\n const icon_view = ()\n const req_funding = form['requested-funding']\n\n const generateGpsText = () => {\n // States: \"Locate\", \"Connect\", \"Edit\", \"Verified\", \"\"\n\n const gps_data = loan['gps_data']\n let gpsText = \"Connect\"\n\n if (status === \"disabled\") {\n return \"\"\n } else if (status === \"verified\") {\n return \"Verified\"\n }\n\n if (!gps_data.length) {\n return gpsText\n }\n\n gps_data.forEach((gps) => {\n let gps_working = gps['working'] || gps['force_working']\n \n if (!gps_working) {\n gpsText = \"Locate\"\n } else {\n gpsText = \"Edit\"\n } \n })\n\n return gpsText\n }\n\n const onClick = () => {\n const gps_link = `/loan_applications/${loan['lbid']}/gps`\n\n if (req_funding) {\n return null\n }\n\n window.open(gps_link)\n }\n\n const renderGpsFooter = () => {\n let underline = 'underline'\n\n if ([\"verified\"].includes(status)) {\n underline = \"no-underline\"\n }\n\n return (
    \n {generateGpsText()}\n
    )\n }\n\n return(\n \n )\n}\n\nexport default GpsTracker\n","import React from 'react'\nimport DisplayBoxTracker from './DisplayBoxTracker'\nimport { incomeStatus } from '../../DealerPortalHelper/index'\n\nconst IncomeVerifyTracker = (props) => {\n const { loan } = props\n const form = loan['form_data']\n const status = incomeStatus(loan)\n const app_status = form['app-status']\n const icon_view = ()\n\n const generateIncomeText = () => {\n // States: 'Pending verification', \"Verified\", ''\n\n if (status === \"disabled\") {\n return \"\"\n } else if (status === \"done\") {\n return \"Verified\"\n }\n\n return \"Pending Verification\"\n }\n\n const renderIncomeFooter = () => {\n if (app_status === \"IN_VERIFICATION\") {\n return null\n }\n\n return (
    \n {generateIncomeText()}\n
    )\n }\n\n return(\n \n )\n}\n\nexport default IncomeVerifyTracker\n","import React, { useContext } from 'react'\nimport ApprovalTracker from './ApprovalTracker'\nimport BankTracker from './BankTracker'\nimport ContractTracker from './ContractTracker'\nimport FundingTracker from './FundingTracker'\nimport GpsTracker from './GpsTracker'\nimport IncomeVerifyTracker from './IncomeVerifyTracker'\nimport LoansContext from '../../LoansContext'\n\nconst AccordionTracker = (props) => {\n const { loanId, commsModal } = props\n const { loans } = useContext(LoansContext)\n const loan = loans[loanId]\n const form = loan['form_data']\n\n const renderGps = () => {\n if (!form['gps-installed']) {\n return null\n }\n return \n }\n\n return(\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n \n {renderGps()}\n
    \n
    \n
    )\n}\n\nexport default AccordionTracker\n","import React from 'react'\n\nconst InputField = ({ onChange, placeholder, onEnter, error, searchKeyword }) => {\n return (\n
    \n
    \n \n onChange(e)} value={searchKeyword} onKeyDown={(e) => onEnter(e)} />\n \n
    {error}
    \n
    \n
    \n )\n}\n\nexport default InputField\n","import React from 'react'\n\nconst SearchButton = ({ onClick, disabled, text }) => {\n let classes = \"bg-green-500 text-white cursor-pointer\"\n if (disabled) {\n classes = \"bg-gray-300 text-gray-380 cursor-default\"\n onClick = () => {}\n }\n\n return (\n
    \n {text}\n
    \n )\n}\n\nexport default SearchButton\n","import React from 'react'\n\nconst Acknowledgement = () => {\n return (\n
    \n
    \n
    Lendbuzz cannot disclose any customer’s payoff information without the
    \n
    customer’s consent. When I, the dealer, click on the “View/Print” button, I
    \n
    acknowledge and agree that I have received the customer’s consent to
    \n
    obtain the payoff information from Lendbuzz.
    \n
    \n
    \n
    I acknowledge and agree that I have received the customer’s consent to
    \n
    obtain this payoff information from Lendbuzz.
    \n
    \n
    \n )\n}\n\nexport default Acknowledgement\n","import React from 'react'\nimport Acknowledgement from './Acknowledgement'\nimport { handleAnalytics } from '../../../../helpers/analyticsHelper';\n\nconst PayoffResult = ({ loan, currentUser }) => {\n const vin = loan?.vin\n const lastName = loan?.last_name\n\n const onClickPayoff = () => {\n const payoffLink = `/dealers/${vin}/${lastName}/payoff_letter/view`\n\n // need to send this data explicitly because lbid is null\n const data = {\n VIN: vin,\n borrowerLastName: lastName,\n userEmail: currentUser.email,\n dealershipId: currentUser.dealer_id,\n userType: \"dealer\"\n }\n\n const eventName = \"Print Payoff Letter Acknowledgement - Dealer Portal\"\n handleAnalytics({ eventName, lbid: null, currentUser }, data)\n window.open(payoffLink, \"_blank\", \"noopener noreferrer\")\n }\n\n const renderNotFound = () => {\n return (\n

    We're sorry, we didn't recognize that VIN, please try again.

    \n )\n }\n\n const renderData = () => {\n return (\n <>\n

    {vin}

    \n

    {lastName}

    \n \n \n \n )\n }\n\n const renderView = () => {\n if (!loan) return renderNotFound()\n\n return renderData()\n }\n\n return (\n
    \n {renderView()}\n
    \n )\n}\n\nexport default PayoffResult\n","import React from 'react'\n\nconst Loader = () => {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Loader\n","import React, { useState, useMemo } from 'react'\nimport InputField from './InputField'\nimport SearchButton from './SearchButton'\nimport PayoffResult from './PayoffResult/PayoffResult'\nimport Loader from './Loader'\nimport lb_fetch from '../../../helpers/Request'\n\nconst PayoffQuote = ({ currentUser }) => {\n const [vin, setVin] = useState(null)\n const [vinChanged, setVinChanged] = useState(false)\n\n const [lastName, setLastName] = useState(null)\n const [lastNameChanged, setLastNameChanged] = useState(false)\n\n const [loader, setLoader] = useState(false)\n const [loan, setLoan] = useState(null)\n const [searched, setSearched] = useState(false)\n\n const lastNameError = useMemo(() => {\n const isLastNameValid = lastName && lastName.length > 0\n\n if (!lastNameChanged || isLastNameValid) return null\n\n return \"Last name can't be blank\"\n }, [lastName, lastNameChanged])\n\n const vinError = useMemo(() => {\n const isVinValid = vin && vin.length === 17\n\n if (!vinChanged || isVinValid) return null\n\n return \"VIN must be 17 characters\"\n }, [vin, vinChanged])\n\n const onChangeLastName = (e) => {\n setLastName(e.target.value)\n setLastNameChanged(true)\n }\n\n const onChangeVin = (e) => {\n setVin(e.target.value)\n setVinChanged(true)\n }\n\n const onPressEnterSearch = (e) => {\n e.stopPropagation();\n if (e.keyCode === 13) {\n onClickSearch()\n }\n }\n\n const onClickSearch = async () => {\n setSearched(true)\n await getQuickSearchResults()\n }\n\n const getQuickSearchResults = async () => {\n // We should not reach this outcome, but I want to cover it just in case\n // so as to not expose information we don't want to expose\n if (lastNameError || vinError) {\n console.log(\"Can't search without Last Name or correct VIN length\")\n return\n }\n\n setLoader(true)\n\n let res = null\n const url = '/dealers/search_loan_by_vin'\n\n const params_data = {\n vin: vin,\n last_name: lastName\n }\n\n try {\n res = await lb_fetch(url, { method: 'post', body: params_data })\n } catch (error) {\n console.log('error in FundedDeals#quickSearchLoansRequest');\n console.log(error);\n return\n } finally {\n setLoader(false)\n }\n\n if (!res.ok) {\n console.log('Something went wrong, contact tech.');\n console.log(res);\n return;\n }\n\n const data = await res.json()\n setLoan(data['loan'])\n }\n\n const renderResults = () => {\n if (!searched) {\n return (\n
    \n

    Please enter VIN and Last Name to find the Payoff Quote.

    \n
    \n )\n }\n\n if (loader) {\n return (\n
    \n \n
    \n )\n }\n\n return \n }\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n {renderResults()}\n
    \n
    \n )\n}\n\nexport default PayoffQuote\n","import React from 'react'\n\n\nconst overlay_style = {\n position: \"absolute\",\n width: \"100%\",\n height: \"100%\",\n top: 0,\n left: 0,\n zIndex: 19\n}\n\nconst page_centered_style = {\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\"\n}\n\nfunction PreLoader({\n visible,\n children,\n preloaderMinHeight = 0,\n spinnerSize = 30,\n text = \"Loading, Please wait\",\n}) {\n\n const renderLoader = () => {\n if (!visible) {\n return null\n }\n\n return (\n <>\n
    \n
    \n \n

    {text}

    \n
    \n \n )\n }\n\n const renderChildren = () => {\n const style = {\n opacity: visible ? 0 : 1,\n minHeight: visible ? preloaderMinHeight : 0,\n }\n\n return (\n
    \n {children}\n
    \n )\n }\n\n return (\n <>\n {renderLoader()}\n {renderChildren()}\n \n )\n}\n\nexport default PreLoader","import React from 'react'\nimport DSDollarInput from \"../../deal_structure/modules/DSDollarInput.js.jsx\"\n\nconst AutomobilePurchasePrice = ({\n automobilePurchasePrice,\n readOnly,\n onPurchasePriceUpdate = (field, value, format) => {} },\n) => {\n const { purchase_price, sales_tax, cash_downpayment, rebate } = automobilePurchasePrice\n\n return (\n
    \n
    Deal Structure
    \n
    \n onPurchasePriceUpdate('purchase_price', e.target.value, false)}\n onBlur={(e) => onPurchasePriceUpdate('purchase_price', e.target.value, true)}\n disabled={readOnly}\n />\n onPurchasePriceUpdate('sales_tax', e.target.value, false)}\n onBlur={(e) => onPurchasePriceUpdate('sales_tax', e.target.value, true)}\n disabled={readOnly}\n />\n onPurchasePriceUpdate('cash_downpayment', e.target.value, false)}\n onBlur={(e) => onPurchasePriceUpdate('cash_downpayment', e.target.value, true)}\n disabled={readOnly}\n />\n onPurchasePriceUpdate('rebate', e.target.value, false)}\n onBlur={(e) => onPurchasePriceUpdate('rebate', e.target.value, true)}\n disabled={readOnly}\n />\n
    \n
    \n )\n}\n\nexport default AutomobilePurchasePrice","import React from 'react'\n\nconst NadaSuggestions = ({\n vin,\n nadaVehicles = [],\n visible = false,\n onCarSelect = (index) => {}\n}) => {\n\n\n if (!visible || !nadaVehicles?.length) {\n // Don't need the modal unless there's more than one option for trim\n return null;\n }\n\n const renderVehicleList = () => {\n return nadaVehicles.map((vehicle, index) => {\n const {year, make, model, style} = vehicle\n\n return (\n
    onCarSelect(index)}>\n
    \n {year} {make} {model}\n
    \n
    \n {style}\n
    \n
    \n )\n })\n }\n\n return (\n
    \n
    Suggested vehicles for VIN {vin}
    \n \n {/* Body */}\n
    \n
    \n {renderVehicleList()}\n
    \n
    \n
    \n )\n}\n\nexport default NadaSuggestions","import React, { useState, useEffect } from 'react';\nimport lb_fetch from '../../../helpers/Request.js';\nimport Automobile from '../../../models/Automobile.js';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js.jsx';\nimport AssetGrade from '../../deal_structure/AssetGrade.jsx';\nimport NumberFormatter from '../../../number_formatter.js';\nimport { validateVIN } from '../../deal_structure/DealStructureHelpers.jsx';\nimport DSInputBox from '../../deal_structure/modules/DSInputBox.js.jsx';\nimport { CompactDollarInput } from '../../modules/BasicElements/DollarInput.js.jsx';\nimport { flashInput } from '../../../Animations.js';\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx';\nimport AutomobilePurchasePrice from './AutomobilePurchasePrice.jsx';\nimport NadaSuggestions from './NadaSuggestions.jsx';\n\nconst AutomobileModalBody = ({\n readOnly,\n automobileDetails,\n automobilePurchasePrice,\n\n // Note: both these methods return the keys in snake_case format\n // Replace the `_` with `-` in the parent component if needed.\n onAutomobileDetailsUpdate = (automobileDetails) => {},\n onAutomobilePurchasePriceUpdate = (automobilePurchasePrice) => {},\n}) => {\n const [vinChanged, setVinChanged] = useState(false)\n const [noNadaVehicle, setNoNadaVehicle] = useState(false)\n const [nadaVehicles, setNadaVehicles] = useState(null)\n const [nadaModalVisible, setNadaModalVisible] = useState(false)\n const [vehicleLoader, setVehicleLoader] = useState(false)\n const [styles, setStyles] = useState([])\n const [models, setModels] = useState([])\n const [makes, setMakes] = useState([])\n\n const historyOptions = [['', ''], ['New', 'new'], ['Used', 'used'], ['Pre-owned', 'pre-owned']]\n const currentModelYear = (new Date).getFullYear() + 2\n const years = _.range(1990, currentModelYear)\n const vinInputRef = React.createRef()\n\n const isMount = useIsMount()\n\n useEffect(() => {\n if (!isMount && nadaVehicles) {\n updateFieldsAfterNadaPull()\n }\n }, [nadaVehicles])\n\n async function updateFieldsAfterNadaPull() {\n if (nadaVehicles && nadaVehicles.length == 1) {\n await setCarDetails(0)\n return\n }\n\n setNadaModalVisible(true)\n setStyles(nadaVehicles.map(v => [v['style'], v['uid']]))\n }\n\n const onAutomobileUpdate = (updatedFields) => {\n if('vin' in updatedFields) {\n setVinChanged(true)\n } else if('history' in updatedFields && updatedFields.history !== \"new\") {\n updatedFields.msrp_value = 0\n }\n\n onAutomobileDetailsUpdate({...automobileDetails, ...updatedFields})\n }\n\n const onPurchasePriceUpdate = (field, value, format) => {\n if(format) {\n value = NumberFormatter.formatMoney(value || 0, true)\n }\n\n onAutomobilePurchasePriceUpdate({\n ...automobilePurchasePrice,\n [field]: value\n })\n }\n\n const autofillVehicle = (e) => {\n let stripped_vin = e.target.value.replace(/\\s+/g, '')\n onAutomobileUpdate({vin: stripped_vin})\n\n const validation_results = validateVIN(stripped_vin)\n\n if (vinChanged && validation_results.valid) {\n pullNadaVehicles(stripped_vin);\n setVinChanged(false);\n }\n }\n\n async function setCarDetails(i) {\n const {uid, ...nadaVehicle} = nadaVehicles[i] || {};\n const isUsedVehicle = nadaVehicle?.year - (new Date).getFullYear() < 0\n\n const newAutomobileDetails = {\n ...automobileDetails,\n\n ...nadaVehicle,\n nada_uid: uid,\n history: isUsedVehicle ? \"used\" : \"new\"\n }\n\n onAutomobileUpdate(newAutomobileDetails)\n setNadaModalVisible(false);\n\n flashInput('automobile_year')\n flashInput('automobile_make')\n flashInput('automobile_model')\n flashInput('automobile_style')\n flashInput('automobile_history')\n flashInput('automobile_asset_grade')\n };\n\n async function pullNadaVehicles(vin) {\n setVehicleLoader(true)\n\n const url = '/pull_nada_trims';\n const req_data = {\n loan_application: {\n automobile: { vin }\n }\n };\n setNadaVehicles(null)\n\n let res = null\n try {\n res = await lb_fetch(url, { body: req_data })\n } catch (error) {\n console.log('error in VehicleInformation#pullNadaVehicles');\n console.log(error);\n return\n }\n finally {\n setVehicleLoader(false)\n }\n\n if (!res.ok) {\n return\n }\n\n const data = await res.json()\n\n if (!data || !data['data'] || !data['data'].length) {\n setNoNadaVehicle(true)\n return\n }\n\n const vehicles = data['data'].map((v) => {\n return {\n make: v['make'],\n model: v['model'],\n year: v['modelyear'],\n style: v['body'],\n uid: v['uid'],\n asset_grade: v.lendbuzz_asset_grade,\n }\n })\n\n setNoNadaVehicle(false)\n setNadaVehicles(vehicles)\n }\n\n const onMileageChange = (e) => {\n let value = e.target.value\n let number = parseInt(value.replace(/\\D/g, ''));\n\n onAutomobileUpdate({ mileage: number || value })\n }\n\n const onBlurMileage = (e) => {\n let value = e.target.value\n value = NumberFormatter.formatMoney(value || 0)\n onAutomobileUpdate({ mileage: value })\n }\n\n const onClickClear = (field) => {\n if (automobileDetails[field]) {\n return\n }\n\n onAutomobileUpdate({ [field]: \"\" })\n }\n\n async function onMakeChange(e) {\n const value = e.target.value;\n\n onAutomobileUpdate({\n make: value,\n model: \"\",\n style: \"\"\n })\n\n setModels([])\n setStyles([])\n\n let res = null\n const automobile = _.clone(automobileDetails) || {}\n\n try {\n res = await Automobile.models(automobile['year'], value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeMake');\n console.log(error);\n return\n }\n\n const res_models = res.Models || [];\n const newModels = res_models.map(m => m['model_name'])\n setModels(newModels)\n }\n\n async function onModelChange(e) {\n const value = e.target.value;\n onAutomobileUpdate({ model: value })\n\n let res = null\n const automobile = _.clone(automobileDetails) || {}\n\n try {\n res = await Automobile.styles(automobile.year, automobile.make, value)\n } catch (error) {\n console.log('error in ajax call VehicleInformation#_changeModel');\n console.log(error);\n return\n }\n\n\n const res_styles = res['Trims'] || []\n const newStyles = res_styles.map(s => s['model_trim'])\n setStyles(newStyles)\n }\n\n async function onYearChange(e) {\n const value = e.target.value;\n\n onAutomobileUpdate({ year: value })\n\n let res = null\n try {\n res = await Automobile.makes(value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeYear');\n console.log(error);\n return\n }\n\n const res_makes = res.Makes || []\n const newMakes = res_makes.map(m => m['make_display'])\n\n if (!newMakes.includes('Land Rover')) {\n newMakes.push('Land Rover')\n }\n setMakes(newMakes)\n }\n\n const onChangeWholesale = (value) => {\n const amount = NumberFormatter.parseMoney(value)\n\n onAutomobileUpdate({ wholesale_value: amount })\n }\n\n const onChangeMSRP = (value) => {\n const amount = NumberFormatter.parseMoney(value)\n\n onAutomobileUpdate({msrp_value: amount})\n }\n\n const focusVin = () => {\n try {\n vinInputRef.current.click()\n vinInputRef.current.focus()\n } catch (error) {\n console.log('vin cant be focused');\n }\n }\n\n // Renders the vin field\n const renderVin = () => {\n const errors = {}\n const warnings = {}\n const automobile = _.clone(automobileDetails) || {}\n\n let pull_icon = (\n
    pullNadaVehicles(automobile['vin'])}>\n \n \n
    \n )\n let vehicleLoader_text = \"\"\n let disabledClass = \"\"\n\n if (vehicleLoader || !automobile['vin']) {\n pull_icon = \"\"\n }\n\n if (vehicleLoader) {\n vehicleLoader_text = \"Fetching car information...\"\n }\n\n // NOTE: submitVehicleLoading is reflecting both submitVehicleLoading and readOnly states since both are disabled states for the fields\n if (readOnly) {\n disabledClass = \"bg-gray-150\"\n }\n\n return (\n
    \n
    VIN
    \n
    \n
    \n onAutomobileUpdate({ vin: e.target.value })}\n onBlur={(e) => autofillVehicle(e)}\n autoComplete=\"chrome-off\"\n disabled={readOnly}\n />\n
    \n\n
    \n \n {pull_icon}\n
    \n
    \n
    {errors['automobile_vin']}
    \n
    {warnings['automobile_vin']}
    \n
    {vehicleLoader_text}
    \n
    \n )\n }\n\n const renderStyles = () => {\n const style = automobileDetails?.style\n return (\n onAutomobileUpdate({ style: e.target.value })}\n required=\"required\"\n disabled={readOnly}\n />\n )\n }\n\n const renderAssetGrade = () => {\n const { asset_grade, make, model } = automobileDetails\n\n return (\n }\n />\n )\n }\n\n const getFormattedMoney = (value) => {\n if ([null, undefined].includes(value)) {\n return 0\n } else if (value != 0) {\n return NumberFormatter.formatMoney(value || 0)\n }\n\n return \"\"\n }\n\n const renderNoVehicleText = () => {\n\n if ((!nadaVehicles || !nadaVehicles.length) && noNadaVehicle) {\n return (No vehicle found for this VIN)\n }\n\n return null\n }\n\n // Renders the rest of the car fields\n // Also renders the purchase price fields\n // And nada modal too\n const renderVehicleInformation = () => {\n\n const wholesale_value = getFormattedMoney(automobileDetails.wholesale_value)\n const msrp_value = getFormattedMoney(automobileDetails.msrp_value)\n\n let msrpInput = null\n let wholesaleCols = 3\n let wholesaleTitle = \"Wholesale Value/Invoice Price\"\n\n if (automobileDetails.history == \"new\") {\n wholesaleTitle = \"Invoice Price\"\n wholesaleCols = 2\n msrpInput = (\n
    \n onChangeMSRP(e.target.value)}\n onClick={() => onClickClear('msrp_value')}\n disabled={readOnly}\n />\n
    )\n }\n\n const disabledClass = readOnly ? \"bg-gray-150\" : \"\"\n\n return (\n
    \n
    Vehicle Information {renderNoVehicleText()}
    \n
    \n
    \n
    focusVin()}>\n {renderVin()}\n
    \n
    \n
    \n
    \n
    \n onAutomobileUpdate({ history: e.target.value })}\n errorKey='automobile_history'\n options={historyOptions}\n disabled={readOnly}\n />\n
    \n {msrpInput}\n
    \n onChangeWholesale(e.target.value)}\n onClick={() => onClickClear('wholesale_value')}\n disabled={readOnly}\n />\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {renderAssetGrade()}\n
    \n
    \n
    \n
    \n {renderStyles()}\n
    \n
    \n onClickClear('mileage')}\n disabled={readOnly}\n />\n
    \n
    \n
    \n setCarDetails(index)}\n />\n \n
    \n )\n }\n\n return renderVehicleInformation()\n}\n\nexport default AutomobileModalBody;\n","/**\n * TODO[for New frontend]: Refactor deal_structure/dealer/AutomobileHeaderBox.jsx in new frontend\n * to use this Automobile modal and delete the existing AutomobileModal code which is in use in the new frontend\n */\n\nimport React, { useState } from 'react'\nimport LBModal from '../../modules/LBModal.js.jsx'\nimport PreLoader from '../../modules/PreLoader.js.jsx'\nimport AutomobileModalBody from './AutomobileModalBody.jsx'\n\nconst AutomobileModal = ({\n readOnly,\n\n // Note: The key format should be snake_case for both these props\n automobileDetails = {},\n automobilePurchasePrice = {},\n\n onAutomobileDetailsUpdate = () => { },\n onAutomobilePurchasePriceUpdate = () => { },\n\n onModalClose = () => { },\n onSubmitClick = () => { },\n visible = false,\n isSubmitting = false,\n submitCTAText = \"Change Vehicle\",\n errorText = \"\",\n}) => {\n\n const [automobileDetailsState, setAutomobileDetails] = useState(automobileDetails)\n const [automobilePurchasePriceState, setAutomobilePurchasePrice] = useState(automobilePurchasePrice)\n\n const onClickAway = () => {\n if (isSubmitting) {\n return\n }\n\n onModalClose()\n }\n\n const renderCloseIcon = () => {\n if (isSubmitting) {\n return null\n }\n\n return (\n
    \n )\n }\n\n const renderButtons = () => {\n if (readOnly) {\n return\n }\n\n const submitVehicle = isSubmitting ? \"Submitting...\" : submitCTAText\n\n const is_filled = ['vin', 'make', 'model', 'year', 'style', 'history', 'mileage']\n .find(a => !automobileDetailsState[a] && automobileDetailsState[a] != 0) == null\n\n return (\n
    \n onSubmitClick(automobileDetailsState, automobilePurchasePriceState)}\n >{submitVehicle}\n Cancel\n
    \n )\n }\n\n const _onAutomobileDetailsUpdate = (automobileDetails) => {\n setAutomobileDetails(automobileDetails)\n onAutomobileDetailsUpdate(automobileDetails)\n }\n\n const _onAutomobilePurchasePriceUpdate = (automobilePurchasePrice) => {\n setAutomobilePurchasePrice(automobilePurchasePrice)\n onAutomobilePurchasePriceUpdate(automobilePurchasePrice)\n }\n\n const renderBody = () => {\n return (\n <>\n
    \n
    \n
    \n
    \n
    \n Automobile Details\n
    \n
    {errorText}
    \n
    \n {renderCloseIcon()}\n
    \n
    \n
    \n
    \n
    \n {}\n
    \n
    \n {renderButtons()}\n \n )\n }\n\n return (\n \n
    \n \n {renderBody()}\n \n
    \n
    \n )\n}\n\nexport default AutomobileModal","import React from 'react'\n\nconst DisplayBoxInfo = (props) => {\n const { top, middle, bottom, app_status } = props\n \n const finalMiddle = () => {\n if ([\"PENDING_LICENSE\", \"IN_APPLICATION\"].includes(app_status)) {\n return \"--\"\n }\n\n return middle\n }\n\n const finalBottom = () => {\n if ([\"PENDING_LICENSE\", \"IN_APPLICATION\"].includes(app_status)) {\n return \"\"\n }\n\n return bottom\n }\n\n return(\n
    \n
    \n
    \n
    \n {top}\n
    \n
    \n {finalMiddle()}\n
    \n
    \n {finalBottom()}\n
    \n
    \n
    \n
    )\n}\n\nexport default DisplayBoxInfo\n","import React, { useContext, useEffect } from 'react'\nimport { downpaymentPercentage, convertToMonths, totalDownpayment } from '../../../deal_structure/DealStructureHelpers.jsx'\nimport DisplayBoxInfo from './DisplayBoxInfo.jsx'\nimport NumberFormatter from '../../../../number_formatter.js'\nimport LoansContext from '../../LoansContext.jsx'\n\nconst AccordionStats = (props) => {\n const { loanId, financialStatsRequest, financialStats } = props\n const { loans } = useContext(LoansContext)\n const loan = loans[loanId]\n const form = loan['form_data']\n const loanTerm = form['loan-term']\n const purchasePrice = form['purchase-price']\n const requestedDeal = form['requested-deal']\n const app_status = form['app-status']\n\n useEffect(() => {\n financialStatsRequest()\n }, [loans])\n\n const displayNetCheck = () => {\n return `${Common.dollar_format(loanTerm['net-check'] || 0)}`\n }\n\n const displayRequestedNetCheck = () => {\n if (!Object.keys(requestedDeal)) {\n return \"\"\n }\n\n const net_financed_amount = requestedDeal['net-financed-amount'] || 0\n let reserve_amount = 0\n if (requestedDeal['reserved-active']) {\n reserve_amount = parseFloat(requestedDeal['reserved-amount'] || 0)\n }\n\n const net_check = net_financed_amount - reserve_amount\n return `Submitted at ${Common.dollar_format(net_check)}`\n }\n\n const displayPurchasePrice = () => {\n return `${Common.dollar_format(purchasePrice['purchase-price'] || 0)}`\n }\n\n const displayDownpayment = () => {\n const purchase_price_ud_keys = Common.replaceKeys(purchasePrice, /-/g, '_')\n const total_downpayment = totalDownpayment(purchase_price_ud_keys)\n let dpPercent = downpaymentPercentage(purchasePrice['purchase-price'], total_downpayment)\n\n if (!dpPercent) {\n dpPercent = '--'\n }\n\n return (
    \n {Common.dollar_format(total_downpayment || 0)} \n ({dpPercent}%)\n
    )\n }\n\n const displayRequestedDownpayment = () => {\n if (!Object.keys(requestedDeal)) {\n return\n }\n\n const net_trade_in_value = requestedDeal['net-trade-in-value'] || 0;\n const cash_downpayment_amount = requestedDeal['cash-downpayment'] || 0;\n const total_downpayment = net_trade_in_value + cash_downpayment_amount;\n\n return `Submitted at ${Common.dollar_format(total_downpayment || 0)}`\n }\n\n const displayPti = () => {\n const pti = financialStats?.pti ? financialStats.pti : '--'\n let display_pti = pti\n\n if (display_pti === \"No Data\") {\n display_pti = '--'\n }\n\n return display_pti\n }\n\n const displayPtiMonthly = () => {\n if (app_status === \"PENDING_PRE_APPROVAL\") {\n return \"-- / month\"\n }\n\n const monthly_pti = (financialStats && financialStats['pti-monthly']) ? financialStats['pti-monthly'] : '--'\n\n let display_pti_monthly = `${monthly_pti} / month`\n\n if (monthly_pti === \"Insufficient Data\") {\n display_pti_monthly = monthly_pti\n } else if (display_pti_monthly === \"No Data\" || monthly_pti.includes('NaN')) {\n display_pti_monthly = ''\n }\n\n return display_pti_monthly\n }\n\n const displayLoanDuration = () => {\n if (!loanTerm['loan-duration']) {\n return \"-- months\"\n }\n\n return `${convertToMonths(loanTerm['loan-duration'])} months`\n }\n\n const displayMonthlyPayment = () => {\n if (app_status === \"PENDING_PRE_APPROVAL\") {\n return '--'\n }\n\n return `${Common.dollar_format(loanTerm['monthly-payment'] || 0)}`\n }\n\n const displayRate = () => {\n if (app_status === \"PENDING_PRE_APPROVAL\") {\n return '--'\n }\n\n return (
    \n {loanTerm['APR']}% \n
    )\n }\n\n const displayBaseRate =() => {\n if (app_status === \"PENDING_PRE_APPROVAL\") {\n return ''\n }\n\n if (!loanTerm['loan-rate']) {\n return \"-- cust rate\"\n }\n\n return `${loanTerm['loan-rate']}% cust rate`\n }\n\n return(
    \n
    \n \n \n \n \n \n \n
    \n
    )\n}\n\nexport default AccordionStats\n","document.addEventListener(\"DOMContentLoaded\", () => {\n var scrollPosition = window.scrollY;\n var siteHeader = document.getElementById(\"siteHeader\");\n var viewportWidth = window.innerWidth || document.documentElement.clientWidth;\n var scrollClass = \"site-header--scrolled\";\n var add_class_on_scroll = () => siteHeader.classList.add(scrollClass);\n var remove_class_at_top = () => siteHeader.classList.remove(scrollClass);\n\n if (viewportWidth >= 1024) {\n window.addEventListener(\"scroll\", function() {\n scrollPosition = window.scrollY;\n\n if (scrollPosition > 0) { add_class_on_scroll(); }\n else { remove_class_at_top(); }\n });\n }\n});\n","$(document).on(\"headerLoaded\", function() {\n var element = document.getElementById(\"accountDropdown\");\n var trigger = document.getElementById(\"accountDropdownTrigger\");\n var body = document.body;\n if (!trigger) {\n return\n }\n trigger.addEventListener(\"click\", function(e) {\n e.preventDefault();\n trigger.classList.toggle(\"btn--dropdown-open\");\n element.classList.toggle(\"hidden\");\n });\n});\n","$(document).on(\"mobileNavLoaded\", function() {\n var element = document.getElementById(\"mobileNav\");\n var trigger = document.getElementById(\"mobileNavTrigger\");\n var body = document.body;\n\n trigger.addEventListener(\"click\", function(e) {\n e.preventDefault();\n trigger.classList.toggle(\"nav__trigger--close\");\n element.classList.toggle(\"hidden\");\n body.classList.toggle(\"overflow-hidden\");\n });\n});\n","document.addEventListener(\"DOMContentLoaded\", () => {\n var controller = new ScrollMagic.Controller({globalSceneOptions: {triggerHook: \"onEnter\", duration: \"200%\"}});\n\n var viewportWidth = window.innerWidth || document.documentElement.clientWidth;\n\n if (viewportWidth >= 768) {\n new ScrollMagic.Scene({triggerElement: \"#parallax1\"})\n .setTween(\"#parallax1 > div\", {y: \"80%\", ease: Linear.easeNone})\n .addTo(controller);\n }\n});\n","/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\nmodule.exports.Dispatcher = require('./lib/Dispatcher');","/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Dispatcher\n * \n * @preventMunge\n */\n'use strict';\n\nexports.__esModule = true;\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar _prefix = 'ID_';\n/**\n * Dispatcher is used to broadcast payloads to registered callbacks. This is\n * different from generic pub-sub systems in two ways:\n *\n * 1) Callbacks are not subscribed to particular events. Every payload is\n * dispatched to every registered callback.\n * 2) Callbacks can be deferred in whole or part until other callbacks have\n * been executed.\n *\n * For example, consider this hypothetical flight destination form, which\n * selects a default city when a country is selected:\n *\n * var flightDispatcher = new Dispatcher();\n *\n * // Keeps track of which country is selected\n * var CountryStore = {country: null};\n *\n * // Keeps track of which city is selected\n * var CityStore = {city: null};\n *\n * // Keeps track of the base flight price of the selected city\n * var FlightPriceStore = {price: null}\n *\n * When a user changes the selected city, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'city-update',\n * selectedCity: 'paris'\n * });\n *\n * This payload is digested by `CityStore`:\n *\n * flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'city-update') {\n * CityStore.city = payload.selectedCity;\n * }\n * });\n *\n * When the user selects a country, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'country-update',\n * selectedCountry: 'australia'\n * });\n *\n * This payload is digested by both stores:\n *\n * CountryStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * CountryStore.country = payload.selectedCountry;\n * }\n * });\n *\n * When the callback to update `CountryStore` is registered, we save a reference\n * to the returned token. Using this token with `waitFor()`, we can guarantee\n * that `CountryStore` is updated before the callback that updates `CityStore`\n * needs to query its data.\n *\n * CityStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * // `CountryStore.country` may not be updated.\n * flightDispatcher.waitFor([CountryStore.dispatchToken]);\n * // `CountryStore.country` is now guaranteed to be updated.\n *\n * // Select the default city for the new country\n * CityStore.city = getDefaultCityForCountry(CountryStore.country);\n * }\n * });\n *\n * The usage of `waitFor()` can be chained, for example:\n *\n * FlightPriceStore.dispatchToken =\n * flightDispatcher.register(function(payload) {\n * switch (payload.actionType) {\n * case 'country-update':\n * case 'city-update':\n * flightDispatcher.waitFor([CityStore.dispatchToken]);\n * FlightPriceStore.price =\n * getFlightPriceStore(CountryStore.country, CityStore.city);\n * break;\n * }\n * });\n *\n * The `country-update` payload will be guaranteed to invoke the stores'\n * registered callbacks in order: `CountryStore`, `CityStore`, then\n * `FlightPriceStore`.\n */\n\nvar Dispatcher = function () {\n function Dispatcher() {\n _classCallCheck(this, Dispatcher);\n\n this._callbacks = {};\n this._isDispatching = false;\n this._isHandled = {};\n this._isPending = {};\n this._lastID = 1;\n }\n /**\n * Registers a callback to be invoked with every dispatched payload. Returns\n * a token that can be used with `waitFor()`.\n */\n\n\n Dispatcher.prototype.register = function register(callback) {\n var id = _prefix + this._lastID++;\n this._callbacks[id] = callback;\n return id;\n };\n /**\n * Removes a callback based on its token.\n */\n\n\n Dispatcher.prototype.unregister = function unregister(id) {\n !this._callbacks[id] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Dispatcher.unregister(...): `%s` does not map to a registered callback.', id) : invariant(false) : undefined;\n delete this._callbacks[id];\n };\n /**\n * Waits for the callbacks specified to be invoked before continuing execution\n * of the current callback. This method should only be used by a callback in\n * response to a dispatched payload.\n */\n\n\n Dispatcher.prototype.waitFor = function waitFor(ids) {\n !this._isDispatching ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Dispatcher.waitFor(...): Must be invoked while dispatching.') : invariant(false) : undefined;\n\n for (var ii = 0; ii < ids.length; ii++) {\n var id = ids[ii];\n\n if (this._isPending[id]) {\n !this._isHandled[id] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Dispatcher.waitFor(...): Circular dependency detected while ' + 'waiting for `%s`.', id) : invariant(false) : undefined;\n continue;\n }\n\n !this._callbacks[id] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Dispatcher.waitFor(...): `%s` does not map to a registered callback.', id) : invariant(false) : undefined;\n\n this._invokeCallback(id);\n }\n };\n /**\n * Dispatches a payload to all registered callbacks.\n */\n\n\n Dispatcher.prototype.dispatch = function dispatch(payload) {\n !!this._isDispatching ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.') : invariant(false) : undefined;\n\n this._startDispatching(payload);\n\n try {\n for (var id in this._callbacks) {\n if (this._isPending[id]) {\n continue;\n }\n\n this._invokeCallback(id);\n }\n } finally {\n this._stopDispatching();\n }\n };\n /**\n * Is this Dispatcher currently dispatching.\n */\n\n\n Dispatcher.prototype.isDispatching = function isDispatching() {\n return this._isDispatching;\n };\n /**\n * Call the callback stored with the given id. Also do some internal\n * bookkeeping.\n *\n * @internal\n */\n\n\n Dispatcher.prototype._invokeCallback = function _invokeCallback(id) {\n this._isPending[id] = true;\n\n this._callbacks[id](this._pendingPayload);\n\n this._isHandled[id] = true;\n };\n /**\n * Set up bookkeeping needed when dispatching.\n *\n * @internal\n */\n\n\n Dispatcher.prototype._startDispatching = function _startDispatching(payload) {\n for (var id in this._callbacks) {\n this._isPending[id] = false;\n this._isHandled[id] = false;\n }\n\n this._pendingPayload = payload;\n this._isDispatching = true;\n };\n /**\n * Clear bookkeeping used for dispatching.\n *\n * @internal\n */\n\n\n Dispatcher.prototype._stopDispatching = function _stopDispatching() {\n delete this._pendingPayload;\n this._isDispatching = false;\n };\n\n return Dispatcher;\n}();\n\nmodule.exports = Dispatcher;","/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule invariant\n */\n\"use strict\";\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function invariant(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n\n throw error;\n }\n};\n\nmodule.exports = invariant;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setAppState = setAppState;\nexports.snapshot = snapshot;\nexports.saveInitialSnapshot = saveInitialSnapshot;\nexports.filterSnapshots = filterSnapshots;\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction setAppState(instance, data, onStore) {\n var obj = instance.deserialize(data);\n fn.eachObject(function (key, value) {\n var store = instance.stores[key];\n\n if (store) {\n (function () {\n var config = store.StoreModel.config;\n var state = store.state;\n if (config.onDeserialize) obj[key] = config.onDeserialize(value) || value;\n\n if (fn.isMutableObject(state)) {\n fn.eachObject(function (k) {\n return delete state[k];\n }, [state]);\n fn.assign(state, obj[key]);\n } else {\n store.state = obj[key];\n }\n\n onStore(store, store.state);\n })();\n }\n }, [obj]);\n}\n\nfunction snapshot(instance) {\n var storeNames = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];\n var stores = storeNames.length ? storeNames : Object.keys(instance.stores);\n return stores.reduce(function (obj, storeHandle) {\n var storeName = storeHandle.displayName || storeHandle;\n var store = instance.stores[storeName];\n var config = store.StoreModel.config;\n store.lifecycle('snapshot');\n var customSnapshot = config.onSerialize && config.onSerialize(store.state);\n obj[storeName] = customSnapshot ? customSnapshot : store.getState();\n return obj;\n }, {});\n}\n\nfunction saveInitialSnapshot(instance, key) {\n var state = instance.deserialize(instance.serialize(instance.stores[key].state));\n instance._initSnapshot[key] = state;\n instance._lastSnapshot[key] = state;\n}\n\nfunction filterSnapshots(instance, state, stores) {\n return stores.reduce(function (obj, store) {\n var storeName = store.displayName || store;\n\n if (!state[storeName]) {\n throw new ReferenceError(String(storeName) + ' is not a valid store');\n }\n\n obj[storeName] = state[storeName];\n return obj;\n }, {});\n}","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.createStoreConfig = createStoreConfig;\nexports.transformStore = transformStore;\nexports.createStoreFromObject = createStoreFromObject;\nexports.createStoreFromClass = createStoreFromClass;\n\nvar _AltUtils = require('../utils/AltUtils');\n\nvar utils = _interopRequireWildcard(_AltUtils);\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nvar _AltStore = require('./AltStore');\n\nvar _AltStore2 = _interopRequireDefault(_AltStore);\n\nvar _StoreMixin = require('./StoreMixin');\n\nvar _StoreMixin2 = _interopRequireDefault(_StoreMixin);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nfunction doSetState(store, storeInstance, state) {\n if (!state) {\n return;\n }\n\n var config = storeInstance.StoreModel.config;\n var nextState = fn.isFunction(state) ? state(storeInstance.state) : state;\n storeInstance.state = config.setState.call(store, storeInstance.state, nextState);\n\n if (!store.alt.dispatcher.isDispatching()) {\n store.emitChange();\n }\n}\n\nfunction createPrototype(proto, alt, key, extras) {\n return fn.assign(proto, _StoreMixin2['default'], {\n displayName: key,\n alt: alt,\n dispatcher: alt.dispatcher,\n preventDefault: function () {\n function preventDefault() {\n this.getInstance().preventDefault = true;\n }\n\n return preventDefault;\n }(),\n boundListeners: [],\n lifecycleEvents: {},\n actionListeners: {},\n publicMethods: {},\n handlesOwnErrors: false\n }, extras);\n}\n\nfunction createStoreConfig(globalConfig, StoreModel) {\n StoreModel.config = fn.assign({\n getState: function () {\n function getState(state) {\n if (Array.isArray(state)) {\n return state.slice();\n } else if (fn.isMutableObject(state)) {\n return fn.assign({}, state);\n }\n\n return state;\n }\n\n return getState;\n }(),\n setState: function () {\n function setState(currentState, nextState) {\n if (fn.isMutableObject(nextState)) {\n return fn.assign(currentState, nextState);\n }\n\n return nextState;\n }\n\n return setState;\n }()\n }, globalConfig, StoreModel.config);\n}\n\nfunction transformStore(transforms, StoreModel) {\n return transforms.reduce(function (Store, transform) {\n return transform(Store);\n }, StoreModel);\n}\n\nfunction createStoreFromObject(alt, StoreModel, key) {\n var storeInstance = void 0;\n var StoreProto = createPrototype({}, alt, key, fn.assign({\n getInstance: function () {\n function getInstance() {\n return storeInstance;\n }\n\n return getInstance;\n }(),\n setState: function () {\n function setState(nextState) {\n doSetState(this, storeInstance, nextState);\n }\n\n return setState;\n }()\n }, StoreModel)); // bind the store listeners\n\n /* istanbul ignore else */\n\n if (StoreProto.bindListeners) {\n _StoreMixin2['default'].bindListeners.call(StoreProto, StoreProto.bindListeners);\n }\n /* istanbul ignore else */\n\n\n if (StoreProto.observe) {\n _StoreMixin2['default'].bindListeners.call(StoreProto, StoreProto.observe(alt));\n } // bind the lifecycle events\n\n /* istanbul ignore else */\n\n\n if (StoreProto.lifecycle) {\n fn.eachObject(function (eventName, event) {\n _StoreMixin2['default'].on.call(StoreProto, eventName, event);\n }, [StoreProto.lifecycle]);\n } // create the instance and fn.assign the public methods to the instance\n\n\n storeInstance = fn.assign(new _AltStore2['default'](alt, StoreProto, StoreProto.state !== undefined ? StoreProto.state : {}, StoreModel), StoreProto.publicMethods, {\n displayName: key,\n config: StoreModel.config\n });\n return storeInstance;\n}\n\nfunction createStoreFromClass(alt, StoreModel, key) {\n var storeInstance = void 0;\n var config = StoreModel.config; // Creating a class here so we don't overload the provided store's\n // prototype with the mixin behaviour and I'm extending from StoreModel\n // so we can inherit any extensions from the provided store.\n\n var Store = function (_StoreModel) {\n _inherits(Store, _StoreModel);\n\n function Store() {\n _classCallCheck(this, Store);\n\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _possibleConstructorReturn(this, _StoreModel.call.apply(_StoreModel, [this].concat(args)));\n }\n\n return Store;\n }(StoreModel);\n\n createPrototype(Store.prototype, alt, key, {\n type: 'AltStore',\n getInstance: function () {\n function getInstance() {\n return storeInstance;\n }\n\n return getInstance;\n }(),\n setState: function () {\n function setState(nextState) {\n doSetState(this, storeInstance, nextState);\n }\n\n return setState;\n }()\n });\n\n for (var _len = arguments.length, argsForClass = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n argsForClass[_key - 3] = arguments[_key];\n }\n\n var store = new (Function.prototype.bind.apply(Store, [null].concat(argsForClass)))();\n /* istanbul ignore next */\n\n if (config.bindListeners) store.bindListeners(config.bindListeners);\n /* istanbul ignore next */\n\n if (config.datasource) store.registerAsync(config.datasource);\n storeInstance = fn.assign(new _AltStore2['default'](alt, store, store.state !== undefined ? store.state : store, StoreModel), utils.getInternalMethods(StoreModel), config.publicMethods, {\n displayName: key\n });\n return storeInstance;\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nvar _transmitter = require('transmitter');\n\nvar _transmitter2 = _interopRequireDefault(_transmitter);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar AltStore = function () {\n function AltStore(alt, model, state, StoreModel) {\n var _this = this;\n\n _classCallCheck(this, AltStore);\n\n var lifecycleEvents = model.lifecycleEvents;\n this.transmitter = (0, _transmitter2['default'])();\n\n this.lifecycle = function (event, x) {\n if (lifecycleEvents[event]) lifecycleEvents[event].publish(x);\n };\n\n this.state = state;\n this.alt = alt;\n this.preventDefault = false;\n this.displayName = model.displayName;\n this.boundListeners = model.boundListeners;\n this.StoreModel = StoreModel;\n\n this.reduce = model.reduce || function (x) {\n return x;\n };\n\n this.subscriptions = [];\n\n var output = model.output || function (x) {\n return x;\n };\n\n this.emitChange = function () {\n return _this.transmitter.publish(output(_this.state));\n };\n\n var handleDispatch = function handleDispatch(f, payload) {\n try {\n return f();\n } catch (e) {\n if (model.handlesOwnErrors) {\n _this.lifecycle('error', {\n error: e,\n payload: payload,\n state: _this.state\n });\n\n return false;\n }\n\n throw e;\n }\n };\n\n fn.assign(this, model.publicMethods); // Register dispatcher\n\n this.dispatchToken = alt.dispatcher.register(function (payload) {\n _this.preventDefault = false;\n\n _this.lifecycle('beforeEach', {\n payload: payload,\n state: _this.state\n });\n\n var actionHandlers = model.actionListeners[payload.action];\n\n if (actionHandlers || model.otherwise) {\n var result = void 0;\n\n if (actionHandlers) {\n result = handleDispatch(function () {\n return actionHandlers.filter(Boolean).every(function (handler) {\n return handler.call(model, payload.data, payload.action) !== false;\n });\n }, payload);\n } else {\n result = handleDispatch(function () {\n return model.otherwise(payload.data, payload.action);\n }, payload);\n }\n\n if (result !== false && !_this.preventDefault) _this.emitChange();\n }\n\n if (model.reduce) {\n handleDispatch(function () {\n var value = model.reduce(_this.state, payload);\n if (value !== undefined) _this.state = value;\n }, payload);\n if (!_this.preventDefault) _this.emitChange();\n }\n\n _this.lifecycle('afterEach', {\n payload: payload,\n state: _this.state\n });\n });\n this.lifecycle('init');\n }\n\n AltStore.prototype.listen = function () {\n function listen(cb) {\n var _this2 = this;\n\n if (!fn.isFunction(cb)) throw new TypeError('listen expects a function');\n\n var _transmitter$subscrib = this.transmitter.subscribe(cb);\n\n var dispose = _transmitter$subscrib.dispose;\n this.subscriptions.push({\n cb: cb,\n dispose: dispose\n });\n return function () {\n _this2.lifecycle('unlisten');\n\n dispose();\n };\n }\n\n return listen;\n }();\n\n AltStore.prototype.unlisten = function () {\n function unlisten(cb) {\n this.lifecycle('unlisten');\n this.subscriptions.filter(function (subscription) {\n return subscription.cb === cb;\n }).forEach(function (subscription) {\n return subscription.dispose();\n });\n }\n\n return unlisten;\n }();\n\n AltStore.prototype.getState = function () {\n function getState() {\n return this.StoreModel.config.getState.call(this, this.state);\n }\n\n return getState;\n }();\n\n return AltStore;\n}();\n\nexports['default'] = AltStore;\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _transmitter = require('transmitter');\n\nvar _transmitter2 = _interopRequireDefault(_transmitter);\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nvar StoreMixin = {\n waitFor: function () {\n function waitFor() {\n for (var _len = arguments.length, sources = Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n if (!sources.length) {\n throw new ReferenceError('Dispatch tokens not provided');\n }\n\n var sourcesArray = sources;\n\n if (sources.length === 1) {\n sourcesArray = Array.isArray(sources[0]) ? sources[0] : sources;\n }\n\n var tokens = sourcesArray.map(function (source) {\n return source.dispatchToken || source;\n });\n this.dispatcher.waitFor(tokens);\n }\n\n return waitFor;\n }(),\n exportAsync: function () {\n function exportAsync(asyncMethods) {\n this.registerAsync(asyncMethods);\n }\n\n return exportAsync;\n }(),\n registerAsync: function () {\n function registerAsync(asyncDef) {\n var _this = this;\n\n var loadCounter = 0;\n var asyncMethods = fn.isFunction(asyncDef) ? asyncDef(this.alt) : asyncDef;\n var toExport = Object.keys(asyncMethods).reduce(function (publicMethods, methodName) {\n var desc = asyncMethods[methodName];\n var spec = fn.isFunction(desc) ? desc(_this) : desc;\n var validHandlers = ['success', 'error', 'loading'];\n validHandlers.forEach(function (handler) {\n if (spec[handler] && !spec[handler].id) {\n throw new Error(String(handler) + ' handler must be an action function');\n }\n });\n\n publicMethods[methodName] = function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var state = _this.getInstance().getState();\n\n var value = spec.local && spec.local.apply(spec, [state].concat(args));\n var shouldFetch = spec.shouldFetch ? spec.shouldFetch.apply(spec, [state].concat(args))\n /*eslint-disable*/\n : value == null;\n /*eslint-enable*/\n\n var intercept = spec.interceptResponse || function (x) {\n return x;\n };\n\n var makeActionHandler = function () {\n function makeActionHandler(action, isError) {\n return function (x) {\n var fire = function () {\n function fire() {\n loadCounter -= 1;\n action(intercept(x, action, args));\n if (isError) throw x;\n return x;\n }\n\n return fire;\n }();\n\n return _this.alt.trapAsync ? function () {\n return fire();\n } : fire();\n };\n }\n\n return makeActionHandler;\n }(); // if we don't have it in cache then fetch it\n\n\n if (shouldFetch) {\n loadCounter += 1;\n /* istanbul ignore else */\n\n if (spec.loading) spec.loading(intercept(null, spec.loading, args));\n return spec.remote.apply(spec, [state].concat(args)).then(makeActionHandler(spec.success), makeActionHandler(spec.error, 1));\n } // otherwise emit the change now\n\n\n _this.emitChange();\n\n return value;\n };\n\n return publicMethods;\n }, {});\n this.exportPublicMethods(toExport);\n this.exportPublicMethods({\n isLoading: function () {\n function isLoading() {\n return loadCounter > 0;\n }\n\n return isLoading;\n }()\n });\n }\n\n return registerAsync;\n }(),\n exportPublicMethods: function () {\n function exportPublicMethods(methods) {\n var _this2 = this;\n\n fn.eachObject(function (methodName, value) {\n if (!fn.isFunction(value)) {\n throw new TypeError('exportPublicMethods expects a function');\n }\n\n _this2.publicMethods[methodName] = value;\n }, [methods]);\n }\n\n return exportPublicMethods;\n }(),\n emitChange: function () {\n function emitChange() {\n this.getInstance().emitChange();\n }\n\n return emitChange;\n }(),\n on: function () {\n function on(lifecycleEvent, handler) {\n if (lifecycleEvent === 'error') this.handlesOwnErrors = true;\n var bus = this.lifecycleEvents[lifecycleEvent] || (0, _transmitter2['default'])();\n this.lifecycleEvents[lifecycleEvent] = bus;\n return bus.subscribe(handler.bind(this));\n }\n\n return on;\n }(),\n bindAction: function () {\n function bindAction(symbol, handler) {\n if (!symbol) {\n throw new ReferenceError('Invalid action reference passed in');\n }\n\n if (!fn.isFunction(handler)) {\n throw new TypeError('bindAction expects a function');\n } // You can pass in the constant or the function itself\n\n\n var key = symbol.id ? symbol.id : symbol;\n this.actionListeners[key] = this.actionListeners[key] || [];\n this.actionListeners[key].push(handler.bind(this));\n this.boundListeners.push(key);\n }\n\n return bindAction;\n }(),\n bindActions: function () {\n function bindActions(actions) {\n var _this3 = this;\n\n fn.eachObject(function (action, symbol) {\n var matchFirstCharacter = /./;\n var assumedEventHandler = action.replace(matchFirstCharacter, function (x) {\n return 'on' + String(x[0].toUpperCase());\n });\n\n if (_this3[action] && _this3[assumedEventHandler]) {\n // If you have both action and onAction\n throw new ReferenceError('You have multiple action handlers bound to an action: ' + (String(action) + ' and ' + String(assumedEventHandler)));\n }\n\n var handler = _this3[action] || _this3[assumedEventHandler];\n\n if (handler) {\n _this3.bindAction(symbol, handler);\n }\n }, [actions]);\n }\n\n return bindActions;\n }(),\n bindListeners: function () {\n function bindListeners(obj) {\n var _this4 = this;\n\n fn.eachObject(function (methodName, symbol) {\n var listener = _this4[methodName];\n\n if (!listener) {\n throw new ReferenceError(String(methodName) + ' defined but does not exist in ' + String(_this4.displayName));\n }\n\n if (Array.isArray(symbol)) {\n symbol.forEach(function (action) {\n _this4.bindAction(action, listener);\n });\n } else {\n _this4.bindAction(symbol, listener);\n }\n }, [obj]);\n }\n\n return bindListeners;\n }()\n};\nexports['default'] = StoreMixin;\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = makeAction;\n\nvar _functions = require('../functions');\n\nvar fn = _interopRequireWildcard(_functions);\n\nvar _AltUtils = require('../utils/AltUtils');\n\nvar utils = _interopRequireWildcard(_AltUtils);\n\nvar _isPromise = require('is-promise');\n\nvar _isPromise2 = _interopRequireDefault(_isPromise);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction makeAction(alt, namespace, name, implementation, obj) {\n var id = utils.uid(alt._actionsRegistry, String(namespace) + '.' + String(name));\n alt._actionsRegistry[id] = 1;\n var data = {\n id: id,\n namespace: namespace,\n name: name\n };\n\n var dispatch = function dispatch(payload) {\n return alt.dispatch(id, payload, data);\n }; // the action itself\n\n\n var action = function action() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var invocationResult = implementation.apply(obj, args);\n var actionResult = invocationResult; // async functions that return promises should not be dispatched\n\n if (invocationResult !== undefined && !(0, _isPromise2['default'])(invocationResult)) {\n if (fn.isFunction(invocationResult)) {\n // inner function result should be returned as an action result\n actionResult = invocationResult(dispatch, alt);\n } else {\n dispatch(invocationResult);\n }\n }\n\n if (invocationResult === undefined) {\n utils.warn('An action was called but nothing was dispatched');\n }\n\n return actionResult;\n };\n\n action.defer = function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return setTimeout(function () {\n return action.apply(null, args);\n });\n };\n\n action.id = id;\n action.data = data; // ensure each reference is unique in the namespace\n\n var container = alt.actions[namespace];\n var namespaceId = utils.uid(container, name);\n container[namespaceId] = action; // generate a constant\n\n var constant = utils.formatAsConstant(namespaceId);\n container[constant] = id;\n return action;\n}\n\nmodule.exports = exports['default'];","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (_typeof(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}","module.exports = __webpack_public_path__ + \"media/images/careers__hero.png-298d3377.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--alex.jpg-a8f22ff6.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--anthony.jpg-f0000b75.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--gaurang.jpg-21efc4aa.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--maria.jpg-d0825a19.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--noelle.jpg-eb49c21e.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--pranjal.jpg-98b0c023.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__quote--wai-kin.jpg-91e85f73.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-1.jpg-b7306ab4.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-2.jpg-7409d3b1.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-3.jpg-a44a56eb.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-4.jpg-84f32df2.webp\";","module.exports = __webpack_public_path__ + \"media/images/careers__team-5.jpg-7f9ef912.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__baha-auto.jpg-256a01c5.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__chevrolet.jpg-22b5fa15.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__ford.jpg-8fb6d33d.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__hero.png-ad77533b.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__nissan.jpg-926ea047.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-1.png-147d51cc.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-2.png-e1cfbb72.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__step-3.png-3061e9e1.webp\";","module.exports = __webpack_public_path__ + \"media/images/dealers__toyota.jpg-8bfbf0e7.webp\";","module.exports = __webpack_public_path__ + \"media/images/emoji__balloon.png-65f13e19.webp\";","module.exports = __webpack_public_path__ + \"media/images/emoji__female-dancer.png-7b9663aa.webp\";","module.exports = __webpack_public_path__ + \"media/images/emoji__male-dancer.png-bc436fcd.webp\";","module.exports = __webpack_public_path__ + \"media/images/emoji__party.png-b965b86e.webp\";","module.exports = __webpack_public_path__ + \"media/images/emoji__sparkles.png-b87384da.webp\";","module.exports = __webpack_public_path__ + \"media/images/faq__hero.png-85abc54b.webp\";","module.exports = __webpack_public_path__ + \"media/general/lendbuzz_logo_color-1eef97ba.svg\";","module.exports = __webpack_public_path__ + \"media/general/lendbuzz_logo_white-d7d4776e.svg\";","module.exports = __webpack_public_path__ + \"media/general/new_lendbuzz_logo.png-681d394d.webp\";","module.exports = __webpack_public_path__ + \"media/general/stepsdone-0029052c.svg\";","module.exports = __webpack_public_path__ + \"media/general/stepsline-93a0c8f9.svg\";","module.exports = __webpack_public_path__ + \"media/general/stepsmiss-28902439.svg\";","module.exports = __webpack_public_path__ + \"media/images/homepage__carousel-star.png-8266b750.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__hero.png-3ec940af.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__star-75.png-49a465ce.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__star.png-b862d948.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-1.png-b2b390a0.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-2.png-de185fdc.webp\";","module.exports = __webpack_public_path__ + \"media/images/homepage__step-3.png-75e67d33.webp\";","module.exports = __webpack_public_path__ + \"media/images/icon__google.png-e2a8fc46.webp\";","module.exports = __webpack_public_path__ + \"media/widget/tooltip-a8865eaa.svg\";","var defineProperty = require(\"./defineProperty.js\");\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nmodule.exports = _objectSpread2, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {\n ;\n }\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nmodule.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _setPrototypeOf(o, p);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\nvar possibleConstructorReturn = require(\"./possibleConstructorReturn.js\");\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}\nmodule.exports = _createSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _getPrototypeOf(o);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\nvar iterableToArray = require(\"./iterableToArray.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nmodule.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _extends() {\n module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _extends.apply(this, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.block\") : 60121,\n w = b ? Symbol.for(\"react.fundamental\") : 60117,\n x = b ? Symbol.for(\"react.responder\") : 60118,\n y = b ? Symbol.for(\"react.scope\") : 60119;\n\nfunction z(a) {\n if (\"object\" === _typeof(a) && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case t:\n case r:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case d:\n return u;\n }\n }\n}\n\nfunction A(a) {\n return z(a) === m;\n}\n\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isAsyncMode = function (a) {\n return A(a) || z(a) === l;\n};\n\nexports.isConcurrentMode = A;\n\nexports.isContextConsumer = function (a) {\n return z(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return z(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === _typeof(a) && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return z(a) === n;\n};\n\nexports.isFragment = function (a) {\n return z(a) === e;\n};\n\nexports.isLazy = function (a) {\n return z(a) === t;\n};\n\nexports.isMemo = function (a) {\n return z(a) === r;\n};\n\nexports.isPortal = function (a) {\n return z(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return z(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return z(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return z(a) === p;\n};\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === _typeof(a) && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);\n};\n\nexports.typeOf = z;","import React, { useState, useEffect, useMemo } from 'react';\nimport lb_fetch from '../../helpers/Request';\nimport LBModal from '../modules/LBModal.js.jsx';\nimport gps_best_practices from '../../../assets/images/gps/gps_best_practices.jpg';\n\nconst AddGps = (props) => {\n const [esn, setEsn] = useState('');\n const [connectionStatus, setConnectionStatus] = useState(null);\n const [showLoader, setShowLoader] = useState(false);\n const [showImage, setShowImage] = useState(false);\n const [gps, setGps] = useState(null);\n const [hasAttachError, setHasAttachError] = useState(false);\n const [deleteError, setDeleteError] = useState(false);\n const [errorMessage, setErrorMessage] = useState(null);\n const [showConfirmRemoveModal, setShowConfirmRemoveModal] = useState(false);\n // const [showConfirmReplaceModal, setShowConfirmReplaceModal] = useState(false);\n const [initialLoader, setInitialLoader] = useState(false);\n\n useEffect(() => {\n setInitialLoader(true);\n getGps().then(() => setInitialLoader(false)).catch(() => setInitialLoader(false));\n }, [])\n\n const working = useMemo(() => {\n const _gps = gps || {};\n return _gps['working'] || _gps['force_working'];\n }, [gps])\n\n const esnChanged = useMemo(() => {\n if (!gps) {\n return false;\n }\n const _gps = gps || {};\n return _gps['esn'] != esn;\n }, [gps, esn])\n\n const getGps = async () => {\n let url = '/gps/get';\n let send_data = {\n 'loan_application_id': props.lbid\n };\n\n setShowLoader(true);\n let res;\n\n try {\n res = await lb_fetch(url, { method: 'post', body: send_data });\n }\n catch(e) {\n // log and handle errors\n console.log('error getting gps');\n console.error(e);\n return;\n }\n setShowLoader(false);\n if (!res.ok) {\n // log and handle non 200 response\n console.log('error getting gps');\n return;\n }\n\n let res_data = await res.json();\n let data = res_data['data'];\n\n // new gps dont do anything\n if (data.length == 0) {\n return;\n }\n\n let unit;\n // find the working gps\n unit = data.find(gps => gps['working'] || gps['force_working'] && gps['active']);\n\n // if we find a working gps\n if (unit) {\n setEsn(unit['esn']);\n setGps(unit);\n }\n // no fully working gps -> take first in array\n else {\n unit = data[0];\n setEsn(unit['esn']);\n setGps(unit);\n }\n }\n\n const attachGps = async () => {\n if (!props.lbid) {\n alert('LBID missing');\n return;\n }\n\n if (!esn) {\n return;\n }\n\n setHasAttachError(false);\n\n let url = '/gps/create';\n let send_data = {\n loan_application_id: props.lbid,\n esn: esn\n };\n\n setConnectionStatus('attaching');\n let res;\n\n try {\n res = await lb_fetch(url, { method: 'post', body: send_data });\n }\n catch(e) {\n setHasAttachError(true);\n console.log('error attaching gps');\n console.error(e);\n return;\n }\n setConnectionStatus(null);\n if (!res.ok) {\n setHasAttachError(true);\n console.log('error getting gps');\n return;\n }\n\n let res_data = await res.json();\n\n let gps_data = res_data['data'] || {};\n let asset = gps_data['asset'] || false;\n let gps_error = gps_data['error'] || null;\n\n if (gps_error || !asset) {\n setHasAttachError(true);\n setErrorMessage(gps_error);\n }\n else {\n setGps(asset);\n await locateGps(asset['id']);\n }\n }\n\n const locateGps = async (id) => {\n if (!props.lbid){\n alert('LBID Missing');\n return;\n }\n\n let url = '/gps/locate';\n\n let send_data = {\n gps_id: id || gps['id'],\n loan_application_id: props.lbid\n };\n\n setConnectionStatus('locating');\n let res;\n\n try {\n res = await lb_fetch(url, { method: 'post', body: send_data });\n }\n catch(e) {\n console.log('error getting gps');\n console.error(e);\n return;\n }\n\n if (!res.ok) {\n setConnectionStatus(null);\n console.log('error getting gps');\n return;\n }\n\n let res_data = await res.json();\n let asset = res_data['asset'] || false;\n\n if (!asset) {\n setConnectionStatus(null);\n return;\n }\n else if (asset) {\n await getGps();\n setConnectionStatus(null);\n }\n }\n\n // const replaceGps = async () => {\n // setShowConfirmReplaceModal(false);\n\n // let url = '/gps/replace';\n\n // let send_data = {\n // gps_id: gps['id'],\n // esn: esn\n // };\n\n // setHasAttachError(false);\n // setConnectionStatus('replacing');\n // let res;\n\n // try {\n // res = await lb_fetch(url, { method: 'post', body: send_data });\n // }\n // catch(e) {\n // console.log('error replacing gps');\n // console.error(e);\n // setHasAttachError(true);\n // return;\n // }\n // setConnectionStatus(null);\n // if (!res.ok) {\n // console.log('error replacing gps');\n // return;\n // }\n\n // let res_data = await res.json();\n\n // if (res_data['data']['error']) {\n // setHasAttachError(true);\n // return;\n // }\n\n // let asset = res_data['data']['asset'] || false;\n\n // if (!asset) {\n // return;\n // }\n // else if (asset) {\n // await locateGps(asset['id']);\n // }\n // }\n\n const deleteGps = async () => {\n setShowConfirmRemoveModal(false);\n\n let url = '/gps/delete';\n\n let send_data = {\n gps_id: gps['id']\n };\n\n setHasAttachError(false);\n setConnectionStatus('removing');\n let res;\n\n try {\n res = await lb_fetch(url, { method: 'post', body: send_data });\n }\n catch(e) {\n console.log('error removing gps');\n console.error(e);\n setDeleteError(true);\n return;\n }\n setConnectionStatus(null);\n if (!res.ok) {\n setDeleteError(true);\n console.log('error removing gps');\n return;\n }\n\n let res_data = await res.json();\n\n if (!res_data) {\n console.error('Error removing GPS device');\n setDeleteError(true);\n return;\n }\n\n setGps(null);\n setEsn('');\n\n await getGps();\n }\n\n const onChangeEsn = (e) => {\n let value = e.target.value.replace(/\\s/g, \"\")\n\n setHasAttachError(false);\n setEsn(value);\n }\n\n const renderPrimaryButton = (text, type, disabled) => {\n switch(type) {\n case \"create\":\n return ;\n // case \"replace\":\n // return ;\n case \"locate\":\n return ;\n case \"loading\":\n return ;\n }\n }\n\n const renderButtons = () => {\n let disabled = false;\n let loading_text = '';\n\n if (connectionStatus == 'attaching') {\n loading_text = 'Attaching';\n disabled = true;\n }\n else if (connectionStatus == 'locating') {\n loading_text = 'Locating';\n disabled = true;\n }\n // else if (connectionStatus == 'replacing') {\n // loading_text = 'Replacing';\n // disabled = true;\n // }\n\n if (connectionStatus == 'removing') {\n disabled = true;\n loading_text = 'Removing';\n }\n\n let delete_button = ;\n let primary_button = '';\n\n if (!gps || loading_text) {\n delete_button = '';\n }\n\n if (loading_text) {\n primary_button = renderPrimaryButton(loading_text, 'loading', disabled);\n }\n else if (!gps && hasAttachError) {\n primary_button = renderPrimaryButton(\"Try Again\", \"create\", disabled);\n }\n else if (!gps) {\n primary_button = renderPrimaryButton(\"Connect GPS\", \"create\", disabled);\n }\n // else if (gps && esnChanged) {\n // primary_button = renderPrimaryButton(\"Update GPS\", \"replace\", disabled);\n // }\n else if (gps && hasAttachError) {\n primary_button = renderPrimaryButton(\"Try Again\", \"create\", disabled);\n }\n else if (!working) {\n primary_button = renderPrimaryButton(\"Locate GPS\", \"locate\", disabled);\n }\n else if (gps && working) {\n primary_button = '';\n }\n\n return (\n
    \n { primary_button }\n { gps ? delete_button : '' }\n
    \n )\n }\n\n const renderInitLoader = () => {\n return (\n
    \n
    \n
    \n
    \n
    \n \n
    \n \n Loading, Please wait...\n \n
    \n
    \n
    \n
    \n )\n }\n\n const renderGpsBody = () => {\n const has_error = (hasAttachError || (gps && !working)) && !connectionStatus && !esnChanged;\n const disable_input = props.disableInputs || showLoader || connectionStatus || connectionStatus == 'removing' || gps;\n\n return (\n
    \n { renderHeader() }\n
    \n
    \n Enter GPS ESN\n
    \n
    \n
    \n
    \n onChangeEsn(event)} disabled={disable_input} />\n
    \n
    \n { renderButtons() }\n { renderConfirmRemoveModal() }\n {/* { renderConfirmReplaceModal() } */}\n
    \n
    \n { renderMessage() }\n
    \n )\n }\n\n const renderGps = () => {\n return (\n
    \n {initialLoader ? renderInitLoader() : renderGpsBody()}\n
    \n )\n }\n\n const renderHeader = () => {\n return (\n
    \n
    \n { renderBackButtons() }\n
    \n
    \n
    \n

    Connect GPS

    \n To troubleshoot common installation issues, setShowImage(true)}>view best practices here\n { renderBestPractices() }\n
    \n
    \n
    \n )\n }\n\n const renderContactText = () => {\n if (gps.company === 'SPIREON') {\n return <>Contact Spireon support: customer_support@spireon.com or call (877) 563-0012 (option 2)\n }\n\n if (['SAREKON', 'COLT'].includes(gps.company)) {\n return <>Contact GPSandTrack support: zoe@gpsandtrack.com or call (800) 578-1809\n }\n\n return null\n }\n\n const renderMessage = () => {\n let error_message = errorMessage || {};\n if ((esnChanged || connectionStatus) && !hasAttachError) {\n return;\n }\n else if (esnChanged && hasAttachError) {\n return (\n
    \n
    \n \n

    Error Replacing GPS

    \n
    \n We couldn't find a device with this ESN. Try entering another ESN.\n
    \n )\n }\n else if (hasAttachError && error_message['summary'] == 'GPS asset exist') {\n return (\n
    \n
    \n \n

    Unable to connect GPS

    \n
    \n GPS device is already attached to a loan. Try attaching a different GPS device.\n
    \n )\n }\n else if (hasAttachError) {\n return (\n
    \n
    \n \n

    Invalid GPS ESN

    \n
    \n We couldn't find a device with this ESN. Try entering another ESN.\n
    \n )\n }\n else if (gps && !working) {\n const contact_text = renderContactText()\n const contact_message = contact_text ? (\n
    \n \n Still need help? {contact_text}\n
    \n ) : ''\n\n return (\n
    \n
    \n
    \n \n

    Can't Reach Device!

    \n
    \n
    \n We couldn't reach this device. Make sure it is turned on and installed according to setShowImage(true)}>our best practices.\n
    \n
    \n {contact_message}\n
    \n )\n }\n else if (deleteError) {\n return (\n
    \n
    \n \n

    Error Removing Device!

    \n
    \n
    \n Something went wrong removing the GPS device, please try again.\n
    \n
    \n )\n }\n else if (gps && working) {\n return (\n
    \n
    \n \n

    Success!

    \n
    \n
    \n The device is now connected.\n
    \n
    \n )\n }\n }\n\n const renderBestPractices = () => {\n return (\n setShowImage(false)} large={true}>\n
    \n GPS installation best practices\n
    \n
    \n )\n }\n\n const renderConfirmRemoveModal = () => {\n return (\n setShowConfirmRemoveModal(false)}>\n
    \n
    \n
    \n \n Remove GPS\n
    \n setShowConfirmRemoveModal(false)}>\n
    \n
    \n Are you sure you would like to remove this device?\n
    \n
    \n \n \n
    \n
    \n
    \n )\n }\n\n // const renderConfirmReplaceModal = () => {\n // const current_gps = gps || {};\n\n // return (\n // setShowConfirmReplaceModal(false)}>\n //
    \n //
    \n //
    \n // Replace GPS\n //
    \n // setShowConfirmReplaceModal(false)}>\n //
    \n //
    \n // Are you sure you want to replace GPS ESN {current_gps['esn']} with GPS ESN {esn}?\n //
    \n //
    \n // \n // \n //
    \n //
    \n //
    \n // )\n // }\n\n const renderBackButtons = () => {\n return (\n
    \n
    \n
    \n
    { location.href = `/loan_applications/${props.lbid}` }} className=\"border-gray-300 px-3 py-1 cursor-pointer text-xs text-gray-370 font-normal rounded-lg border-2 transition-all hover:bg-gray-200 hover:text-gray-400\">Go to Application
    \n
    \n
    \n
    { location.href = `/dealers/${props.dealer_id}/loans` }} className=\"border-gray-300 px-3 py-1 cursor-pointer text-xs text-gray-370 font-normal rounded-lg border-2 transition-all hover:bg-gray-200 hover:text-gray-400\">Go to App List
    \n
    \n
    \n
    \n )\n }\n\n if (props.renderAsModal) {\n return (\n
    \n { renderGps() }\n
    \n )\n }\n return (\n
    \n
    \n { renderGps() }\n
    \n
    \n )\n}\n\nexport default AddGps;\n","import React, { useContext, useState, useEffect } from 'react';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport HeaderContext from '../HeaderContext.jsx';\nimport { calcNetTradeInValue, updatePurchasePrice } from '../DealStructureHelpers.jsx';\nimport LBModal from '../../modules/LBModal.js.jsx';\nimport { updateForm } from '../../../actions/DealerDealStructureActions.js.jsx';\n\nconst TradeIn = () => {\n const { form, dispatch, readOnly, onKeyDown } = useContext(DealStructureContext)\n const HeaderContextRef = useContext(HeaderContext)\n const purchase_price = form['purchase_price']\n const [modalOpen, setModalOpen] = useState(false)\n const [addingVin, setAddingVin] = useState(false)\n const [prevVin, setPrevVin] = useState(purchase_price['trade_in_vin'])\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HeaderContextRef.dispatch }\n\n const onChangePurchasePrice = (e, field) => {\n let value = e.target.value\n\n if (value && value.length > 0) {\n updatePurchasePrice(dispatches, 'has_trade_in', true, form, false)\n }\n\n updatePurchasePrice(dispatches, field, value, form, false)\n }\n\n const toggleTrade = () => {\n if (!readOnly) {\n let value = !purchase_price['has_trade_in']\n let new_form = form\n let new_purchase_price = form['purchase_price']\n\n if (value) {\n new_purchase_price['has_trade_in'] = value\n new_form['purchase_price'] = purchase_price\n setModalOpen(true)\n } else {\n new_purchase_price['has_trade_in'] = value\n new_purchase_price['net_trade_in_value'] = 0\n new_purchase_price['trade_in_allowance'] = 0\n new_purchase_price['trade_in_loan_balance'] = 0\n new_purchase_price['trade_in_vin'] = null\n new_form['purchase_price'] = new_purchase_price\n }\n\n updateForm(dispatches, new_form)\n }\n }\n\n const handleTradeInModal = () => {\n let new_form = form\n let new_purchase_price = form['purchase_price']\n new_purchase_price['has_trade_in'] = true\n new_form['purchase_price'] = purchase_price\n updateForm(dispatches, new_form)\n\n setModalOpen(true)\n }\n\n const calculateNetTrade = () => {\n const net_trade = calcNetTradeInValue(purchase_price)\n updatePurchasePrice(dispatches, 'net_trade_in_value', net_trade, form)\n }\n\n const handleAddingVin = () => {\n setPrevVin(purchase_price['trade_in_vin'])\n setAddingVin(false)\n }\n\n const exitTradeVin = () => {\n updatePurchasePrice(dispatches, 'trade_in_vin', prevVin, form, false)\n setAddingVin(false)\n }\n\n const onBlurMoney = (field) => {\n calculateNetTrade()\n updatePurchasePrice(dispatches, field, purchase_price[field], form, true)\n }\n\n const renderModal = () => {\n let addTradeInText = \"Add VIN\"\n if (!purchase_price['trade_in_vin']) {\n addTradeInText = \"Clear VIN\"\n }\n\n let first_line = (<>\n \n
    \n $\n onChangePurchasePrice(event, 'trade_in_allowance')} onBlur={() => onBlurMoney('trade_in_allowance')}\n onKeyDown={(e) => onKeyDown(e)} />\n
    \n )\n\n if (addingVin) {\n first_line = (\n
    \n onChangePurchasePrice(event, 'trade_in_vin')} placeholder=\"Paste VIN\" onKeyDown={(e) => onKeyDown(e)} />\n handleAddingVin()} className=\"text-xs font-light cursor-pointer flex flex-wrap content-center\">{addTradeInText}\n exitTradeVin()}>\n
    \n )\n }\n\n return (\n setModalOpen(false)}>\n
    \n
    \n
    \n
    \n \n Trade-In Calculator\n \n setModalOpen(false)}>\n
    \n
    \n
    \n
    \n
    \n {first_line}\n
    \n
    Loan balance
    \n
    \n
    \n $\n onChangePurchasePrice(event, 'trade_in_loan_balance')} onBlur={() => onBlurMoney('trade_in_loan_balance')}\n onKeyDown={(e) => onKeyDown(e)}\n />\n
    \n
    \n
    Net trade-in
    \n
    \n
    \n $\n onChangePurchasePrice(event, 'net_trade_in_value')} onKeyDown={(e) => onKeyDown(e)} />\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n )\n }\n\n const renderTradeIn = () => {\n let disabledClasses = \"\"\n if (readOnly) {\n disabledClasses = \"bg-gray-150\"\n }\n\n return(
    \n
    \n
    setModalOpen(false) : () => setModalOpen(true)}>Trade-in value
    \n \n
    \n
    \n
    \n $\n handleTradeInModal()} onFocus={() => handleTradeInModal()} />\n
    \n
    \n {renderModal()}\n
    )\n }\n\n return (renderTradeIn())\n}\n\nexport default TradeIn;\n","import React from 'react'\nimport { NumberFormatter } from '../../../number_formatter'\n\nconst ComparisonTitle = ({ title, value, compareTitle = \"Submitted at \", compareValue }) => {\n const val = _.isString(value) ? parseFloat(value.replace(/,/g, '')) : value\n const comVal = _.isString(compareValue) ? parseFloat(compareValue.replace(/,/g, '')) : compareValue\n\n // Comparison only supposed to render if value != old value\n if (comVal === val) {\n return title\n }\n\n // Explicitly check null and undefined because compareValue === 0 should NOT force return title\n if (typeof compareValue === 'undefined' || compareValue === null){\n return title\n }\n\n return (\n
    \n
    \n {title}\n
    \n
    \n {compareTitle}\n $ \n {NumberFormatter.withComma(comVal)}\n
    \n
    \n )\n}\n\nexport default ComparisonTitle\n","import React from 'react';\nimport LBModal from '../../modules/LBModal.js.jsx';\n\n// props used - show, toggleFunction, errorText, titleText\n\nconst ErrorModal = (props) => {\n return( props.toggleFunction(false)}>\n
    \n
    \n
    \n
    \n \n {props.titleText}\n \n props.toggleFunction(false)}>\n
    \n
    \n
    \n
    \n
    \n
      \n {props.errorText}\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    )\n}\n\nexport default ErrorModal","import React, { useContext, useMemo, useState, useEffect } from 'react';\nimport DSDollarInput from '../modules/DSDollarInput.js.jsx';\nimport TradeIn from './TradeIn.jsx';\nimport ComparisonTitle from './ComparisonTitle.jsx';\nimport NumberFormatter from '../../../number_formatter.js';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport HeaderContext from '../HeaderContext.jsx';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js.jsx';\nimport ErrorModal from '../modules/ErrorModal.jsx';\nimport { frontendLimit } from '../helpers/LTVHelper'\nimport { downpaymentPercentage, updatePurchasePrice } from '../DealStructureHelpers.jsx';\nimport DealStructureValidations from '../helpers/Validations.js';\nimport { updateForm } from '../../../actions/DealerDealStructureActions.js.jsx'\n\nconst FrontEndTable = () => {\n const { form, calculatorLoader, dispatch, frontend_total, total_downpayment, readOnly, onKeyDown } = useContext(DealStructureContext)\n const HeaderContextRef = useContext(HeaderContext)\n let purchase_price = form['purchase_price']\n const ltvData = form['pre_approval_dynamic_rules_check'] || {}\n const downpayment_percentage = downpaymentPercentage(NumberFormatter.parseMoney(form['purchase_price']['purchase_price']), NumberFormatter.parseMoney(total_downpayment))\n const [frontendLTVModal, setFrontendLTVModal] = useState(false)\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HeaderContextRef.dispatch }\n const requested_deal = form['requested_deal'] || {}\n\n const validations = useMemo(() => {\n return new DealStructureValidations(form)\n }, [form])\n\n const downpayment_errors = validations.errors('total_downpayment')\n const frontend_total_errors = validations.errors('frontend_total')\n\n const onChangeOtherCharges = (e, format) => {\n let value = e.target.value\n\n // update here so that the onchange can actually work if starting from empty other-charges-frontend\n if (!purchase_price['other_charges_frontend'] || purchase_price['other_charges_frontend'].length != 1) {\n purchase_price['other_charges_frontend'] = [{\n amount: 0,\n description: \"Front-End Fees\"\n }]\n } else if (format) {\n purchase_price['other_charges_frontend'][0]['amount'] = NumberFormatter.formatMoney(purchase_price['other_charges_frontend'][0]['amount'], true)\n } else {\n purchase_price['other_charges_frontend'][0]['amount'] = value\n }\n\n let updated_form = _.cloneDeep(form)\n updated_form['purchase_price'] = purchase_price\n updateForm(dispatches, updated_form)\n }\n\n const getTotalOtherChargesFrontendRequested = () => {\n const charges = requested_deal.other_charges_frontend\n\n if (!charges?.length) return 0\n\n return charges[0].amount\n }\n\n const getTotalOtherChargesFrontend = () => {\n if (!purchase_price['other_charges_frontend'] || !purchase_price['other_charges_frontend'].length) {\n return 0\n } else {\n return purchase_price['other_charges_frontend'][0]['amount'] || 0\n }\n }\n\n const onChangeValue = (e, field) => {\n updatePurchasePrice(dispatches, field, e.target.value, form, false)\n }\n\n const onBlurMoney = (e, field) => {\n updatePurchasePrice(dispatches, field, e.target.value, form, true)\n }\n\n const handleFrontendLTVModal = (toggle) => {\n setFrontendLTVModal(toggle)\n }\n\n const frontendTotalError = (() => {\n if (calculatorLoader && frontend_total_errors['message'] !== 'Cannot be negative') {\n return null\n }\n\n return frontend_total_errors['message']\n })()\n\n const renderFrontendTotalError = () => {\n if (calculatorLoader) {\n return (\n
    \n Calculating Frontend Limit...\n
    \n )\n }\n\n return (\n
    \n setFrontendLTVModal(true)} clickable={true} />\n \n {ltvData['frontend_ltv_limit'] ? `Frontend Limit: $ ${NumberFormatter.formatMoney(frontendLimit(ltvData), true)}` : \"\"}\n
    \n )\n }\n\n return(
    \n
    \n Frontend Costs\n {renderFrontendTotalError()}\n
    \n
    \n
    \n \n }\n value={purchase_price['purchase_price']}\n onChange={(event) => onChangeValue(event, 'purchase_price', false)}\n onBlur={(e) => onBlurMoney(e, 'purchase_price')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n top={true}\n disabled={readOnly}\n />\n onChangeValue(event, 'sales_tax', false)}\n onBlur={(e) => onBlurMoney(e, 'sales_tax')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n }\n value={purchase_price['cash_downpayment']}\n onChange={(event) => onChangeValue(event, 'cash_downpayment', false)}\n onBlur={(e) => onBlurMoney(e, 'cash_downpayment')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n \n onChangeValue(event, 'rebate', false)}\n onBlur={(e) => onBlurMoney(e, 'rebate')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n onChangeValue(event, 'license_registration_fees', false)}\n onBlur={(e) => onBlurMoney(e, 'license_registration_fees')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n onChangeValue(event, 'doc_fees', false)}\n onBlur={(e) => onBlurMoney(e, 'doc_fees')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n } \n value={getTotalOtherChargesFrontend()}\n onChange={(e) => onChangeOtherCharges(e, false)}\n onBlur={(e) => onChangeOtherCharges(e, true)}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n
    \n
    \n
    )\n}\n\nexport default FrontEndTable;\n","import React, { useContext, useMemo, useEffect } from 'react';\nimport NumberFormatter from '../../../number_formatter.js';\nimport DSDollarInput from '../modules/DSDollarInput.js.jsx';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport DealStructureValidations from '../helpers/Validations.js';\nimport ComparisonTitle from './ComparisonTitle.jsx';\nimport HeaderContext from '../HeaderContext.jsx';\nimport { updateForm } from '../../../actions/DealerDealStructureActions.js.jsx'\nimport { updatePurchasePrice } from '../DealStructureHelpers.jsx';\n\n\nconst BackEndTable = () => {\n const { form, calculatorLoader, dispatch, backend_total, readOnly, onKeyDown } = useContext(DealStructureContext)\n const HeaderContextRef = useContext(HeaderContext)\n let purchase_price = _.clone(form['purchase_price'])\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HeaderContextRef.dispatch }\n const requested_deal = form['requested_deal'] || {}\n\n const validations = useMemo(() => {\n return new DealStructureValidations(form)\n }, [form])\n const backend_total_errors = validations.errors('backend_total')\n\n // onChange functions\n const onBlurMoney = (e, field) => {\n updatePurchasePrice(dispatches, field, e.target.value, form, true)\n }\n\n const onChangeValue = (e, field) => {\n updatePurchasePrice(dispatches, field, e.target.value, form, false)\n }\n\n const addOtherCharge = () => {\n purchase_price['other_charges'] = purchase_price['other_charges'] || []\n purchase_price['other_charges'].push({\n amount: 0,\n description: \"\"\n })\n\n let updated_form = _.cloneDeep(form)\n updated_form['purchase_price'] = purchase_price\n updateForm(dispatches, updated_form)\n }\n\n const removeOtherCharge = (index) => {\n purchase_price['other_charges'] = purchase_price['other_charges'] || []\n purchase_price['other_charges'].splice(index, 1)\n\n let updated_form = _.cloneDeep(form)\n updated_form['purchase_price'] = purchase_price\n updateForm(dispatches, updated_form)\n }\n\n const onChangeOtherCharges = (e, key, index) => {\n let value = e.target.value\n purchase_price['other_charges'] = purchase_price['other_charges'] || []\n purchase_price['other_charges'][index][key] = value\n\n let updated_form = _.cloneDeep(form)\n updated_form['purchase_price'] = purchase_price\n updateForm(dispatches, updated_form)\n }\n\n\n const formatOtherCharge = (index) => {\n let charge = purchase_price.other_charges[index]\n charge.amount = NumberFormatter.formatMoney(charge.amount || 0, true)\n let updated_purchase_price = purchase_price\n updated_purchase_price['other_charges'][index] = charge\n\n let updated_form = _.cloneDeep(form)\n updated_form['purchase_price'] = updated_purchase_price\n updateForm(dispatches, updated_form)\n }\n\n\n // render functions\n\n const renderOtherCharges = () => {\n const other_charges = purchase_price.other_charges || []\n let disabledClasses = \"\"\n if (readOnly) {\n disabledClasses = \"bg-gray-150\"\n }\n\n return other_charges.map((charge, index) => {\n let close_view = (\n
    \n removeOtherCharge(index)}>\n
    \n )\n if (readOnly) {\n close_view = null\n }\n return (\n
    \n
    \n onChangeOtherCharges(event, 'description', index)}\n onBlur={() => {}} onKeyDown={(e) => onKeyDown(e, dispatches)} />\n {close_view}\n
    \n
    \n
    \n $\n onChangeOtherCharges(event, 'amount', index)}\n onBlur={() => formatOtherCharge(index)} onKeyDown={(e) => onKeyDown(e, dispatches)} />\n
    \n
    \n
    \n )\n })\n }\n\n const renderAddOtherCharges = () => {\n let addOtherCharges = \"\"\n if (!readOnly) {\n addOtherCharges = ()\n }\n\n return addOtherCharges\n }\n\n return (\n
    \n
    \n Backend Costs\n {renderAddOtherCharges()}\n
    \n
    \n
    \n \n }\n value={purchase_price['extended_warranty']}\n onChange={(event) => onChangeValue(event, 'extended_warranty')}\n onBlur={(e) => onBlurMoney(e, 'extended_warranty')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n top={true}\n disabled={readOnly}\n />\n \n }\n value={purchase_price['tire_protection']}\n onChange={(event) => onChangeValue(event, 'tire_protection')}\n onBlur={(e) => onBlurMoney(e, 'tire_protection')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n }\n value={purchase_price['accid_disability_insurance']}\n onChange={(event) => onChangeValue(event, 'accid_disability_insurance')}\n onBlur={(e) => onBlurMoney(e, 'accid_disability_insurance')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n }\n value={purchase_price['credit_life_insurance']}\n onChange={(event) => onChangeValue(event, 'credit_life_insurance')}\n onBlur={(e) => onBlurMoney(e, 'credit_life_insurance')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n \n }\n value={purchase_price['gap_insurance_dealer']}\n onChange={(event) => onChangeValue(event, 'gap_insurance_dealer')}\n onBlur={(e) => onBlurMoney(e, 'gap_insurance_dealer')}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n required={true}\n disabled={readOnly}\n />\n
    \n\n {renderOtherCharges()}\n\n \n
    \n
    \n )\n}\n\nexport default BackEndTable;\n","import React, { useContext, useMemo, useState } from 'react';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport HeaderContext from '../HeaderContext.jsx';\nimport DSDollarInput from '../modules/DSDollarInput.js.jsx';\nimport NumberFormatter from '../../../number_formatter.js';\nimport LBModal from '../../modules/LBModal.js.jsx';\nimport { updateForm } from '../../../actions/DealerDealStructureActions.js.jsx'\n\nconst LendbuzzTable = () => {\n const { form, dispatch, readOnly } = useContext(DealStructureContext)\n const HeaderContextRef = useContext(HeaderContext)\n const [gapToggle, setGapToggle] = useState(true)\n const [confirmGapModalToggle, setConfirmGapModalToggle] = useState(false)\n const loan_term = _.clone(form['loan_term'])\n const purchase_price = _.clone(form['purchase_price'])\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HeaderContextRef.dispatch }\n\n const onChangeGapSelect = (e) => {\n const value = e.target.value\n let updated_form = _.clone(form)\n\n updated_form.gap_type = value\n\n if (!value) {\n updated_form['purchase_price']['gap_insurance'] = 0\n }\n\n if (value == 'private' || value == 'commercial') {\n updated_form['gap_sold'] = true\n }\n\n updateForm(dispatches, updated_form)\n }\n\n const renderedOptions = (passed_options) => {\n const options = passed_options || []\n return options.map((option, index) => {\n return (\n \n )\n })\n }\n\n const removeGapWaiver = () => {\n setGapToggle(false)\n\n let updated_form = _.clone(form)\n updated_form.gap_type = null\n updated_form.gap_sold = false\n updated_form['purchase_price']['gap_insurance'] = 0\n updateForm(dispatches, updated_form)\n }\n\n const confirmGapWaiverRemove = () => {\n setConfirmGapModalToggle(false)\n removeGapWaiver()\n }\n\n const renderGAPSelect = () => {\n const options = [\n ['Private', 'private'],\n ['Commercial', 'commercial'],\n ]\n\n let empty_option = ()\n let gapText = \"\"\n \n if (form['gap_type'] == \"private\" || form['gap_type'] == \"commercial\") {\n empty_option = \"\"\n }\n \n if (readOnly && form['gap_type'] && form['gap_type'] != \"none\") {\n gapText = `(${form['gap_type']})`\n }\n\n if (readOnly) {\n return(
    \n
    \n Lendbuzz GAP Waiver {gapText}\n
    \n
    )\n } else {\n return (
    \n
    \n Lendbuzz GAP Waiver\n \n
    \n setConfirmGapModalToggle(true)}>\n
    \n
    \n
    )\n }\n }\n\n const renderGAPWaiver = () => {\n if (gapToggle && form['gap_sold']) {\n return()\n } else {\n return null\n }\n }\n\n const renderConfirmationModal = () => {\n return( setConfirmGapModalToggle(false)}>\n
    \n
    \n
    \n
    \n \n Are you sure you want to remove GAP Waiver?\n \n setConfirmGapModalToggle(false)}>\n
    \n
    \n
    \n
    \n
    \n GAP Waiver ensures that your loan is paid off in case of a total loss, in the event that the amount you owe at the time of the total loss is higher than your car's value as determined by your insurance company.\n
    \n
    \n
    \n \n \n
    \n
    \n
    )\n }\n\n return(
    \n
    Lendbuzz Costs
    \n
    \n
    \n \n \n \n \n \n {renderConfirmationModal()}\n {renderGAPWaiver()}\n \n
    \n
    \n
    \n)\n}\n\nexport default LendbuzzTable\n","import React, { useContext, useMemo} from 'react'\nimport DealStructureContext from '../DealStructureContext.js'\n\nconst DealHistory = () => {\n const { dealHistory, dealHistoryLoader, form } = useContext(DealStructureContext)\n\n const formattedDate = useMemo(() => {\n const updatedAt = dealHistory?.active_deal?.updated_at\n const date = Common.getDate(updatedAt, {format: \"hh:mma on MM-DD-YYYY\", local: true})\n\n return date\n }, [dealHistory])\n\n const getOwner = () => {\n let owner = dealHistory?.active_deal?.owner || \"\"\n const ownerSource = owner.split(\"@\")\n\n // using this logic order specifically because it's difficult to disambiguate client and dealer\n // however, because there is intrinsically only one client on a loan, even if there are multiple\n // dealer reps, we're comparing the emails on client first to act as a rule out\n\n if (!owner) {\n return \"\"\n } else if (ownerSource[1] === \"lendbuzz.com\") {\n owner = \"Lendbuzz\"\n } else if (owner === form?.person?.email) {\n owner = `${form.person.first_name} ${form.person.last_name}`\n } else {\n owner = form?.dealer?.name\n }\n\n return `by ${owner}`\n }\n\n const renderLastUpdated = () => {\n if (dealHistoryLoader) {\n return (Loading deal history...)\n } else if (dealHistory?.active_deal) {\n const owner = getOwner()\n\n return (Deal structure last changed and saved {owner} at {formattedDate})\n } else {\n // to be clear, this case should NEVER HAPPEN, so if it does please check whether the data is\n // coming in correctly\n return (Deal history not available)\n }\n }\n\n return (
    \n {renderLastUpdated()}\n
    )\n}\n\nexport default DealHistory\n","import React, { useContext } from 'react';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport DSDollarInput from '../modules/DSDollarInput.js.jsx';\nimport DSInputBox from '../modules/DSInputBox.js';\nimport HeaderContext from '../HeaderContext.jsx';\nimport { convertToMonths } from '../DealStructureHelpers.jsx'\nimport { updateForm } from '../../../actions/DealerDealStructureActions.js.jsx'\nimport NumberFormatter from '../../../number_formatter.js';\nimport DealHistory from \"./DealHistory\"\n\nconst LoanSummary = () => {\n const { form, calculated, calculatorLoader, dispatch, readOnly, onKeyDown, currentUser } = useContext(DealStructureContext)\n const HeaderContextRef = useContext(HeaderContext)\n const loan_term = _.clone(form['loan_term'])\n const calculated_loan_term = calculated ? loan_term : {}\n const dispatches = { 'dealStructure': dispatch, 'dealHeader': HeaderContextRef.dispatch }\n\n const onChangeLoanDuration = (event) => {\n const value = event.target.value\n\n loan_term.loan_duration = value\n\n let updated_form = _.clone(form)\n updated_form.loan_term = loan_term\n updateForm(dispatches, updated_form)\n }\n\n const onChangeUpcharge = (event) => {\n const value = event.target.value\n\n loan_term.dealer_boost = value\n\n let updated_form = _.clone(form)\n updated_form.loan_term = loan_term\n updateForm(dispatches, updated_form)\n }\n\n const createDealerBoostOptions = () => {\n const allowed_dealer_boosts = form?.allowed_dealer_boosts\n const dealer_boost = loan_term?.dealer_boost\n\n if (allowed_dealer_boosts && allowed_dealer_boosts.length) {\n return allowed_dealer_boosts.map(boost => {\n return [Common.percentage_format(boost, 2), boost]\n })\n } else {\n return [[Common.percentage_format(dealer_boost, 2), dealer_boost]]\n }\n }\n\n const createLoanTermOptions = () => {\n const default_loan_durations = [\n ['36 Months', '3-year'],\n ['48 Months', '4-year'],\n ['60 Months', '5-year']\n ]\n\n const allowed_loan_durations = form?.allowed_loan_durations\n if (allowed_loan_durations.length) {\n return allowed_loan_durations.map(term => {\n return [`${convertToMonths(term)} months`, `${term}-year`]\n })\n } else {\n return default_loan_durations\n }\n }\n\n const allowedLoanDurations = () => {\n const durations = createLoanTermOptions()\n const loan_duration_exist = durations.find(d => d[1] === loan_term['loan_duration'])\n if (loan_duration_exist || !loan_term['loan_duration']) {\n return durations\n }\n\n const l_duration = loan_term['loan_duration'] || \"\"\n const year = l_duration.split('-')[0]\n if (!year) {\n return\n }\n\n const months = Number(year) * 12\n\n return [...durations, [`${months} months`, loan_term['loan_duration']]]\n }\n\n const percFormat = (number) => {\n if (!number && number != 0) {\n return false\n }\n\n number = parseFloat(number).toFixed(2)\n\n return `${number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")}`;\n }\n\n const calculatorInputClass = () => {\n return calculatorLoader ? \"text-gray-350\" : \"\"\n }\n\n const renderInterestFields = () => {\n if (!currentUser.dealer_id) {\n return ''\n }\n\n return (<>\n \n onChangeUpcharge(event)}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n type='selectTwoCol'\n options={createDealerBoostOptions()}\n disableEmptyOption\n disabled={loan_term['dealer_boost_locked'] || readOnly}\n />\n )\n }\n\n const generateMonthlyPaymentTitle = () => {\n if (loan_term?.loan_due_date) {\n const dueDate = Common.getDate(loan_term?.loan_due_date, {format: \"fancy\"})\n return `Monthly Payment (1st payment due ${dueDate})`\n }\n return \"Monthly Payment\"\n }\n\n return(
    \n
    Loan Summary
    \n
    \n
    \n \n \n {renderInterestFields()}\n \n onChangeLoanDuration(event)}\n onKeyDown={(e) => onKeyDown(e, dispatches)}\n type='selectTwoCol'\n options={allowedLoanDurations()}\n disableEmptyOption\n disabled={readOnly}\n />\n
    \n \n
    \n
    \n)\n}\n\nexport default LoanSummary;\n","import React, { useState } from 'react';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js.jsx';\nimport ErrorModal from '../modules/ErrorModal.jsx';\n\nconst HeaderBox = (props) => {\n const [errorModalTrigger, setErrorModalTrigger] = useState(false)\n\n const handleErrorModal = (toggle) => {\n setErrorModalTrigger(toggle)\n }\n\n const borderClasses = () => {\n if (props.left) {\n return \"lg:border-r lg:border-l-0\"\n } else if (props.right) {\n return \"lg:border-l lg:border-r\"\n } else {\n return \"lg:border-l\"\n }\n }\n\n const errorClasses = () => {\n if ((!props.error) || props.error && props.error.status) {\n return \"\"\n } else if (props.error && !props.error.status) {\n return \"text-error\"\n }\n }\n\n return(
    \n \n {props.data}\n setErrorModalTrigger(true)} clickable />\n \n {props.label}\n \n
    )\n}\n\nexport default HeaderBox\n","import React, { useContext, useState, useEffect } from 'react';\nimport HeaderContext from '../HeaderContext.jsx';\nimport lb_fetch from '../../../helpers/Request.js';\nimport Automobile from '../../../models/Automobile.js';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js';\nimport AssetGrade from '../AssetGrade.jsx';\nimport NumberFormatter from '../../../number_formatter.js';\nimport { validateVIN } from '../DealStructureHelpers.jsx';\nimport DSInputBox from '../modules/DSInputBox.js.jsx';\nimport DSDollarInput from '../modules/DSDollarInput.js';\nimport { CompactDollarInput } from '../../modules/BasicElements/DollarInput.js.jsx';\nimport { flashInput } from '../../../Animations.js';\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx';\n\nconst AutomobileModal = (props) => {\n const { dispatch, automobileDetails, automobilePurchasePrice } = useContext(HeaderContext)\n const [vinChanged, setVinChanged] = useState(false)\n const [noNadaVehicle, setNoNadaVehicle] = useState(false)\n const [nadaVehicles, setNadaVehicles] = useState(null)\n const [readOnly, setReadOnly] = useState(false)\n const [nadaModal, setNadaModal] = useState(false)\n const [vehicleLoader, setVehicleLoader] = useState(false)\n const [styles, setStyles] = useState([])\n const [models, setModels] = useState([])\n const [makes, setMakes] = useState([])\n\n const historyOptions = [['', ''], ['New', 'new'], ['Used', 'used'], ['Pre-owned', 'pre-owned']]\n const currentModelYear = (new Date).getFullYear() + 2\n const years = _.range(1990, currentModelYear)\n const vinInputRef = React.createRef()\n\n const isMount = useIsMount()\n\n useEffect(() => {\n if (!isMount && nadaVehicles) {\n updateFieldsAfterNadaPull()\n }\n }, [nadaVehicles])\n\n async function updateFieldsAfterNadaPull() {\n if (nadaVehicles && nadaVehicles.length == 1) {\n await setCarDetails(0)\n return\n }\n\n showNadaModal(true)\n setStyles(nadaVehicles.map(v => [v['style'], v['uid']]))\n }\n\n const updateAutomobileDetails = (data) => {\n const payload = {\n type: 'UPDATE_AUTOMOBILE_DETAILS',\n data: data\n }\n dispatch(payload)\n }\n\n const updateAutomobilePurchasePrice = (data) => {\n const payload = {\n type: 'UPDATE_AUTOMOBILE_PURCHASE_PRICE',\n data: data\n }\n dispatch(payload)\n }\n\n const updateAutomobile = (value, field) => {\n let extraFields = {}\n\n if (field == 'vin') {\n setVinChanged(true)\n }\n\n if (field == 'history' && value != \"new\") {\n extraFields = { 'msrp_value': 0 }\n }\n\n updateAutomobileDetails({ [field]: value, ...extraFields })\n return automobileDetails\n }\n\n const updatePurchasePrice = (field, value, format) => {\n let purchase_price = { ...automobilePurchasePrice }\n purchase_price[field] = value\n\n if (format) {\n purchase_price[field] = NumberFormatter.formatMoney(value || 0, true)\n }\n\n updateAutomobilePurchasePrice(purchase_price)\n }\n\n const onChangePurchasePrice = (e, field, format) => {\n updatePurchasePrice(field, e.target.value, format)\n }\n\n const onBlurPurchasePrice = (e, field) => {\n updatePurchasePrice(field, e.target.value, true)\n }\n\n const autofillVehicle = (e) => {\n let stripped_vin = e.target.value.replace(/\\s+/g, '')\n updateAutomobile(stripped_vin, 'vin')\n\n const validation_results = validateVIN(stripped_vin)\n\n if (vinChanged && validation_results.valid) {\n pullNadaVehicles(stripped_vin);\n setVinChanged(false);\n }\n }\n\n async function setCarDetails(i) {\n let localVehicle = nadaVehicles[i] || {};\n\n showNadaModal(false);\n\n let automobile = updateAutomobile(localVehicle.year, \"year\")\n automobile = updateAutomobile(localVehicle.make, \"make\")\n automobile = updateAutomobile(localVehicle.model, \"model\")\n automobile = updateAutomobile(localVehicle.style, \"style\")\n automobile = updateAutomobile(localVehicle.uid, \"nada_uid\")\n automobile = updateAutomobile(localVehicle.asset_grade, \"asset_grade\")\n\n const current_year = (new Date).getFullYear()\n if (localVehicle['year'] - current_year < 0) {\n updateAutomobile('used', \"history\")\n } else {\n updateAutomobile('new', \"history\")\n }\n\n flashInput('automobile_year')\n flashInput('automobile_make')\n flashInput('automobile_model')\n flashInput('automobile_style')\n flashInput('automobile_history')\n flashInput('automobile_asset_grade')\n setReadOnly(true)\n };\n\n const showNadaModal = (toggle) => {\n setNadaModal(toggle)\n return nadaModal\n }\n\n async function pullNadaVehicles(vin) {\n setVehicleLoader(true)\n\n const url = '/pull_nada_trims';\n const req_data = {\n 'loan_application': {\n 'automobile': {\n 'vin': vin\n }\n }\n };\n setNadaVehicles(null)\n\n let res = null\n try {\n res = await lb_fetch(url, { body: req_data })\n } catch (error) {\n console.log('error in VehicleInformation#pullNadaVehicles');\n console.log(error);\n return\n }\n finally {\n setVehicleLoader(false)\n }\n\n if (!res.ok) {\n return\n }\n\n const data = await res.json()\n\n if (!data || !data['data'] || !data['data'].length) {\n setNoNadaVehicle(true)\n return\n }\n\n const vehicles = data['data'].map((v) => {\n return {\n make: v['make'],\n model: v['model'],\n year: v['modelyear'],\n style: v['body'],\n uid: v['uid'],\n asset_grade: v.lendbuzz_asset_grade,\n }\n })\n\n setNoNadaVehicle(false)\n setNadaVehicles(vehicles)\n }\n\n const _changeMileage = (e) => {\n let value = e.target.value\n let number = parseInt(value.replace(/\\D/g, ''));\n\n updateAutomobile((number || value), \"mileage\")\n }\n\n const _onBlurMileage = (e) => {\n let value = e.target.value\n value = NumberFormatter.formatMoney(value || 0)\n updateAutomobile(value, \"mileage\")\n }\n\n const onClickClear = (field) => {\n if (automobileDetails[field]) {\n return\n }\n\n updateAutomobile('', field)\n }\n\n async function _changeMake(e) {\n const value = e.target.value;\n\n updateAutomobile(value, 'make')\n updateAutomobile('', 'model')\n updateAutomobile('', 'style')\n setModels([])\n setStyles([])\n\n let res = null\n const automobile = _.clone(automobileDetails) || {}\n\n try {\n res = await Automobile.models(automobile['year'], value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeMake');\n console.log(error);\n return\n }\n\n const res_models = res.Models || [];\n const newModels = res_models.map(m => m['model_name'])\n setModels(newModels)\n }\n\n async function _changeModel(e) {\n const value = e.target.value;\n updateAutomobile(value, 'model')\n\n let res = null\n const automobile = _.clone(automobileDetails) || {}\n\n try {\n res = await Automobile.styles(automobile.year, automobile.make, value)\n } catch (error) {\n console.log('error in ajax call VehicleInformation#_changeModel');\n console.log(error);\n return\n }\n\n const res_styles = res['Trims'] || []\n const newStyles = res_styles.map(s => s['model_trim'])\n setStyles(newStyles)\n }\n\n async function _changeYear(e) {\n const value = e.target.value;\n\n updateAutomobile(value, 'year')\n\n let res = null\n try {\n res = await Automobile.makes(value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeYear');\n console.log(error);\n return\n }\n\n const res_makes = res.Makes || []\n const newMakes = res_makes.map(m => m['make_display'])\n\n if (!newMakes.includes('Land Rover')) {\n newMakes.push('Land Rover')\n }\n setMakes(newMakes)\n }\n\n const onChangeWholesale = (value) => {\n const amount = NumberFormatter.parseMoney(value)\n\n updateAutomobile(amount, 'wholesale_value')\n }\n\n const onChangeMSRP = (value) => {\n const amount = NumberFormatter.parseMoney(value)\n\n updateAutomobile(amount, 'msrp_value')\n }\n\n const focusVin = () => {\n try {\n vinInputRef.current.click()\n vinInputRef.current.focus()\n } catch (error) {\n console.log('vin cant be focused');\n }\n }\n\n const renderVin = () => {\n const errors = {}\n const warnings = {}\n const automobile = _.clone(automobileDetails) || {}\n\n let pull_icon = (\n
    pullNadaVehicles(automobile['vin'])}>\n \n \n
    \n )\n let vehicleLoader_text = \"\"\n let disabledClass = \"\"\n\n if (vehicleLoader || !automobile['vin']) {\n pull_icon = \"\"\n }\n\n if (vehicleLoader) {\n vehicleLoader_text = \"Fetching car information...\"\n }\n\n // NOTE: submitVehicleLoading is reflecting both submitVehicleLoading and readOnly states since both are disabled states for the fields\n if (props.submitVehicleLoading) {\n disabledClass = \"bg-gray-150\"\n }\n\n return (\n
    \n
    VIN
    \n
    \n
    \n updateAutomobile(e.target.value, 'vin')}\n onBlur={(e) => autofillVehicle(e)}\n autoComplete=\"chrome-off\"\n disabled={props.submitVehicleLoading}\n />\n
    \n\n
    \n \n {pull_icon}\n
    \n
    \n
    {errors['automobile_vin']}
    \n
    {warnings['automobile_vin']}
    \n
    {vehicleLoader_text}
    \n
    \n )\n }\n\n const renderStyles = () => {\n const style = automobileDetails?.style\n return (\n updateAutomobile(e.target.value, 'style')}\n required=\"required\"\n disabled={props.submitVehicleLoading}\n />\n )\n }\n\n const renderAssetGrade = () => {\n const { asset_grade, make, model } = automobileDetails\n\n return (\n }\n />\n )\n }\n\n const renderCarField = (args) => {\n // args should be an object with keys name, value, list, data, onChange, readOnly\n return (\n \n );\n }\n\n const renderNadaVehiclesModal = () => {\n const automobile = _.clone(automobileDetails)\n\n if (!nadaModal || nadaVehicles && !nadaVehicles.length || !nadaVehicles) {\n // Don't need the modal unless there's more than one option for trim\n return '';\n }\n\n const vehicles_view = nadaVehicles.map((vehicle, index) => {\n return (\n
    setCarDetails(index)}>\n
    \n {vehicle['year']} {vehicle['make']} {vehicle['model']}\n
    \n
    \n {vehicle['style']}\n
    \n
    \n )\n })\n\n var vehicles_body = (\n
    \n
    \n {vehicles_view}\n
    \n
    \n )\n\n let modal_body = renderVehicleLoader();\n if (!vehicleLoader) {\n modal_body = vehicles_body;\n }\n\n return (\n
    \n
    Suggested vehicles for VIN {automobile.vin}
    \n {modal_body}\n
    \n )\n }\n\n\n const renderVehicleLoader = () => {\n return
    \n
    \n \n
    \n
    ;\n }\n\n const renderPurchasePriceFields = () => {\n return (\n
    \n
    Deal Structure
    \n
    \n onChangePurchasePrice(e, 'purchase_price', false)}\n onBlur={(e) => onBlurPurchasePrice(e, 'purchase_price')}\n disabled={props.submitVehicleLoading}\n />\n onChangePurchasePrice(e, 'sales_tax', false)}\n onBlur={(e) => onBlurPurchasePrice(e, 'sales_tax')}\n disabled={props.submitVehicleLoading}\n />\n onChangePurchasePrice(e, 'cash_downpayment', false)}\n onBlur={(e) => onBlurPurchasePrice(e, 'cash_downpayment')}\n disabled={props.submitVehicleLoading}\n />\n onChangePurchasePrice(e, 'rebate', false)}\n onBlur={(e) => onBlurPurchasePrice(e, 'rebate')}\n disabled={props.submitVehicleLoading}\n />\n
    \n
    )\n }\n\n const renderVehicleInformation = () => {\n let makeInput = renderCarField({\n title: 'Make',\n name: 'make',\n value: automobileDetails['make'],\n list: 'car_makes',\n options: makes,\n onChange: _changeMake,\n readOnly: readOnly\n })\n\n let modelInput = renderCarField({\n title: 'Model',\n name: 'model',\n value: automobileDetails['model'],\n list: 'car_models',\n options: models,\n onChange: _changeModel,\n readOnly: readOnly\n })\n\n let yearInput = renderCarField({\n title: 'Year',\n name: 'year',\n value: automobileDetails['year'],\n list: 'car_year',\n options: years,\n onChange: _changeYear,\n readOnly: readOnly\n })\n\n let wholesale_value = automobileDetails.wholesale_value\n if ([null, undefined].includes(wholesale_value)) {\n wholesale_value = 0\n } else if (wholesale_value != 0) {\n wholesale_value = NumberFormatter.formatMoney(automobileDetails.wholesale_value || 0)\n } else {\n wholesale_value = \"\"\n }\n\n let msrp_value = automobileDetails.msrp_value\n\n if ([null, undefined].includes(msrp_value)) {\n msrp_value = 0\n } else if (msrp_value != 0) {\n msrp_value = NumberFormatter.formatMoney(automobileDetails.msrp_value || 0)\n } else {\n msrp_value = \"\"\n }\n\n let msrpInput = null\n let wholesaleCols = 3\n let wholesaleTitle = \"Wholesale Value/Invoice Price\"\n\n if (automobileDetails.history == \"new\") {\n wholesaleTitle = \"Invoice Price\"\n wholesaleCols = 2\n msrpInput = (\n
    \n onChangeMSRP(e.target.value)}\n onClick={() => onClickClear('msrp_value')}\n disabled={props.submitVehicleLoading}\n />\n
    )\n }\n\n let nadaNada = \"\"\n\n if ((!nadaVehicles || !nadaVehicles.length) && noNadaVehicle) {\n nadaNada = (No vehicle found for this VIN)\n }\n\n let disabledClass = \"\"\n\n if (props.submitVehicleLoading) {\n disabledClass = \"bg-gray-150\"\n }\n\n return (\n
    \n
    Vehicle Information {nadaNada}
    \n
    \n
    \n
    focusVin()}>\n {renderVin()}\n
    \n
    \n
    \n
    \n
    \n updateAutomobile(e.target.value, 'history')}\n errorKey='automobile_history'\n options={historyOptions}\n disabled={props.submitVehicleLoading}\n />\n
    \n {msrpInput}\n
    \n onChangeWholesale(e.target.value)}\n onClick={() => onClickClear('wholesale_value')}\n disabled={props.submitVehicleLoading}\n />\n
    \n
    \n
    \n
    \n
    \n {yearInput}\n
    \n
    \n {makeInput}\n
    \n
    \n {modelInput}\n
    \n
    \n {renderAssetGrade()}\n
    \n
    \n
    \n
    \n {renderStyles()}\n
    \n
    \n onClickClear('mileage')}\n disabled={props.submitVehicleLoading}\n />\n
    \n
    \n
    \n {renderPurchasePriceFields()}\n {renderNadaVehiclesModal()}\n
    \n )\n }\n\n return (renderVehicleInformation())\n}\n\nexport default AutomobileModal;\n","import React, { useState, useContext, useEffect } from 'react';\nimport lb_fetch from '../../../helpers/Request.js';\nimport ErrorIcon from '../../modules/BasicElements/ErrorIcon.js.jsx';\nimport ErrorModal from '../modules/ErrorModal.jsx';\nimport LBModal from '../../modules/LBModal.js.jsx';\nimport AutomobileModal from './AutomobileModal.jsx';\nimport HeaderContext from '../HeaderContext.jsx';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport AssetGrade from '../AssetGrade.jsx';\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx';\nimport { handleAnalytics } from '../DealStructureHelpers.jsx';\nimport UrlHelper from '../../../helpers/UrlHelper.js';\nimport NumberFormatter from '../../../number_formatter.js';\n\nconst AutomobileHeaderBox = (props) => {\n const { form, automobileDetails, dispatch, lbid, currentUser, userEmail, automobilePurchasePrice, autoReadOnly } = useContext(HeaderContext)\n const DSContext = useContext(DealStructureContext)\n\n const dealer = form?.['dealer'] || {}\n const read_only = !dealer['is_dealership'] || autoReadOnly\n const [error, setError] = useState(\"\")\n const [errorModalTrigger, setErrorModalTrigger] = useState(false)\n const [automobileModalTrigger, setAutomobileModalTrigger] = useState(false)\n const [submitVehicleLoading, setSubmitVehicleLoading] = useState(false)\n const [currentCar, setCurrentCar] = useState(null)\n\n const isMount = useIsMount()\n\n const updateAutomobileDetails = (updated_automobile) => {\n const payload = {\n type: 'UPDATE_ALL_AUTOMOBILE_DETAILS',\n automobileDetails: updated_automobile\n }\n dispatch(payload)\n }\n\n useEffect(() => {\n if (!isMount && !currentCar && automobileDetails) {\n let automobile = automobileDetails\n setCurrentCar({ ...automobile })\n }\n })\n\n useEffect(() => {\n if (isMount && UrlHelper.getParamsFromURL(\"change_automobile\")) {\n openAutoModal()\n }\n }, [])\n\n useEffect(() => {\n setError(\"\")\n }, [automobileDetails])\n\n const handleErrorModal = (toggle) => {\n setErrorModalTrigger(toggle)\n }\n\n const openAutoModal = () => {\n handleAnalytics('deal_structure_change_automobile', currentUser, userEmail, form)\n dispatch({\n type: 'UPDATE_AUTOMOBILE_DETAILS',\n data: {},\n replace: true\n })\n setAutomobileModalTrigger(true)\n }\n\n const closeAutoModal = () => {\n updateAutomobileDetails(currentCar)\n setAutomobileModalTrigger(false)\n }\n\n async function saveVehicle() {\n handleAnalytics('update_structure_resubmit_vehicle', currentUser, userEmail, form)\n setSubmitVehicleLoading(true)\n let res = null\n let loan_application = _.clone(form) || {}\n let automobile_purchase_price = {}\n loan_application.automobile = automobileDetails\n Object.keys(automobilePurchasePrice).forEach(key => {\n automobile_purchase_price[key] = NumberFormatter.parseMoney(automobilePurchasePrice[key])\n })\n loan_application.purchase_price = _.merge(loan_application.purchase_price, automobile_purchase_price)\n\n const url = `/loan_applications/${lbid}/deal_structure/clone`\n\n // handle error states here\n try {\n res = await lb_fetch(url, { method: 'post', body: { loan_application: loan_application } })\n DSContext.revertPurchasePrice()\n } catch (error) {\n console.log('error in ajax call VehicleInformation#_changeModel');\n console.log(error);\n setError(\"failed to submit, try again or contact us\")\n setSubmitVehicleLoading(false)\n return\n }\n\n if (!res.ok) {\n console.log('error in fetch call VehicleInformation#saveVehicle');\n console.log(res);\n setError(\"failed to submit, try again or contact us\")\n setSubmitVehicleLoading(false)\n return\n }\n\n let data = await res.json()\n let newLbid = data.form.lbid\n window.location.href = `/loan_applications/${newLbid}/deal_structure/edit`\n }\n\n const renderAutomobileModal = () => {\n let closeIcon = ( closeAutoModal()}>)\n if (submitVehicleLoading) {\n closeIcon = \"\"\n }\n\n return (\n { } : () => closeAutoModal()}>\n
    \n
    \n
    \n
    \n
    \n
    \n Automobile Details\n
    \n
    {error}
    \n
    \n {closeIcon}\n
    \n
    \n
    \n
    \n
    \n {}\n
    \n
    \n {renderButtons()}\n
    \n
    \n )\n }\n\n const renderButtons = () => {\n\n if (read_only) {\n return\n }\n\n let submitVehicle = \"Resubmit Vehicle\"\n if (submitVehicleLoading) {\n submitVehicle = \"Submitting...\"\n }\n\n const is_filled = ['vin', 'make', 'model', 'year', 'style', 'history', 'mileage'].find(a => !automobileDetails[a] && automobileDetails[a] != 0) == null\n\n return (\n
    \n \n \n
    \n )\n }\n\n const renderChange = () => {\n if (read_only) return null\n\n return (\n \n setErrorModalTrigger(true)} clickable />\n \n )\n }\n\n const renderAssetGrade = () => {\n const { asset_grade } = form || {}\n const { make, model } = form?.automobile || {}\n\n return \n }\n\n return (\n
    \n
    \n \n {props.data}\n {renderChange()}\n \n {props.label}\n \n {renderAutomobileModal()}\n
    \n
    \n {renderAssetGrade()}\n
    \n
    \n )\n}\n\nexport default AutomobileHeaderBox\n","const snakeCaseToKebabCase = (object) => {\n if (!object || typeof object !== \"object\") { return object }\n\n const isArray = Array.isArray(object)\n\n if (isArray) {\n return object.map(value => snakeCaseToKebabCase(value))\n }\n\n // eslint-disable-next-line unicorn/no-array-reduce\n return Object.keys(object).reduce((accum, current) => {\n return {\n ...accum,\n [_.kebabCase(current)]: snakeCaseToKebabCase(object[current])\n }\n }, {})\n}\n\nexport default snakeCaseToKebabCase;\n","import React, { useMemo, useContext, useState, useEffect, useCallback } from 'react'\nimport HeaderBox from '../HeaderBox'\nimport HeaderContext from '../../HeaderContext.jsx';\nimport DealStructureContext from '../../DealStructureContext.js.jsx'\nimport lb_fetch from '../../../../helpers/Request.js';\n\nimport snakeCaseToKebabCase from '../../../../helpers/parsingHelper.js'\nimport { useIsMount } from '../../../helpers/useIsMount.js';\n\nconst AiraBox = ({\n airaScore: airaScoreProp,\n gridCols,\n hasTransactions: hasTransactionsProp,\n}) => {\n const {\n form, calculated, calculatorResponse, updated\n } = useContext(DealStructureContext)\n const { dynamic_rules: dynamicRules } = form\n const { lbid } = useContext(HeaderContext)\n\n const [airaScore, setAiraScore] = useState(airaScoreProp)\n const [hasTransactions, setHasTransactions] = useState(hasTransactionsProp)\n const [isLoadingAira, setLoadingAira] = useState(false)\n const [airaError, setAiraError] = useState(false)\n\n const requestTransientAira = async (deal) => {\n\n if (isLoadingAira) return\n\n const url = 'aira/get_transient_aira'\n\n setLoadingAira(true)\n\n try {\n const res = await lb_fetch(url, { body: { lbid, new_deal: snakeCaseToKebabCase(deal) } })\n\n if (!res.ok) {\n console.log(\"Error while requesting transient aira\")\n return\n }\n\n const data = await res.json()\n setAiraScore(data?.['ai-score']?.value)\n setHasTransactions(data?.feature_fields?.transactions)\n return data\n\n } catch (error) {\n setAiraError(\"Error requesting aira\")\n console.log('Error in request transient aira', error);\n return null\n\n } finally {\n setLoadingAira(false)\n }\n }\n\n useEffect(() => {\n if (calculated && Object.entries(calculatorResponse).length) {\n // calculatorResponse is emptied after update is called, so we want to calculate with Form \n requestTransientAira(calculatorResponse.new_deal)\n }\n }, [calculated, calculatorResponse])\n\n useEffect(() => {\n // after an update, we call calculate with the updated form\n if (updated && Object.entries(form).length) {\n requestTransientAira(form)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [updated, form])\n\n\n const airaRange = useMemo(() => {\n if (airaScore >= dynamicRules.min_aira) return { message: \"Within Range\", color: \"black\" }\n return { message: \"Out of Policy\", color: \"text-error\" }\n }, [airaScore, dynamicRules.min_aira])\n\n const airaInfo = useMemo(() => {\n if (isLoadingAira)\n return { color: \"text-gray-350\", message: \"Calculating\" }\n\n if (!hasTransactions || airaScore === null)\n return { color: \"text-gray-350\", message: \"Data Needed\" }\n\n if (airaError)\n return { color: \"text-error\", message: \"Error Calculating\" }\n\n return airaRange\n }, [airaError, airaScore, airaRange, isLoadingAira, hasTransactions])\n\n const aira_value_view = (\n \n {airaInfo.message}\n \n \n \n \n \n )\n\n const aira_label_view = (\n
    \n \n AIRA™ Deal Risk\n \n
    \n )\n\n return (\n \n )\n}\n\nexport default AiraBox\n","import AiraBox from \"./AiraBox\";\n\nexport default AiraBox","import React, { useContext, useEffect, useMemo } from 'react';\nimport NumberFormatter from '../../../number_formatter.js';\nimport HeaderContext from '../HeaderContext.jsx';\nimport HeaderBox from './HeaderBox.jsx';\nimport AutomobileHeaderBox from './AutomobileHeaderBox.jsx';\nimport { downpaymentPercentage } from '../DealStructureHelpers.jsx';\nimport DealStructureValidations from '../helpers/Validations.js';\nimport lb_fetch from '../../../helpers/Request.js';\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx';\nimport { _ } from 'numeral';\nimport AiraBox from './AiraBox';\n\nconst DealHeader = ({ airaScore, airaTimestamp, hasTransactions, renderMinimalDealHeader = false }) => {\n const { form, total_downpayment, loader, calculated, dispatch, pti, ptiThreshold, ptiLoader, loanId, showValidations } = useContext(HeaderContext)\n\n let automobile, downpayment_percentage, vin, loan_term\n const isMount = useIsMount()\n\n useEffect(() => {\n if (isMount) {\n calculatePTIRequest()\n }\n }, []);\n\n if (form) {\n automobile = form?.['automobile']\n downpayment_percentage = downpaymentPercentage(NumberFormatter.parseMoney(form?.['purchase_price']?.['purchase_price']), NumberFormatter.parseMoney(total_downpayment))\n vin = automobile['vin']\n loan_term = form?.['loan_term']\n }\n\n const validations = useMemo(() => {\n return new DealStructureValidations(form)\n }, [form])\n\n const downpayment_errors = validations.errors('total_downpayment')\n const frontend_total_errors = validations.errors('frontend_total')\n const backend_total_errors = validations.errors('backend_total')\n const ltv_errors = validations.errors('ltv')\n\n const all_ltv_errors = () => {\n const all_ltv_errors = {\n status: true,\n message: []\n }\n\n if (!frontend_total_errors.status) {\n all_ltv_errors.status = false\n all_ltv_errors.message.push(frontend_total_errors.message)\n }\n if (!backend_total_errors.status) {\n all_ltv_errors.status = false\n all_ltv_errors.message.push(backend_total_errors.message)\n }\n if (!ltv_errors.status) {\n all_ltv_errors.status = false\n all_ltv_errors.message.push(ltv_errors.message)\n }\n\n all_ltv_errors.message = all_ltv_errors.message.map((elem, idx) => {\n return
  • {elem}
  • \n })\n\n return all_ltv_errors\n }\n\n const ltv = () => {\n const ltv_data = form?.pre_approval_dynamic_rules_check\n\n if (ltv_data) {\n return `${Common.percentage_format(ltv_data?.ltv, 1)}`\n } else {\n return \"No data\"\n }\n }\n\n const custName = () => {\n if (form) {\n return `${form['person']['first_name']} ${form['person']['last_name']}`\n }\n return null\n }\n\n const totalDownpaymentAndPercentage = () => {\n if (form) {\n return `${Common.dollar_format(total_downpayment, { ceil: true })} (${Common.percentage_format(downpayment_percentage, 1)})`\n }\n return null\n }\n\n const perMonth = () => {\n const monthly_payment = form?.['loan_term']?.['monthly_payment']\n\n if (loader) {\n return \"Calc...\"\n } else if (!calculated) {\n return \"---\"\n } else {\n return `${Common.dollar_format(monthly_payment, { ceil: true })}`\n }\n }\n\n const ptiDisplay = () => {\n if (ptiLoader) {\n return \"Calc...\"\n }\n\n if (typeof (pti) == 'number') {\n return `${parseFloat(pti * 100).toFixed(1)} %`\n }\n\n return '--'\n }\n\n const ptiError = () => {\n if (!pti || !ptiThreshold) {\n return { status: true }\n }\n\n const pti_thresold_percent = Common.percentage_format(parseFloat(ptiThreshold) * 100, 1)\n\n if (pti > ptiThreshold) {\n return {\n status: false,\n message: `PTI cannot exceed ${pti_thresold_percent}`\n }\n }\n }\n\n const calculatePTIRequest = async () => {\n dispatch({\n type: 'PTI_LOADER',\n status: true\n })\n const url = `/loan_applications/${form['lbid']}/deal_structure/calculate_pti`\n let res\n try {\n res = await lb_fetch(url, { method: 'POST' })\n } catch (error) {\n console.log('error in calculatePTIRequest');\n console.log(error);\n return\n }\n finally {\n dispatch({\n type: 'PTI_LOADER',\n status: false\n })\n }\n\n if (!res.ok) {\n console.log('error in response, calculatePTIRequest');\n console.log(res);\n return\n }\n\n const data = await res.json()\n\n const pti_info = data['data']['data']['stats'] || {}\n\n dispatch({\n type: 'UPDATE_PTI',\n pti: pti_info['PTI'],\n threshold: pti_info['pti-threshold']\n })\n }\n\n return (\n
    \n
    \n
    \n \n \n {!renderMinimalDealHeader &&\n <>\n \n \n \n \n \n \n \n }\n
    \n
    \n
    \n )\n}\n\nexport default DealHeader\n","import React from 'react'\n\nconst ButtonMini = (props) => {\n return(
    \n
    {props.text}
    \n
    )\n}\n\nexport default ButtonMini\n","import React, { useContext } from 'react';\nimport ButtonMini from './ButtonMini.jsx';\nimport DealStructureContext from '../DealStructureContext.js.jsx';\nimport { handleAnalytics } from '../DealStructureHelpers.jsx';\n\nconst BackBar = (props) => {\n const { currentUser, userEmail, form } = useContext(DealStructureContext)\n\n const handleClick = (origin, link, newTab=false) => {\n if (origin) {\n handleAnalytics(origin, currentUser, userEmail, form)\n }\n if (newTab) {\n window.open(link, \"_blank\")\n } else {\n window.open(link, \"_self\")\n }\n }\n\n const renderApplistButton = () => {\n if (!currentUser['dealer_id']) {\n return\n }\n\n return (\n handleClick('deal_structure_back_to_app_list', `/dealers/${props.dealer_id}/loans`)} text={Back to App list} />\n )\n }\n\n return(
    \n
    \n handleClick('deal_structure_back_to_app_dashboard', `/loan_applications/${props.lbid}`)} text={Back to Application} />\n {renderApplistButton()}\n
    \n
    \n handleClick(null, `/loan_applications/${props.lbid}/view_terms.pdf`, true)} text={ Print Offer} />\n
    \n
    )\n}\n\nexport default BackBar;\n","import React from 'react';\nimport FrontEndTable from './FrontEndTable';\nimport BackEndTable from './BackEndTable';\nimport LendbuzzTable from './LendbuzzTable';\nimport LoanSummary from './LoanSummary';\nimport DealHeader from './DealHeader';\nimport BackBar from './BackBar';\nimport { DealStructureProvider } from '../DealStructureContext.js.jsx';\nimport { HeaderProvider } from '../HeaderContext.jsx';\nimport ToolBar from './ToolBar';\n\nconst DealStructure = (props) => {\n return(\n
    \n \n \n \n
    \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n
    \n \n \n
    \n )\n}\n\nexport default DealStructure;\n","import Alt from 'alt';\nexport default new Alt();\n","import alt from '../alt.js'\nimport lb_fetch from '../helpers/Request.js'\n\nclass DealerApplicationActions {\n saveForm(submit = false) {\n return submit\n }\n\n submitForm() {\n // Need to return something because of how alt.js works.\n return true\n }\n\n continueToMain() {\n // Need to return something because of how alt.js works.\n return true\n }\n\n updateState(new_state) {\n return new_state\n }\n\n saveEmail(email) {\n return email\n }\n\n async createAddress(lbid, address, index) {\n this.updateState({ isCreatingAddress: true })\n\n const url = `/address/${lbid}/create_customer_address`\n let res = null\n try {\n res = await lb_fetch(url, {\n method: 'post',\n body: { address_data: address },\n })\n } catch (error) {\n console.log(error)\n return\n } finally {\n this.updateState({ isCreatingAddress: false })\n }\n\n if (!res.ok) {\n console.log('error saving address (DealerApplicationStore#createAddress)')\n return\n }\n\n const data = await res.json()\n\n if (data && data['error']) {\n console.log('error saving address (DealerApplicationStore#createAddress)')\n return\n }\n\n const { puuid, source, source_identifier, source_name, trigger } = data\n\n this.setAddress(\n {\n puuid,\n source,\n source_identifier,\n source_name,\n trigger,\n },\n index,\n )\n\n return data\n }\n\n async updateAddress(lbid, address, index) {\n this.updateState({ isUpdatingAddress: true })\n\n const url = `/address/${lbid}/update_customer_address`\n let res = null\n try {\n res = await lb_fetch(url, {\n method: 'put',\n body: { address_data: address },\n })\n } catch (error) {\n console.log(error)\n return\n } finally {\n this.updateState({ isUpdatingAddress: false })\n }\n\n if (!res.ok) {\n console.log('error saving address (DealerApplicationStore#updateAddress)')\n return\n }\n\n const data = await res.json()\n\n const { archived } = data\n\n if (archived) {\n this.setAddress(\n {\n puuid: '',\n source_identifier: '',\n source_name: '',\n trigger: '',\n },\n index,\n )\n }\n\n if (data && data['error']) {\n console.log('error saving address (DealerApplicationStore#updateAddress)')\n return\n }\n\n return data\n }\n\n validateAddressField(addressList, index, key, errorKey) {\n return { addressList, index, key, errorKey }\n }\n\n setAddress(address, index) {\n return { address, index }\n }\n\n runFormValidation(key, loan_application = undefined) {\n return { key, loan_application }\n }\n\n clearValidation(key) {\n return key\n }\n}\n\nexport default alt.createActions(DealerApplicationActions)\n","import { AddressValues } from './Address'\n\nexport const PRIMARY_APPLICATION_ADDRESS =\n 'primary_application_address' as const\nexport const PREVIOUS_APPLICATION_ADDRESS =\n 'previous_residential_address' as const\n\nexport type AddressSource =\n | typeof PRIMARY_APPLICATION_ADDRESS\n | typeof PREVIOUS_APPLICATION_ADDRESS\n\nexport const createAddressShellObject = (source: AddressSource) => {\n return {\n source: source,\n address_1: '',\n address_2: '',\n city: '',\n state: '',\n zipcode: '',\n }\n}\n\nexport const addressValuesKeys = ['address_1', 'city', 'state', 'zipcode']\nexport const isAddressValuesEmpty = (address: AddressValues) => {\n return addressValuesKeys.every(\n (key) => address[key] === '' || address[key] === null,\n )\n}\n\nexport const getAddressKeyInPerson = (source: AddressSource, key: keyof AddressValues) => {\n const addressPrefixKey = source === PREVIOUS_APPLICATION_ADDRESS ? 'prev_' : ''\n return `${addressPrefixKey}${key}`\n}\n","import lb_fetch from './Request.js';\nimport NumberFormatter from '../number_formatter.js';\nimport {\n PREVIOUS_APPLICATION_ADDRESS,\n PRIMARY_APPLICATION_ADDRESS,\n} from '../components/dealer_loan_application/AddressInformation/helper'\nimport { addressValuesKeys } from '../components/dealer_loan_application/AddressInformation/helper'\n\n// max mileage restricted on backend\nconst MAX_REQUEST_MILEAGE = 999999\n\nconst assetMileage = async (vin) => {\n if (!vin) {\n return 0\n }\n\n const url = '/pull_car_assets'\n const req_data = {\n loan_application: {\n automobile: {\n vin: vin,\n },\n },\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, { body: req_data })\n } catch (error) {\n console.log('error in VehicleInformation#setCarDetails')\n console.log(error)\n return 0\n }\n\n if (!res.ok) {\n console.log('error in res from VehicleInformation#setCarDetails')\n return 0\n }\n\n const data = await res.json()\n\n if (!data) {\n return 0\n }\n\n const carfax_data = data['carfax-data'] || {}\n return carfax_data['cx-mileage']\n}\n\nconst isNullOrUndefined = (value) => value === null || value === undefined\n\nconst pullVehicleGrade = async ({ vin, make, model, year, mileage }) => {\n const isRequestValid =\n !!vin &&\n !!make &&\n !!model &&\n !!year &&\n !isNullOrUndefined(mileage) &&\n mileage <= MAX_REQUEST_MILEAGE\n if (!isRequestValid) return null\n const queryObject = new URLSearchParams({\n vin,\n make,\n model,\n vehicle_mileage: mileage,\n vehicle_year: year,\n })\n const url = `/pull_vehicle_grade?${queryObject.toString()}`\n\n try {\n const res = await lb_fetch(url, { method: 'get' })\n const data = await res.json()\n return data?.['asset-grade']?.['grade-letter']\n } catch (error) {\n console.log('Error in #pullVehicleGrade', error)\n }\n}\n\nconst educationPresent = (education) => {\n if (!education) {\n return false\n }\n\n let values = [\n education.school_name,\n education.email,\n education.degree,\n education.status,\n education.start_date,\n education.end_date,\n ]\n\n return values.some((v) => v && v.length > 0)\n}\n\nconst emailPatternTest = (email) => {\n const pattern = /[a-zA-Z0-9]+[\\.]?([a-zA-Z0-9]+)?[\\@][a-zA-Z0-9]+[\\.][a-z]+/gi\n const result = pattern.test(email)\n\n if (!result) {\n return {\n valid: false,\n error: 'Invalid email address',\n }\n }\n\n return { valid: true }\n}\n\nconst validateEmail = async (email) => {\n let res = null\n let result = {\n valid: false,\n error: 'Invalid email address',\n }\n\n if (!email) {\n return result\n }\n\n try {\n res = await lb_fetch('/user/is_email_valid', {\n method: 'post',\n body: { email: email },\n })\n } catch (error) {\n return result\n }\n\n if (!res.ok) {\n return result\n }\n\n const data = await res.json()\n if (!data || !data.data) {\n return result\n }\n\n if (!data.data.valid && data.data['error'] && data.data['error']['reason']) {\n result['error'] = data.data['error']['reason']\n return result\n } else if (!data.data.valid) {\n return result\n }\n return { valid: true }\n}\nconst validatePhone = async (phone_number) => {\n // Returns an object. Output will always have property `valid`, true or false.\n // May also include a string under `warning` and/or `error`.\n let number = (phone_number || '').replace(/\\D/g, '')\n\n if (number.length !== 10) {\n return { valid: false, error: 'Phone number must contain 10 digits' }\n }\n\n const url = `/loan_applications/verify_telephone?phone_number=${number}`\n let res = null\n\n try {\n res = await lb_fetch(url, {\n method: 'get',\n })\n } catch (error) {\n console.log(error)\n return { valid: true }\n }\n\n if (!res.ok) {\n console.log('error in response validatePhone')\n return { valid: true }\n }\n\n const data = await res.json()\n if (!data || !data.carrier_data) {\n return { valid: true, warning: 'SMS may fail - unverified number' }\n } else if (data.carrier_data && data.carrier_data.type != 'mobile') {\n return { valid: true, warning: 'SMS will fail - number is landline' }\n }\n\n return { valid: true }\n}\n\nconst validatePresent = (value) => {\n let error = null\n if ((!value && value != 0) || value.length == 0) {\n error = 'This field is required'\n }\n return { valid: !error, error: error }\n}\n\nconst validateDOB = (value) => {\n if (!value) {\n return { valid: false, error: 'This field is required' }\n }\n // add a time to keep timezone shenanigans from changing the date\n const date = new Date(value + 'T12:00')\n if (!date || !Date.parse(date)) {\n return { valid: false, error: 'Date is invalid' }\n }\n\n let cutoff = new Date()\n cutoff.setYear(cutoff.getFullYear() - 18)\n\n if (date > cutoff) {\n return { valid: false, error: 'Client must be at least 18 years old' }\n } else {\n return { valid: true }\n }\n}\n\nconst validateSSN = (_, form) => {\n let value = form['ssn']\n let number = (value || '').replace(/\\D/g, '')\n\n if (number.length != 9) {\n return {\n valid: false,\n error: 'Social Security number must contain 9 digits',\n }\n }\n\n return { valid: true }\n}\n\nconst validateZIP = (zip) => {\n const pattern = /\\d{5}/g\n if (pattern.test(zip)) {\n return { valid: true }\n } else {\n return { valid: false, error: 'ZIP code must be 5 digits' }\n }\n}\n\nconst validateVIN = (vin) => {\n if ((vin || '').length == 17) {\n return { valid: true }\n } else {\n return { valid: false, error: 'VIN should be 17 characters' }\n }\n}\n\nconst validateCarfaxMileage = async (mileage, form) => {\n const automobile = form['automobile'] || {}\n let carfax_mileage = await assetMileage(automobile['vin'])\n carfax_mileage = NumberFormatter.parseMoney(carfax_mileage || 0) || 0\n mileage = NumberFormatter.parseMoney(mileage || 0) || 0\n\n if (carfax_mileage && mileage < carfax_mileage) {\n return {\n valid: true,\n warning: 'This is lower than our records, please double-check.',\n }\n }\n return { valid: true }\n}\n\nconst validatePositive = (value) => {\n const number = NumberFormatter.parseMoney(value)\n if (number < 0) {\n return { valid: false, error: 'This field cannot be negative' }\n }\n return { valid: true }\n}\n\nconst validationMapper = (form) => {\n const validate_presence = [\n 'person.first_name',\n 'person.last_name',\n 'person.passport_issuing_country',\n 'person.citizenship_status',\n 'automobile.history',\n 'submitted_email',\n 'submitted_phone',\n 'automobile.year',\n 'automobile.make',\n 'automobile.model',\n 'automobile.style',\n 'automobile.mileage',\n 'loan_term.loan_duration',\n 'purchase_price.purchase_price',\n 'purchase_price.sales_tax',\n 'purchase_price.cash_downpayment',\n 'purchase_price.license_registration_fees',\n 'purchase_price.extended_warranty',\n 'purchase_price.tire_protection',\n 'lb_program_type',\n 'financial.income_type_1',\n 'financial.income_1',\n ]\n\n const validate_positive = [\n 'purchase_price.purchase_price',\n 'purchase_price.sales_tax',\n 'purchase_price.cash_downpayment',\n 'purchase_price.license_registration_fees',\n 'purchase_price.extended_warranty',\n 'purchase_price.tire_protection',\n 'purchase_price.total_frontend',\n 'purchase_price.total_backend',\n 'financial.income_1',\n ]\n\n const validate_functions = {\n submitted_email: [emailPatternTest, validateEmail],\n submitted_phone: [validatePhone],\n 'person.dob': [validateDOB],\n 'automobile.vin': [validateVIN],\n 'automobile.mileage': [validateCarfaxMileage],\n }\n\n form = form || {}\n const educations = form['educations'] || []\n const education_present = educationPresent(educations[0])\n\n if (!form.no_ssn) {\n validate_functions['person.ssn'] = [validateSSN]\n }\n\n if (education_present) {\n const education_validations = [\n 'educations.0.school_name',\n 'educations.0.email',\n 'educations.0.status',\n 'educations.0.degree',\n 'educations.0.start_date',\n 'educations.0.end_date',\n ]\n validate_presence.push(...education_validations)\n }\n\n validate_presence.forEach((vp) => {\n validate_functions[vp] = validate_functions[vp] || []\n validate_functions[vp].push(validatePresent)\n })\n validate_positive.forEach((vp) => {\n validate_functions[vp] = validate_functions[vp] || []\n validate_functions[vp].push(validatePositive)\n })\n\n return validate_functions\n}\n\nconst validateAddressField = (address, key) => {\n const { source } = address\n let validateZipcode = null\n let validatePresence = null\n\n if (source === PRIMARY_APPLICATION_ADDRESS) {\n validatePresence = validatePresent(address[key])\n }\n\n if (key === 'zipcode') {\n validateZipcode = validateZIP(address[key])\n }\n\n if (source === PREVIOUS_APPLICATION_ADDRESS) {\n const oneFieldHasValue = addressValuesKeys.some(\n (field) => address[field] !== null && address[field] !== '',\n )\n\n if (oneFieldHasValue) {\n validatePresence = validatePresent(address[key])\n } else {\n validateZipcode = { valid: true, error: null }\n }\n }\n\n if (validatePresence?.valid === false) return validatePresence\n if (validateZipcode?.valid === false) return validateZipcode\n return { valid: true, error: null }\n}\n\nconst runValidation = async (form, key) => {\n let _data = { ...form }\n _data = { ...form }\n key.split('.').forEach((k) => {\n if (_data == undefined) {\n _data = undefined\n return\n }\n _data = _data[k]\n })\n\n const validate_mapper = validationMapper(form) || {}\n const validate_functions = validate_mapper[key] || []\n\n for (let vf of validate_functions) {\n const validation_res = await vf(_data, { ...form })\n if (\n !validation_res.valid ||\n validation_res.error ||\n validation_res.warning\n ) {\n return validation_res\n }\n }\n\n return { valid: true }\n}\n\nconst allValidations = async (form, addressList) => {\n let errors = {}\n let warnings = {}\n const all_validations = validationMapper(form)\n for (let key in all_validations) {\n const error_key = key.replace(/\\./g, '_')\n const validation_res = await runValidation(form, key)\n if (validation_res['error']) {\n errors[error_key] = validation_res['error']\n }\n if (validation_res['warning']) {\n warnings[error_key] = validation_res['warning']\n }\n }\n\n addressList.forEach((address) => {\n const { source } = address\n addressValuesKeys.forEach((field) => {\n const { error } = validateAddressField(address, field) || {}\n if (error) {\n const key = `${source}_${field}`\n errors[key] = error\n }\n })\n })\n\n return { errors, warnings }\n}\n\nexport {\n validateEmail,\n validatePhone,\n validatePresent,\n validateDOB,\n validateSSN,\n validateZIP,\n validateVIN,\n validatePositive,\n assetMileage,\n runValidation,\n allValidations,\n educationPresent,\n pullVehicleGrade,\n validateAddressField,\n}\n","import alt from '../alt.js'\nimport DealerApplicationActions from '../actions/DealerApplicationActions.js'\nimport lb_fetch from '../helpers/Request.js'\nimport {\n runValidation,\n allValidations,\n educationPresent,\n validateAddressField,\n} from '../helpers/DealerApplicationHelper.js'\nimport { NumberFormatter } from '../number_formatter'\nimport Error from '../components/error/index.js'\nimport Education from '../models/Education.js'\nimport {\n createAddressShellObject,\n PRIMARY_APPLICATION_ADDRESS,\n} from '../components/dealer_loan_application/AddressInformation/helper'\n\n// Make sure errors use keys that match the id of the input to allow\n// scrolling to the error on validation failure.\n\nclass DealerApplicationStore {\n constructor() {\n this.bindListeners({\n saveForm: DealerApplicationActions.saveForm,\n submitForm: DealerApplicationActions.submitForm,\n saveEmail: DealerApplicationActions.saveEmail,\n continueToMain: DealerApplicationActions.continueToMain,\n updateState: DealerApplicationActions.updateState,\n runFormValidation: DealerApplicationActions.runFormValidation,\n validateAddressField: DealerApplicationActions.validateAddressField,\n clearValidation: DealerApplicationActions.clearValidation,\n setAddress: DealerApplicationActions.setAddress,\n })\n\n this.exportPublicMethods({\n anyEducationPresent: this.anyEducationPresent.bind(this),\n })\n\n this.state = {\n submittedEmail: '',\n submittedPhone: '',\n errors: {},\n warnings: {},\n loader: false,\n showFull: false,\n lastSavedEmail: '',\n validating: false,\n emailLoader: false,\n franchise: false,\n employmentStatusOptions: [],\n addressList: [createAddressShellObject(PRIMARY_APPLICATION_ADDRESS)],\n isCreatingAddress: false,\n }\n }\n\n async saveForm() {\n return await this.saveRequestHelper('/dealers/save_application')\n }\n\n async submit_for_preapproval() {\n return await this.saveRequestHelper(\n '/dealers/loans/submit_for_preapproval',\n true,\n )\n }\n\n async saveRequestHelper(url, show_loader = false) {\n if (!this.state.loanApplication.lbid) {\n // LBID should be created when email is entered so if we don't have one yet\n // we probably don't have an email and don't want to be saving this way.\n return\n }\n\n let saveData = this.processDataForRails(this.state.loanApplication)\n if (show_loader) {\n this.loader(true)\n }\n\n let res = null\n try {\n res = await lb_fetch(url, {\n method: 'post',\n body: {\n loan_application: saveData,\n },\n })\n } catch (error) {\n console.log(error)\n if (show_loader) {\n this.loader(false)\n Error.popup()\n }\n return\n }\n\n if (!res.ok && show_loader) {\n this.loader(false)\n Error.popup()\n return\n } else if (!res.ok) {\n return\n }\n\n const data = await res.json()\n\n if (data && data['error'] && show_loader) {\n this.loader(false)\n Error.popup('Error', data['error'])\n return\n }\n\n if (!data || !data['form']) {\n console.log('error saving form (DealerApplicationStore#saveForm)')\n this.loader(false)\n return\n }\n\n // let form = data.form || {}\n // this.setState({loanApplication: form})\n const loanId = data['loan_id']\n const dealerId = data['dealer_id']\n\n if (loanId && dealerId) {\n window.location.href = `/dealers/${dealerId}/loans?search_keyword=${loanId}#loan=${loanId}`\n } else {\n this.loader(false)\n }\n }\n\n setAddress(data) {\n const { address, index } = data\n const updatedAddressList = [...this.state.addressList]\n updatedAddressList[index] = { ...updatedAddressList[index], ...address }\n this.setState({ addressList: updatedAddressList })\n }\n\n validateAddressField(data) {\n const { addressList, index, key, errorKey } = data\n const selectedAddress = addressList[index]\n const { error } = validateAddressField(selectedAddress, key)\n const newErrors = { [errorKey]: error }\n this.updateErrors(newErrors)\n }\n\n processDataForRails(formData = this.state.loanApplication) {\n let data = _.cloneDeep(formData)\n\n if (data.ssn) {\n data.ssn = data.ssn.replace(/\\-/g, '')\n }\n\n if (data.person.citizenship_status == 'Citizen') {\n data.person.passport_issuing_country = 'US'\n }\n\n let gross_income = 0\n let family_support = 0\n\n if (data.financial.income_1) {\n data.financial.income_1 = NumberFormatter.parseMoney(\n data.financial.income_1,\n )\n }\n if (data.financial.income_2) {\n data.financial.income_2 = NumberFormatter.parseMoney(\n data.financial.income_2,\n )\n }\n\n if (data.financial.income_type_1 === 'Family Support') {\n family_support += NumberFormatter.parseMoney(data.financial.income_1)\n } else {\n gross_income += NumberFormatter.parseMoney(data.financial.income_1)\n }\n if (data.financial.income_type_2 === 'Family Support') {\n family_support += NumberFormatter.parseMoney(data.financial.income_2)\n } else {\n gross_income += NumberFormatter.parseMoney(data.financial.income_2)\n }\n data.financial.family_support = family_support\n data.financial.gross_income = gross_income\n\n const positions = data.positions || []\n let employment = positions[0] || {}\n\n // Leave this stuff blank if we don't actually have any employment data\n if (employment.company || employment.title || employment.start_date) {\n employment.country = 'United States'\n const employment_status = employment.employment_status\n\n if (employment_status === null || employment_status === undefined) {\n if (\n employment.start_date &&\n Date.parse(employment.start_date) > new Date()\n ) {\n employment.employment_status = 'future_employer'\n } else if (data.financial.gross_income <= 0) {\n employment.employment_status = 'previous_employer'\n } else {\n employment.employment_status = 'current_employer'\n }\n }\n\n // If they make less than 40 hours/week times 52 weeks times minimum wage they must be part time\n let minimum_fulltime = 40 * 52 * 7.25\n if (\n [data.financial.income_type_1, data.financial.income_type_2].includes(\n 'Self-employed personal bank statement',\n )\n ) {\n employment.employment_type = 'self_employed'\n } else if (\n [data.financial.income_type_1, data.financial.income_type_2].includes(\n 'Self-employed business bank statement',\n )\n ) {\n employment.employment_type = 'business_owner'\n } else if (data.financial.gross_income < minimum_fulltime) {\n employment.employment_type = 'parttime_employee'\n } else {\n employment.employment_type = 'fulltime_employee'\n }\n } else {\n employment = {}\n }\n\n if (Object.keys(employment).length) {\n data.positions = [employment]\n } else {\n data.positions = []\n }\n\n let school = data.educations[0] || {}\n\n const degree_name = Education.getEducationLevelByDegree(\n school?.degree,\n )?.name\n const lowest_degree_name = Education.getLowestEducationLevel().name\n\n data.highest_education = degree_name || lowest_degree_name\n\n let automobile = data.automobile || {}\n if (automobile.history != 'new') {\n automobile.msrp_value = null\n }\n if (automobile.mileage) {\n automobile.mileage = NumberFormatter.parseMoney(automobile.mileage)\n }\n data.automobile = automobile\n\n let purchase_price = data.purchase_price\n\n ;[\n 'purchase_price',\n 'sales_tax',\n 'cash_downpayment',\n 'net_trade_in_value',\n 'trade_in_allowance',\n 'trade_in_loan_balance',\n 'trade_in_value',\n 'rebate',\n 'license_registration_fees',\n 'tire_protection',\n 'extended_warranty',\n ].forEach((field) => {\n purchase_price[field] =\n NumberFormatter.parseMoney(purchase_price[field]) || 0\n })\n\n purchase_price.other_charges.forEach((charge) => {\n charge.amount = NumberFormatter.parseMoney(charge.amount) || 0\n })\n\n data.purchase_price = purchase_price\n\n return data\n }\n\n loader(status) {\n this.setState({ loader: status })\n }\n\n emailLoader(status) {\n this.setState({ emailLoader: status })\n }\n\n validating(status) {\n this.setState({ validating: status })\n }\n\n continueToMain() {\n let email = this.state.submittedEmail\n const loan_application = { ...(this.state.loanApplication || {}) }\n\n loan_application['submitted_email'] = email\n this.runFormValidation({ key: 'submitted_email', loan_application })\n\n if (email == this.state.lastSavedEmail && loan_application['lbid']) {\n return\n }\n\n this.setState({ showFull: true })\n this.saveEmail(email)\n }\n\n async saveEmail(email) {\n if (this.state.emailLoader) {\n return\n }\n\n const url = `/dealers/initialize_user`\n const req_data = {}\n let validation = null\n const _form = { ...this.state.loanApplication }\n\n this.emailLoader(true)\n\n // if no email and no loan, skip validations to create a user without email\n if (_form.lbid || email) {\n req_data.lbid = _form.lbid\n validation = await runValidation(_form, 'submitted_email')\n } else if (!email) {\n validation = { valid: true }\n }\n\n // if no loan and invalid email, create user with no email\n if (!_form.lbid && email && validation && !validation.valid) {\n email = ''\n validation = { valid: true }\n }\n\n // if validation fail, don't save and throw errors\n if (!validation || !validation.valid) {\n let errors = this.state.errors\n errors.email = validation.error\n\n this.setState({ errors: errors })\n this.emailLoader(false)\n return\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, { method: 'post', body: req_data })\n this.emailLoader(false)\n } catch (error) {\n console.log(error)\n this.updateErrors({ email: 'Error registering email address' })\n this.emailLoader(false)\n return\n }\n\n if (!res.ok) {\n this.updateErrors({ email: 'Error registering email address' })\n return\n }\n\n const data = await res.json()\n\n if (!data) {\n this.updateErrors({ email: 'Error registering email address' })\n return\n }\n\n if (data['error']) {\n this.updateErrors({ email: data['error'] })\n return\n }\n\n const loan_application = this.state.loanApplication || {}\n const new_loan_app = data['data'] || {}\n const new_user = data['user'] || {}\n const lbid = new_loan_app['lbid']\n loan_application['lbid'] = new_loan_app['lbid']\n loan_application['user_id'] = new_loan_app['user_id']\n this.setState(\n {\n loanApplication: loan_application,\n lastSavedEmail: email,\n emailGenerated: new_user['email_generated'],\n },\n () => {\n if (!lbid) {\n this.saveForm(false)\n }\n },\n )\n this.changeURL(lbid)\n }\n\n changeURL(lbid) {\n // change url after creating loan\n if (window.location.href.includes(lbid)) {\n // No need to change URL\n return\n }\n\n let current_url = new URL(window.location.href)\n current_url.searchParams.set('loan_application_id', lbid)\n\n history.pushState({}, '', current_url.href)\n }\n\n updateErrors(updated_data = {}) {\n let errors = this.state.errors || {}\n this.setState({ errors: { ...errors, ...updated_data } })\n }\n\n updateWarnings(updated_data = {}) {\n let warnings = this.state.warnings || {}\n this.setState({ warnings: { ...warnings, ...updated_data } })\n }\n\n updateState(new_state) {\n this.setState(new_state)\n }\n\n clearValidation(key) {\n key = key.replace(/\\./g, '_')\n const data = {}\n data[key] = false\n this.updateErrors(data)\n this.updateWarnings(data)\n }\n\n async runFormValidation({ key, loan_application }) {\n const _form = { ...this.state.loanApplication }\n loan_application = loan_application || _form\n const validate = await runValidation(loan_application, key)\n const _key = key.replace(/\\./g, '_')\n const new_errors = {}\n const new_warnings = {}\n\n new_errors[_key] = validate['error']\n new_warnings[_key] = validate['warning']\n this.updateErrors(new_errors)\n this.updateWarnings(new_warnings)\n }\n\n async runAllFormValidations() {\n const _form = {\n ...this.state.loanApplication,\n email: this.state.submittedEmail,\n }\n const _addressList = [...this.state.addressList]\n const { errors, warnings } = await allValidations(_form, _addressList)\n this.setState({ errors, warnings })\n const valid = Object.keys(errors).length == 0\n return { errors, warnings, valid }\n }\n\n anyEducationPresent() {\n const loan_application = this.state.loanApplication || {}\n const educations = loan_application.educations || []\n return educationPresent(educations[0])\n }\n\n async submitForm() {\n this.validating(true)\n const { errors, valid } = await this.runAllFormValidations()\n this.validating(false)\n if (valid) {\n this.submit_for_preapproval()\n return\n }\n Object.keys(errors).find((key) => {\n this.scrollToKey(key)\n })\n }\n\n scrollToKey(key) {\n try {\n const element = document.getElementsByClassName(key)\n if (element && element.length) {\n element[0].scrollIntoView({ behavior: 'smooth', block: 'center' })\n return true\n }\n } catch (error) {\n console.log('dom scroll for submit form broke')\n console.log(key)\n }\n }\n}\n\nexport default alt.createStore(DealerApplicationStore, 'DealerApplicationStore')\n","import React, { useEffect, useState } from 'react';\nimport DealerApplicationStore from '../../../stores/DealerApplicationStore.js.jsx';\nimport InputBox from '../../modules/BasicElements/InputBox.js.jsx';\n\nconst B2BInputBox = (props) => {\n const error_key = props.errorKey\n\n const dealer_app_store = DealerApplicationStore.getState()\n const [errors, setErrors] = useState(dealer_app_store['errors'])\n const [warnings, setWarnings] = useState(dealer_app_store['warnings'])\n const class_name = `${props.className} ${error_key}`\n\n useEffect(() => {\n DealerApplicationStore.listen(storeListner);\n\n return () => DealerApplicationStore.unlisten(storeListner)\n }, [])\n\n const storeListner = (updated_state) => {\n setErrors(updated_state['errors'])\n setWarnings(updated_state['warnings'])\n }\n\n return (\n \n );\n};\n\nexport default B2BInputBox;\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx'\nimport B2BInputBox from './modules/B2BInputBox.js.jsx';\n\nclass BuyerInformation extends React.Component {\n constructor(props) {\n super(props);\n this.state = DealerApplicationStore.getState();\n }\n\n componentDidMount() {\n DealerApplicationStore.listen(this.onChange.bind(this));\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this));\n }\n\n onChange(state) {\n this.setState(state);\n }\n\n onChangeSSN(e) {\n let loan_application = this.state.loanApplication\n let value = this.formatSSN(e.target.value)\n\n DealerApplicationActions.clearValidation('person.ssn')\n\n loan_application.ssn = value\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n toggleSSN() {\n let loan_application = this.state.loanApplication\n loan_application.no_ssn = !loan_application.no_ssn\n DealerApplicationActions.updateState({loanApplication: loan_application})\n DealerApplicationActions.runFormValidation('person.ssn', loan_application)\n DealerApplicationActions.saveForm()\n }\n\n onChangePersonField(e, field) {\n let loan_application = this.state.loanApplication || {}\n loan_application['person'] = loan_application['person'] || {}\n let value = e.target.value\n\n if (field == 'telephone') {\n value = this.formatTelephone(value)\n }\n\n\n if (field == 'citizenship_status') {\n DealerApplicationActions.clearValidation('person.passport_issuing_country')\n DealerApplicationActions.clearValidation('person.visa_type')\n }\n\n if (field == 'citizenship_status' && value == 'Citizen') {\n loan_application['person']['passport_issuing_country'] = 'US'\n }\n else if (field == 'citizenship_status') {\n loan_application['person']['passport_issuing_country'] = null\n }\n\n DealerApplicationActions.clearValidation(`person.${field}`)\n\n\n loan_application.person[field] = value\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n onChangeSubmittedEmail(e) {\n const email = e.target.value\n const { loanApplication } = this.state\n\n DealerApplicationActions.clearValidation('submitted_email')\n\n loanApplication['submitted_email'] = email\n DealerApplicationActions.updateState({ loanApplication: loanApplication })\n }\n\n async onBlurSubmittedEmail() {\n const { loanApplication, submittedEmail } = this.state\n\n // initialize if no lbid and user has entered email\n if (!loanApplication?.lbid && loanApplication.submitted_email) {\n await DealerApplicationActions.saveEmail(submittedEmail)\n }\n\n // only validate email if there is an email entered\n if (submittedEmail || loanApplication.submitted_email) {\n DealerApplicationActions.runFormValidation('submitted_email')\n DealerApplicationActions.saveForm(false)\n }\n }\n\n onChangeSubmittedPhone(e) {\n const phone = this.formatTelephone(e.target.value)\n\n const { loanApplication } = this.state\n\n DealerApplicationActions.clearValidation('phone')\n\n loanApplication['submitted_phone'] = phone\n DealerApplicationActions.updateState({ loanApplication: loanApplication })\n }\n\n onBlurSubmittedPhone() {\n DealerApplicationActions.runFormValidation('submitted_phone')\n DealerApplicationActions.saveForm(false)\n }\n\n onBlurPersonField(key) {\n DealerApplicationActions.runFormValidation(`person.${key}`)\n DealerApplicationActions.saveForm(false)\n }\n\n formatTelephone(string){\n let digits = string.replace(/\\D/g,'')\n var extract_phone_number = digits.replace(/\\D+/g, \"\");\n var m = extract_phone_number.match(/^(\\d{3})(\\d{3})(\\d{4})$/);\n return (!m) ? digits : \"(\" + m[1] + \") \" + m[2] + \"-\" + m[3];\n }\n\n formatSSN(string){\n let digits = string.replace(/\\D/g,'')\n let result = digits\n if (digits.length == 9) {\n result = digits.slice(0,3) + '-' + digits.slice(3,5) + '-' + digits.slice(5)\n }\n return result\n }\n\n\n onEnter(event) {\n if (this.state.showFull) {return}\n let proceed = (event.key === \"Enter\" || event.key === \"Tab\")\n if (proceed && this.state.loader) {\n event.stopPropagation();\n event.preventDefault()\n event.nativeEvent.stopImmediatePropagation();\n return\n } else if (proceed) {\n event.stopPropagation();\n event.preventDefault()\n event.nativeEvent.stopImmediatePropagation();\n DealerApplicationActions.continueToMain();\n return\n }\n }\n\n render() {\n return (\n
    \n
    Buyer Information
    \n {this.renderFull()}\n
    \n )\n }\n\n renderFull() {\n const {\n errors,\n warnings,\n loanApplication,\n emailLoader,\n } = this.state\n\n const { usStates } = this.props\n\n if (!loanApplication) return null\n\n const person = loanApplication['person'] || {}\n\n const citizenship_status_options = [\n ['Citizen', 'Citizen'],\n ['Resident (Green-card holder)', 'Resident (Green-card holder)'],\n ['Non-Resident', 'Non-Resident']\n ]\n\n const tooltip_text = 'Please enter the name exactly as it appears on passport/DL';\n\n return (\n
    \n
    \n this.onChangeSubmittedEmail(e)}\n onBlur={() => this.onBlurSubmittedEmail()}\n errorKey=\"submitted_email\"\n required={true}\n placeholder=\"Enter email address\"\n disabled={emailLoader}\n footerMessage={emailLoader ? 'Verifying Email.....' : null}\n autoFocus\n />\n\n this.onChangeSubmittedPhone(e)}\n onBlur={() => this.onBlurSubmittedPhone()}\n errorKey=\"submitted_phone\"\n required={true}\n placeholder=\"Enter phone number\"\n isNumber={true}\n />\n
    \n\n
    \n this.onChangePersonField(e, 'first_name')}\n onBlur={(e) => this.onBlurPersonField('first_name', e.target.value)}\n errorKey=\"person_first_name\"\n required={true}\n placeholder=\"First Name\"\n tooltipText={tooltip_text}\n />\n\n this.onChangePersonField(e, 'middle_name')}\n onBlur={(e) =>\n this.onBlurPersonField('middle_name', e.target.value)\n }\n errorKey=\"person_middle_name\"\n placeholder=\"Middle Name\"\n />\n this.onChangePersonField(e, 'last_name')}\n onBlur={(e) => this.onBlurPersonField('last_name', e.target.value)}\n errorKey=\"person_last_name\"\n required={true}\n placeholder=\"Last Name\"\n tooltipText={tooltip_text}\n />\n this.onChangePersonField(e, 'dob')}\n onBlur={(e) => this.onBlurPersonField('dob', e.target.value)}\n errorKey=\"person_dob\"\n required={true}\n placeholder=\"MM/DD/YYYY\"\n type=\"date\"\n />\n \n
    \n
    \n \n SSN/ITIN\n
    \n this.onChangeSSN(e)}\n onBlur={(e) => this.onBlurPersonField('ssn', e.target.value)}\n />\n
    \n
    \n this.toggleSSN(e)}\n />\n
    \n \n No SSN\n \n
    \n
    \n
    \n
    \n {errors['person_ssn']}\n
    \n
    \n {warnings['person_ssn']}\n
    \n
    \n
    \n\n
    \n this.onChangePersonField(e, 'citizenship_status')}\n onBlur={(e) =>\n this.onBlurPersonField('citizenship_status', e.target.value)\n }\n errorKey=\"person_citizenship_status\"\n type=\"select\"\n options={citizenship_status_options}\n required={true}\n data-testid=\"b2bapp-page-buyer-citizenship-status\"\n />\n {this.renderNationalityInput()}\n {this.renderVisaTypeInput()}\n
    \n \n )\n }\n\n renderNationalityInput() {\n const loan_application = this.state.loanApplication || {}\n const person = loan_application['person'] || {}\n\n if (['Non-Resident', 'Resident (Green-card holder)'].includes(person['citizenship_status'])) {\n return (\n this.onChangePersonField(e, 'passport_issuing_country')}\n onBlur={(e) => this.onBlurPersonField('passport_issuing_country', e.target.value)}\n errorKey=\"person_passport_issuing_country\"\n type=\"select\"\n options={this.props.countryOptions || []}\n required={true}\n />\n )\n }\n\n return null\n }\n\n renderVisaTypeInput() {\n const loan_application = this.state.loanApplication || {}\n const person = loan_application['person'] || {}\n\n if (person['citizenship_status'] == \"Non-Resident\") {\n return (\n this.onChangePersonField(e, 'visa_type')}\n onBlur={(e) => this.onBlurPersonField('visa_type', e.target.value)}\n errorKey=\"person_visa_type\"\n type=\"select\"\n options={this.props.visaTypes || []}\n />\n )\n }\n\n return null\n }\n\n renderContinueButton() {\n if (this.state.submittedEmail && this.state.submittedEmail.length > 0) {\n return (\n \n Continue \n )\n } else {\n return (\n \n Continue without \n )\n }\n }\n}\n\nexport default BuyerInformation\n","import React, { createRef } from 'react'\nimport B2BInputBox from '../modules/B2BInputBox.js'\nimport GoogleAutocomplete from '../../modules/GoogleAutocomplete.js'\nimport { GoogleSuggestedAddress } from './index.js'\n\ninterface ErrorKeys {\n address1ErrorKey?: string\n cityErrorKey?: string\n stateErrorKey?: string\n zipErrorKey?: string\n}\n\ninterface AddressDataTestIds {\n address1TestId?: string\n cityTestId?: string\n stateTestId?: string\n zipTestId?: string\n}\n\ninterface AddressHandlers {\n onChangeAddress1: (e: React.ChangeEvent) => void\n onChangeCity: (e: React.ChangeEvent) => void\n onChangeState: (e: React.ChangeEvent) => void\n onChangeZipcode: (e: React.ChangeEvent) => void\n onBlurAddress1: (e: React.FocusEvent) => void\n onBlurCity: (e: React.FocusEvent) => void\n onBlurState: (e: React.FocusEvent) => void\n onBlurZipcode: (e: React.FocusEvent) => void\n}\n\nexport interface AddressValues {\n address_1: string\n city: string\n state: string\n zipcode: string\n}\n\ninterface GoogleAPI {\n isGoogleAPIBroken: boolean\n onSelectGoogleSuggestedAddress: (\n googleAddress: GoogleSuggestedAddress,\n index: number,\n ) => void\n handleGoogleBrokenAPI: React.Dispatch>\n}\n\ninterface AddressProps\n extends AddressValues,\n GoogleAPI,\n ErrorKeys,\n AddressDataTestIds,\n AddressHandlers {\n required: boolean\n usStates: string[]\n title: string | JSX.Element\n}\n\nconst Address = (props: AddressProps) => {\n const address1Ref = createRef()\n\n return (\n <>\n

    {props.title}

    \n
    \n
    \n {props.isGoogleAPIBroken ? (\n \n ) : (\n \n \n \n )}\n
    \n \n \n \n
    \n \n )\n}\n\nexport default Address\n","import React, { useState, useEffect, useRef } from 'react'\nimport DealerApplicationActions from '../../../actions/DealerApplicationActions.js'\nimport DealerApplicationStore from '../../../stores/DealerApplicationStore.js'\nimport Address, { AddressValues } from './Address'\nimport {\n PRIMARY_APPLICATION_ADDRESS,\n PREVIOUS_APPLICATION_ADDRESS,\n createAddressShellObject,\n AddressSource,\n isAddressValuesEmpty,\n addressValuesKeys,\n getAddressKeyInPerson,\n} from './helper'\nimport { flashInput } from '../../../Animations.js'\n\ninterface AddressInformationProps {\n usStates: string[]\n}\n\nexport interface GoogleSuggestedAddress {\n address1: string\n city: string\n state: string\n postcode: string\n}\n\ninterface IAddressData extends AddressValues {\n puuid: string\n source: AddressSource\n}\n\nconst MANUAL = 'manual' as const\nconst AUTO = 'auto' as const\ntype Trigger = typeof MANUAL | typeof AUTO\n\ninterface AddressData extends AddressValues {\n address_verification: string\n archived: boolean\n archived_at: string\n archived_by: string\n created_at: string\n created_by: string\n lbid: string\n puuid: string\n source: AddressSource\n source_identifier: string\n source_name: string\n trigger: Trigger\n updated_at: string\n updated_by: string\n}\n\nconst MAX_ADDRESSES = 2\n\nconst addressTitleMapper = {\n [PRIMARY_APPLICATION_ADDRESS]: 'Primary Address',\n [PREVIOUS_APPLICATION_ADDRESS]: 'Previous Residential Address',\n}\n\nconst AddressInformation = (props: AddressInformationProps) => {\n const [isGoogleAPIBroken, setIsGoogleAPIBroken] = useState(false)\n const addressPendingToBeUpdatedRef = useRef(new Set())\n const addressPendingToBeCreatedRef = useRef(new Set())\n const {\n addressList,\n loanApplication,\n isCreatingAddress,\n }: {\n addressList: AddressData[]\n loanApplication: any\n isCreatingAddress: boolean\n } = DealerApplicationStore.getState()\n\n useEffect(() => {\n const { lbid } = loanApplication || {}\n if (!lbid) return\n if (addressPendingToBeCreatedRef.current.size > 0) {\n addressPendingToBeCreatedRef.current.forEach((index) => {\n const address = addressList[index]\n DealerApplicationActions.createAddress(\n loanApplication.lbid,\n address,\n index,\n )\n })\n addressPendingToBeCreatedRef.current.clear()\n return\n }\n\n if (!isCreatingAddress && addressPendingToBeUpdatedRef.current.size > 0) {\n addressPendingToBeUpdatedRef.current.forEach((index) => {\n const address = addressList[index]\n DealerApplicationActions.updateAddress(lbid, address)\n })\n addressPendingToBeUpdatedRef.current.clear()\n }\n }, [isCreatingAddress, loanApplication?.lbid])\n\n const onChangeAddressField = (\n event: React.ChangeEvent,\n key: keyof AddressValues,\n index: number,\n ) => {\n const { value } = event.target\n const updatedAddress = { ...addressList[index], [key]: value }\n const updatedAddressList = [...addressList]\n updatedAddressList[index] = updatedAddress\n\n const { source } = updatedAddress\n const addressKey = getAddressKeyInPerson(source, key)\n const updatedLoanApplication = {\n ...loanApplication,\n 'person': {\n ...loanApplication.person,\n [addressKey]: value\n }\n }\n\n DealerApplicationActions.updateState({\n addressList: updatedAddressList,\n loanApplication: updatedLoanApplication\n })\n }\n\n const onBlurAddressField = async (\n key: keyof AddressValues,\n index: number,\n ) => {\n const { lbid } = loanApplication\n const address = addressList[index]\n const { source, puuid } = address\n const errorKey = `${source}_${key}`\n DealerApplicationActions.validateAddressField(\n addressList,\n index,\n key,\n errorKey,\n )\n if (source === PREVIOUS_APPLICATION_ADDRESS) {\n const isAllValuesEmpty = addressValuesKeys.every(\n (key) => address[key] === null || address[key] === '',\n )\n if (isAllValuesEmpty) {\n addressValuesKeys.forEach((key) => {\n DealerApplicationActions.clearValidation(`${source}_${key}`)\n })\n }\n }\n\n if (!lbid) {\n addressPendingToBeCreatedRef.current.add(index)\n return\n }\n\n if (isCreatingAddress) {\n addressPendingToBeUpdatedRef.current.add(index)\n return\n }\n if (!puuid) {\n await DealerApplicationActions.createAddress(lbid, address, index)\n return\n }\n DealerApplicationActions.updateAddress(lbid, address, index)\n }\n\n const onSelectGoogleSuggestedAddress = async (\n googleAddress: GoogleSuggestedAddress,\n index: number,\n ) => {\n const { lbid } = loanApplication\n const { address1, city, state, postcode } = googleAddress\n const updatedAddress = {\n ...addressList[index],\n address_1: address1,\n city,\n state,\n zipcode: postcode,\n }\n const { puuid, source } = updatedAddress\n const updatedAddressList = [...addressList]\n updatedAddressList[index] = updatedAddress\n\n const updatedLoanApplication = {\n ...loanApplication,\n 'person': {\n ...loanApplication.person,\n [getAddressKeyInPerson(source, 'address_1')]: address1,\n [getAddressKeyInPerson(source, 'city')]: city,\n [getAddressKeyInPerson(source, 'state')]: state,\n [getAddressKeyInPerson(source, 'zipcode')]: postcode,\n }\n }\n\n DealerApplicationActions.updateState({\n addressList: updatedAddressList,\n loanApplication: updatedLoanApplication\n })\n\n addressValuesKeys.forEach((key) => {\n DealerApplicationActions.clearValidation(`${source}_${key}`)\n flashInput(`${source}_${key}`)\n })\n\n if (!lbid) {\n addressPendingToBeCreatedRef.current.add(index)\n return\n }\n\n if (isCreatingAddress) {\n addressPendingToBeUpdatedRef.current.add(index)\n return\n }\n\n if (!puuid) {\n await DealerApplicationActions.createAddress(lbid, updatedAddress, index)\n return\n }\n DealerApplicationActions.updateAddress(lbid, updatedAddress, index)\n }\n\n const onAddAddress = () => {\n const newAddress = createAddressShellObject(PREVIOUS_APPLICATION_ADDRESS)\n DealerApplicationActions.updateState({\n addressList: [...addressList, newAddress],\n })\n }\n\n return (\n <>\n {addressList.map((address: IAddressData, index: number) => {\n const onChangeHandlers = {\n onChangeAddress1: (event: React.ChangeEvent) =>\n onChangeAddressField(event, 'address_1', index),\n onChangeCity: (event: React.ChangeEvent) =>\n onChangeAddressField(event, 'city', index),\n onChangeState: (event: React.ChangeEvent) =>\n onChangeAddressField(event, 'state', index),\n onChangeZipcode: (event: React.ChangeEvent) =>\n onChangeAddressField(event, 'zipcode', index),\n }\n\n const onBlurHandlers = {\n onBlurAddress1: () => onBlurAddressField('address_1', index),\n onBlurCity: () => onBlurAddressField('city', index),\n onBlurState: () => onBlurAddressField('state', index),\n onBlurZipcode: () => onBlurAddressField('zipcode', index),\n }\n\n const { source } = address\n const errorKeys = {\n address1ErrorKey: `${source}_address_1`,\n cityErrorKey: `${source}_city`,\n stateErrorKey: `${source}_state`,\n zipErrorKey: `${source}_zipcode`,\n }\n\n const kebabCaseAddressSource = source.replaceAll('_', '-')\n const testIds = {\n address1TestId: `b2bapp-page-${kebabCaseAddressSource}-address-1`,\n cityTestId: `b2bapp-page-${kebabCaseAddressSource}-city`,\n stateTestId: `b2bapp-page-${kebabCaseAddressSource}-state`,\n zipTestId: `b2bapp-page-${kebabCaseAddressSource}-zipcode`,\n }\n\n return (\n \n {addressTitleMapper[address.source]}{' '}\n \n \n If you choose to provide the previous residential address,\n all fields must be filled in.\n \n \n \n \n )\n }\n usStates={props.usStates}\n required={\n address.source === PRIMARY_APPLICATION_ADDRESS ||\n (address.source === PREVIOUS_APPLICATION_ADDRESS &&\n !isAddressValuesEmpty(address))\n }\n isGoogleAPIBroken={isGoogleAPIBroken}\n handleGoogleBrokenAPI={() => setIsGoogleAPIBroken(true)}\n onSelectGoogleSuggestedAddress={(updatedAddress) =>\n onSelectGoogleSuggestedAddress(updatedAddress, index)\n }\n />\n )\n })}\n {addressList.length < MAX_ADDRESSES && (\n
    \n \n Add Previous Residential\n Address\n \n
    \n )}\n \n )\n}\n\nexport default AddressInformation\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport NumberFormatter from '../../number_formatter.js';\nimport B2BInputBox from './modules/B2BInputBox.js.jsx';\nimport { CompactDollarInput } from '../modules/BasicElements/DollarInput.js.jsx';\n\nclass IncomeEmployment extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n ...DealerApplicationStore.getState(),\n income_1_weekly: null,\n income_1_monthly: null,\n income_2_weekly: null,\n income_2_monthly: null,\n showSecondIncome: false,\n };\n\n this.incomeOptions = [\n ['Company pay stub w/ YTD', 'Company pay stub w/ YTD'],\n ['Self-employed business bank statement', 'Self-employed business bank statement'],\n ['Self-employed personal bank statement', 'Self-employed personal bank statement'],\n ['Job offer letter', 'Job offer letter'],\n ['Family Support', 'Family Support'],\n ['Other', 'Other']\n ];\n }\n\n componentDidMount() {\n DealerApplicationStore.listen(this.onChange.bind(this));\n\n const showSecondIncome = this.state.loanApplication.financial &&\n (this.state.loanApplication.financial.income_type_2 || this.state.loanApplication.financial.income_2)\n\n this.setState({showSecondIncome: showSecondIncome})\n\n // We don't save weekly/monthly incomes so we need to populate those fields on load\n const income_1 = this.state.loanApplication.financial.income_1\n const income_2 = this.state.loanApplication.financial.income_2\n\n if (income_1 != null) {\n this.onChangeIncome({target: {value: income_1}}, 'annual', '1')\n }\n if (income_2) {\n this.onChangeIncome({target: {value: income_2}}, 'annual', '2')\n }\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this));\n }\n\n onChange(state) {\n this.setState(state);\n }\n\n onChangePosition(event, field) {\n let loan_application = this.state.loanApplication || {}\n const positions = loan_application['positions'] || []\n let position = positions[0] || {}\n\n position[field] = event.target.value\n loan_application.positions = [position]\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n onChangeFinancial(event, field) {\n if (field == 'income_type_1') {\n DealerApplicationActions.clearValidation('financial.income_type_1')\n }\n\n let loan_application = this.state.loanApplication\n let financial = this.state.loanApplication.financial\n\n financial[field] = event.target.value\n loan_application.financial = financial\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n onChangeIncome(event, period, index) {\n if (index == 1) {\n DealerApplicationActions.clearValidation('financial.income_1')\n }\n\n let loan_application = this.state.loanApplication\n let financial = this.state.loanApplication.financial\n\n const amount = NumberFormatter.parseMoney(event.target.value)\n let weekly_income = null\n let monthly_income = null\n let annual_income = null\n\n if (period === 'annual') {\n annual_income = amount\n weekly_income = Math.round(annual_income / 52)\n monthly_income = Math.round(annual_income / 12)\n } else if (period === 'monthly') {\n annual_income = amount * 12\n weekly_income = Math.round(annual_income / 52)\n monthly_income = amount\n } else if (period === 'weekly') {\n annual_income = amount * 52\n monthly_income = Math.round(annual_income / 12)\n weekly_income = amount\n }\n\n financial[`income_${index}`] = NumberFormatter.formatMoney(annual_income)\n loan_application.financial = financial\n let new_state = {}\n new_state[`income_${index}_weekly`] = NumberFormatter.formatMoney(weekly_income)\n new_state[`income_${index}_monthly`] = NumberFormatter.formatMoney(monthly_income)\n DealerApplicationActions.updateState({loanApplication: loan_application})\n this.setState(new_state)\n }\n\n onClickIncome(period, index) {\n let new_state = {}\n let value = this.state[`income_${index}_${period}`]\n\n if (period != 'annual' && value != 0) {\n return\n }\n else if (period != 'annual') {\n new_state[`income_${index}_${period}`] = ''\n this.setState(new_state)\n return\n }\n\n let loan_application = this.state.loanApplication || {}\n let financial = loan_application.financial\n if (financial[`income_${index}`] != 0) {\n return\n }\n financial[`income_${index}`] = ''\n loan_application.financial = financial\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n onBlurIncome(e, period, index) {\n this.onChangeIncome(e, period, index)\n DealerApplicationActions.runFormValidation('financial.income_1')\n DealerApplicationActions.saveForm(false)\n }\n\n onBlurPOI() {\n DealerApplicationActions.runFormValidation('financial.income_type_1')\n DealerApplicationActions.saveForm(false)\n }\n\n showSecondIncome(){\n this.setState({showSecondIncome: true})\n }\n\n render() {\n let loan_application = this.state.loanApplication || {}\n const positions = loan_application['positions'] || []\n let position = positions[0] || {}\n\n let financial = this.state.loanApplication.financial\n let weekly_income = Common.sanitizeValue(this.state.income_1_weekly)\n let monthly_income = Common.sanitizeValue(this.state.income_1_monthly)\n let annual_income = Common.sanitizeValue(financial['income_1'])\n\n const errors = this.state.errors || {}\n\n return (\n
    \n \n
    \n
    \n
    \n this.onChangePosition(event, 'company')}\n onBlur={() => DealerApplicationActions.saveForm(false)}\n errorKey=\"position_0_company\"\n placeholder=\"Enter Company Name\"\n />\n
    \n
    \n this.onChangePosition(event, 'employment_status')}\n onBlur={() => DealerApplicationActions.saveForm(false)}\n errorKey=\"position_0_employment_status\"\n type=\"select\"\n options={this.state.employmentStatusOptions}\n />\n
    \n
    \n
    \n
    \n this.onChangePosition(event, 'title')}\n onBlur={() => DealerApplicationActions.saveForm(false)}\n errorKey=\"position_0_title\"\n />\n
    \n
    \n this.onChangePosition(event, 'start_date')}\n onBlur={() => DealerApplicationActions.saveForm(false)}\n errorKey=\"position_0_start_date\"\n type=\"date\"\n />\n
    \n
    \n\n
    \n this.onChangeFinancial(event, 'income_type_1')}\n onBlur={this.onBlurPOI.bind(this)}\n errorKey=\"financial_income_type_1\"\n type=\"select\"\n options={this.incomeOptions}\n required={true}\n />\n
    \n\n
    \n this.onChangeIncome(event, 'weekly', '1')}\n onBlur={(e) => this.onBlurIncome(e, 'weekly', '1')}\n onClick={() => this.onClickIncome('weekly', '1')}\n required={true}\n inputSide=\"left\"\n />\n this.onChangeIncome(event, 'monthly', '1')}\n onClick={() => this.onClickIncome('monthly', '1')}\n onBlur={(e) => this.onBlurIncome(e, 'monthly', '1')}\n required={true}\n left={true}\n inputSide=\"left\"\n />\n this.onChangeIncome(event, 'annual', '1')}\n onClick={() => this.onClickIncome('annual', '1')}\n onBlur={(e) => this.onBlurIncome(e, 'annual', '1')}\n required={true}\n left={true}\n inputSide=\"left\"\n error={errors.financial_income_1}\n />\n
    \n\n {this.renderSecondIncome()}\n
    \n
    \n )\n }\n\n\n renderSecondIncome() {\n let financial = this.state.loanApplication.financial\n\n if (this.state.showSecondIncome){\n return (\n
    \n
    \n this.onChangeFinancial(event, 'income_type_2')}\n onBlur={() => DealerApplicationActions.saveForm(false)}\n errorKey=\"financial_income_type_2\"\n type=\"select\"\n options={this.incomeOptions}\n />\n
    \n\n
    \n
    \n
    Weekly Income
    \n $\n this.onChangeIncome(event, 'weekly', '2')}\n onBlur={() => DealerApplicationActions.saveForm(false)} />\n
    \n
    \n
    Monthly Income
    \n $\n this.onChangeIncome(event, 'monthly', '2')}\n onBlur={() => DealerApplicationActions.saveForm(false)} />\n
    \n
    \n
    Annual Income
    \n $\n this.onChangeIncome(event, 'annual', '2')}\n onBlur={() => DealerApplicationActions.saveForm(false)} />\n
    \n
    \n
    \n )\n } else {\n return (\n \n )\n }\n }\n}\n\nexport default IncomeEmployment;\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport Autocomplete from 'react-autocomplete';\nimport University from '../../models/University'\nimport { educationPresent, validatePresent } from '../../helpers/DealerApplicationHelper.js';\nimport B2BInputBox from './modules/B2BInputBox.js.jsx';\n\nclass Education extends React.Component {\n constructor(props) {\n super(props);\n this.state = DealerApplicationStore.getState();\n this.state.universities = []\n\n this.universitRequest = null\n this.schoolNameRef = React.createRef()\n }\n\n componentDidMount() {\n // Store needs access to educationPresent for running full validation suite on submit\n DealerApplicationStore.listen(this.onChange.bind(this));\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this));\n }\n\n updateEduction(key, value) {\n let loan_application = this.state.loanApplication || {}\n let educations = loan_application.educations || []\n let education = educations[0] || {}\n\n education[key] = value\n loan_application.educations = [education]\n let education_present = educationPresent(education)\n if (!education_present) {\n this.clearErrors()\n }\n DealerApplicationActions.updateState({\n loanApplication: loan_application,\n })\n\n return education\n }\n\n onChange(state) {\n this.setState(state);\n }\n\n _getName(university) { return university.name; }\n\n _universitySelect(value, item) {\n if (!item.notInList) {\n this.updateEduction('school_name', value)\n }\n\n this.setState({ universities: [] })\n }\n\n async _universityChange(e, value) {\n this.updateEduction('school_name', value)\n\n DealerApplicationActions.clearValidation('educations.0.school_name')\n\n if (value.length < 2) {\n this.setState({ universities: [] });\n return\n }\n\n try {\n if (this.universitRequest) {\n this.universitRequest.abort()\n }\n this.setState({ universities: [] });\n const unversity_request = University.all(null, value)\n this.universitRequest = unversity_request\n const universities = await unversity_request\n const fullList = [{ name: University.not_in_list_label(value), notInList: true }, ...universities.slice(0, 10)];\n this.setState({ universities: fullList });\n } catch (error) {\n console.log('university autofill broke');\n console.log(error);\n }\n }\n\n _universityBlur(e) {\n let education = this.updateEduction('school_name', e.target.value)\n let loan_application = this.state.loanApplication || {}\n loan_application.education = education\n DealerApplicationActions.runFormValidation('educations.0.school_name', loan_application)\n DealerApplicationActions.saveForm(false)\n }\n\n onChangeEducation(event, field) {\n this.updateEduction(field, event.target.value)\n DealerApplicationActions.clearValidation(`educations.0.${field}`)\n }\n\n onBlurEducation(event, field) {\n let value = event.target.value\n let education = this.updateEduction(field, value)\n let loan_application = this.state.loanApplication || {}\n loan_application.education = education\n DealerApplicationActions.runFormValidation(`educations.0.${field}`, loan_application)\n DealerApplicationActions.saveForm(false)\n }\n\n clearErrors() {\n // When educationPresent because false we need to clear out all errors\n const fields = ['educations.0.school_name', 'educations.0.email', 'educations.0.status',\n 'educations.0.degree', 'educations.0.start_date', 'educations.0.end_date']\n\n fields.forEach((key) => {\n DealerApplicationActions.clearValidation(key)\n })\n }\n\n focusSchoolName() {\n try {\n this.schoolNameRef.current.click()\n this.schoolNameRef.current.focus()\n } catch (error) {\n console.log('school name cant be focused');\n }\n }\n\n _renderUniversity(item, isHighlighted) {\n let className;\n if (item.notInList) {\n className = \"text-gray-350\";\n } else if (isHighlighted) {\n className = \"bg-green-500 text-white rounded-sm\";\n } else {\n className = null;\n }\n\n return
    {item.name}
    ;\n }\n\n _renderUniversityMenu(items, value, style) {\n return
    ;\n }\n\n render() {\n let loan_application = this.state.loanApplication || {}\n let educations = loan_application.educations || []\n let education = educations[0] || {}\n\n\n const degree_status_options = University.degreeStatuses.map(status => {\n const label = status.split('_').map(s => _.capitalize(s)).join(' ');\n return [label, status]\n });\n\n const fields_required = DealerApplicationStore.anyEducationPresent()\n\n return (\n
    \n
    \n
    Education
    \n Only required for students\n
    \n
    \n
    \n
    \n \n
    \n
    \n this.onChangeEducation(event, 'email')}\n onBlur={(event) => this.onBlurEducation(event, 'email')}\n errorKey=\"educations_0_email\"\n required={fields_required}\n />\n
    \n
    \n
    \n
    \n this.onChangeEducation(event, 'degree')}\n onBlur={(event) => this.onBlurEducation(event, 'degree')}\n errorKey=\"educations_0_degree\"\n type=\"select\"\n options={University.HIGHEST_EDUCATION_OPTIONS}\n required={fields_required}\n />\n
    \n
    \n this.onChangeEducation(event, 'status')}\n onBlur={(event) => this.onBlurEducation(event, 'status')}\n errorKey=\"educations_0_status\"\n type=\"select\"\n options={degree_status_options}\n required={fields_required}\n />\n
    \n
    \n
    \n
    \n this.onChangeEducation(event, 'start_date')}\n onBlur={(event) => this.onBlurEducation(event, 'start_date')}\n errorKey=\"educations_0_start_date\"\n type=\"date\"\n required={fields_required}\n />\n
    \n
    \n this.onChangeEducation(event, 'end_date')}\n onBlur={(event) => this.onBlurEducation(event, 'end_date')}\n errorKey=\"educations_0_end_date\"\n type=\"date\"\n required={fields_required}\n />\n
    \n
    \n
    \n
    \n )\n }\n\n renderSchoolName(school_name) {\n return (\n \n )\n }\n}\n\nexport default Education;\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport lb_fetch from '../../helpers/Request.js';\nimport Automobile from '../../models/Automobile.js';\nimport LBModal from '../modules/LBModal.js';\nimport ErrorIcon from '../modules/BasicElements/ErrorIcon.js';\nimport NumberFormatter from '../../number_formatter.js';\nimport { validateVIN } from '../../helpers/DealerApplicationHelper.js';\nimport B2BInputBox from './modules/B2BInputBox.js.jsx';\nimport { CompactDollarInput } from '../modules/BasicElements/DollarInput.js.jsx';\nimport { flashInput } from '../../Animations.js';\nimport AssetGrade, { acceptedGrades } from '../deal_structure/AssetGrade.jsx'\nimport {\n assetMileage,\n pullVehicleGrade,\n} from '../../helpers/DealerApplicationHelper.js'\n\nclass VehicleInformation extends React.Component {\n constructor(props) {\n super(props)\n this.historyOptions = [\n ['', ''],\n ['New', 'new'],\n ['Used', 'used'],\n ]\n\n const dealer_store_state = DealerApplicationStore.getState()\n const loanApplication = dealer_store_state.loanApplication\n const vehicle = loanApplication.automobile || {}\n const currentModelYear = new Date().getFullYear() + 2\n\n this.state = {\n ...dealer_store_state,\n years: _.range(1990, currentModelYear),\n makes: [],\n models: [],\n styles: [],\n vin: vehicle['vin'],\n nadaVehicles: null,\n nadaModal: false,\n vehicleLoader: false,\n readOnly: false,\n vinChanged: false,\n }\n\n this.vinInputRef = React.createRef()\n }\n\n componentDidMount() {\n const { vin, make, model, year, mileage } = this.state.loanApplication.automobile\n this.updateAssetGrade({vin, make, model, year, mileage})\n DealerApplicationStore.listen(this.onChange.bind(this))\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this))\n }\n\n onChange(state) {\n this.setState(state)\n }\n\n async updateAssetGrade({vin, make, model, year, mileage}) {\n if (!vin || !make || !model || !year || !mileage) return\n const assetGrade = await pullVehicleGrade({vin, make, model, year, mileage})\n const updatedLoanApplication = {\n ...this.state.loanApplication,\n asset_grade: assetGrade,\n }\n DealerApplicationActions.updateState({loanApplication: updatedLoanApplication})\n }\n\n updateAutomobile(value, field) {\n let loan_application = this.state.loanApplication || {}\n const automobile = loan_application.automobile || {}\n\n if (field == 'vin' && automobile.vin != value) {\n this.setState({ vinChanged: true })\n } else if (field === 'asset_grade') {\n loan_application.asset_grade = value\n }\n\n if (field in loan_application.automobile) automobile[field] = value\n loan_application.automobile = automobile\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n return loan_application\n }\n\n autofillVehicle(e) {\n let stripped_vin = e.target.value.replace(/\\s+/g, '')\n const loan_application = this.updateAutomobile(stripped_vin, 'vin')\n DealerApplicationActions.runFormValidation(\n 'automobile.vin',\n loan_application,\n )\n\n const validation_results = validateVIN(stripped_vin)\n\n if (this.state.vinChanged && validation_results.valid) {\n this.pullNadaVehicles(stripped_vin)\n this.setState({ vinChanged: false })\n }\n\n if (\n this.state.vinChanged &&\n validation_results.valid &&\n loan_application.automobile.mileage != null\n ) {\n DealerApplicationActions.runFormValidation(\n 'automobile.mileage',\n loan_application,\n )\n }\n\n DealerApplicationActions.saveForm(false)\n }\n\n async setCarDetails(i) {\n let nadaVehicles = this.state.nadaVehicles || []\n const vehicle = nadaVehicles[i] || {}\n\n this.showNadaModal(false)\n let loan_application = this.updateAutomobile(vehicle.year, 'year')\n loan_application = this.updateAutomobile(vehicle.make, 'make')\n loan_application = this.updateAutomobile(vehicle.model, 'model')\n loan_application = this.updateAutomobile(vehicle.style, 'style')\n loan_application = this.updateAutomobile(vehicle.uid, 'nada_uid')\n loan_application = this.updateAutomobile(vehicle.asset_grade, 'asset_grade')\n loan_application = this.updateAutomobile(vehicle.mileage, 'mileage')\n let current_year = new Date().getFullYear()\n if (vehicle['year'] - current_year < 0) {\n loan_application = this.updateAutomobile('used', 'history')\n } else {\n loan_application = this.updateAutomobile('new', 'history')\n }\n DealerApplicationActions.runFormValidation(\n `automobile.year`,\n loan_application,\n )\n DealerApplicationActions.runFormValidation(\n `automobile.make`,\n loan_application,\n )\n DealerApplicationActions.runFormValidation(\n `automobile.model`,\n loan_application,\n )\n DealerApplicationActions.runFormValidation(\n `automobile.style`,\n loan_application,\n )\n DealerApplicationActions.runFormValidation(\n `automobile.history`,\n loan_application,\n )\n DealerApplicationActions.runFormValidation(\n 'automobile.mileage',\n loan_application,\n )\n DealerApplicationActions.saveForm(false)\n flashInput('automobile_year')\n flashInput('automobile_make')\n flashInput('automobile_model')\n flashInput('automobile_style')\n flashInput('automobile_history')\n flashInput('automobile_asset_grade')\n flashInput('automobile_mileage')\n this.setState({ readOnly: true })\n }\n\n showNadaModal(status) {\n return this.setState({ nadaModal: status })\n }\n\n vehicleLoader(status) {\n this.setState({ vehicleLoader: status })\n }\n\n async pullNadaVehicles(vin) {\n DealerApplicationActions.saveForm(false)\n this.vehicleLoader(true)\n\n const url = '/pull_nada_trims'\n const req_data = {\n loan_application: {\n automobile: {\n vin: vin,\n },\n },\n }\n this.setState({ nadaVehicles: null })\n\n let res = null\n try {\n res = await lb_fetch(url, { body: req_data })\n } catch (error) {\n console.log('error in VehicleInformation#pullNadaVehicles')\n console.log(error)\n return\n } finally {\n this.vehicleLoader(false)\n }\n\n if (!res.ok) {\n return\n }\n\n const data = await res.json()\n\n if (!data || !data['data']) {\n return\n }\n\n const suggestedVehicles = data.data\n const state = this.state.loanApplication.person.state\n const carfaxMileage = await assetMileage(vin, state)\n const { mileage } = this.state.loanApplication.automobile\n const manualInputMileage = NumberFormatter.parseMoney(mileage)\n const mileageForQuery = Math.max(carfaxMileage, manualInputMileage)\n\n // suggested vehicles are only for trim. Hence make, model and year are same\n const { make, model, modelyear } = suggestedVehicles[0]\n const assetGrade = await pullVehicleGrade({\n vin,\n make,\n model,\n year: modelyear,\n mileage: mileageForQuery,\n })\n\n const vehicles = data['data'].map((v) => {\n return {\n make: v['make'],\n model: v['model'],\n year: v['modelyear'],\n style: v['body'],\n uid: v['uid'],\n mileage:\n mileage !== null && mileage !== undefined\n ? mileage\n : carfaxMileage\n ? NumberFormatter.formatMoney(carfaxMileage)\n : null,\n asset_grade: assetGrade,\n }\n })\n\n this.setState(\n {\n nadaVehicles: vehicles,\n loanApplication: {\n ...this.state.loanApplication,\n carfax_data: {\n ...this.state.loanApplication.carfax_data,\n cx_mileage: carfaxMileage,\n },\n },\n },\n () => {\n if (vehicles.length == 1) {\n this.setCarDetails(0)\n return\n }\n\n this.showNadaModal(true)\n const styles = vehicles.map((v) => [v['style'], v['uid']])\n this.setState({ styles })\n },\n )\n }\n\n _changeMileage(e) {\n let value = e.target.value\n let number = parseInt(value.replace(/\\D/g, ''))\n\n DealerApplicationActions.clearValidation('automobile.mileage')\n\n this.updateAutomobile(number || value, 'mileage')\n }\n\n async _onBlurMileage(e) {\n let value = e.target.value\n value = NumberFormatter.formatMoney(value || 0)\n const loan_application = this.updateAutomobile(value, 'mileage')\n DealerApplicationActions.runFormValidation(\n 'automobile.mileage',\n loan_application,\n )\n\n const { asset_grade, automobile, carfax_data } = this.state.loanApplication\n const { vin, make, model, year, mileage } = automobile\n const manualInputMileage = NumberFormatter.parseMoney(mileage)\n const mileageForQuery = Math.max(\n manualInputMileage,\n carfax_data?.cx_mileage || 0,\n )\n const assetGrade =\n (await pullVehicleGrade({\n vin,\n make,\n model,\n year,\n mileage: mileageForQuery,\n })) || ''\n if (assetGrade !== asset_grade) {\n this.updateAutomobile(assetGrade, 'asset_grade')\n flashInput('automobile_asset_grade')\n }\n\n DealerApplicationActions.saveForm(false)\n }\n\n onClickClear(field) {\n const loan_application = this.state.loanApplication || {}\n const automobile = loan_application.automobile || {}\n\n if (automobile[field]) {\n return\n }\n\n this.updateAutomobile('', field)\n }\n\n onBlurCarField(value, field) {\n DealerApplicationActions.runFormValidation(`automobile.${field}`)\n DealerApplicationActions.saveForm(false)\n }\n\n async _changeMake(e) {\n let value = e.target.value\n this.updateAutomobile(value, 'make')\n this.updateAutomobile('', 'model')\n this.updateAutomobile('', 'style')\n this.setState({ models: [], styles: [] })\n\n DealerApplicationActions.clearValidation('automobile.make')\n\n let res = null\n let loan_application = this.state.loanApplication || {}\n let automobile = loan_application['automobile'] || {}\n\n try {\n res = await Automobile.models(automobile['year'], value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeMake')\n console.log(error)\n return\n }\n\n let res_models = res.Models || []\n let models = res_models.map((m) => m['model_name'])\n this.setState({ models })\n }\n\n async _changeModel(e) {\n let value = e.target.value\n this.updateAutomobile(value, 'model')\n\n DealerApplicationActions.clearValidation('automobile.model')\n\n let res = null\n let loan_application = this.state.loanApplication || {}\n let automobile = loan_application['automobile'] || {}\n\n try {\n res = await Automobile.styles(automobile.year, automobile.make, value)\n } catch (error) {\n console.log('error in ajax call VehicleInformation#_changeModel')\n console.log(error)\n return\n }\n\n const res_styles = res['Trims'] || []\n const styles = res_styles.map((s) => s['model_trim'])\n this.setState({ styles })\n }\n\n async _changeYear(e) {\n let value = e.target.value\n\n this.updateAutomobile(value, 'year')\n\n DealerApplicationActions.clearValidation('automobile.year')\n\n let res = null\n try {\n res = await Automobile.makes(value)\n } catch (error) {\n console.log('error in ajax call in VehicleInformation#_changeYear')\n console.log(error)\n return\n }\n\n const res_makes = res.Makes || []\n let makes = res_makes.map((m) => m['make_display'])\n\n if (!makes.includes('Land Rover')) {\n makes.push('Land Rover')\n }\n\n this.setState({ makes })\n }\n\n _changeStyle(e) {\n const vehicles = this.state.nadaVehicles || []\n let selected_vehicle = vehicles.find((v) => v.uid === e.target.value)\n this.updateAutomobile(selected_vehicle.style, 'style')\n this.updateAutomobile(e.target.value, 'nada_uid')\n\n DealerApplicationActions.clearValidation('automobile.style')\n }\n\n _changeStyleManual(e) {\n this.updateAutomobile(e.target.value, 'style')\n DealerApplicationActions.clearValidation('automobile.style')\n }\n\n onChangeWholesale(value) {\n const amount = NumberFormatter.parseMoney(value)\n\n this.updateAutomobile(amount, 'wholesale_value')\n }\n\n onChangeMSRP(value) {\n const amount = NumberFormatter.parseMoney(value)\n\n this.updateAutomobile(amount, 'msrp_value')\n }\n\n focusVin() {\n try {\n this.vinInputRef.current.click()\n this.vinInputRef.current.focus()\n } catch (error) {\n console.log('vin cant be focused')\n }\n }\n\n render() {\n let loan_application = this.state.loanApplication || {}\n let automobile = loan_application['automobile'] || {}\n\n let makeInput = this.renderCarField({\n title: 'Make',\n value: automobile['make'],\n list: 'car_makers',\n options: this.state.makes,\n onChange: this._changeMake.bind(this),\n name: 'make',\n readOnly: this.state.readOnly,\n })\n\n let modelInput = this.renderCarField({\n title: 'Model',\n name: 'model',\n value: automobile['model'],\n list: 'car_models',\n options: this.state.models,\n onChange: this._changeModel.bind(this),\n readOnly: this.state.readOnly,\n })\n\n let yearInput = this.renderCarField({\n title: 'Year',\n name: 'year',\n value: automobile['year'],\n list: 'car_year',\n options: this.state.years,\n onChange: this._changeYear.bind(this),\n readOnly: this.state.readOnly,\n })\n\n let wholesale_value = this.state.loanApplication.automobile.wholesale_value\n if ([null, undefined].includes(wholesale_value)) {\n wholesale_value = 0\n } else if (wholesale_value != 0) {\n wholesale_value = NumberFormatter.formatMoney(\n this.state.loanApplication.automobile.wholesale_value || 0,\n )\n } else {\n wholesale_value = ''\n }\n\n let show_msrp = this.state.loanApplication.automobile.history == 'new'\n let msrp_input = null\n if (show_msrp) {\n let msrp_value = this.state.loanApplication.automobile.msrp_value\n if ([null, undefined].includes(msrp_value)) {\n msrp_value = 0\n } else if (msrp_value != 0) {\n msrp_value = NumberFormatter.formatMoney(\n this.state.loanApplication.automobile.msrp_value || 0,\n )\n } else {\n msrp_value = ''\n }\n\n msrp_input = (\n
    \n this.onChangeMSRP(e.target.value)}\n onBlur={(e) => this.onBlurCarField(e.target.value, 'msrp_value')}\n onClick={() => this.onClickClear('msrp_value')}\n inputSide=\"left\"\n />\n
    \n )\n }\n\n return (\n
    \n
    Vehicle Information
    \n
    \n \n
    \n {this.renderVin()}\n
    \n
    \n \n this.updateAutomobile(e.target.value, 'history')\n }\n onBlur={(e) => this.onBlurCarField(e.target.value, 'history')}\n options={this.historyOptions}\n errorKey=\"automobile_history\"\n />\n
    \n {msrp_input}\n this.onChangeWholesale(e.target.value)}\n onBlur={(e) =>\n this.onBlurCarField(e.target.value, 'wholesale_value')\n }\n onClick={() => this.onClickClear('wholesale_value')}\n />\n
    \n
    \n
    {yearInput}
    \n
    {makeInput}
    \n
    {modelInput}
    \n
    {this.renderAssetGrade()}
    \n
    {this.renderStyles()}
    \n
    \n this.onClickClear('mileage')}\n errorKey=\"automobile_mileage\"\n />\n
    \n
    \n
    \n {this.renderNadaVehiclesModal()}\n
    \n )\n }\n\n renderAssetGrade() {\n const { asset_grade, automobile } = this.state.loanApplication\n const { make, model } = automobile || {}\n const tooltipText = `Vehicle grade is determined by the vehicle's condition, make, model, year, and mileage. Only grades ${[\n ...acceptedGrades,\n ].join(', ')} are shown`\n\n return (\n \n \n \n {tooltipText}\n \n \n  \n \n \n }\n />\n )\n }\n\n renderVin() {\n let errors = this.state.errors\n let warnings = this.state.warnings\n let loan_application = this.state.loanApplication || {}\n let automobile = loan_application['automobile'] || {}\n\n let pull_icon = (\n this.pullNadaVehicles(automobile['vin'])}\n >\n \n \n \n )\n let vehicleLoader_text = ''\n\n if (this.state.vehicleLoader || !automobile['vin']) {\n pull_icon = ''\n }\n\n if (this.state.vehicleLoader) {\n vehicleLoader_text = 'Fetching car information...'\n }\n\n return (\n
    \n \n VIN\n
    \n
    \n
    \n this.updateAutomobile(e.target.value, 'vin')}\n onBlur={this.autofillVehicle.bind(this)}\n autoComplete=\"chrome-off\"\n />\n
    \n\n
    \n \n {pull_icon}\n
    \n
    \n
    \n {errors['automobile_vin']}\n
    \n
    \n {warnings['automobile_vin']}\n
    \n
    \n {vehicleLoader_text}\n
    \n \n )\n }\n\n renderStyles() {\n let style = this.state.loanApplication.automobile.style\n return (\n this.onBlurCarField(e.target.value, 'style')}\n errorKey=\"automobile_style\"\n />\n )\n }\n\n renderCarField(args) {\n // args should be an object with keys name, value, list, data, onChange, readOnly\n return (\n this.onBlurCarField(e.target.value, args.name)}\n required=\"required\"\n errorKey={`automobile_${args.name}`}\n type=\"datalist\"\n />\n )\n }\n\n renderNadaVehiclesModal() {\n const nadaModal = this.state.nadaModal\n const vehicleLoader = this.state.vehicleLoader\n const nadaVehicles = this.state.nadaVehicles || []\n\n if (!nadaModal || !nadaVehicles.length) {\n // Don't need the modal unless there's more than one option for trim\n return ''\n }\n\n const vehicles_view = nadaVehicles.map((vehicle, index) => {\n return (\n this.setCarDetails(index)}\n >\n
    \n {vehicle['year']} {vehicle['make']} {vehicle['model']}\n
    \n
    {vehicle['style']}
    \n \n )\n })\n\n var vehicles_body = (\n
    \n
    \n
    Choose a vehicle
    \n this.showNadaModal(false)}\n >
    \n
    \n\n \n {vehicles_view}\n
    \n \n )\n\n let modal_body = this.renderVehicleLoader()\n if (!vehicleLoader) {\n modal_body = vehicles_body\n }\n\n return (\n this.showNadaModal(false)}\n >\n {modal_body}\n \n )\n }\n\n renderVehicleLoader() {\n return (\n
    \n
    \n \n
    \n
    \n )\n }\n}\n\nexport default VehicleInformation;\n","import React, { useEffect, useState } from 'react';\nimport DealerApplicationStore from '../../../stores/DealerApplicationStore.js.jsx';\nimport DollarInput from '../../modules/BasicElements/DollarInput.js.jsx';\n\nconst B2BDollarInput = (props) => {\n const title = props.title\n const value = props.value\n const on_change = props.onChange || null\n const on_blur = props.onBlur || null\n const error_key = props.errorKey\n const type = props.type || \"text\"\n const placeholder = \"Enter Amount\"\n const class_name = `${props.className} ${error_key}`\n\n const dealer_app_store = DealerApplicationStore.getState()\n const [errors, setErrors] = useState(dealer_app_store['errors'])\n const [warnings, setWarnings] = useState(dealer_app_store['warnings'])\n\n useEffect(() => {\n DealerApplicationStore.listen(storeListner);\n\n return () => DealerApplicationStore.unlisten(storeListner)\n }, [])\n\n const storeListner = (updated_state) => {\n setErrors(updated_state['errors'])\n setWarnings(updated_state['warnings'])\n }\n\n return (\n \n );\n};\n\nexport default B2BDollarInput;\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport NumberFormatter from '../../number_formatter.js';\nimport B2BDollarInput from './modules/B2BDollarInput.js.jsx';\nimport LBModal from '../modules/LBModal.js';\nimport { dealStructure } from '../deal_structure/DealStructureHelpers.jsx';\n\nclass TradeIn extends React.Component {\n constructor(props) {\n super(props);\n this.state = DealerApplicationStore.getState();\n this.state.modalOpen = false\n this.state.addingVin = false\n }\n\n componentDidMount() {\n DealerApplicationStore.listen(this.onChange.bind(this));\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this));\n }\n\n onChange(state) {\n this.setState(state);\n }\n\n updatePurchasePrice(value, field) {\n let loan_application = this.state.loanApplication\n let purchase_price = this.state.loanApplication.purchase_price\n\n purchase_price[field] = value\n loan_application.purchase_price = purchase_price\n DealerApplicationActions.updateState({loanApplication: loan_application})\n }\n\n onChangePurchasePrice(event, field) {\n let value = event.target.value\n\n if (value && value.length > 0) {\n this.updatePurchasePrice(true, 'has_trade_in')\n }\n\n this.updatePurchasePrice(value, field)\n }\n\n onClickPurchasePrice(field) {\n let purchase_price = this.state.loanApplication.purchase_price\n\n if (Number(purchase_price[field]) != 0) {\n return\n }\n\n this.updatePurchasePrice(\"\", field)\n }\n\n validateFrontEndTotal() {\n const { frontend_total } = dealStructure(this.state.loanApplication)\n const updatedFETotalLoanApplication = {\n ...this.state.loanApplication,\n purchase_price: {\n ...this.state.loanApplication.purchase_price,\n total_frontend: frontend_total\n }\n }\n DealerApplicationActions.updateState({ loanApplication: updatedFETotalLoanApplication })\n DealerApplicationActions.runFormValidation('purchase_price.total_frontend', updatedFETotalLoanApplication)\n }\n\n toggleTrade() {\n let purchase_price = this.state.loanApplication.purchase_price\n\n let value = !purchase_price.has_trade_in\n\n this.updatePurchasePrice(value, 'has_trade_in')\n\n if (purchase_price.has_trade_in) {\n this.tradeModal(true)\n } else {\n this.updatePurchasePrice(null, 'net_trade_in_value')\n this.updatePurchasePrice(null, 'trade_in_allowance')\n this.updatePurchasePrice(null, 'trade_in_value')\n this.updatePurchasePrice(null, 'trade_in_loan_balance')\n this.updatePurchasePrice(null, 'trade_in_vin')\n }\n\n this.validateFrontEndTotal()\n DealerApplicationActions.saveForm()\n }\n\n tradeModal(visible) {\n this.setState({modalOpen: visible})\n }\n\n calculateNetTrade() {\n let purchase_price = this.state.loanApplication.purchase_price\n let trade_value = NumberFormatter.parseMoney(purchase_price.trade_in_allowance)\n let loan_balance = NumberFormatter.parseMoney(purchase_price.trade_in_loan_balance)\n\n let value = trade_value - loan_balance\n\n this.updatePurchasePrice(NumberFormatter.formatMoney(value || 0, true), 'net_trade_in_value')\n this.updatePurchasePrice(NumberFormatter.formatMoney(trade_value || 0, true), 'trade_in_allowance')\n this.updatePurchasePrice(NumberFormatter.formatMoney(loan_balance || 0, true), 'trade_in_loan_balance')\n\n this.validateFrontEndTotal()\n DealerApplicationActions.saveForm()\n }\n\n clearTradeVin() {\n this.updatePurchasePrice(null, 'trade_in_vin')\n this.setState({addingVin: false})\n }\n\n render() {\n const purchase_price = this.state.loanApplication.purchase_price\n\n return (\n
    \n
    \n
    this.tradeModal(true)}>Trade-in value
    \n \n
    \n
    \n $\n this.tradeModal(true)} onFocus={() => this.tradeModal(true)} />\n
    \n {this.renderModal()}\n
    \n )\n }\n\n renderModal() {\n const purchase_price = this.state.loanApplication.purchase_price\n let t_title_view = (\n \n )\n\n if (purchase_price['trade_in_vin']) {\n t_title_view = (\n
    \n
    \n
    Trade-in value
    \n \n
    \n
    \n )\n }\n\n let first_line = (\n
    \n
    \n {t_title_view}\n
    \n
    \n
    \n $\n this.onClickPurchasePrice('trade_in_allowance')}\n onChange={(event) => this.onChangePurchasePrice(event, 'trade_in_allowance')} onBlur={() => this.calculateNetTrade()} />\n
    \n
    \n
    \n )\n\n if (this.state.addingVin) {\n first_line = (\n
    \n this.onChangePurchasePrice(event, 'trade_in_vin')} placeholder=\"Paste VIN\" />\n { this.setState({addingVin: false}); DealerApplicationActions.saveForm() }} className=\"text-xs font-light cursor-pointer flex flex-wrap content-center\">Done\n this.clearTradeVin()}>\n
    \n )\n }\n\n return (\n this.tradeModal(false)}>\n this.tradeModal(false)}>\n
    \n
    \n
    \n
    \n \n Trade-In Calculator\n \n
    \n
    \n
    \n
    \n
    \n
    \n {first_line}\n
    \n this.onChangePurchasePrice(event, 'trade_in_loan_balance')}\n onBlur={() => this.calculateNetTrade()}\n onClick={() => this.onClickPurchasePrice('trade_in_loan_balance')}\n />\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n )\n }\n}\n\nexport default TradeIn;\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport TradeIn from './TradeIn.js.jsx';\nimport ErrorIcon from '../modules/BasicElements/ErrorIcon.js';\nimport NumberFormatter from '../../number_formatter.js';\nimport B2BDollarInput from './modules/B2BDollarInput.js.jsx';\nimport { CompactDollarInput } from '../modules/BasicElements/DollarInput.js.jsx';\nimport B2BInputBox from './modules/B2BInputBox.js.jsx';\n\nclass DealInformation extends React.Component {\n constructor(props) {\n super(props);\n this.state = DealerApplicationStore.getState();\n }\n\n componentDidMount() {\n DealerApplicationStore.listen(this.onChange.bind(this));\n this.validateTotals()\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this));\n }\n\n onChange(state) {\n this.setState(state);\n }\n\n updatePurchasePrice(field, value, format = false) {\n let loan_application = this.state.loanApplication\n let purchase_price = this.state.loanApplication.purchase_price\n\n purchase_price[field] = value\n if (format) {\n purchase_price[field] = NumberFormatter.formatMoney(value || 0, true)\n }\n loan_application.purchase_price = purchase_price\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n return loan_application\n }\n\n updateLoanTerm(field, value) {\n let loan_application = this.state.loanApplication\n let loan_term = this.state.loanApplication.loan_term\n loan_term[field] = value\n loan_application.loan_term = loan_term\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n return loan_application\n }\n\n onBlurMoney(field) {\n let purchase_price = this.state.loanApplication.purchase_price || {}\n const loan_application = this.updatePurchasePrice(field, purchase_price[field], true)\n DealerApplicationActions.runFormValidation(`purchase_price.${field}`, loan_application)\n this.saveForm()\n }\n\n onClickMoney(field) {\n const loan_application = this.state.loanApplication || {}\n let purchase_price = loan_application.purchase_price || {}\n if (Number(purchase_price[field]) != 0) {\n return\n }\n\n purchase_price[field] = ''\n loan_application.purchase_price = purchase_price\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n }\n\n onBlurLoanTerm(field) {\n let loan_term = this.state.loanApplication.loan_term\n const loan_application = this.updateLoanTerm(field, loan_term[field])\n DealerApplicationActions.runFormValidation(`loan_term.${field}`, loan_application)\n this.saveForm()\n }\n\n formatOtherCharge(index) {\n let purchase_price = this.state.loanApplication.purchase_price\n let charge = purchase_price.other_charges[index]\n charge.amount = NumberFormatter.formatMoney(charge.amount || 0, true)\n\n this.updatePurchasePrice('other_charges', purchase_price.other_charges)\n this.saveForm()\n }\n\n saveForm() {\n this.validateTotals()\n DealerApplicationActions.saveForm(false)\n }\n\n validateTotals() {\n const loan_application = this.state.loanApplication || {}\n const purchase_price = loan_application['purchase_price'] || {}\n purchase_price.total_frontend = this.totalFrontEnd() || 0\n purchase_price.total_backend = this.totalBackEnd() || 0\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n DealerApplicationActions.runFormValidation('purchase_price.total_frontend', loan_application)\n DealerApplicationActions.runFormValidation('purchase_price.total_backend', loan_application)\n }\n\n onChangePurchasePrice(event, field) {\n DealerApplicationActions.clearValidation(`purchase_price.${field}`)\n this.updatePurchasePrice(field, event.target.value)\n }\n\n onChangeTerm(event, field) {\n DealerApplicationActions.clearValidation(`loan_term.${field}`)\n this.updateLoanTerm(field, event.target.value)\n }\n\n onChangeProgram(value) {\n let loan_application = this.state.loanApplication\n loan_application.lb_program_type = value\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n DealerApplicationActions.runFormValidation('lb_program_type', loan_application)\n this.saveForm()\n }\n\n addCharge() {\n let loan_application = this.state.loanApplication\n let purchase_price = this.state.loanApplication.purchase_price\n\n purchase_price.other_charges.push({ description: '', amount: '' })\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n }\n\n removeCharge(index) {\n let loan_application = this.state.loanApplication\n let purchase_price = this.state.loanApplication.purchase_price\n\n purchase_price.other_charges.splice(index, 1)\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n }\n\n onChangeOtherCharge(event, index, field) {\n let loan_application = this.state.loanApplication\n let purchase_price = this.state.loanApplication.purchase_price\n let charge = purchase_price.other_charges[index]\n\n charge[field] = event.target.value\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n }\n\n onClickOtherChargeAmount(index) {\n const loan_application = this.state.loanApplication || {}\n const purchase_price = loan_application.purchase_price || {}\n const other_charges = purchase_price.other_charges || []\n let charge = other_charges[index] || {}\n\n if (!other_charges.length || Number(charge['amount']) != 0) {\n return\n }\n\n loan_application['purchase_price']['other_charges'][index]['amount'] = \"\"\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n }\n\n totalFrontEnd() {\n const purchase_price_obj = this.state.loanApplication.purchase_price\n const purchase_price = NumberFormatter.parseMoney(purchase_price_obj.purchase_price) || 0\n const sales_tax = NumberFormatter.parseMoney(purchase_price_obj.sales_tax) || 0\n const doc_fees = NumberFormatter.parseMoney(purchase_price_obj.doc_fees) || 0\n const total_charges_frontend = NumberFormatter.parseMoney(purchase_price_obj.total_charges_frontend) || 0\n const rebate = NumberFormatter.parseMoney(purchase_price_obj.rebate) || 0\n const license_registration_fees = NumberFormatter.parseMoney(purchase_price_obj.license_registration_fees) || 0\n return purchase_price + sales_tax + license_registration_fees + doc_fees + total_charges_frontend - this.totalDown() - rebate\n }\n\n totalBackEnd() {\n const purchase_price_obj = this.state.loanApplication.purchase_price\n const extended_warranty = NumberFormatter.parseMoney(purchase_price_obj.extended_warranty) || 0\n const tire_protection = NumberFormatter.parseMoney(purchase_price_obj.tire_protection) || 0\n const credit_life_insurance = NumberFormatter.parseMoney(purchase_price_obj.credit_life_insurance) || 0\n const accid_disability_insurance = NumberFormatter.parseMoney(purchase_price_obj.accid_disability_insurance) || 0\n const gap_insurance_dealer = NumberFormatter.parseMoney(purchase_price_obj.gap_insurance_dealer) || 0\n\n let other_charges_total = purchase_price_obj.other_charges.reduce((total, charge) => {\n return total + NumberFormatter.parseMoney(charge.amount)\n }, 0)\n\n return extended_warranty + tire_protection + credit_life_insurance + accid_disability_insurance + gap_insurance_dealer + other_charges_total\n }\n\n totalDown() {\n const net_trade = NumberFormatter.parseMoney(this.state.loanApplication.purchase_price.net_trade_in_value) || 0\n const cash_downpayment = NumberFormatter.parseMoney(this.state.loanApplication.purchase_price.cash_downpayment) || 0\n\n return net_trade + cash_downpayment\n }\n\n downPercent() {\n const purchase_price_obj = this.state.loanApplication.purchase_price\n const purchase_price = NumberFormatter.parseMoney(purchase_price_obj.purchase_price) || 0\n if (purchase_price == 0) {\n return 0\n }\n return parseInt((100.0 * this.totalDown()) / purchase_price) || 0\n }\n\n monthlyPayment() {\n const i = 0.10 / 12; // monthly\n const term = parseInt(this.state.loanApplication.loan_term.loan_duration) || 0\n\n if (!this.netFinancedAmount() || !term) {\n return null\n }\n\n const mp = (this.netFinancedAmount() * i * (Math.pow(1 + i, term * 12))) / (Math.pow(1 + i, term * 12) - 1);\n return parseInt(mp);\n }\n\n netFinancedAmount() {\n return this.totalFrontEnd() + this.totalBackEnd()\n }\n\n render() {\n return (\n
    \n
    \n
    \n {this.renderFrontendCharges()}\n
    \n {this.renderLoanTerm()}\n
    \n
    \n {this.renderBackendCharges()}\n
    \n
    \n {this.renderCreditPrograms()}\n
    \n {this.renderInfo()}\n
    \n )\n }\n\n renderFrontendCharges() {\n const purchase_price = this.state.loanApplication.purchase_price\n\n return (\n
    \n
    Deal Information - Front End
    \n
    \n
    \n this.onChangePurchasePrice(event, 'purchase_price')}\n onBlur={() => this.onBlurMoney('purchase_price')}\n onClick={() => this.onClickMoney('purchase_price')}\n required={true}\n errorKey={'purchase_price_purchase_price'}\n top={true}\n />\n this.onChangePurchasePrice(event, 'sales_tax')}\n onBlur={() => this.onBlurMoney('sales_tax')}\n onClick={() => this.onClickMoney('sales_tax')}\n required={true}\n errorKey={'purchase_price_sales_tax'}\n />\n this.onChangePurchasePrice(event, 'license_registration_fees')}\n onBlur={() => this.onBlurMoney('license_registration_fees')}\n onClick={() => this.onClickMoney('license_registration_fees')}\n required={true}\n errorKey={'purchase_price_license_registration_fees'}\n />\n this.onChangePurchasePrice(event, 'doc_fees')}\n onBlur={() => this.onBlurMoney('doc_fees')}\n onClick={() => this.onClickMoney('doc_fees')}\n required={true}\n errorKey={'purchase_price_doc_fees'}\n />\n\n this.onChangePurchasePrice(event, 'cash_downpayment')}\n onBlur={() => this.onBlurMoney('cash_downpayment')}\n onClick={() => this.onClickMoney('cash_downpayment')}\n required={true}\n errorKey={'purchase_price_cash_downpayment'}\n left={true}\n />\n \n \n this.onChangePurchasePrice(event, 'rebate')}\n onBlur={() => this.onBlurMoney('rebate')}\n onClick={() => this.onClickMoney('rebate')}\n required={true}\n errorKey={'purchase_price_rebate'}\n />\n this.onChangePurchasePrice(event, 'total_charges_frontend')}\n onBlur={() => this.onBlurMoney('total_charges_frontend')}\n onClick={() => this.onClickMoney('total_charges_frontend')}\n required={true}\n errorKey={'purchase_price_total_charges_frontend'}\n />\n \n
    \n
    \n
    \n )\n }\n\n renderBackendCharges() {\n const purchase_price = this.state.loanApplication.purchase_price\n\n return (\n
    \n \n
    Deal Information - Back End
    \n
    \n
    \n this.onChangePurchasePrice(event, 'extended_warranty')}\n onBlur={() => this.onBlurMoney('extended_warranty')}\n onClick={() => this.onClickMoney('extended_warranty')}\n required={true}\n errorKey={'purchase_price_extended_warranty'}\n top={true}\n />\n this.onChangePurchasePrice(event, 'gap_insurance_dealer')}\n onBlur={() => this.onBlurMoney('gap_insurance_dealer')}\n onClick={() => this.onClickMoney('gap_insurance_dealer')}\n required={true}\n errorKey={'purchase_price_gap_insurance_dealer'}\n />\n this.onChangePurchasePrice(event, 'tire_protection')}\n onBlur={() => this.onBlurMoney('tire_protection')}\n onClick={() => this.onClickMoney('tire_protection')}\n required={true}\n errorKey={'purchase_price_tire_protection'}\n />\n this.onChangePurchasePrice(event, 'accid_disability_insurance')}\n onBlur={() => this.onBlurMoney('accid_disability_insurance')}\n onClick={() => this.onClickMoney('accid_disability_insurance')}\n required={true}\n errorKey={'purchase_price_accid_disability_insurance'}\n />\n this.onChangePurchasePrice(event, 'credit_life_insurance')}\n onBlur={() => this.onBlurMoney('credit_life_insurance')}\n onClick={() => this.onClickMoney('credit_life_insurance')}\n required={true}\n errorKey={'purchase_price_credit_life_insurance'}\n />\n\n
    \n\n {this.renderOtherCharges()}\n\n \n
    \n
    \n )\n }\n\n isRestricted(month, year) {\n const restricted_durations = [['72 Months', '6-year']]\n return restricted_durations.some(([month_restricted, year_restricted]) =>\n month === month_restricted && year === year_restricted)\n }\n\n renderLoanTerm() {\n const { automobile: { year: car_year, mileage }, carfax_data: { cx_mileage: carfax_mileage }, loan_term } = this.state.loanApplication\n const { franchise } = this.state.dealerData\n let term_options = [\n ['24 Months', '2-year'],\n ['36 Months', '3-year'],\n ['48 Months', '4-year'],\n ['60 Months', '5-year'],\n ['72 Months', '6-year'],\n ]\n const curr_year = new Date().getFullYear()\n const car_mileage = NumberFormatter.parseMoney(mileage)\n const curr_mileage = Math.max(car_mileage, carfax_mileage)\n\n // if dealer is independent then disregard the restriction\n if (!franchise && (car_year && Number(car_year) <= curr_year - 3 || curr_mileage >= 50000)) {\n term_options = term_options.filter(([month, year]) => !this.isRestricted(month, year))\n }\n\n return (\n
    \n this.onBlurLoanTerm('loan_duration')}\n onChange={(event) => this.onChangeTerm(event, 'loan_duration')}\n required={true}\n type=\"select\"\n options={term_options}\n errorKey=\"loan_term_loan_duration\"\n />\n
    \n )\n }\n\n renderCreditPrograms() {\n const credit_programs = [\n {\n title: 'Standard',\n description: 'For most applicants. Automated and optimized credit using applicant info, income.',\n key: 'standard'\n },\n {\n title: 'Equity Deal Program',\n description: 'For applicants without income history but good downpayment capacity.',\n key: 'equity_deal'\n },\n {\n title: 'New Arrival Program',\n description: 'For applicants entering the US within the last three months. I-94 verification required.',\n key: 'new_arrival'\n }\n ]\n\n const credit_programs_view = credit_programs.map((c, index) => {\n return this.renderCreditProgramBox(c, index)\n })\n\n return (\n
    \n
    \n Application Information\n Apply for a specific credit program\n
    \n
    \n {credit_programs_view}\n
    \n
    \n )\n }\n\n renderCreditProgramBox(program, index) {\n const { title, description, key } = program\n const loan_application = this.state.loanApplication || {}\n const program_type = loan_application.lb_program_type || \"standard\"\n\n let body_class = \"ml-4\"\n if (index == 0) {\n body_class = \"\"\n }\n\n if (program_type == key) {\n return (\n
    \n
    \n
    {title}
    \n
    Selected
    \n
    \n
    {description}
    \n
    \n )\n }\n\n return (\n
    this.onChangeProgram(key)} key={index}>\n
    {title}
    \n
    {description}
    \n
    \n )\n }\n\n renderInfo() {\n return (\n
    \n
    \n
    \n Estimated Monthly Payments (10% APR)\n
    \n
    \n $ {this.monthlyPayment() || ' --'}\n
    \n
    \n
    \n
    \n Net Financed (Amount)\n
    \n
    \n $ {NumberFormatter.formatMoney(this.netFinancedAmount(), true)}\n
    \n
    \n
    \n )\n }\n\n renderOtherCharges() {\n const other_charges = this.state.loanApplication.purchase_price.other_charges || []\n\n return other_charges.map((charge, index) => {\n return (\n
    \n
    \n this.onChangeOtherCharge(event, index, 'description')}\n onBlur={() => this.saveForm()} />\n
    \n this.removeCharge(index)}>\n
    \n
    \n
    \n
    \n $\n this.onChangeOtherCharge(event, index, 'amount')}\n onClick={() => this.onClickOtherChargeAmount(index)}\n onBlur={() => this.formatOtherCharge(index)} />\n
    \n \n
    \n
    \n
    {this.state.errors['purchase_price_other_charge_' + index]}
    \n
    {this.state.warnings['purchase_price_other_charge_' + index]}
    \n
    \n
    \n )\n })\n }\n}\n\nexport default DealInformation\n","import React from 'react';\nimport DealerApplicationActions from '../../actions/DealerApplicationActions.js.jsx';\nimport DealerApplicationStore from '../../stores/DealerApplicationStore.js.jsx';\nimport BuyerInformation from './BuyerInformation.js.jsx';\nimport AddressInformation from './AddressInformation/index'\nimport IncomeEmployment from './IncomeEmployment.js.jsx'\nimport Education from './Education.js.jsx'\nimport VehicleInformation from './VehicleInformation.js.jsx'\nimport DealInformation from './DealInformation.js.jsx'\nimport LBModal from '../modules/LBModal.js.jsx'\nimport _ from 'lodash'\nimport {\n PREVIOUS_APPLICATION_ADDRESS,\n PRIMARY_APPLICATION_ADDRESS,\n} from './AddressInformation/helper'\n\nconst ADDRESS_TO_DISPLAY = Object.freeze([\n PRIMARY_APPLICATION_ADDRESS,\n PREVIOUS_APPLICATION_ADDRESS,\n])\n\nclass DealerApplication extends React.Component {\n constructor(props) {\n super(props)\n this.state = DealerApplicationStore.getState()\n }\n\n componentDidMount() {\n DealerApplicationStore.listen(this.onChange.bind(this))\n\n const {\n hasTermsConsents,\n hasCreditInquiryConsent,\n loanApplication,\n dealer_user_data = {},\n emailGenerated,\n employmentStatuses,\n addressList: addressListFromProps,\n } = this.props\n\n let { email = '' } = this.props\n\n if (emailGenerated) {\n email = ''\n }\n\n const employmentStatusOptions = employmentStatuses.map((status) => [\n status\n .split('_')\n .map((s) => _.capitalize(s))\n .join(' '),\n status,\n ])\n\n const updatedAddressList = this.state.addressList\n addressListFromProps.forEach((address) => {\n const { source } = address\n if (!ADDRESS_TO_DISPLAY.includes(source)) return\n const index = updatedAddressList.findIndex(\n (address) => address.source === source,\n )\n if (index >= 0) {\n updatedAddressList[index] = address\n } else {\n updatedAddressList.push(address)\n }\n })\n\n DealerApplicationActions.updateState({\n loanApplication: {\n ...loanApplication,\n terms_consent: hasTermsConsents,\n credit_inquiry_consent: hasCreditInquiryConsent,\n },\n dealerData: { ...dealer_user_data?.dealer_data },\n email: email,\n emailGenerated,\n lastSavedEmail: email,\n showFull: !!loanApplication.user_id,\n employmentStatusOptions,\n addressList: updatedAddressList,\n })\n }\n\n componentWillUnmount() {\n DealerApplicationStore.unlisten(this.onChange.bind(this))\n }\n\n onChange(state) {\n this.setState(state)\n }\n\n toggleConsent(consent_type) {\n let loan_application = this.state.loanApplication\n loan_application[consent_type] = !loan_application[consent_type]\n\n DealerApplicationActions.updateState({ loanApplication: loan_application })\n DealerApplicationActions.saveForm(false)\n }\n\n render() {\n return (\n
    \n \n \n {this.renderFull()}\n {this.renderLoader()}\n {this.renderValidatingModal()}\n
    \n )\n }\n\n renderFull() {\n const { loanApplication, loader, validating, emailLoader, isCreatingAddress, isUpdatingAddress } = this.state\n\n if (!loanApplication) return null\n\n let submit_button = (\n \n Please review the consent agreements\n \n )\n\n if (loader) {\n submit_button = (\n \n Submitting...\n \n )\n } else if (validating) {\n submit_button = (\n \n Verifying Application, Please Wait...\n \n )\n } else if (emailLoader) {\n submit_button = (\n \n Verifying Email Address, Please Wait...\n \n )\n } else if (isCreatingAddress || isUpdatingAddress) {\n submit_button = (\n \n Saving Address Information, Please Wait...\n \n )\n } else if (\n loanApplication.credit_inquiry_consent &&\n loanApplication.terms_consent\n ) {\n submit_button = (\n DealerApplicationActions.submitForm()}\n >\n Submit application\n \n )\n }\n\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    Credit Inquiry Consent
    \n
    \n This will not affect your client’s credit score. By submitting this\n application you certify that your client has instructed you to click\n the I Agree button below. Your client understands that by allowing\n you to click on the I Agree button immediately following this notice\n they are providing written consent to Lendbuzz under the Fair Credit\n Reporting Act to obtain information from their credit profile or\n other information from Experian. Your client authorizes Lendbuzz to\n obain such information solely to prequalify them for credit optoins.\n
    \n
    \n this.toggleConsent('credit_inquiry_consent')}\n />\n
    \n this.toggleConsent('credit_inquiry_consent')}\n >\n I agree to the Credit Inquiry Consent.\n \n
    \n
    \n \n
    \n this.toggleConsent('terms_consent')}\n />\n
    \n this.toggleConsent('terms_consent')}\n >\n Client agrees to the above documents.\n \n
    \n
    \n
    \n
    {submit_button}
    \n
    \n )\n }\n\n renderLoader() {\n if (!this.state.loader) {\n return null\n } else {\n return (\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n Submitting...\n
    \n
    \n
    \n
    \n \n )\n }\n }\n\n renderValidatingModal() {\n if (this.state.loader || !this.state.validating) {\n return null\n }\n return (\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n Verifying Application...\n
    \n
    \n
    \n
    \n \n )\n }\n}\n\nexport default DealerApplication\n","import React from 'react';\nimport IconHandshake from '../../../assets/images/icon__handshake.svg';\n\nclass UnderReview extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n render() {\n return (\n
    \n
    \n
    \n
    \n

    You're all set!

    \n
    We will review your application as soon as possible.
    \n Feel free to contact us with any questions.
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default UnderReview;\n","import React from 'react';\nimport DealerHelper from '../../helpers/DealerHelper.js';\nimport lb_fetch from '../../helpers/Request.js';\nimport DealerInformation from './DealerInformation.js';\nimport UnderReview from './UnderReview.js.jsx';\nimport UploadDocuments from './UploadDocuments.js.jsx';\n\nclass DealerSignup extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n dealer: this.props.dealer || {},\n\n emailValidationLoader: false,\n emailValid: true,\n emailError: null,\n };\n }\n\n componentDidMount() {\n // this.getDealer()\n let dealer = this.state.dealer || {}\n if (dealer['name'] && dealer['name'] == dealer['legal_name']) {\n dealer['legal_name_checkbox'] = true\n this.setState({dealer})\n }\n }\n\n currentStep() {\n let dealer = this.state.dealer || {}\n let new_current_step = DealerHelper.currentStep(dealer)\n return new_current_step\n }\n\n updateDealer(dealer) {\n this.setState({dealer})\n }\n\n async getDealer() {\n let res = null\n try {\n res = await lb_fetch('/dealers/get_dealer', {method: 'post'})\n } catch (error) {\n console.log('error in DealerSignup#getDealer in lb_fetch');\n console.log(error);\n return\n }\n\n if (res.status != 200) {\n return\n }\n\n let data = await res.json()\n if (!data['dealer']) {\n return\n }\n\n let dealer = data['dealer'] || {}\n let user = data['user'] || {}\n if (dealer['name'] == dealer['legal_name']) {\n dealer['legal_name_checkbox'] = true\n }\n this.setState({dealer: {...user, ...dealer}})\n }\n\n\n // RENDER\n render() {\n let dealer = this.state.dealer || {}\n let current_step = this.currentStep()\n\n let step_view = this.renderLoader()\n\n if (dealer['id'] && current_step == 'PENDING_DOCUMENTS') {\n step_view = (\n \n )\n }\n else if (current_step == 'REP_INFO' || !dealer['id']) {\n step_view = (\n \n )\n }\n else if (dealer['id'] && current_step == 'UNDER_REVIEW') {\n step_view = (\n \n )\n }\n\n return (\n
    \n {step_view}\n
    \n );\n }\n\n renderLoader() {\n return (\n
    \n
    \n

    \n Loading, Please Wait...\n
    \n
    \n )\n }\n}\n\n\nexport default DealerSignup;\n","import React from 'react'\n\nclass CareerCard extends React.Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n let jobCards = this.props.jobs.map(\n (job, i) =>\n \n
  • \n
    \n \n
      \n
    • {job.categories.location}
    • \n
    • {job.categories.team}
    • \n
    • {job.categories.commitment}
    • \n
    \n
    \n
    \n Apply\n
    \n
  • \n
    )\n\n return (\n
    \n

    {this.props.team}

    \n
      \n {jobCards}\n
    \n
    \n )\n }\n}\n\nexport default CareerCard;","import React from 'react'\nimport CareerCard from './CareerCard.js.jsx'\nimport Loader from './Loader.js'\n\nclass Career extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loader: true,\n listings: {},\n };\n }\n\n componentDidMount() {\n // if you use Team, the values are case Sensitive, i.e. Product instead of product\n let joburl = `https://api.lever.co/v0/postings/lendbuzz`\n let jobs= {}\n // change the api data to a dictionary of array of titles\n fetch(joburl)\n .then(result => result.json())\n .then(result => {\n result.map(listing => {\n let key = listing.categories.team\n if (jobs[key] == undefined) {\n jobs[key] = new Array()\n jobs[key].push(listing)\n }\n else {\n jobs[key].push(listing)\n }\n })\n this.setListings(jobs)\n this.setLoader(false)\n })\n }\n\n setListings(jobs) {\n this.setState({listings: jobs})\n }\n\n setLoader(status) {\n this.setState({loader: status})\n }\n\n render() {\n let teams = Object.keys(this.state.listings)\n let listings = teams.map((team, i) => )\n\n return (\n \n

    \n Open roles\n \n \n \n \n

    \n
      \n {this.state.loader ? : listings}\n
    \n
    \n )\n }\n}\n\nexport default Career;","export let CarouselData =[\n {\n photo: 'careers__quote--maria.jpg',\n text: \"Not only do I get to help amazing customers every day, but I've grown and learned so much since I started working here. Joining Lendbuzz has helped me take my career to the next level, all while helping people from all over the world.\",\n team: 'Collections',\n employee: 'Maria'\n },\n {\n photo: 'careers__quote--alex.jpg',\n text: \"It's exciting to be part of such an ambitious, fast-growing company. The people here are fun, dedicated, and passionate about building a long-lasting, impactful company.\",\n team: 'Strategy',\n employee: 'Alex'\n },\n {\n photo: 'careers__quote--pranjal.jpg',\n text: 'If I can describe Lendbuzz, it is a blend of awesome smart people, great culture and diversity. Everyone is ready to help, are very humble and reachable. I really love to work here and there is always something new to learn everyday. Autonomy and transparency is core to Lendbuzz.',\n team: 'Engineering',\n employee: 'Pranjal'\n },\n {\n photo: 'careers__quote--noelle.jpg',\n text: 'I am proud to work for such a diverse company that is devoted to financial opportunity for everyone. Joining the workforce during a pandemic was intimidating, but my colleagues at Lendbuzz made me feel so welcomed. Everyone is always willing to lend a hand.',\n team: 'Operations',\n employee: 'Noelle'\n },\n {\n photo: 'careers__quote--anthony.jpg',\n text: 'I joined Lendbuzz because I wanted to join a company that was providing a cutting edge solution to a real problem. I hear from finance managers and dealership owners every day that tell me their business is growing thanks to us.',\n team: 'Dealership Rep',\n employee: 'Anthony'\n },\n {\n photo: 'careers__quote--wai-kin.jpg',\n text: 'I joined Lendbuzz because I am obsessed with the technology that we develop and the idea to revolutionize the auto loan finance industry. As an immigrant myself, I have been through the same struggles and challenges when applying for a loan. And I love that Lendbuzz offers a solution for the people with the same background and sets them up for success in the future.',\n team: 'Sales',\n employee: 'Wai Kin'\n },\n {\n photo: 'careers__quote--gaurang.jpg',\n text: 'I joined Lendbuzz because it is a perfect blend of a fast growing company and the warmth of a family. The support I got from my colleagues and teammates made me more eager to achieve my goals. The best part is that every opinion matters and the managers and the teammates have helped me not only evolve but also significantly improve my skills, leading towards a steady increase in personal growth.',\n team: 'Machine Learning',\n employee: 'Gaurang'\n },\n]\n","import React from 'react'\nimport {CarouselData} from '../data/CarouselData'\nimport Loader from './Loader.js'\nimport PictureTag from './PictureTag.js';\nclass Carousel extends React.Component {\n constructor(props){\n super(props);\n this.state = {\n currentindex: 0,\n visible: \"none\",\n loader: true\n };\n this.goToPrevious = this.goToPrevious.bind(this)\n this.goToNext = this.goToNext.bind(this)\n }\n\n goToPrevious() {\n let current = this.state.currentindex\n let sizeOfArray= CarouselData.length - 1\n let previous = null\n current == 0 ? (previous = sizeOfArray) : (previous = current - 1)\n this.setState({\n currentindex: previous,\n visible: 'none',\n loader: true\n })\n }\n\n goToNext() {\n let current = this.state.currentindex\n let sizeOfArray= CarouselData.length - 1\n let next = null\n current == sizeOfArray ? (next = 0) : (next = current + 1)\n this.setState({\n currentindex: next,\n visible: 'none',\n loader: true\n })\n }\n\n whileLoad(){\n this.setState({\n visible: \"block\",\n loader: false\n })\n }\n\n render() {\n return (\n\n
    \n
    \n \n
    \n\n
    \n
    \n
    this.goToPrevious()}>\n \n \n \n
    \n
    \n this.whileLoad()} />\n
    \n
    this.goToNext()}>\n \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n {CarouselData[this.state.currentindex].text}\n
    \n
    \n
    {CarouselData[this.state.currentindex].employee}
    \n
    {CarouselData[this.state.currentindex].team}
    \n
    \n
    \n
    \n
    \n
    \n\n )\n }\n}\n\nexport default Carousel;\n","import React, { useState, useEffect } from 'react';\nimport lb_fetch from '../../helpers/Request';\nimport { useIsMount } from '../helpers/useIsMount.js.jsx';\n\nconst ReserveHistory = () => {\n\n const isMount = useIsMount()\n const [reserveSummary, setReserveSummary] = useState([])\n const [reserveBalance, setReserveBalance] = useState(null)\n const [loader, setLoader] = useState(false)\n\n useEffect(() => {\n if (isMount) {\n getReservedSummary()\n }\n })\n\n const getReservedSummary = async () => {\n setLoader(true)\n const url = `/reserve_transactions/get_reserve_summary`\n const params = {\n \"months\": '6'\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, {method: 'post', body: params})\n } catch (error) {\n console.log('error in ReserveHistory#getReservedSummary');\n console.log(error);\n setLoader(false)\n return\n }\n\n let data = await res.json()\n if (!data || !data['data']) {\n setLoader(false)\n return\n }\n\n let summary = data.data['summary'] || []\n const reserve_balance = data.data['total_net_bal']\n setReserveBalance(reserve_balance)\n setReserveSummary(summary)\n setLoader(false)\n }\n\n const renderBalance = () => {\n return (\n Balance: {Common.dollar_format(reserveBalance) || \"--\"}\n )\n }\n\n const renderBalanceLoader = () => {\n return (\n \n )\n }\n\n const renderMonthSummary = (month, balance, index) => {\n return (\n
    \n
    {month}
    \n
    {Common.dollar_format(balance) || \"--\"}
    \n
    \n )\n }\n\n const renderSummary = () => {\n const summary_view = reserveSummary.map((s, index) => {\n return renderMonthSummary(s['word-month'], s['net_bal'], index)\n })\n\n return summary_view\n }\n\n const renderLoaderRow = (index=0) => {\n return (\n
    \n
    \n
    \n \n
    \n
    \n )\n }\n\n const renderLoader = (num=6) => {\n let rows = []\n for (var i = 0; i < num; i++) {\n rows.push(renderLoaderRow(i))\n }\n\n return rows\n }\n\n return (\n
    \n
    \n {loader ? renderBalanceLoader() : renderBalance()}\n
    \n
    \n {loader ? renderLoader() : renderSummary()}\n
    \n
    \n );\n};\n\n\nexport default ReserveHistory;\n","import React, { useState, useEffect } from 'react';\nimport lb_fetch from '../../helpers/Request';\nimport AbortController from 'abort-controller';\nimport { useIsMount } from '../helpers/useIsMount.js.jsx';\nimport Filter from '../modules/Filter.js.jsx';\nimport ReserveHistory from './ReserveHistory.js.jsx';\nimport Error from '../error/index.js';\nimport Pagination from '../modules/Pagination.js';\nimport BasicTable from '../modules/BasicTable.js';\n\nconst ReserveAccount = () => {\n const [transactions, setTransactions] = useState([])\n const [totalTransactions, setTotalTransactions] = useState(null)\n const [loader, setLoader] = useState(false)\n const [searchKeyword, setSearchKeyword] = useState(null)\n const [filter, setFilter] = useState(['all'])\n const [searched, setSearched] = useState(false)\n const [page, setPage] = useState(1)\n const offset = 20\n const isMount = useIsMount()\n let controller = null;\n const list = [\n ['All', 'all'],\n ['Paid', 'PAID'],\n ['Canceled', 'CANCELED'],\n ['Withdrawn', 'WITHDRAWN']\n ]\n\n useEffect(() => {\n if (!isMount && controller) {\n controller.abort()\n }\n getReserveTransactions()\n }, [page, filter])\n\n useEffect(() => {\n if (!searchKeyword && searched) {\n getReserveTransactions()\n }\n }, [searchKeyword])\n\n const getReserveTransactions = async () => {\n controller = new AbortController()\n setLoader(true)\n const url = `/reserve_transactions/get_reserve_transactions`\n let res = null\n let filter_status = _.clone(filter)\n\n const all_index = filter_status.indexOf('all')\n if (all_index > -1) {\n filter_status.splice(all_index, 1)\n }\n\n const params = {\n \"loan_id\": searchKeyword,\n \"status\": filter_status,\n \"page\": page,\n \"offset\": offset\n }\n\n try {\n res = await lb_fetch(url, {method: 'post', body: params, signal: controller.signal})\n } catch (error) {\n Error.popup('Error', 'Something went wrong, Contact US')\n console.log('error in ReserveAccount#getReserveTransactions');\n console.log(error);\n setLoader(false)\n return\n }\n\n if (!res.ok) {\n Error.popup('Error', 'Something went wrong, Contact US')\n console.log('error in UserManagement#getDealerUsers');\n return\n }\n\n const data = await res.json()\n if (!data || !data['data']) {\n Error.popup('Error', 'Something went wrong, Contact US')\n console.log('no data found in ReserveAccount#getReserveTransactions');\n return\n }\n\n if (searchKeyword) {\n setSearched(true)\n }\n else {\n setSearched(false)\n }\n\n const transactions_data = data.data['records'] || []\n const total_transactions = data.data['total_size']\n setTotalTransactions(total_transactions)\n setTransactions(transactions_data)\n setLoader(false)\n }\n\n const onKeyDown = (e) => {\n if (e.keyCode == 13) {\n getReserveTransactions()\n }\n }\n\n const onSelectFilter = (key) => {\n if (key == 'all') {\n setFilter(['all'])\n return\n }\n\n const filter_data = _.clone(filter)\n\n const index = filter_data.indexOf(key)\n if (index > -1) {\n filter_data.splice(index, 1)\n }\n else {\n filter_data.push(key)\n }\n\n const all_index = filter_data.indexOf('all')\n if (!filter_data.length && all_index < 0) {\n filter_data.push('all')\n }\n else if (filter_data.length > 1 && all_index > -1) {\n filter_data.splice(all_index, 1)\n }\n\n setFilter(filter_data)\n }\n\n // Render\n\n const mainHeader = () => {\n return (\n
    \n {search()}\n \n {renderFilter()}\n \n
    \n )\n }\n\n const search = () => {\n return (\n
    \n setSearchKeyword(e.target.value)} onKeyDown={(e) => onKeyDown(e)} placeholder=\"Enter Loan ID...\" />\n
    \n
    \n )\n }\n\n const renderFilter = () => {\n let text = \"\"\n if (filter.length > 1) {\n text = (\n \n : {filter.length} Selected\n \n )\n }\n else if (filter.length) {\n let status = list.filter(l => l[1] == filter[0])\n status = status[0][0]\n text = (\n \n {status}\n \n )\n }\n return (\n
    \n Filter: {text}\n \n
    \n )\n }\n\n const renderLoader = (num=10) => {\n let rows = []\n for (var i = 0; i < num; i++) {\n rows.push(renderLoaderRow(i))\n }\n\n return rows\n }\n\n const renderLoaderRow = (index) => {\n return (\n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n )\n }\n\n const renderTableRow = (transaction) => {\n const color_scheme = {\n 'PAID': 'bg-green-400 text-white',\n 'CANCELLED': 'bg-gray-200 text-gray-350',\n 'WITHDRAWN': 'bg-red-100 text-warning'\n }\n\n const status = transaction['status']\n const badge_color = color_scheme[status] || 'border-2 border-dark'\n\n return (\n \n \n {status}\n \n {Common.dollar_format(transaction['amount'])}\n {transaction['loan_id']}\n {transaction['description'] || \"--\"}\n {transaction['notes'] || \"--\"}\n \n )\n }\n\n const renderTableRows = () => {\n let transaction_rows = transactions.map((transaction) => {\n return renderTableRow(transaction)\n })\n\n return transaction_rows\n }\n\n const footer = () => {\n if (!loader && !totalTransactions) {\n return null\n }\n return (\n setPage(page + 1)} previousPage={() => setPage(page - 1)} type=\"Transactions\" />\n )\n }\n\n const renderNotFound = () => {\n if (!loader && !totalTransactions) {\n return (\n
    \n No transactions found\n
    \n )\n }\n }\n\n const header_list = ['Status', 'Amount', 'Loan ID', 'Description', 'Notes']\n\n return (\n
    \n
    \n \n
    \n
    \n {mainHeader()}\n \n \n {loader ? renderLoader() : renderTableRows()}\n \n \n {renderNotFound()}\n
    \n {footer()}\n
    \n
    \n
    \n );\n};\n\n\nexport default ReserveAccount;\n","import React, { useMemo } from 'react'\nimport { classNames } from '../../helpers/classNames'\n\nconst FormField = ({\n field,\n value,\n onChange,\n onBlur = null,\n title,\n required = false,\n type = 'text',\n checked = false,\n error = null,\n disabled = false,\n helperMessage,\n}) => {\n const errorClass = 'form-error form-error--warning'\n\n const renderErrorView = useMemo(() => {\n if (value === '' && required) {\n return
    {title} cannot be empty
    \n }\n\n if (error) {\n return
    {error}
    \n }\n\n return null\n }, [value, required, error, title])\n\n const renderHelperMessage = useMemo(() => {\n if (!helperMessage) return null\n\n return
    {helperMessage}
    \n }, [helperMessage])\n\n if (type === 'checkbox') {\n return (\n
  • \n onChange(e)} />\n \n
    \n {renderErrorView}\n
    \n
  • \n )\n }\n\n if (field === 'phone') {\n return (\n
  • \n onChange(e.target.value || \"\")} onBlur={(e) => onBlur(e.target.value || \"\")} />\n \n {renderErrorView || renderHelperMessage}\n
  • \n )\n }\n\n return (\n
  • \n onChange(e.target.value || \"\")} onBlur={(e) => onBlur(e.target.value || \"\")} disabled={disabled} />\n \n {renderErrorView || renderHelperMessage}\n
  • \n )\n}\n\nexport default FormField\n","import React, { useState, useMemo, useCallback, useEffect } from 'react';\nimport LBModal from '../modules/LBModal.js.jsx';\nimport lb_fetch from '../../helpers/Request.js';\nimport DealerHelper from '../../helpers/DealerHelper.js';\nimport FormField from './FormField.jsx';\n\nconst DealerUser = ({\n reload,\n onClickAway: propsOnClickAway,\n visible,\n type = 'create',\n user = null,\n}) => {\n const [firstname, setFirstname] = useState(null)\n const [lastname, setLastname] = useState(null)\n const [email, setEmail] = useState(null)\n const [phone, setPhone] = useState(null)\n const [userRoles, setUserRoles] = useState([])\n const [emailError, setEmailError] = useState(null)\n const [phoneError, setPhoneError] = useState(null)\n const [error, setError] = useState(null)\n const [loading, setLoading] = useState(false)\n\n // only the roles that are used\n const allRoles = Object.freeze({\n \"Owner\": 1,\n \"Manage Users\": 2,\n \"GPS Technician\": 5\n })\n\n const isOwner = (user?.roles || []).includes(allRoles.Owner)\n const isGpsTech = (user?.roles || []).includes(allRoles['GPS Technician'])\n\n const formatPhone = (phoneInput) => {\n if (!phoneInput) return\n\n // unformat phone input\n phoneInput = Common.unformat_phone_number(phoneInput.trim())\n\n // complete phone number -> return\n if (phoneInput.length === 10) {\n return Common.format_phone_number(phoneInput)\n }\n\n return phoneInput\n }\n\n const handleSetUserRoles = useCallback((event) => {\n const { value, checked } = event.target\n\n if (checked) {\n setUserRoles([parseInt(value)])\n return\n }\n\n setUserRoles([])\n }, [])\n\n useEffect(() => {\n if (!user || type === 'create') {\n return\n }\n\n const {\n firstname,\n lastname,\n email,\n phone,\n roles = [],\n } = user\n\n setFirstname(firstname)\n setLastname(lastname)\n setEmail(email)\n setPhone(formatPhone(phone))\n setUserRoles(roles)\n }, [user, type])\n\n const disabled = useCallback(() => {\n if (loading) {\n return true\n }\n\n let non_empty_fields = [firstname, lastname, email]\n for (let value of non_empty_fields) {\n if (!value) {\n return true\n }\n }\n\n let email_errors = validateEmail()\n if (email_errors && email_errors['error']) {\n return true\n }\n\n let phone_errors = validatePhone()\n if (phone_errors && phone_errors['error']) {\n return true\n }\n\n return false\n }, [email, firstname, lastname, loading, phone, validateEmail, validatePhone])\n\n const onChangeEmail = (value) => {\n setEmailError(null)\n setEmail(value)\n }\n\n const onBlurEmail = (value) => {\n setEmailError(null)\n setEmail(value)\n let email_errors = validateEmail()\n setEmailError(email_errors?.text)\n }\n\n const onChangePhone = (value) => {\n setPhoneError(null)\n setPhone(formatPhone(value))\n }\n\n const onBlurPhoneChange = (value) => {\n setPhoneError(null)\n setPhone(formatPhone(value))\n let phone_errors = validatePhone()\n setPhoneError(phone_errors['text'])\n }\n\n const validateEmail = useCallback(() => {\n const response = {\n 'error': false,\n 'text': null\n }\n\n if (!email) {\n return response\n }\n\n const pattern = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])$/\n const result = pattern.test(email) // false if pattern invalid\n if (!result) {\n response['text'] = \"Email is invalid\"\n response['error'] = true\n }\n return response\n }, [email])\n\n const validatePhone = useCallback(() => {\n const response = {\n 'error': false,\n 'text': null\n }\n\n if (!phone) {\n return response\n }\n\n const _phone = Common.unformat_phone_number(phone)\n\n const pattern = /^[0-9\\b]+$/;\n const result = pattern.test(_phone); // false if pattern invalid\n if (!result) {\n response['text'] = \"Phone should contains only digits\"\n response['error'] = true\n }\n else if (result && _phone && _phone.length != 10) {\n response['text'] = \"Phone should be 10 digits\"\n response['error'] = true\n }\n return response\n }, [phone])\n\n const createUser = useCallback(async () => {\n setEmailError(null)\n setError(null)\n\n if (disabled()) {\n return\n }\n\n setLoading(true)\n\n const url = `/dealers/create_dealer_user`\n\n const _phone = Common.unformat_phone_number(phone)\n\n const sendData = {\n firstname,\n lastname,\n email,\n phone: _phone,\n roles: userRoles\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, { method: 'post', body: sendData })\n } catch (error) {\n setError('Something went wrong, Contact Us')\n setLoading(false)\n console.log('error in DealerUser#createDealerUser');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n setLoading(false)\n console.log(\"error in res of DealerUser#createDealerUser\")\n console.log(res)\n return\n }\n\n let data = await res.json()\n data = data['data'] || {}\n let lb_errors = data['errors'] || []\n let invalid_email_string = 'invalid. Please provide a correct email'\n let email_exist_string = 'email Value is not unique within data'\n const epdErrorString = 'Email/Phone'\n let email_error = null\n let reg_error = null\n\n lb_errors.forEach((error_string) => {\n if (error_string.includes(invalid_email_string)) {\n email_error = 'invalid email'\n return\n } else if (error_string.includes(email_exist_string)) {\n email_error = 'User already exist'\n return\n } else if (error_string.includes(epdErrorString)) {\n reg_error = error_string\n return\n } else if (error_string) {\n reg_error = 'Something went wrong, Contact Us'\n return\n }\n })\n\n setLoading(false)\n if (email_error) {\n setEmailError(email_error)\n return\n }\n else if (reg_error) {\n setError(reg_error)\n return\n }\n\n onClickAway()\n reload()\n }, [\n firstname,\n lastname,\n email,\n phone,\n userRoles,\n disabled,\n onClickAway,\n reload\n ])\n\n const updateUser = useCallback(async () => {\n setEmailError(null)\n setError(null)\n\n if (disabled()) {\n return\n }\n\n setLoading(true)\n\n let url = `/dealers/update_dealer_user`\n\n const _phone = Common.unformat_phone_number(phone)\n\n const sendData = {\n firstname,\n lastname,\n email,\n phone: _phone,\n roles: userRoles,\n user: user?.id\n }\n\n let res = null\n\n try {\n res = await lb_fetch(url, { method: 'post', body: sendData })\n } catch (error) {\n setError('Something went wrong, Contact Us')\n console.log('error in EditDealerUser#EditDealerUser');\n setLoading(false)\n console.log(error);\n return\n }\n\n if (!res.ok) {\n setLoading(false)\n console.log(\"error in res of EditDealerUser#EditDealerUser\")\n console.log(res)\n return\n }\n\n let data = await res.json()\n data = data['data'] || {}\n let lb_errors = data['errors'] || []\n let reg_error = null\n\n setLoading(false)\n lb_errors.forEach((error_string) => {\n if (error_string.includes('Email/Phone')) {\n reg_error = error_string\n } else if (error_string) {\n reg_error = 'Something went wrong, Contact Us'\n }\n })\n\n if (reg_error) {\n setError(reg_error)\n return\n }\n\n onClickAway()\n reload(user?.id)\n }, [\n disabled,\n email,\n firstname,\n lastname,\n onClickAway,\n phone,\n reload,\n user?.id,\n userRoles\n ])\n\n const onClickAway = useCallback(() => {\n setFirstname(null)\n setLastname(null)\n setEmail(null)\n setPhone(null)\n setUserRoles([])\n setEmailError(null)\n setPhoneError(null)\n setError(null)\n setLoading(false)\n propsOnClickAway()\n }, [propsOnClickAway])\n\n // Render\n\n const renderRoles = useMemo(() => {\n if (type === 'edit' && isGpsTech) {\n return null\n }\n\n return Object.keys(allRoles).map(role => {\n const id = allRoles[role]\n const isChecked = userRoles.includes(parseInt(id))\n\n // dont show owner role\n if (role === 'Owner') return\n\n // dont show GPS tech when editing\n if (type === 'edit' && role === 'GPS Technician') return\n\n return (\n
    \n \n
    \n )\n })\n }, [userRoles, type, allRoles, handleSetUserRoles, isGpsTech, isOwner])\n\n const renderTag = useMemo(() => {\n if (!isOwner && !isGpsTech) {\n return null\n }\n\n let tagTitle = ''\n\n if (isGpsTech) {\n\t\t\ttagTitle = 'GPS Technician'\n }\n\n if (isOwner) {\n tagTitle = 'Owner'\n }\n\n return (\n
    \n {tagTitle}\n
    \n )\n }, [isOwner, isGpsTech])\n\n const renderCtaButton = useMemo(() => {\n const disableButton = disabled()\n\n if (type === 'create') {\n return \n }\n\n if (type === 'edit') {\n return \n }\n\n if (loading) {\n return \n }\n }, [type, loading, disabled, createUser, updateUser])\n\n const renderUserModal = () => {\n let error_view = (\n
    {error}
    \n )\n\n const editUser = user ? user : {}\n\n let editEmailField = null\n if (type === 'create') {\n editEmailField = (\n \n )\n }\n\n let phoneHelperMessage = ''\n if (type === 'edit' && !!user?.submittedphone) {\n phoneHelperMessage = (\n <>\n \n Submitted with {Common.format_phone_number(user?.submittedphone)}\n \n )\n }\n\n let userEmail = ''\n if (type === 'edit') {\n userEmail =
    {user?.email}
    \n }\n\n const title = type === 'create' ? 'New User Information' : DealerHelper.getName(editUser) || \"User Information\"\n\n return (\n \n
    \n
    \n
    \n
    \n {title}\n {renderTag}\n
    \n {userEmail}\n
    {error ? error_view : \"\"}
    \n
    \n \n
    \n
      \n \n \n {editEmailField}\n \n {renderRoles}\n
    \n\n
    \n {renderCtaButton}\n
    \n
    \n
    \n )\n }\n\n return (\n
    \n {renderUserModal()}\n
    \n );\n};\n\n\nexport default DealerUser\n","import React, { useState, useEffect } from 'react';\nimport DealerHelper from '../../helpers/DealerHelper.js';\nimport lb_fetch from '../../helpers/Request.js';\nimport Error from '../error/index.js';\nimport { useIsMount } from '../helpers/useIsMount.js.jsx';\nimport Pagination from '../modules/Pagination.js.jsx';\nimport DealerUser from './DealerUser.jsx';\nimport BasicTable from '../modules/BasicTable.js.jsx';\n\nconst UserManagement = () => {\n\n const isMount = useIsMount();\n const [users, setUsers] = useState([])\n const [loader, setLoader] = useState(false)\n const [searchKeyword, setSearchKeyword] = useState(\"\")\n const [createModal, setCreateModal] = useState(false)\n const [editUser, setEditUser] = useState(null)\n const [newUserLoader, setNewUserLoader] = useState(false)\n const [editUserLoader, setEditUserLoader] = useState(null)\n\n const allRoles = Object.freeze({\n \"Owner\": 1,\n \"Manage Users\": 2,\n \"GPS Technician\": 5\n })\n\n useEffect(() => {\n if (isMount) {\n getDealerUsers()\n }\n }, [])\n\n const getDealerUsers = async (loader_type='normal', user_id=null) => {\n if (loader_type == 'new') {\n setNewUserLoader(true)\n }\n else if (loader_type == 'edit') {\n setEditUserLoader(user_id)\n }\n else {\n setLoader(true)\n }\n let url = `/dealers/get_all_users`\n let res = null\n\n try {\n res = await lb_fetch(url, {method: 'post'})\n } catch (error) {\n Error.popup('Error', 'Something went wrong, Contact US')\n console.log('error in UserManagement#getDealerUsers');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n Error.popup('Error', 'Something went wrong, Contact US')\n console.log('error in UserManagement#getDealerUsers');\n return\n }\n\n let data = await res.json()\n let users = data['data']\n setUsers(users)\n if (loader_type == 'new') {\n setNewUserLoader(false)\n }\n else if (loader_type == 'edit') {\n setEditUserLoader(null)\n }\n else {\n setLoader(false)\n }\n }\n\n const getUsersData = () => {\n let search_keyword_array = searchKeyword.trim().split(' ').filter(s => s).map(s => s.toLowerCase())\n if (!search_keyword_array.length) {\n return users\n }\n let users_data = users.filter(u => search_keyword_array.some(s => (u['firstname'] || \"\").toLowerCase().includes(s)) ||\n search_keyword_array.some(s => (u['lastname'] || \"\").toLowerCase().includes(s)) ||\n search_keyword_array.some(s => (u['email'] || \"\").toLowerCase().includes(s)) ||\n search_keyword_array.some(s => (u['phone'] || \"\").toLowerCase().includes(s)))\n return users_data\n }\n\n const user_data = getUsersData()\n\n // Render functions\n\n const renderTag = (userRoles) => {\n if (userRoles.includes(allRoles['GPS Technician'])) {\n return (\n\t\t\t\tGPS Technician\n )\n }\n\n if (userRoles.includes(allRoles.Owner)) {\n return (\n Owner\n )\n }\n }\n\n const renderTableRow = (user) => {\n const { id, roles, email, phone } = user\n\n const manage_user_view = (\n \n )\n\n const hasManageUsers = roles.includes(allRoles['Manage Users'])\n\n const dealerName = DealerHelper.getName(user) || (\n
    (No Name)
    \n )\n\n return (\n \n \n
    \n {dealerName}\n \n {renderTag(roles)}\n \n
    \n \n {email}\n {phone || \"--\"}\n {hasManageUsers ? manage_user_view : \"\"}\n setEditUser(user)} data-testid=\"dealer-user-settings-edit-user-link\">Edit\n \n )\n }\n\n const mainHeader = () => {\n return (\n
    \n {search()}\n
    \n \n
    \n
    \n )\n }\n\n const search = () => {\n return (\n
    \n setSearchKeyword(e.target.value)} placeholder=\"Search...\" />\n
    \n
    \n )\n }\n\n const renderTableRows = () => {\n let user_rows = user_data.map((user) => {\n if (editUserLoader == user['id']) {\n return renderLoaderRow(user['id'])\n }\n return renderTableRow(user)\n })\n\n if (newUserLoader) {\n user_rows.push(renderLoaderRow(user_rows.length))\n }\n\n if (!user_rows.length) {\n return (\n \n \n No users\n \n \n )\n }\n\n return user_rows\n }\n\n const renderLoader = (num=10) => {\n let rows = []\n for (var i = 0; i < num; i++) {\n rows.push(renderLoaderRow(i))\n }\n\n return rows\n }\n\n const renderLoaderRow = (index) => {\n return (\n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n
    \n \n \n )\n }\n\n const header_list = ['Name', 'Email', 'Phone', \"Manage Users\", '']\n\n return (\n
    \n
    \n {mainHeader()}\n \n \n {loader ? renderLoader() : renderTableRows()}\n \n \n {\n user_data.length ? (\n \n ) : null\n }\n
    \n\n setCreateModal(false)} reload={() => getDealerUsers('new')} type='create' />\n setEditUser(null)} user={editUser} reload={(id) => getDealerUsers('edit', id)} type='edit' />\n
    \n );\n};\n\nexport default UserManagement;\n","import React, { useState } from 'react';\nimport UrlHelper from '../../helpers/UrlHelper.js';\nimport { Tabs, Tab } from '../modules/Tab.js.jsx';\nimport ReserveAccount from './ReserveAccount.js.jsx';\nimport UserManagement from './UserManagement.js.jsx';\n\nconst DealerSettings = ({ userRoles, dealer }) => {\n\n const hash_value = UrlHelper.getHashValue() || \"user_management\"\n const [mode, setMode] = useState(hash_value)\n\n // check roles.py in accountsdb for role id to name mapping\n const roles = userRoles || []\n\n const updateMode = (mode_name='user_management') => {\n UrlHelper.updateHashValue(mode_name)\n setMode(mode_name)\n }\n\n const showUserManagement = () => {\n return roles.includes(1) || roles.includes(2)\n }\n\n const showReserveAccount = () => {\n return roles.includes(1)\n }\n\n const header = () => {\n let user_management = (\n updateMode('user_management')}>User Management\n )\n let reserve_account = (\n updateMode('reserve_account')}>Reserve Account\n )\n\n if (!showUserManagement()) {\n user_management = \"\"\n }\n\n if (!showReserveAccount()) {\n reserve_account = \"\"\n }\n\n return (\n \n {user_management}\n {reserve_account}\n \n )\n }\n\n const mainView = () => {\n if (mode == 'user_management' && showUserManagement()) {\n return (\n \n )\n }\n else if (mode == 'reserve_account' && showReserveAccount()) {\n return (\n \n )\n }\n else if (['user_management', 'reserve_account'].includes(mode)) {\n return (\n
    Access Denied, Contact your dealership owner
    \n )\n }\n else {\n return (\n
    Not found
    \n )\n }\n }\n\n return (\n
    \n {header()}\n
    \n {mainView()}\n
    \n
    \n );\n};\n\n\nexport default DealerSettings;\n","import React, { useContext } from \"react\"\nimport { PlaidContext } from \"./PlaidContext.jsx\"\n\nconst PlaidStatusMessages = () => {\n const {\n appStatus,\n bankAccount,\n financialDataQueue,\n gettingNewBank,\n connectionError,\n pollingTimeout\n } = useContext(PlaidContext)\n\n const getStatusMessage = () => {\n const failure_message = 'There was a problem connecting to your financial institution. Please email help@lendbuzz.com.'\n const waiting = 'Waiting for your bank to respond'\n const almost_done = 'Just finishing up'\n const refresh_message = `${waiting}, refresh the page after a while...`\n const loader = \n\n // override all other renders in lifecycle stages after PRE_APPROVED\n if (['IN_VERIFICATION', 'APPROVED'].includes(appStatus)) {\n // later stages will have a bank account connected\n // so we can assume last_4 exists here\n const { last_4 } = bankAccount\n const bank_text = `bank account ending in ${last_4}`\n\n if (appStatus == 'APPROVED') return `${bank_text} has been verified`\n \n return `verifying ${bank_text}`\n }\n\n // show errors and loading states first\n if (connectionError) return failure_message\n if (pollingTimeout) return refresh_message\n if (gettingNewBank) return (<>{loader}{`${waiting}...`}) // getting bank accounts\n if (financialDataQueue) return (<>{loader}{`${almost_done}...`}) // getting transactions\n // TODO: handle refresh message on the above line if ws is broken\n\n return ''\n }\n\n const status_message = getStatusMessage()\n if (!status_message) return null\n\n return (\n
    \n {status_message}\n
    \n )\n}\n\nexport default PlaidStatusMessages","import React, { useContext } from 'react'\nimport { PlaidContext } from './plaid/PlaidContext'\n\nconst WelcomeHeader = () => {\n const { customerName, vehicle } = useContext(PlaidContext)\n\n const welcome_param = 'welcome=true'\n if (!location.search.includes(welcome_param)) return null\n\n const header_text = 'Welcome to Lendbuzz.'\n\n return (\n
    \n
    \n
    \n {header_text}\n
    \n

    \n {customerName}, we need your help completing the loan application for a {vehicle}.\n

    \n
    \n
    \n )\n}\n\nexport default WelcomeHeader\n","import React from 'react'\nimport consentDocs from '../../../../db/data/ConsentDocs.json'\n\nconst ConsentDocument = ({ docName, useTitle = false, isModal = false }) => {\n const { [docName]: { title, content } } = consentDocs\n\n let header = null \n if (useTitle) header =

    {title}

    \n\n let body = content\n if (isModal) body = content.replace(/h3/g, 'h4')\n const renderBody = () => ({ __html: body })\n\n return (<>\n { header }\n
    \n )\n}\n\nexport default ConsentDocument\n","import React, { useContext } from 'react'\nimport { PlaidContext } from './PlaidContext'\nimport LBModal from '../../modules/LBModal.js'\nimport ConsentDocument from '../../consents/ConsentDocument.jsx'\nimport consentDocs from '../../../../../db/data/ConsentDocs.json'\n\nconst CommsConsentModal = () => {\n const { commsModalTarget, setCommsModalTarget } = useContext(PlaidContext)\n\n if (!commsModalTarget) return null\n\n const {[ commsModalTarget ]: { title }} = consentDocs\n\n const handleClose = () => {\n setCommsModalTarget()\n }\n\n return (\n \n
    \n
    \n
    \n {title}\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default CommsConsentModal\n","import React, { useContext } from 'react'\nimport { PlaidContext } from './PlaidContext.jsx'\nimport CommunicationTypes from '../../CommunicationTypes.js'\nimport Notification from '../../modules/Notification.js.jsx'\n\nconst PlaidConnectionPrompt = () => {\n const {\n isDealer,\n hasCommunicationsConsent,\n financialPullingBankAccounts,\n loadingPlaidLink,\n plaidDataIsValid,\n setUserConsents,\n openPlaidLink,\n setCommsModalTarget,\n commData,\n sendAnalytics\n } = useContext(PlaidContext)\n\n const openCommsModal = (target) => (e) => {\n e.preventDefault()\n sendAnalytics(`Connect Bank Options - Click - ${e.target.innerText}`)\n setCommsModalTarget(target)\n }\n \n const encryption_text = (\n
    \n \n Using 256-bit Encryption\n
    \n )\n\n // TODO: redo CommTypes prompt text (when accounts.length)\n let button_text = `Connect ${financialPullingBankAccounts.length ? 'Another' : 'Your'} Bank`\n if (loadingPlaidLink) button_text = 'Please wait, Loading....'\n\n const icon_class = loadingPlaidLink ? \"fa-spinner fa-spin\" : 'fa-plus'\n\n const renderConsentIndicator = () => {\n if (hasCommunicationsConsent) return null\n\n const commsDisclosureLink = Paperless Agreement\n const creditReportPolicyLink = Credit Report Policy\n const termsOfServiceLink = Terms of Service\n const privacyPolicyLink = Privacy Policy\n const stateSpecificDisclosuresLink = State-Specific Disclosures\n \n if (isDealer) return (\n

    \n If applicant is connecting their bank using this browser, please ensure they read the {commsDisclosureLink} (and\n understand that we will communicate with them about their loan by electronic means only), as well as\n the {creditReportPolicyLink}, {termsOfServiceLink}, {privacyPolicyLink}, and {stateSpecificDisclosuresLink}\n

    \n )\n\n return (\n

    \n By clicking \"Connect your bank,\" you certify that you understand you will\n not receive documents in the mail and have read and agree to\n the {commsDisclosureLink}, {creditReportPolicyLink}, {termsOfServiceLink}, {privacyPolicyLink},\n and {stateSpecificDisclosuresLink}. You also opt in to receive automated text messages\n on your account from us.\n

    \n )\n }\n\n const handleOpenPlaidLink = async (regularOrHighlighted = 'Regular') => {\n if (loadingPlaidLink)\n return null\n \n if (!hasCommunicationsConsent) await setUserConsents()\n\n sendAnalytics(`Connect Bank Options - Click - ${regularOrHighlighted} ${button_text}`)\n openPlaidLink()\n } \n // NOTE: the event logging for this is in plaid_heap - the logging function wraps the existing openPlaidLink call,\n // which should be replaced with this one when that's merged\n\n const renderPlaidButton = plaidDataIsValid\n ? (\n
    \n handleOpenPlaidLink()}>\n {button_text}\n \n
    \n )\n : (\n
    \n handleOpenPlaidLink('Highlighted')}\n disabled={loadingPlaidLink}\n >\n
    \n {button_text}\n {encryption_text}\n
    \n \n
    \n )\n\n const renderSendToClientButton = (\n <>\n sendAnalytics('Connect Bank Options - Click - Send to client')}\n >\n Send to client\n \n \n \n \n )\n\n const render_connect_buttons = isDealer\n ? (\n
    \n
    \n {renderPlaidButton}\n
    \n
    \n {renderSendToClientButton}\n
    \n
    \n )\n : renderPlaidButton\n\n return (\n
    \n {render_connect_buttons}\n {renderConsentIndicator()}\n
    \n )\n}\n\nexport default PlaidConnectionPrompt\n","import React, { useContext, useEffect } from 'react'\nimport { useIsMount } from '../../helpers/useIsMount.js.jsx'\nimport FinanceConnector from './FinanceConnector'\nimport { PlaidContext } from './PlaidContext.jsx'\nimport { BankAccountHeader, BankAccountIntroText } from '../BankAccountIntro.jsx'\nimport PlaidStatusMessages from './PlaidStatusMessages.jsx'\nimport WelcomeHeader from '../WelcomeHeader.jsx'\nimport CommsConsentModal from './CommsConsentModal.jsx'\nimport BankAccountChooser from './BankAccountChooser.jsx'\nimport PlaidConnectionPrompt from './PlaidConnectionPrompt.jsx'\n\nconst BankAccountConnection = () => {\n const {\n lbid,\n isReadonly,\n refreshPageState,\n plaidDataIsValid,\n sendAnalytics\n } = useContext(PlaidContext)\n const isMount = useIsMount()\n\n useEffect(() => {\n if (isMount) {\n FinanceConnector.subscribe(lbid, () => refreshPageState())\n // ws connection takes time, manuall polling until connection is success\n refreshPageState()\n }\n }, [lbid])\n\n // const showRefreshMessage = check_for_ws_connection() NOTE: see PlaidStatusMessage\n\n const render_next_button = () => (\n \n )\n\n return (\n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n \n {!isReadonly && }\n
    \n
    \n
    \n {plaidDataIsValid && render_next_button()}\n
    \n )\n }\n\n\n export default BankAccountConnection\n","import React from 'react'\nimport { PlaidProvider } from './PlaidContext.jsx'\nimport BankAccountConnection from './BankAccountConnection.jsx'\n\nconst Plaid = (props) => (\n \n \n \n)\n\nexport default Plaid","import React from 'react'\n\nconst HeaderText = ({ children }) => {\n return (\n
    \n {children}\n
    \n )\n}\n\nexport default HeaderText\n","import React from 'react'\n\nconst BodyText = ({ children }) => {\n return (\n

    \n {children}\n

    \n )\n}\n\nexport default BodyText\n","import React from 'react'\n\nconst GeneralButton = ({ onClick, id = '', disabled = false, children = null }) => {\n return (\n
    \n \n
    \n { children }\n
    \n \n
    \n )\n }\n \nexport default GeneralButton\n","import React, { useContext, useEffect, useMemo } from 'react'\nimport { PlaidContext } from '../PlaidContext'\nimport HeaderText from './NewPlaidFlowComponents/HeaderText'\nimport BodyText from './NewPlaidFlowComponents/BodyText'\nimport GeneralButton from './NewPlaidFlowComponents/GeneralButton'\nimport CommsConsentModal from '../CommsConsentModal'\n\nconst ConnectBankPage = ({\n show\n}) => {\n\n const {\n hasCommunicationsConsent,\n openPlaidLink,\n setUserConsents,\n setCommsModalTarget,\n loadingPlaidLink,\n sendAnalytics,\n financialPullingData,\n inlineBankConnectionCount,\n hasAuth\n } = useContext(PlaidContext)\n\n const hasAuthError = useMemo(() => {\n const hasPlaidAccounts = !!financialPullingData.length\n return inlineBankConnectionCount > 0 && hasPlaidAccounts && !hasAuth\n }, [financialPullingData, hasAuth, inlineBankConnectionCount])\n\n\n useEffect(() => {\n if (show) {\n sendAnalytics('Dealer Applicant Connect Bank - View - Page', { showAuthError: hasAuthError })\n }\n }, [show, hasAuthError])\n\n\n if (!show) return null\n\n const handleConnectBankClicked = async () => {\n if (!hasCommunicationsConsent) await setUserConsents()\n \n sendAnalytics('Dealer Applicant Connect Bank - Click - Connect Your Bank', { showAuthError: hasAuthError })\n openPlaidLink()\n }\n\n const renderNoAuthIndication = () => {\n if (!hasAuthError) return null\n\n return (\n \n \n \n Unable to verify bank account. Please connect a different bank account.\n \n \n )\n }\n\n const renderText = () => {\n return (\n
    \n Unlock your best rate now\n \n Connect your bank account \n that you deposit your income into for the best rates and fastest approval.\n \n
    \n )\n }\n\n const renderConnectButton = () => {\n let display_text = 'Connect your bank'\n let display_icon = \n\n if (loadingPlaidLink) {\n display_text = 'Loading...'\n display_icon = null\n }\n\n return (\n \n {display_icon}\n {display_text}\n \n )\n }\n\n const openCommsModal = (target) => (e) => {\n sendAnalytics(`Dealer Applicant Connect Bank - Click - ${e.target.innerText}`, { showAuthError: hasAuthError })\n setCommsModalTarget(target)\n }\n\n const renderLegalText = () => {\n const commsDisclosureLink = Paperless Agreement\n const creditReportPolicyLink = Credit Report Policy\n const termsOfServiceLink = Terms of Service\n const privacyPolicyLink = Privacy Policy\n const stateSpecificDisclosuresLink = State-Specific Disclosures\n\n return (\n

    \n By clicking \"Connect your bank\" you certify that you understand you will not receive documents in the mail and have read and agree to the\n {commsDisclosureLink}, {creditReportPolicyLink}, {termsOfServiceLink}, {privacyPolicyLink} \n and {stateSpecificDisclosuresLink}.\n You also opt-in to receive automated text messages on your account from us.\n \n

    \n )\n }\n\n return (\n
    \n \n {renderText()}\n {renderNoAuthIndication()}\n {renderConnectButton()}\n {renderLegalText()}\n
    \n )\n}\n\nexport default ConnectBankPage\n","import React, { useContext, useEffect } from 'react'\nimport { PlaidContext } from '../PlaidContext'\nimport HeaderText from './NewPlaidFlowComponents/HeaderText'\nimport BodyText from './NewPlaidFlowComponents/BodyText'\nimport GeneralButton from './NewPlaidFlowComponents/GeneralButton'\nimport { getCustomerFirstName, getDealershipName, getVehicle } from '../PlaidHelper'\n\nconst WelcomePage = ({ show, nextPage }) => {\n const { loanApplication, sendAnalytics } = useContext(PlaidContext)\n\n useEffect(() => {\n if (show) {\n sendAnalytics('Dealer Applicant Plaid Welcome - View - Page')\n }\n }, [show])\n\n if (!show) return null\n\n const handleGetStartedClicked = () => {\n sendAnalytics('Dealer Applicant Plaid Welcome - Click - Get Started')\n nextPage()\n }\n\n const renderWelcomeText = () => {\n const vehicle = getVehicle(loanApplication) || 'car'\n const customerFirstName = getCustomerFirstName(loanApplication) || null\n const dealershipName = getDealershipName(loanApplication) || 'your dealership'\n\n let headerText = 'Hi!'\n\n if (customerFirstName)\n headerText = `Hi, ${customerFirstName}!`\n\n return (\n
    \n {headerText}
    Let's get your new car
    \n Your loan application has been submitted at {dealershipName}.\n \n Get the best rates and fastest approval on your {vehicle} \n by verifying your bank account information.\n \n
    \n )\n }\n\n const renderGetStartedButton = () => {\n return (\n \n Get started\n \n )\n }\n\n return (\n
    \n {renderWelcomeText()}\n {renderGetStartedButton()}\n
    \n )\n}\n\nexport default WelcomePage\n","import React, { useContext, useEffect } from 'react'\nimport { PlaidContext } from '../../PlaidContext'\n\nconst ErrorNotification = () => {\n const {\n loanApplicationErrors,\n sendAnalytics\n } = useContext(PlaidContext)\n\n useEffect(() => {\n if (loanApplicationErrors && loanApplicationErrors.length)\n sendAnalytics('Dealer Applicant Plaid Welcome - Errors', { errors: loanApplicationErrors })\n }, [loanApplicationErrors])\n\n if (!loanApplicationErrors.length)\n return null\n\n const renderErrorList = () => {\n const errorsView = loanApplicationErrors.map((e, i) => {\n return (\n

    {e}

    \n )\n })\n\n return errorsView\n }\n\n return (\n
    \n
    \n
    Errors:
    \n {renderErrorList()}\n
    \n
    \n )\n}\n\nexport default ErrorNotification\n","import React, { useContext, useEffect } from 'react'\nimport { PlaidContext } from '../PlaidContext'\nimport HeaderText from './NewPlaidFlowComponents/HeaderText'\nimport BodyText from './NewPlaidFlowComponents/BodyText'\n\nconst LoadingPage = () => {\n const { sendAnalytics } = useContext(PlaidContext)\n\n useEffect(() => {\n sendAnalytics('Dealer Applicant Bank Connecting - View - Page')\n }, [])\n\n const renderBankConnectingAnimation = () => {\n return (\n
    \n Bank connecting\n
    \n
    \n )\n }\n\n return (\n
    \n
    \n {renderBankConnectingAnimation()}\n It may take a few minutes to connect to your bank.\n Please stay on this page.\n
    \n
    \n )\n}\n\nexport default LoadingPage\n","import React from \"react\";\n\nconst TextButton = ({ onClick, id, children }) => {\n return (\n
    \n \n {children}\n \n
    \n )\n}\n\nexport default TextButton","import React, { useContext, useEffect } from 'react'\nimport BodyText from './NewPlaidFlowComponents/BodyText'\nimport HeaderText from './NewPlaidFlowComponents/HeaderText'\nimport GeneralButton from './NewPlaidFlowComponents/GeneralButton'\nimport TextButton from './NewPlaidFlowComponents/TextButton'\nimport BankAccountChooser from '../BankAccountChooser'\nimport { PlaidContext } from '../PlaidContext'\n\nconst ConfirmedBankAccounts = ({\n show,\n nextPage,\n isLandingPage\n}) => {\n const {\n hasCommunicationsConsent,\n setUserConsents,\n openPlaidLink,\n loadingPlaidLink,\n sendAnalytics,\n financialPullingData\n } = useContext(PlaidContext)\n\n useEffect(() => {\n if (show) {\n sendAnalytics('Dealer Applicant Bank Selection - View - Page', { headline: getHeaderText(), itemId: getLastBankItemId() })\n }\n }, [show])\n\n if (!show) return null\n\n const getLastBankItemId = () => {\n const lastItemIndex = financialPullingData.length - 1\n\n return financialPullingData[lastItemIndex]?.item_id\n }\n\n const getHeaderText = () => {\n if (isLandingPage) return 'Bank connections'\n\n return 'Almost done!'\n }\n\n const handleContinueClicked = () => {\n sendAnalytics('Dealer Applicant Bank Selection - Click - Continue', { headline: getHeaderText() })\n nextPage()\n }\n\n const handleConnectAnotherBankClicked = async () => {\n if (!hasCommunicationsConsent) await setUserConsents()\n\n sendAnalytics('Dealer Applicant Bank Selection- Click - Connect another bank', { headline: getHeaderText() })\n openPlaidLink()\n }\n\n const renderText = () => {\n return (\n
    \n {getHeaderText()}\n Our secure AI technology is unlocking your best rate by verifying your income within the following bank account(s).\n Please select the account you want to use to pay off your future vehicle loan.\n
    \n )\n }\n\n const renderContinueButton = () => {\n return (\n \n Continue\n \n )\n }\n\n const renderConnectAnotherBankButton = () => {\n let display_text = 'Connect another bank'\n let display_icon = \n\n if (loadingPlaidLink) {\n display_text = 'Loading...'\n display_icon = null\n }\n\n return (\n \n {display_icon}\n {display_text}\n \n )\n }\n\n return (\n
    \n {renderText()}\n \n {renderContinueButton()}\n {renderConnectAnotherBankButton()}\n
    \n )\n}\n\nexport default ConfirmedBankAccounts\n","import React, { useContext, useEffect } from 'react'\nimport { PlaidContext } from '../PlaidContext'\nimport HeaderText from './NewPlaidFlowComponents/HeaderText'\nimport BodyText from './NewPlaidFlowComponents/BodyText'\nimport TextButton from './NewPlaidFlowComponents/TextButton'\nimport { getDealershipName } from '../PlaidHelper'\nimport GeneralButton from './NewPlaidFlowComponents/GeneralButton'\n\nconst ThankYouPage = ({\n show,\n prevPage,\n setBankAccountHeadline\n}) => {\n const {\n loanApplication,\n hasTransactions,\n sendAnalytics,\n lbid\n } = useContext(PlaidContext)\n\n useEffect(() => {\n if (show) {\n sendAnalytics('Dealer Applicant Thank You - View - Page', { bankStatementCalloutShown: !hasTransactions })\n }\n }, [show])\n\n if (!show) return null\n\n const handleReturnTextClicked = () => {\n sendAnalytics('Dealer Applicant Thank You - Click - Return to Bank Account Selection', { bankStatementCalloutShown: !hasTransactions })\n prevPage()\n setBankAccountHeadline(\"INITIAL\")\n }\n\n const handleUploadDocsClicked = () => {\n sendAnalytics('Dealer Applicant Thank You - Click - Upload Documents', { bankStatementCalloutShown: !hasTransactions })\n window.location = (`/loan_applications/${lbid}/documents/edit`)\n }\n\n const renderThankYouText = () => {\n const dealershipName = getDealershipName(loanApplication)\n\n return (\n
    \n Thank you!\n Your dealer at {dealershipName} will discuss next steps with you.\n
    \n )\n }\n\n const renderReturnTextButton = () => {\n return (\n
    \n \n Return to Bank Account Selection\n \n
    \n )\n }\n\n const renderBankStatementText = () => {\n if (hasTransactions) return null\n\n return (\n Please have your bank statements available.\n )\n }\n\n const renderUploadDocsButton = () => {\n if (!hasTransactions) return null\n\n return (\n \n Upload Documents\n \n )\n }\n\n return (\n
    \n {renderThankYouText()}\n {renderBankStatementText()}\n {renderReturnTextButton()}\n {renderUploadDocsButton()}\n
    \n )\n}\n\nexport default ThankYouPage\n","import React, { useState, useEffect, useContext } from 'react'\nimport { PlaidContext } from '../PlaidContext'\nimport ConnectBankPage from './ConnectBankPage'\nimport WelcomePage from './WelcomePage'\nimport ErrorNotification from './NewPlaidFlowComponents/ErrorNotification.jsx'\nimport LoadingPage from './LoadingPage.jsx'\nimport ConfirmedBankAccounts from './ConfirmedBankAccounts'\nimport ThankYouPage from './ThankYouPage'\nimport { useIsMount } from '../../../helpers/useIsMount.js.jsx'\nimport FinanceConnector from '../FinanceConnector.js'\n\nconst PlaidAccountConnection = () => {\n const {\n lbid,\n refreshPageState,\n financialPullingBankAccounts,\n financialDataQueue,\n financialPullingData,\n gettingNewBank,\n hasAuth\n } = useContext(PlaidContext)\n\n const hasPlaid = !!financialPullingData.length\n const hasBankAccounts = !!financialPullingBankAccounts.length\n const landingPageType = hasBankAccounts ? 'CONFIRMED_BANK_ACCOUNTS' : 'WELCOME'\n const [showPageType, setShowPageType] = useState(landingPageType)\n // bankAccountHeadline = the ConfirmedBankAccounts page can be a landing page - \"INITIAL\"\n // or it can be an \"Almost done!\" page - which the user sees after a successful bank connection - \"DONE\"\n // when the loading page is shown this state turns to \"LOADING\" - as a flag for turning to \"DONE\" after\n const [bankAccountHeadline, setBankAccountHeadline] = useState(\"INITIAL\") \n\n const isMount = useIsMount()\n const isLoading = gettingNewBank || financialDataQueue\n\n useEffect(() => {\n if (isLoading) {\n setBankAccountHeadline(\"LOADING\")\n return\n }\n\n if (bankAccountHeadline === 'LOADING' && !isLoading && hasAuth) {\n setBankAccountHeadline(\"DONE\")\n }\n }, [financialDataQueue, gettingNewBank, bankAccountHeadline])\n\n useEffect(() => {\n if (showPageType === 'CONNECT_BANK' && hasPlaid && hasAuth) {\n setShowPageType(\"CONFIRMED_BANK_ACCOUNTS\")\n }\n }, [financialPullingData, showPageType, hasAuth])\n\n useEffect(() => {\n if (isMount) {\n FinanceConnector.subscribe(lbid, () => refreshPageState())\n // ws connection takes time, manuall polling until connection is success\n refreshPageState()\n }\n }, [lbid])\n\n if (isLoading) {\n return (\n
    \n
    \n \n
    \n
    \n )\n }\n\n return (\n
    \n \n
    \n setShowPageType(\"CONNECT_BANK\")} />\n \n setShowPageType('THANK_YOU')}\n isLandingPage={bankAccountHeadline !== 'DONE'} />\n setShowPageType('CONFIRMED_BANK_ACCOUNTS')}\n setBankAccountHeadline={setBankAccountHeadline} />\n
    \n
    \n )\n}\n\nexport default PlaidAccountConnection\n","import React from 'react'\nimport { PlaidProvider } from '../PlaidContext.jsx'\nimport PlaidAccountConnection from './PlaidAccountConnection.jsx'\n\nconst NewPlaidFlow = (props) => {\n\n return (\n \n \n \n )\n}\n\nexport default NewPlaidFlow\n","import React, { useState, useEffect } from 'react';\nimport ButtonBar from './ButtonBar'\nimport lb_fetch from '../../helpers/Request.js';\nimport LBModal from '../modules/LBModal.js'\nimport { useIsMount } from '../helpers/useIsMount.js.jsx'\n\nconst DealerInfoPage = (props) => {\n const [dealer, setDealer] = useState({})\n const [usStates, setUsStates] = useState([])\n const [readOnly, setReadOnly] = useState(true)\n const [pageLoader, setPageLoader] = useState(false)\n const [loading, setLoading] = useState(false)\n const [feedbackModal, setFeedbackModal] = useState(false)\n const [feedbackInfo, setFeedbackInfo] = useState({})\n const isMount = useIsMount()\n\n const onChange = (e, field) => {\n const value = e.target.value\n dealer[field] = value\n setDealer({...dealer})\n }\n\n useEffect(() => {\n if (isMount) {\n setPageLoader(true)\n getDealer().then(() => setPageLoader(false)).catch(() => setPageLoader(false))\n }\n })\n\n const getDealer = async () => {\n let res = null\n const url = `/loan_applications/dealer_info/v1`\n\n try {\n res = await lb_fetch(url, { body: { id: props.lbid } })\n } catch (error) {\n console.log('error loading page');\n console.log(error);\n return\n }\n\n if (!res.ok) {\n return\n }\n\n const data = await res.json()\n setDealer(data['dealer'])\n setReadOnly(data['read_only'])\n setUsStates(data['us_states'])\n }\n\n const saveDealer = async () => {\n setLoading(true)\n\n let res = null\n const url = `/loan_applications/save_dealer_info/v1`\n\n try {\n res = await lb_fetch(url, {method: 'post', body: {loan_application: {dealer}, id: props.lbid}})\n } catch (error) {\n console.log('error in saveDealerInfo');\n console.log(error);\n setFeedbackModal(true)\n setFeedbackInfo({ status: 'error', title: 'Failed Saving Dealer', description: 'Please refresh the page and try again' })\n return null\n } finally {\n setLoading(false)\n }\n\n if (res.status == 403) {\n setFeedbackModal(true)\n setFeedbackInfo({ status: 'error', title: 'Failed Saving Dealer', description: \"You don't have access to change dealer information, Please Contact Us\" })\n return\n }\n else if (!res.ok) {\n console.log(\"Something went wrong, please contact us\")\n console.log(`Status: ${res.status}, ${res.statusText}`)\n setFeedbackModal(true)\n setFeedbackInfo({ status: 'error', title: 'Failed Saving Dealer', description: 'Please refresh the page and try again' })\n return\n }\n\n let data = await res.json()\n\n if (data) {\n setFeedbackModal(true)\n setFeedbackInfo({ status: 'success', title: 'Saved Successfully', description: 'Dealer information saved' })\n return\n }\n\n setFeedbackModal(true)\n setFeedbackInfo({ status: 'error', title: 'Failed Saving Dealer', description: 'Please refresh the page and try again' })\n }\n\n const renderFormField = (field, title, required=false, type='text') => {\n let disabledClasses = \"\"\n if (readOnly) {\n disabledClasses = \"text-gray-380\"\n }\n return (\n
  • \n onChange(e, field)}/>\n \n
  • \n )\n }\n\n const renderStateOptions = () => {\n let us_states = usStates || []\n let state_options = us_states.map((us_state, index) => {\n return (\n \n )\n })\n\n return state_options\n }\n\n\n const renderRepInformation = () => {\n return (\n <>\n
    \n
    \n
    \n Back\n
    \n
    \n

    Dealer Information

    \n
    \n
    \n
    \n
    \n
      \n {renderFormField('name', 'Name', false)}\n {renderFormField('phone', 'Phone number', false)}\n {renderFormField('address_1', \"Address 1\", false)}\n {renderFormField('address_2', \"Address 2\", false)}\n {renderFormField('city', \"City\", false)}\n
    • \n onChange(e, 'state')}>\n \n {renderStateOptions()}\n \n \n
    • \n {renderFormField('zip', 'Zip Code', false)}\n
    \n
    \n
    \n
    \n {renderButton()}\n
    \n \n )\n }\n\n const renderButton = () => {\n if (readOnly) {\n return null\n }\n\n let submitText = \"Save\"\n\n if (loading) {\n submitText = \"Loading...\"\n }\n\n const is_empty = ['name', 'phone', 'address_1', 'address_2', 'city', 'state', 'zip'].find(f => dealer[f]) == null\n\n return (
    \n \n
    )\n }\n\n const renderFeedbackModal = () => {\n const feedback_info = feedbackInfo || {}\n let feedbackBg = \"bg-green-100\"\n let feedbackFontColor = \"text-green-500\"\n let feedbackIcon = ()\n\n if (feedback_info['status'] == \"error\") {\n feedbackBg= \"bg-red-100\"\n feedbackFontColor = \"text-gray-380\"\n feedbackIcon = null\n }\n\n return( setFeedbackModal(false)}>\n
    \n
    \n
    \n
    \n \n Notifications\n \n setFeedbackModal(false)}>\n
    \n
    \n
    \n
    \n
    \n

    {feedback_info['title']}

    \n
    \n {feedbackIcon}\n {feedback_info['description']}\n
    \n
    \n
    \n
    \n
    )\n }\n\n const renderPageLoader = () => {\n return (\n
    \n
    \n
    \n
    \n
    \n \n
    \n \n Loading Dealer Information, Please Wait...\n \n
    \n
    \n
    \n
    \n )\n }\n\n const renderCardBody = () => {\n return (\n <>\n {renderRepInformation()}\n {renderFeedbackModal()}\n \n )\n }\n\n return(\n
    \n
    \n
    \n { pageLoader ? renderPageLoader() : renderCardBody() }\n
    \n
    \n
    \n )\n}\n\nexport default DealerInfoPage;\n","const actionTypes = {\n DOCUMENT_GROUPS_FETCHED: 'DOCUMENT_GROUPS_FETCHED',\n DOCUMENT_ADDED: 'DOCUMENT_ADDED',\n DOCUMENT_REMOVED: 'DOCUMENT_REMOVED',\n SET_UPLOAD_GROUP: 'SET_UPLOAD_GROUP',\n SET_CURING_GROUP: 'SET_CURING_GROUP',\n DOCUMENT_UPLOAD_START: 'DOCUMENT_UPLOAD_START'\n}\n\nexport default actionTypes\n","import actionTypes from './documentActions'\n\n\nconst isOtherGroup = (group) => {\n return group.name === \"OTHER\"\n}\n\nconst isFinancingGroup = (group) => {\n return !isOtherGroup(group) && group.collection_slots[0].stage === \"FINANCING\"\n}\n\nconst isApprovalGroup = (group) => {\n return !isOtherGroup(group) && group.collection_slots[0].stage === \"APPROVAL\"\n}\n\nconst getGroupStage = (group) => {\n if (isOtherGroup(group)) return \"OTHER\"\n if (isFinancingGroup(group)) return \"FINANCING\"\n if (isApprovalGroup(group)) return \"APPROVAL\"\n}\n\nconst flattenCollectionGroupData = (state, actionData) => {\n const { data } = actionData\n\n const groups = data.map(group => ({\n ...group,\n stage: getGroupStage(group)\n }))\n\n const slots = data.reduce((acc, group) => [\n ...group.collection_slots.map(slot => ({\n ...slot,\n groupId: group.id\n })),\n ...acc\n ], [])\n\n const documents = slots.reduce((acc, slot) => [\n ...slot.documents.map(document => ({ ...document, slotId: slot.id })),\n ...acc\n ], [])\n\n // returns flattened arrays containing all groups, all slots, and all documents\n // each slot includes parent groupId, and each document includes parent slotId. \n return { groups, slots, documents }\n}\n\nconst DocumentsReducer = (state, action) => {\n switch (action.type) {\n case actionTypes.DOCUMENT_GROUPS_FETCHED: {\n const flatData = flattenCollectionGroupData(state, action.data)\n\n const { slotId } = action.data\n let targetSlot\n\n if (slotId) {\n targetSlot = flatData.slots.find(slot => slot.id === Number.parseInt(slotId))\n }\n\n let stateUpdate = {};\n if (targetSlot && targetSlot.verification_status === \"REJECTED\") {\n stateUpdate.curingGroupId = targetSlot.groupId\n stateUpdate.targetSlot = targetSlot\n } else if (targetSlot) {\n stateUpdate.uploadGroupId = targetSlot.groupId\n stateUpdate.targetSlot = targetSlot\n }\n\n return {\n ...state,\n ...flatData,\n ...stateUpdate,\n loading: false\n }\n }\n case actionTypes.DOCUMENT_UPLOAD_START: {\n const { file: { name }, slotId } = action.data\n const collectionSlotId = Number.parseInt(slotId)\n\n const newDocument = {\n user_filename: name,\n slotId: collectionSlotId,\n status: \"UPLOADING\"\n }\n\n const slotToUpdate = state.slots.find(slot => slot.id === collectionSlotId)\n const updatedSlot = {\n ...slotToUpdate,\n documents: [...slotToUpdate.documents, newDocument],\n }\n\n return {\n ...state,\n slots: [\n ...state.slots.filter(slot => slot.id !== collectionSlotId),\n updatedSlot\n ],\n documents: [\n ...state.documents,\n newDocument\n ]\n }\n }\n case actionTypes.DOCUMENT_ADDED: {\n const { collection_slot_id, user_filename, id } = action.data\n const collectionSlotId = Number.parseInt(collection_slot_id)\n\n const newDocument = {\n user_filename,\n id,\n slotId: collectionSlotId,\n status: \"UPLOADED\"\n }\n\n const slotToUpdate = state.slots.find(slot => slot.id === collectionSlotId)\n const updatedSlot = {\n ...slotToUpdate,\n documents: [...slotToUpdate.documents.filter(doc => doc.status !== \"UPLOADING\"), newDocument],\n verification_status: 'UPLOADED'\n }\n\n return {\n ...state,\n slots: [\n ...state.slots.filter(slot => slot.id !== collectionSlotId),\n updatedSlot\n ],\n documents: [\n ...state.documents.filter(doc => doc.status !== \"UPLOADING\"),\n newDocument\n ]\n }\n }\n case actionTypes.DOCUMENT_REMOVED: {\n const { data: { documentId } } = action\n\n const newSlots = state.slots.map(slot => {\n return {\n ...slot,\n documents: slot.documents.filter(document => document.id !== documentId),\n }\n }\n )\n\n return {\n ...state,\n slots: newSlots,\n documents: state.documents.filter(document => document.id !== documentId)\n }\n }\n case actionTypes.DOCUMENT_ERROR: {\n const { data: { slotId } } = action\n const collectionSlotId = Number.parseInt(slotId)\n\n const slotToUpdate = state.slots.find(slot => slot.id === collectionSlotId)\n const filteredDocs = slotToUpdate?.documents.filter(doc => doc.status !== \"UPLOADING\") || []\n const updatedSlot = {\n ...slotToUpdate,\n documents: [...filteredDocs],\n verification_status: filteredDocs.length ? 'UPLOADED' : 'EMPTY'\n }\n\n return {\n ...state,\n slots: [\n ...state.slots.filter(slot => slot.id !== collectionSlotId),\n updatedSlot\n ],\n documents: [\n ...state.documents.filter(doc => doc.status !== \"UPLOADING\"),\n ]\n }\n }\n case actionTypes.SET_UPLOAD_GROUP: {\n const { data: { groupId } } = action\n\n return {\n ...state,\n uploadGroupId: groupId,\n targetSlot: groupId ? state.targetSlot : null\n }\n }\n case actionTypes.SET_CURING_GROUP: {\n const { data: { groupId } } = action\n\n return {\n ...state,\n curingGroupId: groupId,\n targetSlot: groupId ? state.targetSlot : null\n }\n }\n case actionTypes.SET_LOADER: {\n const { data } = action\n\n return {\n ...state,\n loading: data\n }\n }\n default: {\n console.error('Unknown action: ' + action.type)\n }\n }\n}\n\nexport default DocumentsReducer\n","import { useCallback } from 'react'\nimport useLbFetch from '../../../hooks/useLbFetch'\n\nconst useDeleteDocument = (lbid, callBack) => {\n const url = `/loan_applications/${lbid}/documents/delete_document`\n\n const { fetch } = useLbFetch(url)\n\n const deleteDocument = useCallback(async (documentId) => {\n const res = await fetch({\n document_id: documentId\n })\n\n callBack(documentId)\n }, [fetch, callBack])\n\n return { deleteDocument }\n}\n\nexport default useDeleteDocument;\n\n","import { useCallback } from 'react'\nimport useLbFetch from '../../../hooks/useLbFetch'\n\nconst useCreateOrUpdateBankStatements = (lbid) => {\n const url = `/loan_applications/${lbid}/documents/update_slot`\n\n const { fetch } = useLbFetch(url)\n\n const createBankSlot = useCallback(async (name, institution_name, slot_id, callback) => {\n const res = await fetch({\n name, institution_name, slot_id\n })\n const data = await res.json()\n\n callback(data.id)\n }, [fetch])\n\n return [createBankSlot]\n}\n\nexport default useCreateOrUpdateBankStatements;\n","import React, { createContext, useEffect, useCallback, useReducer } from 'react'\nimport actionTypes from './documentActions.js'\nimport DocumentsReducer from './documentsReducer'\n\n// eslint-disable-next-line import/no-named-as-default\nimport useLbFetch from '../../../hooks/useLbFetch.js'\nimport useCreateOrUpdateDocument from '../hooks/useCreateOrUpdateDocument.js'\nimport useDeleteDocument from '../hooks/useDeleteDocument.js'\nimport useCreateOrUpdateBankStatements from \"../hooks/useCreateOrUpdateBankStatements.js\"\n\nconst initialState = {\n groups: [],\n slots: [],\n documents: [],\n uploadGroupId: null,\n curingGroupId: null,\n loading: true,\n}\n\n\nconst DocumentsContext = createContext(initialState)\nconst { Provider } = DocumentsContext\n\n\nconst DocumentsProvider = props => {\n const { lbid, primary, slotId, children } = props\n\n const reducer = DocumentsReducer\n\n // Reducer tracks data\n const [state, dispatch] = useReducer(reducer, { ...initialState, lbid })\n\n // State tracks simple view data\n const collectionGroupUrl = `/loan_applications/${lbid}/documents/collection_groups`\n const { fetch } = useLbFetch(collectionGroupUrl, { method: 'post' })\n\n // fetches document groups, if passed a slotId, selects that group + slot as the upload slot\n const fetchCollectionGroups = async (slotId) => {\n const res = await fetch()\n const json = await res.json()\n\n // Once we fetch, store in reducer.\n dispatch({ type: actionTypes.DOCUMENT_GROUPS_FETCHED, data: { ...json, slotId } })\n }\n\n // On mount fetch the collection groups\n useEffect(() => {\n dispatch({ type: actionTypes.SET_LOADER, data: true })\n fetchCollectionGroups(slotId)\n // disable as on mount.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n const setUploadingDocuments = (file, slotId) =>\n dispatch({ type: actionTypes.DOCUMENT_UPLOAD_START, data: { file, slotId } })\n\n const setAddedDocument = ({ data }) =>\n dispatch({ type: actionTypes.DOCUMENT_ADDED, data })\n\n\n const setErrorDocument = ({ data }) =>\n dispatch({ type: actionTypes.DOCUMENT_ERROR, data })\n\n const createDocument = (file, slotId) => {\n if (!file) return\n setUploadingDocuments(file, slotId)\n createDocumentCall(file, slotId)\n }\n\n // ACTIONS\n // Attaches dispatch as a callback to createDocumentCall hook, actions passed down in Value\n const [createDocumentCall] = useCreateOrUpdateDocument(\n { lbid, callBack: setAddedDocument, errorCallback: setErrorDocument }\n )\n\n // Attaches dispatch as a callback to deleteDocument hook, actions passed down in Value\n const { deleteDocument } = useDeleteDocument(\n lbid,\n documentId => dispatch({ type: actionTypes.DOCUMENT_REMOVED, data: { documentId } })\n )\n\n // Creates and deletes specific old document.\n const replaceDocument = (document, slotId, docIdToReplace) => {\n createDocument(document, slotId)\n deleteDocument(docIdToReplace)\n }\n\n const [createOrUpdateBankSlot] = useCreateOrUpdateBankStatements(lbid)\n\n const createBankSlot = ({ file, name, institution_name, slotId }) => {\n\n createOrUpdateBankSlot(name, institution_name, slotId,\n () => createDocument(file, slotId)\n )\n }\n\n const setUploadGroup = (groupId) => {\n dispatch({ type: actionTypes.SET_UPLOAD_GROUP, data: { groupId } })\n }\n\n const setCuringGroup = (groupId) => {\n dispatch({ type: actionTypes.SET_CURING_GROUP, data: { groupId } })\n }\n\n // HELPERS\n const getSlotDocuments = useCallback((slotId) => {\n return state.documents.filter(document => document.slotId === slotId)\n }, [state.documents])\n\n const hasDocuments = useCallback((slotId) => {\n return getSlotDocuments(slotId).length > 0\n }, [getSlotDocuments])\n\n const getGroup = (groupId) => {\n return state.groups.find(({ id }) => id === groupId)\n }\n\n const getDocument = (docId) => {\n return state.documents.find(({ id }) => docId === id)\n }\n\n // return all slots for a given group Id\n const getGroupSlots = useCallback((groupId) => {\n return state.slots.filter(({ groupId: slotGroupId }) => slotGroupId === groupId)\n }, [state.slots])\n\n const groupHasDocuments = useCallback((groupId) => {\n return state.slots.some(slot => slot.groupId === groupId && hasDocuments(slot.id))\n }, [state.slots, hasDocuments])\n\n\n const isBankGroup = useCallback((groupId) => {\n const groupSlots = getGroupSlots(groupId)\n const BANK_STATEMENT_TYPE = 'bank statement'\n return !!groupSlots.filter(s => s.collection_type.toLowerCase() === BANK_STATEMENT_TYPE).length\n }, [getGroupSlots])\n\n const isLockedStatus = (status) => {\n return !(status === \"REJECTED\" || status === \"UPLOADED\");\n }\n\n return \n {children}\n \n}\n\nexport { DocumentsProvider }\nexport default DocumentsContext\n","const VERIFICATION_STATUSES = {\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n UPLOADED: 'UPLOADED',\n EMPTY: 'EMPTY'\n}\n\nconst BANK_OPTIONS = [\n { key: 'bofa', name: 'Bank Of America' },\n { key: 'chase', name: 'Chase' },\n { key: 'citi', name: 'Citi' },\n { key: 'citizens', name: 'Citizens Bank' },\n { key: 'eastern_bank', name: 'Eastern Bank' },\n { key: 'santander', name: 'Santander' },\n { key: 'usbank', name: 'US Bank' },\n { key: 'webster', name: 'Webster Bank' },\n { key: 'wells_fargo', name: 'Wells Fargo' },\n { key: 'td', name: 'TD Bank' },\n { key: 'hsbc', name: 'HSBC' },\n { key: 'other', name: 'Other' },\n]\n\nconst MANUAL_TITLE_OVERRIDES = [\n {\n title: \"ID DOCUMENT\", displayTitle: \"ID Document\"\n },\n {\n title: \"ID DOCUMENT(2ND FORM)\", displayTitle: \"ID Document (2nd Form)\"\n }\n]\n\nconst SLOT_TITLE_OVERRIDES = [\n { title: \"BANK/CC STATEMENT\", displayTitle: \"Bank/CC Statement\" },\n { title: \"EAD CARD (FORM I-766)\", displayTitle: \"EAD Card (Form I-766)\" },\n { title: \"SSN\", displayTitle: \"SSN Card\" },\n { title: \"SSN CARD\", displayTitle: \"SSN Card\" },\n { title: \"OTHER FORM OF ID\", displayTitle: \"Other Form of ID\" },\n { title: \"ID DOCUMENT\", displayTitle: \"ID Document\" },\n { title: \"ADDITIONAL ID DOCUMENT\", displayTitle: \"Additional ID Document\" },\n { title: \"REGISTRATION/TITLE APPLICATION\", displayTitle: \"Registration/Title Application\" }\n]\n\nconst parseSlotName = (title) => {\n const overrideTitle = SLOT_TITLE_OVERRIDES.find(override => override.title === title)\n if (overrideTitle) return overrideTitle.displayTitle\n return title.toLowerCase()\n}\n\nconst parseGroupTitle = (title) => {\n const overrideTitle = MANUAL_TITLE_OVERRIDES.find(override => override.title === title)\n if (overrideTitle) return overrideTitle.displayTitle\n return title.toLowerCase()\n}\n\nexport { VERIFICATION_STATUSES, BANK_OPTIONS, parseSlotName, parseGroupTitle }\n","import DocumentsContext from \"./DocumentsContext\";\nexport { DocumentsProvider } from \"./DocumentsContext\";\nexport { VERIFICATION_STATUSES, BANK_OPTIONS, parseGroupTitle, parseSlotName } from './documentConstants'\n\nexport default DocumentsContext\n","import { createContext } from 'react'\n\nconst PrimaryStageContext = createContext(false)\n\nexport default PrimaryStageContext\n","import React, { useContext } from 'react'\nimport DocumentsContext from '../DocumentsContext'\n\nexport const UploadButton = ({ id: slotId, children=\"Upload\", linkStyle }) => {\n const { actions: { createDocument } } = useContext(DocumentsContext)\n\n const handleChange = async (e) => {\n const file = e.target.files[0]\n\n if (!file) return\n\n createDocument(file, slotId)\n }\n\n return (\n \n )\n}\n\nexport default UploadButton\n","import UploadButton from './UploadButton';\n\nexport default UploadButton\n","import React, { useContext } from 'react'\nimport PrimaryStageContext from '../../PrimaryStageContext'\nimport UploadButton from '../../UploadButton'\n\nconst EmptySlot = ({ slot, onUploadClick }) => {\n const isPrimary = useContext(PrimaryStageContext)\n\n return (\n
    \n
    \n {slot.name.toLowerCase()}\n
    \n \n
    \n )\n}\n\nexport default EmptySlot\n","import React from 'react'\n\nconst FileLink = ({ className='', href, text, style}) => {\n return (\n \n {text}\n \n )\n}\n\nexport default FileLink\n","import React from 'react'\n\nconst Icon = ({ family='fas', icon='font-awesome', size=\"sm\", color=\"black\", className=''}) => {\n return (\n \n \n )\n}\n\nexport default Icon\n","import React from 'react'\n\nconst Button = ({ className='', children, onClick }) => {\n return (\n \n )\n}\n\nexport default Button","import React from 'react'\nimport Icon from '../../modules/BasicElements/Icon'\n\nconst StatusTag = ({ status, onDeleteButton }) => {\n \n let _statusTagView = <>\n\n if (status === \"UPLOADED\" || status === \"EMPTY\") {\n _statusTagView = \n \n \n\n }\n if (status === \"SUBMITTED\") {\n _statusTagView = <>\n
    IN REVIEW
    \n \n \n }\n if (status === \"REJECTED\") {\n _statusTagView = <>\n
    REJECTED
    \n \n \n }\n if (status === \"VERIFIED\") {\n _statusTagView = <>\n
    VERIFIED
    \n \n \n }\n\n return
    \n {_statusTagView}\n
    \n}\n\nexport default StatusTag\n","import React, { useMemo, useState, useContext } from 'react'\nimport FileLink from '../../modules/BasicElements/FileLink'\nimport Icon from '../../modules/BasicElements/Icon'\nimport Button from '../../modules/BasicElements/Button'\nimport StatusTag from './StatusTag'\n\nimport DocumentsContext from '../DocumentsContext'\n\n\n\nconst DocumentLinkPlaceholder = () => {\n return
    \n \n Uploading...\n
    \n\n
    \n}\n\nconst DocumentLink = ({ document, status, lbid, children }) => {\n const { actions: { deleteDocument } } = useContext(DocumentsContext)\n const [isPreviewing, setIsPreviewing] = useState(false)\n const [isConfirmationOpen, setConfirmationOpen] = useState(false)\n\n if (document.status === \"UPLOADING\") {\n return \n }\n\n const togglePreview = () => {\n setIsPreviewing(!isPreviewing)\n } \n\n const backgroundColor = useMemo(()=> {\n if(status == \"REJECTED\") return \"bg-red-100\"\n else if (status == \"VERIFIED\") return \"bg-green-200\"\n else return \"bg-gray-175\"\n }, [status])\n\n const deleteConfirmation = \n Are you sure you want to delete this file?\n
    \n deleteDocument(document.id)}\n >\n Yes, delete this file\n \n \n
    \n \n\n const source = `/loan_applications/${lbid}/documents/get_document/${document.id}`\n\n // this should be improved to accurately reflect the correct filetypes, hotfix for only pdf for now.\n const documentFileType = document.user_filename.split('.').slice(-1)[0]\n const isImageType = documentFileType !== 'pdf'\n const filePreview = isImageType ? (\n \n ) : (\n \n No preview available for non-image files\n \n )\n\n return (\n
    \n
    \n \n \n setConfirmationOpen(true)} />\n {children}\n
    \n {isConfirmationOpen && deleteConfirmation}\n {isPreviewing && filePreview}\n
    \n )\n}\n\nexport default DocumentLink\n","import DocumentLink from \"./DocumentLink\";\n\nexport default DocumentLink\n","import React from 'react'\nimport Icon from '../modules/BasicElements/Icon'\n\nconst Note = ({ children }) => {\n return (\n \n \n { children }\n \n )\n}\n\nexport default Note\n","import React, { useContext } from 'react'\nimport DocumentLink from '../../DocumentLink'\nimport DocumentsContext, { VERIFICATION_STATUSES, BANK_OPTIONS, parseSlotName } from '../../DocumentsContext'\n\nimport UploadButton from '../../UploadButton'\nimport Note from '../../Note'\nimport Button from '../../../modules/BasicElements/Button'\nimport _ from 'lodash'\n\n\nconst FilledSlot = ({ slot, includeTitle, additionalButtonText = \"Add File\" }) => {\n const {\n helpers: { getSlotDocuments },\n actions: { setCuringGroup }\n } = useContext(DocumentsContext)\n\n const hasAddFilesButton = slot.verification_status === VERIFICATION_STATUSES.UPLOADED || slot.verification_status === VERIFICATION_STATUSES.EMPTY\n const AddFilesButton = () =>\n \n {additionalButtonText}\n \n\n const renderTitleView = () => {\n const { collection_type, institution_name, name } = slot\n\n if (!includeTitle && !(collection_type === 'BANK STATEMENT')) return null\n\n const displayName = (collection_type === 'BANK STATEMENT')\n ? `${_.capitalize(BANK_OPTIONS.find(option => option.key === institution_name)?.name)} : ${parseSlotName(name)}`\n : parseSlotName(name)\n\n return (\n
    \n {displayName} \n {hasAddFilesButton && }\n
    \n )\n }\n\n const renderNoteView = () => {\n const is_rejected = slot.verification_status === VERIFICATION_STATUSES.REJECTED\n if (!is_rejected) return null\n\n return (\n \n {slot.external_note || \"Rejected, please re-upload\"}\n \n \n )\n\n }\n\n return (\n
    \n {renderTitleView()}\n {renderNoteView()}\n {getSlotDocuments(slot.id).map(doc => (\n \n ))}\n
    \n )\n}\n\nexport default FilledSlot\n","import DocumentSlot from \"./DocumentSlot.jsx\";\n\nexport default DocumentSlot\n","import React from 'react'\nimport EmptySlot from './EmptySlot'\nimport FilledSlot from './FilledSlot'\nimport { parseSlotName } from '../../DocumentsContext'\n\nconst DocumentSlot = ({ slot, title }) => {\n const slotTitle = title ? title : slot.name\n const displayTitle = parseSlotName(slotTitle)\n\n const renderSlot = () => {\n if (slot.documents.length === 0) return \n \n return \n }\n\n return renderSlot()\n}\n\nexport default DocumentSlot\n","import React, { useContext, useCallback } from 'react'\nimport DocumentsContext from '../../DocumentsContext'\n\nimport UploadButton from '../../UploadButton'\nimport Button from '../../../modules/BasicElements/Button'\n\nimport PrimaryStageContext from '../../PrimaryStageContext'\n\nconst EmptyGroup = ({ groupId, title, slots }) => {\n const isPrimary = useContext(PrimaryStageContext)\n const {\n state: { lbid }, actions: { setUploadGroup }, helpers: { isBankGroup }\n } = useContext(DocumentsContext)\n const isRecourse = slots[0].collection_type.toLowerCase() === 'recourse agreement'\n\n const renderDownloadTemplateButton = useCallback(() => (\n \n ), [lbid])\n\n const renderButtons = useCallback(() => {\n if (!isRecourse) {\n return (\n setUploadGroup(groupId)}\n >\n Upload\n \n )\n }\n\n return (\n
    \n {renderDownloadTemplateButton()}\n setUploadGroup(groupId)}\n >\n Upload\n \n
    \n )\n }, [groupId, isRecourse, renderDownloadTemplateButton, isPrimary, setUploadGroup])\n\n const renderTitle = () => {\n if (!isRecourse) return title\n\n return (\n <>\n {title}\n \n Please download, sign, and upload\n \n \n )\n }\n\n return (\n <>\n
    \n {renderTitle()}\n
    \n {renderButtons()}\n \n )\n}\n\nexport default EmptyGroup\n","import React, { useContext } from 'react'\n\nimport UploadButton from '../../UploadButton'\nimport DocumentsContext, { VERIFICATION_STATUSES } from '../../DocumentsContext'\nimport FilledSlot from '../DocumentSlot/FilledSlot'\n\nconst FilledGroup = ({ lbid, title, groupId, slots }) => {\n const {\n helpers: { hasDocuments, isLockedStatus },\n actions: { setUploadGroup }\n } = useContext(DocumentsContext)\n\n const hasSingleSlot = slots.length === 1\n\n const filledSlots = slots.filter(slot => hasDocuments(slot.id))\n const slotSections = filledSlots.map(slot =>\n \n )\n\n const renderAdditionalDocumentsLink = () => {\n const satisfiedSlots = slots.filter(slot => isLockedStatus(slot.verification_status))\n const hasVerified = satisfiedSlots.some(slot =>\n slot.verification_status === VERIFICATION_STATUSES.VERIFIED\n )\n\n const isGroupLocked = satisfiedSlots.length === 0 || hasVerified\n if (isGroupLocked) return null\n\n const additionalUploadButton = hasSingleSlot\n ? Add Document\n : (\n \n )\n\n return (\n
    \n \n Additional Documents\n {\"(optional)\"}\n \n {additionalUploadButton}\n
    \n )\n }\n\n const renderTitleView = () => {\n if (!hasSingleSlot) {\n return (\n \n {title}\n \n )\n }\n\n const isRejected = slots[0].verification_status === VERIFICATION_STATUSES.REJECTED\n const isVerified = slots[0].verification_status === VERIFICATION_STATUSES.VERIFIED\n const isLocked = isRejected || isVerified\n\n return (\n \n {title}\n {!isLocked && \n Add file\n }\n \n )\n }\n\n return (\n
    \n {renderTitleView()}\n {slotSections}\n {renderAdditionalDocumentsLink()}\n
    \n )\n}\n\nexport default FilledGroup\n","import DocumentGroup from \"./DocumentGroup\"\n\nexport default DocumentGroup\n","import React, { useContext } from 'react'\n\nimport DocumentSlot from '../DocumentSlot'\nimport EmptyGroup from './EmptyGroup'\nimport FilledGroup from './FilledGroup'\n\nimport DocumentsContext, { parseGroupTitle } from '../../DocumentsContext'\n\nconst hasMultipleRequiredSlots = (slots) => {\n return slots.filter(slot => slot.required).length > 1\n}\n\nconst DocumentGroup = ({ groupId, title }) => {\n const { helpers: { groupHasDocuments, getGroupSlots } } = useContext(DocumentsContext)\n const displayTitle = parseGroupTitle(title)\n\n const slots = getGroupSlots(groupId)\n\n const hasDocuments = groupHasDocuments(groupId)\n\n const singleRequiredView = hasDocuments\n ? \n : \n\n const multiRequiredView = (\n
    \n
    {displayTitle}
    \n {slots.map(slot => (\n \n ))}\n
    \n )\n\n const slot_view = hasMultipleRequiredSlots(slots) ? multiRequiredView : singleRequiredView\n\n return (\n
  • \n {slot_view}\n
  • \n )\n}\n\nexport default DocumentGroup\n","import DocumentsGroupList from './DocumentGroupList'\n\nexport default DocumentsGroupList","import React from 'react'\nimport DocumentGroup from './DocumentGroup'\n\nconst DocumentGroupList = ({ groups=[] }) => {\n\n return (\n
      \n {groups.map(({ id, name }) => (\n \n ))}\n
    \n )\n}\n\nexport default DocumentGroupList\n","import React from 'react'\n\nconst Section = ({ className, ...props }) => {\n return (\n
    \n {props.children}\n
    \n )\n}\n\nexport default Section\n","import React, { useContext, useMemo } from 'react'\n\nimport DocumentGroupList from '../DocumentGroupList'\nimport DocumentsContext from '../DocumentsContext/DocumentsContext.jsx'\nimport Section from '../../modules/BasicElements/Section.jsx'\nimport Icon from '../../modules/BasicElements/Icon'\n\nimport PrimaryStageContext from '../PrimaryStageContext'\n\nconst verifiedIfRequired = (slot) => {\n if (slot.required) return slot.verification_status === \"VERIFIED\"\n return true\n}\n\n\nconst isGroupVerified = (group) => {\n const { collection_slots: slots } = group\n const requiredSlotsVerified = slots.every(slot => verifiedIfRequired(slot))\n\n const groupRequiredVerified = slots[0].group_level_required\n ? slots.some(slot => slot.verification_status === \"VERIFIED\")\n : true\n\n return requiredSlotsVerified && groupRequiredVerified\n}\n\n\nconst DocumentStage = ({ stage }) => {\n const { key, title, description } = stage\n\n const { state: { groups } } = useContext(DocumentsContext)\n const isPrimary = useContext(PrimaryStageContext)\n\n const stageGroups = useMemo(() =>\n groups.filter(group => group.stage === key)\n , [groups, key])\n\n const isStageVerified = useMemo(() => {\n // other stage is never 'verified'\n if (key === \"OTHER\") return false\n\n return stageGroups.every(stage => isGroupVerified(stage))\n }, [stageGroups, key])\n\n const stageHeaderClass = \"text-3xl font-header\" \n\n if (stageGroups.length < 1) {\n return (\n
    \n

    \n {title}\n

    \n
    No documents required at this point
    \n
    \n )\n }\n\n return (\n
    \n

    \n {title}\n {isStageVerified &&\n \n Verified\n \n }\n

    \n
    {description}
    \n \n
    \n )\n}\n\nexport default DocumentStage\n","import React, { useContext } from 'react'\n\nimport DocumentsContext from '../DocumentsContext'\nimport DocumentStage from './DocumentStage'\n\nimport PrimaryStageContext from '../PrimaryStageContext'\n\nconst STAGES = [\n {\n title: 'Approval documents',\n key: \"APPROVAL\",\n description: 'These are required in order to request or send a loan contract'\n },\n {\n title: 'Funding documents',\n key: \"FINANCING\",\n description: 'These documents are required in order to request funding',\n secondaryDescription: 'We don’t need these documents quite yet but you can upload them if you like',\n },\n {\n title: 'Other documents',\n key: \"OTHER\",\n description: 'Have any other files you want to add?'\n },\n]\n\nconst DocumentStages = () => {\n \n const { state: { primary } } = useContext(DocumentsContext)\n\n let stageArray = STAGES\n if(primary === \"FINANCING\") {\n stageArray = [STAGES[1], STAGES[0], STAGES[2]]\n }\n\n return (\n
    {\n stageArray.map((stage, index) => (\n \n \n \n ))}\n
    \n )\n}\n\nexport default DocumentStages\n","import DocumentStages from \"./DocumentStages\"\n\nexport default DocumentStages\n","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {\n ;\n }\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\nimport _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\nimport { useState, useCallback } from 'react';\nvar _excluded = [\"defaultInputValue\", \"defaultMenuIsOpen\", \"defaultValue\", \"inputValue\", \"menuIsOpen\", \"onChange\", \"onInputChange\", \"onMenuClose\", \"onMenuOpen\", \"value\"];\n\nfunction useStateManager(_ref) {\n var _ref$defaultInputValu = _ref.defaultInputValue,\n defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,\n _ref$defaultMenuIsOpe = _ref.defaultMenuIsOpen,\n defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe,\n _ref$defaultValue = _ref.defaultValue,\n defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue,\n propsInputValue = _ref.inputValue,\n propsMenuIsOpen = _ref.menuIsOpen,\n propsOnChange = _ref.onChange,\n propsOnInputChange = _ref.onInputChange,\n propsOnMenuClose = _ref.onMenuClose,\n propsOnMenuOpen = _ref.onMenuOpen,\n propsValue = _ref.value,\n restSelectProps = _objectWithoutProperties(_ref, _excluded);\n\n var _useState = useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),\n _useState2 = _slicedToArray(_useState, 2),\n stateInputValue = _useState2[0],\n setStateInputValue = _useState2[1];\n\n var _useState3 = useState(propsMenuIsOpen !== undefined ? propsMenuIsOpen : defaultMenuIsOpen),\n _useState4 = _slicedToArray(_useState3, 2),\n stateMenuIsOpen = _useState4[0],\n setStateMenuIsOpen = _useState4[1];\n\n var _useState5 = useState(propsValue !== undefined ? propsValue : defaultValue),\n _useState6 = _slicedToArray(_useState5, 2),\n stateValue = _useState6[0],\n setStateValue = _useState6[1];\n\n var onChange = useCallback(function (value, actionMeta) {\n if (typeof propsOnChange === 'function') {\n propsOnChange(value, actionMeta);\n }\n\n setStateValue(value);\n }, [propsOnChange]);\n var onInputChange = useCallback(function (value, actionMeta) {\n var newValue;\n\n if (typeof propsOnInputChange === 'function') {\n newValue = propsOnInputChange(value, actionMeta);\n }\n\n setStateInputValue(newValue !== undefined ? newValue : value);\n }, [propsOnInputChange]);\n var onMenuOpen = useCallback(function () {\n if (typeof propsOnMenuOpen === 'function') {\n propsOnMenuOpen();\n }\n\n setStateMenuIsOpen(true);\n }, [propsOnMenuOpen]);\n var onMenuClose = useCallback(function () {\n if (typeof propsOnMenuClose === 'function') {\n propsOnMenuClose();\n }\n\n setStateMenuIsOpen(false);\n }, [propsOnMenuClose]);\n var inputValue = propsInputValue !== undefined ? propsInputValue : stateInputValue;\n var menuIsOpen = propsMenuIsOpen !== undefined ? propsMenuIsOpen : stateMenuIsOpen;\n var value = propsValue !== undefined ? propsValue : stateValue;\n return _objectSpread(_objectSpread({}, restSelectProps), {}, {\n inputValue: inputValue,\n menuIsOpen: menuIsOpen,\n onChange: onChange,\n onInputChange: onInputChange,\n onMenuClose: onMenuClose,\n onMenuOpen: onMenuOpen,\n value: value\n });\n}\n\nexport { useStateManager as u };","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };","var e = \"-ms-\";\nvar r = \"-moz-\";\nvar a = \"-webkit-\";\nvar n = \"comm\";\nvar c = \"rule\";\nvar s = \"decl\";\nvar t = \"@page\";\nvar u = \"@media\";\nvar i = \"@import\";\nvar f = \"@charset\";\nvar o = \"@viewport\";\nvar l = \"@supports\";\nvar v = \"@document\";\nvar p = \"@namespace\";\nvar h = \"@keyframes\";\nvar b = \"@font-face\";\nvar w = \"@counter-style\";\nvar d = \"@font-feature-values\";\nvar $ = Math.abs;\nvar k = String.fromCharCode;\nvar g = Object.assign;\n\nfunction m(e, r) {\n return C(e, 0) ^ 45 ? (((r << 2 ^ C(e, 0)) << 2 ^ C(e, 1)) << 2 ^ C(e, 2)) << 2 ^ C(e, 3) : 0;\n}\n\nfunction x(e) {\n return e.trim();\n}\n\nfunction y(e, r) {\n return (e = r.exec(e)) ? e[0] : e;\n}\n\nfunction j(e, r, a) {\n return e.replace(r, a);\n}\n\nfunction z(e, r) {\n return e.indexOf(r);\n}\n\nfunction C(e, r) {\n return e.charCodeAt(r) | 0;\n}\n\nfunction O(e, r, a) {\n return e.slice(r, a);\n}\n\nfunction A(e) {\n return e.length;\n}\n\nfunction M(e) {\n return e.length;\n}\n\nfunction S(e, r) {\n return r.push(e), e;\n}\n\nfunction q(e, r) {\n return e.map(r).join(\"\");\n}\n\nvar B = 1;\nvar D = 1;\nvar E = 0;\nvar F = 0;\nvar G = 0;\nvar H = \"\";\n\nfunction I(e, r, a, n, c, s, t) {\n return {\n value: e,\n root: r,\n parent: a,\n type: n,\n props: c,\n children: s,\n line: B,\n column: D,\n length: t,\n return: \"\"\n };\n}\n\nfunction J(e, r) {\n return g(I(\"\", null, null, \"\", null, null, 0), e, {\n length: -e.length\n }, r);\n}\n\nfunction K() {\n return G;\n}\n\nfunction L() {\n G = F > 0 ? C(H, --F) : 0;\n if (D--, G === 10) D = 1, B--;\n return G;\n}\n\nfunction N() {\n G = F < E ? C(H, F++) : 0;\n if (D++, G === 10) D = 1, B++;\n return G;\n}\n\nfunction P() {\n return C(H, F);\n}\n\nfunction Q() {\n return F;\n}\n\nfunction R(e, r) {\n return O(H, e, r);\n}\n\nfunction T(e) {\n switch (e) {\n case 0:\n case 9:\n case 10:\n case 13:\n case 32:\n return 5;\n\n case 33:\n case 43:\n case 44:\n case 47:\n case 62:\n case 64:\n case 126:\n case 59:\n case 123:\n case 125:\n return 4;\n\n case 58:\n return 3;\n\n case 34:\n case 39:\n case 40:\n case 91:\n return 2;\n\n case 41:\n case 93:\n return 1;\n }\n\n return 0;\n}\n\nfunction U(e) {\n return B = D = 1, E = A(H = e), F = 0, [];\n}\n\nfunction V(e) {\n return H = \"\", e;\n}\n\nfunction W(e) {\n return x(R(F - 1, ee(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));\n}\n\nfunction X(e) {\n return V(Z(U(e)));\n}\n\nfunction Y(e) {\n while (G = P()) {\n if (G < 33) N();else break;\n }\n\n return T(e) > 2 || T(G) > 3 ? \"\" : \" \";\n}\n\nfunction Z(e) {\n while (N()) {\n switch (T(G)) {\n case 0:\n S(ae(F - 1), e);\n break;\n\n case 2:\n S(W(G), e);\n break;\n\n default:\n S(k(G), e);\n }\n }\n\n return e;\n}\n\nfunction _(e, r) {\n while (--r && N()) {\n if (G < 48 || G > 102 || G > 57 && G < 65 || G > 70 && G < 97) break;\n }\n\n return R(e, Q() + (r < 6 && P() == 32 && N() == 32));\n}\n\nfunction ee(e) {\n while (N()) {\n switch (G) {\n case e:\n return F;\n\n case 34:\n case 39:\n if (e !== 34 && e !== 39) ee(G);\n break;\n\n case 40:\n if (e === 41) ee(e);\n break;\n\n case 92:\n N();\n break;\n }\n }\n\n return F;\n}\n\nfunction re(e, r) {\n while (N()) {\n if (e + G === 47 + 10) break;else if (e + G === 42 + 42 && P() === 47) break;\n }\n\n return \"/*\" + R(r, F - 1) + \"*\" + k(e === 47 ? e : N());\n}\n\nfunction ae(e) {\n while (!T(P())) {\n N();\n }\n\n return R(e, F);\n}\n\nfunction ne(e) {\n return V(ce(\"\", null, null, null, [\"\"], e = U(e), 0, [0], e));\n}\n\nfunction ce(e, r, a, n, c, s, t, u, i) {\n var f = 0;\n var o = 0;\n var l = t;\n var v = 0;\n var p = 0;\n var h = 0;\n var b = 1;\n var w = 1;\n var d = 1;\n var $ = 0;\n var g = \"\";\n var m = c;\n var x = s;\n var y = n;\n var O = g;\n\n while (w) {\n switch (h = $, $ = N()) {\n case 40:\n if (h != 108 && C(O, l - 1) == 58) {\n if (z(O += j(W($), \"&\", \"&\\f\"), \"&\\f\") != -1) d = -1;\n break;\n }\n\n case 34:\n case 39:\n case 91:\n O += W($);\n break;\n\n case 9:\n case 10:\n case 13:\n case 32:\n O += Y(h);\n break;\n\n case 92:\n O += _(Q() - 1, 7);\n continue;\n\n case 47:\n switch (P()) {\n case 42:\n case 47:\n S(te(re(N(), Q()), r, a), i);\n break;\n\n default:\n O += \"/\";\n }\n\n break;\n\n case 123 * b:\n u[f++] = A(O) * d;\n\n case 125 * b:\n case 59:\n case 0:\n switch ($) {\n case 0:\n case 125:\n w = 0;\n\n case 59 + o:\n if (p > 0 && A(O) - l) S(p > 32 ? ue(O + \";\", n, a, l - 1) : ue(j(O, \" \", \"\") + \";\", n, a, l - 2), i);\n break;\n\n case 59:\n O += \";\";\n\n default:\n S(y = se(O, r, a, f, o, c, u, g, m = [], x = [], l), s);\n if ($ === 123) if (o === 0) ce(O, r, y, y, m, s, l, u, x);else switch (v === 99 && C(O, 3) === 110 ? 100 : v) {\n case 100:\n case 109:\n case 115:\n ce(e, y, y, n && S(se(e, y, y, 0, 0, c, u, g, c, m = [], l), x), c, x, l, u, n ? m : x);\n break;\n\n default:\n ce(O, y, y, y, [\"\"], x, 0, u, x);\n }\n }\n\n f = o = p = 0, b = d = 1, g = O = \"\", l = t;\n break;\n\n case 58:\n l = 1 + A(O), p = h;\n\n default:\n if (b < 1) if ($ == 123) --b;else if ($ == 125 && b++ == 0 && L() == 125) continue;\n\n switch (O += k($), $ * b) {\n case 38:\n d = o > 0 ? 1 : (O += \"\\f\", -1);\n break;\n\n case 44:\n u[f++] = (A(O) - 1) * d, d = 1;\n break;\n\n case 64:\n if (P() === 45) O += W(N());\n v = P(), o = l = A(g = O += ae(Q())), $++;\n break;\n\n case 45:\n if (h === 45 && A(O) == 2) b = 0;\n }\n\n }\n }\n\n return s;\n}\n\nfunction se(e, r, a, n, s, t, u, i, f, o, l) {\n var v = s - 1;\n var p = s === 0 ? t : [\"\"];\n var h = M(p);\n\n for (var b = 0, w = 0, d = 0; b < n; ++b) {\n for (var k = 0, g = O(e, v + 1, v = $(w = u[b])), m = e; k < h; ++k) {\n if (m = x(w > 0 ? p[k] + \" \" + g : j(g, /&\\f/g, p[k]))) f[d++] = m;\n }\n }\n\n return I(e, r, a, s === 0 ? c : i, f, o, l);\n}\n\nfunction te(e, r, a) {\n return I(e, r, a, n, k(K()), O(e, 2, -2), 0);\n}\n\nfunction ue(e, r, a, n) {\n return I(e, r, a, s, O(e, 0, n), O(e, n + 1, -1), n);\n}\n\nfunction ie(n, c, s) {\n switch (m(n, c)) {\n case 5103:\n return a + \"print-\" + n + n;\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921:\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005:\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855:\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return a + n + n;\n\n case 4789:\n return r + n + n;\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return a + n + r + n + e + n + n;\n\n case 5936:\n switch (C(n, c + 11)) {\n case 114:\n return a + n + e + j(n, /[svh]\\w+-[tblr]{2}/, \"tb\") + n;\n\n case 108:\n return a + n + e + j(n, /[svh]\\w+-[tblr]{2}/, \"tb-rl\") + n;\n\n case 45:\n return a + n + e + j(n, /[svh]\\w+-[tblr]{2}/, \"lr\") + n;\n }\n\n case 6828:\n case 4268:\n case 2903:\n return a + n + e + n + n;\n\n case 6165:\n return a + n + e + \"flex-\" + n + n;\n\n case 5187:\n return a + n + j(n, /(\\w+).+(:[^]+)/, a + \"box-$1$2\" + e + \"flex-$1$2\") + n;\n\n case 5443:\n return a + n + e + \"flex-item-\" + j(n, /flex-|-self/g, \"\") + (!y(n, /flex-|baseline/) ? e + \"grid-row-\" + j(n, /flex-|-self/g, \"\") : \"\") + n;\n\n case 4675:\n return a + n + e + \"flex-line-pack\" + j(n, /align-content|flex-|-self/g, \"\") + n;\n\n case 5548:\n return a + n + e + j(n, \"shrink\", \"negative\") + n;\n\n case 5292:\n return a + n + e + j(n, \"basis\", \"preferred-size\") + n;\n\n case 6060:\n return a + \"box-\" + j(n, \"-grow\", \"\") + a + n + e + j(n, \"grow\", \"positive\") + n;\n\n case 4554:\n return a + j(n, /([^-])(transform)/g, \"$1\" + a + \"$2\") + n;\n\n case 6187:\n return j(j(j(n, /(zoom-|grab)/, a + \"$1\"), /(image-set)/, a + \"$1\"), n, \"\") + n;\n\n case 5495:\n case 3959:\n return j(n, /(image-set\\([^]*)/, a + \"$1\" + \"$`$1\");\n\n case 4968:\n return j(j(n, /(.+:)(flex-)?(.*)/, a + \"box-pack:$3\" + e + \"flex-pack:$3\"), /s.+-b[^;]+/, \"justify\") + a + n + n;\n\n case 4200:\n if (!y(n, /flex-|baseline/)) return e + \"grid-column-align\" + O(n, c) + n;\n break;\n\n case 2592:\n case 3360:\n return e + j(n, \"template-\", \"\") + n;\n\n case 4384:\n case 3616:\n if (s && s.some(function (e, r) {\n return c = r, y(e.props, /grid-\\w+-end/);\n })) {\n return ~z(n + (s = s[c].value), \"span\") ? n : e + j(n, \"-start\", \"\") + n + e + \"grid-row-span:\" + (~z(s, \"span\") ? y(s, /\\d+/) : +y(s, /\\d+/) - +y(n, /\\d+/)) + \";\";\n }\n\n return e + j(n, \"-start\", \"\") + n;\n\n case 4896:\n case 4128:\n return s && s.some(function (e) {\n return y(e.props, /grid-\\w+-start/);\n }) ? n : e + j(j(n, \"-end\", \"-span\"), \"span \", \"\") + n;\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return j(n, /(.+)-inline(.+)/, a + \"$1$2\") + n;\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n if (A(n) - 1 - c > 6) switch (C(n, c + 1)) {\n case 109:\n if (C(n, c + 4) !== 45) break;\n\n case 102:\n return j(n, /(.+:)(.+)-([^]+)/, \"$1\" + a + \"$2-$3\" + \"$1\" + r + (C(n, c + 3) == 108 ? \"$3\" : \"$2-$3\")) + n;\n\n case 115:\n return ~z(n, \"stretch\") ? ie(j(n, \"stretch\", \"fill-available\"), c, s) + n : n;\n }\n break;\n\n case 5152:\n case 5920:\n return j(n, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (r, a, c, s, t, u, i) {\n return e + a + \":\" + c + i + (s ? e + a + \"-span:\" + (t ? u : +u - +c) + i : \"\") + n;\n });\n\n case 4949:\n if (C(n, c + 6) === 121) return j(n, \":\", \":\" + a) + n;\n break;\n\n case 6444:\n switch (C(n, C(n, 14) === 45 ? 18 : 11)) {\n case 120:\n return j(n, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, \"$1\" + a + (C(n, 14) === 45 ? \"inline-\" : \"\") + \"box$3\" + \"$1\" + a + \"$2$3\" + \"$1\" + e + \"$2box$3\") + n;\n\n case 100:\n return j(n, \":\", \":\" + e) + n;\n }\n\n break;\n\n case 5719:\n case 2647:\n case 2135:\n case 3927:\n case 2391:\n return j(n, \"scroll-\", \"scroll-snap-\") + n;\n }\n\n return n;\n}\n\nfunction fe(e, r) {\n var a = \"\";\n var n = M(e);\n\n for (var c = 0; c < n; c++) {\n a += r(e[c], c, e, r) || \"\";\n }\n\n return a;\n}\n\nfunction oe(e, r, a, t) {\n switch (e.type) {\n case i:\n case s:\n return e.return = e.return || e.value;\n\n case n:\n return \"\";\n\n case h:\n return e.return = e.value + \"{\" + fe(e.children, t) + \"}\";\n\n case c:\n e.value = e.props.join(\",\");\n }\n\n return A(a = fe(e.children, t)) ? e.return = e.value + \"{\" + a + \"}\" : \"\";\n}\n\nfunction le(e) {\n var r = M(e);\n return function (a, n, c, s) {\n var t = \"\";\n\n for (var u = 0; u < r; u++) {\n t += e[u](a, n, c, s) || \"\";\n }\n\n return t;\n };\n}\n\nfunction ve(e) {\n return function (r) {\n if (!r.root) if (r = r.return) e(r);\n };\n}\n\nfunction pe(n, t, u, i) {\n if (n.length > -1) if (!n.return) switch (n.type) {\n case s:\n n.return = ie(n.value, n.length, u);\n return;\n\n case h:\n return fe([J(n, {\n value: j(n.value, \"@\", \"@\" + a)\n })], i);\n\n case c:\n if (n.length) return q(n.props, function (c) {\n switch (y(c, /(::plac\\w+|:read-\\w+)/)) {\n case \":read-only\":\n case \":read-write\":\n return fe([J(n, {\n props: [j(c, /:(read-\\w+)/, \":\" + r + \"$1\")]\n })], i);\n\n case \"::placeholder\":\n return fe([J(n, {\n props: [j(c, /:(plac\\w+)/, \":\" + a + \"input-$1\")]\n }), J(n, {\n props: [j(c, /:(plac\\w+)/, \":\" + r + \"$1\")]\n }), J(n, {\n props: [j(c, /:(plac\\w+)/, e + \"input-$1\")]\n })], i);\n }\n\n return \"\";\n });\n }\n}\n\nfunction he(e) {\n switch (e.type) {\n case c:\n e.props = e.props.map(function (r) {\n return q(X(r), function (r, a, n) {\n switch (C(r, 0)) {\n case 12:\n return O(r, 1, A(r));\n\n case 0:\n case 40:\n case 43:\n case 62:\n case 126:\n return r;\n\n case 58:\n if (n[++a] === \"global\") n[a] = \"\", n[++a] = \"\\f\" + O(n[a], a = 1, -1);\n\n case 32:\n return a === 1 ? \"\" : r;\n\n default:\n switch (a) {\n case 0:\n e = r;\n return M(n) > 1 ? \"\" : r;\n\n case a = M(n) - 1:\n case 2:\n return a === 2 ? r + e + e : r + e;\n\n default:\n return r;\n }\n\n }\n });\n });\n }\n}\n\nexport { f as CHARSET, n as COMMENT, w as COUNTER_STYLE, s as DECLARATION, v as DOCUMENT, b as FONT_FACE, d as FONT_FEATURE_VALUES, i as IMPORT, h as KEYFRAMES, u as MEDIA, r as MOZ, e as MS, p as NAMESPACE, t as PAGE, c as RULESET, l as SUPPORTS, o as VIEWPORT, a as WEBKIT, $ as abs, U as alloc, S as append, g as assign, Q as caret, K as char, G as character, H as characters, C as charat, D as column, q as combine, te as comment, re as commenter, ne as compile, J as copy, V as dealloc, ue as declaration, W as delimit, ee as delimiter, _ as escaping, k as from, m as hash, ae as identifier, z as indexof, E as length, B as line, y as match, le as middleware, he as namespace, N as next, I as node, ce as parse, P as peek, F as position, ie as prefix, pe as prefixer, L as prev, j as replace, se as ruleset, ve as rulesheet, fe as serialize, M as sizeof, R as slice, oe as stringify, A as strlen, O as substr, T as token, X as tokenize, Z as tokenizer, x as trim, Y as whitespace };","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, COMMENT, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\n\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\n\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule' || cache.compat) return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses) {\n var isNested = element.parent === children[0]; // in nested rules comments become children of the \"auto-inserted\" rule\n //\n // considering this input:\n // .a {\n // .b /* comm */ {}\n // color: hotpink;\n // }\n // we get output corresponding to this:\n // .a {\n // & {\n // /* comm */\n // color: hotpink;\n // }\n // .b {}\n // }\n\n var commentContainer = isNested ? children[0].children : // global rule at the root level\n children;\n\n for (var i = commentContainer.length - 1; i >= 0; i--) {\n var node = commentContainer[i];\n\n if (node.line < element.line) {\n break;\n } // it is quite weird but comments are *usually* put at `column: element.column - 1`\n // so we seek *from the end* for the node that is earlier than the rule's `element` and check that\n // this will also match inputs like this:\n // .a {\n // /* comm */\n // .b {}\n // }\n //\n // but that is fine\n //\n // it would be the easiest to change the placement of the comment to be the first child of the rule:\n // .a {\n // .b { /* comm */ }\n // }\n // with such inputs we wouldn't have to search for the comment at all\n // TODO: consider changing this comment placement in the next major version\n\n\n if (node.column < element.column) {\n if (isIgnoringComment(node)) {\n return;\n }\n\n break;\n }\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n/* eslint-disable no-fallthrough */\n\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' '); // $FlowFixMe\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport default createCache;","var isBrowser = \"object\" !== 'undefined';\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\n\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\n\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n var maybeStyles = cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport default murmur2;","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\nexport default unitlessKeys;","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error(noComponentSelectorMessage);\n }\n\n return interpolation;\n }\n\n switch (_typeof(interpolation)) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (_typeof(value) !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\n\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && _typeof(args[0]) === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };","import * as React from 'react';\nimport { useLayoutEffect } from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || useLayoutEffect;\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { createContext, useContext, forwardRef, createElement, Fragment } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nvar hasOwnProperty = {}.hasOwnProperty;\nvar EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext';\n}\n\nvar CacheProvider = EmotionCacheContext.Provider;\n\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext';\n}\n\nvar useTheme = function useTheme() {\n return useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || _typeof(mergedTheme) !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || _typeof(theme) !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\n\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\n\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = useContext(ThemeContext);\n return /*#__PURE__*/createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar getLastPart = function getLastPart(functionName) {\n // The match may be something like 'Object.createEmotionProps' or\n // 'Loader.prototype.render'\n var parts = functionName.split('.');\n return parts[parts.length - 1];\n};\n\nvar getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {\n // V8\n var match = /^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line);\n if (match) return getLastPart(match[1]); // Safari / Firefox\n\n match = /^([A-Za-z0-9$.]+)@/.exec(line);\n if (match) return getLastPart(match[1]);\n return undefined;\n};\n\nvar internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS\n// identifiers, thus we only need to replace what is a valid character for JS,\n// but not for CSS.\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {\n if (!stackTrace) return undefined;\n var lines = stackTrace.split('\\n');\n\n for (var i = 0; i < lines.length; i++) {\n var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just \"Error\"\n\n if (!functionName) continue; // If we reach one of these, we have gone too far and should quit\n\n if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an\n // uppercase letter\n\n if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);\n }\n\n return undefined;\n};\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\n\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when\n // the label hasn't already been computed\n\n if (process.env.NODE_ENV !== 'production' && !!props.css && (_typeof(props.css) !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {\n var label = getLabelFromStackTrace(new Error().stack);\n if (label) newProps[labelPropName] = label;\n }\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n var rules = useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, useContext(ThemeContext));\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/createElement(WrappedComponent, newProps));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nexport { CacheProvider as C, Emotion as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwnProperty as h, useTheme as u, withEmotionCache as w };","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { createElement, useContext, useRef, Fragment } from 'react';\nimport '@emotion/cache';\nimport { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext } from './emotion-element-6a883da9.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-6a883da9.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport 'hoist-non-react-statics';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nvar pkg = {\n name: \"@emotion/react\",\n version: \"11.10.5\",\n main: \"dist/emotion-react.cjs.js\",\n module: \"dist/emotion-react.esm.js\",\n browser: {\n \"./dist/emotion-react.esm.js\": \"./dist/emotion-react.browser.esm.js\"\n },\n exports: {\n \".\": {\n module: {\n worker: \"./dist/emotion-react.worker.esm.js\",\n browser: \"./dist/emotion-react.browser.esm.js\",\n \"default\": \"./dist/emotion-react.esm.js\"\n },\n \"default\": \"./dist/emotion-react.cjs.js\"\n },\n \"./jsx-runtime\": {\n module: {\n worker: \"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js\",\n browser: \"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\",\n \"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js\"\n },\n \"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js\"\n },\n \"./_isolated-hnrs\": {\n module: {\n worker: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js\",\n browser: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js\",\n \"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js\"\n },\n \"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js\"\n },\n \"./jsx-dev-runtime\": {\n module: {\n worker: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js\",\n browser: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js\",\n \"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js\"\n },\n \"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js\"\n },\n \"./package.json\": \"./package.json\",\n \"./types/css-prop\": \"./types/css-prop.d.ts\",\n \"./macro\": \"./macro.js\"\n },\n types: \"types/index.d.ts\",\n files: [\"src\", \"dist\", \"jsx-runtime\", \"jsx-dev-runtime\", \"_isolated-hnrs\", \"types/*.d.ts\", \"macro.js\", \"macro.d.ts\", \"macro.js.flow\"],\n sideEffects: false,\n author: \"Emotion Contributors\",\n license: \"MIT\",\n scripts: {\n \"test:typescript\": \"dtslint types\"\n },\n dependencies: {\n \"@babel/runtime\": \"^7.18.3\",\n \"@emotion/babel-plugin\": \"^11.10.5\",\n \"@emotion/cache\": \"^11.10.5\",\n \"@emotion/serialize\": \"^1.1.1\",\n \"@emotion/use-insertion-effect-with-fallbacks\": \"^1.0.0\",\n \"@emotion/utils\": \"^1.2.0\",\n \"@emotion/weak-memoize\": \"^0.3.0\",\n \"hoist-non-react-statics\": \"^3.3.1\"\n },\n peerDependencies: {\n \"@babel/core\": \"^7.0.0\",\n react: \">=16.8.0\"\n },\n peerDependenciesMeta: {\n \"@babel/core\": {\n optional: true\n },\n \"@types/react\": {\n optional: true\n }\n },\n devDependencies: {\n \"@babel/core\": \"^7.18.5\",\n \"@definitelytyped/dtslint\": \"0.0.112\",\n \"@emotion/css\": \"11.10.5\",\n \"@emotion/css-prettifier\": \"1.1.1\",\n \"@emotion/server\": \"11.10.0\",\n \"@emotion/styled\": \"11.10.5\",\n \"html-tag-names\": \"^1.1.2\",\n react: \"16.14.0\",\n \"svg-tag-names\": \"^1.1.1\",\n typescript: \"^4.5.5\"\n },\n repository: \"https://github.com/emotion-js/emotion/tree/main/packages/react\",\n publishConfig: {\n access: \"public\"\n },\n \"umd:main\": \"dist/emotion-react.umd.min.js\",\n preconstruct: {\n entrypoints: [\"./index.js\", \"./jsx-runtime.js\", \"./jsx-dev-runtime.js\", \"./_isolated-hnrs.js\"],\n umdName: \"emotionReact\",\n exports: {\n envConditions: [\"browser\", \"worker\"],\n extra: {\n \"./types/css-prop\": \"./types/css-prop.d.ts\",\n \"./macro\": \"./macro.js\"\n }\n }\n }\n};\n\nvar jsx = function jsx(type, props) {\n var args = arguments;\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n } // $FlowFixMe\n\n\n return createElement.apply(null, createElementArgArray);\n};\n\nvar warnedAboutCssPropForGlobal = false; // maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n props.className || props.css)) {\n console.error(\"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\");\n warnedAboutCssPropForGlobal = true;\n }\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, useContext(ThemeContext)); // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n var sheetRef = useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false; // $FlowFixMe\n\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal';\n}\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nvar keyframes = function keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name; // $FlowFixMe\n\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (_typeof(arg)) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {\n console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.');\n }\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n var rules = useInsertionEffectAlwaysWithSyncFallback(function () {\n for (var i = 0; i < serializedArr.length; i++) {\n var res = insertStyles(cache, serializedArr[i], false);\n }\n });\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames';\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var isBrowser = \"object\" !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked\n\n var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';\n\n if (isBrowser && !isTestEnv) {\n // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later\n var globalContext = // $FlowIgnore\n typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef\n : isBrowser ? window : global;\n var globalKey = \"__EMOTION_REACT_\" + pkg.version.split('.')[0] + \"__\";\n\n if (globalContext[globalKey]) {\n console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');\n }\n\n globalContext[globalKey] = true;\n }\n}\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };","var _excluded = [\"alignment\", \"allowedPlacements\", \"autoAlignment\"],\n _excluded2 = [\"mainAxis\", \"crossAxis\", \"fallbackPlacements\", \"fallbackStrategy\", \"flipAlignment\"],\n _excluded3 = [\"strategy\"],\n _excluded4 = [\"mainAxis\", \"crossAxis\", \"limiter\"],\n _excluded5 = [\"apply\"];\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\n\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\n\nfunction getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'x' : 'y';\n}\n\nfunction getLengthFromAxis(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n var reference = _ref.reference,\n floating = _ref.floating;\n var commonX = reference.x + reference.width / 2 - floating.width / 2;\n var commonY = reference.y + reference.height / 2 - floating.height / 2;\n var mainAxis = getMainAxisFromPlacement(placement);\n var length = getLengthFromAxis(mainAxis);\n var commonAlign = reference[length] / 2 - floating[length] / 2;\n var side = getSide(placement);\n var isVertical = mainAxis === 'x';\n var coords;\n\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n\n switch (getAlignment(placement)) {\n case 'start':\n coords[mainAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n\n case 'end':\n coords[mainAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n\n return coords;\n}\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain positioning strategy.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\n\n\nvar computePosition = /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(reference, floating, config) {\n var _config$placement, placement, _config$strategy, strategy, _config$middleware, middleware, platform, validMiddleware, rtl, rects, _computeCoordsFromPla, x, y, statefulPlacement, middlewareData, resetCount, i, _validMiddleware$i, name, fn, _yield$fn, nextX, nextY, data, reset, _computeCoordsFromPla2;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _config$placement = config.placement, placement = _config$placement === void 0 ? 'bottom' : _config$placement, _config$strategy = config.strategy, strategy = _config$strategy === void 0 ? 'absolute' : _config$strategy, _config$middleware = config.middleware, middleware = _config$middleware === void 0 ? [] : _config$middleware, platform = config.platform;\n validMiddleware = middleware.filter(Boolean);\n _context.next = 4;\n return platform.isRTL == null ? void 0 : platform.isRTL(floating);\n\n case 4:\n rtl = _context.sent;\n\n if (!(process.env.NODE_ENV !== \"production\")) {\n _context.next = 10;\n break;\n }\n\n if (platform == null) {\n console.error(['Floating UI: `platform` property was not passed to config. If you', 'want to use Floating UI on the web, install @floating-ui/dom', 'instead of the /core package. Otherwise, you can create your own', '`platform`: https://floating-ui.com/docs/platform'].join(' '));\n }\n\n if (!(validMiddleware.filter(function (_ref) {\n var name = _ref.name;\n return name === 'autoPlacement' || name === 'flip';\n }).length > 1)) {\n _context.next = 9;\n break;\n }\n\n throw new Error(['Floating UI: duplicate `flip` and/or `autoPlacement` middleware', 'detected. This will lead to an infinite loop. Ensure only one of', 'either has been passed to the `middleware` array.'].join(' '));\n\n case 9:\n if (!reference || !floating) {\n console.error(['Floating UI: The reference and/or floating element was not defined', 'when `computePosition()` was called. Ensure that both elements have', 'been created and can be measured.'].join(' '));\n }\n\n case 10:\n _context.next = 12;\n return platform.getElementRects({\n reference: reference,\n floating: floating,\n strategy: strategy\n });\n\n case 12:\n rects = _context.sent;\n _computeCoordsFromPla = computeCoordsFromPlacement(rects, placement, rtl), x = _computeCoordsFromPla.x, y = _computeCoordsFromPla.y;\n statefulPlacement = placement;\n middlewareData = {};\n resetCount = 0;\n i = 0;\n\n case 18:\n if (!(i < validMiddleware.length)) {\n _context.next = 52;\n break;\n }\n\n _validMiddleware$i = validMiddleware[i], name = _validMiddleware$i.name, fn = _validMiddleware$i.fn;\n _context.next = 22;\n return fn({\n x: x,\n y: y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy: strategy,\n middlewareData: middlewareData,\n rects: rects,\n platform: platform,\n elements: {\n reference: reference,\n floating: floating\n }\n });\n\n case 22:\n _yield$fn = _context.sent;\n nextX = _yield$fn.x;\n nextY = _yield$fn.y;\n data = _yield$fn.data;\n reset = _yield$fn.reset;\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = _objectSpread(_objectSpread({}, middlewareData), {}, _defineProperty({}, name, _objectSpread(_objectSpread({}, middlewareData[name]), data)));\n\n if (process.env.NODE_ENV !== \"production\") {\n if (resetCount > 50) {\n console.warn(['Floating UI: The middleware lifecycle appears to be running in an', 'infinite loop. This is usually caused by a `reset` continually', 'being returned without a break condition.'].join(' '));\n }\n }\n\n if (!(reset && resetCount <= 50)) {\n _context.next = 49;\n break;\n }\n\n resetCount++;\n\n if (!(_typeof(reset) === 'object')) {\n _context.next = 47;\n break;\n }\n\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n\n if (!reset.rects) {\n _context.next = 44;\n break;\n }\n\n if (!(reset.rects === true)) {\n _context.next = 42;\n break;\n }\n\n _context.next = 39;\n return platform.getElementRects({\n reference: reference,\n floating: floating,\n strategy: strategy\n });\n\n case 39:\n _context.t0 = _context.sent;\n _context.next = 43;\n break;\n\n case 42:\n _context.t0 = reset.rects;\n\n case 43:\n rects = _context.t0;\n\n case 44:\n _computeCoordsFromPla2 = computeCoordsFromPlacement(rects, statefulPlacement, rtl);\n x = _computeCoordsFromPla2.x;\n y = _computeCoordsFromPla2.y;\n\n case 47:\n i = -1;\n return _context.abrupt(\"continue\", 49);\n\n case 49:\n i++;\n _context.next = 18;\n break;\n\n case 52:\n return _context.abrupt(\"return\", {\n x: x,\n y: y,\n placement: statefulPlacement,\n strategy: strategy,\n middlewareData: middlewareData\n });\n\n case 53:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function computePosition(_x, _x2, _x3) {\n return _ref2.apply(this, arguments);\n };\n}();\n\nfunction expandPaddingObject(padding) {\n return _objectSpread({\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n }, padding);\n}\n\nfunction getSideObjectFromPadding(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\n\nfunction rectToClientRect(rect) {\n return _objectSpread(_objectSpread({}, rect), {}, {\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\n\n\nfunction detectOverflow(_x4, _x5) {\n return _detectOverflow.apply(this, arguments);\n}\n\nfunction _detectOverflow() {\n _detectOverflow = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(middlewareArguments, options) {\n var _await$platform$isEle, x, y, platform, rects, elements, strategy, _options7, _options7$boundary, boundary, _options7$rootBoundar, rootBoundary, _options7$elementCont, elementContext, _options7$altBoundary, altBoundary, _options7$padding, padding, paddingObject, altContext, element, clippingClientRect, elementClientRect;\n\n return _regeneratorRuntime.wrap(function _callee10$(_context10) {\n while (1) {\n switch (_context10.prev = _context10.next) {\n case 0:\n if (options === void 0) {\n options = {};\n }\n\n x = middlewareArguments.x, y = middlewareArguments.y, platform = middlewareArguments.platform, rects = middlewareArguments.rects, elements = middlewareArguments.elements, strategy = middlewareArguments.strategy;\n _options7 = options, _options7$boundary = _options7.boundary, boundary = _options7$boundary === void 0 ? 'clippingAncestors' : _options7$boundary, _options7$rootBoundar = _options7.rootBoundary, rootBoundary = _options7$rootBoundar === void 0 ? 'viewport' : _options7$rootBoundar, _options7$elementCont = _options7.elementContext, elementContext = _options7$elementCont === void 0 ? 'floating' : _options7$elementCont, _options7$altBoundary = _options7.altBoundary, altBoundary = _options7$altBoundary === void 0 ? false : _options7$altBoundary, _options7$padding = _options7.padding, padding = _options7$padding === void 0 ? 0 : _options7$padding;\n paddingObject = getSideObjectFromPadding(padding);\n altContext = elementContext === 'floating' ? 'reference' : 'floating';\n element = elements[altBoundary ? altContext : elementContext];\n _context10.t0 = rectToClientRect;\n _context10.t1 = platform;\n _context10.next = 10;\n return platform.isElement == null ? void 0 : platform.isElement(element);\n\n case 10:\n _context10.t2 = _await$platform$isEle = _context10.sent;\n\n if (!(_context10.t2 != null)) {\n _context10.next = 15;\n break;\n }\n\n _context10.t3 = _await$platform$isEle;\n _context10.next = 16;\n break;\n\n case 15:\n _context10.t3 = true;\n\n case 16:\n if (!_context10.t3) {\n _context10.next = 20;\n break;\n }\n\n _context10.t4 = element;\n _context10.next = 26;\n break;\n\n case 20:\n _context10.t5 = element.contextElement;\n\n if (_context10.t5) {\n _context10.next = 25;\n break;\n }\n\n _context10.next = 24;\n return platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating);\n\n case 24:\n _context10.t5 = _context10.sent;\n\n case 25:\n _context10.t4 = _context10.t5;\n\n case 26:\n _context10.t6 = _context10.t4;\n _context10.t7 = boundary;\n _context10.t8 = rootBoundary;\n _context10.t9 = strategy;\n _context10.t10 = {\n element: _context10.t6,\n boundary: _context10.t7,\n rootBoundary: _context10.t8,\n strategy: _context10.t9\n };\n _context10.next = 33;\n return _context10.t1.getClippingRect.call(_context10.t1, _context10.t10);\n\n case 33:\n _context10.t11 = _context10.sent;\n clippingClientRect = (0, _context10.t0)(_context10.t11);\n _context10.t12 = rectToClientRect;\n\n if (!platform.convertOffsetParentRelativeRectToViewportRelativeRect) {\n _context10.next = 49;\n break;\n }\n\n _context10.t14 = platform;\n _context10.t15 = elementContext === 'floating' ? _objectSpread(_objectSpread({}, rects.floating), {}, {\n x: x,\n y: y\n }) : rects.reference;\n _context10.next = 41;\n return platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating);\n\n case 41:\n _context10.t16 = _context10.sent;\n _context10.t17 = strategy;\n _context10.t18 = {\n rect: _context10.t15,\n offsetParent: _context10.t16,\n strategy: _context10.t17\n };\n _context10.next = 46;\n return _context10.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(_context10.t14, _context10.t18);\n\n case 46:\n _context10.t13 = _context10.sent;\n _context10.next = 50;\n break;\n\n case 49:\n _context10.t13 = rects[elementContext];\n\n case 50:\n _context10.t19 = _context10.t13;\n elementClientRect = (0, _context10.t12)(_context10.t19);\n return _context10.abrupt(\"return\", {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n });\n\n case 53:\n case \"end\":\n return _context10.stop();\n }\n }\n }, _callee10);\n }));\n return _detectOverflow.apply(this, arguments);\n}\n\nvar min = Math.min;\nvar max = Math.max;\n\nfunction within(min$1, value, max$1) {\n return max(min$1, min(value, max$1));\n}\n/**\n * Positions an inner element of the floating element such that it is centered\n * to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\n\n\nvar arrow = function arrow(options) {\n return {\n name: 'arrow',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var _data, _ref4;\n\n var _ref3, element, _ref3$padding, padding, x, y, placement, rects, platform, paddingObject, coords, axis, alignment, length, arrowDimensions, minProp, maxProp, endDiff, startDiff, arrowOffsetParent, clientSize, centerToReference, min, max, center, offset, alignmentPadding, shouldAddOffset, alignmentOffset;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n // Since `element` is required, we don't Partial<> the type\n _ref3 = options != null ? options : {}, element = _ref3.element, _ref3$padding = _ref3.padding, padding = _ref3$padding === void 0 ? 0 : _ref3$padding;\n x = middlewareArguments.x, y = middlewareArguments.y, placement = middlewareArguments.placement, rects = middlewareArguments.rects, platform = middlewareArguments.platform;\n\n if (!(element == null)) {\n _context2.next = 5;\n break;\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n console.warn('Floating UI: No `element` was passed to the `arrow` middleware.');\n }\n\n return _context2.abrupt(\"return\", {});\n\n case 5:\n paddingObject = getSideObjectFromPadding(padding);\n coords = {\n x: x,\n y: y\n };\n axis = getMainAxisFromPlacement(placement);\n alignment = getAlignment(placement);\n length = getLengthFromAxis(axis);\n _context2.next = 12;\n return platform.getDimensions(element);\n\n case 12:\n arrowDimensions = _context2.sent;\n minProp = axis === 'y' ? 'top' : 'left';\n maxProp = axis === 'y' ? 'bottom' : 'right';\n endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n startDiff = coords[axis] - rects.reference[axis];\n _context2.next = 19;\n return platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element);\n\n case 19:\n arrowOffsetParent = _context2.sent;\n clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n\n if (clientSize === 0) {\n clientSize = rects.floating[length];\n }\n\n centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds\n\n min = paddingObject[minProp];\n max = clientSize - arrowDimensions[length] - paddingObject[maxProp];\n center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n offset = within(min, center, max); // Make sure that arrow points at the reference\n\n alignmentPadding = alignment === 'start' ? paddingObject[minProp] : paddingObject[maxProp];\n shouldAddOffset = alignmentPadding > 0 && center !== offset && rects.reference[length] <= rects.floating[length];\n alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;\n return _context2.abrupt(\"return\", (_ref4 = {}, _defineProperty(_ref4, axis, coords[axis] - alignmentOffset), _defineProperty(_ref4, \"data\", (_data = {}, _defineProperty(_data, axis, offset), _defineProperty(_data, \"centerOffset\", center - offset), _data)), _ref4));\n\n case 31:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }))();\n }\n };\n};\n\nvar hash$1 = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\n\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash$1[matched];\n });\n}\n\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n\n var alignment = getAlignment(placement);\n var mainAxis = getMainAxisFromPlacement(placement);\n var length = getLengthFromAxis(mainAxis);\n var mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n\n return {\n main: mainAlignmentSide,\n cross: getOppositePlacement(mainAlignmentSide)\n };\n}\n\nvar hash = {\n start: 'end',\n end: 'start'\n};\n\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}\n\nvar sides = ['top', 'right', 'bottom', 'left'];\nvar allPlacements = /*#__PURE__*/sides.reduce(function (acc, side) {\n return acc.concat(side, side + \"-start\", side + \"-end\");\n}, []);\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n var allowedPlacementsSortedByAlignment = alignment ? [].concat(_toConsumableArray(allowedPlacements.filter(function (placement) {\n return getAlignment(placement) === alignment;\n })), _toConsumableArray(allowedPlacements.filter(function (placement) {\n return getAlignment(placement) !== alignment;\n }))) : allowedPlacements.filter(function (placement) {\n return getSide(placement) === placement;\n });\n return allowedPlacementsSortedByAlignment.filter(function (placement) {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n\n return true;\n });\n}\n/**\n * Automatically chooses the `placement` which has the most space available.\n * @see https://floating-ui.com/docs/autoPlacement\n */\n\n\nvar autoPlacement = function autoPlacement(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'autoPlacement',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n var _middlewareData$autoP, _middlewareData$autoP2, _middlewareData$autoP3, _middlewareData$autoP4, _placementsSortedByLe, x, y, rects, middlewareData, placement, platform, elements, _options, _options$alignment, alignment, _options$allowedPlace, allowedPlacements, _options$autoAlignmen, autoAlignment, detectOverflowOptions, placements, overflow, currentIndex, currentPlacement, _getAlignmentSides, main, cross, currentOverflows, allOverflows, nextPlacement, placementsSortedByLeastOverflow, placementThatFitsOnAllSides, resetPlacement;\n\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n x = middlewareArguments.x, y = middlewareArguments.y, rects = middlewareArguments.rects, middlewareData = middlewareArguments.middlewareData, placement = middlewareArguments.placement, platform = middlewareArguments.platform, elements = middlewareArguments.elements;\n _options = options, _options$alignment = _options.alignment, alignment = _options$alignment === void 0 ? null : _options$alignment, _options$allowedPlace = _options.allowedPlacements, allowedPlacements = _options$allowedPlace === void 0 ? allPlacements : _options$allowedPlace, _options$autoAlignmen = _options.autoAlignment, autoAlignment = _options$autoAlignmen === void 0 ? true : _options$autoAlignmen, detectOverflowOptions = _objectWithoutProperties(_options, _excluded);\n placements = getPlacementList(alignment, autoAlignment, allowedPlacements);\n _context3.next = 5;\n return detectOverflow(middlewareArguments, detectOverflowOptions);\n\n case 5:\n overflow = _context3.sent;\n currentIndex = (_middlewareData$autoP = (_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.index) != null ? _middlewareData$autoP : 0;\n currentPlacement = placements[currentIndex];\n\n if (!(currentPlacement == null)) {\n _context3.next = 10;\n break;\n }\n\n return _context3.abrupt(\"return\", {});\n\n case 10:\n _context3.t0 = getAlignmentSides;\n _context3.t1 = currentPlacement;\n _context3.t2 = rects;\n _context3.next = 15;\n return platform.isRTL == null ? void 0 : platform.isRTL(elements.floating);\n\n case 15:\n _context3.t3 = _context3.sent;\n _getAlignmentSides = (0, _context3.t0)(_context3.t1, _context3.t2, _context3.t3);\n main = _getAlignmentSides.main;\n cross = _getAlignmentSides.cross;\n\n if (!(placement !== currentPlacement)) {\n _context3.next = 21;\n break;\n }\n\n return _context3.abrupt(\"return\", {\n x: x,\n y: y,\n reset: {\n placement: placements[0]\n }\n });\n\n case 21:\n currentOverflows = [overflow[getSide(currentPlacement)], overflow[main], overflow[cross]];\n allOverflows = [].concat(_toConsumableArray((_middlewareData$autoP3 = (_middlewareData$autoP4 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP4.overflows) != null ? _middlewareData$autoP3 : []), [{\n placement: currentPlacement,\n overflows: currentOverflows\n }]);\n nextPlacement = placements[currentIndex + 1]; // There are more placements to check\n\n if (!nextPlacement) {\n _context3.next = 26;\n break;\n }\n\n return _context3.abrupt(\"return\", {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n });\n\n case 26:\n placementsSortedByLeastOverflow = allOverflows.slice().sort(function (a, b) {\n return a.overflows[0] - b.overflows[0];\n });\n placementThatFitsOnAllSides = (_placementsSortedByLe = placementsSortedByLeastOverflow.find(function (_ref) {\n var overflows = _ref.overflows;\n return overflows.every(function (overflow) {\n return overflow <= 0;\n });\n })) == null ? void 0 : _placementsSortedByLe.placement;\n resetPlacement = placementThatFitsOnAllSides != null ? placementThatFitsOnAllSides : placementsSortedByLeastOverflow[0].placement;\n\n if (!(resetPlacement !== placement)) {\n _context3.next = 31;\n break;\n }\n\n return _context3.abrupt(\"return\", {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n });\n\n case 31:\n return _context3.abrupt(\"return\", {});\n\n case 32:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }))();\n }\n };\n};\n\nfunction getExpandedPlacements(placement) {\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\n/**\n * Changes the placement of the floating element to one that will fit if the\n * initially specified `placement` does not.\n * @see https://floating-ui.com/docs/flip\n */\n\n\nvar flip = function flip(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'flip',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {\n var _middlewareData$flip, placement, middlewareData, rects, initialPlacement, platform, elements, _options2, _options2$mainAxis, checkMainAxis, _options2$crossAxis, checkCrossAxis, specifiedFallbackPlacements, _options2$fallbackStr, fallbackStrategy, _options2$flipAlignme, flipAlignment, detectOverflowOptions, side, isBasePlacement, fallbackPlacements, placements, overflow, overflows, overflowsData, _getAlignmentSides2, main, cross, _middlewareData$flip$, _middlewareData$flip2, nextIndex, nextPlacement, resetPlacement, _overflowsData$map$so, _placement;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n placement = middlewareArguments.placement, middlewareData = middlewareArguments.middlewareData, rects = middlewareArguments.rects, initialPlacement = middlewareArguments.initialPlacement, platform = middlewareArguments.platform, elements = middlewareArguments.elements;\n _options2 = options, _options2$mainAxis = _options2.mainAxis, checkMainAxis = _options2$mainAxis === void 0 ? true : _options2$mainAxis, _options2$crossAxis = _options2.crossAxis, checkCrossAxis = _options2$crossAxis === void 0 ? true : _options2$crossAxis, specifiedFallbackPlacements = _options2.fallbackPlacements, _options2$fallbackStr = _options2.fallbackStrategy, fallbackStrategy = _options2$fallbackStr === void 0 ? 'bestFit' : _options2$fallbackStr, _options2$flipAlignme = _options2.flipAlignment, flipAlignment = _options2$flipAlignme === void 0 ? true : _options2$flipAlignme, detectOverflowOptions = _objectWithoutProperties(_options2, _excluded2);\n side = getSide(placement);\n isBasePlacement = side === initialPlacement;\n fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n placements = [initialPlacement].concat(_toConsumableArray(fallbackPlacements));\n _context4.next = 8;\n return detectOverflow(middlewareArguments, detectOverflowOptions);\n\n case 8:\n overflow = _context4.sent;\n overflows = [];\n overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n\n if (!checkCrossAxis) {\n _context4.next = 23;\n break;\n }\n\n _context4.t0 = getAlignmentSides;\n _context4.t1 = placement;\n _context4.t2 = rects;\n _context4.next = 18;\n return platform.isRTL == null ? void 0 : platform.isRTL(elements.floating);\n\n case 18:\n _context4.t3 = _context4.sent;\n _getAlignmentSides2 = (0, _context4.t0)(_context4.t1, _context4.t2, _context4.t3);\n main = _getAlignmentSides2.main;\n cross = _getAlignmentSides2.cross;\n overflows.push(overflow[main], overflow[cross]);\n\n case 23:\n overflowsData = [].concat(_toConsumableArray(overflowsData), [{\n placement: placement,\n overflows: overflows\n }]); // One or more sides is overflowing\n\n if (overflows.every(function (side) {\n return side <= 0;\n })) {\n _context4.next = 40;\n break;\n }\n\n nextIndex = ((_middlewareData$flip$ = (_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) != null ? _middlewareData$flip$ : 0) + 1;\n nextPlacement = placements[nextIndex];\n\n if (!nextPlacement) {\n _context4.next = 29;\n break;\n }\n\n return _context4.abrupt(\"return\", {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n });\n\n case 29:\n resetPlacement = 'bottom';\n _context4.t4 = fallbackStrategy;\n _context4.next = _context4.t4 === 'bestFit' ? 33 : _context4.t4 === 'initialPlacement' ? 36 : 38;\n break;\n\n case 33:\n _placement = (_overflowsData$map$so = overflowsData.map(function (d) {\n return [d, d.overflows.filter(function (overflow) {\n return overflow > 0;\n }).reduce(function (acc, overflow) {\n return acc + overflow;\n }, 0)];\n }).sort(function (a, b) {\n return a[1] - b[1];\n })[0]) == null ? void 0 : _overflowsData$map$so[0].placement;\n\n if (_placement) {\n resetPlacement = _placement;\n }\n\n return _context4.abrupt(\"break\", 38);\n\n case 36:\n resetPlacement = initialPlacement;\n return _context4.abrupt(\"break\", 38);\n\n case 38:\n if (!(placement !== resetPlacement)) {\n _context4.next = 40;\n break;\n }\n\n return _context4.abrupt(\"return\", {\n reset: {\n placement: resetPlacement\n }\n });\n\n case 40:\n return _context4.abrupt(\"return\", {});\n\n case 41:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }))();\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(function (side) {\n return overflow[side] >= 0;\n });\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\n\n\nvar hide = function hide(_temp) {\n var _ref5 = _temp === void 0 ? {} : _temp,\n _ref5$strategy = _ref5.strategy,\n strategy = _ref5$strategy === void 0 ? 'referenceHidden' : _ref5$strategy,\n detectOverflowOptions = _objectWithoutProperties(_ref5, _excluded3);\n\n return {\n name: 'hide',\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {\n var rects, overflow, offsets, _overflow, _offsets;\n\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n rects = middlewareArguments.rects;\n _context5.t0 = strategy;\n _context5.next = _context5.t0 === 'referenceHidden' ? 4 : _context5.t0 === 'escaped' ? 9 : 14;\n break;\n\n case 4:\n _context5.next = 6;\n return detectOverflow(middlewareArguments, _objectSpread(_objectSpread({}, detectOverflowOptions), {}, {\n elementContext: 'reference'\n }));\n\n case 6:\n overflow = _context5.sent;\n offsets = getSideOffsets(overflow, rects.reference);\n return _context5.abrupt(\"return\", {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n });\n\n case 9:\n _context5.next = 11;\n return detectOverflow(middlewareArguments, _objectSpread(_objectSpread({}, detectOverflowOptions), {}, {\n altBoundary: true\n }));\n\n case 11:\n _overflow = _context5.sent;\n _offsets = getSideOffsets(_overflow, rects.floating);\n return _context5.abrupt(\"return\", {\n data: {\n escapedOffsets: _offsets,\n escaped: isAnySideFullyClipped(_offsets)\n }\n });\n\n case 14:\n return _context5.abrupt(\"return\", {});\n\n case 15:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5);\n }))();\n }\n };\n};\n\nfunction convertValueToCoords(_x6, _x7) {\n return _convertValueToCoords.apply(this, arguments);\n}\n/**\n * Displaces the floating element from its reference element.\n * @see https://floating-ui.com/docs/offset\n */\n\n\nfunction _convertValueToCoords() {\n _convertValueToCoords = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee11(middlewareArguments, value) {\n var placement, platform, elements, rtl, side, alignment, isVertical, mainAxisMulti, crossAxisMulti, rawValue, _ref7, mainAxis, crossAxis, alignmentAxis;\n\n return _regeneratorRuntime.wrap(function _callee11$(_context11) {\n while (1) {\n switch (_context11.prev = _context11.next) {\n case 0:\n placement = middlewareArguments.placement, platform = middlewareArguments.platform, elements = middlewareArguments.elements;\n _context11.next = 3;\n return platform.isRTL == null ? void 0 : platform.isRTL(elements.floating);\n\n case 3:\n rtl = _context11.sent;\n side = getSide(placement);\n alignment = getAlignment(placement);\n isVertical = getMainAxisFromPlacement(placement) === 'x';\n mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n crossAxisMulti = rtl && isVertical ? -1 : 1;\n rawValue = typeof value === 'function' ? value(middlewareArguments) : value; // eslint-disable-next-line prefer-const\n\n _ref7 = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : _objectSpread({\n mainAxis: 0,\n crossAxis: 0,\n alignmentAxis: null\n }, rawValue), mainAxis = _ref7.mainAxis, crossAxis = _ref7.crossAxis, alignmentAxis = _ref7.alignmentAxis;\n\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n\n return _context11.abrupt(\"return\", isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n });\n\n case 13:\n case \"end\":\n return _context11.stop();\n }\n }\n }, _callee11);\n }));\n return _convertValueToCoords.apply(this, arguments);\n}\n\nvar offset = function offset(value) {\n if (value === void 0) {\n value = 0;\n }\n\n return {\n name: 'offset',\n options: value,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {\n var x, y, diffCoords;\n return _regeneratorRuntime.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n x = middlewareArguments.x, y = middlewareArguments.y;\n _context6.next = 3;\n return convertValueToCoords(middlewareArguments, value);\n\n case 3:\n diffCoords = _context6.sent;\n return _context6.abrupt(\"return\", {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: diffCoords\n });\n\n case 5:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6);\n }))();\n }\n };\n};\n\nfunction getCrossAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\n/**\n * Shifts the floating element in order to keep it in view when it will overflow\n * a clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\n\n\nvar shift = function shift(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'shift',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {\n var _objectSpread3;\n\n var x, y, placement, _options3, _options3$mainAxis, checkMainAxis, _options3$crossAxis, checkCrossAxis, _options3$limiter, limiter, detectOverflowOptions, coords, overflow, mainAxis, crossAxis, mainAxisCoord, crossAxisCoord, minSide, maxSide, _min, _max, _minSide, _maxSide, _min2, _max2, limitedCoords;\n\n return _regeneratorRuntime.wrap(function _callee7$(_context7) {\n while (1) {\n switch (_context7.prev = _context7.next) {\n case 0:\n x = middlewareArguments.x, y = middlewareArguments.y, placement = middlewareArguments.placement;\n _options3 = options, _options3$mainAxis = _options3.mainAxis, checkMainAxis = _options3$mainAxis === void 0 ? true : _options3$mainAxis, _options3$crossAxis = _options3.crossAxis, checkCrossAxis = _options3$crossAxis === void 0 ? false : _options3$crossAxis, _options3$limiter = _options3.limiter, limiter = _options3$limiter === void 0 ? {\n fn: function fn(_ref) {\n var x = _ref.x,\n y = _ref.y;\n return {\n x: x,\n y: y\n };\n }\n } : _options3$limiter, detectOverflowOptions = _objectWithoutProperties(_options3, _excluded4);\n coords = {\n x: x,\n y: y\n };\n _context7.next = 5;\n return detectOverflow(middlewareArguments, detectOverflowOptions);\n\n case 5:\n overflow = _context7.sent;\n mainAxis = getMainAxisFromPlacement(getSide(placement));\n crossAxis = getCrossAxis(mainAxis);\n mainAxisCoord = coords[mainAxis];\n crossAxisCoord = coords[crossAxis];\n\n if (checkMainAxis) {\n minSide = mainAxis === 'y' ? 'top' : 'left';\n maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n _min = mainAxisCoord + overflow[minSide];\n _max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = within(_min, mainAxisCoord, _max);\n }\n\n if (checkCrossAxis) {\n _minSide = crossAxis === 'y' ? 'top' : 'left';\n _maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n _min2 = crossAxisCoord + overflow[_minSide];\n _max2 = crossAxisCoord - overflow[_maxSide];\n crossAxisCoord = within(_min2, crossAxisCoord, _max2);\n }\n\n limitedCoords = limiter.fn(_objectSpread(_objectSpread({}, middlewareArguments), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, mainAxis, mainAxisCoord), _defineProperty(_objectSpread3, crossAxis, crossAxisCoord), _objectSpread3)));\n return _context7.abrupt(\"return\", _objectSpread(_objectSpread({}, limitedCoords), {}, {\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y\n }\n }));\n\n case 14:\n case \"end\":\n return _context7.stop();\n }\n }\n }, _callee7);\n }))();\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\n\n\nvar limitShift = function limitShift(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n options: options,\n fn: function fn(middlewareArguments) {\n var _ref6;\n\n var x = middlewareArguments.x,\n y = middlewareArguments.y,\n placement = middlewareArguments.placement,\n rects = middlewareArguments.rects,\n middlewareData = middlewareArguments.middlewareData;\n var _options4 = options,\n _options4$offset = _options4.offset,\n offset = _options4$offset === void 0 ? 0 : _options4$offset,\n _options4$mainAxis = _options4.mainAxis,\n checkMainAxis = _options4$mainAxis === void 0 ? true : _options4$mainAxis,\n _options4$crossAxis = _options4.crossAxis,\n checkCrossAxis = _options4$crossAxis === void 0 ? true : _options4$crossAxis;\n var coords = {\n x: x,\n y: y\n };\n var mainAxis = getMainAxisFromPlacement(placement);\n var crossAxis = getCrossAxis(mainAxis);\n var mainAxisCoord = coords[mainAxis];\n var crossAxisCoord = coords[crossAxis];\n var rawOffset = typeof offset === 'function' ? offset(middlewareArguments) : offset;\n var computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : _objectSpread({\n mainAxis: 0,\n crossAxis: 0\n }, rawOffset);\n\n if (checkMainAxis) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n var limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n var limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2, _middlewareData$offse3, _middlewareData$offse4;\n\n var _len = mainAxis === 'y' ? 'width' : 'height';\n\n var isOriginSide = ['top', 'left'].includes(getSide(placement));\n\n var _limitMin = rects.reference[crossAxis] - rects.floating[_len] + (isOriginSide ? (_middlewareData$offse = (_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) != null ? _middlewareData$offse : 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n\n var _limitMax = rects.reference[crossAxis] + rects.reference[_len] + (isOriginSide ? 0 : (_middlewareData$offse3 = (_middlewareData$offse4 = middlewareData.offset) == null ? void 0 : _middlewareData$offse4[crossAxis]) != null ? _middlewareData$offse3 : 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n\n if (crossAxisCoord < _limitMin) {\n crossAxisCoord = _limitMin;\n } else if (crossAxisCoord > _limitMax) {\n crossAxisCoord = _limitMax;\n }\n }\n\n return _ref6 = {}, _defineProperty(_ref6, mainAxis, mainAxisCoord), _defineProperty(_ref6, crossAxis, crossAxisCoord), _ref6;\n }\n };\n};\n/**\n * Provides data to change the size of the floating element. For instance,\n * prevent it from overflowing its clipping boundary or match the width of the\n * reference element.\n * @see https://floating-ui.com/docs/size\n */\n\n\nvar size = function size(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'size',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {\n var placement, rects, platform, elements, _options5, _options5$apply, apply, detectOverflowOptions, overflow, side, alignment, heightSide, widthSide, xMin, xMax, yMin, yMax, dimensions, nextDimensions;\n\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n placement = middlewareArguments.placement, rects = middlewareArguments.rects, platform = middlewareArguments.platform, elements = middlewareArguments.elements;\n _options5 = options, _options5$apply = _options5.apply, apply = _options5$apply === void 0 ? function () {} : _options5$apply, detectOverflowOptions = _objectWithoutProperties(_options5, _excluded5);\n _context8.next = 4;\n return detectOverflow(middlewareArguments, detectOverflowOptions);\n\n case 4:\n overflow = _context8.sent;\n side = getSide(placement);\n alignment = getAlignment(placement);\n\n if (!(side === 'top' || side === 'bottom')) {\n _context8.next = 26;\n break;\n }\n\n heightSide = side;\n _context8.t0 = alignment;\n _context8.next = 12;\n return platform.isRTL == null ? void 0 : platform.isRTL(elements.floating);\n\n case 12:\n if (!_context8.sent) {\n _context8.next = 16;\n break;\n }\n\n _context8.t1 = 'start';\n _context8.next = 17;\n break;\n\n case 16:\n _context8.t1 = 'end';\n\n case 17:\n _context8.t2 = _context8.t1;\n\n if (!(_context8.t0 === _context8.t2)) {\n _context8.next = 22;\n break;\n }\n\n _context8.t3 = 'left';\n _context8.next = 23;\n break;\n\n case 22:\n _context8.t3 = 'right';\n\n case 23:\n widthSide = _context8.t3;\n _context8.next = 28;\n break;\n\n case 26:\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n\n case 28:\n xMin = max(overflow.left, 0);\n xMax = max(overflow.right, 0);\n yMin = max(overflow.top, 0);\n yMax = max(overflow.bottom, 0);\n dimensions = {\n availableHeight: rects.floating.height - (['left', 'right'].includes(placement) ? 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom)) : overflow[heightSide]),\n availableWidth: rects.floating.width - (['top', 'bottom'].includes(placement) ? 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right)) : overflow[widthSide])\n };\n _context8.next = 35;\n return apply(_objectSpread(_objectSpread({}, middlewareArguments), dimensions));\n\n case 35:\n _context8.next = 37;\n return platform.getDimensions(elements.floating);\n\n case 37:\n nextDimensions = _context8.sent;\n\n if (!(rects.floating.width !== nextDimensions.width || rects.floating.height !== nextDimensions.height)) {\n _context8.next = 40;\n break;\n }\n\n return _context8.abrupt(\"return\", {\n reset: {\n rects: true\n }\n });\n\n case 40:\n return _context8.abrupt(\"return\", {});\n\n case 41:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8);\n }))();\n }\n };\n};\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\n\n\nvar inline = function inline(options) {\n if (options === void 0) {\n options = {};\n }\n\n return {\n name: 'inline',\n options: options,\n fn: function fn(middlewareArguments) {\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9() {\n var _await$platform$getCl, placement, elements, rects, platform, strategy, _options6, _options6$padding, padding, x, y, fallback, clientRects, paddingObject, getBoundingClientRect, resetRects;\n\n return _regeneratorRuntime.wrap(function _callee9$(_context9) {\n while (1) {\n switch (_context9.prev = _context9.next) {\n case 0:\n getBoundingClientRect = function _getBoundingClientRec() {\n // There are two rects and they are disjoined\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n var _clientRects$find; // Find the first rect in which the point is fully inside\n\n\n return (_clientRects$find = clientRects.find(function (rect) {\n return x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom;\n })) != null ? _clientRects$find : fallback;\n } // There are 2 or more connected rects\n\n\n if (clientRects.length >= 2) {\n if (getMainAxisFromPlacement(placement) === 'x') {\n var firstRect = clientRects[0];\n var lastRect = clientRects[clientRects.length - 1];\n var isTop = getSide(placement) === 'top';\n var _top = firstRect.top;\n var _bottom = lastRect.bottom;\n\n var _left = isTop ? firstRect.left : lastRect.left;\n\n var _right = isTop ? firstRect.right : lastRect.right;\n\n var _width = _right - _left;\n\n var _height = _bottom - _top;\n\n return {\n top: _top,\n bottom: _bottom,\n left: _left,\n right: _right,\n width: _width,\n height: _height,\n x: _left,\n y: _top\n };\n }\n\n var isLeftSide = getSide(placement) === 'left';\n var maxRight = max.apply(void 0, _toConsumableArray(clientRects.map(function (rect) {\n return rect.right;\n })));\n var minLeft = min.apply(void 0, _toConsumableArray(clientRects.map(function (rect) {\n return rect.left;\n })));\n var measureRects = clientRects.filter(function (rect) {\n return isLeftSide ? rect.left === minLeft : rect.right === maxRight;\n });\n var top = measureRects[0].top;\n var bottom = measureRects[measureRects.length - 1].bottom;\n var left = minLeft;\n var right = maxRight;\n var width = right - left;\n var height = bottom - top;\n return {\n top: top,\n bottom: bottom,\n left: left,\n right: right,\n width: width,\n height: height,\n x: left,\n y: top\n };\n }\n\n return fallback;\n };\n\n placement = middlewareArguments.placement, elements = middlewareArguments.elements, rects = middlewareArguments.rects, platform = middlewareArguments.platform, strategy = middlewareArguments.strategy; // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n\n _options6 = options, _options6$padding = _options6.padding, padding = _options6$padding === void 0 ? 2 : _options6$padding, x = _options6.x, y = _options6.y;\n _context9.t0 = rectToClientRect;\n\n if (!platform.convertOffsetParentRelativeRectToViewportRelativeRect) {\n _context9.next = 17;\n break;\n }\n\n _context9.t2 = platform;\n _context9.t3 = rects.reference;\n _context9.next = 9;\n return platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating);\n\n case 9:\n _context9.t4 = _context9.sent;\n _context9.t5 = strategy;\n _context9.t6 = {\n rect: _context9.t3,\n offsetParent: _context9.t4,\n strategy: _context9.t5\n };\n _context9.next = 14;\n return _context9.t2.convertOffsetParentRelativeRectToViewportRelativeRect.call(_context9.t2, _context9.t6);\n\n case 14:\n _context9.t1 = _context9.sent;\n _context9.next = 18;\n break;\n\n case 17:\n _context9.t1 = rects.reference;\n\n case 18:\n _context9.t7 = _context9.t1;\n fallback = (0, _context9.t0)(_context9.t7);\n _context9.next = 22;\n return platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference);\n\n case 22:\n _context9.t8 = _await$platform$getCl = _context9.sent;\n\n if (!(_context9.t8 != null)) {\n _context9.next = 27;\n break;\n }\n\n _context9.t9 = _await$platform$getCl;\n _context9.next = 28;\n break;\n\n case 27:\n _context9.t9 = [];\n\n case 28:\n clientRects = _context9.t9;\n paddingObject = getSideObjectFromPadding(padding);\n _context9.next = 32;\n return platform.getElementRects({\n reference: {\n getBoundingClientRect: getBoundingClientRect\n },\n floating: elements.floating,\n strategy: strategy\n });\n\n case 32:\n resetRects = _context9.sent;\n\n if (!(rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height)) {\n _context9.next = 35;\n break;\n }\n\n return _context9.abrupt(\"return\", {\n reset: {\n rects: resetRects\n }\n });\n\n case 35:\n return _context9.abrupt(\"return\", {});\n\n case 36:\n case \"end\":\n return _context9.stop();\n }\n }\n }, _callee9);\n }))();\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, rectToClientRect, shift, size };","import _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { rectToClientRect, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { arrow, autoPlacement, detectOverflow, flip, hide, inline, limitShift, offset, shift, size } from '@floating-ui/core';\n\nfunction isWindow(value) {\n return value && value.document && value.location && value.alert && value.setInterval;\n}\n\nfunction getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (!isWindow(node)) {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\n\nfunction getNodeName(node) {\n return isWindow(node) ? '' : node ? (node.nodeName || '').toLowerCase() : '';\n}\n\nfunction getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData && Array.isArray(uaData.brands)) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}\n\nfunction isHTMLElement(value) {\n return value instanceof getWindow(value).HTMLElement;\n}\n\nfunction isElement(value) {\n return value instanceof getWindow(value).Element;\n}\n\nfunction isNode(value) {\n return value instanceof getWindow(value).Node;\n}\n\nfunction isShadowRoot(node) {\n // Browsers without `ShadowRoot` support\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nfunction isOverflowElement(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY,\n display = _getComputedStyle.display;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\n\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\n\nfunction isContainingBlock(element) {\n // TODO: Try and use feature detection here instead\n var isFirefox = /firefox/i.test(getUAString());\n var css = getComputedStyle(element);\n var backdropFilter = css.backdropFilter || css.WebkitBackdropFilter; // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(function (value) {\n return css.willChange.includes(value);\n }) || ['paint', 'layout', 'strict', 'content'].some( // TS 4.1 compat\n function (value) {\n var contain = css.contain;\n return contain != null ? contain.includes(value) : false;\n });\n}\n\nfunction isLayoutViewport() {\n // Not Safari\n return !/^((?!chrome|android).)*safari/i.test(getUAString()); // Feature detection for this fails in various ways\n // • Always-visible scrollbar or not\n // • Width of , etc.\n // const vV = win.visualViewport;\n // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;\n}\n\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\n\nvar min = Math.min;\nvar max = Math.max;\nvar round = Math.round;\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy) {\n var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;\n\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var win = isElement(element) ? getWindow(element) : window;\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}\n\nfunction getDocumentElement(node) {\n return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;\n}\n\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n}\n\nfunction getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\nfunction isScaled(element) {\n var rect = getBoundingClientRect(element);\n return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(element, // @ts-ignore - checked above (TS 4.1 compat)\n isOffsetParentAnElement && isScaled(offsetParent), strategy === 'fixed');\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n var offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n\n var result = // Step into the shadow DOM of the parent of a slotted node\n node.assignedSlot || // DOM Element detected\n node.parentNode || ( // ShadowRoot detected\n isShadowRoot(node) ? node.host : null) || // Fallback\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n}\n\nfunction getContainingBlock(element) {\n var currentNode = getParentNode(element);\n\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else {\n currentNode = getParentNode(currentNode);\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nfunction getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n\nfunction getDimensions(element) {\n if (isHTMLElement(element)) {\n return {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n }\n\n var rect = getBoundingClientRect(element);\n return {\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n var rect = _ref.rect,\n offsetParent = _ref.offsetParent,\n strategy = _ref.strategy;\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n\n if (offsetParent === documentElement) {\n return rect;\n }\n\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n var offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } // This doesn't appear to be need to be negated.\n // else if (documentElement) {\n // offsets.x = getWindowScrollBarX(documentElement);\n // }\n\n }\n\n return _objectSpread(_objectSpread({}, rect), {}, {\n x: rect.x - scroll.scrollLeft + offsets.x,\n y: rect.y - scroll.scrollTop + offsets.y\n });\n}\n\nfunction getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n} // of the `` and `` rect bounds if horizontally scrollable\n\n\nfunction getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var scroll = getNodeScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -scroll.scrollLeft + getWindowScrollBarX(element);\n var y = -scroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}\n\nfunction getNearestOverflowAncestor(node) {\n var parentNode = getParentNode(node);\n\n if (isLastTraversableNode(parentNode)) {\n // @ts-ignore assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n\n return getNearestOverflowAncestor(parentNode);\n}\n\nfunction getOverflowAncestors(node, list) {\n var _node$ownerDocument;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollableAncestor = getNearestOverflowAncestor(node);\n var isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);\n var win = getWindow(scrollableAncestor);\n var target = isBody ? [win].concat(win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []) : scrollableAncestor;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // @ts-ignore: isBody tells us target will be an HTMLElement here\n updatedList.concat(getOverflowAncestors(target));\n}\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var clientRect = getBoundingClientRect(element, false, strategy === 'fixed');\n var top = clientRect.top + element.clientTop;\n var left = clientRect.left + element.clientLeft;\n return {\n top: top,\n left: left,\n x: left,\n y: top,\n right: left + element.clientWidth,\n bottom: top + element.clientHeight,\n width: element.clientWidth,\n height: element.clientHeight\n };\n}\n\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n if (clippingAncestor === 'viewport') {\n return rectToClientRect(getViewportRect(element, strategy));\n }\n\n if (isElement(clippingAncestor)) {\n return getInnerBoundingClientRect(clippingAncestor, strategy);\n }\n\n return rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping ancestor\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingElementAncestors(element) {\n var result = getOverflowAncestors(element).filter(function (el) {\n return isElement(el) && getNodeName(el) !== 'body';\n });\n var currentContainingBlockComputedStyle = null;\n var elementIsFixed = getComputedStyle(element).position === 'fixed';\n var currentNode = elementIsFixed ? getParentNode(element) : element; // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n var computedStyle = getComputedStyle(currentNode);\n var containingBlock = isContainingBlock(currentNode);\n var shouldDropCurrentNode = elementIsFixed ? !containingBlock && !currentContainingBlockComputedStyle : !containingBlock && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position);\n\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks\n result = result.filter(function (ancestor) {\n return ancestor !== currentNode;\n });\n } else {\n // Record last containing block for next iteration\n currentContainingBlockComputedStyle = computedStyle;\n }\n\n currentNode = getParentNode(currentNode);\n }\n\n return result;\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors\n\n\nfunction getClippingRect(_ref) {\n var element = _ref.element,\n boundary = _ref.boundary,\n rootBoundary = _ref.rootBoundary,\n strategy = _ref.strategy;\n var elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element) : [].concat(boundary);\n var clippingAncestors = [].concat(_toConsumableArray(elementClippingAncestors), [rootBoundary]);\n var firstClippingAncestor = clippingAncestors[0];\n var clippingRect = clippingAncestors.reduce(function (accRect, clippingAncestor) {\n var rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nvar platform = {\n getClippingRect: getClippingRect,\n convertOffsetParentRelativeRectToViewportRelativeRect: convertOffsetParentRelativeRectToViewportRelativeRect,\n isElement: isElement,\n getDimensions: getDimensions,\n getOffsetParent: getOffsetParent,\n getDocumentElement: getDocumentElement,\n getElementRects: function getElementRects(_ref) {\n var _this = this;\n\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var reference, floating, strategy, getOffsetParentFn, getDimensionsFn;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n reference = _ref.reference, floating = _ref.floating, strategy = _ref.strategy;\n getOffsetParentFn = _this.getOffsetParent || getOffsetParent;\n getDimensionsFn = _this.getDimensions;\n _context.t0 = getRectRelativeToOffsetParent;\n _context.t1 = reference;\n _context.next = 7;\n return getOffsetParentFn(floating);\n\n case 7:\n _context.t2 = _context.sent;\n _context.t3 = strategy;\n _context.t4 = (0, _context.t0)(_context.t1, _context.t2, _context.t3);\n _context.t5 = _objectSpread;\n _context.t6 = {\n x: 0,\n y: 0\n };\n _context.next = 14;\n return getDimensionsFn(floating);\n\n case 14:\n _context.t7 = _context.sent;\n _context.t8 = (0, _context.t5)(_context.t6, _context.t7);\n return _context.abrupt(\"return\", {\n reference: _context.t4,\n floating: _context.t8\n });\n\n case 17:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))();\n },\n getClientRects: function getClientRects(element) {\n return Array.from(element.getClientRects());\n },\n isRTL: function isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n }\n};\n/**\n * Automatically updates the position of the floating element when necessary.\n * @see https://floating-ui.com/docs/autoUpdate\n */\n\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$ancestorScro = _options.ancestorScroll,\n _ancestorScroll = _options$ancestorScro === void 0 ? true : _options$ancestorScro,\n _options$ancestorResi = _options.ancestorResize,\n ancestorResize = _options$ancestorResi === void 0 ? true : _options$ancestorResi,\n _options$elementResiz = _options.elementResize,\n elementResize = _options$elementResiz === void 0 ? true : _options$elementResiz,\n _options$animationFra = _options.animationFrame,\n animationFrame = _options$animationFra === void 0 ? false : _options$animationFra;\n\n var ancestorScroll = _ancestorScroll && !animationFrame;\n var ancestors = ancestorScroll || ancestorResize ? [].concat(_toConsumableArray(isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), _toConsumableArray(getOverflowAncestors(floating))) : [];\n ancestors.forEach(function (ancestor) {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n var observer = null;\n\n if (elementResize) {\n var initialUpdate = true;\n observer = new ResizeObserver(function () {\n if (!initialUpdate) {\n update();\n }\n\n initialUpdate = false;\n });\n isElement(reference) && !animationFrame && observer.observe(reference);\n\n if (!isElement(reference) && reference.contextElement && !animationFrame) {\n observer.observe(reference.contextElement);\n }\n\n observer.observe(floating);\n }\n\n var frameId;\n var prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n\n if (animationFrame) {\n frameLoop();\n }\n\n function frameLoop() {\n var nextRefRect = getBoundingClientRect(reference);\n\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n\n update();\n return function () {\n var _observer;\n\n ancestors.forEach(function (ancestor) {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n (_observer = observer) == null ? void 0 : _observer.disconnect();\n observer = null;\n\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain CSS positioning\n * strategy.\n */\n\n\nvar computePosition = function computePosition(reference, floating, options) {\n return computePosition$1(reference, floating, _objectSpread({\n platform: platform\n }, options));\n};\n\nexport { autoUpdate, computePosition, getOverflowAncestors, platform };","import { useLayoutEffect } from 'react';\nvar index = useLayoutEffect;\nexport default index;","import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport { jsx, keyframes, css as css$2, ClassNames } from '@emotion/react';\nimport _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\nimport _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';\nimport _typeof from '@babel/runtime/helpers/esm/typeof';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport { useContext, useRef, useState, useMemo, useCallback, createContext } from 'react';\nimport { createPortal } from 'react-dom';\nimport { autoUpdate } from '@floating-ui/dom';\nimport useLayoutEffect from 'use-isomorphic-layout-effect';\nvar _excluded$3 = [\"className\", \"clearValue\", \"cx\", \"getStyles\", \"getValue\", \"hasValue\", \"isMulti\", \"isRtl\", \"options\", \"selectOption\", \"selectProps\", \"setValue\", \"theme\"]; // ==============================\n// NO OP\n// ==============================\n\nvar noop = function noop() {}; // ==============================\n// Class Name Prefixer\n// ==============================\n\n/**\n String representation of component state for styling with class names.\n\n Expects an array of strings OR a string/object pair:\n - className(['comp', 'comp-arg', 'comp-arg-2'])\n @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'\n - className('comp', { some: true, state: false })\n @returns 'react-select__comp react-select__comp--some'\n*/\n\n\nfunction applyPrefixToName(prefix, name) {\n if (!name) {\n return prefix;\n } else if (name[0] === '-') {\n return prefix + name;\n } else {\n return prefix + '__' + name;\n }\n}\n\nfunction classNames(prefix, state, className) {\n var arr = [className];\n\n if (state && prefix) {\n for (var key in state) {\n if (state.hasOwnProperty(key) && state[key]) {\n arr.push(\"\".concat(applyPrefixToName(prefix, key)));\n }\n }\n }\n\n return arr.filter(function (i) {\n return i;\n }).map(function (i) {\n return String(i).trim();\n }).join(' ');\n} // ==============================\n// Clean Value\n// ==============================\n\n\nvar cleanValue = function cleanValue(value) {\n if (isArray(value)) return value.filter(Boolean);\n if (_typeof(value) === 'object' && value !== null) return [value];\n return [];\n}; // ==============================\n// Clean Common Props\n// ==============================\n\n\nvar cleanCommonProps = function cleanCommonProps(props) {\n //className\n props.className;\n props.clearValue;\n props.cx;\n props.getStyles;\n props.getValue;\n props.hasValue;\n props.isMulti;\n props.isRtl;\n props.options;\n props.selectOption;\n props.selectProps;\n props.setValue;\n props.theme;\n\n var innerProps = _objectWithoutProperties(props, _excluded$3);\n\n return _objectSpread({}, innerProps);\n}; // ==============================\n// Handle Input Change\n// ==============================\n\n\nfunction handleInputChange(inputValue, actionMeta, onInputChange) {\n if (onInputChange) {\n var _newValue = onInputChange(inputValue, actionMeta);\n\n if (typeof _newValue === 'string') return _newValue;\n }\n\n return inputValue;\n} // ==============================\n// Scroll Helpers\n// ==============================\n\n\nfunction isDocumentElement(el) {\n return [document.documentElement, document.body, window].indexOf(el) > -1;\n} // Normalized Scroll Top\n// ------------------------------\n\n\nfunction normalizedHeight(el) {\n if (isDocumentElement(el)) {\n return window.innerHeight;\n }\n\n return el.clientHeight;\n} // Normalized scrollTo & scrollTop\n// ------------------------------\n\n\nfunction getScrollTop(el) {\n if (isDocumentElement(el)) {\n return window.pageYOffset;\n }\n\n return el.scrollTop;\n}\n\nfunction scrollTo(el, top) {\n // with a scroll distance, we perform scroll on the element\n if (isDocumentElement(el)) {\n window.scrollTo(0, top);\n return;\n }\n\n el.scrollTop = top;\n} // Get Scroll Parent\n// ------------------------------\n\n\nfunction getScrollParent(element) {\n var style = getComputedStyle(element);\n var excludeStaticParent = style.position === 'absolute';\n var overflowRx = /(auto|scroll)/;\n if (style.position === 'fixed') return document.documentElement;\n\n for (var parent = element; parent = parent.parentElement;) {\n style = getComputedStyle(parent);\n\n if (excludeStaticParent && style.position === 'static') {\n continue;\n }\n\n if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {\n return parent;\n }\n }\n\n return document.documentElement;\n} // Animated Scroll To\n// ------------------------------\n\n/**\n @param t: time (elapsed)\n @param b: initial value\n @param c: amount of change\n @param d: duration\n*/\n\n\nfunction easeOutCubic(t, b, c, d) {\n return c * ((t = t / d - 1) * t * t + 1) + b;\n}\n\nfunction animatedScrollTo(element, to) {\n var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;\n var callback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : noop;\n var start = getScrollTop(element);\n var change = to - start;\n var increment = 10;\n var currentTime = 0;\n\n function animateScroll() {\n currentTime += increment;\n var val = easeOutCubic(currentTime, start, change, duration);\n scrollTo(element, val);\n\n if (currentTime < duration) {\n window.requestAnimationFrame(animateScroll);\n } else {\n callback(element);\n }\n }\n\n animateScroll();\n} // Scroll Into View\n// ------------------------------\n\n\nfunction scrollIntoView(menuEl, focusedEl) {\n var menuRect = menuEl.getBoundingClientRect();\n var focusedRect = focusedEl.getBoundingClientRect();\n var overScroll = focusedEl.offsetHeight / 3;\n\n if (focusedRect.bottom + overScroll > menuRect.bottom) {\n scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));\n } else if (focusedRect.top - overScroll < menuRect.top) {\n scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));\n }\n} // ==============================\n// Get bounding client object\n// ==============================\n// cannot get keys using array notation with DOMRect\n\n\nfunction getBoundingClientObj(element) {\n var rect = element.getBoundingClientRect();\n return {\n bottom: rect.bottom,\n height: rect.height,\n left: rect.left,\n right: rect.right,\n top: rect.top,\n width: rect.width\n };\n} // ==============================\n// Touch Capability Detector\n// ==============================\n\n\nfunction isTouchCapable() {\n try {\n document.createEvent('TouchEvent');\n return true;\n } catch (e) {\n return false;\n }\n} // ==============================\n// Mobile Device Detector\n// ==============================\n\n\nfunction isMobileDevice() {\n try {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n } catch (e) {\n return false;\n }\n} // ==============================\n// Passive Event Detector\n// ==============================\n// https://github.com/rafgraph/detect-it/blob/main/src/index.ts#L19-L36\n\n\nvar passiveOptionAccessed = false;\nvar options = {\n get passive() {\n return passiveOptionAccessed = true;\n }\n\n}; // check for SSR\n\nvar w = typeof window !== 'undefined' ? window : {};\n\nif (w.addEventListener && w.removeEventListener) {\n w.addEventListener('p', noop, options);\n w.removeEventListener('p', noop, false);\n}\n\nvar supportsPassiveEvents = passiveOptionAccessed;\n\nfunction notNullish(item) {\n return item != null;\n}\n\nfunction isArray(arg) {\n return Array.isArray(arg);\n}\n\nfunction valueTernary(isMulti, multiValue, singleValue) {\n return isMulti ? multiValue : singleValue;\n}\n\nfunction singleValueAsValue(singleValue) {\n return singleValue;\n}\n\nfunction multiValueAsValue(multiValue) {\n return multiValue;\n}\n\nvar removeProps = function removeProps(propsObj) {\n for (var _len = arguments.length, properties = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n properties[_key - 1] = arguments[_key];\n }\n\n var propsMap = Object.entries(propsObj).filter(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n\n return !properties.includes(key);\n });\n return propsMap.reduce(function (newProps, _ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n key = _ref4[0],\n val = _ref4[1];\n\n newProps[key] = val;\n return newProps;\n }, {});\n};\n\nfunction getMenuPlacement(_ref) {\n var preferredMaxHeight = _ref.maxHeight,\n menuEl = _ref.menuEl,\n minHeight = _ref.minHeight,\n preferredPlacement = _ref.placement,\n shouldScroll = _ref.shouldScroll,\n isFixedPosition = _ref.isFixedPosition,\n controlHeight = _ref.controlHeight;\n var scrollParent = getScrollParent(menuEl);\n var defaultState = {\n placement: 'bottom',\n maxHeight: preferredMaxHeight\n }; // something went wrong, return default state\n\n if (!menuEl || !menuEl.offsetParent) return defaultState; // we can't trust `scrollParent.scrollHeight` --> it may increase when\n // the menu is rendered\n\n var _scrollParent$getBoun = scrollParent.getBoundingClientRect(),\n scrollHeight = _scrollParent$getBoun.height;\n\n var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(),\n menuBottom = _menuEl$getBoundingCl.bottom,\n menuHeight = _menuEl$getBoundingCl.height,\n menuTop = _menuEl$getBoundingCl.top;\n\n var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(),\n containerTop = _menuEl$offsetParent$.top;\n\n var viewHeight = isFixedPosition ? window.innerHeight : normalizedHeight(scrollParent);\n var scrollTop = getScrollTop(scrollParent);\n var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);\n var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);\n var viewSpaceAbove = containerTop - marginTop;\n var viewSpaceBelow = viewHeight - menuTop;\n var scrollSpaceAbove = viewSpaceAbove + scrollTop;\n var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;\n var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;\n var scrollUp = scrollTop + menuTop - marginTop;\n var scrollDuration = 160;\n\n switch (preferredPlacement) {\n case 'auto':\n case 'bottom':\n // 1: the menu will fit, do nothing\n if (viewSpaceBelow >= menuHeight) {\n return {\n placement: 'bottom',\n maxHeight: preferredMaxHeight\n };\n } // 2: the menu will fit, if scrolled\n\n\n if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollDown, scrollDuration);\n }\n\n return {\n placement: 'bottom',\n maxHeight: preferredMaxHeight\n };\n } // 3: the menu will fit, if constrained\n\n\n if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollDown, scrollDuration);\n } // we want to provide as much of the menu as possible to the user,\n // so give them whatever is available below rather than the minHeight.\n\n\n var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;\n return {\n placement: 'bottom',\n maxHeight: constrainedHeight\n };\n } // 4. Forked beviour when there isn't enough space below\n // AUTO: flip the menu, render above\n\n\n if (preferredPlacement === 'auto' || isFixedPosition) {\n // may need to be constrained after flipping\n var _constrainedHeight = preferredMaxHeight;\n var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;\n\n if (spaceAbove >= minHeight) {\n _constrainedHeight = Math.min(spaceAbove - marginBottom - controlHeight, preferredMaxHeight);\n }\n\n return {\n placement: 'top',\n maxHeight: _constrainedHeight\n };\n } // BOTTOM: allow browser to increase scrollable area and immediately set scroll\n\n\n if (preferredPlacement === 'bottom') {\n if (shouldScroll) {\n scrollTo(scrollParent, scrollDown);\n }\n\n return {\n placement: 'bottom',\n maxHeight: preferredMaxHeight\n };\n }\n\n break;\n\n case 'top':\n // 1: the menu will fit, do nothing\n if (viewSpaceAbove >= menuHeight) {\n return {\n placement: 'top',\n maxHeight: preferredMaxHeight\n };\n } // 2: the menu will fit, if scrolled\n\n\n if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollUp, scrollDuration);\n }\n\n return {\n placement: 'top',\n maxHeight: preferredMaxHeight\n };\n } // 3: the menu will fit, if constrained\n\n\n if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {\n var _constrainedHeight2 = preferredMaxHeight; // we want to provide as much of the menu as possible to the user,\n // so give them whatever is available below rather than the minHeight.\n\n if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {\n _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;\n }\n\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollUp, scrollDuration);\n }\n\n return {\n placement: 'top',\n maxHeight: _constrainedHeight2\n };\n } // 4. not enough space, the browser WILL NOT increase scrollable area when\n // absolutely positioned element rendered above the viewport (only below).\n // Flip the menu, render below\n\n\n return {\n placement: 'bottom',\n maxHeight: preferredMaxHeight\n };\n\n default:\n throw new Error(\"Invalid placement provided \\\"\".concat(preferredPlacement, \"\\\".\"));\n }\n\n return defaultState;\n} // Menu Component\n// ------------------------------\n\n\nfunction alignToControl(placement) {\n var placementToCSSProp = {\n bottom: 'top',\n top: 'bottom'\n };\n return placement ? placementToCSSProp[placement] : 'bottom';\n}\n\nvar coercePlacement = function coercePlacement(p) {\n return p === 'auto' ? 'bottom' : p;\n};\n\nvar menuCSS = function menuCSS(_ref2) {\n var _ref3;\n\n var placement = _ref2.placement,\n _ref2$theme = _ref2.theme,\n borderRadius = _ref2$theme.borderRadius,\n spacing = _ref2$theme.spacing,\n colors = _ref2$theme.colors;\n return _ref3 = {\n label: 'menu'\n }, _defineProperty(_ref3, alignToControl(placement), '100%'), _defineProperty(_ref3, \"backgroundColor\", colors.neutral0), _defineProperty(_ref3, \"borderRadius\", borderRadius), _defineProperty(_ref3, \"boxShadow\", '0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)'), _defineProperty(_ref3, \"marginBottom\", spacing.menuGutter), _defineProperty(_ref3, \"marginTop\", spacing.menuGutter), _defineProperty(_ref3, \"position\", 'absolute'), _defineProperty(_ref3, \"width\", '100%'), _defineProperty(_ref3, \"zIndex\", 1), _ref3;\n};\n\nvar PortalPlacementContext = /*#__PURE__*/createContext(null); // NOTE: internal only\n\nvar MenuPlacer = function MenuPlacer(props) {\n var children = props.children,\n minMenuHeight = props.minMenuHeight,\n maxMenuHeight = props.maxMenuHeight,\n menuPlacement = props.menuPlacement,\n menuPosition = props.menuPosition,\n menuShouldScrollIntoView = props.menuShouldScrollIntoView,\n theme = props.theme;\n\n var _ref4 = useContext(PortalPlacementContext) || {},\n setPortalPlacement = _ref4.setPortalPlacement;\n\n var ref = useRef(null);\n\n var _useState = useState(maxMenuHeight),\n _useState2 = _slicedToArray(_useState, 2),\n maxHeight = _useState2[0],\n setMaxHeight = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n placement = _useState4[0],\n setPlacement = _useState4[1];\n\n var controlHeight = theme.spacing.controlHeight;\n useLayoutEffect(function () {\n var menuEl = ref.current;\n if (!menuEl) return; // DO NOT scroll if position is fixed\n\n var isFixedPosition = menuPosition === 'fixed';\n var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;\n var state = getMenuPlacement({\n maxHeight: maxMenuHeight,\n menuEl: menuEl,\n minHeight: minMenuHeight,\n placement: menuPlacement,\n shouldScroll: shouldScroll,\n isFixedPosition: isFixedPosition,\n controlHeight: controlHeight\n });\n setMaxHeight(state.maxHeight);\n setPlacement(state.placement);\n setPortalPlacement === null || setPortalPlacement === void 0 ? void 0 : setPortalPlacement(state.placement);\n }, [maxMenuHeight, menuPlacement, menuPosition, menuShouldScrollIntoView, minMenuHeight, setPortalPlacement, controlHeight]);\n return children({\n ref: ref,\n placerProps: _objectSpread(_objectSpread({}, props), {}, {\n placement: placement || coercePlacement(menuPlacement),\n maxHeight: maxHeight\n })\n });\n};\n\nvar Menu = function Menu(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerRef = props.innerRef,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('menu', props),\n className: cx({\n menu: true\n }, className),\n ref: innerRef\n }, innerProps), children);\n}; // ==============================\n// Menu List\n// ==============================\n\n\nvar menuListCSS = function menuListCSS(_ref5) {\n var maxHeight = _ref5.maxHeight,\n baseUnit = _ref5.theme.spacing.baseUnit;\n return {\n maxHeight: maxHeight,\n overflowY: 'auto',\n paddingBottom: baseUnit,\n paddingTop: baseUnit,\n position: 'relative',\n // required for offset[Height, Top] > keyboard scroll\n WebkitOverflowScrolling: 'touch'\n };\n};\n\nvar MenuList = function MenuList(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n innerRef = props.innerRef,\n isMulti = props.isMulti;\n return jsx(\"div\", _extends({\n css: getStyles('menuList', props),\n className: cx({\n 'menu-list': true,\n 'menu-list--is-multi': isMulti\n }, className),\n ref: innerRef\n }, innerProps), children);\n}; // ==============================\n// Menu Notices\n// ==============================\n\n\nvar noticeCSS = function noticeCSS(_ref6) {\n var _ref6$theme = _ref6.theme,\n baseUnit = _ref6$theme.spacing.baseUnit,\n colors = _ref6$theme.colors;\n return {\n color: colors.neutral40,\n padding: \"\".concat(baseUnit * 2, \"px \").concat(baseUnit * 3, \"px\"),\n textAlign: 'center'\n };\n};\n\nvar noOptionsMessageCSS = noticeCSS;\nvar loadingMessageCSS = noticeCSS;\n\nvar NoOptionsMessage = function NoOptionsMessage(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('noOptionsMessage', props),\n className: cx({\n 'menu-notice': true,\n 'menu-notice--no-options': true\n }, className)\n }, innerProps), children);\n};\n\nNoOptionsMessage.defaultProps = {\n children: 'No options'\n};\n\nvar LoadingMessage = function LoadingMessage(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('loadingMessage', props),\n className: cx({\n 'menu-notice': true,\n 'menu-notice--loading': true\n }, className)\n }, innerProps), children);\n};\n\nLoadingMessage.defaultProps = {\n children: 'Loading...'\n}; // ==============================\n// Menu Portal\n// ==============================\n\nvar menuPortalCSS = function menuPortalCSS(_ref7) {\n var rect = _ref7.rect,\n offset = _ref7.offset,\n position = _ref7.position;\n return {\n left: rect.left,\n position: position,\n top: offset,\n width: rect.width,\n zIndex: 1\n };\n};\n\nvar MenuPortal = function MenuPortal(_ref8) {\n var appendTo = _ref8.appendTo,\n children = _ref8.children,\n className = _ref8.className,\n controlElement = _ref8.controlElement,\n cx = _ref8.cx,\n innerProps = _ref8.innerProps,\n menuPlacement = _ref8.menuPlacement,\n menuPosition = _ref8.menuPosition,\n getStyles = _ref8.getStyles;\n var menuPortalRef = useRef(null);\n var cleanupRef = useRef(null);\n\n var _useState5 = useState(coercePlacement(menuPlacement)),\n _useState6 = _slicedToArray(_useState5, 2),\n placement = _useState6[0],\n setPortalPlacement = _useState6[1];\n\n var portalPlacementContext = useMemo(function () {\n return {\n setPortalPlacement: setPortalPlacement\n };\n }, []);\n\n var _useState7 = useState(null),\n _useState8 = _slicedToArray(_useState7, 2),\n computedPosition = _useState8[0],\n setComputedPosition = _useState8[1];\n\n var updateComputedPosition = useCallback(function () {\n if (!controlElement) return;\n var rect = getBoundingClientObj(controlElement);\n var scrollDistance = menuPosition === 'fixed' ? 0 : window.pageYOffset;\n var offset = rect[placement] + scrollDistance;\n\n if (offset !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset) || rect.left !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left) || rect.width !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width)) {\n setComputedPosition({\n offset: offset,\n rect: rect\n });\n }\n }, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]);\n useLayoutEffect(function () {\n updateComputedPosition();\n }, [updateComputedPosition]);\n var runAutoUpdate = useCallback(function () {\n if (typeof cleanupRef.current === 'function') {\n cleanupRef.current();\n cleanupRef.current = null;\n }\n\n if (controlElement && menuPortalRef.current) {\n cleanupRef.current = autoUpdate(controlElement, menuPortalRef.current, updateComputedPosition, {\n elementResize: 'ResizeObserver' in window\n });\n }\n }, [controlElement, updateComputedPosition]);\n useLayoutEffect(function () {\n runAutoUpdate();\n }, [runAutoUpdate]);\n var setMenuPortalElement = useCallback(function (menuPortalElement) {\n menuPortalRef.current = menuPortalElement;\n runAutoUpdate();\n }, [runAutoUpdate]); // bail early if required elements aren't present\n\n if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null; // same wrapper element whether fixed or portalled\n\n var menuWrapper = jsx(\"div\", _extends({\n ref: setMenuPortalElement,\n css: getStyles('menuPortal', {\n offset: computedPosition.offset,\n position: menuPosition,\n rect: computedPosition.rect\n }),\n className: cx({\n 'menu-portal': true\n }, className)\n }, innerProps), children);\n return jsx(PortalPlacementContext.Provider, {\n value: portalPlacementContext\n }, appendTo ? /*#__PURE__*/createPortal(menuWrapper, appendTo) : menuWrapper);\n};\n\nvar containerCSS = function containerCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n isRtl = _ref.isRtl;\n return {\n label: 'container',\n direction: isRtl ? 'rtl' : undefined,\n pointerEvents: isDisabled ? 'none' : undefined,\n // cancel mouse events when disabled\n position: 'relative'\n };\n};\n\nvar SelectContainer = function SelectContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isDisabled = props.isDisabled,\n isRtl = props.isRtl;\n return jsx(\"div\", _extends({\n css: getStyles('container', props),\n className: cx({\n '--is-disabled': isDisabled,\n '--is-rtl': isRtl\n }, className)\n }, innerProps), children);\n}; // ==============================\n// Value Container\n// ==============================\n\n\nvar valueContainerCSS = function valueContainerCSS(_ref2) {\n var spacing = _ref2.theme.spacing,\n isMulti = _ref2.isMulti,\n hasValue = _ref2.hasValue,\n controlShouldRenderValue = _ref2.selectProps.controlShouldRenderValue;\n return {\n alignItems: 'center',\n display: isMulti && hasValue && controlShouldRenderValue ? 'flex' : 'grid',\n flex: 1,\n flexWrap: 'wrap',\n padding: \"\".concat(spacing.baseUnit / 2, \"px \").concat(spacing.baseUnit * 2, \"px\"),\n WebkitOverflowScrolling: 'touch',\n position: 'relative',\n overflow: 'hidden'\n };\n};\n\nvar ValueContainer = function ValueContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n innerProps = props.innerProps,\n isMulti = props.isMulti,\n getStyles = props.getStyles,\n hasValue = props.hasValue;\n return jsx(\"div\", _extends({\n css: getStyles('valueContainer', props),\n className: cx({\n 'value-container': true,\n 'value-container--is-multi': isMulti,\n 'value-container--has-value': hasValue\n }, className)\n }, innerProps), children);\n}; // ==============================\n// Indicator Container\n// ==============================\n\n\nvar indicatorsContainerCSS = function indicatorsContainerCSS() {\n return {\n alignItems: 'center',\n alignSelf: 'stretch',\n display: 'flex',\n flexShrink: 0\n };\n};\n\nvar IndicatorsContainer = function IndicatorsContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n innerProps = props.innerProps,\n getStyles = props.getStyles;\n return jsx(\"div\", _extends({\n css: getStyles('indicatorsContainer', props),\n className: cx({\n indicators: true\n }, className)\n }, innerProps), children);\n};\n\nvar _templateObject;\n\nvar _excluded$2 = [\"size\"];\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n}\n\nvar _ref2 = process.env.NODE_ENV === \"production\" ? {\n name: \"8mmkcg\",\n styles: \"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0\"\n} : {\n name: \"tj5bde-Svg\",\n styles: \"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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ZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n}; // ==============================\n// Dropdown & Clear Icons\n// ==============================\n\n\nvar Svg = function Svg(_ref) {\n var size = _ref.size,\n props = _objectWithoutProperties(_ref, _excluded$2);\n\n return jsx(\"svg\", _extends({\n height: size,\n width: size,\n viewBox: \"0 0 20 20\",\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n css: _ref2\n }, props));\n};\n\nvar CrossIcon = function CrossIcon(props) {\n return jsx(Svg, _extends({\n size: 20\n }, props), jsx(\"path\", {\n d: \"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z\"\n }));\n};\n\nvar DownChevron = function DownChevron(props) {\n return jsx(Svg, _extends({\n size: 20\n }, props), jsx(\"path\", {\n d: \"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z\"\n }));\n}; // ==============================\n// Dropdown & Clear Buttons\n// ==============================\n\n\nvar baseCSS = function baseCSS(_ref3) {\n var isFocused = _ref3.isFocused,\n _ref3$theme = _ref3.theme,\n baseUnit = _ref3$theme.spacing.baseUnit,\n colors = _ref3$theme.colors;\n return {\n label: 'indicatorContainer',\n color: isFocused ? colors.neutral60 : colors.neutral20,\n display: 'flex',\n padding: baseUnit * 2,\n transition: 'color 150ms',\n ':hover': {\n color: isFocused ? colors.neutral80 : colors.neutral40\n }\n };\n};\n\nvar dropdownIndicatorCSS = baseCSS;\n\nvar DropdownIndicator = function DropdownIndicator(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('dropdownIndicator', props),\n className: cx({\n indicator: true,\n 'dropdown-indicator': true\n }, className)\n }, innerProps), children || jsx(DownChevron, null));\n};\n\nvar clearIndicatorCSS = baseCSS;\n\nvar ClearIndicator = function ClearIndicator(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('clearIndicator', props),\n className: cx({\n indicator: true,\n 'clear-indicator': true\n }, className)\n }, innerProps), children || jsx(CrossIcon, null));\n}; // ==============================\n// Separator\n// ==============================\n\n\nvar indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4) {\n var isDisabled = _ref4.isDisabled,\n _ref4$theme = _ref4.theme,\n baseUnit = _ref4$theme.spacing.baseUnit,\n colors = _ref4$theme.colors;\n return {\n label: 'indicatorSeparator',\n alignSelf: 'stretch',\n backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,\n marginBottom: baseUnit * 2,\n marginTop: baseUnit * 2,\n width: 1\n };\n};\n\nvar IndicatorSeparator = function IndicatorSeparator(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"span\", _extends({}, innerProps, {\n css: getStyles('indicatorSeparator', props),\n className: cx({\n 'indicator-separator': true\n }, className)\n }));\n}; // ==============================\n// Loading\n// ==============================\n\n\nvar loadingDotAnimations = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n 0%, 80%, 100% { opacity: 0; }\\n 40% { opacity: 1; }\\n\"])));\n\nvar loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {\n var isFocused = _ref5.isFocused,\n size = _ref5.size,\n _ref5$theme = _ref5.theme,\n colors = _ref5$theme.colors,\n baseUnit = _ref5$theme.spacing.baseUnit;\n return {\n label: 'loadingIndicator',\n color: isFocused ? colors.neutral60 : colors.neutral20,\n display: 'flex',\n padding: baseUnit * 2,\n transition: 'color 150ms',\n alignSelf: 'center',\n fontSize: size,\n lineHeight: 1,\n marginRight: size,\n textAlign: 'center',\n verticalAlign: 'middle'\n };\n};\n\nvar LoadingDot = function LoadingDot(_ref6) {\n var delay = _ref6.delay,\n offset = _ref6.offset;\n return jsx(\"span\", {\n css: /*#__PURE__*/css$2({\n animation: \"\".concat(loadingDotAnimations, \" 1s ease-in-out \").concat(delay, \"ms infinite;\"),\n backgroundColor: 'currentColor',\n borderRadius: '1em',\n display: 'inline-block',\n marginLeft: offset ? '1em' : undefined,\n height: '1em',\n verticalAlign: 'top',\n width: '1em'\n }, process.env.NODE_ENV === \"production\" ? \"\" : \";label:LoadingDot;\", process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTG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9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */\")\n });\n};\n\nvar LoadingIndicator = function LoadingIndicator(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isRtl = props.isRtl;\n return jsx(\"div\", _extends({\n css: getStyles('loadingIndicator', props),\n className: cx({\n indicator: true,\n 'loading-indicator': true\n }, className)\n }, innerProps), jsx(LoadingDot, {\n delay: 0,\n offset: isRtl\n }), jsx(LoadingDot, {\n delay: 160,\n offset: true\n }), jsx(LoadingDot, {\n delay: 320,\n offset: !isRtl\n }));\n};\n\nLoadingIndicator.defaultProps = {\n size: 4\n};\n\nvar css$1 = function css(_ref) {\n var isDisabled = _ref.isDisabled,\n isFocused = _ref.isFocused,\n _ref$theme = _ref.theme,\n colors = _ref$theme.colors,\n borderRadius = _ref$theme.borderRadius,\n spacing = _ref$theme.spacing;\n return {\n label: 'control',\n alignItems: 'center',\n backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,\n borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,\n borderRadius: borderRadius,\n borderStyle: 'solid',\n borderWidth: 1,\n boxShadow: isFocused ? \"0 0 0 1px \".concat(colors.primary) : undefined,\n cursor: 'default',\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'space-between',\n minHeight: spacing.controlHeight,\n outline: '0 !important',\n position: 'relative',\n transition: 'all 100ms',\n '&:hover': {\n borderColor: isFocused ? colors.primary : colors.neutral30\n }\n };\n};\n\nvar Control = function Control(props) {\n var children = props.children,\n cx = props.cx,\n getStyles = props.getStyles,\n className = props.className,\n isDisabled = props.isDisabled,\n isFocused = props.isFocused,\n innerRef = props.innerRef,\n innerProps = props.innerProps,\n menuIsOpen = props.menuIsOpen;\n return jsx(\"div\", _extends({\n ref: innerRef,\n css: getStyles('control', props),\n className: cx({\n control: true,\n 'control--is-disabled': isDisabled,\n 'control--is-focused': isFocused,\n 'control--menu-is-open': menuIsOpen\n }, className)\n }, innerProps), children);\n};\n\nvar _excluded$1 = [\"data\"];\n\nvar groupCSS = function groupCSS(_ref) {\n var spacing = _ref.theme.spacing;\n return {\n paddingBottom: spacing.baseUnit * 2,\n paddingTop: spacing.baseUnit * 2\n };\n};\n\nvar Group = function Group(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n Heading = props.Heading,\n headingProps = props.headingProps,\n innerProps = props.innerProps,\n label = props.label,\n theme = props.theme,\n selectProps = props.selectProps;\n return jsx(\"div\", _extends({\n css: getStyles('group', props),\n className: cx({\n group: true\n }, className)\n }, innerProps), jsx(Heading, _extends({}, headingProps, {\n selectProps: selectProps,\n theme: theme,\n getStyles: getStyles,\n cx: cx\n }), label), jsx(\"div\", null, children));\n};\n\nvar groupHeadingCSS = function groupHeadingCSS(_ref2) {\n var spacing = _ref2.theme.spacing;\n return {\n label: 'group',\n color: '#999',\n cursor: 'default',\n display: 'block',\n fontSize: '75%',\n fontWeight: 500,\n marginBottom: '0.25em',\n paddingLeft: spacing.baseUnit * 3,\n paddingRight: spacing.baseUnit * 3,\n textTransform: 'uppercase'\n };\n};\n\nvar GroupHeading = function GroupHeading(props) {\n var getStyles = props.getStyles,\n cx = props.cx,\n className = props.className;\n\n var _cleanCommonProps = cleanCommonProps(props);\n\n _cleanCommonProps.data;\n\n var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1);\n\n return jsx(\"div\", _extends({\n css: getStyles('groupHeading', props),\n className: cx({\n 'group-heading': true\n }, className)\n }, innerProps));\n};\n\nvar _excluded = [\"innerRef\", \"isDisabled\", \"isHidden\", \"inputClassName\"];\n\nvar inputCSS = function inputCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n value = _ref.value,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return _objectSpread({\n margin: spacing.baseUnit / 2,\n paddingBottom: spacing.baseUnit / 2,\n paddingTop: spacing.baseUnit / 2,\n visibility: isDisabled ? 'hidden' : 'visible',\n color: colors.neutral80,\n // force css to recompute when value change due to @emotion bug.\n // We can remove it whenever the bug is fixed.\n transform: value ? 'translateZ(0)' : ''\n }, containerStyle);\n};\n\nvar spacingStyle = {\n gridArea: '1 / 2',\n font: 'inherit',\n minWidth: '2px',\n border: 0,\n margin: 0,\n outline: 0,\n padding: 0\n};\nvar containerStyle = {\n flex: '1 1 auto',\n display: 'inline-grid',\n gridArea: '1 / 1 / 2 / 3',\n gridTemplateColumns: '0 min-content',\n '&:after': _objectSpread({\n content: 'attr(data-value) \" \"',\n visibility: 'hidden',\n whiteSpace: 'pre'\n }, spacingStyle)\n};\n\nvar inputStyle = function inputStyle(isHidden) {\n return _objectSpread({\n label: 'input',\n color: 'inherit',\n background: 0,\n opacity: isHidden ? 0 : 1,\n width: '100%'\n }, spacingStyle);\n};\n\nvar Input = function Input(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n value = props.value;\n\n var _cleanCommonProps = cleanCommonProps(props),\n innerRef = _cleanCommonProps.innerRef,\n isDisabled = _cleanCommonProps.isDisabled,\n isHidden = _cleanCommonProps.isHidden,\n inputClassName = _cleanCommonProps.inputClassName,\n innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);\n\n return jsx(\"div\", {\n className: cx({\n 'input-container': true\n }, className),\n css: getStyles('input', props),\n \"data-value\": value || ''\n }, jsx(\"input\", _extends({\n className: cx({\n input: true\n }, inputClassName),\n ref: innerRef,\n style: inputStyle(isHidden),\n disabled: isDisabled\n }, innerProps)));\n};\n\nvar multiValueCSS = function multiValueCSS(_ref) {\n var _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n borderRadius = _ref$theme.borderRadius,\n colors = _ref$theme.colors;\n return {\n label: 'multiValue',\n backgroundColor: colors.neutral10,\n borderRadius: borderRadius / 2,\n display: 'flex',\n margin: spacing.baseUnit / 2,\n minWidth: 0 // resolves flex/text-overflow bug\n\n };\n};\n\nvar multiValueLabelCSS = function multiValueLabelCSS(_ref2) {\n var _ref2$theme = _ref2.theme,\n borderRadius = _ref2$theme.borderRadius,\n colors = _ref2$theme.colors,\n cropWithEllipsis = _ref2.cropWithEllipsis;\n return {\n borderRadius: borderRadius / 2,\n color: colors.neutral80,\n fontSize: '85%',\n overflow: 'hidden',\n padding: 3,\n paddingLeft: 6,\n textOverflow: cropWithEllipsis || cropWithEllipsis === undefined ? 'ellipsis' : undefined,\n whiteSpace: 'nowrap'\n };\n};\n\nvar multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {\n var _ref3$theme = _ref3.theme,\n spacing = _ref3$theme.spacing,\n borderRadius = _ref3$theme.borderRadius,\n colors = _ref3$theme.colors,\n isFocused = _ref3.isFocused;\n return {\n alignItems: 'center',\n borderRadius: borderRadius / 2,\n backgroundColor: isFocused ? colors.dangerLight : undefined,\n display: 'flex',\n paddingLeft: spacing.baseUnit,\n paddingRight: spacing.baseUnit,\n ':hover': {\n backgroundColor: colors.dangerLight,\n color: colors.danger\n }\n };\n};\n\nvar MultiValueGeneric = function MultiValueGeneric(_ref4) {\n var children = _ref4.children,\n innerProps = _ref4.innerProps;\n return jsx(\"div\", innerProps, children);\n};\n\nvar MultiValueContainer = MultiValueGeneric;\nvar MultiValueLabel = MultiValueGeneric;\n\nfunction MultiValueRemove(_ref5) {\n var children = _ref5.children,\n innerProps = _ref5.innerProps;\n return jsx(\"div\", _extends({\n role: \"button\"\n }, innerProps), children || jsx(CrossIcon, {\n size: 14\n }));\n}\n\nvar MultiValue = function MultiValue(props) {\n var children = props.children,\n className = props.className,\n components = props.components,\n cx = props.cx,\n data = props.data,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isDisabled = props.isDisabled,\n removeProps = props.removeProps,\n selectProps = props.selectProps;\n var Container = components.Container,\n Label = components.Label,\n Remove = components.Remove;\n return jsx(ClassNames, null, function (_ref6) {\n var css = _ref6.css,\n emotionCx = _ref6.cx;\n return jsx(Container, {\n data: data,\n innerProps: _objectSpread({\n className: emotionCx(css(getStyles('multiValue', props)), cx({\n 'multi-value': true,\n 'multi-value--is-disabled': isDisabled\n }, className))\n }, innerProps),\n selectProps: selectProps\n }, jsx(Label, {\n data: data,\n innerProps: {\n className: emotionCx(css(getStyles('multiValueLabel', props)), cx({\n 'multi-value__label': true\n }, className))\n },\n selectProps: selectProps\n }, children), jsx(Remove, {\n data: data,\n innerProps: _objectSpread({\n className: emotionCx(css(getStyles('multiValueRemove', props)), cx({\n 'multi-value__remove': true\n }, className)),\n 'aria-label': \"Remove \".concat(children || 'option')\n }, removeProps),\n selectProps: selectProps\n }));\n });\n};\n\nvar optionCSS = function optionCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n isFocused = _ref.isFocused,\n isSelected = _ref.isSelected,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'option',\n backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : 'transparent',\n color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : 'inherit',\n cursor: 'default',\n display: 'block',\n fontSize: 'inherit',\n padding: \"\".concat(spacing.baseUnit * 2, \"px \").concat(spacing.baseUnit * 3, \"px\"),\n width: '100%',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',\n // provide some affordance on touch devices\n ':active': {\n backgroundColor: !isDisabled ? isSelected ? colors.primary : colors.primary50 : undefined\n }\n };\n};\n\nvar Option = function Option(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n isDisabled = props.isDisabled,\n isFocused = props.isFocused,\n isSelected = props.isSelected,\n innerRef = props.innerRef,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('option', props),\n className: cx({\n option: true,\n 'option--is-disabled': isDisabled,\n 'option--is-focused': isFocused,\n 'option--is-selected': isSelected\n }, className),\n ref: innerRef,\n \"aria-disabled\": isDisabled\n }, innerProps), children);\n};\n\nvar placeholderCSS = function placeholderCSS(_ref) {\n var _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'placeholder',\n color: colors.neutral50,\n gridArea: '1 / 1 / 2 / 3',\n marginLeft: spacing.baseUnit / 2,\n marginRight: spacing.baseUnit / 2\n };\n};\n\nvar Placeholder = function Placeholder(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('placeholder', props),\n className: cx({\n placeholder: true\n }, className)\n }, innerProps), children);\n};\n\nvar css = function css(_ref) {\n var isDisabled = _ref.isDisabled,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'singleValue',\n color: isDisabled ? colors.neutral40 : colors.neutral80,\n gridArea: '1 / 1 / 2 / 3',\n marginLeft: spacing.baseUnit / 2,\n marginRight: spacing.baseUnit / 2,\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n };\n};\n\nvar SingleValue = function SingleValue(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n isDisabled = props.isDisabled,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('singleValue', props),\n className: cx({\n 'single-value': true,\n 'single-value--is-disabled': isDisabled\n }, className)\n }, innerProps), children);\n};\n\nvar components = {\n ClearIndicator: ClearIndicator,\n Control: Control,\n DropdownIndicator: DropdownIndicator,\n DownChevron: DownChevron,\n CrossIcon: CrossIcon,\n Group: Group,\n GroupHeading: GroupHeading,\n IndicatorsContainer: IndicatorsContainer,\n IndicatorSeparator: IndicatorSeparator,\n Input: Input,\n LoadingIndicator: LoadingIndicator,\n Menu: Menu,\n MenuList: MenuList,\n MenuPortal: MenuPortal,\n LoadingMessage: LoadingMessage,\n NoOptionsMessage: NoOptionsMessage,\n MultiValue: MultiValue,\n MultiValueContainer: MultiValueContainer,\n MultiValueLabel: MultiValueLabel,\n MultiValueRemove: MultiValueRemove,\n Option: Option,\n Placeholder: Placeholder,\n SelectContainer: SelectContainer,\n SingleValue: SingleValue,\n ValueContainer: ValueContainer\n};\n\nvar defaultComponents = function defaultComponents(props) {\n return _objectSpread(_objectSpread({}, components), props.components);\n};\n\nexport { isMobileDevice as A, multiValueAsValue as B, singleValueAsValue as C, valueTernary as D, classNames as E, defaultComponents as F, notNullish as G, isDocumentElement as H, cleanValue as I, scrollIntoView as J, noop as K, handleInputChange as L, MenuPlacer as M, clearIndicatorCSS as a, containerCSS as b, components as c, css$1 as d, dropdownIndicatorCSS as e, groupHeadingCSS as f, groupCSS as g, indicatorSeparatorCSS as h, indicatorsContainerCSS as i, inputCSS as j, loadingMessageCSS as k, loadingIndicatorCSS as l, menuCSS as m, menuListCSS as n, menuPortalCSS as o, multiValueCSS as p, multiValueLabelCSS as q, removeProps as r, supportsPassiveEvents as s, multiValueRemoveCSS as t, noOptionsMessageCSS as u, optionCSS as v, placeholderCSS as w, css as x, valueContainerCSS as y, isTouchCapable as z };","export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}","var safeIsNaN = Number.isNaN || function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n};\n\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n\n return false;\n}\n\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) {\n isEqual = areInputsEqual;\n }\n\n var cache = null;\n\n function memoized() {\n var newArgs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n\n if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {\n return cache.lastResult;\n }\n\n var lastResult = resultFn.apply(this, newArgs);\n cache = {\n lastResult: lastResult,\n lastArgs: newArgs,\n lastThis: this\n };\n return lastResult;\n }\n\n memoized.clear = function clear() {\n cache = null;\n };\n\n return memoized;\n}\n\nexport { memoizeOne as default };","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _createSuper from '@babel/runtime/helpers/esm/createSuper';\nimport _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';\nimport * as React from 'react';\nimport { useMemo, Fragment, useRef, useCallback, useEffect, Component } from 'react';\nimport { r as removeProps, s as supportsPassiveEvents, a as clearIndicatorCSS, b as containerCSS, d as css$1, e as dropdownIndicatorCSS, g as groupCSS, f as groupHeadingCSS, i as indicatorsContainerCSS, h as indicatorSeparatorCSS, j as inputCSS, l as loadingIndicatorCSS, k as loadingMessageCSS, m as menuCSS, n as menuListCSS, o as menuPortalCSS, p as multiValueCSS, q as multiValueLabelCSS, t as multiValueRemoveCSS, u as noOptionsMessageCSS, v as optionCSS, w as placeholderCSS, x as css$2, y as valueContainerCSS, z as isTouchCapable, A as isMobileDevice, B as multiValueAsValue, C as singleValueAsValue, D as valueTernary, E as classNames, F as defaultComponents, G as notNullish, H as isDocumentElement, I as cleanValue, J as scrollIntoView, K as noop, M as MenuPlacer } from './index-827f44ad.esm.js';\nimport { jsx, css } from '@emotion/react';\nimport memoizeOne from 'memoize-one';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__$2() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n} // Assistive text to describe visual elements. Hidden for sighted users.\n\n\nvar _ref = process.env.NODE_ENV === \"production\" ? {\n name: \"7pg0cj-a11yText\",\n styles: \"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap\"\n} : {\n name: \"1f43avz-a11yText-A11yText\",\n styles: \"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2\n};\n\nvar A11yText = function A11yText(props) {\n return jsx(\"span\", _extends({\n css: _ref\n }, props));\n};\n\nvar defaultAriaLiveMessages = {\n guidance: function guidance(props) {\n var isSearchable = props.isSearchable,\n isMulti = props.isMulti,\n isDisabled = props.isDisabled,\n tabSelectsValue = props.tabSelectsValue,\n context = props.context;\n\n switch (context) {\n case 'menu':\n return \"Use Up and Down to choose options\".concat(isDisabled ? '' : ', press Enter to select the currently focused option', \", press Escape to exit the menu\").concat(tabSelectsValue ? ', press Tab to select the option and exit the menu' : '', \".\");\n\n case 'input':\n return \"\".concat(props['aria-label'] || 'Select', \" is focused \").concat(isSearchable ? ',type to refine list' : '', \", press Down to open the menu, \").concat(isMulti ? ' press left to focus selected values' : '');\n\n case 'value':\n return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';\n\n default:\n return '';\n }\n },\n onChange: function onChange(props) {\n var action = props.action,\n _props$label = props.label,\n label = _props$label === void 0 ? '' : _props$label,\n labels = props.labels,\n isDisabled = props.isDisabled;\n\n switch (action) {\n case 'deselect-option':\n case 'pop-value':\n case 'remove-value':\n return \"option \".concat(label, \", deselected.\");\n\n case 'clear':\n return 'All selected options have been cleared.';\n\n case 'initial-input-focus':\n return \"option\".concat(labels.length > 1 ? 's' : '', \" \").concat(labels.join(','), \", selected.\");\n\n case 'select-option':\n return isDisabled ? \"option \".concat(label, \" is disabled. Select another option.\") : \"option \".concat(label, \", selected.\");\n\n default:\n return '';\n }\n },\n onFocus: function onFocus(props) {\n var context = props.context,\n focused = props.focused,\n options = props.options,\n _props$label2 = props.label,\n label = _props$label2 === void 0 ? '' : _props$label2,\n selectValue = props.selectValue,\n isDisabled = props.isDisabled,\n isSelected = props.isSelected;\n\n var getArrayIndex = function getArrayIndex(arr, item) {\n return arr && arr.length ? \"\".concat(arr.indexOf(item) + 1, \" of \").concat(arr.length) : '';\n };\n\n if (context === 'value' && selectValue) {\n return \"value \".concat(label, \" focused, \").concat(getArrayIndex(selectValue, focused), \".\");\n }\n\n if (context === 'menu') {\n var disabled = isDisabled ? ' disabled' : '';\n var status = \"\".concat(isSelected ? 'selected' : 'focused').concat(disabled);\n return \"option \".concat(label, \" \").concat(status, \", \").concat(getArrayIndex(options, focused), \".\");\n }\n\n return '';\n },\n onFilter: function onFilter(props) {\n var inputValue = props.inputValue,\n resultsMessage = props.resultsMessage;\n return \"\".concat(resultsMessage).concat(inputValue ? ' for search term ' + inputValue : '', \".\");\n }\n};\n\nvar LiveRegion = function LiveRegion(props) {\n var ariaSelection = props.ariaSelection,\n focusedOption = props.focusedOption,\n focusedValue = props.focusedValue,\n focusableOptions = props.focusableOptions,\n isFocused = props.isFocused,\n selectValue = props.selectValue,\n selectProps = props.selectProps,\n id = props.id;\n var ariaLiveMessages = selectProps.ariaLiveMessages,\n getOptionLabel = selectProps.getOptionLabel,\n inputValue = selectProps.inputValue,\n isMulti = selectProps.isMulti,\n isOptionDisabled = selectProps.isOptionDisabled,\n isSearchable = selectProps.isSearchable,\n menuIsOpen = selectProps.menuIsOpen,\n options = selectProps.options,\n screenReaderStatus = selectProps.screenReaderStatus,\n tabSelectsValue = selectProps.tabSelectsValue;\n var ariaLabel = selectProps['aria-label'];\n var ariaLive = selectProps['aria-live']; // Update aria live message configuration when prop changes\n\n var messages = useMemo(function () {\n return _objectSpread(_objectSpread({}, defaultAriaLiveMessages), ariaLiveMessages || {});\n }, [ariaLiveMessages]); // Update aria live selected option when prop changes\n\n var ariaSelected = useMemo(function () {\n var message = '';\n\n if (ariaSelection && messages.onChange) {\n var option = ariaSelection.option,\n selectedOptions = ariaSelection.options,\n removedValue = ariaSelection.removedValue,\n removedValues = ariaSelection.removedValues,\n value = ariaSelection.value; // select-option when !isMulti does not return option so we assume selected option is value\n\n var asOption = function asOption(val) {\n return !Array.isArray(val) ? val : null;\n }; // If there is just one item from the action then get its label\n\n\n var selected = removedValue || option || asOption(value);\n var label = selected ? getOptionLabel(selected) : ''; // If there are multiple items from the action then return an array of labels\n\n var multiSelected = selectedOptions || removedValues || undefined;\n var labels = multiSelected ? multiSelected.map(getOptionLabel) : [];\n\n var onChangeProps = _objectSpread({\n // multiSelected items are usually items that have already been selected\n // or set by the user as a default value so we assume they are not disabled\n isDisabled: selected && isOptionDisabled(selected, selectValue),\n label: label,\n labels: labels\n }, ariaSelection);\n\n message = messages.onChange(onChangeProps);\n }\n\n return message;\n }, [ariaSelection, messages, isOptionDisabled, selectValue, getOptionLabel]);\n var ariaFocused = useMemo(function () {\n var focusMsg = '';\n var focused = focusedOption || focusedValue;\n var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));\n\n if (focused && messages.onFocus) {\n var onFocusProps = {\n focused: focused,\n label: getOptionLabel(focused),\n isDisabled: isOptionDisabled(focused, selectValue),\n isSelected: isSelected,\n options: focusableOptions,\n context: focused === focusedOption ? 'menu' : 'value',\n selectValue: selectValue\n };\n focusMsg = messages.onFocus(onFocusProps);\n }\n\n return focusMsg;\n }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, focusableOptions, selectValue]);\n var ariaResults = useMemo(function () {\n var resultsMsg = '';\n\n if (menuIsOpen && options.length && messages.onFilter) {\n var resultsMessage = screenReaderStatus({\n count: focusableOptions.length\n });\n resultsMsg = messages.onFilter({\n inputValue: inputValue,\n resultsMessage: resultsMessage\n });\n }\n\n return resultsMsg;\n }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus]);\n var ariaGuidance = useMemo(function () {\n var guidanceMsg = '';\n\n if (messages.guidance) {\n var context = focusedValue ? 'value' : menuIsOpen ? 'menu' : 'input';\n guidanceMsg = messages.guidance({\n 'aria-label': ariaLabel,\n context: context,\n isDisabled: focusedOption && isOptionDisabled(focusedOption, selectValue),\n isMulti: isMulti,\n isSearchable: isSearchable,\n tabSelectsValue: tabSelectsValue\n });\n }\n\n return guidanceMsg;\n }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue]);\n var ariaContext = \"\".concat(ariaFocused, \" \").concat(ariaResults, \" \").concat(ariaGuidance);\n var ScreenReaderText = jsx(Fragment, null, jsx(\"span\", {\n id: \"aria-selection\"\n }, ariaSelected), jsx(\"span\", {\n id: \"aria-context\"\n }, ariaContext));\n var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';\n return jsx(Fragment, null, jsx(A11yText, {\n id: id\n }, isInitialFocus && ScreenReaderText), jsx(A11yText, {\n \"aria-live\": ariaLive,\n \"aria-atomic\": \"false\",\n \"aria-relevant\": \"additions text\"\n }, isFocused && !isInitialFocus && ScreenReaderText));\n};\n\nvar diacritics = [{\n base: 'A',\n letters: \"A\\u24B6\\uFF21\\xC0\\xC1\\xC2\\u1EA6\\u1EA4\\u1EAA\\u1EA8\\xC3\\u0100\\u0102\\u1EB0\\u1EAE\\u1EB4\\u1EB2\\u0226\\u01E0\\xC4\\u01DE\\u1EA2\\xC5\\u01FA\\u01CD\\u0200\\u0202\\u1EA0\\u1EAC\\u1EB6\\u1E00\\u0104\\u023A\\u2C6F\"\n}, {\n base: 'AA',\n letters: \"\\uA732\"\n}, {\n base: 'AE',\n letters: \"\\xC6\\u01FC\\u01E2\"\n}, {\n base: 'AO',\n letters: \"\\uA734\"\n}, {\n base: 'AU',\n letters: \"\\uA736\"\n}, {\n base: 'AV',\n letters: \"\\uA738\\uA73A\"\n}, {\n base: 'AY',\n letters: \"\\uA73C\"\n}, {\n base: 'B',\n letters: \"B\\u24B7\\uFF22\\u1E02\\u1E04\\u1E06\\u0243\\u0182\\u0181\"\n}, {\n base: 'C',\n letters: \"C\\u24B8\\uFF23\\u0106\\u0108\\u010A\\u010C\\xC7\\u1E08\\u0187\\u023B\\uA73E\"\n}, {\n base: 'D',\n letters: \"D\\u24B9\\uFF24\\u1E0A\\u010E\\u1E0C\\u1E10\\u1E12\\u1E0E\\u0110\\u018B\\u018A\\u0189\\uA779\"\n}, {\n base: 'DZ',\n letters: \"\\u01F1\\u01C4\"\n}, {\n base: 'Dz',\n letters: \"\\u01F2\\u01C5\"\n}, {\n base: 'E',\n letters: \"E\\u24BA\\uFF25\\xC8\\xC9\\xCA\\u1EC0\\u1EBE\\u1EC4\\u1EC2\\u1EBC\\u0112\\u1E14\\u1E16\\u0114\\u0116\\xCB\\u1EBA\\u011A\\u0204\\u0206\\u1EB8\\u1EC6\\u0228\\u1E1C\\u0118\\u1E18\\u1E1A\\u0190\\u018E\"\n}, {\n base: 'F',\n letters: \"F\\u24BB\\uFF26\\u1E1E\\u0191\\uA77B\"\n}, {\n base: 'G',\n letters: \"G\\u24BC\\uFF27\\u01F4\\u011C\\u1E20\\u011E\\u0120\\u01E6\\u0122\\u01E4\\u0193\\uA7A0\\uA77D\\uA77E\"\n}, {\n base: 'H',\n letters: \"H\\u24BD\\uFF28\\u0124\\u1E22\\u1E26\\u021E\\u1E24\\u1E28\\u1E2A\\u0126\\u2C67\\u2C75\\uA78D\"\n}, {\n base: 'I',\n letters: \"I\\u24BE\\uFF29\\xCC\\xCD\\xCE\\u0128\\u012A\\u012C\\u0130\\xCF\\u1E2E\\u1EC8\\u01CF\\u0208\\u020A\\u1ECA\\u012E\\u1E2C\\u0197\"\n}, {\n base: 'J',\n letters: \"J\\u24BF\\uFF2A\\u0134\\u0248\"\n}, {\n base: 'K',\n letters: \"K\\u24C0\\uFF2B\\u1E30\\u01E8\\u1E32\\u0136\\u1E34\\u0198\\u2C69\\uA740\\uA742\\uA744\\uA7A2\"\n}, {\n base: 'L',\n letters: \"L\\u24C1\\uFF2C\\u013F\\u0139\\u013D\\u1E36\\u1E38\\u013B\\u1E3C\\u1E3A\\u0141\\u023D\\u2C62\\u2C60\\uA748\\uA746\\uA780\"\n}, {\n base: 'LJ',\n letters: \"\\u01C7\"\n}, {\n base: 'Lj',\n letters: \"\\u01C8\"\n}, {\n base: 'M',\n letters: \"M\\u24C2\\uFF2D\\u1E3E\\u1E40\\u1E42\\u2C6E\\u019C\"\n}, {\n base: 'N',\n letters: \"N\\u24C3\\uFF2E\\u01F8\\u0143\\xD1\\u1E44\\u0147\\u1E46\\u0145\\u1E4A\\u1E48\\u0220\\u019D\\uA790\\uA7A4\"\n}, {\n base: 'NJ',\n letters: \"\\u01CA\"\n}, {\n base: 'Nj',\n letters: \"\\u01CB\"\n}, {\n base: 'O',\n letters: \"O\\u24C4\\uFF2F\\xD2\\xD3\\xD4\\u1ED2\\u1ED0\\u1ED6\\u1ED4\\xD5\\u1E4C\\u022C\\u1E4E\\u014C\\u1E50\\u1E52\\u014E\\u022E\\u0230\\xD6\\u022A\\u1ECE\\u0150\\u01D1\\u020C\\u020E\\u01A0\\u1EDC\\u1EDA\\u1EE0\\u1EDE\\u1EE2\\u1ECC\\u1ED8\\u01EA\\u01EC\\xD8\\u01FE\\u0186\\u019F\\uA74A\\uA74C\"\n}, {\n base: 'OI',\n letters: \"\\u01A2\"\n}, {\n base: 'OO',\n letters: \"\\uA74E\"\n}, {\n base: 'OU',\n letters: \"\\u0222\"\n}, {\n base: 'P',\n letters: \"P\\u24C5\\uFF30\\u1E54\\u1E56\\u01A4\\u2C63\\uA750\\uA752\\uA754\"\n}, {\n base: 'Q',\n letters: \"Q\\u24C6\\uFF31\\uA756\\uA758\\u024A\"\n}, {\n base: 'R',\n letters: \"R\\u24C7\\uFF32\\u0154\\u1E58\\u0158\\u0210\\u0212\\u1E5A\\u1E5C\\u0156\\u1E5E\\u024C\\u2C64\\uA75A\\uA7A6\\uA782\"\n}, {\n base: 'S',\n letters: \"S\\u24C8\\uFF33\\u1E9E\\u015A\\u1E64\\u015C\\u1E60\\u0160\\u1E66\\u1E62\\u1E68\\u0218\\u015E\\u2C7E\\uA7A8\\uA784\"\n}, {\n base: 'T',\n letters: \"T\\u24C9\\uFF34\\u1E6A\\u0164\\u1E6C\\u021A\\u0162\\u1E70\\u1E6E\\u0166\\u01AC\\u01AE\\u023E\\uA786\"\n}, {\n base: 'TZ',\n letters: \"\\uA728\"\n}, {\n base: 'U',\n letters: \"U\\u24CA\\uFF35\\xD9\\xDA\\xDB\\u0168\\u1E78\\u016A\\u1E7A\\u016C\\xDC\\u01DB\\u01D7\\u01D5\\u01D9\\u1EE6\\u016E\\u0170\\u01D3\\u0214\\u0216\\u01AF\\u1EEA\\u1EE8\\u1EEE\\u1EEC\\u1EF0\\u1EE4\\u1E72\\u0172\\u1E76\\u1E74\\u0244\"\n}, {\n base: 'V',\n letters: \"V\\u24CB\\uFF36\\u1E7C\\u1E7E\\u01B2\\uA75E\\u0245\"\n}, {\n base: 'VY',\n letters: \"\\uA760\"\n}, {\n base: 'W',\n letters: \"W\\u24CC\\uFF37\\u1E80\\u1E82\\u0174\\u1E86\\u1E84\\u1E88\\u2C72\"\n}, {\n base: 'X',\n letters: \"X\\u24CD\\uFF38\\u1E8A\\u1E8C\"\n}, {\n base: 'Y',\n letters: \"Y\\u24CE\\uFF39\\u1EF2\\xDD\\u0176\\u1EF8\\u0232\\u1E8E\\u0178\\u1EF6\\u1EF4\\u01B3\\u024E\\u1EFE\"\n}, {\n base: 'Z',\n letters: \"Z\\u24CF\\uFF3A\\u0179\\u1E90\\u017B\\u017D\\u1E92\\u1E94\\u01B5\\u0224\\u2C7F\\u2C6B\\uA762\"\n}, {\n base: 'a',\n letters: \"a\\u24D0\\uFF41\\u1E9A\\xE0\\xE1\\xE2\\u1EA7\\u1EA5\\u1EAB\\u1EA9\\xE3\\u0101\\u0103\\u1EB1\\u1EAF\\u1EB5\\u1EB3\\u0227\\u01E1\\xE4\\u01DF\\u1EA3\\xE5\\u01FB\\u01CE\\u0201\\u0203\\u1EA1\\u1EAD\\u1EB7\\u1E01\\u0105\\u2C65\\u0250\"\n}, {\n base: 'aa',\n letters: \"\\uA733\"\n}, {\n base: 'ae',\n letters: \"\\xE6\\u01FD\\u01E3\"\n}, {\n base: 'ao',\n letters: \"\\uA735\"\n}, {\n base: 'au',\n letters: \"\\uA737\"\n}, {\n base: 'av',\n letters: \"\\uA739\\uA73B\"\n}, {\n base: 'ay',\n letters: \"\\uA73D\"\n}, {\n base: 'b',\n letters: \"b\\u24D1\\uFF42\\u1E03\\u1E05\\u1E07\\u0180\\u0183\\u0253\"\n}, {\n base: 'c',\n letters: \"c\\u24D2\\uFF43\\u0107\\u0109\\u010B\\u010D\\xE7\\u1E09\\u0188\\u023C\\uA73F\\u2184\"\n}, {\n base: 'd',\n letters: \"d\\u24D3\\uFF44\\u1E0B\\u010F\\u1E0D\\u1E11\\u1E13\\u1E0F\\u0111\\u018C\\u0256\\u0257\\uA77A\"\n}, {\n base: 'dz',\n letters: \"\\u01F3\\u01C6\"\n}, {\n base: 'e',\n letters: \"e\\u24D4\\uFF45\\xE8\\xE9\\xEA\\u1EC1\\u1EBF\\u1EC5\\u1EC3\\u1EBD\\u0113\\u1E15\\u1E17\\u0115\\u0117\\xEB\\u1EBB\\u011B\\u0205\\u0207\\u1EB9\\u1EC7\\u0229\\u1E1D\\u0119\\u1E19\\u1E1B\\u0247\\u025B\\u01DD\"\n}, {\n base: 'f',\n letters: \"f\\u24D5\\uFF46\\u1E1F\\u0192\\uA77C\"\n}, {\n base: 'g',\n letters: \"g\\u24D6\\uFF47\\u01F5\\u011D\\u1E21\\u011F\\u0121\\u01E7\\u0123\\u01E5\\u0260\\uA7A1\\u1D79\\uA77F\"\n}, {\n base: 'h',\n letters: \"h\\u24D7\\uFF48\\u0125\\u1E23\\u1E27\\u021F\\u1E25\\u1E29\\u1E2B\\u1E96\\u0127\\u2C68\\u2C76\\u0265\"\n}, {\n base: 'hv',\n letters: \"\\u0195\"\n}, {\n base: 'i',\n letters: \"i\\u24D8\\uFF49\\xEC\\xED\\xEE\\u0129\\u012B\\u012D\\xEF\\u1E2F\\u1EC9\\u01D0\\u0209\\u020B\\u1ECB\\u012F\\u1E2D\\u0268\\u0131\"\n}, {\n base: 'j',\n letters: \"j\\u24D9\\uFF4A\\u0135\\u01F0\\u0249\"\n}, {\n base: 'k',\n letters: \"k\\u24DA\\uFF4B\\u1E31\\u01E9\\u1E33\\u0137\\u1E35\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3\"\n}, {\n base: 'l',\n letters: \"l\\u24DB\\uFF4C\\u0140\\u013A\\u013E\\u1E37\\u1E39\\u013C\\u1E3D\\u1E3B\\u017F\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA781\\uA747\"\n}, {\n base: 'lj',\n letters: \"\\u01C9\"\n}, {\n base: 'm',\n letters: \"m\\u24DC\\uFF4D\\u1E3F\\u1E41\\u1E43\\u0271\\u026F\"\n}, {\n base: 'n',\n letters: \"n\\u24DD\\uFF4E\\u01F9\\u0144\\xF1\\u1E45\\u0148\\u1E47\\u0146\\u1E4B\\u1E49\\u019E\\u0272\\u0149\\uA791\\uA7A5\"\n}, {\n base: 'nj',\n letters: \"\\u01CC\"\n}, {\n base: 'o',\n letters: \"o\\u24DE\\uFF4F\\xF2\\xF3\\xF4\\u1ED3\\u1ED1\\u1ED7\\u1ED5\\xF5\\u1E4D\\u022D\\u1E4F\\u014D\\u1E51\\u1E53\\u014F\\u022F\\u0231\\xF6\\u022B\\u1ECF\\u0151\\u01D2\\u020D\\u020F\\u01A1\\u1EDD\\u1EDB\\u1EE1\\u1EDF\\u1EE3\\u1ECD\\u1ED9\\u01EB\\u01ED\\xF8\\u01FF\\u0254\\uA74B\\uA74D\\u0275\"\n}, {\n base: 'oi',\n letters: \"\\u01A3\"\n}, {\n base: 'ou',\n letters: \"\\u0223\"\n}, {\n base: 'oo',\n letters: \"\\uA74F\"\n}, {\n base: 'p',\n letters: \"p\\u24DF\\uFF50\\u1E55\\u1E57\\u01A5\\u1D7D\\uA751\\uA753\\uA755\"\n}, {\n base: 'q',\n letters: \"q\\u24E0\\uFF51\\u024B\\uA757\\uA759\"\n}, {\n base: 'r',\n letters: \"r\\u24E1\\uFF52\\u0155\\u1E59\\u0159\\u0211\\u0213\\u1E5B\\u1E5D\\u0157\\u1E5F\\u024D\\u027D\\uA75B\\uA7A7\\uA783\"\n}, {\n base: 's',\n letters: \"s\\u24E2\\uFF53\\xDF\\u015B\\u1E65\\u015D\\u1E61\\u0161\\u1E67\\u1E63\\u1E69\\u0219\\u015F\\u023F\\uA7A9\\uA785\\u1E9B\"\n}, {\n base: 't',\n letters: \"t\\u24E3\\uFF54\\u1E6B\\u1E97\\u0165\\u1E6D\\u021B\\u0163\\u1E71\\u1E6F\\u0167\\u01AD\\u0288\\u2C66\\uA787\"\n}, {\n base: 'tz',\n letters: \"\\uA729\"\n}, {\n base: 'u',\n letters: \"u\\u24E4\\uFF55\\xF9\\xFA\\xFB\\u0169\\u1E79\\u016B\\u1E7B\\u016D\\xFC\\u01DC\\u01D8\\u01D6\\u01DA\\u1EE7\\u016F\\u0171\\u01D4\\u0215\\u0217\\u01B0\\u1EEB\\u1EE9\\u1EEF\\u1EED\\u1EF1\\u1EE5\\u1E73\\u0173\\u1E77\\u1E75\\u0289\"\n}, {\n base: 'v',\n letters: \"v\\u24E5\\uFF56\\u1E7D\\u1E7F\\u028B\\uA75F\\u028C\"\n}, {\n base: 'vy',\n letters: \"\\uA761\"\n}, {\n base: 'w',\n letters: \"w\\u24E6\\uFF57\\u1E81\\u1E83\\u0175\\u1E87\\u1E85\\u1E98\\u1E89\\u2C73\"\n}, {\n base: 'x',\n letters: \"x\\u24E7\\uFF58\\u1E8B\\u1E8D\"\n}, {\n base: 'y',\n letters: \"y\\u24E8\\uFF59\\u1EF3\\xFD\\u0177\\u1EF9\\u0233\\u1E8F\\xFF\\u1EF7\\u1E99\\u1EF5\\u01B4\\u024F\\u1EFF\"\n}, {\n base: 'z',\n letters: \"z\\u24E9\\uFF5A\\u017A\\u1E91\\u017C\\u017E\\u1E93\\u1E95\\u01B6\\u0225\\u0240\\u2C6C\\uA763\"\n}];\nvar anyDiacritic = new RegExp('[' + diacritics.map(function (d) {\n return d.letters;\n}).join('') + ']', 'g');\nvar diacriticToBase = {};\n\nfor (var i = 0; i < diacritics.length; i++) {\n var diacritic = diacritics[i];\n\n for (var j = 0; j < diacritic.letters.length; j++) {\n diacriticToBase[diacritic.letters[j]] = diacritic.base;\n }\n}\n\nvar stripDiacritics = function stripDiacritics(str) {\n return str.replace(anyDiacritic, function (match) {\n return diacriticToBase[match];\n });\n};\n\nvar memoizedStripDiacriticsForInput = memoizeOne(stripDiacritics);\n\nvar trimString = function trimString(str) {\n return str.replace(/^\\s+|\\s+$/g, '');\n};\n\nvar defaultStringify = function defaultStringify(option) {\n return \"\".concat(option.label, \" \").concat(option.value);\n};\n\nvar createFilter = function createFilter(config) {\n return function (option, rawInput) {\n // eslint-disable-next-line no-underscore-dangle\n if (option.data.__isNew__) return true;\n\n var _ignoreCase$ignoreAcc = _objectSpread({\n ignoreCase: true,\n ignoreAccents: true,\n stringify: defaultStringify,\n trim: true,\n matchFrom: 'any'\n }, config),\n ignoreCase = _ignoreCase$ignoreAcc.ignoreCase,\n ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents,\n stringify = _ignoreCase$ignoreAcc.stringify,\n trim = _ignoreCase$ignoreAcc.trim,\n matchFrom = _ignoreCase$ignoreAcc.matchFrom;\n\n var input = trim ? trimString(rawInput) : rawInput;\n var candidate = trim ? trimString(stringify(option)) : stringify(option);\n\n if (ignoreCase) {\n input = input.toLowerCase();\n candidate = candidate.toLowerCase();\n }\n\n if (ignoreAccents) {\n input = memoizedStripDiacriticsForInput(input);\n candidate = stripDiacritics(candidate);\n }\n\n return matchFrom === 'start' ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1;\n };\n};\n\nvar _excluded = [\"innerRef\"];\n\nfunction DummyInput(_ref) {\n var innerRef = _ref.innerRef,\n props = _objectWithoutProperties(_ref, _excluded); // Remove animation props not meant for HTML elements\n\n\n var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');\n return jsx(\"input\", _extends({\n ref: innerRef\n }, filteredProps, {\n css: /*#__PURE__*/css({\n label: 'dummyInput',\n // get rid of any default styles\n background: 0,\n border: 0,\n // important! this hides the flashing cursor\n caretColor: 'transparent',\n fontSize: 'inherit',\n gridArea: '1 / 1 / 2 / 3',\n outline: 0,\n padding: 0,\n // important! without `width` browsers won't allow focus\n width: 1,\n // remove cursor on desktop\n color: 'transparent',\n // remove cursor on mobile whilst maintaining \"scroll into view\" behaviour\n left: -100,\n opacity: 0,\n position: 'relative',\n transform: 'scale(.01)'\n }, process.env.NODE_ENV === \"production\" ? \"\" : \";label:DummyInput;\", process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */\")\n }));\n}\n\nvar cancelScroll = function cancelScroll(event) {\n event.preventDefault();\n event.stopPropagation();\n};\n\nfunction useScrollCapture(_ref) {\n var isEnabled = _ref.isEnabled,\n onBottomArrive = _ref.onBottomArrive,\n onBottomLeave = _ref.onBottomLeave,\n onTopArrive = _ref.onTopArrive,\n onTopLeave = _ref.onTopLeave;\n var isBottom = useRef(false);\n var isTop = useRef(false);\n var touchStart = useRef(0);\n var scrollTarget = useRef(null);\n var handleEventDelta = useCallback(function (event, delta) {\n if (scrollTarget.current === null) return;\n var _scrollTarget$current = scrollTarget.current,\n scrollTop = _scrollTarget$current.scrollTop,\n scrollHeight = _scrollTarget$current.scrollHeight,\n clientHeight = _scrollTarget$current.clientHeight;\n var target = scrollTarget.current;\n var isDeltaPositive = delta > 0;\n var availableScroll = scrollHeight - clientHeight - scrollTop;\n var shouldCancelScroll = false; // reset bottom/top flags\n\n if (availableScroll > delta && isBottom.current) {\n if (onBottomLeave) onBottomLeave(event);\n isBottom.current = false;\n }\n\n if (isDeltaPositive && isTop.current) {\n if (onTopLeave) onTopLeave(event);\n isTop.current = false;\n } // bottom limit\n\n\n if (isDeltaPositive && delta > availableScroll) {\n if (onBottomArrive && !isBottom.current) {\n onBottomArrive(event);\n }\n\n target.scrollTop = scrollHeight;\n shouldCancelScroll = true;\n isBottom.current = true; // top limit\n } else if (!isDeltaPositive && -delta > scrollTop) {\n if (onTopArrive && !isTop.current) {\n onTopArrive(event);\n }\n\n target.scrollTop = 0;\n shouldCancelScroll = true;\n isTop.current = true;\n } // cancel scroll\n\n\n if (shouldCancelScroll) {\n cancelScroll(event);\n }\n }, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]);\n var onWheel = useCallback(function (event) {\n handleEventDelta(event, event.deltaY);\n }, [handleEventDelta]);\n var onTouchStart = useCallback(function (event) {\n // set touch start so we can calculate touchmove delta\n touchStart.current = event.changedTouches[0].clientY;\n }, []);\n var onTouchMove = useCallback(function (event) {\n var deltaY = touchStart.current - event.changedTouches[0].clientY;\n handleEventDelta(event, deltaY);\n }, [handleEventDelta]);\n var startListening = useCallback(function (el) {\n // bail early if no element is available to attach to\n if (!el) return;\n var notPassive = supportsPassiveEvents ? {\n passive: false\n } : false;\n el.addEventListener('wheel', onWheel, notPassive);\n el.addEventListener('touchstart', onTouchStart, notPassive);\n el.addEventListener('touchmove', onTouchMove, notPassive);\n }, [onTouchMove, onTouchStart, onWheel]);\n var stopListening = useCallback(function (el) {\n // bail early if no element is available to detach from\n if (!el) return;\n el.removeEventListener('wheel', onWheel, false);\n el.removeEventListener('touchstart', onTouchStart, false);\n el.removeEventListener('touchmove', onTouchMove, false);\n }, [onTouchMove, onTouchStart, onWheel]);\n useEffect(function () {\n if (!isEnabled) return;\n var element = scrollTarget.current;\n startListening(element);\n return function () {\n stopListening(element);\n };\n }, [isEnabled, startListening, stopListening]);\n return function (element) {\n scrollTarget.current = element;\n };\n}\n\nvar STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];\nvar LOCK_STYLES = {\n boxSizing: 'border-box',\n // account for possible declaration `width: 100%;` on body\n overflow: 'hidden',\n position: 'relative',\n height: '100%'\n};\n\nfunction preventTouchMove(e) {\n e.preventDefault();\n}\n\nfunction allowTouchMove(e) {\n e.stopPropagation();\n}\n\nfunction preventInertiaScroll() {\n var top = this.scrollTop;\n var totalScroll = this.scrollHeight;\n var currentScroll = top + this.offsetHeight;\n\n if (top === 0) {\n this.scrollTop = 1;\n } else if (currentScroll === totalScroll) {\n this.scrollTop = top - 1;\n }\n} // `ontouchstart` check works on most browsers\n// `maxTouchPoints` works on IE10/11 and Surface\n\n\nfunction isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nvar activeScrollLocks = 0;\nvar listenerOptions = {\n capture: false,\n passive: false\n};\n\nfunction useScrollLock(_ref) {\n var isEnabled = _ref.isEnabled,\n _ref$accountForScroll = _ref.accountForScrollbars,\n accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll;\n var originalStyles = useRef({});\n var scrollTarget = useRef(null);\n var addScrollLock = useCallback(function (touchScrollTarget) {\n if (!canUseDOM) return;\n var target = document.body;\n var targetStyle = target && target.style;\n\n if (accountForScrollbars) {\n // store any styles already applied to the body\n STYLE_KEYS.forEach(function (key) {\n var val = targetStyle && targetStyle[key];\n originalStyles.current[key] = val;\n });\n } // apply the lock styles and padding if this is the first scroll lock\n\n\n if (accountForScrollbars && activeScrollLocks < 1) {\n var currentPadding = parseInt(originalStyles.current.paddingRight, 10) || 0;\n var clientWidth = document.body ? document.body.clientWidth : 0;\n var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;\n Object.keys(LOCK_STYLES).forEach(function (key) {\n var val = LOCK_STYLES[key];\n\n if (targetStyle) {\n targetStyle[key] = val;\n }\n });\n\n if (targetStyle) {\n targetStyle.paddingRight = \"\".concat(adjustedPadding, \"px\");\n }\n } // account for touch devices\n\n\n if (target && isTouchDevice()) {\n // Mobile Safari ignores { overflow: hidden } declaration on the body.\n target.addEventListener('touchmove', preventTouchMove, listenerOptions); // Allow scroll on provided target\n\n if (touchScrollTarget) {\n touchScrollTarget.addEventListener('touchstart', preventInertiaScroll, listenerOptions);\n touchScrollTarget.addEventListener('touchmove', allowTouchMove, listenerOptions);\n }\n } // increment active scroll locks\n\n\n activeScrollLocks += 1;\n }, [accountForScrollbars]);\n var removeScrollLock = useCallback(function (touchScrollTarget) {\n if (!canUseDOM) return;\n var target = document.body;\n var targetStyle = target && target.style; // safely decrement active scroll locks\n\n activeScrollLocks = Math.max(activeScrollLocks - 1, 0); // reapply original body styles, if any\n\n if (accountForScrollbars && activeScrollLocks < 1) {\n STYLE_KEYS.forEach(function (key) {\n var val = originalStyles.current[key];\n\n if (targetStyle) {\n targetStyle[key] = val;\n }\n });\n } // remove touch listeners\n\n\n if (target && isTouchDevice()) {\n target.removeEventListener('touchmove', preventTouchMove, listenerOptions);\n\n if (touchScrollTarget) {\n touchScrollTarget.removeEventListener('touchstart', preventInertiaScroll, listenerOptions);\n touchScrollTarget.removeEventListener('touchmove', allowTouchMove, listenerOptions);\n }\n }\n }, [accountForScrollbars]);\n useEffect(function () {\n if (!isEnabled) return;\n var element = scrollTarget.current;\n addScrollLock(element);\n return function () {\n removeScrollLock(element);\n };\n }, [isEnabled, addScrollLock, removeScrollLock]);\n return function (element) {\n scrollTarget.current = element;\n };\n}\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__$1() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n}\n\nvar blurSelectInput = function blurSelectInput() {\n return document.activeElement && document.activeElement.blur();\n};\n\nvar _ref2$1 = process.env.NODE_ENV === \"production\" ? {\n name: \"1kfdb0e\",\n styles: \"position:fixed;left:0;bottom:0;right:0;top:0\"\n} : {\n name: \"bp8cua-ScrollManager\",\n styles: \"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVh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ICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1\n};\n\nfunction ScrollManager(_ref) {\n var children = _ref.children,\n lockEnabled = _ref.lockEnabled,\n _ref$captureEnabled = _ref.captureEnabled,\n captureEnabled = _ref$captureEnabled === void 0 ? true : _ref$captureEnabled,\n onBottomArrive = _ref.onBottomArrive,\n onBottomLeave = _ref.onBottomLeave,\n onTopArrive = _ref.onTopArrive,\n onTopLeave = _ref.onTopLeave;\n var setScrollCaptureTarget = useScrollCapture({\n isEnabled: captureEnabled,\n onBottomArrive: onBottomArrive,\n onBottomLeave: onBottomLeave,\n onTopArrive: onTopArrive,\n onTopLeave: onTopLeave\n });\n var setScrollLockTarget = useScrollLock({\n isEnabled: lockEnabled\n });\n\n var targetRef = function targetRef(element) {\n setScrollCaptureTarget(element);\n setScrollLockTarget(element);\n };\n\n return jsx(Fragment, null, lockEnabled && jsx(\"div\", {\n onClick: blurSelectInput,\n css: _ref2$1\n }), children(targetRef));\n}\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n}\n\nvar _ref2 = process.env.NODE_ENV === \"production\" ? {\n name: \"1a0ro4n-requiredInput\",\n styles: \"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%\"\n} : {\n name: \"5kkxb2-requiredInput-RequiredInput\",\n styles: \"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuICByZWFkb25seSBvbkZvY3VzOiBGb2N1c0V2ZW50SGFuZGxlcjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0+ID0gKHsgbmFtZSwgb25Gb2N1cyB9KSA9PiAoXG4gIDxpbnB1dFxuICAgIHJlcXVpcmVkXG4gICAgbmFtZT17bmFtZX1cbiAgICB0YWJJbmRleD17LTF9XG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\n\nvar RequiredInput = function RequiredInput(_ref) {\n var name = _ref.name,\n onFocus = _ref.onFocus;\n return jsx(\"input\", {\n required: true,\n name: name,\n tabIndex: -1,\n onFocus: onFocus,\n css: _ref2 // Prevent `Switching from uncontrolled to controlled` error\n ,\n value: \"\",\n onChange: function onChange() {}\n });\n};\n\nvar formatGroupLabel = function formatGroupLabel(group) {\n return group.label;\n};\n\nvar getOptionLabel$1 = function getOptionLabel(option) {\n return option.label;\n};\n\nvar getOptionValue$1 = function getOptionValue(option) {\n return option.value;\n};\n\nvar isOptionDisabled = function isOptionDisabled(option) {\n return !!option.isDisabled;\n};\n\nvar defaultStyles = {\n clearIndicator: clearIndicatorCSS,\n container: containerCSS,\n control: css$1,\n dropdownIndicator: dropdownIndicatorCSS,\n group: groupCSS,\n groupHeading: groupHeadingCSS,\n indicatorsContainer: indicatorsContainerCSS,\n indicatorSeparator: indicatorSeparatorCSS,\n input: inputCSS,\n loadingIndicator: loadingIndicatorCSS,\n loadingMessage: loadingMessageCSS,\n menu: menuCSS,\n menuList: menuListCSS,\n menuPortal: menuPortalCSS,\n multiValue: multiValueCSS,\n multiValueLabel: multiValueLabelCSS,\n multiValueRemove: multiValueRemoveCSS,\n noOptionsMessage: noOptionsMessageCSS,\n option: optionCSS,\n placeholder: placeholderCSS,\n singleValue: css$2,\n valueContainer: valueContainerCSS\n}; // Merge Utility\n// Allows consumers to extend a base Select with additional styles\n\nfunction mergeStyles(source) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; // initialize with source styles\n\n var styles = _objectSpread({}, source); // massage in target styles\n\n\n Object.keys(target).forEach(function (keyAsString) {\n var key = keyAsString;\n\n if (source[key]) {\n styles[key] = function (rsCss, props) {\n return target[key](source[key](rsCss, props), props);\n };\n } else {\n styles[key] = target[key];\n }\n });\n return styles;\n}\n\nvar colors = {\n primary: '#2684FF',\n primary75: '#4C9AFF',\n primary50: '#B2D4FF',\n primary25: '#DEEBFF',\n danger: '#DE350B',\n dangerLight: '#FFBDAD',\n neutral0: 'hsl(0, 0%, 100%)',\n neutral5: 'hsl(0, 0%, 95%)',\n neutral10: 'hsl(0, 0%, 90%)',\n neutral20: 'hsl(0, 0%, 80%)',\n neutral30: 'hsl(0, 0%, 70%)',\n neutral40: 'hsl(0, 0%, 60%)',\n neutral50: 'hsl(0, 0%, 50%)',\n neutral60: 'hsl(0, 0%, 40%)',\n neutral70: 'hsl(0, 0%, 30%)',\n neutral80: 'hsl(0, 0%, 20%)',\n neutral90: 'hsl(0, 0%, 10%)'\n};\nvar borderRadius = 4; // Used to calculate consistent margin/padding on elements\n\nvar baseUnit = 4; // The minimum height of the control\n\nvar controlHeight = 38; // The amount of space between the control and menu */\n\nvar menuGutter = baseUnit * 2;\nvar spacing = {\n baseUnit: baseUnit,\n controlHeight: controlHeight,\n menuGutter: menuGutter\n};\nvar defaultTheme = {\n borderRadius: borderRadius,\n colors: colors,\n spacing: spacing\n};\nvar defaultProps = {\n 'aria-live': 'polite',\n backspaceRemovesValue: true,\n blurInputOnSelect: isTouchCapable(),\n captureMenuScroll: !isTouchCapable(),\n closeMenuOnSelect: true,\n closeMenuOnScroll: false,\n components: {},\n controlShouldRenderValue: true,\n escapeClearsValue: false,\n filterOption: createFilter(),\n formatGroupLabel: formatGroupLabel,\n getOptionLabel: getOptionLabel$1,\n getOptionValue: getOptionValue$1,\n isDisabled: false,\n isLoading: false,\n isMulti: false,\n isRtl: false,\n isSearchable: true,\n isOptionDisabled: isOptionDisabled,\n loadingMessage: function loadingMessage() {\n return 'Loading...';\n },\n maxMenuHeight: 300,\n minMenuHeight: 140,\n menuIsOpen: false,\n menuPlacement: 'bottom',\n menuPosition: 'absolute',\n menuShouldBlockScroll: false,\n menuShouldScrollIntoView: !isMobileDevice(),\n noOptionsMessage: function noOptionsMessage() {\n return 'No options';\n },\n openMenuOnFocus: false,\n openMenuOnClick: true,\n options: [],\n pageSize: 5,\n placeholder: 'Select...',\n screenReaderStatus: function screenReaderStatus(_ref) {\n var count = _ref.count;\n return \"\".concat(count, \" result\").concat(count !== 1 ? 's' : '', \" available\");\n },\n styles: {},\n tabIndex: 0,\n tabSelectsValue: true\n};\n\nfunction toCategorizedOption(props, option, selectValue, index) {\n var isDisabled = _isOptionDisabled(props, option, selectValue);\n\n var isSelected = _isOptionSelected(props, option, selectValue);\n\n var label = getOptionLabel(props, option);\n var value = getOptionValue(props, option);\n return {\n type: 'option',\n data: option,\n isDisabled: isDisabled,\n isSelected: isSelected,\n label: label,\n value: value,\n index: index\n };\n}\n\nfunction buildCategorizedOptions(props, selectValue) {\n return props.options.map(function (groupOrOption, groupOrOptionIndex) {\n if ('options' in groupOrOption) {\n var categorizedOptions = groupOrOption.options.map(function (option, optionIndex) {\n return toCategorizedOption(props, option, selectValue, optionIndex);\n }).filter(function (categorizedOption) {\n return isFocusable(props, categorizedOption);\n });\n return categorizedOptions.length > 0 ? {\n type: 'group',\n data: groupOrOption,\n options: categorizedOptions,\n index: groupOrOptionIndex\n } : undefined;\n }\n\n var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex);\n return isFocusable(props, categorizedOption) ? categorizedOption : undefined;\n }).filter(notNullish);\n}\n\nfunction buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {\n return categorizedOptions.reduce(function (optionsAccumulator, categorizedOption) {\n if (categorizedOption.type === 'group') {\n optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray(categorizedOption.options.map(function (option) {\n return option.data;\n })));\n } else {\n optionsAccumulator.push(categorizedOption.data);\n }\n\n return optionsAccumulator;\n }, []);\n}\n\nfunction buildFocusableOptions(props, selectValue) {\n return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));\n}\n\nfunction isFocusable(props, categorizedOption) {\n var _props$inputValue = props.inputValue,\n inputValue = _props$inputValue === void 0 ? '' : _props$inputValue;\n var data = categorizedOption.data,\n isSelected = categorizedOption.isSelected,\n label = categorizedOption.label,\n value = categorizedOption.value;\n return (!shouldHideSelectedOptions(props) || !isSelected) && _filterOption(props, {\n label: label,\n value: value,\n data: data\n }, inputValue);\n}\n\nfunction getNextFocusedValue(state, nextSelectValue) {\n var focusedValue = state.focusedValue,\n lastSelectValue = state.selectValue;\n var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);\n\n if (lastFocusedIndex > -1) {\n var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);\n\n if (nextFocusedIndex > -1) {\n // the focused value is still in the selectValue, return it\n return focusedValue;\n } else if (lastFocusedIndex < nextSelectValue.length) {\n // the focusedValue is not present in the next selectValue array by\n // reference, so return the new value at the same index\n return nextSelectValue[lastFocusedIndex];\n }\n }\n\n return null;\n}\n\nfunction getNextFocusedOption(state, options) {\n var lastFocusedOption = state.focusedOption;\n return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];\n}\n\nvar getOptionLabel = function getOptionLabel(props, data) {\n return props.getOptionLabel(data);\n};\n\nvar getOptionValue = function getOptionValue(props, data) {\n return props.getOptionValue(data);\n};\n\nfunction _isOptionDisabled(props, option, selectValue) {\n return typeof props.isOptionDisabled === 'function' ? props.isOptionDisabled(option, selectValue) : false;\n}\n\nfunction _isOptionSelected(props, option, selectValue) {\n if (selectValue.indexOf(option) > -1) return true;\n\n if (typeof props.isOptionSelected === 'function') {\n return props.isOptionSelected(option, selectValue);\n }\n\n var candidate = getOptionValue(props, option);\n return selectValue.some(function (i) {\n return getOptionValue(props, i) === candidate;\n });\n}\n\nfunction _filterOption(props, option, inputValue) {\n return props.filterOption ? props.filterOption(option, inputValue) : true;\n}\n\nvar shouldHideSelectedOptions = function shouldHideSelectedOptions(props) {\n var hideSelectedOptions = props.hideSelectedOptions,\n isMulti = props.isMulti;\n if (hideSelectedOptions === undefined) return isMulti;\n return hideSelectedOptions;\n};\n\nvar instanceId = 1;\n\nvar Select = /*#__PURE__*/function (_Component) {\n _inherits(Select, _Component);\n\n var _super = _createSuper(Select); // Misc. Instance Properties\n // ------------------------------\n // TODO\n // Refs\n // ------------------------------\n // Lifecycle\n // ------------------------------\n\n\n function Select(_props) {\n var _this;\n\n _classCallCheck(this, Select);\n\n _this = _super.call(this, _props);\n _this.state = {\n ariaSelection: null,\n focusedOption: null,\n focusedValue: null,\n inputIsHidden: false,\n isFocused: false,\n selectValue: [],\n clearFocusValueOnUpdate: false,\n prevWasFocused: false,\n inputIsHiddenAfterUpdate: undefined,\n prevProps: undefined\n };\n _this.blockOptionHover = false;\n _this.isComposing = false;\n _this.commonProps = void 0;\n _this.initialTouchX = 0;\n _this.initialTouchY = 0;\n _this.instancePrefix = '';\n _this.openAfterFocus = false;\n _this.scrollToFocusedOptionOnUpdate = false;\n _this.userIsDragging = void 0;\n _this.controlRef = null;\n\n _this.getControlRef = function (ref) {\n _this.controlRef = ref;\n };\n\n _this.focusedOptionRef = null;\n\n _this.getFocusedOptionRef = function (ref) {\n _this.focusedOptionRef = ref;\n };\n\n _this.menuListRef = null;\n\n _this.getMenuListRef = function (ref) {\n _this.menuListRef = ref;\n };\n\n _this.inputRef = null;\n\n _this.getInputRef = function (ref) {\n _this.inputRef = ref;\n };\n\n _this.focus = _this.focusInput;\n _this.blur = _this.blurInput;\n\n _this.onChange = function (newValue, actionMeta) {\n var _this$props = _this.props,\n onChange = _this$props.onChange,\n name = _this$props.name;\n actionMeta.name = name;\n\n _this.ariaOnChange(newValue, actionMeta);\n\n onChange(newValue, actionMeta);\n };\n\n _this.setValue = function (newValue, action, option) {\n var _this$props2 = _this.props,\n closeMenuOnSelect = _this$props2.closeMenuOnSelect,\n isMulti = _this$props2.isMulti,\n inputValue = _this$props2.inputValue;\n\n _this.onInputChange('', {\n action: 'set-value',\n prevInputValue: inputValue\n });\n\n if (closeMenuOnSelect) {\n _this.setState({\n inputIsHiddenAfterUpdate: !isMulti\n });\n\n _this.onMenuClose();\n } // when the select value should change, we should reset focusedValue\n\n\n _this.setState({\n clearFocusValueOnUpdate: true\n });\n\n _this.onChange(newValue, {\n action: action,\n option: option\n });\n };\n\n _this.selectOption = function (newValue) {\n var _this$props3 = _this.props,\n blurInputOnSelect = _this$props3.blurInputOnSelect,\n isMulti = _this$props3.isMulti,\n name = _this$props3.name;\n var selectValue = _this.state.selectValue;\n\n var deselected = isMulti && _this.isOptionSelected(newValue, selectValue);\n\n var isDisabled = _this.isOptionDisabled(newValue, selectValue);\n\n if (deselected) {\n var candidate = _this.getOptionValue(newValue);\n\n _this.setValue(multiValueAsValue(selectValue.filter(function (i) {\n return _this.getOptionValue(i) !== candidate;\n })), 'deselect-option', newValue);\n } else if (!isDisabled) {\n // Select option if option is not disabled\n if (isMulti) {\n _this.setValue(multiValueAsValue([].concat(_toConsumableArray(selectValue), [newValue])), 'select-option', newValue);\n } else {\n _this.setValue(singleValueAsValue(newValue), 'select-option');\n }\n } else {\n _this.ariaOnChange(singleValueAsValue(newValue), {\n action: 'select-option',\n option: newValue,\n name: name\n });\n\n return;\n }\n\n if (blurInputOnSelect) {\n _this.blurInput();\n }\n };\n\n _this.removeValue = function (removedValue) {\n var isMulti = _this.props.isMulti;\n var selectValue = _this.state.selectValue;\n\n var candidate = _this.getOptionValue(removedValue);\n\n var newValueArray = selectValue.filter(function (i) {\n return _this.getOptionValue(i) !== candidate;\n });\n var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);\n\n _this.onChange(newValue, {\n action: 'remove-value',\n removedValue: removedValue\n });\n\n _this.focusInput();\n };\n\n _this.clearValue = function () {\n var selectValue = _this.state.selectValue;\n\n _this.onChange(valueTernary(_this.props.isMulti, [], null), {\n action: 'clear',\n removedValues: selectValue\n });\n };\n\n _this.popValue = function () {\n var isMulti = _this.props.isMulti;\n var selectValue = _this.state.selectValue;\n var lastSelectedValue = selectValue[selectValue.length - 1];\n var newValueArray = selectValue.slice(0, selectValue.length - 1);\n var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);\n\n _this.onChange(newValue, {\n action: 'pop-value',\n removedValue: lastSelectedValue\n });\n };\n\n _this.getValue = function () {\n return _this.state.selectValue;\n };\n\n _this.cx = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return classNames.apply(void 0, [_this.props.classNamePrefix].concat(args));\n };\n\n _this.getOptionLabel = function (data) {\n return getOptionLabel(_this.props, data);\n };\n\n _this.getOptionValue = function (data) {\n return getOptionValue(_this.props, data);\n };\n\n _this.getStyles = function (key, props) {\n var base = defaultStyles[key](props);\n base.boxSizing = 'border-box';\n var custom = _this.props.styles[key];\n return custom ? custom(base, props) : base;\n };\n\n _this.getElementId = function (element) {\n return \"\".concat(_this.instancePrefix, \"-\").concat(element);\n };\n\n _this.getComponents = function () {\n return defaultComponents(_this.props);\n };\n\n _this.buildCategorizedOptions = function () {\n return buildCategorizedOptions(_this.props, _this.state.selectValue);\n };\n\n _this.getCategorizedOptions = function () {\n return _this.props.menuIsOpen ? _this.buildCategorizedOptions() : [];\n };\n\n _this.buildFocusableOptions = function () {\n return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions());\n };\n\n _this.getFocusableOptions = function () {\n return _this.props.menuIsOpen ? _this.buildFocusableOptions() : [];\n };\n\n _this.ariaOnChange = function (value, actionMeta) {\n _this.setState({\n ariaSelection: _objectSpread({\n value: value\n }, actionMeta)\n });\n };\n\n _this.onMenuMouseDown = function (event) {\n if (event.button !== 0) {\n return;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n _this.focusInput();\n };\n\n _this.onMenuMouseMove = function (event) {\n _this.blockOptionHover = false;\n };\n\n _this.onControlMouseDown = function (event) {\n // Event captured by dropdown indicator\n if (event.defaultPrevented) {\n return;\n }\n\n var openMenuOnClick = _this.props.openMenuOnClick;\n\n if (!_this.state.isFocused) {\n if (openMenuOnClick) {\n _this.openAfterFocus = true;\n }\n\n _this.focusInput();\n } else if (!_this.props.menuIsOpen) {\n if (openMenuOnClick) {\n _this.openMenu('first');\n }\n } else {\n if (event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {\n _this.onMenuClose();\n }\n }\n\n if (event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {\n event.preventDefault();\n }\n };\n\n _this.onDropdownIndicatorMouseDown = function (event) {\n // ignore mouse events that weren't triggered by the primary button\n if (event && event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n\n if (_this.props.isDisabled) return;\n var _this$props4 = _this.props,\n isMulti = _this$props4.isMulti,\n menuIsOpen = _this$props4.menuIsOpen;\n\n _this.focusInput();\n\n if (menuIsOpen) {\n _this.setState({\n inputIsHiddenAfterUpdate: !isMulti\n });\n\n _this.onMenuClose();\n } else {\n _this.openMenu('first');\n }\n\n event.preventDefault();\n };\n\n _this.onClearIndicatorMouseDown = function (event) {\n // ignore mouse events that weren't triggered by the primary button\n if (event && event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n\n _this.clearValue();\n\n event.preventDefault();\n _this.openAfterFocus = false;\n\n if (event.type === 'touchend') {\n _this.focusInput();\n } else {\n setTimeout(function () {\n return _this.focusInput();\n });\n }\n };\n\n _this.onScroll = function (event) {\n if (typeof _this.props.closeMenuOnScroll === 'boolean') {\n if (event.target instanceof HTMLElement && isDocumentElement(event.target)) {\n _this.props.onMenuClose();\n }\n } else if (typeof _this.props.closeMenuOnScroll === 'function') {\n if (_this.props.closeMenuOnScroll(event)) {\n _this.props.onMenuClose();\n }\n }\n };\n\n _this.onCompositionStart = function () {\n _this.isComposing = true;\n };\n\n _this.onCompositionEnd = function () {\n _this.isComposing = false;\n };\n\n _this.onTouchStart = function (_ref2) {\n var touches = _ref2.touches;\n var touch = touches && touches.item(0);\n\n if (!touch) {\n return;\n }\n\n _this.initialTouchX = touch.clientX;\n _this.initialTouchY = touch.clientY;\n _this.userIsDragging = false;\n };\n\n _this.onTouchMove = function (_ref3) {\n var touches = _ref3.touches;\n var touch = touches && touches.item(0);\n\n if (!touch) {\n return;\n }\n\n var deltaX = Math.abs(touch.clientX - _this.initialTouchX);\n var deltaY = Math.abs(touch.clientY - _this.initialTouchY);\n var moveThreshold = 5;\n _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;\n };\n\n _this.onTouchEnd = function (event) {\n if (_this.userIsDragging) return; // close the menu if the user taps outside\n // we're checking on event.target here instead of event.currentTarget, because we want to assert information\n // on events on child elements, not the document (which we've attached this handler to).\n\n if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) {\n _this.blurInput();\n } // reset move vars\n\n\n _this.initialTouchX = 0;\n _this.initialTouchY = 0;\n };\n\n _this.onControlTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onControlMouseDown(event);\n };\n\n _this.onClearIndicatorTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onClearIndicatorMouseDown(event);\n };\n\n _this.onDropdownIndicatorTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onDropdownIndicatorMouseDown(event);\n };\n\n _this.handleInputChange = function (event) {\n var prevInputValue = _this.props.inputValue;\n var inputValue = event.currentTarget.value;\n\n _this.setState({\n inputIsHiddenAfterUpdate: false\n });\n\n _this.onInputChange(inputValue, {\n action: 'input-change',\n prevInputValue: prevInputValue\n });\n\n if (!_this.props.menuIsOpen) {\n _this.onMenuOpen();\n }\n };\n\n _this.onInputFocus = function (event) {\n if (_this.props.onFocus) {\n _this.props.onFocus(event);\n }\n\n _this.setState({\n inputIsHiddenAfterUpdate: false,\n isFocused: true\n });\n\n if (_this.openAfterFocus || _this.props.openMenuOnFocus) {\n _this.openMenu('first');\n }\n\n _this.openAfterFocus = false;\n };\n\n _this.onInputBlur = function (event) {\n var prevInputValue = _this.props.inputValue;\n\n if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {\n _this.inputRef.focus();\n\n return;\n }\n\n if (_this.props.onBlur) {\n _this.props.onBlur(event);\n }\n\n _this.onInputChange('', {\n action: 'input-blur',\n prevInputValue: prevInputValue\n });\n\n _this.onMenuClose();\n\n _this.setState({\n focusedValue: null,\n isFocused: false\n });\n };\n\n _this.onOptionHover = function (focusedOption) {\n if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {\n return;\n }\n\n _this.setState({\n focusedOption: focusedOption\n });\n };\n\n _this.shouldHideSelectedOptions = function () {\n return shouldHideSelectedOptions(_this.props);\n };\n\n _this.onValueInputFocus = function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n _this.focus();\n };\n\n _this.onKeyDown = function (event) {\n var _this$props5 = _this.props,\n isMulti = _this$props5.isMulti,\n backspaceRemovesValue = _this$props5.backspaceRemovesValue,\n escapeClearsValue = _this$props5.escapeClearsValue,\n inputValue = _this$props5.inputValue,\n isClearable = _this$props5.isClearable,\n isDisabled = _this$props5.isDisabled,\n menuIsOpen = _this$props5.menuIsOpen,\n onKeyDown = _this$props5.onKeyDown,\n tabSelectsValue = _this$props5.tabSelectsValue,\n openMenuOnFocus = _this$props5.openMenuOnFocus;\n var _this$state = _this.state,\n focusedOption = _this$state.focusedOption,\n focusedValue = _this$state.focusedValue,\n selectValue = _this$state.selectValue;\n if (isDisabled) return;\n\n if (typeof onKeyDown === 'function') {\n onKeyDown(event);\n\n if (event.defaultPrevented) {\n return;\n }\n } // Block option hover events when the user has just pressed a key\n\n\n _this.blockOptionHover = true;\n\n switch (event.key) {\n case 'ArrowLeft':\n if (!isMulti || inputValue) return;\n\n _this.focusValue('previous');\n\n break;\n\n case 'ArrowRight':\n if (!isMulti || inputValue) return;\n\n _this.focusValue('next');\n\n break;\n\n case 'Delete':\n case 'Backspace':\n if (inputValue) return;\n\n if (focusedValue) {\n _this.removeValue(focusedValue);\n } else {\n if (!backspaceRemovesValue) return;\n\n if (isMulti) {\n _this.popValue();\n } else if (isClearable) {\n _this.clearValue();\n }\n }\n\n break;\n\n case 'Tab':\n if (_this.isComposing) return;\n\n if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || // don't capture the event if the menu opens on focus and the focused\n // option is already selected; it breaks the flow of navigation\n openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) {\n return;\n }\n\n _this.selectOption(focusedOption);\n\n break;\n\n case 'Enter':\n if (event.keyCode === 229) {\n // ignore the keydown event from an Input Method Editor(IME)\n // ref. https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode\n break;\n }\n\n if (menuIsOpen) {\n if (!focusedOption) return;\n if (_this.isComposing) return;\n\n _this.selectOption(focusedOption);\n\n break;\n }\n\n return;\n\n case 'Escape':\n if (menuIsOpen) {\n _this.setState({\n inputIsHiddenAfterUpdate: false\n });\n\n _this.onInputChange('', {\n action: 'menu-close',\n prevInputValue: inputValue\n });\n\n _this.onMenuClose();\n } else if (isClearable && escapeClearsValue) {\n _this.clearValue();\n }\n\n break;\n\n case ' ':\n // space\n if (inputValue) {\n return;\n }\n\n if (!menuIsOpen) {\n _this.openMenu('first');\n\n break;\n }\n\n if (!focusedOption) return;\n\n _this.selectOption(focusedOption);\n\n break;\n\n case 'ArrowUp':\n if (menuIsOpen) {\n _this.focusOption('up');\n } else {\n _this.openMenu('last');\n }\n\n break;\n\n case 'ArrowDown':\n if (menuIsOpen) {\n _this.focusOption('down');\n } else {\n _this.openMenu('first');\n }\n\n break;\n\n case 'PageUp':\n if (!menuIsOpen) return;\n\n _this.focusOption('pageup');\n\n break;\n\n case 'PageDown':\n if (!menuIsOpen) return;\n\n _this.focusOption('pagedown');\n\n break;\n\n case 'Home':\n if (!menuIsOpen) return;\n\n _this.focusOption('first');\n\n break;\n\n case 'End':\n if (!menuIsOpen) return;\n\n _this.focusOption('last');\n\n break;\n\n default:\n return;\n }\n\n event.preventDefault();\n };\n\n _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);\n _this.state.selectValue = cleanValue(_props.value); // Set focusedOption if menuIsOpen is set on init (e.g. defaultMenuIsOpen)\n\n if (_props.menuIsOpen && _this.state.selectValue.length) {\n var focusableOptions = _this.buildFocusableOptions();\n\n var optionIndex = focusableOptions.indexOf(_this.state.selectValue[0]);\n _this.state.focusedOption = focusableOptions[optionIndex];\n }\n\n return _this;\n }\n\n _createClass(Select, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.startListeningComposition();\n this.startListeningToTouch();\n\n if (this.props.closeMenuOnScroll && document && document.addEventListener) {\n // Listen to all scroll events, and filter them out inside of 'onScroll'\n document.addEventListener('scroll', this.onScroll, true);\n }\n\n if (this.props.autoFocus) {\n this.focusInput();\n } // Scroll focusedOption into view if menuIsOpen is set on mount (e.g. defaultMenuIsOpen)\n\n\n if (this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef) {\n scrollIntoView(this.menuListRef, this.focusedOptionRef);\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var _this$props6 = this.props,\n isDisabled = _this$props6.isDisabled,\n menuIsOpen = _this$props6.menuIsOpen;\n var isFocused = this.state.isFocused;\n\n if ( // ensure focus is restored correctly when the control becomes enabled\n isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens\n isFocused && menuIsOpen && !prevProps.menuIsOpen) {\n this.focusInput();\n }\n\n if (isFocused && isDisabled && !prevProps.isDisabled) {\n // ensure select state gets blurred in case Select is programmatically disabled while focused\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n isFocused: false\n }, this.onMenuClose);\n } else if (!isFocused && !isDisabled && prevProps.isDisabled && this.inputRef === document.activeElement) {\n // ensure select state gets focused in case Select is programatically re-enabled while focused (Firefox)\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n isFocused: true\n });\n } // scroll the focused option into view if necessary\n\n\n if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {\n scrollIntoView(this.menuListRef, this.focusedOptionRef);\n this.scrollToFocusedOptionOnUpdate = false;\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.stopListeningComposition();\n this.stopListeningToTouch();\n document.removeEventListener('scroll', this.onScroll, true);\n } // ==============================\n // Consumer Handlers\n // ==============================\n\n }, {\n key: \"onMenuOpen\",\n value: function onMenuOpen() {\n this.props.onMenuOpen();\n }\n }, {\n key: \"onMenuClose\",\n value: function onMenuClose() {\n this.onInputChange('', {\n action: 'menu-close',\n prevInputValue: this.props.inputValue\n });\n this.props.onMenuClose();\n }\n }, {\n key: \"onInputChange\",\n value: function onInputChange(newValue, actionMeta) {\n this.props.onInputChange(newValue, actionMeta);\n } // ==============================\n // Methods\n // ==============================\n\n }, {\n key: \"focusInput\",\n value: function focusInput() {\n if (!this.inputRef) return;\n this.inputRef.focus();\n }\n }, {\n key: \"blurInput\",\n value: function blurInput() {\n if (!this.inputRef) return;\n this.inputRef.blur();\n } // aliased for consumers\n\n }, {\n key: \"openMenu\",\n value: function openMenu(focusOption) {\n var _this2 = this;\n\n var _this$state2 = this.state,\n selectValue = _this$state2.selectValue,\n isFocused = _this$state2.isFocused;\n var focusableOptions = this.buildFocusableOptions();\n var openAtIndex = focusOption === 'first' ? 0 : focusableOptions.length - 1;\n\n if (!this.props.isMulti) {\n var selectedIndex = focusableOptions.indexOf(selectValue[0]);\n\n if (selectedIndex > -1) {\n openAtIndex = selectedIndex;\n }\n } // only scroll if the menu isn't already open\n\n\n this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);\n this.setState({\n inputIsHiddenAfterUpdate: false,\n focusedValue: null,\n focusedOption: focusableOptions[openAtIndex]\n }, function () {\n return _this2.onMenuOpen();\n });\n }\n }, {\n key: \"focusValue\",\n value: function focusValue(direction) {\n var _this$state3 = this.state,\n selectValue = _this$state3.selectValue,\n focusedValue = _this$state3.focusedValue; // Only multiselects support value focusing\n\n if (!this.props.isMulti) return;\n this.setState({\n focusedOption: null\n });\n var focusedIndex = selectValue.indexOf(focusedValue);\n\n if (!focusedValue) {\n focusedIndex = -1;\n }\n\n var lastIndex = selectValue.length - 1;\n var nextFocus = -1;\n if (!selectValue.length) return;\n\n switch (direction) {\n case 'previous':\n if (focusedIndex === 0) {\n // don't cycle from the start to the end\n nextFocus = 0;\n } else if (focusedIndex === -1) {\n // if nothing is focused, focus the last value first\n nextFocus = lastIndex;\n } else {\n nextFocus = focusedIndex - 1;\n }\n\n break;\n\n case 'next':\n if (focusedIndex > -1 && focusedIndex < lastIndex) {\n nextFocus = focusedIndex + 1;\n }\n\n break;\n }\n\n this.setState({\n inputIsHidden: nextFocus !== -1,\n focusedValue: selectValue[nextFocus]\n });\n }\n }, {\n key: \"focusOption\",\n value: function focusOption() {\n var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'first';\n var pageSize = this.props.pageSize;\n var focusedOption = this.state.focusedOption;\n var options = this.getFocusableOptions();\n if (!options.length) return;\n var nextFocus = 0; // handles 'first'\n\n var focusedIndex = options.indexOf(focusedOption);\n\n if (!focusedOption) {\n focusedIndex = -1;\n }\n\n if (direction === 'up') {\n nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;\n } else if (direction === 'down') {\n nextFocus = (focusedIndex + 1) % options.length;\n } else if (direction === 'pageup') {\n nextFocus = focusedIndex - pageSize;\n if (nextFocus < 0) nextFocus = 0;\n } else if (direction === 'pagedown') {\n nextFocus = focusedIndex + pageSize;\n if (nextFocus > options.length - 1) nextFocus = options.length - 1;\n } else if (direction === 'last') {\n nextFocus = options.length - 1;\n }\n\n this.scrollToFocusedOptionOnUpdate = true;\n this.setState({\n focusedOption: options[nextFocus],\n focusedValue: null\n });\n }\n }, {\n key: \"getTheme\",\n value: // ==============================\n // Getters\n // ==============================\n function getTheme() {\n // Use the default theme if there are no customisations.\n if (!this.props.theme) {\n return defaultTheme;\n } // If the theme prop is a function, assume the function\n // knows how to merge the passed-in default theme with\n // its own modifications.\n\n\n if (typeof this.props.theme === 'function') {\n return this.props.theme(defaultTheme);\n } // Otherwise, if a plain theme object was passed in,\n // overlay it with the default theme.\n\n\n return _objectSpread(_objectSpread({}, defaultTheme), this.props.theme);\n }\n }, {\n key: \"getCommonProps\",\n value: function getCommonProps() {\n var clearValue = this.clearValue,\n cx = this.cx,\n getStyles = this.getStyles,\n getValue = this.getValue,\n selectOption = this.selectOption,\n setValue = this.setValue,\n props = this.props;\n var isMulti = props.isMulti,\n isRtl = props.isRtl,\n options = props.options;\n var hasValue = this.hasValue();\n return {\n clearValue: clearValue,\n cx: cx,\n getStyles: getStyles,\n getValue: getValue,\n hasValue: hasValue,\n isMulti: isMulti,\n isRtl: isRtl,\n options: options,\n selectOption: selectOption,\n selectProps: props,\n setValue: setValue,\n theme: this.getTheme()\n };\n }\n }, {\n key: \"hasValue\",\n value: function hasValue() {\n var selectValue = this.state.selectValue;\n return selectValue.length > 0;\n }\n }, {\n key: \"hasOptions\",\n value: function hasOptions() {\n return !!this.getFocusableOptions().length;\n }\n }, {\n key: \"isClearable\",\n value: function isClearable() {\n var _this$props7 = this.props,\n isClearable = _this$props7.isClearable,\n isMulti = _this$props7.isMulti; // single select, by default, IS NOT clearable\n // multi select, by default, IS clearable\n\n if (isClearable === undefined) return isMulti;\n return isClearable;\n }\n }, {\n key: \"isOptionDisabled\",\n value: function isOptionDisabled(option, selectValue) {\n return _isOptionDisabled(this.props, option, selectValue);\n }\n }, {\n key: \"isOptionSelected\",\n value: function isOptionSelected(option, selectValue) {\n return _isOptionSelected(this.props, option, selectValue);\n }\n }, {\n key: \"filterOption\",\n value: function filterOption(option, inputValue) {\n return _filterOption(this.props, option, inputValue);\n }\n }, {\n key: \"formatOptionLabel\",\n value: function formatOptionLabel(data, context) {\n if (typeof this.props.formatOptionLabel === 'function') {\n var _inputValue = this.props.inputValue;\n var _selectValue = this.state.selectValue;\n return this.props.formatOptionLabel(data, {\n context: context,\n inputValue: _inputValue,\n selectValue: _selectValue\n });\n } else {\n return this.getOptionLabel(data);\n }\n }\n }, {\n key: \"formatGroupLabel\",\n value: function formatGroupLabel(data) {\n return this.props.formatGroupLabel(data);\n } // ==============================\n // Mouse Handlers\n // ==============================\n\n }, {\n key: \"startListeningComposition\",\n value: // ==============================\n // Composition Handlers\n // ==============================\n function startListeningComposition() {\n if (document && document.addEventListener) {\n document.addEventListener('compositionstart', this.onCompositionStart, false);\n document.addEventListener('compositionend', this.onCompositionEnd, false);\n }\n }\n }, {\n key: \"stopListeningComposition\",\n value: function stopListeningComposition() {\n if (document && document.removeEventListener) {\n document.removeEventListener('compositionstart', this.onCompositionStart);\n document.removeEventListener('compositionend', this.onCompositionEnd);\n }\n }\n }, {\n key: \"startListeningToTouch\",\n value: // ==============================\n // Touch Handlers\n // ==============================\n function startListeningToTouch() {\n if (document && document.addEventListener) {\n document.addEventListener('touchstart', this.onTouchStart, false);\n document.addEventListener('touchmove', this.onTouchMove, false);\n document.addEventListener('touchend', this.onTouchEnd, false);\n }\n }\n }, {\n key: \"stopListeningToTouch\",\n value: function stopListeningToTouch() {\n if (document && document.removeEventListener) {\n document.removeEventListener('touchstart', this.onTouchStart);\n document.removeEventListener('touchmove', this.onTouchMove);\n document.removeEventListener('touchend', this.onTouchEnd);\n }\n }\n }, {\n key: \"renderInput\",\n value: // ==============================\n // Renderers\n // ==============================\n function renderInput() {\n var _this$props8 = this.props,\n isDisabled = _this$props8.isDisabled,\n isSearchable = _this$props8.isSearchable,\n inputId = _this$props8.inputId,\n inputValue = _this$props8.inputValue,\n tabIndex = _this$props8.tabIndex,\n form = _this$props8.form,\n menuIsOpen = _this$props8.menuIsOpen,\n required = _this$props8.required;\n\n var _this$getComponents = this.getComponents(),\n Input = _this$getComponents.Input;\n\n var _this$state4 = this.state,\n inputIsHidden = _this$state4.inputIsHidden,\n ariaSelection = _this$state4.ariaSelection;\n var commonProps = this.commonProps;\n var id = inputId || this.getElementId('input'); // aria attributes makes the JSX \"noisy\", separated for clarity\n\n var ariaAttributes = _objectSpread(_objectSpread(_objectSpread({\n 'aria-autocomplete': 'list',\n 'aria-expanded': menuIsOpen,\n 'aria-haspopup': true,\n 'aria-errormessage': this.props['aria-errormessage'],\n 'aria-invalid': this.props['aria-invalid'],\n 'aria-label': this.props['aria-label'],\n 'aria-labelledby': this.props['aria-labelledby'],\n 'aria-required': required,\n role: 'combobox'\n }, menuIsOpen && {\n 'aria-controls': this.getElementId('listbox'),\n 'aria-owns': this.getElementId('listbox')\n }), !isSearchable && {\n 'aria-readonly': true\n }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus' && {\n 'aria-describedby': this.getElementId('live-region')\n } : {\n 'aria-describedby': this.getElementId('placeholder')\n });\n\n if (!isSearchable) {\n // use a dummy input to maintain focus/blur functionality\n return /*#__PURE__*/React.createElement(DummyInput, _extends({\n id: id,\n innerRef: this.getInputRef,\n onBlur: this.onInputBlur,\n onChange: noop,\n onFocus: this.onInputFocus,\n disabled: isDisabled,\n tabIndex: tabIndex,\n inputMode: \"none\",\n form: form,\n value: \"\"\n }, ariaAttributes));\n }\n\n return /*#__PURE__*/React.createElement(Input, _extends({}, commonProps, {\n autoCapitalize: \"none\",\n autoComplete: \"off\",\n autoCorrect: \"off\",\n id: id,\n innerRef: this.getInputRef,\n isDisabled: isDisabled,\n isHidden: inputIsHidden,\n onBlur: this.onInputBlur,\n onChange: this.handleInputChange,\n onFocus: this.onInputFocus,\n spellCheck: \"false\",\n tabIndex: tabIndex,\n form: form,\n type: \"text\",\n value: inputValue\n }, ariaAttributes));\n }\n }, {\n key: \"renderPlaceholderOrValue\",\n value: function renderPlaceholderOrValue() {\n var _this3 = this;\n\n var _this$getComponents2 = this.getComponents(),\n MultiValue = _this$getComponents2.MultiValue,\n MultiValueContainer = _this$getComponents2.MultiValueContainer,\n MultiValueLabel = _this$getComponents2.MultiValueLabel,\n MultiValueRemove = _this$getComponents2.MultiValueRemove,\n SingleValue = _this$getComponents2.SingleValue,\n Placeholder = _this$getComponents2.Placeholder;\n\n var commonProps = this.commonProps;\n var _this$props9 = this.props,\n controlShouldRenderValue = _this$props9.controlShouldRenderValue,\n isDisabled = _this$props9.isDisabled,\n isMulti = _this$props9.isMulti,\n inputValue = _this$props9.inputValue,\n placeholder = _this$props9.placeholder;\n var _this$state5 = this.state,\n selectValue = _this$state5.selectValue,\n focusedValue = _this$state5.focusedValue,\n isFocused = _this$state5.isFocused;\n\n if (!this.hasValue() || !controlShouldRenderValue) {\n return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends({}, commonProps, {\n key: \"placeholder\",\n isDisabled: isDisabled,\n isFocused: isFocused,\n innerProps: {\n id: this.getElementId('placeholder')\n }\n }), placeholder);\n }\n\n if (isMulti) {\n return selectValue.map(function (opt, index) {\n var isOptionFocused = opt === focusedValue;\n var key = \"\".concat(_this3.getOptionLabel(opt), \"-\").concat(_this3.getOptionValue(opt));\n return /*#__PURE__*/React.createElement(MultiValue, _extends({}, commonProps, {\n components: {\n Container: MultiValueContainer,\n Label: MultiValueLabel,\n Remove: MultiValueRemove\n },\n isFocused: isOptionFocused,\n isDisabled: isDisabled,\n key: key,\n index: index,\n removeProps: {\n onClick: function onClick() {\n return _this3.removeValue(opt);\n },\n onTouchEnd: function onTouchEnd() {\n return _this3.removeValue(opt);\n },\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n }\n },\n data: opt\n }), _this3.formatOptionLabel(opt, 'value'));\n });\n }\n\n if (inputValue) {\n return null;\n }\n\n var singleValue = selectValue[0];\n return /*#__PURE__*/React.createElement(SingleValue, _extends({}, commonProps, {\n data: singleValue,\n isDisabled: isDisabled\n }), this.formatOptionLabel(singleValue, 'value'));\n }\n }, {\n key: \"renderClearIndicator\",\n value: function renderClearIndicator() {\n var _this$getComponents3 = this.getComponents(),\n ClearIndicator = _this$getComponents3.ClearIndicator;\n\n var commonProps = this.commonProps;\n var _this$props10 = this.props,\n isDisabled = _this$props10.isDisabled,\n isLoading = _this$props10.isLoading;\n var isFocused = this.state.isFocused;\n\n if (!this.isClearable() || !ClearIndicator || isDisabled || !this.hasValue() || isLoading) {\n return null;\n }\n\n var innerProps = {\n onMouseDown: this.onClearIndicatorMouseDown,\n onTouchEnd: this.onClearIndicatorTouchEnd,\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(ClearIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderLoadingIndicator\",\n value: function renderLoadingIndicator() {\n var _this$getComponents4 = this.getComponents(),\n LoadingIndicator = _this$getComponents4.LoadingIndicator;\n\n var commonProps = this.commonProps;\n var _this$props11 = this.props,\n isDisabled = _this$props11.isDisabled,\n isLoading = _this$props11.isLoading;\n var isFocused = this.state.isFocused;\n if (!LoadingIndicator || !isLoading) return null;\n var innerProps = {\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(LoadingIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderIndicatorSeparator\",\n value: function renderIndicatorSeparator() {\n var _this$getComponents5 = this.getComponents(),\n DropdownIndicator = _this$getComponents5.DropdownIndicator,\n IndicatorSeparator = _this$getComponents5.IndicatorSeparator; // separator doesn't make sense without the dropdown indicator\n\n\n if (!DropdownIndicator || !IndicatorSeparator) return null;\n var commonProps = this.commonProps;\n var isDisabled = this.props.isDisabled;\n var isFocused = this.state.isFocused;\n return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends({}, commonProps, {\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderDropdownIndicator\",\n value: function renderDropdownIndicator() {\n var _this$getComponents6 = this.getComponents(),\n DropdownIndicator = _this$getComponents6.DropdownIndicator;\n\n if (!DropdownIndicator) return null;\n var commonProps = this.commonProps;\n var isDisabled = this.props.isDisabled;\n var isFocused = this.state.isFocused;\n var innerProps = {\n onMouseDown: this.onDropdownIndicatorMouseDown,\n onTouchEnd: this.onDropdownIndicatorTouchEnd,\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(DropdownIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderMenu\",\n value: function renderMenu() {\n var _this4 = this;\n\n var _this$getComponents7 = this.getComponents(),\n Group = _this$getComponents7.Group,\n GroupHeading = _this$getComponents7.GroupHeading,\n Menu = _this$getComponents7.Menu,\n MenuList = _this$getComponents7.MenuList,\n MenuPortal = _this$getComponents7.MenuPortal,\n LoadingMessage = _this$getComponents7.LoadingMessage,\n NoOptionsMessage = _this$getComponents7.NoOptionsMessage,\n Option = _this$getComponents7.Option;\n\n var commonProps = this.commonProps;\n var focusedOption = this.state.focusedOption;\n var _this$props12 = this.props,\n captureMenuScroll = _this$props12.captureMenuScroll,\n inputValue = _this$props12.inputValue,\n isLoading = _this$props12.isLoading,\n loadingMessage = _this$props12.loadingMessage,\n minMenuHeight = _this$props12.minMenuHeight,\n maxMenuHeight = _this$props12.maxMenuHeight,\n menuIsOpen = _this$props12.menuIsOpen,\n menuPlacement = _this$props12.menuPlacement,\n menuPosition = _this$props12.menuPosition,\n menuPortalTarget = _this$props12.menuPortalTarget,\n menuShouldBlockScroll = _this$props12.menuShouldBlockScroll,\n menuShouldScrollIntoView = _this$props12.menuShouldScrollIntoView,\n noOptionsMessage = _this$props12.noOptionsMessage,\n onMenuScrollToTop = _this$props12.onMenuScrollToTop,\n onMenuScrollToBottom = _this$props12.onMenuScrollToBottom;\n if (!menuIsOpen) return null; // TODO: Internal Option Type here\n\n var render = function render(props, id) {\n var type = props.type,\n data = props.data,\n isDisabled = props.isDisabled,\n isSelected = props.isSelected,\n label = props.label,\n value = props.value;\n var isFocused = focusedOption === data;\n var onHover = isDisabled ? undefined : function () {\n return _this4.onOptionHover(data);\n };\n var onSelect = isDisabled ? undefined : function () {\n return _this4.selectOption(data);\n };\n var optionId = \"\".concat(_this4.getElementId('option'), \"-\").concat(id);\n var innerProps = {\n id: optionId,\n onClick: onSelect,\n onMouseMove: onHover,\n onMouseOver: onHover,\n tabIndex: -1\n };\n return /*#__PURE__*/React.createElement(Option, _extends({}, commonProps, {\n innerProps: innerProps,\n data: data,\n isDisabled: isDisabled,\n isSelected: isSelected,\n key: optionId,\n label: label,\n type: type,\n value: value,\n isFocused: isFocused,\n innerRef: isFocused ? _this4.getFocusedOptionRef : undefined\n }), _this4.formatOptionLabel(props.data, 'menu'));\n };\n\n var menuUI;\n\n if (this.hasOptions()) {\n menuUI = this.getCategorizedOptions().map(function (item) {\n if (item.type === 'group') {\n var _data = item.data,\n options = item.options,\n groupIndex = item.index;\n var groupId = \"\".concat(_this4.getElementId('group'), \"-\").concat(groupIndex);\n var headingId = \"\".concat(groupId, \"-heading\");\n return /*#__PURE__*/React.createElement(Group, _extends({}, commonProps, {\n key: groupId,\n data: _data,\n options: options,\n Heading: GroupHeading,\n headingProps: {\n id: headingId,\n data: item.data\n },\n label: _this4.formatGroupLabel(item.data)\n }), item.options.map(function (option) {\n return render(option, \"\".concat(groupIndex, \"-\").concat(option.index));\n }));\n } else if (item.type === 'option') {\n return render(item, \"\".concat(item.index));\n }\n });\n } else if (isLoading) {\n var message = loadingMessage({\n inputValue: inputValue\n });\n if (message === null) return null;\n menuUI = /*#__PURE__*/React.createElement(LoadingMessage, commonProps, message);\n } else {\n var _message = noOptionsMessage({\n inputValue: inputValue\n });\n\n if (_message === null) return null;\n menuUI = /*#__PURE__*/React.createElement(NoOptionsMessage, commonProps, _message);\n }\n\n var menuPlacementProps = {\n minMenuHeight: minMenuHeight,\n maxMenuHeight: maxMenuHeight,\n menuPlacement: menuPlacement,\n menuPosition: menuPosition,\n menuShouldScrollIntoView: menuShouldScrollIntoView\n };\n var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function (_ref4) {\n var ref = _ref4.ref,\n _ref4$placerProps = _ref4.placerProps,\n placement = _ref4$placerProps.placement,\n maxHeight = _ref4$placerProps.maxHeight;\n return /*#__PURE__*/React.createElement(Menu, _extends({}, commonProps, menuPlacementProps, {\n innerRef: ref,\n innerProps: {\n onMouseDown: _this4.onMenuMouseDown,\n onMouseMove: _this4.onMenuMouseMove,\n id: _this4.getElementId('listbox')\n },\n isLoading: isLoading,\n placement: placement\n }), /*#__PURE__*/React.createElement(ScrollManager, {\n captureEnabled: captureMenuScroll,\n onTopArrive: onMenuScrollToTop,\n onBottomArrive: onMenuScrollToBottom,\n lockEnabled: menuShouldBlockScroll\n }, function (scrollTargetRef) {\n return /*#__PURE__*/React.createElement(MenuList, _extends({}, commonProps, {\n innerRef: function innerRef(instance) {\n _this4.getMenuListRef(instance);\n\n scrollTargetRef(instance);\n },\n isLoading: isLoading,\n maxHeight: maxHeight,\n focusedOption: focusedOption\n }), menuUI);\n }));\n }); // positioning behaviour is almost identical for portalled and fixed,\n // so we use the same component. the actual portalling logic is forked\n // within the component based on `menuPosition`\n\n return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends({}, commonProps, {\n appendTo: menuPortalTarget,\n controlElement: this.controlRef,\n menuPlacement: menuPlacement,\n menuPosition: menuPosition\n }), menuElement) : menuElement;\n }\n }, {\n key: \"renderFormField\",\n value: function renderFormField() {\n var _this5 = this;\n\n var _this$props13 = this.props,\n delimiter = _this$props13.delimiter,\n isDisabled = _this$props13.isDisabled,\n isMulti = _this$props13.isMulti,\n name = _this$props13.name,\n required = _this$props13.required;\n var selectValue = this.state.selectValue;\n if (!name || isDisabled) return;\n\n if (required && !this.hasValue()) {\n return /*#__PURE__*/React.createElement(RequiredInput, {\n name: name,\n onFocus: this.onValueInputFocus\n });\n }\n\n if (isMulti) {\n if (delimiter) {\n var value = selectValue.map(function (opt) {\n return _this5.getOptionValue(opt);\n }).join(delimiter);\n return /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: value\n });\n } else {\n var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {\n return /*#__PURE__*/React.createElement(\"input\", {\n key: \"i-\".concat(i),\n name: name,\n type: \"hidden\",\n value: _this5.getOptionValue(opt)\n });\n }) : /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: \"\"\n });\n return /*#__PURE__*/React.createElement(\"div\", null, input);\n }\n } else {\n var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';\n\n return /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: _value\n });\n }\n }\n }, {\n key: \"renderLiveRegion\",\n value: function renderLiveRegion() {\n var commonProps = this.commonProps;\n var _this$state6 = this.state,\n ariaSelection = _this$state6.ariaSelection,\n focusedOption = _this$state6.focusedOption,\n focusedValue = _this$state6.focusedValue,\n isFocused = _this$state6.isFocused,\n selectValue = _this$state6.selectValue;\n var focusableOptions = this.getFocusableOptions();\n return /*#__PURE__*/React.createElement(LiveRegion, _extends({}, commonProps, {\n id: this.getElementId('live-region'),\n ariaSelection: ariaSelection,\n focusedOption: focusedOption,\n focusedValue: focusedValue,\n isFocused: isFocused,\n selectValue: selectValue,\n focusableOptions: focusableOptions\n }));\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$getComponents8 = this.getComponents(),\n Control = _this$getComponents8.Control,\n IndicatorsContainer = _this$getComponents8.IndicatorsContainer,\n SelectContainer = _this$getComponents8.SelectContainer,\n ValueContainer = _this$getComponents8.ValueContainer;\n\n var _this$props14 = this.props,\n className = _this$props14.className,\n id = _this$props14.id,\n isDisabled = _this$props14.isDisabled,\n menuIsOpen = _this$props14.menuIsOpen;\n var isFocused = this.state.isFocused;\n var commonProps = this.commonProps = this.getCommonProps();\n return /*#__PURE__*/React.createElement(SelectContainer, _extends({}, commonProps, {\n className: className,\n innerProps: {\n id: id,\n onKeyDown: this.onKeyDown\n },\n isDisabled: isDisabled,\n isFocused: isFocused\n }), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {\n innerRef: this.getControlRef,\n innerProps: {\n onMouseDown: this.onControlMouseDown,\n onTouchEnd: this.onControlTouchEnd\n },\n isDisabled: isDisabled,\n isFocused: isFocused,\n menuIsOpen: menuIsOpen\n }), /*#__PURE__*/React.createElement(ValueContainer, _extends({}, commonProps, {\n isDisabled: isDisabled\n }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends({}, commonProps, {\n isDisabled: isDisabled\n }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n var prevProps = state.prevProps,\n clearFocusValueOnUpdate = state.clearFocusValueOnUpdate,\n inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate,\n ariaSelection = state.ariaSelection,\n isFocused = state.isFocused,\n prevWasFocused = state.prevWasFocused;\n var options = props.options,\n value = props.value,\n menuIsOpen = props.menuIsOpen,\n inputValue = props.inputValue,\n isMulti = props.isMulti;\n var selectValue = cleanValue(value);\n var newMenuOptionsState = {};\n\n if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {\n var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];\n var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;\n var focusedOption = getNextFocusedOption(state, focusableOptions);\n newMenuOptionsState = {\n selectValue: selectValue,\n focusedOption: focusedOption,\n focusedValue: focusedValue,\n clearFocusValueOnUpdate: false\n };\n } // some updates should toggle the state of the input visibility\n\n\n var newInputIsHiddenState = inputIsHiddenAfterUpdate != null && props !== prevProps ? {\n inputIsHidden: inputIsHiddenAfterUpdate,\n inputIsHiddenAfterUpdate: undefined\n } : {};\n var newAriaSelection = ariaSelection;\n var hasKeptFocus = isFocused && prevWasFocused;\n\n if (isFocused && !hasKeptFocus) {\n // If `value` or `defaultValue` props are not empty then announce them\n // when the Select is initially focused\n newAriaSelection = {\n value: valueTernary(isMulti, selectValue, selectValue[0] || null),\n options: selectValue,\n action: 'initial-input-focus'\n };\n hasKeptFocus = !prevWasFocused;\n } // If the 'initial-input-focus' action has been set already\n // then reset the ariaSelection to null\n\n\n if ((ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus') {\n newAriaSelection = null;\n }\n\n return _objectSpread(_objectSpread(_objectSpread({}, newMenuOptionsState), newInputIsHiddenState), {}, {\n prevProps: props,\n ariaSelection: newAriaSelection,\n prevWasFocused: hasKeptFocus\n });\n }\n }]);\n\n return Select;\n}(Component);\n\nSelect.defaultProps = defaultProps;\nexport { Select as S, defaultProps as a, getOptionLabel$1 as b, createFilter as c, defaultTheme as d, getOptionValue$1 as g, mergeStyles as m };","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import { u as useStateManager } from './useStateManager-7e1e8489.esm.js';\nexport { u as useStateManager } from './useStateManager-7e1e8489.esm.js';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport { forwardRef, useMemo } from 'react';\nimport { S as Select } from './Select-2497890d.esm.js';\nexport { c as createFilter, d as defaultTheme, m as mergeStyles } from './Select-2497890d.esm.js';\nimport { CacheProvider } from '@emotion/react';\nimport createCache from '@emotion/cache';\nexport { c as components } from './index-827f44ad.esm.js';\nimport '@babel/runtime/helpers/objectSpread2';\nimport '@babel/runtime/helpers/slicedToArray';\nimport '@babel/runtime/helpers/objectWithoutProperties';\nimport '@babel/runtime/helpers/classCallCheck';\nimport '@babel/runtime/helpers/createClass';\nimport '@babel/runtime/helpers/inherits';\nimport '@babel/runtime/helpers/createSuper';\nimport '@babel/runtime/helpers/toConsumableArray';\nimport 'memoize-one';\nimport '@babel/runtime/helpers/taggedTemplateLiteral';\nimport '@babel/runtime/helpers/typeof';\nimport '@babel/runtime/helpers/defineProperty';\nimport 'react-dom';\nimport '@floating-ui/dom';\nimport 'use-isomorphic-layout-effect';\nvar StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {\n var baseSelectProps = useStateManager(props);\n return /*#__PURE__*/React.createElement(Select, _extends({\n ref: ref\n }, baseSelectProps));\n});\n\nvar NonceProvider = function NonceProvider(_ref) {\n var nonce = _ref.nonce,\n children = _ref.children,\n cacheKey = _ref.cacheKey;\n var emotionCache = useMemo(function () {\n return createCache({\n key: cacheKey,\n nonce: nonce\n });\n }, [cacheKey, nonce]);\n return /*#__PURE__*/React.createElement(CacheProvider, {\n value: emotionCache\n }, children);\n};\n\nexport default StateManagedSelect;\nexport { NonceProvider };","import React, { useState } from 'react'\nimport Select from 'react-select'\n\nconst LBSelect = (props) => {\n const [selectedValue, setSelectedValue] = useState(props.defaultValue)\n\n const handleOnChange = (option) => {\n const { name } = option\n const { setSlotOption } = props\n setSelectedValue(name)\n setSlotOption(option)\n }\n\n const renderCheckMark = (context, selected) => {\n if (context !== 'menu' || !selected) return null\n return \n }\n \n const formatOptionLabel = ({ name }, { context }) => {\n const selected = name === selectedValue\n const displayValue = props.formatOptionLabel ? props.formatOptionLabel(name) : name\n\n return (\n
    \n

    {displayValue}

    \n {renderCheckMark(context, selected)}\n
    \n )\n }\n\n return (\n \n \n
    \n
    Bank
    \n option.name}\n getOptionLabel={option => option.name}\n setSlotOption={setBankOption}\n />\n
    \n {slot_documents_view}\n\n \n {\n disabled\n ? uploadMessage()\n : <>\n Drop a file here or  \n click to upload\n \n }\n \n \n )\n}\n\nexport default UploadBankPage\n","import React, {useCallback, useContext, useMemo} from 'react'\nimport Dropzone from 'react-dropzone'\nimport DocumentsContext from '../DocumentsContext'\n\n//maximum filesize for uploaded docs is 50 mb\nconst FIFTY_MB_MAX_SIZE = 50 * 1_048_576\n\nconst UploadZone = ({ slot, disabled, maxSixe = FIFTY_MB_MAX_SIZE}) => {\n const { actions: { createDocument } } = useContext(DocumentsContext)\n\n const onDrop = useCallback(acceptedFiles => {\n const file = acceptedFiles[0]\n createDocument(file, slot.id)\n }, [createDocument, slot?.id])\n\n const zoneText = useMemo(() => {\n if(disabled){\n return <>\n }\n \n return

    \n Drop a file here or \n click to upload\n

    \n }, [disabled])\n\n return (\n \n {zoneText}\n \n )\n}\n\nexport default UploadZone\n","import React, { useContext, useState, useMemo } from 'react'\nimport UploadPage from './UploadPage'\nimport Select from '../../modules/BasicElements/Select'\nimport UploadZone from './UploadZone'\nimport DocumentLink from '../DocumentLink'\nimport DocumentsContext, { parseSlotName } from '../DocumentsContext'\n\nconst UploadSlotPage = () => {\n const { \n state: { uploadGroupId, targetSlot },\n helpers: { getGroup, getGroupSlots, getSlotDocuments },\n } = useContext(DocumentsContext)\n\n const slots = useMemo(() => getGroupSlots(uploadGroupId), [getGroupSlots, uploadGroupId])\n const group = useMemo(() => getGroup(uploadGroupId), [getGroup, uploadGroupId])\n\n const options = slots ? slots : []\n\n const singleOption = slots.length === 1 ? slots[0] : null\n const initialOption = targetSlot ? targetSlot : singleOption\n\n const [slotOption, setSlotOption] = useState(initialOption)\n\n const slotDocuments = useMemo(() => {\n return slotOption ? getSlotDocuments(slotOption.id) : []\n }, [slotOption, getSlotDocuments])\n\n const slot_select_view = useMemo(() => {\n if (slots && slots.length > 1) {\n return (\n
    \n
    Document Type
    \n parseSlotName(option)}\n defaultValue={initialOption}\n options={options}\n isDisabled={slots.length === 1 || targetSlot} // if only one slot, select it and lock to that option.\n setSlotOption={setSlotOption}\n placeholder=\"Select a document type\"\n />\n
    \n )\n }\n return <>\n }, [initialOption, options, slots])\n\n const slot_documents_view = slotDocuments.map(doc => (\n \n ))\n\n return (\n 0}\n >\n {slot_select_view}\n {slot_documents_view}\n \n \n )\n}\n\nexport default UploadSlotPage\n","import React, { useCallback, useContext } from 'react'\nimport Dropzone from 'react-dropzone'\nimport DocumentsContext from '../DocumentsContext'\n\nconst FIFTY_MB_MAX_SIZE = 50 * 1_048_576\n\nconst ReUploadZone = ({document, maxSixe = FIFTY_MB_MAX_SIZE}) => {\n const { actions: { replaceDocument }} = useContext(DocumentsContext)\n\n const onDrop = useCallback(\n (acceptedFiles) => {\n const file = acceptedFiles[0]\n replaceDocument(file, document.slotId, document.id)\n },\n [document.id, document.slotId, replaceDocument],\n )\n\n return (\n \n
    \n Drop a file here or \n click to upload \n  and \n replace file\n
    \n
    \n )\n}\n\nexport default ReUploadZone\n","import CuringPage from \"./CuringPage\"\n\nexport default CuringPage\n","import React, { useCallback, useContext, useEffect, useMemo } from 'react'\nimport Button from '../../modules/BasicElements/Button'\nimport DocumentLink from '../DocumentLink'\nimport ReUploadZone from './ReUploadZone'\nimport UploadZone from '../UploadPage/UploadZone'\nimport Note from '../Note'\nimport DocumentsContext from '../DocumentsContext'\n\nconst CuringPage = () => {\n const {\n state: { curingGroupId, lbid },\n helpers: { getSlotDocuments, getGroup, getGroupSlots },\n actions: { fetchCollectionGroups, setCuringGroup }\n } = useContext(DocumentsContext)\n\n //Refetch data on unmount to prevent stale documents page\n useEffect(() => {\n return fetchCollectionGroups\n // Disable exhaustive-deps because this is only a unMount.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n // Leave this page\n const goBack = useCallback(() => {\n setCuringGroup(null)\n }, [setCuringGroup])\n\n const groupName = useMemo(() => {\n getGroup(curingGroupId).name.toLowerCase()\n }, [curingGroupId, getGroup])\n\n\n const renderUploadZone = (slot) => (\n
    \n

    Or upload a new file

    \n \n
    \n )\n\n const renderSlotView = () => {\n const groupSlots = getGroupSlots(curingGroupId);\n\n const _rejectedSlots = groupSlots.filter(slot => slot.verification_status === \"REJECTED\").filter(\n (slot) => getSlotDocuments(slot.id).length\n )\n\n const _otherSlots = groupSlots.filter(slot => slot.verification_status !== \"REJECTED\").filter(\n (slot) => getSlotDocuments(slot.id).length\n )\n\n const RejectedSlots = () => _rejectedSlots.map((slot) => (\n
    \n {slot.name.toLowerCase()}\n {slot.external_note || \"Rejected, please re-upload\"}\n {getSlotDocuments(slot.id).map((doc) =>\n \n \n \n\n
    \n )}\n {renderUploadZone(slot)}\n \n ))\n\n\n const OtherSlots = () => _otherSlots.map((slot) => (\n
    \n {slot.name.toLowerCase()}\n {getSlotDocuments(slot.id).map((doc) =>\n \n )}\n
    \n ))\n\n return <>\n \n \n \n }\n\n return (\n
    \n Reupload and resolve: {groupName}\n
    \n Accepted file formats: JPG, JPEG, PNG, and PDF\n
    \n {renderSlotView()}\n \n
    \n )\n}\n\nexport default CuringPage\n","import React from 'react'\n\nconst HeaderAnnouncement = ({\n link = \"https://lendbuzz.notion.site/January-2022-Product-Update-Credit-Application-381ac94d745a4678823ee76aadb35a5b\",\n message = \"We’re excited to bring you a new feature\",\n onClose,\n isVisible\n}) => {\n\n if (!isVisible) return null\n return (\n
    \n { window.open(link, '_blank') }}\n >\n \n \n {message}\n Click here to read more\n \n
    \n
    \n \n
    \n \n )\n}\n\nexport default HeaderAnnouncement","\nimport React, { useEffect, useState } from 'react'\nimport HeaderAnnouncement from './HeaderAnnouncement'\n\nconst StoredAnnouncement = ({\n storageKey,\n link,\n message,\n}) => {\n const [isVisible, setIsVisible] = useState(false)\n\n useEffect(() => {\n // check our local storage key on mount, \n // FALSE will mean 'has not been seen'\n // TRUE will mean 'has been seen'\n setIsVisible(!localStorage[storageKey])\n }, [])\n\n const closeBanner = () => {\n setIsVisible(false)\n localStorage[storageKey] = true\n }\n\n return \n}\n\nexport default StoredAnnouncement","import React, { useContext, useMemo } from 'react'\n\nimport { HeaderProvider } from '../deal_structure/HeaderContext'\n\nimport DealHeader from '../deal_structure/dealer/DealHeader';\nimport DocumentStages from './DocumentStages'\n\nimport DocumentsContext from './DocumentsContext'\n\nimport UploadBankPage from './UploadPage/UploadBankPage'\nimport UploadSlotPage from './UploadPage/UploadSlotPage'\nimport CuringPage from './CuringPage'\n\nimport LBModal from '../modules/LBModal.js'\nimport StoredAnnouncement from '../headers/StoredAnnouncement'\n\nconst DocumentsPage = ({ isDealer, currentUser, loanApplication, loanId }) => {\n const {\n state: { uploadGroupId, curingGroupId, lbid, loading },\n actions: { setUploadGroup, setCuringGroup },\n helpers: { isBankGroup }\n } = useContext(DocumentsContext)\n\n const dealer_id = useMemo(() => {\n return loanApplication?.dealer_id\n }, [loanApplication])\n\n const app_status = useMemo(() => {\n return loanApplication?.app_status\n }, [loanApplication])\n\n const renderAppButton = \n\n\n const loader_view =
    \n \n \n Loading documents\n \n
    \n\n\n const renderAppListButton = () => {\n if (!isDealer) return null\n return (\n \n )\n }\n\n const renderBackButtons =
    \n {renderAppButton}\n {renderAppListButton()}\n
    \n\n\n const renderBodyView = () => {\n if (loading) return loader_view\n const bankModalVisible = !!(uploadGroupId && isBankGroup(uploadGroupId))\n const slotModalVisisble = !!(uploadGroupId && !isBankGroup(uploadGroupId))\n\n return (\n
    \n {renderBackButtons}\n \n setUploadGroup(null)}\n >\n \n \n setUploadGroup(null)}\n >\n \n \n setCuringGroup(null)}\n >\n \n \n
    \n )\n }\n\n return (\n <>\n \n \n \n \n {renderBodyView()}\n \n )\n}\n\nexport default DocumentsPage\n","import DocumentsApp from './DocumentsApp.jsx'\n\nexport default DocumentsApp","import React from 'react'\n\nimport { DocumentsProvider } from './DocumentsContext'\nimport DocumentsPage from './DocumentsPage'\n\nconst DocumentsApp = ({ lbid, primary, slotId, currentUser, form, loanId }) => {\n return (\n
    \n \n \n \n
    \n )\n}\n\nexport default DocumentsApp\n","import React from 'react';\nconst Logo = require('images/site-header__logo.svg')\n\nconst EmptyHeader = () => {\n return (\n
    \n \"Lendbuzz\"\n
    \n )\n}\n\nexport default EmptyHeader;\n","import _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport * as React from 'react';\n\nvar isCheckBoxInput = function isCheckBoxInput(element) {\n return element.type === 'checkbox';\n};\n\nvar isDateObject = function isDateObject(data) {\n return data instanceof Date;\n};\n\nvar isNullOrUndefined = function isNullOrUndefined(value) {\n return value == null;\n};\n\nvar isObjectType = function isObjectType(value) {\n return _typeof(value) === 'object';\n};\n\nvar isObject = function isObject(value) {\n return !isNullOrUndefined(value) && !Array.isArray(value) && isObjectType(value) && !isDateObject(value);\n};\n\nvar getEventValue = function getEventValue(event) {\n return isObject(event) && event.target ? isCheckBoxInput(event.target) ? event.target.checked : event.target.value : event;\n};\n\nvar getNodeParentName = function getNodeParentName(name) {\n return name.substring(0, name.search(/.\\d/)) || name;\n};\n\nvar isNameInFieldArray = function isNameInFieldArray(names, name) {\n return _toConsumableArray(names).some(function (current) {\n return getNodeParentName(name) === current;\n });\n};\n\nvar compact = function compact(value) {\n return value.filter(Boolean);\n};\n\nvar isUndefined = function isUndefined(val) {\n return val === undefined;\n};\n\nvar get = function get(obj, path, defaultValue) {\n if (isObject(obj) && path) {\n var result = compact(path.split(/[,[\\].]+?/)).reduce(function (result, key) {\n return isNullOrUndefined(result) ? result : result[key];\n }, obj);\n return isUndefined(result) || result === obj ? isUndefined(obj[path]) ? defaultValue : obj[path] : result;\n }\n\n return undefined;\n};\n\nvar EVENTS = {\n BLUR: 'blur',\n CHANGE: 'change'\n};\nvar VALIDATION_MODE = {\n onBlur: 'onBlur',\n onChange: 'onChange',\n onSubmit: 'onSubmit',\n onTouched: 'onTouched',\n all: 'all'\n};\nvar INPUT_VALIDATION_RULES = {\n max: 'max',\n min: 'min',\n maxLength: 'maxLength',\n minLength: 'minLength',\n pattern: 'pattern',\n required: 'required',\n validate: 'validate'\n};\n\nvar omit = function omit(source, key) {\n var copy = Object.assign({}, source);\n delete copy[key];\n return copy;\n};\n\nvar HookFormContext = React.createContext(null);\n\nvar useFormContext = function useFormContext() {\n return React.useContext(HookFormContext);\n};\n\nvar FormProvider = function FormProvider(props) {\n return React.createElement(HookFormContext.Provider, {\n value: omit(props, 'children')\n }, props.children);\n};\n\nvar getProxyFormState = function getProxyFormState(formState, _proxyFormState, localProxyFormState) {\n var isRoot = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n function createGetter(prop) {\n return function () {\n if (prop in formState) {\n if (_proxyFormState[prop] !== VALIDATION_MODE.all) {\n _proxyFormState[prop] = !isRoot || VALIDATION_MODE.all;\n }\n\n localProxyFormState && (localProxyFormState[prop] = true);\n return formState[prop];\n }\n\n return undefined;\n };\n }\n\n var result = {};\n\n for (var key in formState) {\n Object.defineProperty(result, key, {\n get: createGetter(key)\n });\n }\n\n return result;\n};\n\nvar isEmptyObject = function isEmptyObject(value) {\n return isObject(value) && !Object.keys(value).length;\n};\n\nvar shouldRenderFormState = function shouldRenderFormState(formStateData, _proxyFormState, isRoot) {\n var formState = omit(formStateData, 'name');\n return isEmptyObject(formState) || Object.keys(formState).length >= Object.keys(_proxyFormState).length || Object.keys(formState).find(function (key) {\n return _proxyFormState[key] === (!isRoot || VALIDATION_MODE.all);\n });\n};\n\nvar convertToArrayPayload = function convertToArrayPayload(value) {\n return Array.isArray(value) ? value : [value];\n};\n\nvar shouldSubscribeByName = function shouldSubscribeByName(name, signalName, exact) {\n return exact && signalName ? name === signalName : !name || !signalName || name === signalName || convertToArrayPayload(name).some(function (currentName) {\n return currentName && (currentName.startsWith(signalName) || signalName.startsWith(currentName));\n });\n};\n\nfunction useSubscribe(props) {\n var _props = React.useRef(props);\n\n _props.current = props;\n React.useEffect(function () {\n var tearDown = function tearDown(subscription) {\n if (subscription) {\n subscription.unsubscribe();\n }\n };\n\n var subscription = !props.disabled && _props.current.subject.subscribe({\n next: _props.current.callback\n });\n\n return function () {\n return tearDown(subscription);\n };\n }, [props.disabled]);\n}\n\nfunction useFormState(props) {\n var methods = useFormContext();\n\n var _ref = props || {},\n _ref$control = _ref.control,\n control = _ref$control === void 0 ? methods.control : _ref$control,\n disabled = _ref.disabled,\n name = _ref.name,\n exact = _ref.exact;\n\n var _React$useState = React.useState(control._formState),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n formState = _React$useState2[0],\n updateFormState = _React$useState2[1];\n\n var _localProxyFormState = React.useRef({\n isDirty: false,\n dirtyFields: false,\n touchedFields: false,\n isValidating: false,\n isValid: false,\n errors: false\n });\n\n var _name = React.useRef(name);\n\n _name.current = name;\n useSubscribe({\n disabled: disabled,\n callback: function callback(value) {\n return shouldSubscribeByName(_name.current, value.name, exact) && shouldRenderFormState(value, _localProxyFormState.current) && updateFormState(Object.assign(Object.assign({}, control._formState), value));\n },\n subject: control._subjects.state\n });\n return getProxyFormState(formState, control._proxyFormState, _localProxyFormState.current, false);\n}\n\nvar isString = function isString(value) {\n return typeof value === 'string';\n};\n\nvar generateWatchOutput = function generateWatchOutput(names, _names, formValues, isGlobal) {\n var isArray = Array.isArray(names);\n\n if (isString(names)) {\n isGlobal && _names.watch.add(names);\n return get(formValues, names);\n }\n\n if (isArray) {\n return names.map(function (fieldName) {\n return isGlobal && _names.watch.add(fieldName), get(formValues, fieldName);\n });\n }\n\n isGlobal && (_names.watchAll = true);\n return formValues;\n};\n\nvar isFunction = function isFunction(value) {\n return typeof value === 'function';\n};\n\nvar objectHasFunction = function objectHasFunction(data) {\n for (var key in data) {\n if (isFunction(data[key])) {\n return true;\n }\n }\n\n return false;\n};\n\nfunction useWatch(props) {\n var methods = useFormContext();\n\n var _ref2 = props || {},\n _ref2$control = _ref2.control,\n control = _ref2$control === void 0 ? methods.control : _ref2$control,\n name = _ref2.name,\n defaultValue = _ref2.defaultValue,\n disabled = _ref2.disabled,\n exact = _ref2.exact;\n\n var _name = React.useRef(name);\n\n _name.current = name;\n useSubscribe({\n disabled: disabled,\n subject: control._subjects.watch,\n callback: function callback(formState) {\n if (shouldSubscribeByName(_name.current, formState.name, exact)) {\n var fieldValues = generateWatchOutput(_name.current, control._names, formState.values || control._formValues);\n updateValue(isUndefined(_name.current) || isObject(fieldValues) && !objectHasFunction(fieldValues) ? Object.assign({}, fieldValues) : Array.isArray(fieldValues) ? _toConsumableArray(fieldValues) : fieldValues);\n }\n }\n });\n\n var _React$useState3 = React.useState(isUndefined(defaultValue) ? control._getWatch(name) : defaultValue),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n value = _React$useState4[0],\n updateValue = _React$useState4[1];\n\n React.useEffect(function () {\n control._removeUnmounted();\n });\n return value;\n}\n\nfunction useController(props) {\n var methods = useFormContext();\n var name = props.name,\n _props$control = props.control,\n control = _props$control === void 0 ? methods.control : _props$control,\n shouldUnregister = props.shouldUnregister;\n var isArrayField = isNameInFieldArray(control._names.array, name);\n var value = useWatch({\n control: control,\n name: name,\n defaultValue: get(control._formValues, name, get(control._defaultValues, name, props.defaultValue)),\n exact: !isArrayField\n });\n var formState = useFormState({\n control: control,\n name: name\n });\n\n var _name = React.useRef(name);\n\n _name.current = name;\n var registerProps = control.register(name, Object.assign(Object.assign({}, props.rules), {\n value: value\n }));\n React.useEffect(function () {\n var updateMounted = function updateMounted(name, value) {\n var field = get(control._fields, name);\n\n if (field) {\n field._f.mount = value;\n }\n };\n\n updateMounted(name, true);\n return function () {\n var _shouldUnregisterField = control._options.shouldUnregister || shouldUnregister;\n\n if (isArrayField ? _shouldUnregisterField && !control._stateFlags.action : _shouldUnregisterField) {\n control.unregister(name, {\n keepDefaultValue: true\n });\n } else {\n updateMounted(name, false);\n }\n };\n }, [name, control, isArrayField, shouldUnregister]);\n return {\n field: {\n onChange: function onChange(event) {\n registerProps.onChange({\n target: {\n value: getEventValue(event),\n name: name\n },\n type: EVENTS.CHANGE\n });\n },\n onBlur: function onBlur() {\n registerProps.onBlur({\n target: {\n value: get(control._formValues, name),\n name: name\n },\n type: EVENTS.BLUR\n });\n },\n name: name,\n value: value,\n ref: function ref(elm) {\n var field = get(control._fields, name);\n\n if (elm && field && elm.focus) {\n field._f.ref = {\n focus: function focus() {\n return elm.focus();\n },\n setCustomValidity: function setCustomValidity(message) {\n return elm.setCustomValidity(message);\n },\n reportValidity: function reportValidity() {\n return elm.reportValidity();\n }\n };\n }\n }\n },\n formState: formState,\n fieldState: {\n invalid: !!get(formState.errors, name),\n isDirty: !!get(formState.dirtyFields, name),\n isTouched: !!get(formState.touchedFields, name),\n error: get(formState.errors, name)\n }\n };\n}\n\nvar Controller = function Controller(props) {\n return props.render(useController(props));\n};\n\nvar appendErrors = function appendErrors(name, validateAllFieldCriteria, errors, type, message) {\n return validateAllFieldCriteria ? Object.assign(Object.assign({}, errors[name]), {\n types: Object.assign(Object.assign({}, errors[name] && errors[name].types ? errors[name].types : {}), _defineProperty({}, type, message || true))\n }) : {};\n};\n\nvar isKey = function isKey(value) {\n return /^\\w*$/.test(value);\n};\n\nvar stringToPath = function stringToPath(input) {\n return compact(input.replace(/[\"|']|\\]/g, '').split(/\\.|\\[/));\n};\n\nfunction set(object, path, value) {\n var index = -1;\n var tempPath = isKey(path) ? [path] : stringToPath(path);\n var length = tempPath.length;\n var lastIndex = length - 1;\n\n while (++index < length) {\n var key = tempPath[index];\n var newValue = value;\n\n if (index !== lastIndex) {\n var objValue = object[key];\n newValue = isObject(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[index + 1]) ? [] : {};\n }\n\n object[key] = newValue;\n object = object[key];\n }\n\n return object;\n}\n\nvar focusFieldBy = function focusFieldBy(fields, callback, fieldsNames) {\n var _iterator = _createForOfIteratorHelper(fieldsNames || Object.keys(fields)),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var key = _step.value;\n var field = get(fields, key);\n\n if (field) {\n var _f = field._f;\n var current = omit(field, '_f');\n\n if (_f && callback(_f.name)) {\n if (_f.ref.focus && isUndefined(_f.ref.focus())) {\n break;\n } else if (_f.refs) {\n _f.refs[0].focus();\n\n break;\n }\n } else if (isObject(current)) {\n focusFieldBy(current, callback);\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n};\n\nvar getFocusFieldName = function getFocusFieldName(name, index) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return options.shouldFocus || isUndefined(options.shouldFocus) ? options.focusName || \"\".concat(name, \".\").concat(isUndefined(options.focusIndex) ? index : options.focusIndex, \".\") : '';\n};\n\nvar isWatched = function isWatched(name, _names, isBlurEvent) {\n return !isBlurEvent && (_names.watchAll || _names.watch.has(name) || _toConsumableArray(_names.watch).some(function (watchName) {\n return name.startsWith(watchName) && /^\\.\\w+/.test(name.slice(watchName.length));\n }));\n};\n\nvar mapCurrentIds = function mapCurrentIds(values, _fieldIds, keyName) {\n return values.map(function (value, index) {\n var output = _fieldIds.current[index];\n return Object.assign(Object.assign({}, value), output ? _defineProperty({}, keyName, output[keyName]) : {});\n });\n};\n\nvar generateId = function generateId() {\n var d = typeof performance === 'undefined' ? Date.now() : performance.now() * 1000;\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = (Math.random() * 16 + d) % 16 | 0;\n return (c == 'x' ? r : r & 0x3 | 0x8).toString(16);\n });\n};\n\nvar mapIds = function mapIds() {\n var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var keyName = arguments.length > 1 ? arguments[1] : undefined;\n return values.map(function (value) {\n return Object.assign(Object.assign({}, value[keyName] ? {} : _defineProperty({}, keyName, generateId())), value);\n });\n};\n\nfunction append(data, value) {\n return [].concat(_toConsumableArray(convertToArrayPayload(data)), _toConsumableArray(convertToArrayPayload(value)));\n}\n\nvar fillEmptyArray = function fillEmptyArray(value) {\n return Array.isArray(value) ? value.map(function () {\n return undefined;\n }) : undefined;\n};\n\nfunction insert(data, index, value) {\n return [].concat(_toConsumableArray(data.slice(0, index)), _toConsumableArray(convertToArrayPayload(value)), _toConsumableArray(data.slice(index)));\n}\n\nvar moveArrayAt = function moveArrayAt(data, from, to) {\n if (Array.isArray(data)) {\n if (isUndefined(data[to])) {\n data[to] = undefined;\n }\n\n data.splice(to, 0, data.splice(from, 1)[0]);\n return data;\n }\n\n return [];\n};\n\nvar omitKeys = function omitKeys(fields, keyName) {\n return fields.map(function () {\n var field = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return omit(field, keyName);\n });\n};\n\nfunction prepend(data, value) {\n return [].concat(_toConsumableArray(convertToArrayPayload(value)), _toConsumableArray(convertToArrayPayload(data)));\n}\n\nfunction removeAtIndexes(data, indexes) {\n var i = 0;\n\n var temp = _toConsumableArray(data);\n\n var _iterator2 = _createForOfIteratorHelper(indexes),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var index = _step2.value;\n temp.splice(index - i, 1);\n i++;\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n return compact(temp).length ? temp : [];\n}\n\nvar removeArrayAt = function removeArrayAt(data, index) {\n return isUndefined(index) ? [] : removeAtIndexes(data, convertToArrayPayload(index).sort(function (a, b) {\n return a - b;\n }));\n};\n\nvar swapArrayAt = function swapArrayAt(data, indexA, indexB) {\n data[indexA] = [data[indexB], data[indexB] = data[indexA]][0];\n};\n\nvar updateAt = function updateAt(fieldValues, index, value) {\n fieldValues[index] = value;\n return fieldValues;\n};\n\nvar useFieldArray = function useFieldArray(props) {\n var methods = useFormContext();\n var _props$control2 = props.control,\n control = _props$control2 === void 0 ? methods.control : _props$control2,\n name = props.name,\n _props$keyName = props.keyName,\n keyName = _props$keyName === void 0 ? 'id' : _props$keyName,\n shouldUnregister = props.shouldUnregister;\n\n var _React$useState5 = React.useState(mapIds(control._getFieldArray(name), keyName)),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n fields = _React$useState6[0],\n setFields = _React$useState6[1];\n\n var _fieldIds = React.useRef(fields);\n\n var _name = React.useRef(name);\n\n var _actioned = React.useRef(false);\n\n _name.current = name;\n _fieldIds.current = fields;\n\n control._names.array.add(name);\n\n useSubscribe({\n callback: function callback(_ref5) {\n var values = _ref5.values,\n fieldArrayName = _ref5.name;\n\n if (fieldArrayName === _name.current || !fieldArrayName) {\n setFields(mapIds(get(values, _name.current), keyName));\n }\n },\n subject: control._subjects.array\n });\n var updateValues = React.useCallback(function (updatedFieldArrayValuesWithKey) {\n var updatedFieldArrayValues = omitKeys(updatedFieldArrayValuesWithKey, keyName);\n _actioned.current = true;\n set(control._formValues, name, updatedFieldArrayValues);\n return updatedFieldArrayValues;\n }, [control, name, keyName]);\n\n var append$1 = function append$1(value, options) {\n var appendValue = convertToArrayPayload(value);\n var updatedFieldArrayValuesWithKey = append(mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName), mapIds(appendValue, keyName));\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, append, {\n argA: fillEmptyArray(value)\n }, updateValues(updatedFieldArrayValuesWithKey));\n\n control._names.focus = getFocusFieldName(name, updatedFieldArrayValuesWithKey.length - appendValue.length, options);\n };\n\n var prepend$1 = function prepend$1(value, options) {\n var updatedFieldArrayValuesWithKey = prepend(mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName), mapIds(convertToArrayPayload(value), keyName));\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, prepend, {\n argA: fillEmptyArray(value)\n }, updateValues(updatedFieldArrayValuesWithKey));\n\n control._names.focus = getFocusFieldName(name, 0, options);\n };\n\n var remove = function remove(index) {\n var updatedFieldArrayValuesWithKey = removeArrayAt(mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName), index);\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, removeArrayAt, {\n argA: index\n }, updateValues(updatedFieldArrayValuesWithKey));\n };\n\n var insert$1 = function insert$1(index, value, options) {\n var updatedFieldArrayValuesWithKey = insert(mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName), index, mapIds(convertToArrayPayload(value), keyName));\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, insert, {\n argA: index,\n argB: fillEmptyArray(value)\n }, updateValues(updatedFieldArrayValuesWithKey));\n\n control._names.focus = getFocusFieldName(name, index, options);\n };\n\n var swap = function swap(indexA, indexB) {\n var updatedFieldArrayValuesWithKey = mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName);\n swapArrayAt(updatedFieldArrayValuesWithKey, indexA, indexB);\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, swapArrayAt, {\n argA: indexA,\n argB: indexB\n }, updateValues(updatedFieldArrayValuesWithKey), false);\n };\n\n var move = function move(from, to) {\n var updatedFieldArrayValuesWithKey = mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName);\n moveArrayAt(updatedFieldArrayValuesWithKey, from, to);\n\n control._updateFieldArray(name, moveArrayAt, {\n argA: from,\n argB: to\n }, updateValues(updatedFieldArrayValuesWithKey), false);\n\n setFields(updatedFieldArrayValuesWithKey);\n };\n\n var update = function update(index, value) {\n var updatedFieldArrayValuesWithKey = mapCurrentIds(control._getFieldArray(name), _fieldIds, keyName);\n var updatedFieldArrayValues = updateAt(updatedFieldArrayValuesWithKey, index, value);\n _fieldIds.current = mapIds(updatedFieldArrayValues, keyName);\n setFields(_fieldIds.current);\n\n control._updateFieldArray(name, updateAt, {\n argA: index,\n argB: value\n }, updateValues(_fieldIds.current), true, false);\n };\n\n var replace = function replace(value) {\n var updatedFieldArrayValuesWithKey = mapIds(convertToArrayPayload(value), keyName);\n setFields(updatedFieldArrayValuesWithKey);\n\n control._updateFieldArray(name, function () {\n return updatedFieldArrayValuesWithKey;\n }, {}, updateValues(updatedFieldArrayValuesWithKey), true, false);\n };\n\n React.useEffect(function () {\n control._stateFlags.action = false;\n isWatched(name, control._names) && control._subjects.state.next({});\n\n if (_actioned.current) {\n control._executeSchema([name]).then(function (result) {\n var error = get(result.errors, name);\n\n if (error && error.type && !get(control._formState.errors, name)) {\n set(control._formState.errors, name, error);\n\n control._subjects.state.next({\n errors: control._formState.errors\n });\n }\n });\n }\n\n control._subjects.watch.next({\n name: name,\n values: control._formValues\n });\n\n control._names.focus && focusFieldBy(control._fields, function (key) {\n return key.startsWith(control._names.focus);\n });\n control._names.focus = '';\n control._proxyFormState.isValid && control._updateValid();\n }, [fields, name, control, keyName]);\n React.useEffect(function () {\n !get(control._formValues, name) && set(control._formValues, name, []);\n return function () {\n if (control._options.shouldUnregister || shouldUnregister) {\n control.unregister(name);\n }\n };\n }, [name, control, keyName, shouldUnregister]);\n return {\n swap: React.useCallback(swap, [updateValues, name, control, keyName]),\n move: React.useCallback(move, [updateValues, name, control, keyName]),\n prepend: React.useCallback(prepend$1, [updateValues, name, control, keyName]),\n append: React.useCallback(append$1, [updateValues, name, control, keyName]),\n remove: React.useCallback(remove, [updateValues, name, control, keyName]),\n insert: React.useCallback(insert$1, [updateValues, name, control, keyName]),\n update: React.useCallback(update, [updateValues, name, control, keyName]),\n replace: React.useCallback(replace, [updateValues, name, control, keyName]),\n fields: fields\n };\n};\n\nfunction cloneObject(data) {\n var copy;\n var isArray = Array.isArray(data);\n\n if (data instanceof Date) {\n copy = new Date(data);\n } else if (data instanceof Set) {\n copy = new Set(data);\n } else if (isArray || isObject(data)) {\n copy = isArray ? [] : {};\n\n for (var key in data) {\n if (isFunction(data[key])) {\n copy = data;\n break;\n }\n\n copy[key] = cloneObject(data[key]);\n }\n } else {\n return data;\n }\n\n return copy;\n}\n\nfunction createSubject() {\n var _observers = [];\n\n var next = function next(value) {\n var _iterator3 = _createForOfIteratorHelper(_observers),\n _step3;\n\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var observer = _step3.value;\n observer.next(value);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n };\n\n var subscribe = function subscribe(observer) {\n _observers.push(observer);\n\n return {\n unsubscribe: function unsubscribe() {\n _observers = _observers.filter(function (o) {\n return o !== observer;\n });\n }\n };\n };\n\n var unsubscribe = function unsubscribe() {\n _observers = [];\n };\n\n return {\n get observers() {\n return _observers;\n },\n\n next: next,\n subscribe: subscribe,\n unsubscribe: unsubscribe\n };\n}\n\nvar isPrimitive = function isPrimitive(value) {\n return isNullOrUndefined(value) || !isObjectType(value);\n};\n\nfunction deepEqual(object1, object2) {\n if (isPrimitive(object1) || isPrimitive(object2)) {\n return object1 === object2;\n }\n\n if (isDateObject(object1) && isDateObject(object2)) {\n return object1.getTime() === object2.getTime();\n }\n\n var keys1 = Object.keys(object1);\n var keys2 = Object.keys(object2);\n\n if (keys1.length !== keys2.length) {\n return false;\n }\n\n for (var _i2 = 0, _keys = keys1; _i2 < _keys.length; _i2++) {\n var key = _keys[_i2];\n var val1 = object1[key];\n\n if (!keys2.includes(key)) {\n return false;\n }\n\n if (key !== 'ref') {\n var val2 = object2[key];\n\n if (isDateObject(val1) && isDateObject(val2) || isObject(val1) && isObject(val2) || Array.isArray(val1) && Array.isArray(val2) ? !deepEqual(val1, val2) : val1 !== val2) {\n return false;\n }\n }\n }\n\n return true;\n}\n\nvar getValidationModes = function getValidationModes(mode) {\n return {\n isOnSubmit: !mode || mode === VALIDATION_MODE.onSubmit,\n isOnBlur: mode === VALIDATION_MODE.onBlur,\n isOnChange: mode === VALIDATION_MODE.onChange,\n isOnAll: mode === VALIDATION_MODE.all,\n isOnTouch: mode === VALIDATION_MODE.onTouched\n };\n};\n\nvar isBoolean = function isBoolean(value) {\n return typeof value === 'boolean';\n};\n\nvar isFileInput = function isFileInput(element) {\n return element.type === 'file';\n};\n\nvar isHTMLElement = function isHTMLElement(value) {\n return value instanceof HTMLElement;\n};\n\nvar isMultipleSelect = function isMultipleSelect(element) {\n return element.type === \"select-multiple\";\n};\n\nvar isRadioInput = function isRadioInput(element) {\n return element.type === 'radio';\n};\n\nvar isRadioOrCheckboxFunction = function isRadioOrCheckboxFunction(ref) {\n return isRadioInput(ref) || isCheckBoxInput(ref);\n};\n\nvar isWeb = typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined' && typeof document !== 'undefined';\n\nvar live = function live(ref) {\n return isHTMLElement(ref) && document.contains(ref);\n};\n\nfunction baseGet(object, updatePath) {\n var length = updatePath.slice(0, -1).length;\n var index = 0;\n\n while (index < length) {\n object = isUndefined(object) ? index++ : object[updatePath[index++]];\n }\n\n return object;\n}\n\nfunction unset(object, path) {\n var updatePath = isKey(path) ? [path] : stringToPath(path);\n var childObject = updatePath.length == 1 ? object : baseGet(object, updatePath);\n var key = updatePath[updatePath.length - 1];\n var previousObjRef;\n\n if (childObject) {\n delete childObject[key];\n }\n\n for (var k = 0; k < updatePath.slice(0, -1).length; k++) {\n var index = -1;\n var objectRef = void 0;\n var currentPaths = updatePath.slice(0, -(k + 1));\n var currentPathsLength = currentPaths.length - 1;\n\n if (k > 0) {\n previousObjRef = object;\n }\n\n while (++index < currentPaths.length) {\n var item = currentPaths[index];\n objectRef = objectRef ? objectRef[item] : object[item];\n\n if (currentPathsLength === index && (isObject(objectRef) && isEmptyObject(objectRef) || Array.isArray(objectRef) && !objectRef.filter(function (data) {\n return isObject(data) && !isEmptyObject(data) || isBoolean(data);\n }).length)) {\n previousObjRef ? delete previousObjRef[item] : delete object[item];\n }\n\n previousObjRef = objectRef;\n }\n }\n\n return object;\n}\n\nfunction markFieldsDirty(data) {\n var fields = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var isParentNodeArray = Array.isArray(data);\n\n if (isObject(data) || isParentNodeArray) {\n for (var key in data) {\n if (Array.isArray(data[key]) || isObject(data[key]) && !objectHasFunction(data[key])) {\n fields[key] = Array.isArray(data[key]) ? [] : {};\n markFieldsDirty(data[key], fields[key]);\n } else if (!isNullOrUndefined(data[key])) {\n fields[key] = true;\n }\n }\n }\n\n return fields;\n}\n\nfunction getDirtyFieldsFromDefaultValues(data, formValues, dirtyFieldsFromValues) {\n var isParentNodeArray = Array.isArray(data);\n\n if (isObject(data) || isParentNodeArray) {\n for (var key in data) {\n if (Array.isArray(data[key]) || isObject(data[key]) && !objectHasFunction(data[key])) {\n if (isUndefined(formValues) || isPrimitive(dirtyFieldsFromValues[key])) {\n dirtyFieldsFromValues[key] = Array.isArray(data[key]) ? markFieldsDirty(data[key], []) : Object.assign({}, markFieldsDirty(data[key]));\n } else {\n getDirtyFieldsFromDefaultValues(data[key], isNullOrUndefined(formValues) ? {} : formValues[key], dirtyFieldsFromValues[key]);\n }\n } else {\n dirtyFieldsFromValues[key] = !deepEqual(data[key], formValues[key]);\n }\n }\n }\n\n return dirtyFieldsFromValues;\n}\n\nvar getDirtyFields = function getDirtyFields(defaultValues, formValues) {\n return getDirtyFieldsFromDefaultValues(defaultValues, formValues, markFieldsDirty(formValues));\n};\n\nvar defaultResult = {\n value: false,\n isValid: false\n};\nvar validResult = {\n value: true,\n isValid: true\n};\n\nvar getCheckboxValue = function getCheckboxValue(options) {\n if (Array.isArray(options)) {\n if (options.length > 1) {\n var values = options.filter(function (option) {\n return option && option.checked && !option.disabled;\n }).map(function (option) {\n return option.value;\n });\n return {\n value: values,\n isValid: !!values.length\n };\n }\n\n return options[0].checked && !options[0].disabled ? // @ts-expect-error expected to work in the browser\n options[0].attributes && !isUndefined(options[0].attributes.value) ? isUndefined(options[0].value) || options[0].value === '' ? validResult : {\n value: options[0].value,\n isValid: true\n } : validResult : defaultResult;\n }\n\n return defaultResult;\n};\n\nvar getFieldValueAs = function getFieldValueAs(value, _ref6) {\n var valueAsNumber = _ref6.valueAsNumber,\n valueAsDate = _ref6.valueAsDate,\n setValueAs = _ref6.setValueAs;\n return isUndefined(value) ? value : valueAsNumber ? value === '' ? NaN : +value : valueAsDate ? new Date(value) : setValueAs ? setValueAs(value) : value;\n};\n\nvar defaultReturn = {\n isValid: false,\n value: null\n};\n\nvar getRadioValue = function getRadioValue(options) {\n return Array.isArray(options) ? options.reduce(function (previous, option) {\n return option && option.checked && !option.disabled ? {\n isValid: true,\n value: option.value\n } : previous;\n }, defaultReturn) : defaultReturn;\n};\n\nfunction getFieldValue(_f) {\n var ref = _f.ref;\n\n if (_f.refs ? _f.refs.every(function (ref) {\n return ref.disabled;\n }) : ref.disabled) {\n return;\n }\n\n if (isFileInput(ref)) {\n return ref.files;\n }\n\n if (isRadioInput(ref)) {\n return getRadioValue(_f.refs).value;\n }\n\n if (isMultipleSelect(ref)) {\n return _toConsumableArray(ref.selectedOptions).map(function (_ref7) {\n var value = _ref7.value;\n return value;\n });\n }\n\n if (isCheckBoxInput(ref)) {\n return getCheckboxValue(_f.refs).value;\n }\n\n return getFieldValueAs(isUndefined(ref.value) ? _f.ref.value : ref.value, _f);\n}\n\nvar getResolverOptions = function getResolverOptions(fieldsNames, _fields, criteriaMode, shouldUseNativeValidation) {\n var fields = {};\n\n var _iterator4 = _createForOfIteratorHelper(fieldsNames),\n _step4;\n\n try {\n for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n var name = _step4.value;\n var field = get(_fields, name);\n field && set(fields, name, field._f);\n }\n } catch (err) {\n _iterator4.e(err);\n } finally {\n _iterator4.f();\n }\n\n return {\n criteriaMode: criteriaMode,\n names: _toConsumableArray(fieldsNames),\n fields: fields,\n shouldUseNativeValidation: shouldUseNativeValidation\n };\n};\n\nvar hasValidation = function hasValidation(options) {\n return options.mount && (options.required || options.min || options.max || options.maxLength || options.minLength || options.pattern || options.validate);\n};\n\nfunction schemaErrorLookup(errors, _fields, name) {\n var error = get(errors, name);\n\n if (error || isKey(name)) {\n return {\n error: error,\n name: name\n };\n }\n\n var names = name.split('.');\n\n while (names.length) {\n var fieldName = names.join('.');\n var field = get(_fields, fieldName);\n var foundError = get(errors, fieldName);\n\n if (field && !Array.isArray(field) && name !== fieldName) {\n return {\n name: name\n };\n }\n\n if (foundError && foundError.type) {\n return {\n name: fieldName,\n error: foundError\n };\n }\n\n names.pop();\n }\n\n return {\n name: name\n };\n}\n\nvar skipValidation = function skipValidation(isBlurEvent, isTouched, isSubmitted, reValidateMode, mode) {\n if (mode.isOnAll) {\n return false;\n } else if (!isSubmitted && mode.isOnTouch) {\n return !(isTouched || isBlurEvent);\n } else if (isSubmitted ? reValidateMode.isOnBlur : mode.isOnBlur) {\n return !isBlurEvent;\n } else if (isSubmitted ? reValidateMode.isOnChange : mode.isOnChange) {\n return isBlurEvent;\n }\n\n return true;\n};\n\nvar unsetEmptyArray = function unsetEmptyArray(ref, name) {\n return !compact(get(ref, name, [])).length && unset(ref, name);\n};\n\nvar isMessage = function isMessage(value) {\n return isString(value) || React.isValidElement(value);\n};\n\nvar isRegex = function isRegex(value) {\n return value instanceof RegExp;\n};\n\nfunction getValidateError(result, ref) {\n var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'validate';\n\n if (isMessage(result) || Array.isArray(result) && result.every(isMessage) || isBoolean(result) && !result) {\n return {\n type: type,\n message: isMessage(result) ? result : '',\n ref: ref\n };\n }\n}\n\nvar getValueAndMessage = function getValueAndMessage(validationData) {\n return isObject(validationData) && !isRegex(validationData) ? validationData : {\n value: validationData,\n message: ''\n };\n};\n\nvar validateField = /*#__PURE__*/function () {\n var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(field, inputValue, validateAllFieldCriteria, shouldUseNativeValidation) {\n var _field$_f, ref, refs, required, maxLength, minLength, min, max, pattern, validate, name, valueAsNumber, mount, disabled, inputRef, setCustomValidity, error, isRadio, isCheckBox, isRadioOrCheckbox, isEmpty, appendErrorsCurry, getMinMaxMessage, _ref9, value, message, exceedMax, exceedMin, maxOutput, minOutput, valueNumber, valueDate, maxLengthOutput, minLengthOutput, _exceedMax, _exceedMin, _getValueAndMessage, patternValue, _message, result, validateError, validationResult, key, _validateError;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _field$_f = field._f, ref = _field$_f.ref, refs = _field$_f.refs, required = _field$_f.required, maxLength = _field$_f.maxLength, minLength = _field$_f.minLength, min = _field$_f.min, max = _field$_f.max, pattern = _field$_f.pattern, validate = _field$_f.validate, name = _field$_f.name, valueAsNumber = _field$_f.valueAsNumber, mount = _field$_f.mount, disabled = _field$_f.disabled;\n\n if (!(!mount || disabled)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", {});\n\n case 3:\n inputRef = refs ? refs[0] : ref;\n\n setCustomValidity = function setCustomValidity(message) {\n if (shouldUseNativeValidation && inputRef.reportValidity) {\n inputRef.setCustomValidity(isBoolean(message) ? '' : message || ' ');\n inputRef.reportValidity();\n }\n };\n\n error = {};\n isRadio = isRadioInput(ref);\n isCheckBox = isCheckBoxInput(ref);\n isRadioOrCheckbox = isRadio || isCheckBox;\n isEmpty = (valueAsNumber || isFileInput(ref)) && !ref.value || inputValue === '' || Array.isArray(inputValue) && !inputValue.length;\n appendErrorsCurry = appendErrors.bind(null, name, validateAllFieldCriteria, error);\n\n getMinMaxMessage = function getMinMaxMessage(exceedMax, maxLengthMessage, minLengthMessage) {\n var maxType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : INPUT_VALIDATION_RULES.maxLength;\n var minType = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : INPUT_VALIDATION_RULES.minLength;\n var message = exceedMax ? maxLengthMessage : minLengthMessage;\n error[name] = Object.assign({\n type: exceedMax ? maxType : minType,\n message: message,\n ref: ref\n }, appendErrorsCurry(exceedMax ? maxType : minType, message));\n };\n\n if (!(required && (!isRadioOrCheckbox && (isEmpty || isNullOrUndefined(inputValue)) || isBoolean(inputValue) && !inputValue || isCheckBox && !getCheckboxValue(refs).isValid || isRadio && !getRadioValue(refs).isValid))) {\n _context.next = 19;\n break;\n }\n\n _ref9 = isMessage(required) ? {\n value: !!required,\n message: required\n } : getValueAndMessage(required), value = _ref9.value, message = _ref9.message;\n\n if (!value) {\n _context.next = 19;\n break;\n }\n\n error[name] = Object.assign({\n type: INPUT_VALIDATION_RULES.required,\n message: message,\n ref: inputRef\n }, appendErrorsCurry(INPUT_VALIDATION_RULES.required, message));\n\n if (validateAllFieldCriteria) {\n _context.next = 19;\n break;\n }\n\n setCustomValidity(message);\n return _context.abrupt(\"return\", error);\n\n case 19:\n if (!(!isEmpty && (!isNullOrUndefined(min) || !isNullOrUndefined(max)))) {\n _context.next = 28;\n break;\n }\n\n maxOutput = getValueAndMessage(max);\n minOutput = getValueAndMessage(min);\n\n if (!isNaN(inputValue)) {\n valueNumber = ref.valueAsNumber || parseFloat(inputValue);\n\n if (!isNullOrUndefined(maxOutput.value)) {\n exceedMax = valueNumber > maxOutput.value;\n }\n\n if (!isNullOrUndefined(minOutput.value)) {\n exceedMin = valueNumber < minOutput.value;\n }\n } else {\n valueDate = ref.valueAsDate || new Date(inputValue);\n\n if (isString(maxOutput.value)) {\n exceedMax = valueDate > new Date(maxOutput.value);\n }\n\n if (isString(minOutput.value)) {\n exceedMin = valueDate < new Date(minOutput.value);\n }\n }\n\n if (!(exceedMax || exceedMin)) {\n _context.next = 28;\n break;\n }\n\n getMinMaxMessage(!!exceedMax, maxOutput.message, minOutput.message, INPUT_VALIDATION_RULES.max, INPUT_VALIDATION_RULES.min);\n\n if (validateAllFieldCriteria) {\n _context.next = 28;\n break;\n }\n\n setCustomValidity(error[name].message);\n return _context.abrupt(\"return\", error);\n\n case 28:\n if (!((maxLength || minLength) && !isEmpty && isString(inputValue))) {\n _context.next = 38;\n break;\n }\n\n maxLengthOutput = getValueAndMessage(maxLength);\n minLengthOutput = getValueAndMessage(minLength);\n _exceedMax = !isNullOrUndefined(maxLengthOutput.value) && inputValue.length > maxLengthOutput.value;\n _exceedMin = !isNullOrUndefined(minLengthOutput.value) && inputValue.length < minLengthOutput.value;\n\n if (!(_exceedMax || _exceedMin)) {\n _context.next = 38;\n break;\n }\n\n getMinMaxMessage(_exceedMax, maxLengthOutput.message, minLengthOutput.message);\n\n if (validateAllFieldCriteria) {\n _context.next = 38;\n break;\n }\n\n setCustomValidity(error[name].message);\n return _context.abrupt(\"return\", error);\n\n case 38:\n if (!(pattern && !isEmpty && isString(inputValue))) {\n _context.next = 45;\n break;\n }\n\n _getValueAndMessage = getValueAndMessage(pattern), patternValue = _getValueAndMessage.value, _message = _getValueAndMessage.message;\n\n if (!(isRegex(patternValue) && !inputValue.match(patternValue))) {\n _context.next = 45;\n break;\n }\n\n error[name] = Object.assign({\n type: INPUT_VALIDATION_RULES.pattern,\n message: _message,\n ref: ref\n }, appendErrorsCurry(INPUT_VALIDATION_RULES.pattern, _message));\n\n if (validateAllFieldCriteria) {\n _context.next = 45;\n break;\n }\n\n setCustomValidity(_message);\n return _context.abrupt(\"return\", error);\n\n case 45:\n if (!validate) {\n _context.next = 79;\n break;\n }\n\n if (!isFunction(validate)) {\n _context.next = 58;\n break;\n }\n\n _context.next = 49;\n return validate(inputValue);\n\n case 49:\n result = _context.sent;\n validateError = getValidateError(result, inputRef);\n\n if (!validateError) {\n _context.next = 56;\n break;\n }\n\n error[name] = Object.assign(Object.assign({}, validateError), appendErrorsCurry(INPUT_VALIDATION_RULES.validate, validateError.message));\n\n if (validateAllFieldCriteria) {\n _context.next = 56;\n break;\n }\n\n setCustomValidity(validateError.message);\n return _context.abrupt(\"return\", error);\n\n case 56:\n _context.next = 79;\n break;\n\n case 58:\n if (!isObject(validate)) {\n _context.next = 79;\n break;\n }\n\n validationResult = {};\n _context.t0 = _regeneratorRuntime.keys(validate);\n\n case 61:\n if ((_context.t1 = _context.t0()).done) {\n _context.next = 75;\n break;\n }\n\n key = _context.t1.value;\n\n if (!(!isEmptyObject(validationResult) && !validateAllFieldCriteria)) {\n _context.next = 65;\n break;\n }\n\n return _context.abrupt(\"break\", 75);\n\n case 65:\n _context.t2 = getValidateError;\n _context.next = 68;\n return validate[key](inputValue);\n\n case 68:\n _context.t3 = _context.sent;\n _context.t4 = inputRef;\n _context.t5 = key;\n _validateError = (0, _context.t2)(_context.t3, _context.t4, _context.t5);\n\n if (_validateError) {\n validationResult = Object.assign(Object.assign({}, _validateError), appendErrorsCurry(key, _validateError.message));\n setCustomValidity(_validateError.message);\n\n if (validateAllFieldCriteria) {\n error[name] = validationResult;\n }\n }\n\n _context.next = 61;\n break;\n\n case 75:\n if (isEmptyObject(validationResult)) {\n _context.next = 79;\n break;\n }\n\n error[name] = Object.assign({\n ref: inputRef\n }, validationResult);\n\n if (validateAllFieldCriteria) {\n _context.next = 79;\n break;\n }\n\n return _context.abrupt(\"return\", error);\n\n case 79:\n setCustomValidity(true);\n return _context.abrupt(\"return\", error);\n\n case 81:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function validateField(_x, _x2, _x3, _x4) {\n return _ref8.apply(this, arguments);\n };\n}();\n\nvar defaultOptions = {\n mode: VALIDATION_MODE.onSubmit,\n reValidateMode: VALIDATION_MODE.onChange,\n shouldFocusError: true\n};\nvar isWindowUndefined = typeof window === 'undefined';\n\nfunction createFormControl() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options = Object.assign(Object.assign({}, defaultOptions), props);\n\n var _formState = {\n isDirty: false,\n isValidating: false,\n dirtyFields: {},\n isSubmitted: false,\n submitCount: 0,\n touchedFields: {},\n isSubmitting: false,\n isSubmitSuccessful: false,\n isValid: false,\n errors: {}\n };\n var _fields = {};\n\n var _defaultValues = _options.defaultValues || {};\n\n var _formValues = _options.shouldUnregister ? {} : cloneObject(_defaultValues);\n\n var _stateFlags = {\n action: false,\n mount: false,\n watch: false\n };\n var _names = {\n mount: new Set(),\n unMount: new Set(),\n array: new Set(),\n watch: new Set()\n };\n var delayErrorCallback;\n var timer = 0;\n var validateFields = {};\n var _proxyFormState = {\n isDirty: false,\n dirtyFields: false,\n touchedFields: false,\n isValidating: false,\n isValid: false,\n errors: false\n };\n var _subjects = {\n watch: createSubject(),\n array: createSubject(),\n state: createSubject()\n };\n var validationModeBeforeSubmit = getValidationModes(_options.mode);\n var validationModeAfterSubmit = getValidationModes(_options.reValidateMode);\n var shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;\n\n var debounce = function debounce(callback, wait) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n clearTimeout(timer);\n timer = window.setTimeout(function () {\n return callback.apply(void 0, args);\n }, wait);\n };\n };\n\n var _updateValid = /*#__PURE__*/function () {\n var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(shouldSkipRender) {\n var isValid;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n isValid = false;\n\n if (!_proxyFormState.isValid) {\n _context2.next = 15;\n break;\n }\n\n if (!_options.resolver) {\n _context2.next = 10;\n break;\n }\n\n _context2.t1 = isEmptyObject;\n _context2.next = 6;\n return _executeSchema();\n\n case 6:\n _context2.t2 = _context2.sent.errors;\n _context2.t0 = (0, _context2.t1)(_context2.t2);\n _context2.next = 13;\n break;\n\n case 10:\n _context2.next = 12;\n return executeBuildInValidation(_fields, true);\n\n case 12:\n _context2.t0 = _context2.sent;\n\n case 13:\n isValid = _context2.t0;\n\n if (!shouldSkipRender && isValid !== _formState.isValid) {\n _formState.isValid = isValid;\n\n _subjects.state.next({\n isValid: isValid\n });\n }\n\n case 15:\n return _context2.abrupt(\"return\", isValid);\n\n case 16:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function _updateValid(_x5) {\n return _ref10.apply(this, arguments);\n };\n }();\n\n var _updateFieldArray = function _updateFieldArray(name, method, args) {\n var values = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var shouldSetValues = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n var shouldSetFields = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n _stateFlags.action = true;\n\n if (shouldSetFields && get(_fields, name)) {\n var fieldValues = method(get(_fields, name), args.argA, args.argB);\n shouldSetValues && set(_fields, name, fieldValues);\n }\n\n if (Array.isArray(get(_formState.errors, name))) {\n var errors = method(get(_formState.errors, name), args.argA, args.argB);\n shouldSetValues && set(_formState.errors, name, errors);\n unsetEmptyArray(_formState.errors, name);\n }\n\n if (_proxyFormState.touchedFields && get(_formState.touchedFields, name)) {\n var touchedFields = method(get(_formState.touchedFields, name), args.argA, args.argB);\n shouldSetValues && set(_formState.touchedFields, name, touchedFields);\n unsetEmptyArray(_formState.touchedFields, name);\n }\n\n if (_proxyFormState.dirtyFields || _proxyFormState.isDirty) {\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\n }\n\n _subjects.state.next({\n isDirty: _getDirty(name, values),\n dirtyFields: _formState.dirtyFields,\n errors: _formState.errors,\n isValid: _formState.isValid\n });\n };\n\n var updateErrors = function updateErrors(name, error) {\n return set(_formState.errors, name, error), _subjects.state.next({\n errors: _formState.errors\n });\n };\n\n var updateValidAndValue = function updateValidAndValue(name, shouldSkipSetValueAs, ref) {\n var field = get(_fields, name);\n\n if (field) {\n var defaultValue = get(_formValues, name, get(_defaultValues, name));\n isUndefined(defaultValue) || ref && ref.defaultChecked || shouldSkipSetValueAs ? set(_formValues, name, shouldSkipSetValueAs ? defaultValue : getFieldValue(field._f)) : setFieldValue(name, defaultValue);\n }\n\n _stateFlags.mount && _updateValid();\n };\n\n var updateTouchAndDirty = function updateTouchAndDirty(name, fieldValue, isCurrentTouched) {\n var shouldRender = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n var isFieldDirty = false;\n var output = {\n name: name\n };\n var isPreviousFieldTouched = get(_formState.touchedFields, name);\n\n if (_proxyFormState.isDirty) {\n var isPreviousFormDirty = _formState.isDirty;\n _formState.isDirty = output.isDirty = _getDirty();\n isFieldDirty = isPreviousFormDirty !== output.isDirty;\n }\n\n if (_proxyFormState.dirtyFields && !isCurrentTouched) {\n var isPreviousFieldDirty = get(_formState.dirtyFields, name);\n var isCurrentFieldPristine = deepEqual(get(_defaultValues, name), fieldValue);\n isCurrentFieldPristine ? unset(_formState.dirtyFields, name) : set(_formState.dirtyFields, name, true);\n output.dirtyFields = _formState.dirtyFields;\n isFieldDirty = isFieldDirty || isPreviousFieldDirty !== get(_formState.dirtyFields, name);\n }\n\n if (isCurrentTouched && !isPreviousFieldTouched) {\n set(_formState.touchedFields, name, isCurrentTouched);\n output.touchedFields = _formState.touchedFields;\n isFieldDirty = isFieldDirty || _proxyFormState.touchedFields && isPreviousFieldTouched !== isCurrentTouched;\n }\n\n isFieldDirty && shouldRender && _subjects.state.next(output);\n return isFieldDirty ? output : {};\n };\n\n var shouldRenderByError = /*#__PURE__*/function () {\n var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(shouldSkipRender, name, isValid, error, fieldState) {\n var previousFieldError, shouldUpdateValid, updatedFormState;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n previousFieldError = get(_formState.errors, name);\n shouldUpdateValid = _proxyFormState.isValid && _formState.isValid !== isValid;\n\n if (props.delayError && error) {\n delayErrorCallback = delayErrorCallback || debounce(updateErrors, props.delayError);\n delayErrorCallback(name, error);\n } else {\n clearTimeout(timer);\n error ? set(_formState.errors, name, error) : unset(_formState.errors, name);\n }\n\n if (((error ? !deepEqual(previousFieldError, error) : previousFieldError) || !isEmptyObject(fieldState) || shouldUpdateValid) && !shouldSkipRender) {\n updatedFormState = Object.assign(Object.assign(Object.assign({}, fieldState), shouldUpdateValid ? {\n isValid: isValid\n } : {}), {\n errors: _formState.errors,\n name: name\n });\n _formState = Object.assign(Object.assign({}, _formState), updatedFormState);\n\n _subjects.state.next(updatedFormState);\n }\n\n validateFields[name]--;\n\n if (_proxyFormState.isValidating && !validateFields[name]) {\n _subjects.state.next({\n isValidating: false\n });\n\n validateFields = {};\n }\n\n case 6:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n\n return function shouldRenderByError(_x6, _x7, _x8, _x9, _x10) {\n return _ref11.apply(this, arguments);\n };\n }();\n\n var _executeSchema = /*#__PURE__*/function () {\n var _ref12 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(name) {\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n if (!_options.resolver) {\n _context4.next = 6;\n break;\n }\n\n _context4.next = 3;\n return _options.resolver(Object.assign({}, _formValues), _options.context, getResolverOptions(name || _names.mount, _fields, _options.criteriaMode, _options.shouldUseNativeValidation));\n\n case 3:\n _context4.t0 = _context4.sent;\n _context4.next = 7;\n break;\n\n case 6:\n _context4.t0 = {};\n\n case 7:\n return _context4.abrupt(\"return\", _context4.t0);\n\n case 8:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }));\n\n return function _executeSchema(_x11) {\n return _ref12.apply(this, arguments);\n };\n }();\n\n var executeSchemaAndUpdateState = /*#__PURE__*/function () {\n var _ref13 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(names) {\n var _yield$_executeSchema, errors, _iterator5, _step5, _name2, _error;\n\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n _context5.next = 2;\n return _executeSchema();\n\n case 2:\n _yield$_executeSchema = _context5.sent;\n errors = _yield$_executeSchema.errors;\n\n if (names) {\n _iterator5 = _createForOfIteratorHelper(names);\n\n try {\n for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n _name2 = _step5.value;\n _error = get(errors, _name2);\n _error ? set(_formState.errors, _name2, _error) : unset(_formState.errors, _name2);\n }\n } catch (err) {\n _iterator5.e(err);\n } finally {\n _iterator5.f();\n }\n } else {\n _formState.errors = errors;\n }\n\n return _context5.abrupt(\"return\", errors);\n\n case 6:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5);\n }));\n\n return function executeSchemaAndUpdateState(_x12) {\n return _ref13.apply(this, arguments);\n };\n }();\n\n var executeBuildInValidation = /*#__PURE__*/function () {\n var _ref14 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(fields, shouldOnlyCheckValid) {\n var context,\n _name3,\n field,\n fieldReference,\n fieldValue,\n fieldError,\n _args6 = arguments;\n\n return _regeneratorRuntime.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n context = _args6.length > 2 && _args6[2] !== undefined ? _args6[2] : {\n valid: true\n };\n _context6.t0 = _regeneratorRuntime.keys(fields);\n\n case 2:\n if ((_context6.t1 = _context6.t0()).done) {\n _context6.next = 23;\n break;\n }\n\n _name3 = _context6.t1.value;\n field = fields[_name3];\n\n if (!field) {\n _context6.next = 21;\n break;\n }\n\n fieldReference = field._f;\n fieldValue = omit(field, '_f');\n\n if (!fieldReference) {\n _context6.next = 17;\n break;\n }\n\n _context6.next = 11;\n return validateField(field, get(_formValues, fieldReference.name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation);\n\n case 11:\n fieldError = _context6.sent;\n\n if (!fieldError[fieldReference.name]) {\n _context6.next = 16;\n break;\n }\n\n context.valid = false;\n\n if (!shouldOnlyCheckValid) {\n _context6.next = 16;\n break;\n }\n\n return _context6.abrupt(\"break\", 23);\n\n case 16:\n if (!shouldOnlyCheckValid) {\n fieldError[fieldReference.name] ? set(_formState.errors, fieldReference.name, fieldError[fieldReference.name]) : unset(_formState.errors, fieldReference.name);\n }\n\n case 17:\n _context6.t2 = fieldValue;\n\n if (!_context6.t2) {\n _context6.next = 21;\n break;\n }\n\n _context6.next = 21;\n return executeBuildInValidation(fieldValue, shouldOnlyCheckValid, context);\n\n case 21:\n _context6.next = 2;\n break;\n\n case 23:\n return _context6.abrupt(\"return\", context.valid);\n\n case 24:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6);\n }));\n\n return function executeBuildInValidation(_x13, _x14) {\n return _ref14.apply(this, arguments);\n };\n }();\n\n var _removeUnmounted = function _removeUnmounted() {\n var _iterator6 = _createForOfIteratorHelper(_names.unMount),\n _step6;\n\n try {\n for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {\n var _name4 = _step6.value;\n var field = get(_fields, _name4);\n field && (field._f.refs ? field._f.refs.every(function (ref) {\n return !live(ref);\n }) : !live(field._f.ref)) && unregister(_name4);\n }\n } catch (err) {\n _iterator6.e(err);\n } finally {\n _iterator6.f();\n }\n\n _names.unMount = new Set();\n };\n\n var _getDirty = function _getDirty(name, data) {\n return name && data && set(_formValues, name, data), !deepEqual(getValues(), _defaultValues);\n };\n\n var _getWatch = function _getWatch(names, defaultValue, isGlobal) {\n var fieldValues = Object.assign({}, _stateFlags.mount ? _formValues : isUndefined(defaultValue) ? _defaultValues : isString(names) ? _defineProperty({}, names, defaultValue) : defaultValue);\n return generateWatchOutput(names, _names, fieldValues, isGlobal);\n };\n\n var _getFieldArray = function _getFieldArray(name) {\n return get(_stateFlags.mount ? _formValues : _defaultValues, name, props.shouldUnregister ? get(_defaultValues, name, []) : []);\n };\n\n var setFieldValue = function setFieldValue(name, value) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var field = get(_fields, name);\n var fieldValue = value;\n\n if (field) {\n var fieldReference = field._f;\n\n if (fieldReference) {\n set(_formValues, name, getFieldValueAs(value, fieldReference));\n fieldValue = isWeb && isHTMLElement(fieldReference.ref) && isNullOrUndefined(value) ? '' : value;\n\n if (isMultipleSelect(fieldReference.ref)) {\n _toConsumableArray(fieldReference.ref.options).forEach(function (selectRef) {\n return selectRef.selected = fieldValue.includes(selectRef.value);\n });\n } else if (fieldReference.refs) {\n if (isCheckBoxInput(fieldReference.ref)) {\n fieldReference.refs.length > 1 ? fieldReference.refs.forEach(function (checkboxRef) {\n return checkboxRef.checked = Array.isArray(fieldValue) ? !!fieldValue.find(function (data) {\n return data === checkboxRef.value;\n }) : fieldValue === checkboxRef.value;\n }) : fieldReference.refs[0].checked = !!fieldValue;\n } else {\n fieldReference.refs.forEach(function (radioRef) {\n return radioRef.checked = radioRef.value === fieldValue;\n });\n }\n } else if (!isFileInput(fieldReference.ref)) {\n fieldReference.ref.value = fieldValue;\n }\n }\n }\n\n (options.shouldDirty || options.shouldTouch) && updateTouchAndDirty(name, fieldValue, options.shouldTouch);\n options.shouldValidate && trigger(name);\n };\n\n var setValues = function setValues(name, value, options) {\n for (var fieldKey in value) {\n var fieldValue = value[fieldKey];\n var fieldName = \"\".concat(name, \".\").concat(fieldKey);\n var field = get(_fields, fieldName);\n (_names.array.has(name) || !isPrimitive(fieldValue) || field && !field._f) && !isDateObject(fieldValue) ? setValues(fieldName, fieldValue, options) : setFieldValue(fieldName, fieldValue, options);\n }\n };\n\n var setValue = function setValue(name, value) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var field = get(_fields, name);\n\n var isFieldArray = _names.array.has(name);\n\n set(_formValues, name, value);\n\n if (isFieldArray) {\n _subjects.array.next({\n name: name,\n values: _formValues\n });\n\n if ((_proxyFormState.isDirty || _proxyFormState.dirtyFields) && options.shouldDirty) {\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\n\n _subjects.state.next({\n name: name,\n dirtyFields: _formState.dirtyFields,\n isDirty: _getDirty(name, value)\n });\n }\n } else {\n field && !field._f && !isNullOrUndefined(value) ? setValues(name, value, options) : setFieldValue(name, value, options);\n }\n\n isWatched(name, _names) && _subjects.state.next({});\n\n _subjects.watch.next({\n name: name\n });\n };\n\n var handleChange = /*#__PURE__*/function () {\n var _ref16 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(event) {\n var target, name, field, _error2, isValid, fieldValue, isBlurEvent, shouldSkipValidation, watched, fieldState, shouldRender, _yield$_executeSchema2, errors, previousErrorLookupResult, errorLookupResult;\n\n return _regeneratorRuntime.wrap(function _callee7$(_context7) {\n while (1) {\n switch (_context7.prev = _context7.next) {\n case 0:\n target = event.target;\n name = target.name;\n field = get(_fields, name);\n\n if (!field) {\n _context7.next = 39;\n break;\n }\n\n fieldValue = target.type ? getFieldValue(field._f) : getEventValue(event);\n isBlurEvent = event.type === EVENTS.BLUR;\n shouldSkipValidation = !hasValidation(field._f) && !_options.resolver && !get(_formState.errors, name) && !field._f.deps || skipValidation(isBlurEvent, get(_formState.touchedFields, name), _formState.isSubmitted, validationModeAfterSubmit, validationModeBeforeSubmit);\n watched = isWatched(name, _names, isBlurEvent);\n\n if (isBlurEvent) {\n field._f.onBlur && field._f.onBlur(event);\n } else if (field._f.onChange) {\n field._f.onChange(event);\n }\n\n set(_formValues, name, fieldValue);\n fieldState = updateTouchAndDirty(name, fieldValue, isBlurEvent, false);\n shouldRender = !isEmptyObject(fieldState) || watched;\n !isBlurEvent && _subjects.watch.next({\n name: name,\n type: event.type\n });\n\n if (!shouldSkipValidation) {\n _context7.next = 15;\n break;\n }\n\n return _context7.abrupt(\"return\", shouldRender && _subjects.state.next(Object.assign({\n name: name\n }, watched ? {} : fieldState)));\n\n case 15:\n !isBlurEvent && watched && _subjects.state.next({});\n validateFields[name] = validateFields[name] ? +1 : 1;\n _proxyFormState.isValidating && _subjects.state.next({\n isValidating: true\n });\n\n if (!_options.resolver) {\n _context7.next = 30;\n break;\n }\n\n _context7.next = 21;\n return _executeSchema([name]);\n\n case 21:\n _yield$_executeSchema2 = _context7.sent;\n errors = _yield$_executeSchema2.errors;\n previousErrorLookupResult = schemaErrorLookup(_formState.errors, _fields, name);\n errorLookupResult = schemaErrorLookup(errors, _fields, previousErrorLookupResult.name || name);\n _error2 = errorLookupResult.error;\n name = errorLookupResult.name;\n isValid = isEmptyObject(errors);\n _context7.next = 37;\n break;\n\n case 30:\n _context7.next = 32;\n return validateField(field, get(_formValues, name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation);\n\n case 32:\n _context7.t0 = name;\n _error2 = _context7.sent[_context7.t0];\n _context7.next = 36;\n return _updateValid(true);\n\n case 36:\n isValid = _context7.sent;\n\n case 37:\n field._f.deps && trigger(field._f.deps);\n shouldRenderByError(false, name, isValid, _error2, fieldState);\n\n case 39:\n case \"end\":\n return _context7.stop();\n }\n }\n }, _callee7);\n }));\n\n return function handleChange(_x15) {\n return _ref16.apply(this, arguments);\n };\n }();\n\n var trigger = /*#__PURE__*/function () {\n var _ref17 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(name) {\n var options,\n isValid,\n validationResult,\n fieldNames,\n errors,\n _args9 = arguments;\n return _regeneratorRuntime.wrap(function _callee9$(_context9) {\n while (1) {\n switch (_context9.prev = _context9.next) {\n case 0:\n options = _args9.length > 1 && _args9[1] !== undefined ? _args9[1] : {};\n fieldNames = convertToArrayPayload(name);\n\n _subjects.state.next({\n isValidating: true\n });\n\n if (!_options.resolver) {\n _context9.next = 11;\n break;\n }\n\n _context9.next = 6;\n return executeSchemaAndUpdateState(isUndefined(name) ? name : fieldNames);\n\n case 6:\n errors = _context9.sent;\n isValid = isEmptyObject(errors);\n validationResult = name ? !fieldNames.some(function (name) {\n return get(errors, name);\n }) : isValid;\n _context9.next = 21;\n break;\n\n case 11:\n if (!name) {\n _context9.next = 18;\n break;\n }\n\n _context9.next = 14;\n return Promise.all(fieldNames.map( /*#__PURE__*/function () {\n var _ref18 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(fieldName) {\n var field;\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n field = get(_fields, fieldName);\n _context8.next = 3;\n return executeBuildInValidation(field && field._f ? _defineProperty({}, fieldName, field) : field);\n\n case 3:\n return _context8.abrupt(\"return\", _context8.sent);\n\n case 4:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8);\n }));\n\n return function (_x17) {\n return _ref18.apply(this, arguments);\n };\n }()));\n\n case 14:\n validationResult = _context9.sent.every(Boolean);\n !(!validationResult && !_formState.isValid) && _updateValid();\n _context9.next = 21;\n break;\n\n case 18:\n _context9.next = 20;\n return executeBuildInValidation(_fields);\n\n case 20:\n validationResult = isValid = _context9.sent;\n\n case 21:\n _subjects.state.next(Object.assign(Object.assign(Object.assign({}, !isString(name) || _proxyFormState.isValid && isValid !== _formState.isValid ? {} : {\n name: name\n }), _options.resolver ? {\n isValid: isValid\n } : {}), {\n errors: _formState.errors,\n isValidating: false\n }));\n\n options.shouldFocus && !validationResult && focusFieldBy(_fields, function (key) {\n return get(_formState.errors, key);\n }, name ? fieldNames : _names.mount);\n return _context9.abrupt(\"return\", validationResult);\n\n case 24:\n case \"end\":\n return _context9.stop();\n }\n }\n }, _callee9);\n }));\n\n return function trigger(_x16) {\n return _ref17.apply(this, arguments);\n };\n }();\n\n var getValues = function getValues(fieldNames) {\n var values = Object.assign(Object.assign({}, _defaultValues), _stateFlags.mount ? _formValues : {});\n return isUndefined(fieldNames) ? values : isString(fieldNames) ? get(values, fieldNames) : fieldNames.map(function (name) {\n return get(values, name);\n });\n };\n\n var clearErrors = function clearErrors(name) {\n name ? convertToArrayPayload(name).forEach(function (inputName) {\n return unset(_formState.errors, inputName);\n }) : _formState.errors = {};\n\n _subjects.state.next({\n errors: _formState.errors,\n isValid: true\n });\n };\n\n var setError = function setError(name, error, options) {\n var ref = (get(_fields, name, {\n _f: {}\n })._f || {}).ref;\n set(_formState.errors, name, Object.assign(Object.assign({}, error), {\n ref: ref\n }));\n\n _subjects.state.next({\n name: name,\n errors: _formState.errors,\n isValid: false\n });\n\n options && options.shouldFocus && ref && ref.focus && ref.focus();\n };\n\n var watch = function watch(name, defaultValue) {\n return isFunction(name) ? _subjects.watch.subscribe({\n next: function next(info) {\n return name(_getWatch(undefined, defaultValue), info);\n }\n }) : _getWatch(name, defaultValue, true);\n };\n\n var unregister = function unregister(name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var _iterator7 = _createForOfIteratorHelper(name ? convertToArrayPayload(name) : _names.mount),\n _step7;\n\n try {\n for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {\n var fieldName = _step7.value;\n\n _names.mount.delete(fieldName);\n\n _names.array.delete(fieldName);\n\n if (get(_fields, fieldName)) {\n if (!options.keepValue) {\n unset(_fields, fieldName);\n unset(_formValues, fieldName);\n }\n\n !options.keepError && unset(_formState.errors, fieldName);\n !options.keepDirty && unset(_formState.dirtyFields, fieldName);\n !options.keepTouched && unset(_formState.touchedFields, fieldName);\n !_options.shouldUnregister && !options.keepDefaultValue && unset(_defaultValues, fieldName);\n }\n }\n } catch (err) {\n _iterator7.e(err);\n } finally {\n _iterator7.f();\n }\n\n _subjects.watch.next({});\n\n _subjects.state.next(Object.assign(Object.assign({}, _formState), !options.keepDirty ? {} : {\n isDirty: _getDirty()\n }));\n\n !options.keepIsValid && _updateValid();\n };\n\n var register = function register(name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var field = get(_fields, name);\n set(_fields, name, {\n _f: Object.assign(Object.assign(Object.assign({}, field && field._f ? field._f : {\n ref: {\n name: name\n }\n }), {\n name: name,\n mount: true\n }), options)\n });\n\n _names.mount.add(name);\n\n !isUndefined(options.value) && !options.disabled && set(_formValues, name, get(_formValues, name, options.value));\n field ? isBoolean(options.disabled) && set(_formValues, name, options.disabled ? undefined : get(_formValues, name, getFieldValue(field._f))) : updateValidAndValue(name, true);\n return isWindowUndefined ? {\n name: name\n } : Object.assign(Object.assign({\n name: name\n }, isBoolean(options.disabled) ? {\n disabled: options.disabled\n } : {}), {\n onChange: handleChange,\n onBlur: handleChange,\n ref: function (_ref20) {\n function ref(_x18) {\n return _ref20.apply(this, arguments);\n }\n\n ref.toString = function () {\n return _ref20.toString();\n };\n\n return ref;\n }(function (ref) {\n if (ref) {\n register(name, options);\n\n var _field = get(_fields, name);\n\n var fieldRef = isUndefined(ref.value) ? ref.querySelectorAll ? ref.querySelectorAll('input,select,textarea')[0] || ref : ref : ref;\n var isRadioOrCheckbox = isRadioOrCheckboxFunction(fieldRef);\n\n if (fieldRef === _field._f.ref || isRadioOrCheckbox && compact(_field._f.refs || []).find(function (option) {\n return option === fieldRef;\n })) {\n return;\n }\n\n _field = {\n _f: isRadioOrCheckbox ? Object.assign(Object.assign({}, _field._f), {\n refs: [].concat(_toConsumableArray(compact(_field._f.refs || []).filter(live)), [fieldRef]),\n ref: {\n type: fieldRef.type,\n name: name\n }\n }) : Object.assign(Object.assign({}, _field._f), {\n ref: fieldRef\n })\n };\n set(_fields, name, _field);\n (!options || !options.disabled) && updateValidAndValue(name, false, fieldRef);\n } else {\n var _field2 = get(_fields, name, {});\n\n var shouldUnregister = _options.shouldUnregister || options.shouldUnregister;\n\n if (_field2._f) {\n _field2._f.mount = false;\n }\n\n shouldUnregister && !(isNameInFieldArray(_names.array, name) && _stateFlags.action) && _names.unMount.add(name);\n }\n })\n });\n };\n\n var handleSubmit = function handleSubmit(onValid, onInvalid) {\n return /*#__PURE__*/function () {\n var _ref21 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(e) {\n var hasNoPromiseError, fieldValues, _yield$_executeSchema3, errors, values;\n\n return _regeneratorRuntime.wrap(function _callee10$(_context10) {\n while (1) {\n switch (_context10.prev = _context10.next) {\n case 0:\n if (e) {\n e.preventDefault && e.preventDefault();\n e.persist && e.persist();\n }\n\n hasNoPromiseError = true;\n fieldValues = _options.shouldUnregister ? cloneObject(_formValues) : Object.assign({}, _formValues);\n\n _subjects.state.next({\n isSubmitting: true\n });\n\n _context10.prev = 4;\n\n if (!_options.resolver) {\n _context10.next = 15;\n break;\n }\n\n _context10.next = 8;\n return _executeSchema();\n\n case 8:\n _yield$_executeSchema3 = _context10.sent;\n errors = _yield$_executeSchema3.errors;\n values = _yield$_executeSchema3.values;\n _formState.errors = errors;\n fieldValues = values;\n _context10.next = 17;\n break;\n\n case 15:\n _context10.next = 17;\n return executeBuildInValidation(_fields);\n\n case 17:\n if (!(isEmptyObject(_formState.errors) && Object.keys(_formState.errors).every(function (name) {\n return get(fieldValues, name);\n }))) {\n _context10.next = 23;\n break;\n }\n\n _subjects.state.next({\n errors: {},\n isSubmitting: true\n });\n\n _context10.next = 21;\n return onValid(fieldValues, e);\n\n case 21:\n _context10.next = 28;\n break;\n\n case 23:\n _context10.t0 = onInvalid;\n\n if (!_context10.t0) {\n _context10.next = 27;\n break;\n }\n\n _context10.next = 27;\n return onInvalid(_formState.errors, e);\n\n case 27:\n _options.shouldFocusError && focusFieldBy(_fields, function (key) {\n return get(_formState.errors, key);\n }, _names.mount);\n\n case 28:\n _context10.next = 34;\n break;\n\n case 30:\n _context10.prev = 30;\n _context10.t1 = _context10[\"catch\"](4);\n hasNoPromiseError = false;\n throw _context10.t1;\n\n case 34:\n _context10.prev = 34;\n _formState.isSubmitted = true;\n\n _subjects.state.next({\n isSubmitted: true,\n isSubmitting: false,\n isSubmitSuccessful: isEmptyObject(_formState.errors) && hasNoPromiseError,\n submitCount: _formState.submitCount + 1,\n errors: _formState.errors\n });\n\n return _context10.finish(34);\n\n case 38:\n case \"end\":\n return _context10.stop();\n }\n }\n }, _callee10, null, [[4, 30, 34, 38]]);\n }));\n\n return function (_x19) {\n return _ref21.apply(this, arguments);\n };\n }();\n };\n\n var resetField = function resetField(name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (isUndefined(options.defaultValue)) {\n setValue(name, get(_defaultValues, name));\n } else {\n setValue(name, options.defaultValue);\n set(_defaultValues, name, options.defaultValue);\n }\n\n if (!options.keepTouched) {\n unset(_formState.touchedFields, name);\n }\n\n if (!options.keepDirty) {\n unset(_formState.dirtyFields, name);\n _formState.isDirty = options.defaultValue ? _getDirty(name, get(_defaultValues, name)) : _getDirty();\n }\n\n if (!options.keepError) {\n unset(_formState.errors, name);\n _proxyFormState.isValid && _updateValid();\n }\n\n _subjects.state.next(Object.assign({}, _formState));\n };\n\n var reset = function reset(formValues) {\n var keepStateOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var updatedValues = formValues || _defaultValues;\n var cloneUpdatedValues = cloneObject(updatedValues);\n var values = !isEmptyObject(formValues) ? cloneUpdatedValues : _defaultValues;\n\n if (!keepStateOptions.keepDefaultValues) {\n _defaultValues = updatedValues;\n }\n\n if (!keepStateOptions.keepValues) {\n if (isWeb) {\n var _iterator8 = _createForOfIteratorHelper(_names.mount),\n _step8;\n\n try {\n for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {\n var _name5 = _step8.value;\n var field = get(_fields, _name5);\n\n if (field && field._f) {\n var fieldReference = Array.isArray(field._f.refs) ? field._f.refs[0] : field._f.ref;\n\n try {\n isHTMLElement(fieldReference) && fieldReference.closest('form').reset();\n break;\n } catch (_a) {}\n }\n }\n } catch (err) {\n _iterator8.e(err);\n } finally {\n _iterator8.f();\n }\n }\n\n _formValues = props.shouldUnregister ? keepStateOptions.keepDefaultValues ? cloneObject(_defaultValues) : {} : cloneUpdatedValues;\n _fields = {};\n\n _subjects.watch.next({\n values: values\n });\n\n _subjects.array.next({\n values: values\n });\n }\n\n _names = {\n mount: new Set(),\n unMount: new Set(),\n array: new Set(),\n watch: new Set(),\n watchAll: false,\n focus: ''\n };\n\n _subjects.state.next({\n submitCount: keepStateOptions.keepSubmitCount ? _formState.submitCount : 0,\n isDirty: keepStateOptions.keepDirty ? _formState.isDirty : keepStateOptions.keepDefaultValues ? !deepEqual(formValues, _defaultValues) : false,\n isSubmitted: keepStateOptions.keepIsSubmitted ? _formState.isSubmitted : false,\n dirtyFields: keepStateOptions.keepDirty ? _formState.dirtyFields : keepStateOptions.keepDefaultValues && formValues ? Object.entries(formValues).reduce(function (previous, _ref22) {\n var _ref23 = _slicedToArray(_ref22, 2),\n key = _ref23[0],\n value = _ref23[1];\n\n return Object.assign(Object.assign({}, previous), _defineProperty({}, key, value !== get(_defaultValues, key)));\n }, {}) : {},\n touchedFields: keepStateOptions.keepTouched ? _formState.touchedFields : {},\n errors: keepStateOptions.keepErrors ? _formState.errors : {},\n isSubmitting: false,\n isSubmitSuccessful: false\n });\n\n _stateFlags.mount = !_proxyFormState.isValid || !!keepStateOptions.keepIsValid;\n _stateFlags.watch = !!props.shouldUnregister;\n };\n\n var setFocus = function setFocus(name) {\n var field = get(_fields, name)._f;\n\n (field.ref.focus ? field.ref : field.refs[0]).focus();\n };\n\n return {\n control: {\n register: register,\n unregister: unregister,\n _executeSchema: _executeSchema,\n _getWatch: _getWatch,\n _getDirty: _getDirty,\n _updateValid: _updateValid,\n _removeUnmounted: _removeUnmounted,\n _updateFieldArray: _updateFieldArray,\n _getFieldArray: _getFieldArray,\n _subjects: _subjects,\n _proxyFormState: _proxyFormState,\n\n get _fields() {\n return _fields;\n },\n\n set _fields(value) {\n _fields = value;\n },\n\n get _formValues() {\n return _formValues;\n },\n\n set _formValues(value) {\n _formValues = value;\n },\n\n get _stateFlags() {\n return _stateFlags;\n },\n\n set _stateFlags(value) {\n _stateFlags = value;\n },\n\n get _defaultValues() {\n return _defaultValues;\n },\n\n set _defaultValues(value) {\n _defaultValues = value;\n },\n\n get _names() {\n return _names;\n },\n\n set _names(value) {\n _names = value;\n },\n\n get _formState() {\n return _formState;\n },\n\n set _formState(value) {\n _formState = value;\n },\n\n get _options() {\n return _options;\n },\n\n set _options(value) {\n _options = Object.assign(Object.assign({}, _options), value);\n }\n\n },\n trigger: trigger,\n register: register,\n handleSubmit: handleSubmit,\n watch: watch,\n setValue: setValue,\n getValues: getValues,\n reset: reset,\n resetField: resetField,\n clearErrors: clearErrors,\n unregister: unregister,\n setError: setError,\n setFocus: setFocus\n };\n}\n\nfunction useForm() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _formControl = React.useRef();\n\n var _React$useState7 = React.useState({\n isDirty: false,\n isValidating: false,\n dirtyFields: {},\n isSubmitted: false,\n submitCount: 0,\n touchedFields: {},\n isSubmitting: false,\n isSubmitSuccessful: false,\n isValid: false,\n errors: {}\n }),\n _React$useState8 = _slicedToArray(_React$useState7, 2),\n formState = _React$useState8[0],\n updateFormState = _React$useState8[1];\n\n if (_formControl.current) {\n _formControl.current.control._options = props;\n } else {\n _formControl.current = Object.assign(Object.assign({}, createFormControl(props)), {\n formState: formState\n });\n }\n\n var control = _formControl.current.control;\n useSubscribe({\n subject: control._subjects.state,\n callback: function callback(value) {\n if (shouldRenderFormState(value, control._proxyFormState, true)) {\n control._formState = Object.assign(Object.assign({}, control._formState), value);\n updateFormState(Object.assign({}, control._formState));\n }\n }\n });\n React.useEffect(function () {\n if (!control._stateFlags.mount) {\n control._proxyFormState.isValid && control._updateValid();\n control._stateFlags.mount = true;\n }\n\n if (control._stateFlags.watch) {\n control._stateFlags.watch = false;\n\n control._subjects.state.next({});\n }\n\n control._removeUnmounted();\n });\n _formControl.current.formState = getProxyFormState(formState, control._proxyFormState);\n return _formControl.current;\n}\n\nexport { Controller, FormProvider, appendErrors, get, set, useController, useFieldArray, useForm, useFormContext, useFormState, useWatch };","import React from 'react'\nimport LBModal from '../../modules/LBModal.js'\nimport Portal from '../../modules/Portal/Portal'\n\ntype LoaderProps = {\n visible: boolean\n children?: string\n}\n\nconst Loader = ({ visible, children = 'Loading...' }: LoaderProps) => {\n return (\n \n {/* @ts-ignore */}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n {children}\n \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Loader\n","import { useRef, useState } from 'react'\nimport lb_fetch from '../helpers/Request'\n\n// type StatusResponse = \"INITIAL\" | \"LOADING\" | \"SUCCESS\" | \"ERROR\"\n\nconst useFetch = (\n url,\n { method = 'post', body = {}, extractData = false, ...options } = {},\n) => {\n const controller = useRef()\n const [status, setStatus] = useState('INITIAL')\n const [data, setData] = useState(null)\n const [error, setError] = useState(null)\n\n const reset = () => {\n setStatus('LOADING')\n setData(null)\n setError(null)\n }\n\n const buildUrl = (_body = body) => {\n if (method !== 'get') {\n return url\n }\n try {\n const urlWithParams = new URL(url)\n Object.entries(_body).forEach(([key, value]) => {\n urlWithParams.searchParams.append(key, value)\n })\n return urlWithParams.href\n } catch (error) {\n return url\n }\n }\n\n const lbFetch = async (additionalBody) => {\n const signal = controller.current.signal\n options.method = method\n const _body = { ...body, ...additionalBody }\n if (method === 'get') {\n delete options.body\n } else {\n options.body = _body\n }\n\n return await lb_fetch(buildUrl(_body), {\n handleErrors: true,\n ignoreAbortErrors: true,\n signal,\n ...options,\n })\n }\n\n const fetchData = async (\n body = {},\n { silentLoading = false, abortPendingRequest = false } = {},\n ) => {\n if (abortPendingRequest) {\n controller.current?.abort()\n }\n\n if (!silentLoading) {\n reset()\n }\n\n controller.current = new AbortController()\n\n const { data: raw_data, error } = await lbFetch(body)\n\n const { data: extracted_data } = raw_data || {}\n\n const data = extractData ? extracted_data : raw_data\n\n setData(data)\n if (error) {\n setError(error)\n setStatus('ERROR')\n } else {\n setStatus('SUCCESS')\n }\n\n return data\n }\n\n return { status, data, error, fetch: fetchData }\n}\n\nexport default useFetch\n","export const RESEND_TIMEOUT = Object.freeze({\n 1: 30,\n 2: 40,\n 3: 60,\n 4: 90,\n 5: 120,\n})\n","import { createContext, useContext } from \"react\"\nimport { OTPContextState } from \"./OTPProvider\"\n\nexport const OTPContext = createContext({} as OTPContextState)\n\nexport const useOTPContext = () => useContext(OTPContext)\n","import moment from 'moment'\nimport React, { useCallback, useMemo, useState } from 'react'\nimport useFetch from '../../../hooks/useFetch'\nimport { RESEND_TIMEOUT } from './RESEND_TIMEOUT'\nimport { GenerateOTPResponse } from './types'\nimport { OTPContext } from './useOTPContext'\n\nexport type OTPContextState = {\n otp?: GenerateOTPResponse | null\n retryDatetime?: string\n loading: boolean\n generateOTP(phone: string): Promise>\n}\n\nconst OTPProvider = ({ children }) => {\n const [otp, setOtp] = useState | null>(null)\n const [loading, setLoading] = useState(false)\n const { fetch: fetchGenerateOtp } = useFetch('/auth/otp')\n\n const generateOTP = useCallback(async (phone: string) => {\n setOtp(null)\n setLoading(true)\n\n const body = (await fetchGenerateOtp({ phone }, {\n abortPendingRequest: true,\n })) as GenerateOTPResponse\n\n setLoading(false)\n\n if (!body) throw new Error('Something went wrong, please try again.')\n\n if (!body.success) {\n throw new Error(body.message, { cause: ('server' as unknown) as Error })\n }\n\n const { message } = body\n\n if (!message.expiry || !message.attempt_count) {\n throw new Error('Something went wrong, please try again.')\n }\n\n setOtp(body)\n\n return body\n }, [])\n\n const retryDatetime = useMemo(() => {\n if (!otp || otp?.message.attempt_count === 5) return\n\n return moment().add(RESEND_TIMEOUT[otp?.message.attempt_count], 'seconds').toISOString()\n }, [otp])\n\n return (\n \n {children}\n \n )\n}\n\nexport default OTPProvider\n","import React, { ComponentPropsWithoutRef } from 'react'\n\ntype PrependProps = {\n children?: React.ReactNode\n}\n\nconst Prepend = ({ children, ...props }: PrependProps & Omit, keyof PrependProps>) => {\n if (!children) return null\n\n return (\n
    \n {children}\n
    \n )\n}\n\nexport default Prepend\n","import React, { ComponentPropsWithoutRef, forwardRef } from 'react'\nimport classNames from '../../../../helpers/classNames'\nimport Prepend from './Prepend'\n\ntype InputVariants = 'standard' | 'outlined'\n\ntype FontSize = 'lg' | '3xl'\n\ntype InputProps = {\n prepend?: React.ReactNode\n error?: boolean\n variant?: InputVariants\n size?: FontSize\n wrapper?: boolean\n}\n\nconst VARIANT_CLASSES: Partial> = {\n standard: 'border-0 border-b-2',\n outlined: 'border border-gray-300 rounded',\n}\n\nconst TEXT_SIZE_CLASSES: Record = {\n lg: 'text-lg',\n '3xl': 'text-3xl',\n}\n\nconst Input = forwardRef(\n ({\n prepend,\n error = false,\n variant = 'standard',\n size = 'lg',\n wrapper = true,\n ...props\n }: InputProps & Omit, keyof InputProps>,\n ref: React.Ref\n ) => {\n const input = (\n \n )\n\n if (!wrapper) {\n return input\n }\n\n return (\n
    \n {prepend}\n\n {input}\n
    \n )\n }\n)\n\nInput.displayName = 'Input'\n\nexport default Input\n","import React, { ComponentPropsWithoutRef } from 'react'\n\ntype LabelProps = {\n children: string\n}\n\nconst Label = ({ children, ...props }: LabelProps & Omit, keyof LabelProps>) => {\n return \n}\n\nexport default Label\n","import React from 'react'\nimport Input from './Input'\nimport Label from './Label'\n\ntype InputGroupProps = {\n children: React.ReactNode\n}\n\nconst InputGroup = ({\n children,\n ...props\n}: InputGroupProps) => {\n return
    {children}
    \n}\n\nexport default Object.assign(InputGroup, { Input, Label })\n","import React, { ComponentPropsWithoutRef } from 'react'\nimport classNames from '../../../helpers/classNames'\n\nconst VARIANTS = Object.freeze({\n text: 'font-inter text-primary font-normal inline-block hover:text-primary-300 focus:outline-none focus:text-primary-600 text-sm disabled:text-disabled disabled:cursor-default',\n button: 'font-inter bg-primary text-white hover:bg-primary-300 focus:bg-primary-600 focus:ring-4 focus:ring-blue-300 font-medium rounded-md text-sm px-4 py-3 mb-2 flex items-center justify-center gap-2 text-center focus:outline-none w-2/3 disabled:bg-disabled-600 disabled:cursor-default',\n})\n\ntype ButtonProps = {\n variant?: Variant\n children: React.ReactNode\n} & (Variant extends 'button' ? { loading?: boolean } : { loading?: never })\n\nconst Button = ({\n variant = 'button' as Variant,\n loading,\n children,\n ...rest\n}: ButtonProps & ComponentPropsWithoutRef<'button'>) => {\n const spinnerIcon = (\n \n \n \n )\n\n return (\n \n {loading && spinnerIcon}\n {children}\n \n )\n}\n\nexport default Button\n","import React, { FocusEventHandler, MouseEventHandler } from 'react'\nimport classNames from '../../../../helpers/classNames'\nimport Button from '../../Button'\nimport { Forms } from '../forms'\n\ntype ChangeLoginMethodLinkProps = {\n disabled: boolean\n form: Forms\n handleLoginMethodChange: MouseEventHandler & FocusEventHandler\n}\n\nconst ChangeLoginMethodLink = ({ disabled, form, handleLoginMethodChange }: ChangeLoginMethodLinkProps) => {\n const isOTPForm = form === Forms.OTP\n const isEmailForm = form === Forms.Email\n\n return (\n
    \n \n {!isEmailForm ? 'Log In with Email & Password' : 'Log In with Phone Number'}\n \n
    \n )\n}\n\nexport default ChangeLoginMethodLink\n","import React, { FocusEventHandler, MouseEventHandler } from 'react'\nimport Button from '../../Button'\nimport { Forms } from '../forms'\n\ntype LogInButtonProps = {\n loading: boolean\n disabled: boolean\n form: Forms\n handleGenerateOtp?: MouseEventHandler & FocusEventHandler\n}\n\nconst LogInButton = ({ loading, disabled, form, handleGenerateOtp }: LogInButtonProps) => {\n const isPhoneForm = form === Forms.Phone\n\n return (\n
    \n \n {loading ? 'Logging In...' : 'Log In'}\n \n
    \n )\n}\n\nexport default LogInButton\n","import React, { Children } from 'react'\n\ntype ErrorMessageProps = {\n children: string\n}\n\nconst ErrorMessage = ({ children }: ErrorMessageProps) => {\n const formattedMessage = children.split('\\n').map((part) => (\n <>\n {part}\n
    \n \n ))\n\n return (\n \n {Children.toArray(formattedMessage)}\n

    \n )\n}\n\nexport default ErrorMessage\n","import React from \"react\"\nimport { useFormState } from \"react-hook-form\"\nimport { LoginFormValues } from \"../../../hooks/useLoginForm\"\nimport ErrorMessage from \"./ErrorMessage\"\n\nconst Errors = () => {\n const { errors } = useFormState()\n const hasErrors = !!Object.keys(errors).length\n\n const renderErrors = () => {\n if (!hasErrors) return null\n\n const error = Object.values(errors).flatMap(Object.values)?.pop()\n\n if (!error || !error?.message.trim()) return null\n\n return (\n {error.message}\n )\n }\n\n if (!hasErrors || !renderErrors()) return null\n\n return (\n
    {renderErrors()}
    \n )\n}\n\nexport default Errors\n","export type FormsProps = {\n form: Forms\n isOtpLoading: boolean\n handleGenerateOtp: () => void\n handleLoginMethodChange: () => void\n}\n\nexport const Forms = Object.freeze({\n Phone: 'phone',\n Email: 'email',\n OTP: 'otp',\n} as const)\n\nexport type Forms = typeof Forms[keyof typeof Forms]\n","import React from 'react'\nimport Button from '../../../../Button'\n\ntype ForgotPasswordLinkProps = {\n disabled: boolean\n}\n\nconst ForgotPasswordLink = ({ disabled }: ForgotPasswordLinkProps) => {\n return (\n
    \n \n \n Forgot Your Password?\n \n \n
    \n )\n}\n\nexport default ForgotPasswordLink\n","import React from 'react'\nimport { useFormContext } from 'react-hook-form'\nimport InputGroup from \"../../../InputGroup\"\nimport { LoginFormValues } from '../../../hooks/useLoginForm'\nimport ChangeLoginMethodLink from '../../ChangeLoginMethodLink'\nimport LogInButton from '../../LogInButton'\nimport Errors from '../Errors'\nimport { Forms, FormsProps } from '../forms'\nimport ForgotPasswordLink from './ForgotPasswordLink'\n\nconst EmailForm = ({\n form,\n handleGenerateOtp,\n isOtpLoading,\n handleLoginMethodChange\n}: FormsProps) => {\n const {\n register,\n formState: {\n errors,\n isDirty,\n isValidating,\n isValid,\n isSubmitting,\n isSubmitSuccessful\n }\n } = useFormContext()\n const isPhoneForm = form === Forms.Phone\n const hasError = !!errors[Forms.Email]?.email\n const isSubmitDisabled = !isDirty || isValidating || !isValid || isSubmitting || isSubmitSuccessful || isOtpLoading\n const isForgotPasswordDisabled = isSubmitting || isSubmitSuccessful\n\n return (\n <>\n \n\n \n Email\n \n \n\n \n Password\n \n \n\n \n\n \n\n \n \n )\n}\n\nexport default EmailForm\n","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport React from 'react';\n\nvar isStyleObject = function isStyleObject(obj) {\n return _typeof(obj) === 'object' && obj !== null;\n};\n\nvar OTPInput = function OTPInput(_a) {\n var _b = _a.value,\n value = _b === void 0 ? '' : _b,\n _c = _a.numInputs,\n numInputs = _c === void 0 ? 4 : _c,\n onChange = _a.onChange,\n renderInput = _a.renderInput,\n _d = _a.shouldAutoFocus,\n shouldAutoFocus = _d === void 0 ? false : _d,\n _e = _a.inputType,\n inputType = _e === void 0 ? 'text' : _e,\n renderSeparator = _a.renderSeparator,\n placeholder = _a.placeholder,\n containerStyle = _a.containerStyle,\n inputStyle = _a.inputStyle;\n\n var _f = React.useState(0),\n activeInput = _f[0],\n setActiveInput = _f[1];\n\n var inputRefs = React.useRef([]);\n\n var getOTPValue = function getOTPValue() {\n return value ? value.toString().split('') : [];\n };\n\n var isInputNum = inputType === 'number' || inputType === 'tel';\n React.useEffect(function () {\n inputRefs.current = inputRefs.current.slice(0, numInputs);\n }, [numInputs]);\n React.useEffect(function () {\n var _a;\n\n if (shouldAutoFocus) {\n (_a = inputRefs.current[0]) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }, [shouldAutoFocus]);\n\n var getPlaceholderValue = function getPlaceholderValue() {\n if (typeof placeholder === 'string') {\n if (placeholder.length === numInputs) {\n return placeholder;\n }\n\n if (placeholder.length > 0) {\n console.error('Length of the placeholder should be equal to the number of inputs.');\n }\n }\n\n return undefined;\n };\n\n var isInputValueValid = function isInputValueValid(value) {\n var isTypeValid = isInputNum ? !isNaN(Number(value)) : typeof value === 'string';\n return isTypeValid && value.trim().length === 1;\n };\n\n var handleChange = function handleChange(event) {\n var value = event.target.value;\n\n if (isInputValueValid(value)) {\n changeCodeAtFocus(value);\n focusInput(activeInput + 1);\n }\n };\n\n var handleInputChange = function handleInputChange(event) {\n var nativeEvent = event.nativeEvent;\n\n if (!isInputValueValid(event.target.value)) {\n // @ts-expect-error - This was added previosly to handle and edge case\n // for dealing with keyCode \"229 Unidentified\" on Android. Check if this is\n // still needed.\n if (nativeEvent.data === null && nativeEvent.inputType === 'deleteContentBackward') {\n event.preventDefault();\n changeCodeAtFocus('');\n focusInput(activeInput - 1);\n } // Clear the input if it's not valid value because firefox allows\n // pasting non-numeric characters in a number type input\n\n\n event.target.value = '';\n }\n };\n\n var handleFocus = function handleFocus(event) {\n return function (index) {\n setActiveInput(index);\n event.target.select();\n };\n };\n\n var handleBlur = function handleBlur() {\n setActiveInput(activeInput - 1);\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n var otp = getOTPValue();\n\n if ([event.code, event.key].includes('Backspace')) {\n event.preventDefault();\n changeCodeAtFocus('');\n focusInput(activeInput - 1);\n } else if (event.code === 'Delete') {\n event.preventDefault();\n changeCodeAtFocus('');\n } else if (event.code === 'ArrowLeft') {\n event.preventDefault();\n focusInput(activeInput - 1);\n } else if (event.code === 'ArrowRight') {\n event.preventDefault();\n focusInput(activeInput + 1);\n } // React does not trigger onChange when the same value is entered\n // again. So we need to focus the next input manually in this case.\n else if (event.key === otp[activeInput]) {\n event.preventDefault();\n focusInput(activeInput + 1);\n } else if (event.code === 'Spacebar' || event.code === 'Space' || event.code === 'ArrowUp' || event.code === 'ArrowDown') {\n event.preventDefault();\n }\n };\n\n var focusInput = function focusInput(index) {\n var _a, _b;\n\n var activeInput = Math.max(Math.min(numInputs - 1, index), 0);\n\n if (inputRefs.current[activeInput]) {\n (_a = inputRefs.current[activeInput]) === null || _a === void 0 ? void 0 : _a.focus();\n (_b = inputRefs.current[activeInput]) === null || _b === void 0 ? void 0 : _b.select();\n setActiveInput(activeInput);\n }\n };\n\n var changeCodeAtFocus = function changeCodeAtFocus(value) {\n var otp = getOTPValue();\n otp[activeInput] = value[0];\n handleOTPChange(otp);\n };\n\n var handleOTPChange = function handleOTPChange(otp) {\n var otpValue = otp.join('');\n onChange(otpValue);\n };\n\n var handlePaste = function handlePaste(event) {\n var _a;\n\n event.preventDefault();\n var otp = getOTPValue();\n var nextActiveInput = activeInput; // Get pastedData in an array of max size (num of inputs - current position)\n\n var pastedData = event.clipboardData.getData('text/plain').slice(0, numInputs - activeInput).split(''); // Prevent pasting if the clipboard data contains non-numeric values for number inputs\n\n if (isInputNum && pastedData.some(function (value) {\n return isNaN(Number(value));\n })) {\n return;\n } // Paste data from focused input onwards\n\n\n for (var pos = 0; pos < numInputs; ++pos) {\n if (pos >= activeInput && pastedData.length > 0) {\n otp[pos] = (_a = pastedData.shift()) !== null && _a !== void 0 ? _a : '';\n nextActiveInput++;\n }\n }\n\n focusInput(nextActiveInput);\n handleOTPChange(otp);\n };\n\n return React.createElement(\"div\", {\n style: Object.assign({\n display: 'flex',\n alignItems: 'center'\n }, isStyleObject(containerStyle) && containerStyle),\n className: typeof containerStyle === 'string' ? containerStyle : undefined\n }, Array.from({\n length: numInputs\n }, function (_, index) {\n return index;\n }).map(function (index) {\n var _a, _b, _c;\n\n return React.createElement(React.Fragment, {\n key: index\n }, renderInput({\n value: (_a = getOTPValue()[index]) !== null && _a !== void 0 ? _a : '',\n placeholder: (_c = (_b = getPlaceholderValue()) === null || _b === void 0 ? void 0 : _b[index]) !== null && _c !== void 0 ? _c : undefined,\n ref: function ref(element) {\n return inputRefs.current[index] = element;\n },\n onChange: handleChange,\n onFocus: function onFocus(event) {\n return handleFocus(event)(index);\n },\n onBlur: handleBlur,\n onKeyDown: handleKeyDown,\n onPaste: handlePaste,\n autoComplete: 'off',\n maxLength: 1,\n 'aria-label': \"Please enter OTP character \".concat(index + 1),\n style: Object.assign({\n width: '1em',\n textAlign: 'center'\n }, isStyleObject(inputStyle) && inputStyle),\n className: typeof inputStyle === 'string' ? inputStyle : undefined,\n type: inputType,\n inputMode: isInputNum ? 'numeric' : 'text',\n onInput: handleInputChange\n }, index), index < numInputs - 1 && (typeof renderSeparator === 'function' ? renderSeparator(index) : renderSeparator));\n }));\n};\n\nexport { OTPInput as default };","import { useEffect, useLayoutEffect, useRef } from 'react'\n\n// This custom hook lets us repeat code given an interval\n// Source is pulled form Dan Abramov's blog:\n// https://overreacted.io/making-setinterval-declarative-with-react-hooks/\n\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback)\n\n // Remember the latest callback if it changes.\n useLayoutEffect(() => {\n savedCallback.current = callback\n }, [callback])\n\n // Set up the interval.\n useEffect(() => {\n // Don't schedule if no delay is specified.\n // Note: 0 is a valid value for delay.\n if (!delay && delay !== 0) {\n return\n }\n\n const id = setInterval(() => savedCallback.current(), delay)\n\n return () => clearInterval(id)\n }, [delay])\n}\n\nexport default useInterval\n","import moment from \"moment\"\nimport { useState } from \"react\"\nimport useInterval from \"./useInterval\"\n\nfunction useCountdownUntil(expiresAt: string | null, unitOfTime: moment.unitOfTime.Diff) {\n const [secondsUntil, setSecondsUntil] = useState()\n const delay = (expiresAt && moment(expiresAt).isAfter(moment())) ? 0 : (!!secondsUntil ? 1000 : null)\n\n useInterval(() => {\n const secondsUntil = moment(expiresAt).diff(moment(), unitOfTime)\n\n setSecondsUntil(secondsUntil)\n }, delay)\n\n return secondsUntil\n}\n\nexport default useCountdownUntil\n","import React, { FocusEventHandler, MouseEventHandler } from 'react'\nimport useCountdownUntil from '../../../../../../hooks/useCountdownUntil'\nimport Button from '../../../../Button'\nimport { useOTPContext } from '../../../../OTPProvider'\n\ntype ResendOTPButtonProps = {\n disabled: boolean\n handleGenerateOtp: MouseEventHandler & FocusEventHandler\n}\n\nconst ResendOTPButton = ({ disabled, handleGenerateOtp }: ResendOTPButtonProps) => {\n const { otp, retryDatetime, loading } = useOTPContext()\n const secondsUntilRetry = useCountdownUntil(retryDatetime ?? null, 'seconds')\n const isFutureTime = retryDatetime && secondsUntilRetry! > 0\n const disableRetry = loading || isFutureTime || !otp\n const hideRetry = !secondsUntilRetry && !otp\n const isButtonDisabled = disabled || disableRetry\n const buttonText = !hideRetry ? (disableRetry ? `Resend Code in ${secondsUntilRetry}s` : 'Resend Code') : null\n\n return (\n
    \n \n {buttonText}\n \n
    \n )\n}\n\nexport default ResendOTPButton\n","import React, { KeyboardEventHandler, ReactNode, useEffect, useRef } from 'react'\nimport { useFormContext, useWatch } from 'react-hook-form'\nimport ReactOTPInput, { InputProps } from 'react-otp-input'\nimport InputGroup from \"../../../InputGroup\"\nimport Input from '../../../InputGroup/Input'\nimport { LoginFormValues } from '../../../hooks/useLoginForm'\nimport ChangeLoginMethodLink from '../../ChangeLoginMethodLink'\nimport Errors from '../Errors'\nimport { Forms, FormsProps } from '../forms'\nimport ResendOTPButton from './ResendOTPButton'\n\nconst OTPForm = ({\n form,\n handleGenerateOtp,\n handleLoginMethodChange,\n}: FormsProps) => {\n const firstOtpRef = useRef(null)\n const {\n register,\n setValue,\n formState: {\n isSubmitting,\n isSubmitSuccessful,\n errors,\n }\n } = useFormContext()\n const phone = useWatch>({\n name: `${Forms.Phone}.phone`,\n })\n const otp = useWatch>({\n name: `${Forms.OTP}.otp`,\n }) as string\n const lastFour = (phone as string)?.slice(-4)\n const hasError = !!errors[Forms.OTP]?.otp || !!(errors as any).root?.serverError\n const shouldShowErrorState = hasError && otp.length === 6\n const disableButtons = isSubmitting || isSubmitSuccessful\n\n useEffect(() => {\n if (!isSubmitting) return\n\n firstOtpRef.current?.focus()\n }, [isSubmitting])\n\n register(`${Forms.OTP}.otp`)\n\n const handleOnChange = (otp: string) => {\n setValue(`${Forms.OTP}.otp`, otp, {\n shouldDirty: true,\n shouldValidate: true,\n shouldTouch: true,\n })\n }\n\n const handleKeyUp: KeyboardEventHandler = (e) => {\n e.persist()\n\n const current = e.currentTarget\n\n let prev = current.previousElementSibling as HTMLInputElement | HTMLSpanElement | null\n let next = current.nextSibling as HTMLInputElement | HTMLSpanElement | null\n\n if (prev?.tagName === 'SPAN') {\n prev = prev.previousElementSibling as HTMLInputElement | null\n }\n\n if (next?.tagName === 'SPAN') {\n next = next.nextSibling as HTMLInputElement | null\n }\n\n if (e.key === \"ArrowLeft\") {\n const prevEl = prev as HTMLInputElement | null\n\n prevEl?.focus()\n prevEl?.setSelectionRange(0, 1)\n\n return\n }\n\n if (e.key === \"ArrowRight\") {\n const nextEl = next as HTMLInputElement | null\n\n nextEl?.focus()\n nextEl?.setSelectionRange(0, 1)\n\n return\n }\n }\n\n return (\n <>\n
    \n

    \n For your account safety, we sent you a security code to verify your identity.\n

    \n\n

    \n *Message and data may apply\n

    \n
    \n\n \n\n \n (\n index === 2 ? - : null\n )}\n renderInput={({\n className, // don't need\n style, // don't need\n ref,\n ...rest\n }: InputProps, index): ReactNode => {\n return (\n {\n ref(node)\n\n if (index === 0) {\n firstOtpRef.current = node\n }\n }}\n />\n )\n }}\n />\n \n\n
    \n

    Please enter the security code we just sent to XXX-XXX-{lastFour}

    \n
    \n\n \n\n \n \n )\n}\n\nexport default OTPForm\n","import React, { useEffect } from 'react'\nimport { useFormContext, useWatch } from 'react-hook-form'\nimport InputGroup from \"../../../InputGroup\"\nimport { LoginFormValues } from '../../../hooks/useLoginForm'\nimport ChangeLoginMethodLink from '../../ChangeLoginMethodLink'\nimport LogInButton from '../../LogInButton'\nimport Errors from '../Errors'\nimport { Forms, FormsProps } from '../forms'\n\nconst PhoneNumberForm = ({\n form,\n isOtpLoading,\n handleGenerateOtp,\n handleLoginMethodChange,\n}: FormsProps) => {\n const {\n register,\n trigger,\n setValue,\n formState: {\n isDirty,\n isValid,\n isSubmitting,\n isSubmitSuccessful,\n errors,\n }\n } = useFormContext()\n const phone = useWatch>({\n name: `${Forms.Phone}.phone`,\n }) as string\n const hasError = !!errors[Forms.Phone]?.phone\n const isPhoneForm = form === Forms.Phone\n const isSubmitDisabled = !isDirty || !isValid || isOtpLoading\n const isLoading = isSubmitting || isSubmitSuccessful || isOtpLoading\n\n useEffect(() => {\n if (!phone) return\n\n // @ts-ignore\n const unformattedPhoneNumber = Common.unformat_phone_number(phone)\n\n if (unformattedPhoneNumber.length === 10) {\n // @ts-ignore\n setValue(`${Forms.Phone}.phone`, Common.format_phone_number(phone), { shouldValidate: true })\n return\n }\n\n setValue(`${Forms.Phone}.phone`, unformattedPhoneNumber, { shouldValidate: true })\n }, [phone, setValue])\n\n const onSubmit = async () => {\n const isValid = await trigger()\n\n if (!isValid) return\n\n return handleGenerateOtp()\n }\n\n return (\n <>\n \n\n \n Phone Number\n \n \n\n \n\n \n \n )\n}\n\nexport default PhoneNumberForm\n","import EmailForm from './EmailForm'\nimport OTPForm from './OTPForm'\nimport PhoneNumberForm from './PhoneNumberForm'\nimport { Forms } from './forms'\n\nexport default Object.freeze({\n [Forms.Phone]: PhoneNumberForm,\n [Forms.Email]: EmailForm,\n [Forms.OTP]: OTPForm,\n})\n\nexport * from './forms'\n","import React from 'react'\nimport { Forms } from '../forms'\n\nconst HEADER_TEXT = Object.freeze({\n [Forms.OTP]: 'Check Your Phone',\n Default: 'Log In'\n})\n\ntype HeaderProps = {\n form: Forms\n}\n\nconst Header = ({ form }: HeaderProps) => {\n return (\n

    \n {HEADER_TEXT[form] || HEADER_TEXT.Default}\n

    \n )\n}\n\nexport default Header\n","import React, { KeyboardEventHandler, useCallback, useEffect, useMemo } from 'react'\nimport { useFormContext, useWatch } from 'react-hook-form'\nimport useLbFetch from '../../../hooks/useLbFetch'\nimport Loader from '../Loader'\nimport { useOTPContext } from '../OTPProvider'\nimport { LoginFormValues } from '../hooks/useLoginForm'\nimport Header from './Header'\nimport FORM_COMPONENTS, { Forms } from './forms'\nimport { LoginResponse } from './types'\n\ntype FormContainerProps = {\n form: Forms\n setForm(form?: Forms): () => void\n}\n\nconst FormContainer = ({ form, setForm }: FormContainerProps) => {\n const {\n handleSubmit,\n setError,\n clearErrors,\n getValues,\n resetField,\n reset,\n formState: {\n isValidating,\n isValid,\n isDirty,\n isSubmitSuccessful,\n isSubmitting,\n }\n } = useFormContext()\n const { generateOTP, loading: isOtpLoading } = useOTPContext()\n const { fetch: login } = useLbFetch('/login')\n const otp = useWatch>({\n name: `${Forms.OTP}.otp`,\n }) as string\n const disableSubmit = !isDirty || isValidating || !isValid || isSubmitting || isSubmitSuccessful || isOtpLoading\n const isPhoneForm = form === Forms.Phone\n const isOTPForm = form === Forms.OTP\n const isEmailForm = form === Forms.Email\n const shouldShowLoader = isSubmitting || isSubmitSuccessful\n\n useEffect(() => {\n // resets the form state when switching forms\n reset(undefined, { keepValues: true })\n }, [reset, form])\n\n useEffect(() => {\n if (isValid || !isValidating) return\n\n clearErrors('root.serverError')\n }, [isValid, isValidating, clearErrors])\n\n const onSubmit = useCallback(async (values: LoginFormValues) => {\n try {\n // get values for phone here because values get cleared on form switch\n const phone = getValues(`${Forms.Phone}.phone`)\n const email = isEmailForm ? values[form]?.email.toLowerCase() : undefined\n\n const body = await login(isEmailForm ? {\n ...values[form],\n email,\n } : {\n // @ts-ignore\n phone: Common.unformat_phone_number(phone),\n ...values[form],\n })\n\n const res = ((await body.json()) || {}) as LoginResponse\n\n if (!res.success && isOTPForm) {\n resetField(`${Forms.OTP}.otp`)\n }\n\n if (!res.success) {\n setError('root.serverError', {\n type: 'server',\n message: res.error || 'Something went wrong, please try again.'\n })\n\n // @ts-ignore\n analytics.track('User Portal - Login - Failed - Login Form', {\n error: res.error,\n phone,\n email: values[Forms.Email]?.email,\n })\n\n return false\n }\n\n // @ts-ignore\n analytics.track('User Portal - Login - Success - Login Form', {\n redirect_to: res?.redirect_to || '/',\n phone,\n email: values[Forms.Email]?.email,\n })\n\n window.location.href = res.redirect_to || '/'\n\n return true\n } catch (e) {\n const phone = getValues(`${Forms.Phone}.phone`)\n\n if (isOTPForm) {\n resetField(`${Forms.OTP}.otp`)\n }\n\n setError('root.serverError', {\n type: 'server',\n message: 'Something went wrong, please try again.'\n })\n\n // @ts-ignore\n analytics.track('User Portal - Login - Failed - Login Form', {\n error: e.message || 'Something went wrong, please try again.',\n phone,\n email: values[Forms.Email]?.email,\n })\n\n return false\n }\n }, [form, getValues, isEmailForm, isOTPForm, login, setError, resetField])\n\n useEffect(() => {\n // handles submitting the form on OTP form when otp is entered\n if (!isOTPForm) return\n if (otp.length !== 6) return\n if (isSubmitting || isSubmitSuccessful || isValidating || !isValid) return\n\n handleSubmit(onSubmit)()\n }, [\n isOTPForm,\n otp,\n isSubmitting,\n isSubmitSuccessful,\n isValidating,\n isValid,\n handleSubmit,\n onSubmit\n ])\n\n const FormBody = useMemo(() => FORM_COMPONENTS[form], [form])\n\n const handleGenerateOtp = async () => {\n try {\n const phone = getValues(`${Forms.Phone}.phone`)\n\n resetField(`${Forms.OTP}.otp`)\n\n // @ts-ignore\n const unformattedPhone = Common.unformat_phone_number(getValues(`${Forms.Phone}.phone`))\n\n await generateOTP(unformattedPhone)\n\n // @ts-ignore\n analytics.track('User Portal - Login - Success - Send OTP', {\n phone,\n })\n\n setForm(Forms.OTP)()\n clearErrors()\n } catch (e) {\n const isServerError = e.cause === 'server'\n\n const phone = getValues(`${Forms.Phone}.phone`)\n\n const fallbackError = 'Something went wrong, please try again.'\n const errorMessage = isServerError ? (e.message || fallbackError) : fallbackError\n\n setError('root.serverError', {\n type: 'server',\n message: errorMessage,\n })\n\n // @ts-ignore\n analytics.track('User Portal - Login - Failed - Send OTP', {\n phone,\n error: errorMessage,\n })\n }\n }\n\n /**\n * Handles form submission on enter key press\n */\n const handleFormKeyPress: KeyboardEventHandler = (e) => {\n if (e.key !== 'Enter') return e\n if (isPhoneForm && disableSubmit) return e.preventDefault()\n if (isPhoneForm && !disableSubmit) {\n e.preventDefault()\n handleGenerateOtp()\n return\n }\n if (isOTPForm && !disableSubmit) {\n e.preventDefault()\n handleSubmit(onSubmit)(e)\n return\n }\n }\n\n const handleLoginMethodChange = setForm(isEmailForm ? Forms.Phone : Forms.Email)\n\n return (\n <>\n \n {isSubmitting ? 'Logging In...' : 'Logged In Successfully, Redirecting...'}\n \n\n \n
    \n\n \n \n \n )\n}\n\nexport default FormContainer\n","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar util;\n\n(function (util) {\n util.assertEqual = function (val) {\n return val;\n };\n\n function assertIs(_arg) {}\n\n util.assertIs = assertIs;\n\n function assertNever(_x) {\n throw new Error();\n }\n\n util.assertNever = assertNever;\n\n util.arrayToEnum = function (items) {\n var obj = {};\n\n var _iterator = _createForOfIteratorHelper(items),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n obj[item] = item;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return obj;\n };\n\n util.getValidEnumValues = function (obj) {\n var validKeys = util.objectKeys(obj).filter(function (k) {\n return typeof obj[obj[k]] !== \"number\";\n });\n var filtered = {};\n\n var _iterator2 = _createForOfIteratorHelper(validKeys),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var k = _step2.value;\n filtered[k] = obj[k];\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n return util.objectValues(filtered);\n };\n\n util.objectValues = function (obj) {\n return util.objectKeys(obj).map(function (e) {\n return obj[e];\n });\n };\n\n util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n ? function (obj) {\n return Object.keys(obj);\n } // eslint-disable-line ban/ban\n : function (object) {\n var keys = [];\n\n for (var key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n keys.push(key);\n }\n }\n\n return keys;\n };\n\n util.find = function (arr, checker) {\n var _iterator3 = _createForOfIteratorHelper(arr),\n _step3;\n\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var item = _step3.value;\n if (checker(item)) return item;\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n\n return undefined;\n };\n\n util.isInteger = typeof Number.isInteger === \"function\" ? function (val) {\n return Number.isInteger(val);\n } // eslint-disable-line ban/ban\n : function (val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n\n function joinValues(array) {\n var separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \" | \";\n return array.map(function (val) {\n return typeof val === \"string\" ? \"'\".concat(val, \"'\") : val;\n }).join(separator);\n }\n\n util.joinValues = joinValues;\n\n util.jsonStringifyReplacer = function (_, value) {\n if (typeof value === \"bigint\") {\n return value.toString();\n }\n\n return value;\n };\n})(util || (util = {}));\n\nvar ZodParsedType = util.arrayToEnum([\"string\", \"nan\", \"number\", \"integer\", \"float\", \"boolean\", \"date\", \"bigint\", \"symbol\", \"function\", \"undefined\", \"null\", \"array\", \"object\", \"unknown\", \"promise\", \"void\", \"never\", \"map\", \"set\"]);\n\nvar getParsedType = function getParsedType(data) {\n var t = _typeof(data);\n\n switch (t) {\n case \"undefined\":\n return ZodParsedType.undefined;\n\n case \"string\":\n return ZodParsedType.string;\n\n case \"number\":\n return isNaN(data) ? ZodParsedType.nan : ZodParsedType.number;\n\n case \"boolean\":\n return ZodParsedType.boolean;\n\n case \"function\":\n return ZodParsedType.function;\n\n case \"bigint\":\n return ZodParsedType.bigint;\n\n case \"symbol\":\n return ZodParsedType.symbol;\n\n case \"object\":\n if (Array.isArray(data)) {\n return ZodParsedType.array;\n }\n\n if (data === null) {\n return ZodParsedType.null;\n }\n\n if (data.then && typeof data.then === \"function\" && data.catch && typeof data.catch === \"function\") {\n return ZodParsedType.promise;\n }\n\n if (typeof Map !== \"undefined\" && data instanceof Map) {\n return ZodParsedType.map;\n }\n\n if (typeof Set !== \"undefined\" && data instanceof Set) {\n return ZodParsedType.set;\n }\n\n if (typeof Date !== \"undefined\" && data instanceof Date) {\n return ZodParsedType.date;\n }\n\n return ZodParsedType.object;\n\n default:\n return ZodParsedType.unknown;\n }\n};\n\nvar ZodIssueCode = util.arrayToEnum([\"invalid_type\", \"invalid_literal\", \"custom\", \"invalid_union\", \"invalid_union_discriminator\", \"invalid_enum_value\", \"unrecognized_keys\", \"invalid_arguments\", \"invalid_return_type\", \"invalid_date\", \"invalid_string\", \"too_small\", \"too_big\", \"invalid_intersection_types\", \"not_multiple_of\", \"not_finite\"]);\n\nvar quotelessJson = function quotelessJson(obj) {\n var json = JSON.stringify(obj, null, 2);\n return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\n\nvar ZodError = /*#__PURE__*/function (_Error) {\n _inherits(ZodError, _Error);\n\n var _super = _createSuper(ZodError);\n\n function ZodError(issues) {\n var _this;\n\n _classCallCheck(this, ZodError);\n\n _this = _super.call(this);\n _this.issues = [];\n\n _this.addIssue = function (sub) {\n _this.issues = [].concat(_toConsumableArray(_this.issues), [sub]);\n };\n\n _this.addIssues = function () {\n var subs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n _this.issues = [].concat(_toConsumableArray(_this.issues), _toConsumableArray(subs));\n };\n\n var actualProto = (this instanceof ZodError ? this.constructor : void 0).prototype;\n\n if (Object.setPrototypeOf) {\n // eslint-disable-next-line ban/ban\n Object.setPrototypeOf(_assertThisInitialized(_this), actualProto);\n } else {\n _this.__proto__ = actualProto;\n }\n\n _this.name = \"ZodError\";\n _this.issues = issues;\n return _this;\n }\n\n _createClass(ZodError, [{\n key: \"errors\",\n get: function get() {\n return this.issues;\n }\n }, {\n key: \"format\",\n value: function format(_mapper) {\n var mapper = _mapper || function (issue) {\n return issue.message;\n };\n\n var fieldErrors = {\n _errors: []\n };\n\n var processError = function processError(error) {\n var _iterator4 = _createForOfIteratorHelper(error.issues),\n _step4;\n\n try {\n for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n var issue = _step4.value;\n\n if (issue.code === \"invalid_union\") {\n issue.unionErrors.map(processError);\n } else if (issue.code === \"invalid_return_type\") {\n processError(issue.returnTypeError);\n } else if (issue.code === \"invalid_arguments\") {\n processError(issue.argumentsError);\n } else if (issue.path.length === 0) {\n fieldErrors._errors.push(mapper(issue));\n } else {\n var curr = fieldErrors;\n var i = 0;\n\n while (i < issue.path.length) {\n var el = issue.path[i];\n var terminal = i === issue.path.length - 1;\n\n if (!terminal) {\n curr[el] = curr[el] || {\n _errors: []\n }; // if (typeof el === \"string\") {\n // curr[el] = curr[el] || { _errors: [] };\n // } else if (typeof el === \"number\") {\n // const errorArray: any = [];\n // errorArray._errors = [];\n // curr[el] = curr[el] || errorArray;\n // }\n } else {\n curr[el] = curr[el] || {\n _errors: []\n };\n\n curr[el]._errors.push(mapper(issue));\n }\n\n curr = curr[el];\n i++;\n }\n }\n }\n } catch (err) {\n _iterator4.e(err);\n } finally {\n _iterator4.f();\n }\n };\n\n processError(this);\n return fieldErrors;\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return this.message;\n }\n }, {\n key: \"message\",\n get: function get() {\n return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);\n }\n }, {\n key: \"isEmpty\",\n get: function get() {\n return this.issues.length === 0;\n }\n }, {\n key: \"flatten\",\n value: function flatten() {\n var mapper = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function (issue) {\n return issue.message;\n };\n var fieldErrors = {};\n var formErrors = [];\n\n var _iterator5 = _createForOfIteratorHelper(this.issues),\n _step5;\n\n try {\n for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n var sub = _step5.value;\n\n if (sub.path.length > 0) {\n fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n fieldErrors[sub.path[0]].push(mapper(sub));\n } else {\n formErrors.push(mapper(sub));\n }\n }\n } catch (err) {\n _iterator5.e(err);\n } finally {\n _iterator5.f();\n }\n\n return {\n formErrors: formErrors,\n fieldErrors: fieldErrors\n };\n }\n }, {\n key: \"formErrors\",\n get: function get() {\n return this.flatten();\n }\n }]);\n\n return ZodError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n\nZodError.create = function (issues) {\n var error = new ZodError(issues);\n return error;\n};\n\nvar errorMap = function errorMap(issue, _ctx) {\n var message;\n\n switch (issue.code) {\n case ZodIssueCode.invalid_type:\n if (issue.received === ZodParsedType.undefined) {\n message = \"Required\";\n } else {\n message = \"Expected \".concat(issue.expected, \", received \").concat(issue.received);\n }\n\n break;\n\n case ZodIssueCode.invalid_literal:\n message = \"Invalid literal value, expected \".concat(JSON.stringify(issue.expected, util.jsonStringifyReplacer));\n break;\n\n case ZodIssueCode.unrecognized_keys:\n message = \"Unrecognized key(s) in object: \".concat(util.joinValues(issue.keys, \", \"));\n break;\n\n case ZodIssueCode.invalid_union:\n message = \"Invalid input\";\n break;\n\n case ZodIssueCode.invalid_union_discriminator:\n message = \"Invalid discriminator value. Expected \".concat(util.joinValues(issue.options));\n break;\n\n case ZodIssueCode.invalid_enum_value:\n message = \"Invalid enum value. Expected \".concat(util.joinValues(issue.options), \", received '\").concat(issue.received, \"'\");\n break;\n\n case ZodIssueCode.invalid_arguments:\n message = \"Invalid function arguments\";\n break;\n\n case ZodIssueCode.invalid_return_type:\n message = \"Invalid function return type\";\n break;\n\n case ZodIssueCode.invalid_date:\n message = \"Invalid date\";\n break;\n\n case ZodIssueCode.invalid_string:\n if (_typeof(issue.validation) === \"object\") {\n if (\"startsWith\" in issue.validation) {\n message = \"Invalid input: must start with \\\"\".concat(issue.validation.startsWith, \"\\\"\");\n } else if (\"endsWith\" in issue.validation) {\n message = \"Invalid input: must end with \\\"\".concat(issue.validation.endsWith, \"\\\"\");\n } else {\n util.assertNever(issue.validation);\n }\n } else if (issue.validation !== \"regex\") {\n message = \"Invalid \".concat(issue.validation);\n } else {\n message = \"Invalid\";\n }\n\n break;\n\n case ZodIssueCode.too_small:\n if (issue.type === \"array\") message = \"Array must contain \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"at least\" : \"more than\", \" \").concat(issue.minimum, \" element(s)\");else if (issue.type === \"string\") message = \"String must contain \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"at least\" : \"over\", \" \").concat(issue.minimum, \" character(s)\");else if (issue.type === \"number\") message = \"Number must be \".concat(issue.exact ? \"exactly equal to \" : issue.inclusive ? \"greater than or equal to \" : \"greater than \").concat(issue.minimum);else if (issue.type === \"date\") message = \"Date must be \".concat(issue.exact ? \"exactly equal to \" : issue.inclusive ? \"greater than or equal to \" : \"greater than \").concat(new Date(issue.minimum));else message = \"Invalid input\";\n break;\n\n case ZodIssueCode.too_big:\n if (issue.type === \"array\") message = \"Array must contain \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"at most\" : \"less than\", \" \").concat(issue.maximum, \" element(s)\");else if (issue.type === \"string\") message = \"String must contain \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"at most\" : \"under\", \" \").concat(issue.maximum, \" character(s)\");else if (issue.type === \"number\") message = \"Number must be \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"less than or equal to\" : \"less than\", \" \").concat(issue.maximum);else if (issue.type === \"date\") message = \"Date must be \".concat(issue.exact ? \"exactly\" : issue.inclusive ? \"smaller than or equal to\" : \"smaller than\", \" \").concat(new Date(issue.maximum));else message = \"Invalid input\";\n break;\n\n case ZodIssueCode.custom:\n message = \"Invalid input\";\n break;\n\n case ZodIssueCode.invalid_intersection_types:\n message = \"Intersection results could not be merged\";\n break;\n\n case ZodIssueCode.not_multiple_of:\n message = \"Number must be a multiple of \".concat(issue.multipleOf);\n break;\n\n case ZodIssueCode.not_finite:\n message = \"Number must be finite\";\n break;\n\n default:\n message = _ctx.defaultError;\n util.assertNever(issue);\n }\n\n return {\n message: message\n };\n};\n\nvar overrideErrorMap = errorMap;\n\nfunction setErrorMap(map) {\n overrideErrorMap = map;\n}\n\nfunction getErrorMap() {\n return overrideErrorMap;\n}\n\nvar makeIssue = function makeIssue(params) {\n var data = params.data,\n path = params.path,\n errorMaps = params.errorMaps,\n issueData = params.issueData;\n var fullPath = [].concat(_toConsumableArray(path), _toConsumableArray(issueData.path || []));\n\n var fullIssue = _objectSpread(_objectSpread({}, issueData), {}, {\n path: fullPath\n });\n\n var errorMessage = \"\";\n var maps = errorMaps.filter(function (m) {\n return !!m;\n }).slice().reverse();\n\n var _iterator6 = _createForOfIteratorHelper(maps),\n _step6;\n\n try {\n for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {\n var map = _step6.value;\n errorMessage = map(fullIssue, {\n data: data,\n defaultError: errorMessage\n }).message;\n }\n } catch (err) {\n _iterator6.e(err);\n } finally {\n _iterator6.f();\n }\n\n return _objectSpread(_objectSpread({}, issueData), {}, {\n path: fullPath,\n message: issueData.message || errorMessage\n });\n};\n\nvar EMPTY_PATH = [];\n\nfunction addIssueToContext(ctx, issueData) {\n var issue = makeIssue({\n issueData: issueData,\n data: ctx.data,\n path: ctx.path,\n errorMaps: [ctx.common.contextualErrorMap, ctx.schemaErrorMap, getErrorMap(), errorMap // then global default map\n ].filter(function (x) {\n return !!x;\n })\n });\n ctx.common.issues.push(issue);\n}\n\nvar ParseStatus = /*#__PURE__*/function () {\n function ParseStatus() {\n _classCallCheck(this, ParseStatus);\n\n this.value = \"valid\";\n }\n\n _createClass(ParseStatus, [{\n key: \"dirty\",\n value: function dirty() {\n if (this.value === \"valid\") this.value = \"dirty\";\n }\n }, {\n key: \"abort\",\n value: function abort() {\n if (this.value !== \"aborted\") this.value = \"aborted\";\n }\n }], [{\n key: \"mergeArray\",\n value: function mergeArray(status, results) {\n var arrayValue = [];\n\n var _iterator7 = _createForOfIteratorHelper(results),\n _step7;\n\n try {\n for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {\n var s = _step7.value;\n if (s.status === \"aborted\") return INVALID;\n if (s.status === \"dirty\") status.dirty();\n arrayValue.push(s.value);\n }\n } catch (err) {\n _iterator7.e(err);\n } finally {\n _iterator7.f();\n }\n\n return {\n status: status.value,\n value: arrayValue\n };\n }\n }, {\n key: \"mergeObjectAsync\",\n value: function () {\n var _mergeObjectAsync = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(status, pairs) {\n var syncPairs, _iterator8, _step8, pair;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n syncPairs = [];\n _iterator8 = _createForOfIteratorHelper(pairs);\n _context.prev = 2;\n\n _iterator8.s();\n\n case 4:\n if ((_step8 = _iterator8.n()).done) {\n _context.next = 17;\n break;\n }\n\n pair = _step8.value;\n _context.t0 = syncPairs;\n _context.next = 9;\n return pair.key;\n\n case 9:\n _context.t1 = _context.sent;\n _context.next = 12;\n return pair.value;\n\n case 12:\n _context.t2 = _context.sent;\n _context.t3 = {\n key: _context.t1,\n value: _context.t2\n };\n\n _context.t0.push.call(_context.t0, _context.t3);\n\n case 15:\n _context.next = 4;\n break;\n\n case 17:\n _context.next = 22;\n break;\n\n case 19:\n _context.prev = 19;\n _context.t4 = _context[\"catch\"](2);\n\n _iterator8.e(_context.t4);\n\n case 22:\n _context.prev = 22;\n\n _iterator8.f();\n\n return _context.finish(22);\n\n case 25:\n return _context.abrupt(\"return\", ParseStatus.mergeObjectSync(status, syncPairs));\n\n case 26:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[2, 19, 22, 25]]);\n }));\n\n function mergeObjectAsync(_x2, _x3) {\n return _mergeObjectAsync.apply(this, arguments);\n }\n\n return mergeObjectAsync;\n }()\n }, {\n key: \"mergeObjectSync\",\n value: function mergeObjectSync(status, pairs) {\n var finalObject = {};\n\n var _iterator9 = _createForOfIteratorHelper(pairs),\n _step9;\n\n try {\n for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {\n var pair = _step9.value;\n var key = pair.key,\n value = pair.value;\n if (key.status === \"aborted\") return INVALID;\n if (value.status === \"aborted\") return INVALID;\n if (key.status === \"dirty\") status.dirty();\n if (value.status === \"dirty\") status.dirty();\n\n if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n finalObject[key.value] = value.value;\n }\n }\n } catch (err) {\n _iterator9.e(err);\n } finally {\n _iterator9.f();\n }\n\n return {\n status: status.value,\n value: finalObject\n };\n }\n }]);\n\n return ParseStatus;\n}();\n\nvar INVALID = Object.freeze({\n status: \"aborted\"\n});\n\nvar DIRTY = function DIRTY(value) {\n return {\n status: \"dirty\",\n value: value\n };\n};\n\nvar OK = function OK(value) {\n return {\n status: \"valid\",\n value: value\n };\n};\n\nvar isAborted = function isAborted(x) {\n return x.status === \"aborted\";\n};\n\nvar isDirty = function isDirty(x) {\n return x.status === \"dirty\";\n};\n\nvar isValid = function isValid(x) {\n return x.status === \"valid\";\n};\n\nvar isAsync = function isAsync(x) {\n return typeof Promise !== \"undefined\" && x instanceof Promise;\n};\n\nvar errorUtil;\n\n(function (errorUtil) {\n errorUtil.errToObj = function (message) {\n return typeof message === \"string\" ? {\n message: message\n } : message || {};\n };\n\n errorUtil.toString = function (message) {\n return typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n };\n})(errorUtil || (errorUtil = {}));\n\nvar ParseInputLazyPath = /*#__PURE__*/function () {\n function ParseInputLazyPath(parent, value, path, key) {\n _classCallCheck(this, ParseInputLazyPath);\n\n this.parent = parent;\n this.data = value;\n this._path = path;\n this._key = key;\n }\n\n _createClass(ParseInputLazyPath, [{\n key: \"path\",\n get: function get() {\n return this._path.concat(this._key);\n }\n }]);\n\n return ParseInputLazyPath;\n}();\n\nvar handleResult = function handleResult(ctx, result) {\n if (isValid(result)) {\n return {\n success: true,\n data: result.value\n };\n } else {\n if (!ctx.common.issues.length) {\n throw new Error(\"Validation failed but no issues detected.\");\n }\n\n var error = new ZodError(ctx.common.issues);\n return {\n success: false,\n error: error\n };\n }\n};\n\nfunction processCreateParams(params) {\n if (!params) return {};\n var errorMap = params.errorMap,\n invalid_type_error = params.invalid_type_error,\n required_error = params.required_error,\n description = params.description;\n\n if (errorMap && (invalid_type_error || required_error)) {\n throw new Error(\"Can't use \\\"invalid_type_error\\\" or \\\"required_error\\\" in conjunction with custom error map.\");\n }\n\n if (errorMap) return {\n errorMap: errorMap,\n description: description\n };\n\n var customMap = function customMap(iss, ctx) {\n if (iss.code !== \"invalid_type\") return {\n message: ctx.defaultError\n };\n\n if (typeof ctx.data === \"undefined\") {\n return {\n message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError\n };\n }\n\n return {\n message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError\n };\n };\n\n return {\n errorMap: customMap,\n description: description\n };\n}\n\nvar ZodType = /*#__PURE__*/function () {\n function ZodType(def) {\n _classCallCheck(this, ZodType);\n\n /** Alias of safeParseAsync */\n this.spa = this.safeParseAsync;\n this._def = def;\n this.parse = this.parse.bind(this);\n this.safeParse = this.safeParse.bind(this);\n this.parseAsync = this.parseAsync.bind(this);\n this.safeParseAsync = this.safeParseAsync.bind(this);\n this.spa = this.spa.bind(this);\n this.refine = this.refine.bind(this);\n this.refinement = this.refinement.bind(this);\n this.superRefine = this.superRefine.bind(this);\n this.optional = this.optional.bind(this);\n this.nullable = this.nullable.bind(this);\n this.nullish = this.nullish.bind(this);\n this.array = this.array.bind(this);\n this.promise = this.promise.bind(this);\n this.or = this.or.bind(this);\n this.and = this.and.bind(this);\n this.transform = this.transform.bind(this);\n this.brand = this.brand.bind(this);\n this.default = this.default.bind(this);\n this.catch = this.catch.bind(this);\n this.describe = this.describe.bind(this);\n this.pipe = this.pipe.bind(this);\n this.isNullable = this.isNullable.bind(this);\n this.isOptional = this.isOptional.bind(this);\n }\n\n _createClass(ZodType, [{\n key: \"description\",\n get: function get() {\n return this._def.description;\n }\n }, {\n key: \"_getType\",\n value: function _getType(input) {\n return getParsedType(input.data);\n }\n }, {\n key: \"_getOrReturnCtx\",\n value: function _getOrReturnCtx(input, ctx) {\n return ctx || {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent\n };\n }\n }, {\n key: \"_processInputParams\",\n value: function _processInputParams(input) {\n return {\n status: new ParseStatus(),\n ctx: {\n common: input.parent.common,\n data: input.data,\n parsedType: getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent\n }\n };\n }\n }, {\n key: \"_parseSync\",\n value: function _parseSync(input) {\n var result = this._parse(input);\n\n if (isAsync(result)) {\n throw new Error(\"Synchronous parse encountered promise.\");\n }\n\n return result;\n }\n }, {\n key: \"_parseAsync\",\n value: function _parseAsync(input) {\n var result = this._parse(input);\n\n return Promise.resolve(result);\n }\n }, {\n key: \"parse\",\n value: function parse(data, params) {\n var result = this.safeParse(data, params);\n if (result.success) return result.data;\n throw result.error;\n }\n }, {\n key: \"safeParse\",\n value: function safeParse(data, params) {\n var _a;\n\n var ctx = {\n common: {\n issues: [],\n async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data: data,\n parsedType: getParsedType(data)\n };\n\n var result = this._parseSync({\n data: data,\n path: ctx.path,\n parent: ctx\n });\n\n return handleResult(ctx, result);\n }\n }, {\n key: \"parseAsync\",\n value: function () {\n var _parseAsync2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, params) {\n var result;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return this.safeParseAsync(data, params);\n\n case 2:\n result = _context2.sent;\n\n if (!result.success) {\n _context2.next = 5;\n break;\n }\n\n return _context2.abrupt(\"return\", result.data);\n\n case 5:\n throw result.error;\n\n case 6:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function parseAsync(_x4, _x5) {\n return _parseAsync2.apply(this, arguments);\n }\n\n return parseAsync;\n }()\n }, {\n key: \"safeParseAsync\",\n value: function () {\n var _safeParseAsync = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data, params) {\n var ctx, maybeAsyncResult, result;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n ctx = {\n common: {\n issues: [],\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n async: true\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data: data,\n parsedType: getParsedType(data)\n };\n maybeAsyncResult = this._parse({\n data: data,\n path: ctx.path,\n parent: ctx\n });\n _context3.next = 4;\n return isAsync(maybeAsyncResult) ? maybeAsyncResult : Promise.resolve(maybeAsyncResult);\n\n case 4:\n result = _context3.sent;\n return _context3.abrupt(\"return\", handleResult(ctx, result));\n\n case 6:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this);\n }));\n\n function safeParseAsync(_x6, _x7) {\n return _safeParseAsync.apply(this, arguments);\n }\n\n return safeParseAsync;\n }()\n }, {\n key: \"refine\",\n value: function refine(check, message) {\n var getIssueProperties = function getIssueProperties(val) {\n if (typeof message === \"string\" || typeof message === \"undefined\") {\n return {\n message: message\n };\n } else if (typeof message === \"function\") {\n return message(val);\n } else {\n return message;\n }\n };\n\n return this._refinement(function (val, ctx) {\n var result = check(val);\n\n var setError = function setError() {\n return ctx.addIssue(_objectSpread({\n code: ZodIssueCode.custom\n }, getIssueProperties(val)));\n };\n\n if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n return result.then(function (data) {\n if (!data) {\n setError();\n return false;\n } else {\n return true;\n }\n });\n }\n\n if (!result) {\n setError();\n return false;\n } else {\n return true;\n }\n });\n }\n }, {\n key: \"refinement\",\n value: function refinement(check, refinementData) {\n return this._refinement(function (val, ctx) {\n if (!check(val)) {\n ctx.addIssue(typeof refinementData === \"function\" ? refinementData(val, ctx) : refinementData);\n return false;\n } else {\n return true;\n }\n });\n }\n }, {\n key: \"_refinement\",\n value: function _refinement(refinement) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: {\n type: \"refinement\",\n refinement: refinement\n }\n });\n }\n }, {\n key: \"superRefine\",\n value: function superRefine(refinement) {\n return this._refinement(refinement);\n }\n }, {\n key: \"optional\",\n value: function optional() {\n return ZodOptional.create(this, this._def);\n }\n }, {\n key: \"nullable\",\n value: function nullable() {\n return ZodNullable.create(this, this._def);\n }\n }, {\n key: \"nullish\",\n value: function nullish() {\n return this.nullable().optional();\n }\n }, {\n key: \"array\",\n value: function array() {\n return ZodArray.create(this, this._def);\n }\n }, {\n key: \"promise\",\n value: function promise() {\n return ZodPromise.create(this, this._def);\n }\n }, {\n key: \"or\",\n value: function or(option) {\n return ZodUnion.create([this, option], this._def);\n }\n }, {\n key: \"and\",\n value: function and(incoming) {\n return ZodIntersection.create(this, incoming, this._def);\n }\n }, {\n key: \"transform\",\n value: function transform(_transform) {\n return new ZodEffects(_objectSpread(_objectSpread({}, processCreateParams(this._def)), {}, {\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: {\n type: \"transform\",\n transform: _transform\n }\n }));\n }\n }, {\n key: \"default\",\n value: function _default(def) {\n var defaultValueFunc = typeof def === \"function\" ? def : function () {\n return def;\n };\n return new ZodDefault(_objectSpread(_objectSpread({}, processCreateParams(this._def)), {}, {\n innerType: this,\n defaultValue: defaultValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodDefault\n }));\n }\n }, {\n key: \"brand\",\n value: function brand() {\n return new ZodBranded(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodBranded,\n type: this\n }, processCreateParams(this._def)));\n }\n }, {\n key: \"catch\",\n value: function _catch(def) {\n var catchValueFunc = typeof def === \"function\" ? def : function () {\n return def;\n };\n return new ZodCatch(_objectSpread(_objectSpread({}, processCreateParams(this._def)), {}, {\n innerType: this,\n catchValue: catchValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodCatch\n }));\n }\n }, {\n key: \"describe\",\n value: function describe(description) {\n var This = this.constructor;\n return new This(_objectSpread(_objectSpread({}, this._def), {}, {\n description: description\n }));\n }\n }, {\n key: \"pipe\",\n value: function pipe(target) {\n return ZodPipeline.create(this, target);\n }\n }, {\n key: \"isOptional\",\n value: function isOptional() {\n return this.safeParse(undefined).success;\n }\n }, {\n key: \"isNullable\",\n value: function isNullable() {\n return this.safeParse(null).success;\n }\n }]);\n\n return ZodType;\n}();\n\nvar cuidRegex = /^c[^\\s-]{8,}$/i;\nvar cuid2Regex = /^[a-z][a-z0-9]*$/;\nvar uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i; // from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n//old email regex\n// const emailRegex = /^(([^<>()[\\].,;:\\s@\"]+(\\.[^<>()[\\].,;:\\s@\"]+)*)|(\".+\"))@((?!-)([^<>()[\\].,;:\\s@\"]+\\.)+[^<>()[\\].,;:\\s@\"]{1,})[^-<>()[\\].,;:\\s@\"]$/i;\n// eslint-disable-next-line\n\nvar emailRegex = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|([^-]([a-zA-Z0-9-]*\\.)+[a-zA-Z]{2,}))$/; // interface IsDateStringOptions extends StringDateOptions {\n\n/**\n * Match any configuration\n */\n// any?: boolean;\n// }\n// Adapted from https://stackoverflow.com/a/3143231\n\nvar datetimeRegex = function datetimeRegex(args) {\n if (args.precision) {\n if (args.offset) {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{\".concat(args.precision, \"}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\"));\n } else {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{\".concat(args.precision, \"}Z$\"));\n }\n } else if (args.precision === 0) {\n if (args.offset) {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\");\n } else {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\");\n }\n } else {\n if (args.offset) {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\");\n } else {\n return new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?Z$\");\n }\n }\n};\n\nvar ZodString = /*#__PURE__*/function (_ZodType) {\n _inherits(ZodString, _ZodType);\n\n var _super2 = _createSuper(ZodString);\n\n function ZodString() {\n var _this2;\n\n _classCallCheck(this, ZodString);\n\n _this2 = _super2.apply(this, arguments);\n\n _this2._regex = function (regex, validation, message) {\n return _this2.refinement(function (data) {\n return regex.test(data);\n }, _objectSpread({\n validation: validation,\n code: ZodIssueCode.invalid_string\n }, errorUtil.errToObj(message)));\n };\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n\n\n _this2.nonempty = function (message) {\n return _this2.min(1, errorUtil.errToObj(message));\n };\n\n _this2.trim = function () {\n return new ZodString(_objectSpread(_objectSpread({}, _this2._def), {}, {\n checks: [].concat(_toConsumableArray(_this2._def.checks), [{\n kind: \"trim\"\n }])\n }));\n };\n\n return _this2;\n }\n\n _createClass(ZodString, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (this._def.coerce) {\n input.data = String(input.data);\n }\n\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.string) {\n var _ctx2 = this._getOrReturnCtx(input);\n\n addIssueToContext(_ctx2, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.string,\n received: _ctx2.parsedType\n } //\n );\n return INVALID;\n }\n\n var status = new ParseStatus();\n var ctx = undefined;\n\n var _iterator10 = _createForOfIteratorHelper(this._def.checks),\n _step10;\n\n try {\n for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {\n var check = _step10.value;\n\n if (check.kind === \"min\") {\n if (input.data.length < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n exact: false,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"max\") {\n if (input.data.length > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n exact: false,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"length\") {\n var tooBig = input.data.length > check.value;\n var tooSmall = input.data.length < check.value;\n\n if (tooBig || tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n\n if (tooBig) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n exact: true,\n message: check.message\n });\n } else if (tooSmall) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n exact: true,\n message: check.message\n });\n }\n\n status.dirty();\n }\n } else if (check.kind === \"email\") {\n if (!emailRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"email\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"uuid\") {\n if (!uuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"uuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"cuid\") {\n if (!cuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"cuid\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"cuid2\") {\n if (!cuid2Regex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"cuid2\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"url\") {\n try {\n new URL(input.data);\n } catch (_a) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"url\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"regex\") {\n check.regex.lastIndex = 0;\n var testResult = check.regex.test(input.data);\n\n if (!testResult) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n validation: \"regex\",\n code: ZodIssueCode.invalid_string,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"trim\") {\n input.data = input.data.trim();\n } else if (check.kind === \"startsWith\") {\n if (!input.data.startsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: {\n startsWith: check.value\n },\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"endsWith\") {\n if (!input.data.endsWith(check.value)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: {\n endsWith: check.value\n },\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"datetime\") {\n var regex = datetimeRegex(check);\n\n if (!regex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_string,\n validation: \"datetime\",\n message: check.message\n });\n status.dirty();\n }\n } else {\n util.assertNever(check);\n }\n }\n } catch (err) {\n _iterator10.e(err);\n } finally {\n _iterator10.f();\n }\n\n return {\n status: status.value,\n value: input.data\n };\n }\n }, {\n key: \"_addCheck\",\n value: function _addCheck(check) {\n return new ZodString(_objectSpread(_objectSpread({}, this._def), {}, {\n checks: [].concat(_toConsumableArray(this._def.checks), [check])\n }));\n }\n }, {\n key: \"email\",\n value: function email(message) {\n return this._addCheck(_objectSpread({\n kind: \"email\"\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"url\",\n value: function url(message) {\n return this._addCheck(_objectSpread({\n kind: \"url\"\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"uuid\",\n value: function uuid(message) {\n return this._addCheck(_objectSpread({\n kind: \"uuid\"\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"cuid\",\n value: function cuid(message) {\n return this._addCheck(_objectSpread({\n kind: \"cuid\"\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"cuid2\",\n value: function cuid2(message) {\n return this._addCheck(_objectSpread({\n kind: \"cuid2\"\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"datetime\",\n value: function datetime(options) {\n var _a;\n\n if (typeof options === \"string\") {\n return this._addCheck({\n kind: \"datetime\",\n precision: null,\n offset: false,\n message: options\n });\n }\n\n return this._addCheck(_objectSpread({\n kind: \"datetime\",\n precision: typeof (options === null || options === void 0 ? void 0 : options.precision) === \"undefined\" ? null : options === null || options === void 0 ? void 0 : options.precision,\n offset: (_a = options === null || options === void 0 ? void 0 : options.offset) !== null && _a !== void 0 ? _a : false\n }, errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message)));\n }\n }, {\n key: \"regex\",\n value: function regex(_regex, message) {\n return this._addCheck(_objectSpread({\n kind: \"regex\",\n regex: _regex\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"startsWith\",\n value: function startsWith(value, message) {\n return this._addCheck(_objectSpread({\n kind: \"startsWith\",\n value: value\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"endsWith\",\n value: function endsWith(value, message) {\n return this._addCheck(_objectSpread({\n kind: \"endsWith\",\n value: value\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"min\",\n value: function min(minLength, message) {\n return this._addCheck(_objectSpread({\n kind: \"min\",\n value: minLength\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"max\",\n value: function max(maxLength, message) {\n return this._addCheck(_objectSpread({\n kind: \"max\",\n value: maxLength\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"length\",\n value: function length(len, message) {\n return this._addCheck(_objectSpread({\n kind: \"length\",\n value: len\n }, errorUtil.errToObj(message)));\n }\n }, {\n key: \"isDatetime\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"datetime\";\n });\n }\n }, {\n key: \"isEmail\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"email\";\n });\n }\n }, {\n key: \"isURL\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"url\";\n });\n }\n }, {\n key: \"isUUID\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"uuid\";\n });\n }\n }, {\n key: \"isCUID\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"cuid\";\n });\n }\n }, {\n key: \"isCUID2\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"cuid2\";\n });\n }\n }, {\n key: \"minLength\",\n get: function get() {\n var min = null;\n\n var _iterator11 = _createForOfIteratorHelper(this._def.checks),\n _step11;\n\n try {\n for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {\n var ch = _step11.value;\n\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min) min = ch.value;\n }\n }\n } catch (err) {\n _iterator11.e(err);\n } finally {\n _iterator11.f();\n }\n\n return min;\n }\n }, {\n key: \"maxLength\",\n get: function get() {\n var max = null;\n\n var _iterator12 = _createForOfIteratorHelper(this._def.checks),\n _step12;\n\n try {\n for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {\n var ch = _step12.value;\n\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max) max = ch.value;\n }\n }\n } catch (err) {\n _iterator12.e(err);\n } finally {\n _iterator12.f();\n }\n\n return max;\n }\n }]);\n\n return ZodString;\n}(ZodType);\n\nZodString.create = function (params) {\n var _a;\n\n return new ZodString(_objectSpread({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodString,\n coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false\n }, processCreateParams(params)));\n}; // https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\n\n\nfunction floatSafeRemainder(val, step) {\n var valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n var stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n var decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n var valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n var stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n return valInt % stepInt / Math.pow(10, decCount);\n}\n\nvar ZodNumber = /*#__PURE__*/function (_ZodType2) {\n _inherits(ZodNumber, _ZodType2);\n\n var _super3 = _createSuper(ZodNumber);\n\n function ZodNumber() {\n var _this3;\n\n _classCallCheck(this, ZodNumber);\n\n _this3 = _super3.apply(this, arguments);\n _this3.min = _this3.gte;\n _this3.max = _this3.lte;\n _this3.step = _this3.multipleOf;\n return _this3;\n }\n\n _createClass(ZodNumber, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (this._def.coerce) {\n input.data = Number(input.data);\n }\n\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.number) {\n var _ctx3 = this._getOrReturnCtx(input);\n\n addIssueToContext(_ctx3, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.number,\n received: _ctx3.parsedType\n });\n return INVALID;\n }\n\n var ctx = undefined;\n var status = new ParseStatus();\n\n var _iterator13 = _createForOfIteratorHelper(this._def.checks),\n _step13;\n\n try {\n for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {\n var check = _step13.value;\n\n if (check.kind === \"int\") {\n if (!util.isInteger(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"min\") {\n var tooSmall = check.inclusive ? input.data < check.value : input.data <= check.value;\n\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n exact: false,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"max\") {\n var tooBig = check.inclusive ? input.data > check.value : input.data >= check.value;\n\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n exact: false,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"multipleOf\") {\n if (floatSafeRemainder(input.data, check.value) !== 0) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message\n });\n status.dirty();\n }\n } else if (check.kind === \"finite\") {\n if (!Number.isFinite(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.not_finite,\n message: check.message\n });\n status.dirty();\n }\n } else {\n util.assertNever(check);\n }\n }\n } catch (err) {\n _iterator13.e(err);\n } finally {\n _iterator13.f();\n }\n\n return {\n status: status.value,\n value: input.data\n };\n }\n }, {\n key: \"gte\",\n value: function gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil.toString(message));\n }\n }, {\n key: \"gt\",\n value: function gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil.toString(message));\n }\n }, {\n key: \"lte\",\n value: function lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil.toString(message));\n }\n }, {\n key: \"lt\",\n value: function lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil.toString(message));\n }\n }, {\n key: \"setLimit\",\n value: function setLimit(kind, value, inclusive, message) {\n return new ZodNumber(_objectSpread(_objectSpread({}, this._def), {}, {\n checks: [].concat(_toConsumableArray(this._def.checks), [{\n kind: kind,\n value: value,\n inclusive: inclusive,\n message: errorUtil.toString(message)\n }])\n }));\n }\n }, {\n key: \"_addCheck\",\n value: function _addCheck(check) {\n return new ZodNumber(_objectSpread(_objectSpread({}, this._def), {}, {\n checks: [].concat(_toConsumableArray(this._def.checks), [check])\n }));\n }\n }, {\n key: \"int\",\n value: function int(message) {\n return this._addCheck({\n kind: \"int\",\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"positive\",\n value: function positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"negative\",\n value: function negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: false,\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"nonpositive\",\n value: function nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"nonnegative\",\n value: function nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"multipleOf\",\n value: function multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: value,\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"finite\",\n value: function finite(message) {\n return this._addCheck({\n kind: \"finite\",\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"minValue\",\n get: function get() {\n var min = null;\n\n var _iterator14 = _createForOfIteratorHelper(this._def.checks),\n _step14;\n\n try {\n for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {\n var ch = _step14.value;\n\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min) min = ch.value;\n }\n }\n } catch (err) {\n _iterator14.e(err);\n } finally {\n _iterator14.f();\n }\n\n return min;\n }\n }, {\n key: \"maxValue\",\n get: function get() {\n var max = null;\n\n var _iterator15 = _createForOfIteratorHelper(this._def.checks),\n _step15;\n\n try {\n for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {\n var ch = _step15.value;\n\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max) max = ch.value;\n }\n }\n } catch (err) {\n _iterator15.e(err);\n } finally {\n _iterator15.f();\n }\n\n return max;\n }\n }, {\n key: \"isInt\",\n get: function get() {\n return !!this._def.checks.find(function (ch) {\n return ch.kind === \"int\" || ch.kind === \"multipleOf\" && util.isInteger(ch.value);\n });\n }\n }, {\n key: \"isFinite\",\n get: function get() {\n var max = null,\n min = null;\n\n var _iterator16 = _createForOfIteratorHelper(this._def.checks),\n _step16;\n\n try {\n for (_iterator16.s(); !(_step16 = _iterator16.n()).done;) {\n var ch = _step16.value;\n\n if (ch.kind === \"finite\" || ch.kind === \"int\" || ch.kind === \"multipleOf\") {\n return true;\n } else if (ch.kind === \"min\") {\n if (min === null || ch.value > min) min = ch.value;\n } else if (ch.kind === \"max\") {\n if (max === null || ch.value < max) max = ch.value;\n }\n }\n } catch (err) {\n _iterator16.e(err);\n } finally {\n _iterator16.f();\n }\n\n return Number.isFinite(min) && Number.isFinite(max);\n }\n }]);\n\n return ZodNumber;\n}(ZodType);\n\nZodNumber.create = function (params) {\n return new ZodNumber(_objectSpread({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodNumber,\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false\n }, processCreateParams(params)));\n};\n\nvar ZodBigInt = /*#__PURE__*/function (_ZodType3) {\n _inherits(ZodBigInt, _ZodType3);\n\n var _super4 = _createSuper(ZodBigInt);\n\n function ZodBigInt() {\n _classCallCheck(this, ZodBigInt);\n\n return _super4.apply(this, arguments);\n }\n\n _createClass(ZodBigInt, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (this._def.coerce) {\n input.data = BigInt(input.data);\n }\n\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.bigint) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.bigint,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodBigInt;\n}(ZodType);\n\nZodBigInt.create = function (params) {\n var _a;\n\n return new ZodBigInt(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodBigInt,\n coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false\n }, processCreateParams(params)));\n};\n\nvar ZodBoolean = /*#__PURE__*/function (_ZodType4) {\n _inherits(ZodBoolean, _ZodType4);\n\n var _super5 = _createSuper(ZodBoolean);\n\n function ZodBoolean() {\n _classCallCheck(this, ZodBoolean);\n\n return _super5.apply(this, arguments);\n }\n\n _createClass(ZodBoolean, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (this._def.coerce) {\n input.data = Boolean(input.data);\n }\n\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.boolean) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.boolean,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodBoolean;\n}(ZodType);\n\nZodBoolean.create = function (params) {\n return new ZodBoolean(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodBoolean,\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false\n }, processCreateParams(params)));\n};\n\nvar ZodDate = /*#__PURE__*/function (_ZodType5) {\n _inherits(ZodDate, _ZodType5);\n\n var _super6 = _createSuper(ZodDate);\n\n function ZodDate() {\n _classCallCheck(this, ZodDate);\n\n return _super6.apply(this, arguments);\n }\n\n _createClass(ZodDate, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (this._def.coerce) {\n input.data = new Date(input.data);\n }\n\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.date) {\n var _ctx4 = this._getOrReturnCtx(input);\n\n addIssueToContext(_ctx4, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.date,\n received: _ctx4.parsedType\n });\n return INVALID;\n }\n\n if (isNaN(input.data.getTime())) {\n var _ctx5 = this._getOrReturnCtx(input);\n\n addIssueToContext(_ctx5, {\n code: ZodIssueCode.invalid_date\n });\n return INVALID;\n }\n\n var status = new ParseStatus();\n var ctx = undefined;\n\n var _iterator17 = _createForOfIteratorHelper(this._def.checks),\n _step17;\n\n try {\n for (_iterator17.s(); !(_step17 = _iterator17.n()).done;) {\n var check = _step17.value;\n\n if (check.kind === \"min\") {\n if (input.data.getTime() < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n message: check.message,\n inclusive: true,\n exact: false,\n minimum: check.value,\n type: \"date\"\n });\n status.dirty();\n }\n } else if (check.kind === \"max\") {\n if (input.data.getTime() > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n message: check.message,\n inclusive: true,\n exact: false,\n maximum: check.value,\n type: \"date\"\n });\n status.dirty();\n }\n } else {\n util.assertNever(check);\n }\n }\n } catch (err) {\n _iterator17.e(err);\n } finally {\n _iterator17.f();\n }\n\n return {\n status: status.value,\n value: new Date(input.data.getTime())\n };\n }\n }, {\n key: \"_addCheck\",\n value: function _addCheck(check) {\n return new ZodDate(_objectSpread(_objectSpread({}, this._def), {}, {\n checks: [].concat(_toConsumableArray(this._def.checks), [check])\n }));\n }\n }, {\n key: \"min\",\n value: function min(minDate, message) {\n return this._addCheck({\n kind: \"min\",\n value: minDate.getTime(),\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"max\",\n value: function max(maxDate, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxDate.getTime(),\n message: errorUtil.toString(message)\n });\n }\n }, {\n key: \"minDate\",\n get: function get() {\n var min = null;\n\n var _iterator18 = _createForOfIteratorHelper(this._def.checks),\n _step18;\n\n try {\n for (_iterator18.s(); !(_step18 = _iterator18.n()).done;) {\n var ch = _step18.value;\n\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min) min = ch.value;\n }\n }\n } catch (err) {\n _iterator18.e(err);\n } finally {\n _iterator18.f();\n }\n\n return min != null ? new Date(min) : null;\n }\n }, {\n key: \"maxDate\",\n get: function get() {\n var max = null;\n\n var _iterator19 = _createForOfIteratorHelper(this._def.checks),\n _step19;\n\n try {\n for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {\n var ch = _step19.value;\n\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max) max = ch.value;\n }\n }\n } catch (err) {\n _iterator19.e(err);\n } finally {\n _iterator19.f();\n }\n\n return max != null ? new Date(max) : null;\n }\n }]);\n\n return ZodDate;\n}(ZodType);\n\nZodDate.create = function (params) {\n return new ZodDate(_objectSpread({\n checks: [],\n coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,\n typeName: ZodFirstPartyTypeKind.ZodDate\n }, processCreateParams(params)));\n};\n\nvar ZodSymbol = /*#__PURE__*/function (_ZodType6) {\n _inherits(ZodSymbol, _ZodType6);\n\n var _super7 = _createSuper(ZodSymbol);\n\n function ZodSymbol() {\n _classCallCheck(this, ZodSymbol);\n\n return _super7.apply(this, arguments);\n }\n\n _createClass(ZodSymbol, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.symbol) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.symbol,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodSymbol;\n}(ZodType);\n\nZodSymbol.create = function (params) {\n return new ZodSymbol(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodSymbol\n }, processCreateParams(params)));\n};\n\nvar ZodUndefined = /*#__PURE__*/function (_ZodType7) {\n _inherits(ZodUndefined, _ZodType7);\n\n var _super8 = _createSuper(ZodUndefined);\n\n function ZodUndefined() {\n _classCallCheck(this, ZodUndefined);\n\n return _super8.apply(this, arguments);\n }\n\n _createClass(ZodUndefined, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.undefined) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.undefined,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodUndefined;\n}(ZodType);\n\nZodUndefined.create = function (params) {\n return new ZodUndefined(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodUndefined\n }, processCreateParams(params)));\n};\n\nvar ZodNull = /*#__PURE__*/function (_ZodType8) {\n _inherits(ZodNull, _ZodType8);\n\n var _super9 = _createSuper(ZodNull);\n\n function ZodNull() {\n _classCallCheck(this, ZodNull);\n\n return _super9.apply(this, arguments);\n }\n\n _createClass(ZodNull, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.null) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.null,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodNull;\n}(ZodType);\n\nZodNull.create = function (params) {\n return new ZodNull(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodNull\n }, processCreateParams(params)));\n};\n\nvar ZodAny = /*#__PURE__*/function (_ZodType9) {\n _inherits(ZodAny, _ZodType9);\n\n var _super10 = _createSuper(ZodAny);\n\n function ZodAny() {\n var _this4;\n\n _classCallCheck(this, ZodAny);\n\n _this4 = _super10.apply(this, arguments); // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n\n _this4._any = true;\n return _this4;\n }\n\n _createClass(ZodAny, [{\n key: \"_parse\",\n value: function _parse(input) {\n return OK(input.data);\n }\n }]);\n\n return ZodAny;\n}(ZodType);\n\nZodAny.create = function (params) {\n return new ZodAny(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodAny\n }, processCreateParams(params)));\n};\n\nvar ZodUnknown = /*#__PURE__*/function (_ZodType10) {\n _inherits(ZodUnknown, _ZodType10);\n\n var _super11 = _createSuper(ZodUnknown);\n\n function ZodUnknown() {\n var _this5;\n\n _classCallCheck(this, ZodUnknown);\n\n _this5 = _super11.apply(this, arguments); // required\n\n _this5._unknown = true;\n return _this5;\n }\n\n _createClass(ZodUnknown, [{\n key: \"_parse\",\n value: function _parse(input) {\n return OK(input.data);\n }\n }]);\n\n return ZodUnknown;\n}(ZodType);\n\nZodUnknown.create = function (params) {\n return new ZodUnknown(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodUnknown\n }, processCreateParams(params)));\n};\n\nvar ZodNever = /*#__PURE__*/function (_ZodType11) {\n _inherits(ZodNever, _ZodType11);\n\n var _super12 = _createSuper(ZodNever);\n\n function ZodNever() {\n _classCallCheck(this, ZodNever);\n\n return _super12.apply(this, arguments);\n }\n\n _createClass(ZodNever, [{\n key: \"_parse\",\n value: function _parse(input) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.never,\n received: ctx.parsedType\n });\n return INVALID;\n }\n }]);\n\n return ZodNever;\n}(ZodType);\n\nZodNever.create = function (params) {\n return new ZodNever(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodNever\n }, processCreateParams(params)));\n};\n\nvar ZodVoid = /*#__PURE__*/function (_ZodType12) {\n _inherits(ZodVoid, _ZodType12);\n\n var _super13 = _createSuper(ZodVoid);\n\n function ZodVoid() {\n _classCallCheck(this, ZodVoid);\n\n return _super13.apply(this, arguments);\n }\n\n _createClass(ZodVoid, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.undefined) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.void,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }]);\n\n return ZodVoid;\n}(ZodType);\n\nZodVoid.create = function (params) {\n return new ZodVoid(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodVoid\n }, processCreateParams(params)));\n};\n\nvar ZodArray = /*#__PURE__*/function (_ZodType13) {\n _inherits(ZodArray, _ZodType13);\n\n var _super14 = _createSuper(ZodArray);\n\n function ZodArray() {\n _classCallCheck(this, ZodArray);\n\n return _super14.apply(this, arguments);\n }\n\n _createClass(ZodArray, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa = this._processInputParams(input),\n ctx = _this$_processInputPa.ctx,\n status = _this$_processInputPa.status;\n\n var def = this._def;\n\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n if (def.exactLength !== null) {\n var tooBig = ctx.data.length > def.exactLength.value;\n var tooSmall = ctx.data.length < def.exactLength.value;\n\n if (tooBig || tooSmall) {\n addIssueToContext(ctx, {\n code: tooBig ? ZodIssueCode.too_big : ZodIssueCode.too_small,\n minimum: tooSmall ? def.exactLength.value : undefined,\n maximum: tooBig ? def.exactLength.value : undefined,\n type: \"array\",\n inclusive: true,\n exact: true,\n message: def.exactLength.message\n });\n status.dirty();\n }\n }\n\n if (def.minLength !== null) {\n if (ctx.data.length < def.minLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minLength.value,\n type: \"array\",\n inclusive: true,\n exact: false,\n message: def.minLength.message\n });\n status.dirty();\n }\n }\n\n if (def.maxLength !== null) {\n if (ctx.data.length > def.maxLength.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxLength.value,\n type: \"array\",\n inclusive: true,\n exact: false,\n message: def.maxLength.message\n });\n status.dirty();\n }\n }\n\n if (ctx.common.async) {\n return Promise.all(_toConsumableArray(ctx.data).map(function (item, i) {\n return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n })).then(function (result) {\n return ParseStatus.mergeArray(status, result);\n });\n }\n\n var result = _toConsumableArray(ctx.data).map(function (item, i) {\n return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n\n return ParseStatus.mergeArray(status, result);\n }\n }, {\n key: \"element\",\n get: function get() {\n return this._def.type;\n }\n }, {\n key: \"min\",\n value: function min(minLength, message) {\n return new ZodArray(_objectSpread(_objectSpread({}, this._def), {}, {\n minLength: {\n value: minLength,\n message: errorUtil.toString(message)\n }\n }));\n }\n }, {\n key: \"max\",\n value: function max(maxLength, message) {\n return new ZodArray(_objectSpread(_objectSpread({}, this._def), {}, {\n maxLength: {\n value: maxLength,\n message: errorUtil.toString(message)\n }\n }));\n }\n }, {\n key: \"length\",\n value: function length(len, message) {\n return new ZodArray(_objectSpread(_objectSpread({}, this._def), {}, {\n exactLength: {\n value: len,\n message: errorUtil.toString(message)\n }\n }));\n }\n }, {\n key: \"nonempty\",\n value: function nonempty(message) {\n return this.min(1, message);\n }\n }]);\n\n return ZodArray;\n}(ZodType);\n\nZodArray.create = function (schema, params) {\n return new ZodArray(_objectSpread({\n type: schema,\n minLength: null,\n maxLength: null,\n exactLength: null,\n typeName: ZodFirstPartyTypeKind.ZodArray\n }, processCreateParams(params)));\n}; /////////////////////////////////////////\n/////////////////////////////////////////\n////////// //////////\n////////// ZodObject //////////\n////////// //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\n\n\nvar objectUtil;\n\n(function (objectUtil) {\n objectUtil.mergeShapes = function (first, second) {\n return _objectSpread(_objectSpread({}, first), second);\n };\n})(objectUtil || (objectUtil = {}));\n\nfunction deepPartialify(schema) {\n if (schema instanceof ZodObject) {\n var newShape = {};\n\n for (var key in schema.shape) {\n var fieldSchema = schema.shape[key];\n newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n }\n\n return new ZodObject(_objectSpread(_objectSpread({}, schema._def), {}, {\n shape: function shape() {\n return newShape;\n }\n }));\n } else if (schema instanceof ZodArray) {\n return ZodArray.create(deepPartialify(schema.element));\n } else if (schema instanceof ZodOptional) {\n return ZodOptional.create(deepPartialify(schema.unwrap()));\n } else if (schema instanceof ZodNullable) {\n return ZodNullable.create(deepPartialify(schema.unwrap()));\n } else if (schema instanceof ZodTuple) {\n return ZodTuple.create(schema.items.map(function (item) {\n return deepPartialify(item);\n }));\n } else {\n return schema;\n }\n}\n\nvar ZodObject = /*#__PURE__*/function (_ZodType14) {\n _inherits(ZodObject, _ZodType14);\n\n var _super15 = _createSuper(ZodObject);\n\n function ZodObject() {\n var _this6;\n\n _classCallCheck(this, ZodObject);\n\n _this6 = _super15.apply(this, arguments);\n _this6._cached = null;\n /**\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n * If you want to pass through unknown properties, use `.passthrough()` instead.\n */\n\n _this6.nonstrict = _this6.passthrough; // extend<\n // Augmentation extends ZodRawShape,\n // NewOutput extends util.flatten<{\n // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation\n // ? Augmentation[k][\"_output\"]\n // : k extends keyof Output\n // ? Output[k]\n // : never;\n // }>,\n // NewInput extends util.flatten<{\n // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation\n // ? Augmentation[k][\"_input\"]\n // : k extends keyof Input\n // ? Input[k]\n // : never;\n // }>\n // >(\n // augmentation: Augmentation\n // ): ZodObject<\n // extendShape,\n // UnknownKeys,\n // Catchall,\n // NewOutput,\n // NewInput\n // > {\n // return new ZodObject({\n // ...this._def,\n // shape: () => ({\n // ...this._def.shape(),\n // ...augmentation,\n // }),\n // }) as any;\n // }\n\n /**\n * @deprecated Use `.extend` instead\n * */\n\n _this6.augment = _this6.extend;\n return _this6;\n }\n\n _createClass(ZodObject, [{\n key: \"_getCached\",\n value: function _getCached() {\n if (this._cached !== null) return this._cached;\n\n var shape = this._def.shape();\n\n var keys = util.objectKeys(shape);\n return this._cached = {\n shape: shape,\n keys: keys\n };\n }\n }, {\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.object) {\n var _ctx6 = this._getOrReturnCtx(input);\n\n addIssueToContext(_ctx6, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: _ctx6.parsedType\n });\n return INVALID;\n }\n\n var _this$_processInputPa2 = this._processInputParams(input),\n status = _this$_processInputPa2.status,\n ctx = _this$_processInputPa2.ctx;\n\n var _this$_getCached = this._getCached(),\n shape = _this$_getCached.shape,\n shapeKeys = _this$_getCached.keys;\n\n var extraKeys = [];\n\n if (!(this._def.catchall instanceof ZodNever && this._def.unknownKeys === \"strip\")) {\n for (var key in ctx.data) {\n if (!shapeKeys.includes(key)) {\n extraKeys.push(key);\n }\n }\n }\n\n var pairs = [];\n\n var _iterator20 = _createForOfIteratorHelper(shapeKeys),\n _step20;\n\n try {\n for (_iterator20.s(); !(_step20 = _iterator20.n()).done;) {\n var _key4 = _step20.value;\n var keyValidator = shape[_key4];\n var _value = ctx.data[_key4];\n pairs.push({\n key: {\n status: \"valid\",\n value: _key4\n },\n value: keyValidator._parse(new ParseInputLazyPath(ctx, _value, ctx.path, _key4)),\n alwaysSet: _key4 in ctx.data\n });\n }\n } catch (err) {\n _iterator20.e(err);\n } finally {\n _iterator20.f();\n }\n\n if (this._def.catchall instanceof ZodNever) {\n var unknownKeys = this._def.unknownKeys;\n\n if (unknownKeys === \"passthrough\") {\n var _iterator21 = _createForOfIteratorHelper(extraKeys),\n _step21;\n\n try {\n for (_iterator21.s(); !(_step21 = _iterator21.n()).done;) {\n var _key = _step21.value;\n pairs.push({\n key: {\n status: \"valid\",\n value: _key\n },\n value: {\n status: \"valid\",\n value: ctx.data[_key]\n }\n });\n }\n } catch (err) {\n _iterator21.e(err);\n } finally {\n _iterator21.f();\n }\n } else if (unknownKeys === \"strict\") {\n if (extraKeys.length > 0) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.unrecognized_keys,\n keys: extraKeys\n });\n status.dirty();\n }\n } else if (unknownKeys === \"strip\") ;else {\n throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\");\n }\n } else {\n // run catchall validation\n var catchall = this._def.catchall;\n\n var _iterator22 = _createForOfIteratorHelper(extraKeys),\n _step22;\n\n try {\n for (_iterator22.s(); !(_step22 = _iterator22.n()).done;) {\n var _key2 = _step22.value;\n var value = ctx.data[_key2];\n pairs.push({\n key: {\n status: \"valid\",\n value: _key2\n },\n value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, _key2) //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: _key2 in ctx.data\n });\n }\n } catch (err) {\n _iterator22.e(err);\n } finally {\n _iterator22.f();\n }\n }\n\n if (ctx.common.async) {\n return Promise.resolve().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {\n var syncPairs, _iterator23, _step23, pair, _key3;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n syncPairs = [];\n _iterator23 = _createForOfIteratorHelper(pairs);\n _context4.prev = 2;\n\n _iterator23.s();\n\n case 4:\n if ((_step23 = _iterator23.n()).done) {\n _context4.next = 19;\n break;\n }\n\n pair = _step23.value;\n _context4.next = 8;\n return pair.key;\n\n case 8:\n _key3 = _context4.sent;\n _context4.t0 = syncPairs;\n _context4.t1 = _key3;\n _context4.next = 13;\n return pair.value;\n\n case 13:\n _context4.t2 = _context4.sent;\n _context4.t3 = pair.alwaysSet;\n _context4.t4 = {\n key: _context4.t1,\n value: _context4.t2,\n alwaysSet: _context4.t3\n };\n\n _context4.t0.push.call(_context4.t0, _context4.t4);\n\n case 17:\n _context4.next = 4;\n break;\n\n case 19:\n _context4.next = 24;\n break;\n\n case 21:\n _context4.prev = 21;\n _context4.t5 = _context4[\"catch\"](2);\n\n _iterator23.e(_context4.t5);\n\n case 24:\n _context4.prev = 24;\n\n _iterator23.f();\n\n return _context4.finish(24);\n\n case 27:\n return _context4.abrupt(\"return\", syncPairs);\n\n case 28:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, null, [[2, 21, 24, 27]]);\n }))).then(function (syncPairs) {\n return ParseStatus.mergeObjectSync(status, syncPairs);\n });\n } else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n }, {\n key: \"shape\",\n get: function get() {\n return this._def.shape();\n }\n }, {\n key: \"strict\",\n value: function strict(message) {\n var _this7 = this;\n\n errorUtil.errToObj;\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n unknownKeys: \"strict\"\n }, message !== undefined ? {\n errorMap: function errorMap(issue, ctx) {\n var _a, _b, _c, _d;\n\n var defaultError = (_c = (_b = (_a = _this7._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n if (issue.code === \"unrecognized_keys\") return {\n message: (_d = errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError\n };\n return {\n message: defaultError\n };\n }\n } : {}));\n }\n }, {\n key: \"strip\",\n value: function strip() {\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n unknownKeys: \"strip\"\n }));\n }\n }, {\n key: \"passthrough\",\n value: function passthrough() {\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n unknownKeys: \"passthrough\"\n }));\n } // const AugmentFactory =\n // (def: Def) =>\n // (\n // augmentation: Augmentation\n // ): ZodObject<\n // extendShape, Augmentation>,\n // Def[\"unknownKeys\"],\n // Def[\"catchall\"]\n // > => {\n // return new ZodObject({\n // ...def,\n // shape: () => ({\n // ...def.shape(),\n // ...augmentation,\n // }),\n // }) as any;\n // };\n\n }, {\n key: \"extend\",\n value: function extend(augmentation) {\n var _this8 = this;\n\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n shape: function shape() {\n return _objectSpread(_objectSpread({}, _this8._def.shape()), augmentation);\n }\n }));\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n\n }, {\n key: \"merge\",\n value: function merge(merging) {\n var _this9 = this;\n\n var merged = new ZodObject({\n unknownKeys: merging._def.unknownKeys,\n catchall: merging._def.catchall,\n shape: function shape() {\n return objectUtil.mergeShapes(_this9._def.shape(), merging._def.shape());\n },\n typeName: ZodFirstPartyTypeKind.ZodObject\n });\n return merged;\n } // merge<\n // Incoming extends AnyZodObject,\n // Augmentation extends Incoming[\"shape\"],\n // NewOutput extends {\n // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation\n // ? Augmentation[k][\"_output\"]\n // : k extends keyof Output\n // ? Output[k]\n // : never;\n // },\n // NewInput extends {\n // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation\n // ? Augmentation[k][\"_input\"]\n // : k extends keyof Input\n // ? Input[k]\n // : never;\n // }\n // >(\n // merging: Incoming\n // ): ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"],\n // NewOutput,\n // NewInput\n // > {\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n\n }, {\n key: \"setKey\",\n value: function setKey(key, schema) {\n return this.augment(_defineProperty({}, key, schema));\n } // merge(\n // merging: Incoming\n // ): //ZodObject = (merging) => {\n // ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"]\n // > {\n // // const mergedShape = objectUtil.mergeShapes(\n // // this._def.shape(),\n // // merging._def.shape()\n // // );\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n\n }, {\n key: \"catchall\",\n value: function catchall(index) {\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n catchall: index\n }));\n }\n }, {\n key: \"pick\",\n value: function pick(mask) {\n var _this10 = this;\n\n var _shape = {};\n util.objectKeys(mask).forEach(function (key) {\n if (mask[key] && _this10.shape[key]) {\n _shape[key] = _this10.shape[key];\n }\n });\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n shape: function shape() {\n return _shape;\n }\n }));\n }\n }, {\n key: \"omit\",\n value: function omit(mask) {\n var _this11 = this;\n\n var _shape2 = {};\n util.objectKeys(this.shape).forEach(function (key) {\n if (!mask[key]) {\n _shape2[key] = _this11.shape[key];\n }\n });\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n shape: function shape() {\n return _shape2;\n }\n }));\n }\n }, {\n key: \"deepPartial\",\n value: function deepPartial() {\n return deepPartialify(this);\n }\n }, {\n key: \"partial\",\n value: function partial(mask) {\n var _this12 = this;\n\n var newShape = {};\n util.objectKeys(this.shape).forEach(function (key) {\n var fieldSchema = _this12.shape[key];\n\n if (mask && !mask[key]) {\n newShape[key] = fieldSchema;\n } else {\n newShape[key] = fieldSchema.optional();\n }\n });\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n shape: function shape() {\n return newShape;\n }\n }));\n }\n }, {\n key: \"required\",\n value: function required(mask) {\n var _this13 = this;\n\n var newShape = {};\n util.objectKeys(this.shape).forEach(function (key) {\n if (mask && !mask[key]) {\n newShape[key] = _this13.shape[key];\n } else {\n var fieldSchema = _this13.shape[key];\n var newField = fieldSchema;\n\n while (newField instanceof ZodOptional) {\n newField = newField._def.innerType;\n }\n\n newShape[key] = newField;\n }\n });\n return new ZodObject(_objectSpread(_objectSpread({}, this._def), {}, {\n shape: function shape() {\n return newShape;\n }\n }));\n }\n }, {\n key: \"keyof\",\n value: function keyof() {\n return createZodEnum(util.objectKeys(this.shape));\n }\n }]);\n\n return ZodObject;\n}(ZodType);\n\nZodObject.create = function (_shape3, params) {\n return new ZodObject(_objectSpread({\n shape: function shape() {\n return _shape3;\n },\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject\n }, processCreateParams(params)));\n};\n\nZodObject.strictCreate = function (_shape4, params) {\n return new ZodObject(_objectSpread({\n shape: function shape() {\n return _shape4;\n },\n unknownKeys: \"strict\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject\n }, processCreateParams(params)));\n};\n\nZodObject.lazycreate = function (shape, params) {\n return new ZodObject(_objectSpread({\n shape: shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject\n }, processCreateParams(params)));\n};\n\nvar ZodUnion = /*#__PURE__*/function (_ZodType15) {\n _inherits(ZodUnion, _ZodType15);\n\n var _super16 = _createSuper(ZodUnion);\n\n function ZodUnion() {\n _classCallCheck(this, ZodUnion);\n\n return _super16.apply(this, arguments);\n }\n\n _createClass(ZodUnion, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa3 = this._processInputParams(input),\n ctx = _this$_processInputPa3.ctx;\n\n var options = this._def.options;\n\n function handleResults(results) {\n // return first issue-free validation if it exists\n var _iterator24 = _createForOfIteratorHelper(results),\n _step24;\n\n try {\n for (_iterator24.s(); !(_step24 = _iterator24.n()).done;) {\n var result = _step24.value;\n\n if (result.result.status === \"valid\") {\n return result.result;\n }\n }\n } catch (err) {\n _iterator24.e(err);\n } finally {\n _iterator24.f();\n }\n\n var _iterator25 = _createForOfIteratorHelper(results),\n _step25;\n\n try {\n for (_iterator25.s(); !(_step25 = _iterator25.n()).done;) {\n var _result = _step25.value;\n\n if (_result.result.status === \"dirty\") {\n var _ctx$common$issues;\n\n // add issues from dirty option\n (_ctx$common$issues = ctx.common.issues).push.apply(_ctx$common$issues, _toConsumableArray(_result.ctx.common.issues));\n\n return _result.result;\n }\n } // return invalid\n\n } catch (err) {\n _iterator25.e(err);\n } finally {\n _iterator25.f();\n }\n\n var unionErrors = results.map(function (result) {\n return new ZodError(result.ctx.common.issues);\n });\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors: unionErrors\n });\n return INVALID;\n }\n\n if (ctx.common.async) {\n return Promise.all(options.map( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(option) {\n var childCtx;\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n childCtx = _objectSpread(_objectSpread({}, ctx), {}, {\n common: _objectSpread(_objectSpread({}, ctx.common), {}, {\n issues: []\n }),\n parent: null\n });\n _context5.next = 3;\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx\n });\n\n case 3:\n _context5.t0 = _context5.sent;\n _context5.t1 = childCtx;\n return _context5.abrupt(\"return\", {\n result: _context5.t0,\n ctx: _context5.t1\n });\n\n case 6:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5);\n }));\n\n return function (_x8) {\n return _ref2.apply(this, arguments);\n };\n }())).then(handleResults);\n } else {\n var dirty = undefined;\n var issues = [];\n\n var _iterator26 = _createForOfIteratorHelper(options),\n _step26;\n\n try {\n for (_iterator26.s(); !(_step26 = _iterator26.n()).done;) {\n var option = _step26.value;\n\n var childCtx = _objectSpread(_objectSpread({}, ctx), {}, {\n common: _objectSpread(_objectSpread({}, ctx.common), {}, {\n issues: []\n }),\n parent: null\n });\n\n var result = option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx\n });\n\n if (result.status === \"valid\") {\n return result;\n } else if (result.status === \"dirty\" && !dirty) {\n dirty = {\n result: result,\n ctx: childCtx\n };\n }\n\n if (childCtx.common.issues.length) {\n issues.push(childCtx.common.issues);\n }\n }\n } catch (err) {\n _iterator26.e(err);\n } finally {\n _iterator26.f();\n }\n\n if (dirty) {\n var _ctx$common$issues2;\n\n (_ctx$common$issues2 = ctx.common.issues).push.apply(_ctx$common$issues2, _toConsumableArray(dirty.ctx.common.issues));\n\n return dirty.result;\n }\n\n var unionErrors = issues.map(function (issues) {\n return new ZodError(issues);\n });\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union,\n unionErrors: unionErrors\n });\n return INVALID;\n }\n }\n }, {\n key: \"options\",\n get: function get() {\n return this._def.options;\n }\n }]);\n\n return ZodUnion;\n}(ZodType);\n\nZodUnion.create = function (types, params) {\n return new ZodUnion(_objectSpread({\n options: types,\n typeName: ZodFirstPartyTypeKind.ZodUnion\n }, processCreateParams(params)));\n}; /////////////////////////////////////////////////////\n/////////////////////////////////////////////////////\n////////// //////////\n////////// ZodDiscriminatedUnion //////////\n////////// //////////\n/////////////////////////////////////////////////////\n/////////////////////////////////////////////////////\n\n\nvar getDiscriminator = function getDiscriminator(type) {\n if (type instanceof ZodLazy) {\n return getDiscriminator(type.schema);\n } else if (type instanceof ZodEffects) {\n return getDiscriminator(type.innerType());\n } else if (type instanceof ZodLiteral) {\n return [type.value];\n } else if (type instanceof ZodEnum) {\n return type.options;\n } else if (type instanceof ZodNativeEnum) {\n // eslint-disable-next-line ban/ban\n return Object.keys(type.enum);\n } else if (type instanceof ZodDefault) {\n return getDiscriminator(type._def.innerType);\n } else if (type instanceof ZodUndefined) {\n return [undefined];\n } else if (type instanceof ZodNull) {\n return [null];\n } else {\n return null;\n }\n};\n\nvar ZodDiscriminatedUnion = /*#__PURE__*/function (_ZodType16) {\n _inherits(ZodDiscriminatedUnion, _ZodType16);\n\n var _super17 = _createSuper(ZodDiscriminatedUnion);\n\n function ZodDiscriminatedUnion() {\n _classCallCheck(this, ZodDiscriminatedUnion);\n\n return _super17.apply(this, arguments);\n }\n\n _createClass(ZodDiscriminatedUnion, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa4 = this._processInputParams(input),\n ctx = _this$_processInputPa4.ctx;\n\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n var discriminator = this.discriminator;\n var discriminatorValue = ctx.data[discriminator];\n var option = this.optionsMap.get(discriminatorValue);\n\n if (!option) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_union_discriminator,\n options: Array.from(this.optionsMap.keys()),\n path: [discriminator]\n });\n return INVALID;\n }\n\n if (ctx.common.async) {\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n } else {\n return option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n }\n }\n }, {\n key: \"discriminator\",\n get: function get() {\n return this._def.discriminator;\n }\n }, {\n key: \"options\",\n get: function get() {\n return this._def.options;\n }\n }, {\n key: \"optionsMap\",\n get: function get() {\n return this._def.optionsMap;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n\n }], [{\n key: \"create\",\n value: function create(discriminator, options, params) {\n // Get all the valid discriminator values\n var optionsMap = new Map(); // try {\n\n var _iterator27 = _createForOfIteratorHelper(options),\n _step27;\n\n try {\n for (_iterator27.s(); !(_step27 = _iterator27.n()).done;) {\n var type = _step27.value;\n var discriminatorValues = getDiscriminator(type.shape[discriminator]);\n\n if (!discriminatorValues) {\n throw new Error(\"A discriminator value for key `\".concat(discriminator, \"` could not be extracted from all schema options\"));\n }\n\n var _iterator28 = _createForOfIteratorHelper(discriminatorValues),\n _step28;\n\n try {\n for (_iterator28.s(); !(_step28 = _iterator28.n()).done;) {\n var value = _step28.value;\n\n if (optionsMap.has(value)) {\n throw new Error(\"Discriminator property \".concat(String(discriminator), \" has duplicate value \").concat(String(value)));\n }\n\n optionsMap.set(value, type);\n }\n } catch (err) {\n _iterator28.e(err);\n } finally {\n _iterator28.f();\n }\n }\n } catch (err) {\n _iterator27.e(err);\n } finally {\n _iterator27.f();\n }\n\n return new ZodDiscriminatedUnion(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n discriminator: discriminator,\n options: options,\n optionsMap: optionsMap\n }, processCreateParams(params)));\n }\n }]);\n\n return ZodDiscriminatedUnion;\n}(ZodType);\n\nfunction mergeValues(a, b) {\n var aType = getParsedType(a);\n var bType = getParsedType(b);\n\n if (a === b) {\n return {\n valid: true,\n data: a\n };\n } else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {\n var bKeys = util.objectKeys(b);\n var sharedKeys = util.objectKeys(a).filter(function (key) {\n return bKeys.indexOf(key) !== -1;\n });\n\n var newObj = _objectSpread(_objectSpread({}, a), b);\n\n var _iterator29 = _createForOfIteratorHelper(sharedKeys),\n _step29;\n\n try {\n for (_iterator29.s(); !(_step29 = _iterator29.n()).done;) {\n var key = _step29.value;\n var sharedValue = mergeValues(a[key], b[key]);\n\n if (!sharedValue.valid) {\n return {\n valid: false\n };\n }\n\n newObj[key] = sharedValue.data;\n }\n } catch (err) {\n _iterator29.e(err);\n } finally {\n _iterator29.f();\n }\n\n return {\n valid: true,\n data: newObj\n };\n } else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {\n if (a.length !== b.length) {\n return {\n valid: false\n };\n }\n\n var newArray = [];\n\n for (var index = 0; index < a.length; index++) {\n var itemA = a[index];\n var itemB = b[index];\n\n var _sharedValue = mergeValues(itemA, itemB);\n\n if (!_sharedValue.valid) {\n return {\n valid: false\n };\n }\n\n newArray.push(_sharedValue.data);\n }\n\n return {\n valid: true,\n data: newArray\n };\n } else if (aType === ZodParsedType.date && bType === ZodParsedType.date && +a === +b) {\n return {\n valid: true,\n data: a\n };\n } else {\n return {\n valid: false\n };\n }\n}\n\nvar ZodIntersection = /*#__PURE__*/function (_ZodType17) {\n _inherits(ZodIntersection, _ZodType17);\n\n var _super18 = _createSuper(ZodIntersection);\n\n function ZodIntersection() {\n _classCallCheck(this, ZodIntersection);\n\n return _super18.apply(this, arguments);\n }\n\n _createClass(ZodIntersection, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa5 = this._processInputParams(input),\n status = _this$_processInputPa5.status,\n ctx = _this$_processInputPa5.ctx;\n\n var handleParsed = function handleParsed(parsedLeft, parsedRight) {\n if (isAborted(parsedLeft) || isAborted(parsedRight)) {\n return INVALID;\n }\n\n var merged = mergeValues(parsedLeft.value, parsedRight.value);\n\n if (!merged.valid) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_intersection_types\n });\n return INVALID;\n }\n\n if (isDirty(parsedLeft) || isDirty(parsedRight)) {\n status.dirty();\n }\n\n return {\n status: status.value,\n value: merged.data\n };\n };\n\n if (ctx.common.async) {\n return Promise.all([this._def.left._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }), this._def.right._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n })]).then(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n left = _ref4[0],\n right = _ref4[1];\n\n return handleParsed(left, right);\n });\n } else {\n return handleParsed(this._def.left._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }), this._def.right._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }));\n }\n }\n }]);\n\n return ZodIntersection;\n}(ZodType);\n\nZodIntersection.create = function (left, right, params) {\n return new ZodIntersection(_objectSpread({\n left: left,\n right: right,\n typeName: ZodFirstPartyTypeKind.ZodIntersection\n }, processCreateParams(params)));\n};\n\nvar ZodTuple = /*#__PURE__*/function (_ZodType18) {\n _inherits(ZodTuple, _ZodType18);\n\n var _super19 = _createSuper(ZodTuple);\n\n function ZodTuple() {\n _classCallCheck(this, ZodTuple);\n\n return _super19.apply(this, arguments);\n }\n\n _createClass(ZodTuple, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this14 = this;\n\n var _this$_processInputPa6 = this._processInputParams(input),\n status = _this$_processInputPa6.status,\n ctx = _this$_processInputPa6.ctx;\n\n if (ctx.parsedType !== ZodParsedType.array) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.array,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n if (ctx.data.length < this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: this._def.items.length,\n inclusive: true,\n exact: false,\n type: \"array\"\n });\n return INVALID;\n }\n\n var rest = this._def.rest;\n\n if (!rest && ctx.data.length > this._def.items.length) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: this._def.items.length,\n inclusive: true,\n exact: false,\n type: \"array\"\n });\n status.dirty();\n }\n\n var items = _toConsumableArray(ctx.data).map(function (item, itemIndex) {\n var schema = _this14._def.items[itemIndex] || _this14._def.rest;\n if (!schema) return null;\n return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n }).filter(function (x) {\n return !!x;\n }); // filter nulls\n\n\n if (ctx.common.async) {\n return Promise.all(items).then(function (results) {\n return ParseStatus.mergeArray(status, results);\n });\n } else {\n return ParseStatus.mergeArray(status, items);\n }\n }\n }, {\n key: \"items\",\n get: function get() {\n return this._def.items;\n }\n }, {\n key: \"rest\",\n value: function rest(_rest) {\n return new ZodTuple(_objectSpread(_objectSpread({}, this._def), {}, {\n rest: _rest\n }));\n }\n }]);\n\n return ZodTuple;\n}(ZodType);\n\nZodTuple.create = function (schemas, params) {\n if (!Array.isArray(schemas)) {\n throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n }\n\n return new ZodTuple(_objectSpread({\n items: schemas,\n typeName: ZodFirstPartyTypeKind.ZodTuple,\n rest: null\n }, processCreateParams(params)));\n};\n\nvar ZodRecord = /*#__PURE__*/function (_ZodType19) {\n _inherits(ZodRecord, _ZodType19);\n\n var _super20 = _createSuper(ZodRecord);\n\n function ZodRecord() {\n _classCallCheck(this, ZodRecord);\n\n return _super20.apply(this, arguments);\n }\n\n _createClass(ZodRecord, [{\n key: \"keySchema\",\n get: function get() {\n return this._def.keyType;\n }\n }, {\n key: \"valueSchema\",\n get: function get() {\n return this._def.valueType;\n }\n }, {\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa7 = this._processInputParams(input),\n status = _this$_processInputPa7.status,\n ctx = _this$_processInputPa7.ctx;\n\n if (ctx.parsedType !== ZodParsedType.object) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.object,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n var pairs = [];\n var keyType = this._def.keyType;\n var valueType = this._def.valueType;\n\n for (var key in ctx.data) {\n pairs.push({\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key))\n });\n }\n\n if (ctx.common.async) {\n return ParseStatus.mergeObjectAsync(status, pairs);\n } else {\n return ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n }, {\n key: \"element\",\n get: function get() {\n return this._def.valueType;\n }\n }], [{\n key: \"create\",\n value: function create(first, second, third) {\n if (second instanceof ZodType) {\n return new ZodRecord(_objectSpread({\n keyType: first,\n valueType: second,\n typeName: ZodFirstPartyTypeKind.ZodRecord\n }, processCreateParams(third)));\n }\n\n return new ZodRecord(_objectSpread({\n keyType: ZodString.create(),\n valueType: first,\n typeName: ZodFirstPartyTypeKind.ZodRecord\n }, processCreateParams(second)));\n }\n }]);\n\n return ZodRecord;\n}(ZodType);\n\nvar ZodMap = /*#__PURE__*/function (_ZodType20) {\n _inherits(ZodMap, _ZodType20);\n\n var _super21 = _createSuper(ZodMap);\n\n function ZodMap() {\n _classCallCheck(this, ZodMap);\n\n return _super21.apply(this, arguments);\n }\n\n _createClass(ZodMap, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa8 = this._processInputParams(input),\n status = _this$_processInputPa8.status,\n ctx = _this$_processInputPa8.ctx;\n\n if (ctx.parsedType !== ZodParsedType.map) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.map,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n var keyType = this._def.keyType;\n var valueType = this._def.valueType;\n\n var pairs = _toConsumableArray(ctx.data.entries()).map(function (_ref5, index) {\n var _ref6 = _slicedToArray(_ref5, 2),\n key = _ref6[0],\n value = _ref6[1];\n\n return {\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"]))\n };\n });\n\n if (ctx.common.async) {\n var finalMap = new Map();\n return Promise.resolve().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {\n var _iterator30, _step30, pair, key, value;\n\n return _regeneratorRuntime.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n _iterator30 = _createForOfIteratorHelper(pairs);\n _context6.prev = 1;\n\n _iterator30.s();\n\n case 3:\n if ((_step30 = _iterator30.n()).done) {\n _context6.next = 17;\n break;\n }\n\n pair = _step30.value;\n _context6.next = 7;\n return pair.key;\n\n case 7:\n key = _context6.sent;\n _context6.next = 10;\n return pair.value;\n\n case 10:\n value = _context6.sent;\n\n if (!(key.status === \"aborted\" || value.status === \"aborted\")) {\n _context6.next = 13;\n break;\n }\n\n return _context6.abrupt(\"return\", INVALID);\n\n case 13:\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n\n finalMap.set(key.value, value.value);\n\n case 15:\n _context6.next = 3;\n break;\n\n case 17:\n _context6.next = 22;\n break;\n\n case 19:\n _context6.prev = 19;\n _context6.t0 = _context6[\"catch\"](1);\n\n _iterator30.e(_context6.t0);\n\n case 22:\n _context6.prev = 22;\n\n _iterator30.f();\n\n return _context6.finish(22);\n\n case 25:\n return _context6.abrupt(\"return\", {\n status: status.value,\n value: finalMap\n });\n\n case 26:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6, null, [[1, 19, 22, 25]]);\n })));\n } else {\n var _finalMap = new Map();\n\n var _iterator31 = _createForOfIteratorHelper(pairs),\n _step31;\n\n try {\n for (_iterator31.s(); !(_step31 = _iterator31.n()).done;) {\n var pair = _step31.value;\n var key = pair.key;\n var value = pair.value;\n\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return INVALID;\n }\n\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n\n _finalMap.set(key.value, value.value);\n }\n } catch (err) {\n _iterator31.e(err);\n } finally {\n _iterator31.f();\n }\n\n return {\n status: status.value,\n value: _finalMap\n };\n }\n }\n }]);\n\n return ZodMap;\n}(ZodType);\n\nZodMap.create = function (keyType, valueType, params) {\n return new ZodMap(_objectSpread({\n valueType: valueType,\n keyType: keyType,\n typeName: ZodFirstPartyTypeKind.ZodMap\n }, processCreateParams(params)));\n};\n\nvar ZodSet = /*#__PURE__*/function (_ZodType21) {\n _inherits(ZodSet, _ZodType21);\n\n var _super22 = _createSuper(ZodSet);\n\n function ZodSet() {\n _classCallCheck(this, ZodSet);\n\n return _super22.apply(this, arguments);\n }\n\n _createClass(ZodSet, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa9 = this._processInputParams(input),\n status = _this$_processInputPa9.status,\n ctx = _this$_processInputPa9.ctx;\n\n if (ctx.parsedType !== ZodParsedType.set) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.set,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n var def = this._def;\n\n if (def.minSize !== null) {\n if (ctx.data.size < def.minSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_small,\n minimum: def.minSize.value,\n type: \"set\",\n inclusive: true,\n exact: false,\n message: def.minSize.message\n });\n status.dirty();\n }\n }\n\n if (def.maxSize !== null) {\n if (ctx.data.size > def.maxSize.value) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.too_big,\n maximum: def.maxSize.value,\n type: \"set\",\n inclusive: true,\n exact: false,\n message: def.maxSize.message\n });\n status.dirty();\n }\n }\n\n var valueType = this._def.valueType;\n\n function finalizeSet(elements) {\n var parsedSet = new Set();\n\n var _iterator32 = _createForOfIteratorHelper(elements),\n _step32;\n\n try {\n for (_iterator32.s(); !(_step32 = _iterator32.n()).done;) {\n var element = _step32.value;\n if (element.status === \"aborted\") return INVALID;\n if (element.status === \"dirty\") status.dirty();\n parsedSet.add(element.value);\n }\n } catch (err) {\n _iterator32.e(err);\n } finally {\n _iterator32.f();\n }\n\n return {\n status: status.value,\n value: parsedSet\n };\n }\n\n var elements = _toConsumableArray(ctx.data.values()).map(function (item, i) {\n return valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n\n if (ctx.common.async) {\n return Promise.all(elements).then(function (elements) {\n return finalizeSet(elements);\n });\n } else {\n return finalizeSet(elements);\n }\n }\n }, {\n key: \"min\",\n value: function min(minSize, message) {\n return new ZodSet(_objectSpread(_objectSpread({}, this._def), {}, {\n minSize: {\n value: minSize,\n message: errorUtil.toString(message)\n }\n }));\n }\n }, {\n key: \"max\",\n value: function max(maxSize, message) {\n return new ZodSet(_objectSpread(_objectSpread({}, this._def), {}, {\n maxSize: {\n value: maxSize,\n message: errorUtil.toString(message)\n }\n }));\n }\n }, {\n key: \"size\",\n value: function size(_size, message) {\n return this.min(_size, message).max(_size, message);\n }\n }, {\n key: \"nonempty\",\n value: function nonempty(message) {\n return this.min(1, message);\n }\n }]);\n\n return ZodSet;\n}(ZodType);\n\nZodSet.create = function (valueType, params) {\n return new ZodSet(_objectSpread({\n valueType: valueType,\n minSize: null,\n maxSize: null,\n typeName: ZodFirstPartyTypeKind.ZodSet\n }, processCreateParams(params)));\n};\n\nvar ZodFunction = /*#__PURE__*/function (_ZodType22) {\n _inherits(ZodFunction, _ZodType22);\n\n var _super23 = _createSuper(ZodFunction);\n\n function ZodFunction() {\n var _this15;\n\n _classCallCheck(this, ZodFunction);\n\n _this15 = _super23.apply(this, arguments);\n _this15.validate = _this15.implement;\n return _this15;\n }\n\n _createClass(ZodFunction, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this16 = this;\n\n var _this$_processInputPa10 = this._processInputParams(input),\n ctx = _this$_processInputPa10.ctx;\n\n if (ctx.parsedType !== ZodParsedType.function) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.function,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n function makeArgsIssue(args, error) {\n return makeIssue({\n data: args,\n path: ctx.path,\n errorMaps: [ctx.common.contextualErrorMap, ctx.schemaErrorMap, getErrorMap(), errorMap].filter(function (x) {\n return !!x;\n }),\n issueData: {\n code: ZodIssueCode.invalid_arguments,\n argumentsError: error\n }\n });\n }\n\n function makeReturnsIssue(returns, error) {\n return makeIssue({\n data: returns,\n path: ctx.path,\n errorMaps: [ctx.common.contextualErrorMap, ctx.schemaErrorMap, getErrorMap(), errorMap].filter(function (x) {\n return !!x;\n }),\n issueData: {\n code: ZodIssueCode.invalid_return_type,\n returnTypeError: error\n }\n });\n }\n\n var params = {\n errorMap: ctx.common.contextualErrorMap\n };\n var fn = ctx.data;\n\n if (this._def.returns instanceof ZodPromise) {\n return OK( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {\n var _len,\n args,\n _key5,\n error,\n parsedArgs,\n result,\n parsedReturns,\n _args7 = arguments;\n\n return _regeneratorRuntime.wrap(function _callee7$(_context7) {\n while (1) {\n switch (_context7.prev = _context7.next) {\n case 0:\n for (_len = _args7.length, args = new Array(_len), _key5 = 0; _key5 < _len; _key5++) {\n args[_key5] = _args7[_key5];\n }\n\n error = new ZodError([]);\n _context7.next = 4;\n return _this16._def.args.parseAsync(args, params).catch(function (e) {\n error.addIssue(makeArgsIssue(args, e));\n throw error;\n });\n\n case 4:\n parsedArgs = _context7.sent;\n _context7.next = 7;\n return fn.apply(void 0, _toConsumableArray(parsedArgs));\n\n case 7:\n result = _context7.sent;\n _context7.next = 10;\n return _this16._def.returns._def.type.parseAsync(result, params).catch(function (e) {\n error.addIssue(makeReturnsIssue(result, e));\n throw error;\n });\n\n case 10:\n parsedReturns = _context7.sent;\n return _context7.abrupt(\"return\", parsedReturns);\n\n case 12:\n case \"end\":\n return _context7.stop();\n }\n }\n }, _callee7);\n })));\n } else {\n return OK(function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key6 = 0; _key6 < _len2; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n var parsedArgs = _this16._def.args.safeParse(args, params);\n\n if (!parsedArgs.success) {\n throw new ZodError([makeArgsIssue(args, parsedArgs.error)]);\n }\n\n var result = fn.apply(void 0, _toConsumableArray(parsedArgs.data));\n\n var parsedReturns = _this16._def.returns.safeParse(result, params);\n\n if (!parsedReturns.success) {\n throw new ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n }\n\n return parsedReturns.data;\n });\n }\n }\n }, {\n key: \"parameters\",\n value: function parameters() {\n return this._def.args;\n }\n }, {\n key: \"returnType\",\n value: function returnType() {\n return this._def.returns;\n }\n }, {\n key: \"args\",\n value: function args() {\n for (var _len3 = arguments.length, items = new Array(_len3), _key7 = 0; _key7 < _len3; _key7++) {\n items[_key7] = arguments[_key7];\n }\n\n return new ZodFunction(_objectSpread(_objectSpread({}, this._def), {}, {\n args: ZodTuple.create(items).rest(ZodUnknown.create())\n }));\n }\n }, {\n key: \"returns\",\n value: function returns(returnType) {\n return new ZodFunction(_objectSpread(_objectSpread({}, this._def), {}, {\n returns: returnType\n }));\n }\n }, {\n key: \"implement\",\n value: function implement(func) {\n var validatedFunc = this.parse(func);\n return validatedFunc;\n }\n }, {\n key: \"strictImplement\",\n value: function strictImplement(func) {\n var validatedFunc = this.parse(func);\n return validatedFunc;\n }\n }], [{\n key: \"create\",\n value: function create(args, returns, params) {\n return new ZodFunction(_objectSpread({\n args: args ? args : ZodTuple.create([]).rest(ZodUnknown.create()),\n returns: returns || ZodUnknown.create(),\n typeName: ZodFirstPartyTypeKind.ZodFunction\n }, processCreateParams(params)));\n }\n }]);\n\n return ZodFunction;\n}(ZodType);\n\nvar ZodLazy = /*#__PURE__*/function (_ZodType23) {\n _inherits(ZodLazy, _ZodType23);\n\n var _super24 = _createSuper(ZodLazy);\n\n function ZodLazy() {\n _classCallCheck(this, ZodLazy);\n\n return _super24.apply(this, arguments);\n }\n\n _createClass(ZodLazy, [{\n key: \"schema\",\n get: function get() {\n return this._def.getter();\n }\n }, {\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa11 = this._processInputParams(input),\n ctx = _this$_processInputPa11.ctx;\n\n var lazySchema = this._def.getter();\n\n return lazySchema._parse({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n }\n }]);\n\n return ZodLazy;\n}(ZodType);\n\nZodLazy.create = function (getter, params) {\n return new ZodLazy(_objectSpread({\n getter: getter,\n typeName: ZodFirstPartyTypeKind.ZodLazy\n }, processCreateParams(params)));\n};\n\nvar ZodLiteral = /*#__PURE__*/function (_ZodType24) {\n _inherits(ZodLiteral, _ZodType24);\n\n var _super25 = _createSuper(ZodLiteral);\n\n function ZodLiteral() {\n _classCallCheck(this, ZodLiteral);\n\n return _super25.apply(this, arguments);\n }\n\n _createClass(ZodLiteral, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (input.data !== this._def.value) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_literal,\n expected: this._def.value\n });\n return INVALID;\n }\n\n return {\n status: \"valid\",\n value: input.data\n };\n }\n }, {\n key: \"value\",\n get: function get() {\n return this._def.value;\n }\n }]);\n\n return ZodLiteral;\n}(ZodType);\n\nZodLiteral.create = function (value, params) {\n return new ZodLiteral(_objectSpread({\n value: value,\n typeName: ZodFirstPartyTypeKind.ZodLiteral\n }, processCreateParams(params)));\n};\n\nfunction createZodEnum(values, params) {\n return new ZodEnum(_objectSpread({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodEnum\n }, processCreateParams(params)));\n}\n\nvar ZodEnum = /*#__PURE__*/function (_ZodType25) {\n _inherits(ZodEnum, _ZodType25);\n\n var _super26 = _createSuper(ZodEnum);\n\n function ZodEnum() {\n _classCallCheck(this, ZodEnum);\n\n return _super26.apply(this, arguments);\n }\n\n _createClass(ZodEnum, [{\n key: \"_parse\",\n value: function _parse(input) {\n if (typeof input.data !== \"string\") {\n var ctx = this._getOrReturnCtx(input);\n\n var expectedValues = this._def.values;\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type\n });\n return INVALID;\n }\n\n if (this._def.values.indexOf(input.data) === -1) {\n var _ctx7 = this._getOrReturnCtx(input);\n\n var _expectedValues = this._def.values;\n addIssueToContext(_ctx7, {\n received: _ctx7.data,\n code: ZodIssueCode.invalid_enum_value,\n options: _expectedValues\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }, {\n key: \"options\",\n get: function get() {\n return this._def.values;\n }\n }, {\n key: \"enum\",\n get: function get() {\n var enumValues = {};\n\n var _iterator33 = _createForOfIteratorHelper(this._def.values),\n _step33;\n\n try {\n for (_iterator33.s(); !(_step33 = _iterator33.n()).done;) {\n var val = _step33.value;\n enumValues[val] = val;\n }\n } catch (err) {\n _iterator33.e(err);\n } finally {\n _iterator33.f();\n }\n\n return enumValues;\n }\n }, {\n key: \"Values\",\n get: function get() {\n var enumValues = {};\n\n var _iterator34 = _createForOfIteratorHelper(this._def.values),\n _step34;\n\n try {\n for (_iterator34.s(); !(_step34 = _iterator34.n()).done;) {\n var val = _step34.value;\n enumValues[val] = val;\n }\n } catch (err) {\n _iterator34.e(err);\n } finally {\n _iterator34.f();\n }\n\n return enumValues;\n }\n }, {\n key: \"Enum\",\n get: function get() {\n var enumValues = {};\n\n var _iterator35 = _createForOfIteratorHelper(this._def.values),\n _step35;\n\n try {\n for (_iterator35.s(); !(_step35 = _iterator35.n()).done;) {\n var val = _step35.value;\n enumValues[val] = val;\n }\n } catch (err) {\n _iterator35.e(err);\n } finally {\n _iterator35.f();\n }\n\n return enumValues;\n }\n }, {\n key: \"extract\",\n value: function extract(values) {\n return ZodEnum.create(values);\n }\n }, {\n key: \"exclude\",\n value: function exclude(values) {\n return ZodEnum.create(this.options.filter(function (opt) {\n return !values.includes(opt);\n }));\n }\n }]);\n\n return ZodEnum;\n}(ZodType);\n\nZodEnum.create = createZodEnum;\n\nvar ZodNativeEnum = /*#__PURE__*/function (_ZodType26) {\n _inherits(ZodNativeEnum, _ZodType26);\n\n var _super27 = _createSuper(ZodNativeEnum);\n\n function ZodNativeEnum() {\n _classCallCheck(this, ZodNativeEnum);\n\n return _super27.apply(this, arguments);\n }\n\n _createClass(ZodNativeEnum, [{\n key: \"_parse\",\n value: function _parse(input) {\n var nativeEnumValues = util.getValidEnumValues(this._def.values);\n\n var ctx = this._getOrReturnCtx(input);\n\n if (ctx.parsedType !== ZodParsedType.string && ctx.parsedType !== ZodParsedType.number) {\n var expectedValues = util.objectValues(nativeEnumValues);\n addIssueToContext(ctx, {\n expected: util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodIssueCode.invalid_type\n });\n return INVALID;\n }\n\n if (nativeEnumValues.indexOf(input.data) === -1) {\n var _expectedValues2 = util.objectValues(nativeEnumValues);\n\n addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodIssueCode.invalid_enum_value,\n options: _expectedValues2\n });\n return INVALID;\n }\n\n return OK(input.data);\n }\n }, {\n key: \"enum\",\n get: function get() {\n return this._def.values;\n }\n }]);\n\n return ZodNativeEnum;\n}(ZodType);\n\nZodNativeEnum.create = function (values, params) {\n return new ZodNativeEnum(_objectSpread({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum\n }, processCreateParams(params)));\n};\n\nvar ZodPromise = /*#__PURE__*/function (_ZodType27) {\n _inherits(ZodPromise, _ZodType27);\n\n var _super28 = _createSuper(ZodPromise);\n\n function ZodPromise() {\n _classCallCheck(this, ZodPromise);\n\n return _super28.apply(this, arguments);\n }\n\n _createClass(ZodPromise, [{\n key: \"unwrap\",\n value: function unwrap() {\n return this._def.type;\n }\n }, {\n key: \"_parse\",\n value: function _parse(input) {\n var _this17 = this;\n\n var _this$_processInputPa12 = this._processInputParams(input),\n ctx = _this$_processInputPa12.ctx;\n\n if (ctx.parsedType !== ZodParsedType.promise && ctx.common.async === false) {\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.promise,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n var promisified = ctx.parsedType === ZodParsedType.promise ? ctx.data : Promise.resolve(ctx.data);\n return OK(promisified.then(function (data) {\n return _this17._def.type.parseAsync(data, {\n path: ctx.path,\n errorMap: ctx.common.contextualErrorMap\n });\n }));\n }\n }]);\n\n return ZodPromise;\n}(ZodType);\n\nZodPromise.create = function (schema, params) {\n return new ZodPromise(_objectSpread({\n type: schema,\n typeName: ZodFirstPartyTypeKind.ZodPromise\n }, processCreateParams(params)));\n};\n\nvar ZodEffects = /*#__PURE__*/function (_ZodType28) {\n _inherits(ZodEffects, _ZodType28);\n\n var _super29 = _createSuper(ZodEffects);\n\n function ZodEffects() {\n _classCallCheck(this, ZodEffects);\n\n return _super29.apply(this, arguments);\n }\n\n _createClass(ZodEffects, [{\n key: \"innerType\",\n value: function innerType() {\n return this._def.schema;\n }\n }, {\n key: \"sourceType\",\n value: function sourceType() {\n return this._def.schema._def.typeName === ZodFirstPartyTypeKind.ZodEffects ? this._def.schema.sourceType() : this._def.schema;\n }\n }, {\n key: \"_parse\",\n value: function _parse(input) {\n var _this18 = this;\n\n var _this$_processInputPa13 = this._processInputParams(input),\n status = _this$_processInputPa13.status,\n ctx = _this$_processInputPa13.ctx;\n\n var effect = this._def.effect || null;\n\n if (effect.type === \"preprocess\") {\n var processed = effect.transform(ctx.data);\n\n if (ctx.common.async) {\n return Promise.resolve(processed).then(function (processed) {\n return _this18._def.schema._parseAsync({\n data: processed,\n path: ctx.path,\n parent: ctx\n });\n });\n } else {\n return this._def.schema._parseSync({\n data: processed,\n path: ctx.path,\n parent: ctx\n });\n }\n }\n\n var checkCtx = {\n addIssue: function addIssue(arg) {\n addIssueToContext(ctx, arg);\n\n if (arg.fatal) {\n status.abort();\n } else {\n status.dirty();\n }\n },\n\n get path() {\n return ctx.path;\n }\n\n };\n checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n\n if (effect.type === \"refinement\") {\n var executeRefinement = function executeRefinement(acc // effect: RefinementEffect\n ) {\n var result = effect.refinement(acc, checkCtx);\n\n if (ctx.common.async) {\n return Promise.resolve(result);\n }\n\n if (result instanceof Promise) {\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n\n return acc;\n };\n\n if (ctx.common.async === false) {\n var inner = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n\n if (inner.status === \"aborted\") return INVALID;\n if (inner.status === \"dirty\") status.dirty(); // return value is ignored\n\n executeRefinement(inner.value);\n return {\n status: status.value,\n value: inner.value\n };\n } else {\n return this._def.schema._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }).then(function (inner) {\n if (inner.status === \"aborted\") return INVALID;\n if (inner.status === \"dirty\") status.dirty();\n return executeRefinement(inner.value).then(function () {\n return {\n status: status.value,\n value: inner.value\n };\n });\n });\n }\n }\n\n if (effect.type === \"transform\") {\n if (ctx.common.async === false) {\n var base = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }); // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n\n\n if (!isValid(base)) return base;\n var result = effect.transform(base.value, checkCtx);\n\n if (result instanceof Promise) {\n throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n\n return {\n status: status.value,\n value: result\n };\n } else {\n return this._def.schema._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n }).then(function (base) {\n if (!isValid(base)) return base; // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n\n return Promise.resolve(effect.transform(base.value, checkCtx)).then(function (result) {\n return {\n status: status.value,\n value: result\n };\n });\n });\n }\n }\n\n util.assertNever(effect);\n }\n }]);\n\n return ZodEffects;\n}(ZodType);\n\nZodEffects.create = function (schema, effect, params) {\n return new ZodEffects(_objectSpread({\n schema: schema,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: effect\n }, processCreateParams(params)));\n};\n\nZodEffects.createWithPreprocess = function (preprocess, schema, params) {\n return new ZodEffects(_objectSpread({\n schema: schema,\n effect: {\n type: \"preprocess\",\n transform: preprocess\n },\n typeName: ZodFirstPartyTypeKind.ZodEffects\n }, processCreateParams(params)));\n};\n\nvar ZodOptional = /*#__PURE__*/function (_ZodType29) {\n _inherits(ZodOptional, _ZodType29);\n\n var _super30 = _createSuper(ZodOptional);\n\n function ZodOptional() {\n _classCallCheck(this, ZodOptional);\n\n return _super30.apply(this, arguments);\n }\n\n _createClass(ZodOptional, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType === ZodParsedType.undefined) {\n return OK(undefined);\n }\n\n return this._def.innerType._parse(input);\n }\n }, {\n key: \"unwrap\",\n value: function unwrap() {\n return this._def.innerType;\n }\n }]);\n\n return ZodOptional;\n}(ZodType);\n\nZodOptional.create = function (type, params) {\n return new ZodOptional(_objectSpread({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional\n }, processCreateParams(params)));\n};\n\nvar ZodNullable = /*#__PURE__*/function (_ZodType30) {\n _inherits(ZodNullable, _ZodType30);\n\n var _super31 = _createSuper(ZodNullable);\n\n function ZodNullable() {\n _classCallCheck(this, ZodNullable);\n\n return _super31.apply(this, arguments);\n }\n\n _createClass(ZodNullable, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType === ZodParsedType.null) {\n return OK(null);\n }\n\n return this._def.innerType._parse(input);\n }\n }, {\n key: \"unwrap\",\n value: function unwrap() {\n return this._def.innerType;\n }\n }]);\n\n return ZodNullable;\n}(ZodType);\n\nZodNullable.create = function (type, params) {\n return new ZodNullable(_objectSpread({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodNullable\n }, processCreateParams(params)));\n};\n\nvar ZodDefault = /*#__PURE__*/function (_ZodType31) {\n _inherits(ZodDefault, _ZodType31);\n\n var _super32 = _createSuper(ZodDefault);\n\n function ZodDefault() {\n _classCallCheck(this, ZodDefault);\n\n return _super32.apply(this, arguments);\n }\n\n _createClass(ZodDefault, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa14 = this._processInputParams(input),\n ctx = _this$_processInputPa14.ctx;\n\n var data = ctx.data;\n\n if (ctx.parsedType === ZodParsedType.undefined) {\n data = this._def.defaultValue();\n }\n\n return this._def.innerType._parse({\n data: data,\n path: ctx.path,\n parent: ctx\n });\n }\n }, {\n key: \"removeDefault\",\n value: function removeDefault() {\n return this._def.innerType;\n }\n }]);\n\n return ZodDefault;\n}(ZodType);\n\nZodDefault.create = function (type, params) {\n return new ZodDefault(_objectSpread({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n defaultValue: typeof params.default === \"function\" ? params.default : function () {\n return params.default;\n }\n }, processCreateParams(params)));\n};\n\nvar ZodCatch = /*#__PURE__*/function (_ZodType32) {\n _inherits(ZodCatch, _ZodType32);\n\n var _super33 = _createSuper(ZodCatch);\n\n function ZodCatch() {\n _classCallCheck(this, ZodCatch);\n\n return _super33.apply(this, arguments);\n }\n\n _createClass(ZodCatch, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this19 = this;\n\n var _this$_processInputPa15 = this._processInputParams(input),\n ctx = _this$_processInputPa15.ctx;\n\n var result = this._def.innerType._parse({\n data: ctx.data,\n path: ctx.path,\n parent: _objectSpread(_objectSpread({}, ctx), {}, {\n common: _objectSpread(_objectSpread({}, ctx.common), {}, {\n issues: [] // don't collect issues from inner type\n\n })\n })\n });\n\n if (isAsync(result)) {\n return result.then(function (result) {\n return {\n status: \"valid\",\n value: result.status === \"valid\" ? result.value : _this19._def.catchValue()\n };\n });\n } else {\n return {\n status: \"valid\",\n value: result.status === \"valid\" ? result.value : this._def.catchValue()\n };\n }\n }\n }, {\n key: \"removeCatch\",\n value: function removeCatch() {\n return this._def.innerType;\n }\n }]);\n\n return ZodCatch;\n}(ZodType);\n\nZodCatch.create = function (type, params) {\n return new ZodCatch(_objectSpread({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodCatch,\n catchValue: typeof params.catch === \"function\" ? params.catch : function () {\n return params.catch;\n }\n }, processCreateParams(params)));\n};\n\nvar ZodNaN = /*#__PURE__*/function (_ZodType33) {\n _inherits(ZodNaN, _ZodType33);\n\n var _super34 = _createSuper(ZodNaN);\n\n function ZodNaN() {\n _classCallCheck(this, ZodNaN);\n\n return _super34.apply(this, arguments);\n }\n\n _createClass(ZodNaN, [{\n key: \"_parse\",\n value: function _parse(input) {\n var parsedType = this._getType(input);\n\n if (parsedType !== ZodParsedType.nan) {\n var ctx = this._getOrReturnCtx(input);\n\n addIssueToContext(ctx, {\n code: ZodIssueCode.invalid_type,\n expected: ZodParsedType.nan,\n received: ctx.parsedType\n });\n return INVALID;\n }\n\n return {\n status: \"valid\",\n value: input.data\n };\n }\n }]);\n\n return ZodNaN;\n}(ZodType);\n\nZodNaN.create = function (params) {\n return new ZodNaN(_objectSpread({\n typeName: ZodFirstPartyTypeKind.ZodNaN\n }, processCreateParams(params)));\n};\n\nvar BRAND = Symbol(\"zod_brand\");\n\nvar ZodBranded = /*#__PURE__*/function (_ZodType34) {\n _inherits(ZodBranded, _ZodType34);\n\n var _super35 = _createSuper(ZodBranded);\n\n function ZodBranded() {\n _classCallCheck(this, ZodBranded);\n\n return _super35.apply(this, arguments);\n }\n\n _createClass(ZodBranded, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this$_processInputPa16 = this._processInputParams(input),\n ctx = _this$_processInputPa16.ctx;\n\n var data = ctx.data;\n return this._def.type._parse({\n data: data,\n path: ctx.path,\n parent: ctx\n });\n }\n }, {\n key: \"unwrap\",\n value: function unwrap() {\n return this._def.type;\n }\n }]);\n\n return ZodBranded;\n}(ZodType);\n\nvar ZodPipeline = /*#__PURE__*/function (_ZodType35) {\n _inherits(ZodPipeline, _ZodType35);\n\n var _super36 = _createSuper(ZodPipeline);\n\n function ZodPipeline() {\n _classCallCheck(this, ZodPipeline);\n\n return _super36.apply(this, arguments);\n }\n\n _createClass(ZodPipeline, [{\n key: \"_parse\",\n value: function _parse(input) {\n var _this20 = this;\n\n var _this$_processInputPa17 = this._processInputParams(input),\n status = _this$_processInputPa17.status,\n ctx = _this$_processInputPa17.ctx;\n\n if (ctx.common.async) {\n var handleAsync = /*#__PURE__*/function () {\n var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {\n var inResult;\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n _context8.next = 2;\n return _this20._def.in._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n\n case 2:\n inResult = _context8.sent;\n\n if (!(inResult.status === \"aborted\")) {\n _context8.next = 5;\n break;\n }\n\n return _context8.abrupt(\"return\", INVALID);\n\n case 5:\n if (!(inResult.status === \"dirty\")) {\n _context8.next = 10;\n break;\n }\n\n status.dirty();\n return _context8.abrupt(\"return\", DIRTY(inResult.value));\n\n case 10:\n return _context8.abrupt(\"return\", _this20._def.out._parseAsync({\n data: inResult.value,\n path: ctx.path,\n parent: ctx\n }));\n\n case 11:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8);\n }));\n\n return function handleAsync() {\n return _ref9.apply(this, arguments);\n };\n }();\n\n return handleAsync();\n } else {\n var inResult = this._def.in._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx\n });\n\n if (inResult.status === \"aborted\") return INVALID;\n\n if (inResult.status === \"dirty\") {\n status.dirty();\n return {\n status: \"dirty\",\n value: inResult.value\n };\n } else {\n return this._def.out._parseSync({\n data: inResult.value,\n path: ctx.path,\n parent: ctx\n });\n }\n }\n }\n }], [{\n key: \"create\",\n value: function create(a, b) {\n return new ZodPipeline({\n in: a,\n out: b,\n typeName: ZodFirstPartyTypeKind.ZodPipeline\n });\n }\n }]);\n\n return ZodPipeline;\n}(ZodType);\n\nvar custom = function custom(check) {\n var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var fatal = arguments.length > 2 ? arguments[2] : undefined;\n if (check) return ZodAny.create().superRefine(function (data, ctx) {\n if (!check(data)) {\n var p = typeof params === \"function\" ? params(data) : params;\n var p2 = typeof p === \"string\" ? {\n message: p\n } : p;\n ctx.addIssue(_objectSpread(_objectSpread({\n code: \"custom\"\n }, p2), {}, {\n fatal: fatal\n }));\n }\n });\n return ZodAny.create();\n};\n\nvar late = {\n object: ZodObject.lazycreate\n};\nvar ZodFirstPartyTypeKind;\n\n(function (ZodFirstPartyTypeKind) {\n ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n ZodFirstPartyTypeKind[\"ZodSymbol\"] = \"ZodSymbol\";\n ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n ZodFirstPartyTypeKind[\"ZodCatch\"] = \"ZodCatch\";\n ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n ZodFirstPartyTypeKind[\"ZodBranded\"] = \"ZodBranded\";\n ZodFirstPartyTypeKind[\"ZodPipeline\"] = \"ZodPipeline\";\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n\nvar instanceOfType = function instanceOfType( // const instanceOfType = any>(\ncls) {\n var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n message: \"Input not instance of \".concat(cls.name)\n };\n return custom(function (data) {\n return data instanceof cls;\n }, params, true);\n};\n\nvar stringType = ZodString.create;\nvar numberType = ZodNumber.create;\nvar nanType = ZodNaN.create;\nvar bigIntType = ZodBigInt.create;\nvar booleanType = ZodBoolean.create;\nvar dateType = ZodDate.create;\nvar symbolType = ZodSymbol.create;\nvar undefinedType = ZodUndefined.create;\nvar nullType = ZodNull.create;\nvar anyType = ZodAny.create;\nvar unknownType = ZodUnknown.create;\nvar neverType = ZodNever.create;\nvar voidType = ZodVoid.create;\nvar arrayType = ZodArray.create;\nvar objectType = ZodObject.create;\nvar strictObjectType = ZodObject.strictCreate;\nvar unionType = ZodUnion.create;\nvar discriminatedUnionType = ZodDiscriminatedUnion.create;\nvar intersectionType = ZodIntersection.create;\nvar tupleType = ZodTuple.create;\nvar recordType = ZodRecord.create;\nvar mapType = ZodMap.create;\nvar setType = ZodSet.create;\nvar functionType = ZodFunction.create;\nvar lazyType = ZodLazy.create;\nvar literalType = ZodLiteral.create;\nvar enumType = ZodEnum.create;\nvar nativeEnumType = ZodNativeEnum.create;\nvar promiseType = ZodPromise.create;\nvar effectsType = ZodEffects.create;\nvar optionalType = ZodOptional.create;\nvar nullableType = ZodNullable.create;\nvar preprocessType = ZodEffects.createWithPreprocess;\nvar pipelineType = ZodPipeline.create;\n\nvar ostring = function ostring() {\n return stringType().optional();\n};\n\nvar onumber = function onumber() {\n return numberType().optional();\n};\n\nvar oboolean = function oboolean() {\n return booleanType().optional();\n};\n\nvar coerce = {\n string: function string(arg) {\n return ZodString.create(_objectSpread(_objectSpread({}, arg), {}, {\n coerce: true\n }));\n },\n number: function number(arg) {\n return ZodNumber.create(_objectSpread(_objectSpread({}, arg), {}, {\n coerce: true\n }));\n },\n boolean: function boolean(arg) {\n return ZodBoolean.create(_objectSpread(_objectSpread({}, arg), {}, {\n coerce: true\n }));\n },\n bigint: function bigint(arg) {\n return ZodBigInt.create(_objectSpread(_objectSpread({}, arg), {}, {\n coerce: true\n }));\n },\n date: function date(arg) {\n return ZodDate.create(_objectSpread(_objectSpread({}, arg), {}, {\n coerce: true\n }));\n }\n};\nvar NEVER = INVALID;\nvar mod = /*#__PURE__*/Object.freeze({\n __proto__: null,\n defaultErrorMap: errorMap,\n setErrorMap: setErrorMap,\n getErrorMap: getErrorMap,\n makeIssue: makeIssue,\n EMPTY_PATH: EMPTY_PATH,\n addIssueToContext: addIssueToContext,\n ParseStatus: ParseStatus,\n INVALID: INVALID,\n DIRTY: DIRTY,\n OK: OK,\n isAborted: isAborted,\n isDirty: isDirty,\n isValid: isValid,\n isAsync: isAsync,\n\n get util() {\n return util;\n },\n\n ZodParsedType: ZodParsedType,\n getParsedType: getParsedType,\n ZodType: ZodType,\n ZodString: ZodString,\n ZodNumber: ZodNumber,\n ZodBigInt: ZodBigInt,\n ZodBoolean: ZodBoolean,\n ZodDate: ZodDate,\n ZodSymbol: ZodSymbol,\n ZodUndefined: ZodUndefined,\n ZodNull: ZodNull,\n ZodAny: ZodAny,\n ZodUnknown: ZodUnknown,\n ZodNever: ZodNever,\n ZodVoid: ZodVoid,\n ZodArray: ZodArray,\n\n get objectUtil() {\n return objectUtil;\n },\n\n ZodObject: ZodObject,\n ZodUnion: ZodUnion,\n ZodDiscriminatedUnion: ZodDiscriminatedUnion,\n ZodIntersection: ZodIntersection,\n ZodTuple: ZodTuple,\n ZodRecord: ZodRecord,\n ZodMap: ZodMap,\n ZodSet: ZodSet,\n ZodFunction: ZodFunction,\n ZodLazy: ZodLazy,\n ZodLiteral: ZodLiteral,\n ZodEnum: ZodEnum,\n ZodNativeEnum: ZodNativeEnum,\n ZodPromise: ZodPromise,\n ZodEffects: ZodEffects,\n ZodTransformer: ZodEffects,\n ZodOptional: ZodOptional,\n ZodNullable: ZodNullable,\n ZodDefault: ZodDefault,\n ZodCatch: ZodCatch,\n ZodNaN: ZodNaN,\n BRAND: BRAND,\n ZodBranded: ZodBranded,\n ZodPipeline: ZodPipeline,\n custom: custom,\n Schema: ZodType,\n ZodSchema: ZodType,\n late: late,\n\n get ZodFirstPartyTypeKind() {\n return ZodFirstPartyTypeKind;\n },\n\n coerce: coerce,\n any: anyType,\n array: arrayType,\n bigint: bigIntType,\n boolean: booleanType,\n date: dateType,\n discriminatedUnion: discriminatedUnionType,\n effect: effectsType,\n 'enum': enumType,\n 'function': functionType,\n 'instanceof': instanceOfType,\n intersection: intersectionType,\n lazy: lazyType,\n literal: literalType,\n map: mapType,\n nan: nanType,\n nativeEnum: nativeEnumType,\n never: neverType,\n 'null': nullType,\n nullable: nullableType,\n number: numberType,\n object: objectType,\n oboolean: oboolean,\n onumber: onumber,\n optional: optionalType,\n ostring: ostring,\n pipeline: pipelineType,\n preprocess: preprocessType,\n promise: promiseType,\n record: recordType,\n set: setType,\n strictObject: strictObjectType,\n string: stringType,\n symbol: symbolType,\n transformer: effectsType,\n tuple: tupleType,\n 'undefined': undefinedType,\n union: unionType,\n unknown: unknownType,\n 'void': voidType,\n NEVER: NEVER,\n ZodIssueCode: ZodIssueCode,\n quotelessJson: quotelessJson,\n ZodError: ZodError\n});\nexport { BRAND, DIRTY, EMPTY_PATH, INVALID, NEVER, OK, ParseStatus, ZodType as Schema, ZodAny, ZodArray, ZodBigInt, ZodBoolean, ZodBranded, ZodCatch, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodEffects, ZodEnum, ZodError, ZodFirstPartyTypeKind, ZodFunction, ZodIntersection, ZodIssueCode, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNativeEnum, ZodNever, ZodNull, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodParsedType, ZodPipeline, ZodPromise, ZodRecord, ZodType as ZodSchema, ZodSet, ZodString, ZodSymbol, ZodEffects as ZodTransformer, ZodTuple, ZodType, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, addIssueToContext, anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, coerce, custom, dateType as date, mod as default, errorMap as defaultErrorMap, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectUtil, oboolean, onumber, optionalType as optional, ostring, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, util, voidType as void, mod as z };","import { get as r, set as i } from \"react-hook-form\";\n\nvar e = function e(i, _e, t) {\n if (i && \"reportValidity\" in i) {\n var f = r(t, _e);\n i.setCustomValidity(f && f.message || \"\"), i.reportValidity();\n }\n},\n t = function t(r, i) {\n var t = function t(_t) {\n var f = i.fields[_t];\n f && f.ref && \"reportValidity\" in f.ref ? e(f.ref, _t, r) : f.refs && f.refs.forEach(function (i) {\n return e(i, _t, r);\n });\n };\n\n for (var f in i.fields) {\n t(f);\n }\n},\n f = function f(e, _f) {\n _f.shouldUseNativeValidation && t(e, _f);\n var o = {};\n\n for (var a in e) {\n var n = r(_f.fields, a);\n i(o, a, Object.assign(e[a], {\n ref: n && n.ref\n }));\n }\n\n return o;\n};\n\nexport { f as toNestError, t as validateFieldsNatively };","import { appendErrors as r } from \"react-hook-form\";\nimport { validateFieldsNatively as e, toNestError as o } from \"@hookform/resolvers\";\n\nvar n = function n(e, o) {\n for (var n = {}; e.length;) {\n var s = e[0],\n t = s.code,\n i = s.message,\n a = s.path.join(\".\");\n if (!n[a]) if (\"unionErrors\" in s) {\n var u = s.unionErrors[0].errors[0];\n n[a] = {\n message: u.message,\n type: u.code\n };\n } else n[a] = {\n message: i,\n type: t\n };\n\n if (\"unionErrors\" in s && s.unionErrors.forEach(function (r) {\n return r.errors.forEach(function (r) {\n return e.push(r);\n });\n }), o) {\n var c = n[a].types,\n f = c && c[s.code];\n n[a] = r(a, o, n, t, f ? [].concat(f, s.message) : s.message);\n }\n\n e.shift();\n }\n\n return n;\n},\n s = function s(r, _s, t) {\n return void 0 === t && (t = {}), function (i, a, u) {\n try {\n return Promise.resolve(function (o, n) {\n try {\n var a = Promise.resolve(r[\"sync\" === t.mode ? \"parse\" : \"parseAsync\"](i, _s)).then(function (r) {\n return u.shouldUseNativeValidation && e({}, u), {\n errors: {},\n values: t.rawValues ? i : r\n };\n });\n } catch (r) {\n return n(r);\n }\n\n return a && a.then ? a.then(void 0, n) : a;\n }(0, function (r) {\n return {\n values: {},\n errors: r.isEmpty ? {} : o(n(r.errors, !u.shouldUseNativeValidation && \"all\" === u.criteriaMode), u)\n };\n }));\n } catch (r) {\n return Promise.reject(r);\n }\n };\n};\n\nexport { s as zodResolver };","import { useMemo } from \"react\"\nimport { z } from \"zod\"\nimport { Forms } from \"../FormContainer/forms\"\n\nconst ERRORS = {\n [Forms.Phone]: 'Please enter a valid phone number.',\n [Forms.Email]: 'Please enter a valid email address.',\n [Forms.OTP]: 'Please enter a valid OTP.',\n}\n\nconst REGEX = {\n [Forms.Phone]: /^\\d{10}$/,\n [Forms.Email]: /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])$/,\n [Forms.OTP]: /^\\d{6}$/,\n}\n\nconst SCHEMA = {\n [Forms.Phone]: z.object({\n [Forms.Phone]: z.object({\n phone: z.preprocess(\n // @ts-ignore\n (value) => Common.unformat_phone_number(value) || '',\n z.string()\n .min(10, ' ')\n .max(10, ' ')\n .regex(REGEX[Forms.Phone], ' ')\n .refine((value) => {\n // don't validate unless there are 10 digits\n // this avoids showing an error when the user is still typing\n if (!value || value.length !== 10) return true\n\n return REGEX[Forms.Phone].test(value)\n }, ERRORS[Forms.Phone])\n ),\n }),\n }),\n [Forms.Email]: z.object({\n [Forms.Email]: z.object({\n email: z.preprocess(\n (value: string) => !!value ? value.toLowerCase() : '',\n z.string().regex(REGEX[Forms.Email], ERRORS[Forms.Email])\n ),\n password: z.string().min(1, ' '),\n }),\n }),\n [Forms.OTP]: z.object({\n [Forms.OTP]: z.object({\n otp: z.string()\n .min(6, ' ')\n .max(6, ' ')\n .regex(REGEX[Forms.OTP], ERRORS[Forms.OTP]),\n }),\n }),\n}\n\ntype UseLoginFormSchemaProps = {\n form: Forms\n}\n\nexport const useLoginFormSchema = ({ form }: UseLoginFormSchemaProps) => {\n return useMemo(() => SCHEMA[form], [form])\n}\n","import { zodResolver } from '@hookform/resolvers/zod'\nimport { useForm } from \"react-hook-form\"\nimport { Forms } from \"../FormContainer/forms\"\nimport { useLoginFormSchema } from './useLoginFormSchema'\n\nexport type LoginFormValues = {\n [Forms.Phone]: {\n phone: string\n }\n [Forms.Email]: {\n email: string\n password: string\n },\n [Forms.OTP]: {\n otp: string\n },\n}\n\ntype UseLoginFormProps = {\n form: Forms\n}\n\nexport function useLoginForm({ form }: UseLoginFormProps) {\n const schema = useLoginFormSchema({ form })\n\n return useForm({\n defaultValues: {\n [Forms.Phone]: {\n phone: '',\n },\n [Forms.Email]: {\n email: '',\n password: '',\n },\n [Forms.OTP]: {\n otp: '',\n },\n },\n mode: 'all',\n resolver: zodResolver(schema),\n })\n}\n","import React, { useState } from 'react'\nimport { FormProvider } from 'react-hook-form'\nimport FormContainer from './FormContainer'\nimport { Forms } from './FormContainer/forms'\nimport OTPProvider from './OTPProvider'\nimport { useLoginForm } from './hooks/useLoginForm'\n\ntype LoginProps = {\n form?: Forms\n}\n\nconst Login = ({ form: initialFormFlow }: LoginProps) => {\n const [formFlow, setFormFlow] = useState(initialFormFlow || Forms.Phone)\n const form = useLoginForm({ form: formFlow })\n\n const handleChangeForm = (newForm: Forms) => () => {\n setFormFlow(newForm)\n }\n\n return (\n
    \n
    \n \n \n \n \n \n
    \n
    \n )\n}\n\nexport default Login\n","import ReactOnRails from 'react-on-rails';\n\nimport AddGps from './components/GPS/AddGps.js.jsx';\nimport DealStructure from './components/deal_structure/dealer/index.jsx';\nimport DealerApplication from './components/dealer_loan_application/index.js.jsx';\nimport DealerSignup from './components/dealer_signup/index.js'\nimport BasicHeader from './components/headers/BasicHeader.js.jsx';\nimport Review from './components/Review.js';\nimport Career from './components/Career.js';\nimport Carousel from './components/Carousel.js';\nimport DealerReview from './components/DealerReview.js.jsx';\nimport PictureTag from './components/PictureTag.js.jsx';\nimport DealerSettings from './components/dealer_settings/index.js.jsx';\nimport ErrorModal from './components/error/ErrorModal.js.jsx';\nimport DealerTabs from './components/dealer_portal/DealerTabs.js';\nimport LoanTrackerTutorial from './components/dealer_portal/LoanTrackerTutorial.js.jsx';\nimport Plaid from './components/bank_account/plaid/index.jsx'\nimport BankAccountEntry from './components/bank_account/BankAccountEntry.jsx'\nimport NewPlaidFlow from './components/bank_account/plaid/NewPlaidFlow/NewPlaidFlow.jsx';\nimport DealerInfoPage from './components/dealer_info/DealerInfoPage.jsx';\nimport ConsentDocument from './components/consents/ConsentDocument.jsx'\nimport DocumentsApp from './components/documents'\nimport VerifyGps from './components/GPS/VerifyGps.jsx';\nimport EmptyHeader from './components/headers/EmptyHeader'\nimport Login from './components/login'\n\nReactOnRails.register({\n Career, Carousel, DealerApplication, DealerSignup, BasicHeader, DealerReview,\n DealerSettings, DealerTabs, ErrorModal, LoanTrackerTutorial, PictureTag, Review, AddGps,\n Career, Carousel, DealerApplication, DealerSignup, BasicHeader, DealerReview, Plaid, NewPlaidFlow,\n BankAccountEntry, DealerSettings, DealStructure, DealerTabs, ErrorModal, LoanTrackerTutorial, PictureTag,\n Review, DealerInfoPage, ConsentDocument, EmptyHeader, VerifyGps, Login, DocumentsApp\n});\n\n"],"sourceRoot":""}