PageSourceSearch

https://www.charityvillage.com/_next/static/chunks/pages/user/change-email/[...params]-05de9e3c7de5927b.js

js charityvillage.com collected 2026-10-01 11:38:20 UTC 13,018 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="996d0730-2bc8-46e3-a092-a123569440da",e._sentryDebugIdIdentifier="sentry-dbid-996d0730-2bc8-46e3-a092-a123569440da")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4856],{12832:(e,i,a)=>{"use strict";a.d(i,{A:()=>s,u:()=>r});var n=a(37876);a(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,l=({title:e,theme:i=null,titleId:a="",...t})=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":a,...t,children:[e?(0,n.jsx)("title",{id:a,children:e}):null,(0,n.jsxs)("g",{className:"envelope_svg__nc-icon-wrapper",children:[(0,n.jsx)("path",{d:"M12.5 17.9c-.2.1-.3.1-.5.1s-.3 0-.5-.1L0 11.7V23c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V11.7l-11.5 6.2z"}),(0,n.jsx)("path",{d:"M6 12.6V2h12v10.6l5.1-2.8L20 7.5V1c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v6.6L.9 9.9 6 12.6z"}),(0,n.jsx)("path",{"data-color":"color-2",d:"M8 5h8v2H8zM8 9h8v2H8z"})]})]}),r=({color:e="currentColor",title:i,fill:a,...r})=>(0,n.jsx)(l,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:a??t(e),title:i,...r}),s=r},23075:(e,i,a)=>{"use strict";a.r(i),a.d(i,{__N_SSP:()=>M,default:()=>b});var n=a(37876);a(14232);var t=a(77742),l=a(8733),r=a(63848),s=a.n(r),d=a(64177),o=a(63200),m=a(53248),c=a(44319),f=a(57282),u=a(80243),h=a(39741),_=a(65656),p=a(64184),g=a(92347),x=a(12832);let v=({loading:e,email:i,onConfirm:a,errorList:t,finished:r})=>(0,n.jsxs)(u.$,{children:[(0,n.jsxs)(h.w,{icon:(0,n.jsx)(f.i,{color:"primary",width:"300",height:"300",title:"Email change confirmation"}),children:[(0,n.jsx)("p",{children:(0,n.jsx)(l.A,{id:"user_email_changed_confirm",defaultMessage:"Please confirm the change of your email {email}",values:{email:i}})}),(0,n.jsx)(_.K,{size:"medium"}),e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.o,{title:"loading",color:"primary",height:"30px",width:"auto"}),(0,n.jsx)(c.E,{tag:"h1",marginBottom:4,textAlign:"center",children:(0,n.jsx)(l.A,{id:"user_changed_email_loading",defaultMessage:"Confirming your email change"})}),(0,n.jsx)(c.E,{textAlign:"center",children:(0,n.jsx)(l.A,{id:"user_changed_email_loading_msg",defaultMessage:"Once successfull you will be redirected to the home page."})})]}),!r&&!e&&(0,n.jsxs)(g.$n,{buttonStyle:"primary",onClick:a,children:[(0,n.jsx)(x.u,{title:"Confirm"}),(0,n.jsx)("span",{children:(0,n.jsx)(l.A,{id:"user_email_changed_confirm_button",defaultMessage:"Confirm"})})]})]}),r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.o,{title:"loading",color:"primary",height:"30px",width:"auto"}),(0,n.jsx)(c.E,{tag:"h1",marginBottom:4,textAlign:"center",children:(0,n.jsx)(l.A,{id:"user_email_changed_confirm_redirecting",defaultMessage:"Redirecting"})}),(0,n.jsx)(c.E,{textAlign:"center",children:(0,n.jsx)(l.A,{id:"user_email_changed_confirm_redirecting_msg",defaultMessage:"Your email change has been confirmed."})})]}),t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.K,{size:"medium"}),t,(0,n.jsx)(_.K,{size:"medium"})]})]});var j=a(89099),y=a.n(j),k=a(80841);let w=({user:e,id:i,timestamp:a,hash:r})=>{let c=(0,t.A)(),f=(0,o.o)(),u=null,[h,{data:_,error:p,loading:g}]=(0,d.n)(s(),{variables:{id:i,hash:r,timestamp:a},onCompleted:({updateEmail:e})=>{e.errors?.length||x()}});_?.updateEmail?.errors?.length>0&&(u=(0,n.jsx)(m.k,{errors:_.updateEmail.errors})),(p||_&&!_.updateEmail)&&(u=(0,n.jsx)(k.s,{alertStyle:"danger",type:"assertive",children:(0,n.jsx)(l.A,{id:"user_email_changed_confirm_error",defaultMessage:"There was an error confirming your email change."})}));let x=()=>{y().push("/").then(()=>{f.addMessage({type:"success",text:c.formatMessage({id:"user_email_changed_confirm_success_msg",defaultMessage:"Successfully confirmed your email change."})})})};return(0,n.jsx)(v,{email:e.email,finished:!!_?.updateEmail,onConfirm:h,loading:g,errorList:u})};var M=!0;let b=({user:e,id:i,hash:a,timestamp:t})=>(0,n.jsx)(w,{user:e,id:i,hash:a,timestamp:t})},39741:(e,i,a)=>{"use strict";a.d(i,{w:()=>s});var n=a(37876),t=a(63750),l=a(62019),r=a.n(l);function s({children:e,icon:i,iconColor:a,iconWidth:l,iconHeight:d}){return(0,n.jsx)("div",{className:r().emptyElementWrapper,children:(0,n.jsxs)(t.A,{children:[(0,n.jsx)("div",{className:r().iconWrapper,style:{color:a,width:l,height:d},children:i}),e]})})}},57282:(e,i,a)=>{"use strict";a.d(i,{i:()=>r});var n=a(37876);a(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,l=({title:e,theme:i=null,titleId:a="",...t})=>(0,n.jsxs)("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 870.71 691.21","aria-labelledby":a,...t,children:[e?(0,n.jsx)("title",{id:a,children:e}):null,(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"email_sent_svg__a",x1:309.27,y1:560.72,x2:309.27,y2:406.06,gradientTransform:"matrix(-1 0 0 1 616.6 82.28)",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:0,stopColor:"gray",stopOpacity:.25}),(0,n.jsx)("stop",{offset:.54,stopColor:"gray",stopOpacity:.12}),(0,n.jsx)("stop",{offset:1,stopColor:"gray",stopOpacity:.1})]}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__b",x1:-175.29,y1:157.73,x2:-175.29,y2:3.07,gradientTransform:"matrix(0 -1 -1 0 970.73 29.07)",xlinkHref:"#email_sent_svg__a"}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__c",x1:-246.29,y1:456.25,x2:-246.29,y2:301.59,gradientTransform:"matrix(0 -1 -1 0 1293.26 304.09)",xlinkHref:"#email_sent_svg__a"}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__d",x1:60,y1:226.17,x2:60,y2:71.51,gradientTransform:"matrix(-1 0 0 1 436.24 71.59)",xlinkHref:"#email_sent_svg__a"}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__e",x1:435.66,y1:691.21,x2:435.66,y2:9.21,xlinkHref:"#email_sent_svg__a"}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__f",x1:435.66,y1:544.71,x2:435.66,y2:69.59,xlinkHref:"#email_sent_svg__a"}),(0,n.jsx)("linearGradient",{id:"email_sent_svg__g",x1:600.3,y1:786.69,x2:600.3,y2:565.96,xlinkHref:"#email_sent_svg__a"})]}),(0,n.jsx)("path",{transform:"rotate(-16.6 -132.68 1077.924)",fill:"url(#email_sent_svg__a)",d:"M181.5 488.34h251.66V643H181.5z"}),(0,n.jsx)("path",{fill:"#fff",d:"m4.022 425.95 232.997-69.46 41.236 138.325-232.997 69.46z"}),(0,n.jsx)("g",{opacity:.6,fill:"#f55f44",children:(0,n.jsx)("path",{d:"m53.502 446.529-29.641 8.836-6.54-21.936 29.641-8.836zM174.726 456.862l-113.83 33.934-2.12-7.111 113.83-33.934zM179.323 472.267l-83 24.743-1.415-4.743 83-24.744z"})}),(0,n.jsx)("path",{transform:"rotate(-78.98 744.658 252.053)",fill:"url(#email_sent_svg__b)",d:"M812.99 78.53h154.66v251.66H812.99z"}),(0,n.jsx)("path",{fill:"#fff",d:"M591.66 146.056 619.25 4.378l238.648 46.475-27.591 141.678z"}),(0,n.jsx)("g",{opacity:.6,fill:"#f55f44",children:(0,n.jsx)("path",{d:"m653.455 45.55-30.36-5.913 4.376-22.468 30.36 5.913zM756.073 110.92l-116.59-22.706 1.418-7.283 116.59 22.705zM753.003 126.713l-85.013-16.556.946-4.859 85.013 16.556z"})}),(0,n.jsx)("path",{transform:"rotate(-23.45 580.445 894.79)",fill:"url(#email_sent_svg__c)",d:"M837.01 424.55h154.66v251.66H837.01z"}),(0,n.jsx)("path",{fill:"#fff",d:"m635.84 361.545 132.42-57.44 96.752 223.05-132.418 57.44z"}),(0,n.jsx)("g",{opacity:.6,fill:"#47e6b1",children:(0,n.jsx)("path",{d:"m753.648 355.646-12.309-28.376 21-9.109 12.308 28.375zM757.833 477.233l-47.268-108.97 6.807-2.953 47.268 108.97zM743.08 483.628l-34.466-79.456 4.541-1.97 34.466 79.456z"})}),(0,n.jsx)("path",{transform:"rotate(-19.53 -9.391 646.573)",fill:"url(#email_sent_svg__d)",d:"M250.41 143.1h251.66v154.66H250.41z"}),(0,n.jsx)("path",{fill:"#fff",d:"M71.35 87.817 300.49 6.539l48.253 136.035-229.142 81.279z"}),(0,n.jsx)("g",{opacity:.6,fill:"currentColor",children:(0,n.jsx)("path",{d:"m121.741 105.895-29.15 10.34-7.652-21.573 29.15-10.34zM243.335 110.033 131.388 149.74l-2.48-6.993 111.946-39.709zM248.71 125.183l-81.627 28.954-1.655-4.665 81.627-28.954z"})}),(0,n.jsx)("path",{fill:"url(#email_sent_svg__e)",d:"m435.66 9.21-293 275.83v406.17h585.99V285.04L435.66 9.21z"}),(0,n.jsx)("path",{fill:"#fff",d:"M725.68 682.3H145.63V284.38L435.66 14.16l290.02 270.22V682.3z"}),(0,n.jsx)("path",{fill:"url(#email_sent_svg__f)",d:"M233.73 69.59h403.85v475.12H233.73z"}),(0,n.jsx)("path",{fill:"#fff",d:"M238.83 73.55h393.65v471.16H238.83z"}),(0,n.jsx)("path",{fill:"#f5f5f5",d:"m145.63 284.38 290.03 198.96L145.63 682.3V284.38zM725.68 284.38 435.66 483.34 725.68 682.3V284.38z"}),(0,n.jsx)("path",{d:"M310.28 786.69 588.92 569.9a18.39 18.39 0 0 1 22.75 0l278.66 216.79Z",transform:"translate(-164.65 -104.4)",fill:"url(#email_sent_svg__g)"}),(0,n.jsx)("path",{d:"m145.63 682.29 278.64-207.32a19.06 19.06 0 0 1 22.75 0l278.66 207.32Z",fill:"#fff"}),(0,n.jsx)("path",{fill:"#47e6b1",d:"M298.56 164.61h82.16v13.86h-82.16z"}),(0,n.jsx)("path",{fill:"#f5f5f5",d:"M298.56 201.24h274.19v13.86H298.56zM298.56 224.99h274.19v13.86H298.56zM298.56 248.75h274.19v13.86H298.56zM298.56 272.5h274.19v13.86H298.56zM298.56 296.26h124.72v13.86H298.56z"}),(0,n.jsx)("path",{fill:"currentColor",d:"M448.03 296.26h124.72v13.86H448.03z"})]}),r=({color:e="currentColor",title:i,fill:a,...r})=>
1(0,n.jsx)(l,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:a??t(e),title:i,...r})},62019:e=>{e.exports={emptyElementWrapper:"empty_emptyElementWrapper__TBUS5",iconWrapper:"empty_iconWrapper__av1Tx"}},63200:(e,i,a)=>{"use strict";a.d(i,{o:()=>t});var n=a(58318);let t=()=>{let{state:e,dispatch:i}=(0,n.Pj)();return{addMessage:e=>{i({type:"addMessage",message:e})},removeMessage:e=>{i({type:"addMessage",message:e})},messages:e&&e.messages?e.messages:[]}}},63750:(e,i,a)=>{"use strict";a.d(i,{A:()=>d,k:()=>d});var n=a(37876),t=a(17175);a(14232);var l=a(88664),r=a.n(l);let s=(0,t.F)([r().alignCenter],{variants:{flow:{row:r().alignCenterDirectionRow,column:r().alignCenterDirectionColumn}},defaultVariants:{flow:"column"}});function d({flow:e="column",children:i}){return(0,n.jsx)("div",{className:s({flow:e}),children:i})}},63848:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"timestamp"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hash"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"timestamp"},value:{kind:"Variable",name:{kind:"Name",value:"timestamp"}}},{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"Variable",name:{kind:"Name",value:"hash"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:146}};i.loc.source={body:"mutation updateEmail($id: Int!, $timestamp: Int!, $hash: String!) {\n  updateEmail(id: $id, timestamp: $timestamp, hash: $hash) {\n    errors\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function n(e,i){for(var a=0;a<e.definitions.length;a++){var n=e.definitions[a];if(n.name&&n.name.value==i)return n}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,a){if("FragmentSpread"===i.kind)a.add(i.name.value);else if("VariableDefinition"===i.kind){var n=i.type;"NamedType"===n.kind&&a.add(n.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,a)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,a)}),i.definitions&&i.definitions.forEach(function(i){e(i,a)})}(e,i),a[e.name.value]=i}}),e.exports=i,e.exports.updateEmail=function(e,i){var t={kind:e.kind,definitions:[n(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=a[i]||new Set,r=new Set,s=new Set;for(l.forEach(function(e){s.add(e)});s.size>0;){var d=s;s=new Set,d.forEach(function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach(function(e){s.add(e)}))})}return r.forEach(function(i){var a=n(e,i);a&&t.definitions.push(a)}),t}(i,"updateEmail")},91068:(e,i,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/change-email/[...params]",function(){return a(23075)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=91068)),_N_E=e.O()}]);
2//# sourceMappingURL=[...params]-05de9e3c7de5927b.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.