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]="212b071a-bc23-45bd-a5d4-6ba3eeb80567",e._sentryDebugIdIdentifier="sentry-dbid-212b071a-bc23-45bd-a5d4-6ba3eeb80567")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4856,9153],{12832:(e,i,n)=>{"use strict";n.d(i,{A:()=>s,u:()=>l});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsxs)("g",{className:"envelope_svg__nc-icon-wrapper",children:[(0,a.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,a.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,a.jsx)("path",{"data-color":"color-2",d:"M8 5h8v2H8zM8 9h8v2H8z"})]})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,a.jsx)(r,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...l}),s=l},23075:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>w,default:()=>C});var a=n(37876);n(14232);var t=n(77742),r=n(8733),l=n(63848),s=n.n(l),o=n(64177),d=n(63200),c=n(53248),m=n(44319),u=n(57282),f=n(80243),h=n(39741),_=n(65656),g=n(64184),x=n(92347),p=n(12832);let v=({loading:e,email:i,onConfirm:n,errorList:t,finished:l})=>(0,a.jsxs)(f.$,{children:[(0,a.jsxs)(h.w,{icon:(0,a.jsx)(u.i,{color:"primary",width:"300",height:"300",title:"Email change confirmation"}),children:[(0,a.jsx)("p",{children:(0,a.jsx)(r.A,{id:"user_email_changed_confirm",defaultMessage:"Please confirm the change of your email {email}",values:{email:i}})}),(0,a.jsx)(_.K,{size:"medium"}),e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.o,{title:"loading",color:"primary",height:"30px",width:"auto"}),(0,a.jsx)(m.E,{tag:"h1",marginBottom:4,textAlign:"center",children:(0,a.jsx)(r.A,{id:"user_changed_email_loading",defaultMessage:"Confirming your email change"})}),(0,a.jsx)(m.E,{textAlign:"center",children:(0,a.jsx)(r.A,{id:"user_changed_email_loading_msg",defaultMessage:"Once successfull you will be redirected to the home page."})})]}),!l&&!e&&(0,a.jsxs)(x.$n,{buttonStyle:"primary",onClick:n,children:[(0,a.jsx)(p.u,{title:"Confirm"}),(0,a.jsx)("span",{children:(0,a.jsx)(r.A,{id:"user_email_changed_confirm_button",defaultMessage:"Confirm"})})]})]}),l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.o,{title:"loading",color:"primary",height:"30px",width:"auto"}),(0,a.jsx)(m.E,{tag:"h1",marginBottom:4,textAlign:"center",children:(0,a.jsx)(r.A,{id:"user_email_changed_confirm_redirecting",defaultMessage:"Redirecting"})}),(0,a.jsx)(m.E,{textAlign:"center",children:(0,a.jsx)(r.A,{id:"user_email_changed_confirm_redirecting_msg",defaultMessage:"Your email change has been confirmed."})})]}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.K,{size:"medium"}),t,(0,a.jsx)(_.K,{size:"medium"})]})]});var j=n(89099),y=n.n(j),k=n(80841);let b=({user:e,id:i,timestamp:n,hash:l})=>{let m=(0,t.A)(),u=(0,d.o)(),f=null,[h,{data:_,error:g,loading:x}]=(0,o.n)(s(),{variables:{id:i,hash:l,timestamp:n},onCompleted:({updateEmail:e})=>{e.errors?.length||p()}});_?.updateEmail?.errors?.length>0&&(f=(0,a.jsx)(c.k,{errors:_.updateEmail.errors})),(g||_&&!_.updateEmail)&&(f=(0,a.jsx)(k.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(r.A,{id:"user_email_changed_confirm_error",defaultMessage:"There was an error confirming your email change."})}));let p=()=>{y().push("/").then(()=>{u.addMessage({type:"success",text:m.formatMessage({id:"user_email_changed_confirm_success_msg",defaultMessage:"Successfully confirmed your email change."})})})};return(0,a.jsx)(v,{email:e.email,finished:!!_?.updateEmail,onConfirm:h,loading:x,errorList:f})};var w=!0;let C=({user:e,id:i,hash:n,timestamp:t})=>(0,a.jsx)(b,{user:e,id:i,hash:n,timestamp:t})},39741:(e,i,n)=>{"use strict";n.d(i,{w:()=>s});var a=n(37876),t=n(63750),r=n(62019),l=n.n(r);function s({children:e,icon:i,iconColor:n,iconWidth:r,iconHeight:o}){return(0,a.jsx)("div",{className:l().emptyElementWrapper,children:(0,a.jsxs)(t.A,{children:[(0,a.jsx)("div",{className:l().iconWrapper,style:{color:n,width:r,height:o},children:i}),e]})})}},57282:(e,i,n)=>{"use strict";n.d(i,{i:()=>l});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.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":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsxs)("defs",{children:[(0,a.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,a.jsx)("stop",{offset:0,stopColor:"gray",stopOpacity:.25}),(0,a.jsx)("stop",{offset:.54,stopColor:"gray",stopOpacity:.12}),(0,a.jsx)("stop",{offset:1,stopColor:"gray",stopOpacity:.1})]}),(0,a.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,a.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,a.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,a.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,a.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,a.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,a.jsx)("path",{transform:"rotate(-16.6 -132.68 1077.924)",fill:"url(#email_sent_svg__a)",d:"M181.5 488.34h251.66V643H181.5z"}),(0,a.jsx)("path",{fill:"#fff",d:"m4.022 425.95 232.997-69.46 41.236 138.325-232.997 69.46z"}),(0,a.jsx)("g",{opacity:.6,fill:"#f55f44",children:(0,a.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,a.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,a.jsx)("path",{fill:"#fff",d:"M591.66 146.056 619.25 4.378l238.648 46.475-27.591 141.678z"}),(0,a.jsx)("g",{opacity:.6,fill:"#f55f44",children:(0,a.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,a.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,a.jsx)("path",{fill:"#fff",d:"m635.84 361.545 132.42-57.44 96.752 223.05-132.418 57.44z"}),(0,a.jsx)("g",{opacity:.6,fill:"#47e6b1",children:(0,a.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,a.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,a.jsx)("path",{fill:"#fff",d:"M71.35 87.817 300.49 6.539l48.253 136.035-229.142 81.279z"}),(0,a.jsx)("g",{opacity:.6,fill:"currentColor",children:(0,a.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,a.jsx)("path",{fill:"url(#email_sent_svg__e)",d:"m435.66 9.21-293 275.83v406.17h585.99V285.04L435.66 9.21z"}),(0,a.jsx)("path",{fill:"#fff",d:"M725.68 682.3H145.63V284.38L435.66 14.16l290.02 270.22V682.3z"}),(0,a.jsx)("path",{fill:"url(#email_sent_svg__f)",d:"M233.73 69.59h403.85v475.12H233.73z"}),(0,a.jsx)("path",{fill:"#fff",d:"M238.83 73.55h393.65v471.16H238.83z"}),(0,a.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,a.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,a.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,a.jsx)("path",{fill:"#47e6b1",d:"M298.56 164.61h82.16v13.86h-82.16z"}),(0,a.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,a.jsx)("path",{fill:"currentColor",d:"M448.03 296.26h124.72v13.86H448.03z"})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,a.jsx)(r,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...l})},62019:e=>{e.exports={emptyElementWrapper:"empty_emptyElementWrapper__TBUS5",iconWrapper:"empty_iconWrapper__av1Tx"}},63200:(e,i,n)=>{"use strict";n.d(i,{o:()=>t});var a=n(58318);let t=()=>{let{state:e,dispatch:i}=(0,a.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,n)=>{"use strict";n.d(i,{A:()=>o,k:()=>o});var a=n(37876),t=n(17175);n(14232);var r=n(88664),l=n.n(r);let s=(0,t.F)([l().alignCenter],{variants:{flow:{row:l().alignCenterDirectionRow,column:l().alignCenterDirectionColumn}},defaultVariants:{flow:"column"}});function o({flow:e="column",children:i}){return(0,a.jsx)("div",{className:s({flow:e}),children:i})}},63848:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateEmail"}
1,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 n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.updateEmail=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var r=n[i]||new Set,l=new Set,s=new Set;for(r.forEach(function(e){s.add(e)});s.size>0;){var o=s;s=new Set,o.forEach(function(e){l.has(e)||(l.add(e),(n[e]||new Set).forEach(function(e){s.add(e)}))})}return l.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"updateEmail")},64184:(e,i,n)=>{"use strict";n.d(i,{o:()=>l});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsx)("circle",{fill:"currentColor",cx:6,cy:50,r:6,children:(0,a.jsx)("animateTransform",{attributeName:"transform",dur:"1s",type:"translate",values:"0 15 ; 0 -15; 0 15",repeatCount:"indefinite",begin:.1})}),(0,a.jsx)("circle",{fill:"currentColor",cx:30,cy:50,r:6,children:(0,a.jsx)("animateTransform",{attributeName:"transform",dur:"1s",type:"translate",values:"0 10 ; 0 -10; 0 10",repeatCount:"indefinite",begin:.2})}),(0,a.jsx)("circle",{fill:"currentColor",cx:54,cy:50,r:6,children:(0,a.jsx)("animateTransform",{attributeName:"transform",dur:"1s",type:"translate",values:"0 5 ; 0 -5; 0 5",repeatCount:"indefinite",begin:.3})})]}),l=({color:e="currentColor",title:i,fill:n,...l})=>(0,a.jsx)(r,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...l})},80243:(e,i,n)=>{"use strict";n.d(i,{$:()=>l,A:()=>l});var a=n(37876),t=n(88664),r=n.n(t);function l({children:e}){return(0,a.jsx)("div",{className:r().centerBox,children:e})}},88664:e=>{e.exports={alignCenter:"Alignment_alignCenter__P5Hgh",alignCenterDirectionRow:"Alignment_alignCenterDirectionRow__XgNsh",alignCenterDirectionColumn:"Alignment_alignCenterDirectionColumn__C7LJz",centerBox:"Alignment_centerBox__bO5gh",verticallyCentered:"Alignment_verticallyCentered__iH7gk"}},91068:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/change-email/[...params]",function(){return n(23075)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=91068)),_N_E=e.O()}]); 2//# sourceMappingURL=[...params]-14565aac3dbef928.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.