PageSourceSearch

https://digdis.app/assets/index-qBrgQbca.js

js digdis.app collected 2026-10-06 04:51:26 UTC 6,881 bytes, 1 lines download raw bytes

1var j=Object.defineProperty;var _=(o,i,r)=>i in o?j(o,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[i]=r;var c=(o,i,r)=>_(o,typeof i!="symbol"?i+"":i,r);import{j as t,r as g}from"./react-Ph8KmUpc.js";import{c as S}from"./react-redux-frK-3DTg.js";import{b as k}from"./redux-CEHQTSDm.js";import{L as R}from"./react-router-dom-4Xacavkg.js";import{c as C}from"./classnames-BexLmjtK.js";import{c as h,L as d,m as u,f as v}from"./index-BQP9Fsax.js";import"./react-infinite-scroller-DHECxD1N.js";import"./react-custom-scrollbars-2-kgjb46fP.js";import"./lodash-BD6zDV1Z.js";import{l as w}from"./letter-BUzVBHkq.js";import{B as E}from"./index-Dgg3Vw6B.js";import{F as l,I as N}from"./antd-60O3bWIW.js";import{H as f}from"./index-Cuz6GbpC.js";import{a as A}from"./react-router-DFdoayiM.js";import"./@babel-Dv-xQaqJ.js";import"./react-dom-Bv_et8d-.js";import"./scheduler-CzFDRTuY.js";import"./hoist-non-react-statics-BSI0cVgy.js";import"./react-is-8JwjhRSi.js";import"./use-sync-external-store-Dy5tW4V4.js";import"./history-Dj_sFSuk.js";import"./resolve-pathname-D6XOvX2q.js";import"./value-equal-epUc6GCk.js";import"./tiny-invariant-BaFNuDhB.js";import"./jspdf-DJ5JdgJM.js";import"./fflate-Cf-_J6lE.js";import"./react-router-dom-v5-compat-CtyklhH_.js";import"./@remix-run-CE9fA62X.js";import"./@redux-saga-DofAfZN4.js";import"./@loadable-D-cJeKcY.js";import"./country-list-8JtTH2WR.js";import"./mixpanel-browser-BICdPCGo.js";import"./react-ga-DGmEChOC.js";import"./prop-types-COOZHFUr.js";import"./dayjs-B1fPiYSR.js";import"./file-saver-D0BwbMUa.js";import"./i18n-iso-countries-cqLO8yen.js";import"./diacritics-OEF76RwT.js";import"./sanitize-html-DrRXZjxj.js";import"./entities-CKVXowTg.js";import"./domelementtype-AVFTcEpP.js";import"./escape-string-regexp-BdPwSnSr.js";import"./deepmerge-MrQlWjp6.js";import"./parse-srcset-BJhEFT5l.js";import"./postcss-B8633UFr.js";import"./picocolors-CBpy9uNM.js";import"./nanoid-oL8Tb-R4.js";import"./title-BFmZ_Iud.js";import"./path-to-regexp-DqLwlp2K.js";import"./uuid-CQkTLCs1.js";import"./@ant-design-DKksAqrL.js";import"./rc-util-CJpcnuU4.js";import"./@emotion-BBuvJ6NL.js";import"./stylis-DKO5tF0i.js";import"./resize-observer-polyfill-B1PUzC5B.js";import"./@ctrl-DOFZgDuz.js";import"./react-responsive-Fco_aIei.js";import"./chartjs-adapter-dayjs-4-8obW1Y9W.js";import"./chart.js-CeS8xRSw.js";import"./@kurkle-BZxJdD1U.js";import"./rc-resize-observer-BdQ-qCQL.js";import"./rc-motion-DhBSNTJX.js";import"./rc-picker-CN97HBMS.js";import"./@rc-component-CxcFbznJ.js";import"./rc-tabs-7wIxrTW8.js";import"./rc-dropdown-D3NoWE6X.js";import"./rc-menu-Cs56wxo8.js";import"./rc-overflow-BU2hobRn.js";import"./rc-select-DMFs1Ga8.js";import"./rc-virtual-list-DCFHM7qA.js";import"./rc-collapse-Tq3AGtZp.js";import"./rc-input-number-DzPeLdwY.js";import"./rc-input-CuyV-7Kl.js";import"./rc-drawer-DDe2Y2yl.js";import"./rc-field-form-XbhqmKOH.js";import"./async-validator-DKvM95Vc.js";import"./scroll-into-view-if-needed-BZeNfFF0.js";import"./compute-scroll-into-view-DWa9QgjM.js";import"./rc-dialog-DCRVNfDd.js";import"./rc-notification-frdkeFpn.js";import"./rc-tooltip-Cwc3QpCo.js";import"./rc-rate-D3021DsI.js";import"./rc-slider-BhLoUAYh.js";import"./rc-steps-CE9f1muJ.js";import"./rc-switch-DEwR8TyH.js";import"./rc-table-CYxJIk4h.js";import"./rc-tree-CTLZRWS2.js";import"./rc-checkbox-DiOY8bhH.js";import"./rc-pagination-BvDmzJeC.js";import"./throttle-debounce-CUWDS_la.js";import"./copy-to-clipboard-BHXIcV7g.js";import"./toggle-selection-BHUZwh74.js";import"./rc-textarea-Dy8qJcu2.js";import"./rc-progress-B-NZ42G9.js";import"./raf-Dq-sNnLN.js";import"./performance-now-CBZyMFG9.js";import"./dom-css-B4pbzv-1.js";import"./prefix-style-BamWPxcA.js";import"./to-camel-case-BpxV1GzG.js";import"./to-space-case-V3KmtM9Z.js";import"./to-no-case-Dd7xp2sK.js";import"./add-px-to-style-Y8Vp6shL.js";import"./react-phone-input-2-DcTLHI2n.js";import"./@hcaptcha-CzorCJhH.js";const T="_wrapper_1tnrp_1",W="_inputIcon_1tnrp_10",F="_container_1tnrp_26",P="_details_1tnrp_39",b="_imageWrapper_1tnrp_46",I="_letterWrapper_1tnrp_59",L="_link_1tnrp_70",y="_error_1tnrp_79",B="_closeButton_1tnrp_84",e={wrapper:T,inputIcon:W,container:F,details:P,imageWrapper:b,letterWrapper:I,link:L,error:y,closeButton:B};function H(o){const{onSubmit:i,onClearError:r,error:s}=o,[a]=l.useForm();s&&r();const p=()=>{a.validateFields().then(m=>{i(m.email)})};return t.jsxs(l,{form:a,onFinish:p,className:e.form,children:[t.jsx(l.Item,{name:"email",rules:[{type:"email",message:"The input is not val
1id email!"},{required:!0,message:"Please input an email!"}],children:t.jsx(N,{suffix:t.jsx("i",{className:C("icon-mail",e.inputIcon)}),placeholder:"Email",type:"email"})}),t.jsx(E,{text:"send email",type:"submit",theme:"cta",fluid:!0}),s&&t.jsx("div",{className:e.error,children:s})]})}const q=S(o=>({auth:o.auth}),o=>({authActions:k(v,o)}));class U extends g.PureComponent{constructor(r){super(r);c(this,"handleResendPassword",r=>{this.props.authActions.forgotPassword(r,this.state.captchaToken),this.setState({recepient:r}),this.setState({forceResetCaptcha:!0,captchaToken:void 0})});c(this,"handleSendAgain",()=>{this.props.authActions.forgotPassword(this.state.recepient,this.state.captchaToken),this.setState({forceResetCaptcha:!0}),this.setState({forceResetCaptcha:!0})});this.state={recepient:"",captchaToken:void 0,forceResetCaptcha:!1}}componentWillUnmount(){this.props.authActions.resetError(),this.props.authActions.setForgotPasswordEmailSent(!1),this.setState({captchaToken:void 0})}render(){const{auth:{token:r,error:s,resetEmailSent:a,isLoading:p},authActions:m}=this.props,{recepient:x}=this.state;return r?t.jsx(A,{to:h("home")}):t.jsx("div",{className:e.wrapper,children:t.jsxs("div",{className:e.container,children:[t.jsx(R,{to:h("login"),className:e.closeButton,children:t.jsx("i",{className:"icon-close"})}),a?t.jsxs(d,{loading:p,children:[t.jsx("div",{className:e.letterWrapper,children:t.jsx("img",{src:w,alt:"mail"})}),t.jsxs("div",{className:e.details,children:[t.jsx("h3",{children:"Check Your Email"}),`We have sent a letter with reset instructions to ${x}`]}),t.jsx(f,{onSetToken:n=>this.setState({captchaToken:n}),forceReset:this.state.forceResetCaptcha,onReset:()=>this.setState({forceResetCaptcha:!1})}),t.jsx("button",{type:"button",className:e.link,onClick:this.handleSendAgain,children:"Send letter again"})]}):t.jsxs(d,{loading:p,children:[u&&t.jsx("div",{className:e.imageWrapper,children:t.jsx("img",{src:u,alt:"logo"})}),t.jsxs("div",{className:e.details,children:[t.jsx("h3",{children:"Forgot Password?"}),"Enter your email to get the password reset instructions"]}),t.jsx(f,{onSetToken:n=>this.setState({captchaToken:n}),forceReset:this.state.forceResetCaptcha,onReset:()=>this.setState({forceResetCaptcha:!1})}),t.jsx(H,{onSubmit:this.handleResendPassword,onClearError:m.resetError,error:s})]})]})})}}const Hr=q(U);export{Hr as default};

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.