PageSourceSearch

https://lxdao.io/_next/static/chunks/pages/onboarding/profile-d7e3762e2507f576.js

js lxdao.io collected 2026-10-03 22:55:48 UTC 4,633 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5110],{57913:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/onboarding/profile",function(){return o(76994)}])},10173:function(e,t,o){"use strict";o.d(t,{Z:function(){return j}});var n=o(79388),r=o(24967),a=o(75271),c=o(4814),i=o(46436),l=o(31709),s=o(99188),d=o(14263),u=o(52676),p=(0,d.Z)((0,u.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),m=(0,d.Z)((0,u.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),h=(0,d.Z)((0,u.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),v=o(79516),x=o(39966),f=o(68960),b=o(7380),Z=o(94078),k=o(82626);function g(e){return(0,k.ZP)("MuiCheckbox",e)}let y=(0,Z.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),C=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],z=e=>{let{classes:t,indeterminate:o,color:n,size:a}=e,c={root:["root",o&&"indeterminate","color".concat((0,v.Z)(n)),"size".concat((0,v.Z)(a))]},l=(0,i.Z)(c,g,t);return(0,r.Z)({},t,l)},S=(0,f.ZP)(s.Z,{shouldForwardProp:e=>(0,b.Z)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t["size".concat((0,v.Z)(o.size))],"default"!==o.color&&t["color".concat((0,v.Z)(o.color))]]}})(e=>{let{theme:t,ownerState:o}=e;return(0,r.Z)({color:(t.vars||t).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===o.color?t.vars.palette.action.activeChannel:t.vars.palette[o.
1color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,l.Fq)("default"===o.color?t.palette.action.active:t.palette[o.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&{["&.".concat(y.checked,", &.").concat(y.indeterminate)]:{color:(t.vars||t).palette[o.color].main},["&.".concat(y.disabled)]:{color:(t.vars||t).palette.action.disabled}})}),w=(0,u.jsx)(m,{}),_=(0,u.jsx)(p,{}),P=(0,u.jsx)(h,{});var j=a.forwardRef(function(e,t){var o,i;let l=(0,x.i)({props:e,name:"MuiCheckbox"}),{checkedIcon:s=w,color:d="primary",icon:p=_,indeterminate:m=!1,indeterminateIcon:h=P,inputProps:v,size:f="medium",className:b}=l,Z=(0,n.Z)(l,C),k=m?h:p,g=m?h:s,y=(0,r.Z)({},l,{color:d,indeterminate:m,size:f}),j=z(y);return(0,u.jsx)(S,(0,r.Z)({type:"checkbox",inputProps:(0,r.Z)({"data-indeterminate":m},v),icon:a.cloneElement(k,{fontSize:null!=(o=k.props.fontSize)?o:f}),checkedIcon:a.cloneElement(g,{fontSize:null!=(i=g.props.fontSize)?i:f}),ownerState:y,ref:t,className:(0,c.Z)(j.root,b)},Z,{classes:j}))})},76994:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return h}});var n=o(52676),r=o(75271),a=o(87714),c=o(48482),i=o(50491),l=o(10489),s=o(72974),d=o(53517),u=o(66525),p=o(35344),m=o.n(p);function h(){let{address:e}=(0,d.m)(),[,t,,o]=(0,s.Z)(e),[p,h]=(0,r.useState)(!1),v=(0,a.useRouter)(),x=async n=>{h(!0);let r={...n,role:(null==t?void 0:t.role.length)===0?["Buidler"]:null==t?void 0:t.role,image:"".concat("https://api.lxdao.io","/buidler/").concat(null==t?void 0:t.address,"/card")};try{let t=await u.Z.put("/buidler/".concat(e),{metaData:r}),n=null==t?void 0:t.data;try{u.Z.get("/email/sendEmailAfterApplyMember?address=".concat(e))}catch(e){console.log("failed to send email")}if("SUCCESS"!==n.status)throw Error(n.message);o(),v.push("/buidlers/".concat(e,"?isFromOnboarding=true"))}catch(e){(0,l.Z)({type:"error",title:"Failed to update profile",body:e.message})}h(!1)};return(0,n.jsx)(i.Z,{title:"Learning about you",next:"/buidlers/xxxxx?onboarding=true",disableNext:!(null==t?void 0:t.name),currentStep:1,hideButton:!0,children:e&&e===(null==t?void 0:t.address)||e&&!(null==t?void 0:t.name)?(0,n.jsx)(c.Z,{updating:p,innerContainerStyle:{maxWidth:"888px",marginBottom:"48px",border:"0.5px solid #D0D5DD",borderRadius:"12px",padding:"24px 40px"},isOnboardingProcess:!0,values:m().cloneDeep(m().pick(t,["avatar","name","description","skills","interests","contacts","privateContacts"])),saveProfileHandler:x}):(0,n.jsx)("div",{style:{color:"red",textAlign:"center"},children:"Please connect your wallet first (no gas fee)."})})}}},function(e){e.O(0,[4518,9314,2220,3358,390,3584,1103,5802,2645,2888,9774,179],function(){return e(e.s=57913)}),_N_E=e.O()}]);

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.