PageSourceSearch

https://secure.speedycash.com/static/js/276.a493b6a5.chunk.js

js speedycash.com collected 2026-10-02 16:42:27 UTC 23,933 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcapo_ui=self.webpackChunkcapo_ui||[]).push([[276],{77118(e,n,t){t.d(n,{E:()=>j});var a=t(5544),l=t(89379),s=t(65043),r=t(93830),o=t(31020),c=t(90292),i=t(43545),d=t(63996),u=t(63799),m=t(43145),h=t(5763),v=t(23013),p=t(23477);const b=/\{\{(.+?)\}\}/g;function x(e,n){if("money"===e)return(0,p.vv)((0,v.$)(n));throw new Error("Unsupported transform: ".concat(e))}var g=t(38902),f=t(70579);function j(e){var n,t,v,p,j,N,C,k;const A=e.disclosure,y=e.onChange,w=e.disabled,S=!(null===(n=A.radioOptions)||void 0===n||!n.length),T=(0,s.useCallback)(e=>{A.needsRead&&e.currentTarget.checked?M(!0):(A.agree=e.currentTarget.checked,null===y||void 0===y||y((0,l.A)((0,l.A)({},A),{},{agree:e.currentTarget.checked,selectedValue:e.currentTarget.value})))},[y,A]),B=(0,s.useState)(),I=(0,a.A)(B,2),F=I[0],E=I[1],X=(0,s.useState)(!1),D=(0,a.A)(X,2),R=D[0],M=D[1],Z=(0,s.useState)(!1),O=(0,a.A)(Z,2),P=O[0],z=O[1],q=null===A||void 0===A||null===(t=A.id)||void 0===t?void 0:t.split(/(?=[A-Z])/).join(" "),V=(0,s.useCallback)(e=>{if("a"!==e.tagName)return e;const n=e.attributes,t=n.target,a=n.href,l=n.rel;return"string"!==typeof a?e:"_blank"!==t||"noopener"!==l&&/((localizedcontent\.axd)|DynamicContent|Content)/i.test(a)?(e.attributes.onClick=async e=>{var n;e.preventDefault(),E({title:"Disclosure",children:[(0,f.jsx)(i.y,{},"spinner")]});const t=await fetch(a),l=await t.text();let s="";const r=null!==(n=(0,c.Z)(l,e=>{var n,t,a;return!s&&e.tagName.match(/^H/i)?(s=null!==(n=null===(t=e.children)||void 0===t||null===(a=t.find(e=>"string"===typeof e&&e.length>0))||void 0===a?void 0:a.toString())&&void 0!==n?n:"",s?void 0:e):e}))&&void 0!==n?n:[];E({title:s,children:r})},e):e},[]),Y=(0,s.useCallback)(()=>E(void 0),[]),L=()=>{z(!1),M(!1)},_=()=>{null===y||void 0===y||y((0,l.A)((0,l.A)({},A),{},{agree:!0,selectedValue:"checked"})),M(!1)},H=()=>{const e=document.frames?document.frames["doc-iframe-".concat(A.id)]:document.getElementById("doc-iframe-".concat(A.id)),n=e.contentWindow||e;return e.focus(),n.print(),!1},G=()=>{z(!0)};return(0,f.jsxs)(f.Fragment,{children:[A.header&&(0,f.jsx)("h3",{children:A.header}),A.subHeader&&(0,f.jsx)("div",{className:"mb-5",children:A.subHeader}),(0,f.jsxs)("div",{className:null!==(v=e.disclosureClassName)&&void 0!==v?v:"mb-5",id:"disclosure_".concat(A.id),children:[S&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{children:[(0,c.Z)(A.content,V),A.help&&(0,f.jsx)(o.B,{text:A.help})]}),(0,f.jsx)("div",{className:"form-inline",children:null===(p=A.radioOptions)||void 0===p?void 0:p.map(e=>(0,f.jsxs)("label",{className:"custom-control custom-radio mt-1 mb-2 ml-2",children:[(0,f.jsx)("input",{type:"radio",value:e.value.toString(),className:"custom-control-input js-checked",onChange:T,checked:String(e.value)===A.selectedValue,disabled:w}),(0,f.jsx)("span",{className:"custom-control-indicator"}),(0,f.jsx)("span",{className:"custom-control-label",children:(0,c.Z)(e.key,V)})]}))})]}),!S&&(0,f.jsxs)(u.S,{className:"js-checked",onChange:T,checked:A.agree,disabled:w,children:[(0,c.Z)((U=A.content,W=e.variables,null===U||void 0===U?void 0:U.replace(b,(e,n)=>{var t;const a=n.split("|").map(e=>e.trim()),l=(0,h.A)(a),s=l[0],r=(0,m.A)(l).slice(1);let o=null!==(t=null===W||void 0===W?void 0:W[s])&&void 0!==t?t:"";for(const i of r){var c;o=null!==(c=x(i,o))&&void 0!==c?c:""}return o})),V),A.help&&(0,f.jsx)(o.B,{text:A.help})]}),e.showError&&A.required&&(!A.agree||S&&0===(null!==(j=null===A||void 0===A||null===(N=A.selectedValue)||void 0===N?void 0:N.length)&&void 0!==j?j:0)||A.id===g.T&&A.selectedValue===g.S)&&(0,f.jsx)(d.X,{message:A.selectedValue!==g.S?null!==(C=A.validation)&&void 0!==C?C:"This is required":null!==(k=A.moreThanOneInstallmentPlan)&&void 0!==k?k:"This is required"})]}),R&&(()=>{const e="/Content/pdf/".concat(A.id,".pdf");return(0,f.jsx)(r.lG,{size:"lg",showCloseControl:!0,onClosing:L,children:(0,f.jsxs)("div",{className:"accent-box",style:{marginTop:"-40px"},children:[!P&&(0,f.jsx)("div",{className:"accent-box-header p-3",children:q}),(0,f.jsxs)("div",{className:"accent-box-body p-4",children:[(0,f.jsx)("iframe",{id:"doc-iframe-".concat(A.id),title:"doc-iframe-".concat(A.id),src:A.documentContent,height:P?"600px":"400px",
1width:"100%"}),!P&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"row pt-1",children:[(0,f.jsx)("div",{className:"p-1 text-center flex-grow-1",children:(0,f.jsx)("button",{type:"button",className:"no-underline btn-expand",onClick:G,children:"Expand"})}),(0,f.jsx)("div",{className:"p-1 text-center flex-grow-1",children:(0,f.jsx)("button",{type:"button",className:"no-underline btn-print",onClick:H,children:"Print"})}),null!=e&&(0,f.jsx)("div",{className:"p-1 text-center flex-grow-1",children:(0,f.jsx)("a",{id:"btnDownload".concat(A.id),href:e,className:"no-underline",rel:"noreferrer",download:null===A||void 0===A?void 0:A.id,children:"Save"})})]}),(0,f.jsx)("br",{}),(0,f.jsx)("button",{type:"button",onClick:_,className:"modal-ok-button print:hidden disclosure-modal-accept-btn",id:"btnOk-".concat(null===A||void 0===A?void 0:A.id),children:"Agree & Continue"})]})]})]})})})(),!!F&&(0,f.jsx)(r.lG,{size:"lg",title:F.title,showCloseControl:!0,onClosing:Y,children:F.children,footer:(0,f.jsx)("button",{type:"button",className:"btn btn-success mr-0 ml-auto",onClick:Y,children:"OK"})})]});var U,W}},38902(e,n,t){t.d(n,{S:()=>l,T:()=>a});const a="LoanWithAnotherLender",l="true"},50276(e,n,t){t.r(n),t.d(n,{default:()=>w});var a=t(89379),l=t(5544),s=t(65043),r=t(73216),o=t(99351),c=t(25618),i=t(95568),d=t(91809),u=t(63996),m=t(7032),h=t(70579);function v(e){var n;const t=e.onChange,a=(0,m.LV)().model.isProduction,r=(0,s.useState)(Math.random()),o=(0,l.A)(r,2),c=o[0],v=o[1],p=(0,s.useCallback)(()=>v(Math.random()),[]),b=(0,s.useCallback)(e=>null===t||void 0===t?void 0:t(e.currentTarget.value),[t]),x=(0,i.bn)(d.Yl),g=(0,s.useCallback)(async()=>{var e,n,l;if(a)return;const s=null===(e=(await x.getSession()).data)||void 0===e||null===(n=e.session)||void 0===n||null===(l=n.find(e=>"CaptchaCode"===(null===e||void 0===e?void 0:e.key)))||void 0===l?void 0:l.value;null===t||void 0===t||t(null!==s&&void 0!==s?s:"")},[x,t,a]);return(0,h.jsxs)("div",{className:"row mb-3",children:[(0,h.jsxs)("div",{className:"form-group col-8 col-md-6 flex-grow md:flex-grow-0",children:[(0,h.jsx)("div",{className:"form-control form-control-lg captcha-box",style:{background:"url(/Utilities/CaptchaNoise.jpg)"},children:(0,h.jsx)("img",{src:"/Utilities/Captcha.jpg?".concat(c),className:"captcha",alt:"CAPTCHA",onLoad:g})}),(0,h.jsx)("button",{title:"Generate New Image",className:"btn btn-link small-text text-muted",type:"button",onClick:p,children:"Generate New Image"})]}),(0,h.jsxs)("div",{className:"form-group col-8 col-md-6 flex-grow md:flex-grow-0",children:[(0,h.jsx)("label",{className:"sr-only",htmlFor:"captchaCustomerInput",children:"Customer Input"}),(0,h.jsx)("input",{type:"tel",value:null!==(n=e.value)&&void 0!==n?n:"",className:"form-control form-control-lg account-number",id:"capthaCustomerInput",onChange:b}),(0,h.jsx)(u.X,{modelState:e.modelState,name:"captcha"})]})]})}var p=t(27939),b=t(87996),x=t(31042),g=t(23013),f=t(43545),j=t(23477),N=t(89854),C=t(4298),k=t(95795),A=t(4746),y=t(85645);function w(){var e,n,t,d,m,w;const S=(0,i.bn)(o.eG),T=(0,s.useState)(),B=(0,l.A)(T,2),I=B[0],F=B[1],E=(0,r.g)(),X=(0,g.$)(E.key,0),D=(0,s.useState)({}),R=(0,l.A)(D,2),M=R[0],Z=R[1],O=(0,s.useState)(!1),P=(0,l.A)(O,2),z=P[0],q=P[1],V=(0,s.useState)(!0),Y=(0,l.A)(V,2),L=Y[0],_=Y[1],H=(0,s.useState)(""),G=(0,l.A)(H,2),U=G[0],W=G[1],$=(0,k.c)();(0,C.F)(async e=>{var n,t;_(!0);const a=await S.getCashRequest(X,e);if(_(!1),null!==(n=a.data)&&void 0!==n&&null!==(t=n.getCashRequest)&&void 0!==t&&t.redirect)$.redirect(a.data.getCashRequest.redirect);else if(a.errors)$.redirect(c.BV.ContactSupport.Root);else{var l;F(null===(l=a.data)||void 0===l?void 0:l.getCashRequest)}},[S,X,$]);const J=(0,s.useCallback)(e=>{const n=(0,g.$)(e.currentTarget.value);W(e.currentTarget.value),F(e=>e&&(0,a.A)((0,a.A)({},e),{},{selectedAmt:n}))},[]),K=(0,s.useCallback)(e=>{F(n=>n&&(0,a.A)((0,a.A)({},n),{},{captcha:{customerInput:e}}))},[]),Q=(0,s.useMemo)(()=>({SelectedAmt:U}),[U]),ee=(0,s.useCallback)(async e=>{var n,t,l;if(e.preventDefault(),!I)return;q(!1);if(!(!(null!==(n=I.disclosures)&&void 0!==n&&n.length)||I.disclosures.every(e=>e.agree||!e.required)))return q(!0),void window.scrollTo(0,0);_(!0);const s=await S.getCash(I,X);_(!1);const r=(0,x.z)(s.errors);r&&Z(r),null!==(t=s.data)&&void 0!==t&&null!==(l=t.getCash)&&void 0!==l&&l.redirect?$.redirect(s.data.getCash.redirect):F(e=>{var n;return e?(0,a.A)((0,a.A)({},e),null===(n=s.data)||void 0===n?void 0:n.getCash):e})},[I,S,X,$]),ne=L||!I;return(0,h.jsxs)("form",{className:"container",children:[(0,h.jsx)("h1",{children:"Cash advance"}),I&&(0,h.jsxs)("div",{className:"mb-3 text-center",children:["Your available credit is ",(0,j.vv)(I.maxAmt),"."]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)("label",{htmlFor:"SelectedAmt",className:"form-label",children:"How much cash do you need?"}),(0,h.jsx)("div",{className:"input-group",children:(0,h.jsx)(y._,{id:"CustomPaymentAmount",disabled:ne,className:"input-lg",onChange:J,value:U,placeholder:"0.00"})}),(0,h.jsxs)("p",{className:"help-block small mb-0",children:["(Minimum ",(0,j.vv)(null===I||void 0===I?void 0:I.minAmt,0),")"]}),(0,h.jsx)(u.X,{name:"SelectedAmt",modelState:M})]}),(0,h.jsx)("div",{className:"form-group",children:"Please verify your bank account to ensure your cash advance is processed correctly."}),(null===I||void 0===I?void 0:I.bankAccount)&&(I.bankAccount.bankInstitutionNumber?(0,h.jsxs)("div",{className:"form-group row",children:[(0,h.jsxs)("div",{className:"col-6",children:[(0,h.jsx)("label",{className:"form-label text-right",htmlFor:"BankAccount.BankTransitNumber",children:"Branch Transit Number"}),(0,h.jsx)(N.R,{type:"text",disabled:!0,id:"BankAccount.BankTransitNumber",value:null===I||void 0===I||null===(e=I.bankAccount)||void 0===e?void 0:e.bankTransitNumber})]}),(0,h.jsxs)("div",{className:"col-6",children:[(0,h.jsx)("label",{className:"form-label text-right",htmlFor:"BankAccount.BankInstitutionNumber",children:"Financial Institution Number"}),(0,h.jsx)(N.R,{type:"text",disabled:!0,id:"BankAccount.BankInstitutionNumber",value:null===I||void 0===I||null===(n=I.bankAccount)||void 0===n?void 0:n.bankInstitutionNumber})]})]}):(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)("label",{className:"form-label text-right",htmlFor:"BankAccount.BankTransitNumber",children:"Your routing/ABA number"}),(0,h.jsx)(N.R,{type:"text",disabled:!0,id:"BankAccount.BankTransitNumber",value:null===I||void 0===I||null===(t=I.bankAccount)||void 0===t?void 0:t.bankTransitNumber})]})),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsx)("label",{className:"form-label text-right pt-2",htmlFor:"BankAccount.BankAccountNumber",children:"Your account number"}),(0,h.jsx)(N.R,{type:"text",disabled:!0,id:"BankAccount.BankAccountNumber",value:null===I||void 0===I||null===(d=I.bankAccount)||void 0===d?void 0:d.bankAccountNumber})]}),(0,h.jsxs)("div",{className:"form-group",children:[(0,h.jsxs)("p",{children:["Your bank has been identified as ",(0,h.jsx)("strong",{children:null===I||void 0===I||null===(m=I.bankAccount)||void 0===m?void 0:m.bankName}),"."]}),(0,h.jsxs)("p",{children:["If this is incorrect please contact Customer Service at ",(0,h.jsx)(p.Y,{})," to update your account."]})]}),I&&(0,h.jsx)(A.A,{model:I,onChange:F,modelState:M,showError:z,variables:Q,disabled:ne}),(0,h.jsx)("p",{className:"mt-6",children:"For security reasons please enter the verification code as shown below."}),(0,h.jsx)(v,{modelState:M,onChange:K,value:null===I||void 0===I||null===(w=I.captcha)||void 0===w?void 0:w.customerInput}),(0,h.jsxs)("div",{className:"text-center",children:[(0,h.jsxs)("button",{className:"btn btn-primary max-w-full mb-3 mt-6 md:max-w-xs",onClick:ee,disabled:ne,children:[L&&(0,h.jsx)(f.y,{inline:!0}),"Continue"]}),(0,h.jsx)(b.N,{className:"btn btn-link",to:c.BV.User.AccountSummary,children:"Cancel"})]})]})}},4746(e,n,t){t.d(n,{A:()=>o});var a=t(89379),l=t(65043),s=t(77118),r=t(70579);function o(e){var n;const t=e.model,o=e.onChange,c=e.disabled,i=e.showError,d=e.variables,u=(0,l.useCallback)(e=>{var n;return t&&(null===o||void 0===o?void 0:o((0,a.A)((0,a.A)({},t),{},{disclosures:null===t||void 0===t||null===(n=t.disclosures)||void 0===n?void 0:n.map(n=>n.id===e.id?(0,a.A)((0,a.A)({},n),e):n)})))},[o,t]);return(0,r.jsx)(r.Fragment,{children:null===t||void 0===t||null===(n=t.disclosures)||void 0===n?void 0:n.map(function(e,n){var t;return null!==(t=e.id)&&void 0!==t||(e.id="disclosure_".concat(n)),(0,r.jsx)(s.E,{disclosure:e,onCh
1ange:u,disabled:c,showError:i,variables:d},n)})})}},63799(e,n,t){t.d(n,{S:()=>s});var a=t(90292),l=t(70579);function s(e){var n;const t=e.name,s=e.label,r=e.onChange,o=e.value,c=e.checked,i=e.id,d=e.className,u=e.tabIndex,m=e.disabled,h=e.inputClassName,v=e.testId;return(0,l.jsxs)("label",{className:"custom-control custom-checkbox ".concat(null!==d&&void 0!==d?d:""),children:[(0,l.jsx)("input",{id:null!==i&&void 0!==i?i:t,type:"checkbox",name:t,onChange:r,checked:null!==c&&void 0!==c&&c,disabled:m,value:null!==o&&void 0!==o?o:"",className:"custom-control-input ".concat(null!==h&&void 0!==h?h:""),tabIndex:u,"data-testid":null!==v&&void 0!==v?v:i}),(0,l.jsx)("span",{className:"custom-control-label",children:null!==(n=s&&(0,l.jsx)(l.Fragment,{children:(0,a.Z)(s)}))&&void 0!==n?n:e.children})]})}},85645(e,n,t){t.d(n,{_:()=>i});var a=t(5544),l=t(65043),s=t(23477),r=t(89854),o=t(46082),c=t(70579);function i(e){var n;const t=e.value,i=e.tabIndex,d=e.autoComplete,u=e.placeholder,m=e.disabled,h=e.className,v=e.id,p=e.name,b=e.onBlur,x=e.onChange,g=(0,l.useState)(null!==(n=(0,s.uN)(null===t||void 0===t?void 0:t.toString()))&&void 0!==n?n:"0.00"),f=(0,a.A)(g,2),j=f[0],N=f[1],C=(0,l.useCallback)(e=>{const n=e.currentTarget.value,t=(0,s.Xl)(n);N(t),x({currentTarget:{value:t}})},[x]),k=(0,l.useCallback)(()=>{var e;const n=(0,s.uN)(null!==(e=null===t||void 0===t?void 0:t.toString())&&void 0!==e?e:"");x({currentTarget:{value:n}}),N(n),b&&b()},[b,x,t]);return(0,c.jsxs)("div",{className:"input-group grow md:grow-0",children:[(0,c.jsx)("span",{className:"input-group-prepend",children:(0,c.jsx)(o.I,{name:"dollar-sign"})}),(0,c.jsx)(r.R,{id:v,type:"tel",disabled:m,className:h,onChange:C,value:j,name:p,onBlur:k,placeholder:u,autoComplete:d,tabIndex:i})]})}},27939(e,n,t){t.d(n,{Y:()=>o});var a=t(46082),l=t(76989),s=t(23477),r=t(70579);function o(e){var n;let t=e.className,o=e.children,c=e.isConsumerPrivacy,i=e.icon,d=e.phone;const u=(0,l.B)();let m=null!==(n=(0,s.VJ)(null!==d&&void 0!==d?d:c?u.consumerPrivacyPhone:u.customerServicePhone))&&void 0!==n?n:"";return(0,r.jsxs)("a",{href:"tel:".concat((0,s.Xl)(m)),className:t,title:"Contact Customer Service at ".concat(m),children:[i&&(0,r.jsx)(a.I,{name:"phone",className:"mr-2"}),(0,r.jsx)("span",{style:{whiteSpace:"nowrap"},children:null!==o&&void 0!==o?o:m})]})}},31020(e,n,t){t.d(n,{B:()=>o});var a=t(5544),l=t(65043),s=t(46082),r=t(70579);function o(e){var n;const t=e.text,o=e.children,c=(0,l.useState)(!1),i=(0,a.A)(c,2),d=i[0],u=i[1],m="help-accordion slide ".concat(d?"collapse show d-block border border-light-2":"collapse"),h=(0,l.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),u(!d)},[d]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"btn-text ".concat(null!==(n=e.className)&&void 0!==n?n:""),onClick:h,type:"button",children:(0,r.jsx)(s.I,{name:"question-circle",className:"help-pop","aria-hidden":"true"})}),d&&(0,r.jsx)("span",{className:m,role:"tabpanel",children:t||o})]})}},87996(e,n,t){t.d(n,{N:()=>i});var a=t(89379),l=t(5544),s=t(65043),r=t(35475),o=t(70579);let c;function i(e){const n=e.to,t=(0,s.useMemo)(()=>function(e){c||(c=new RegExp("^https?://"+window.location.hostname+"(:\\d+)?\\b","i"));const n=e.replace(c,""),t=n.split("?"),a=(0,l.A)(t,2);return{pathname:a[0],search:a[1],normalized:n}}(n),[n]),i=t.pathname,d=t.search,u=t.normalized;return u.includes("://")?(0,o.jsx)("a",(0,a.A)((0,a.A)({},e),{},{href:u,children:e.children})):(0,o.jsx)(r.N_,(0,a.A)((0,a.A)({},e),{},{state:e.state,to:{pathname:i,search:d}}))}},23013(e,n,t){t.d(n,{$:()=>a});function a(e,n){var t,a;return null!==(a=parseFloat((null!==e&&void 0!==e?e:"").replace(/[^\d.]/g,"")),t=isNaN(a)?void 0:a)&&void 0!==t?t:n}},89854(e,n,t){t.d(n,{R:()=>B});var a=t(5544),l=t(65043),s=t(5451),r=t(97873),o=t(89379),c=t(5780),i=t(72128),d=t(45479),u=t(86255),m=t(16934),h=t(56016),v=t(2431),p=t(16819);var b=t(70579);let x;const g=(0,c.A)(new Date);function f(e){var n;const t=(0,l.useState)(null!==(n=e.value)&&void 0!==n?n:g),s=(0,a.A)(t,2),r=s[0],o=s[1],f=(0,l.useMemo)(()=>function(e){const n=(0,c.A)(e),t=(0,i.A)(n),a=(0,d.A)(t,-t.getDay()),l=(0,u.A)(n),s=(0,d.A)(l,7-l.getDay()),r=(0,m.A)(s,a);return{today:n,firstOfMonth:t,firstSunday:a,lastOfMonth:l,numDays:r,numWeeks:Math.ceil(r/7),lastSaturday:s}}(r),[r]),j=f.firstSunday,N=f.numWeeks,C=f.lastSaturday;x||(x=Array.from({length:7},(e,n)=>(0,b.jsx)("th",{children:(0,h.A)((0,d.A)(j,n),"EEEEE")},n)));
1const k=e.onChange,A=(0,l.useCallback)(function(e){if(k){const n=new Date(parseInt(e.currentTarget.dataset.value||"",10));k(n)}},[k]),y=e.min,w=e.max,S=(0,l.useCallback)(function(e,n){const t=(0,d.A)(j,7*e+n);return(0,b.jsx)("td",{children:(0,b.jsx)("button",{onClick:A,type:"button","data-value":t.getTime(),disabled:y&&t<y||w&&t>w,className:"".concat((0,v.A)(t,r)?"":"text-muted"),children:t.getDate()})},n)},[j,r,y,w,A]),T=(0,l.useCallback)((e,n)=>(0,b.jsx)("tr",{children:Array.from({length:7},(e,t)=>S(n,t))},n),[S]),B=(0,l.useCallback)(e=>{const n=parseInt(e.currentTarget.dataset.months||"",10);o(e=>(0,p.A)(e,n))},[o]);return(0,b.jsxs)("table",{className:"calendar",onFocusCapture:e.onFocusCapture,children:[(0,b.jsxs)("thead",{children:[(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{children:(0,b.jsx)("button",{title:"Previous",disabled:y&&y>=j,type:"button","data-months":"-1",onClick:B,children:"\xab"})}),(0,b.jsx)("td",{colSpan:5,className:"calendar-month",title:"Current",children:(0,h.A)(r,"MMMM yyyy")}),(0,b.jsx)("td",{children:(0,b.jsx)("button",{title:"Next",disabled:w&&w<=C,type:"button","data-months":"1",onClick:B,children:"\xbb"})})]}),(0,b.jsx)("tr",{children:x})]}),(0,b.jsx)("tbody",{children:Array.from({length:N},T)})]})}function j(e){const n=(0,l.useState)(!1),t=(0,a.A)(n,2),s=t[0],r=t[1],o=function(e){return{dropdown:"dropdown",menu:"dropdown-menu force-to-front ".concat(e?"show":"")}}(s||e.isOpen||!1),c=(0,l.useCallback)(function(){r(e=>!e)},[r]),i=(0,l.useCallback)(function(){setTimeout(function(){r(()=>!1)},300)},[r]);return(0,b.jsxs)("div",{className:o.dropdown,children:[e.label&&(0,b.jsx)("button",{type:"button",className:"btn "+e.buttonClassName,onClick:c,onBlur:i,children:e.label}),e.children,(0,b.jsx)("div",{className:o.menu,children:e.menu})]})}function N(e){return(0,b.jsx)(j,{children:e.children,isOpen:e.isOpen,menu:(0,b.jsx)(f,(0,o.A)({},e))})}var C=t(97387),k=t(76989),A=t(46082),y=t(7032);const w=e=>{switch(e){case"phone":return["(",/[1-9]/,/\d/,/\d/,")"," ",/[1-9]/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];case"ein":return[/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];case"ssn":return[/\d/,/\d/,/\d/,"-",/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];case"last4ssn":return[/\d/,/\d/,/\d/,/\d/];case"card":return[/[\dX]/,/[\dX]/,/[\dX]/,/[\dX]/,"-",/[\dX]/,/[\dX]/,/[\dX]/,/[\dX]/,"-",/[\dX]/,/[\dX]/,/[\dX]/,/[\dX]/,"-",/[\dX]/,/[\dX]/,/[\dX]/,/[\dX]/];case"initials":return[/[a-zA-Z]/,/[a-zA-Z]/,/[a-zA-Z]/];case"branch-transit":case"zip-code":return[/\d/,/\d/,/\d/,/\d/,/\d/];case"aba-routing-number":return[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];case"bank-institution":return[/\d/,/\d/,/\d/];
1case"canada-postal-code":return[/[a-zA-Z]/,/\d/,/[a-zA-Z]/," ",/\d/,/[a-zA-Z]/,/\d/];default:throw new Error('maskType "'.concat(e,'" is not supported'))}},S="valueAsDate"in document.createElement("input")&&window.innerWidth<600,T=(0,C.A)();function B(e){const n=(0,l.useRef)(null),t=(0,l.useState)(!1),o=(0,a.A)(t,2),c=o[0],i=o[1],d=e.mask,u=e.datepicker,m=e.onChange,h=e.tabIndex,v=e.disableClipboard,p=e.icon,x=(0,k.B)().shortDateFormat,g=(0,y.LV)().model.isProduction;(0,l.useEffect)(()=>{if(!d||!n.current)return;const e=(0,r.maskInput)({inputElement:n.current,mask:w(d)});return()=>e.destroy()},[d]);const f=(0,l.useRef)(),j=(0,l.useRef)(0),C=e=>(null===e||void 0===e||e.preventDefault(),!1),B=(0,l.useCallback)(()=>{clearTimeout(j.current),i(!0),f.current&&n.current&&n.current.type&&(n.current.setSelectionRange(...f.current),f.current=void 0)},[i,j]),I=e.onBlur,F=(0,l.useCallback)(()=>{n.current&&(f.current=[n.current.selectionStart||0,n.current.selectionEnd||0,n.current.selectionDirection||"none"]),j.current=window.setTimeout(()=>i(!1),100),null===I||void 0===I||I()},[i,I,j]),E=(0,l.useCallback)(e=>{if(u&&m){const t=(0,s.Yq)(e,u.format||x,"");m({currentTarget:{value:t}}),n.current&&(n.current.disabled=!0,n.current.disabled=!1)}},[m,u,n,x]),X=e.value,D=e.type,R=e.placeholder,M=e.disabled,Z=e.className,O=e.id,P=e.name,z=e.maxLength,q=e.testId,V=u&&S&&X?((e,n,t)=>{const a=(0,s.nY)(e,n);if(a)return(0,s.Yq)(a,t)})(X,x,"yyyy-MM-dd"):X,Y=(0,l.useCallback)(()=>{n.current&&n.current.focus()},[n]);return(0,b.jsxs)(b.Fragment,{children:[p&&(0,b.jsx)("div",{className:"input-group-prepend",children:(0,b.jsx)("span",{className:"input-group-text click-through",children:(0,b.jsx)("label",{onClick:Y,children:(0,b.jsx)(A.I,{name:p})})})}),u&&!S&&(0,b.jsx)(N,{min:u.startDate||(u.futureOnly?T:void 0),max:u.endDate||(u.pastOnly?T:void 0),value:(0,s._U)(X),isOpen:c,onChange:E,onFocusCapture:Y}),(0,b.jsx)("input",{id:O,name:P,type:D||(u&&S?"date":"text"),disabled:M,onInput:m,onBlur:F,onFocus:B,onCopy:v&&g?C:void 0,onPaste:v&&g?C:void 0,onCut:v&&g?C:void 0,onDrag:v&&g?C:void 0,onDrop:v&&g?C:void 0,placeholder:R,value:null!==V&&void 0!==V?V:"",className:"form-control "+(null!==Z&&void 0!==Z?Z:""),autoComplete:u&&!S?"off":e.autoComplete,ref:n,tabIndex:h,maxLength:z,"data-testid":null!==q&&void 0!==q?q:O})]})}},63996(e,n,t){t.d(n,{X:()=>o});var a=t(90292),l=t(23477),s=t(46082),r=t(70579);function o(e){const n=e.message,t=e.modelState,o=e.name,c=e.children,i=e.className;let d=n;var u,m;!n&&t&&o&&(d=null!==(u=t[o])&&void 0!==u?u:t[null!==(m=Object.keys(t).find(e=>(0,l.dc)(e,o)))&&void 0!==m?m:""]);return c||d?e.alert?(0,r.jsx)("div",{className:"alert alert-danger p-2 ".concat(i),role:"alert",children:null!==c&&void 0!==c?c:(0,a.Z)(d)}):(0,r.jsxs)("div",{className:"form-text text-danger ".concat(i),children:[(0,r.jsx)(s.I,{name:"exclamation-circle",className:"mr-1"}),null!==c&&void 0!==c?c:(0,a.Z)(d)]}):null}},90292(e,n,t){t.d(n,{Z:()=>u});var a=t(65043);const l=/<(\w+)([^>]*)>(?:([\s\S]*?)<\/\1>)?/,s=/(\w+(?:-\w+)*)\s*=\s*(["'])(.*?)\2/,r=/script|link|style/i;function o(e){switch(e.toLowerCase()){case"class":return"className";case"for":return"htmlFor";default:return e}}let c;function i(e){var n;return null!==(n=c)&&void 0!==n||(c=window.document.createElement("textarea")),c.innerHTML=e,c.value}function d(e){const n={};let t=e,a=s.exec(t);for(;a;)n[o(a[1])]=i(a[3]),t=t.substring(a.index+a[0].length),a=s.exec(t);return n}function u(e,n){var t,s;if(!e)return;const o=[];let c=null!==(t=null===(s=e.match(/<body[^>]*>([\r\n\s\S]*?)<\/body/))||void 0===s?void 0:s[1])&&void 0!==t?t:e,m=l.exec(c);for(;m;){const e=c.substring(0,m.index);if(""!==e&&o.push(e),!r.test(m[1])){const e=d(m[2]);let t={tagName:m[1],attributes:e,children:u(m[3],n)};n&&(t=n(t)),t&&t.tagName&&(t.attributes.key=o.length,o.push((0,a.createElement)(t.tagName,t.attributes,t.children)))}c=c.substring(m.index+m[0].length),m=l.exec(c)}return c&&o.push(c),o.filter(Boolean).map(e=>"string"===typeof e?i(e):e)}}}]);
2//# sourceMappingURL=276.a493b6a5.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.