1(this["webpackJsonpvuexy-react-admin-dashboard"]=this["webpackJsonpvuexy-react-admin-dashboard"]||[]).push([[10],{110:function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"f",(function(){return o})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return u}));var r=n(6),a=n.n(r),c=function(e){return a.a.put("".concat("https://account-api.wetu.com/api/v1","/Account/UpdateDemographicStep"),e,{withCredentials:!0})},i=function(e){return a.a.post("".concat("https://account-api.wetu.com/api/v1","/User/SendVerificationEmail?username=").concat(e))},s=function(e,t){return a.a.post("".concat("https://account-api.wetu.com/api/v1","/User/SendVerificationEmail/").concat(e,"/").concat(t))},o=function(e){return a.a.put("".concat("https://account-api.wetu.com/api/v1","/User/Verify/").concat(e),{},{withCredentials:!0})},l=function(e){return a.a.post("".concat("https://account-api.wetu.com/api/v1","/User/SendPasswordResetEmail?username=").concat(e))},u=function(e,t){return a.a.put("".concat("https://account-api.wetu.com/api/v1","/User/UpdatePassword/").concat(e),{password:t})}},112:function(e,t,n){"use strict";var r=n(32),a=n(60),c=n.p+"static/media/1.5285204b.svg",i=n.p+"static/media/2.63275993.svg",s=n.p+"static/media/1.064aae58.svg",o=n.p+"static/media/itinerary-builder-preview.edf86d74.png",l=n(4),u=n(153),d=n(206),p=n(207),b=n(208),f=n(31),m=n(24),j=n(3),h=function(){var e=Object(f.b)(),t=Object(f.c)((function(e){return e.pageAlert})),n=t.message,a=t.show,c=t.title,i=t.type,s=t.canClose;return Object(j.jsxs)(m.a,Object(l.a)(Object(l.a)({},function(){var t={className:"mb-0",color:i,isOpen:a};return s&&(t.toggle=function(){return e(Object(r.b)())}),t}()),{},{children:[Object(j.jsxs)("span",{className:n?"alert-heading d-flex align-items-center":"alert-body d-flex align-items-center",children:["danger"===i&&Object(j.jsx)(u.a,{size:"18",className:"align-self-baseline"}),"info"===i&&Object(j.jsx)(d.a,{size:"18",className:"align-self-baseline"}),"success"===i&&Object(j.jsx)(p.a,{size:"18",className:"align-self-baseline"}),"warning"===i&&Object(j.jsx)(b.a,{size:"18",className:"align-self-baseline"}),Object(j.jsx)("div",{className:"ps-50",children:c})]}),n&&Object(j.jsx)("div",{className:"alert-body text-left",children:n})]}))},g=(n(113),n(1)),O=n(109),x=n(107);t.a=function(e){var t=e.children,n=e.imageSet,l=e.title,u=e.text,d=Object(f.b)(),p=Object(O.h)(),b="login"===n||"registration"===n,v=[];switch(n){case"createAccount":v=[c];break;case"login":case"registration":v=[o];break;case"forgotPassword":v=[s];break;case"verify":v=[i]}return Object(g.useEffect)((function(){var e;null!==(e=p.state)&&void 0!==e&&e.dismissPageAlert&&d(Object(r.b)())}),[]),Object(j.jsx)("div",{className:"auth-wrapper auth-cover",children:Object(j.jsxs)(m.w,{className:"auth-inner m-0",children:[Object(j.jsx)(m.h,{className:"d-none d-lg-flex align-items-center ps-0 pe-0".concat(b?" auth-brand-panel":""),xs:"12",sm:"12",lg:"6",xl:"6",xxl:"7",children:Object(j.jsx)("div",{className:"w-100 d-lg-flex align-items-center justify-content-center",children:Object(j.jsx)("img",{className:b?"auth-brand-panel-image":"img-fluid",src:v[Math.floor(Math.random()*v.length)]})})}),Object(j.jsx)(m.h,{className:"d-flex align-items-center auth-bg px-2 px-lg-4 p-5",xs:"12",sm:"12",lg:"6",xl:"6",xxl:"5",children:Object(j.jsxs)(m.h,{className:"mx-auto",sm:"10",md:"8",lg:"12",children:[Object(j.jsx)(x.b,{className:"d-flex pb-2 justify-content-center",to:{pathname:"/Login",state:{dismissPageAlert:!0}},children:Object(j.jsx)("img",{className:"wetu-logo",src:a.default})}),Object(j.jsx)(h,{}),Object(j.jsx)(m.g,{tag:"h2",className:"pt-2 mb-50",children:l}),Object(j.jsx)(m.f,{className:"mb-2",children:u}),Object(j.jsx)(m.e,{className:"d-flex flex-column px-0",children:t})]})})]})})}},113:function(e,t,n){},153:function(e,t,n){"use strict";var r=n(1),a=n.n(r),c=n(0),i=n.n(c);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,c=e.size,i=void 0===c?24:c,l=o(e,["color","size"]);return a.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),a.a.createElement("circle",{cx:"12",cy:"12",r:"10"}),a.a.createElement("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),a.a.createElement("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"}))}));
1l.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},l.displayName="AlertCircle",t.a=l},206:function(e,t,n){"use strict";var r=n(1),a=n.n(r),c=n(0),i=n.n(c);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,c=e.size,i=void 0===c?24:c,l=o(e,["color","size"]);return a.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),a.a.createElement("circle",{cx:"12",cy:"12",r:"10"}),a.a.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),a.a.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"}))}));l.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},l.displayName="Info",t.a=l},207:function(e,t,n){"use strict";var r=n(1),a=n.n(r),c=n(0),i=n.n(c);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,c=e.size,i=void 0===c?24:c,l=o(e,["color","size"]);return a.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),a.a.createElement("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),a.a.createElement("polyline",{points:"22 4 12 14.01 9 11.01"}))}));l.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},l.displayName="CheckCircle",t.a=l},208:function(e,t,n){"use strict";var r=n(1),a=n.n(r),c=n(0),i=n.n(c);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,c=e.size,i=void 0===c?24:c,l=o(e,["color","size"]);return a.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),a.a.createElement("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),a.a.createElement("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),a.a.createElement("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"}))}));l.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},l.displayName="AlertTriangle",t.a=l},345:function(e,t,n){"use strict";n.r(t);var r=n(14),a=n(112),c=n(110),i=n(32),s=n(1),o=n(31),l=n(109),u=n(107),d=n(24),p=n(3);t.default=function(){var e,t,n,b=Object(o.b)(),f=Object(l.h)(),m=Object(s.useState)(!1),j=Object(r.a)(m,2),h=j[0],g=j[1];return Object(p.jsxs)(a.a,{imageSet:"verify",title:Object(p.jsx)(p.Fragment,{children:"Verify your email"}),text:Object(p.jsxs)(p.Fragment,{children:["We've sent an email to ",Object(p.jsx)("b",{children:null!==(e=null===(t=f.state)||void 0===t?void 0:t.email)&&void 0!==e?e:""}),". Please check your email inbox and verify to log in."]}),children:[Object(p.jsx)(d.f,{className:"mb-1",children:Object(p.jsx)("b",{className:"semi margin-reset",children:"Didn't get an email?"})}),Object(p.jsx)("li",{className:"mb-50",children:"Check your spam folder."}),(null===(n=f.state)||void 0===n?void 0:n.showRegisterLink)&&Object(p.jsxs)("li",{className:"mb-50",children:["If your email is incorrect, please ",Object(p.jsx)(u.b,{to:{pathname:"/Register",state:{dismissPageAlert:!0}},children:Object(p.jsx)("b",{children:"register"})})," again."]}),Object(p.jsxs)("li",{className:"mb-150",children:["Contact support: ",Object(p.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),Object(p.jsxs)(d.c.Ripple,{className:h?"btn-async busy":"btn-async",color:"primary",disabled:h,onClick:function(){!function(){var e;g(!0),Object(c.c)(null===(e=f.state)||void 0===e?void 0:e.email).then((function(){g(!1),b(Object(i.c)({type:"success",title:Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)("b",{children:"Verification email sent! "}),"Please check your inbox."]})}))})).catch((function(){g(!1),b(Object(i.c)({type:"danger",title:Object(p.jsx)(p.Fragment,{children:Object(p.jsx)("b",{children:"Something went wrong"})}),message:Object(p.jsx)(p.Fragment,{children:" Please click 'Resend verification email' to try again."})}))}))}()},tabIndex:"1",children:[Object(p.jsx)("span",{className:"btn-async-text",children:"Resend verification email"}),Object(p.jsx)(d.x,{className:"btn-async-spinner",color:"white",size:"sm"})]})]})}}}]); 2//# sourceMappingURL=10.4c2f0f0a.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.