1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[384],{5541:function(e,r,t){"use strict";t.d(r,{Z:function(){return h}});var n=t(7462),a=t(5987),o=t(7294),i=t(6010),l=t(5557),u=t(3871),s=o.forwardRef((function(e,r){var t=e.children,l=e.classes,s=e.className,c=e.color,d=void 0===c?"inherit":c,p=e.component,h=void 0===p?"svg":p,b=e.fontSize,v=void 0===b?"medium":b,x=e.htmlColor,j=e.titleAccess,m=e.viewBox,f=void 0===m?"0 0 24 24":m,k=(0,a.Z)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(h,(0,n.Z)({className:(0,i.Z)(l.root,s,"inherit"!==d&&l["color".concat((0,u.Z)(d))],"default"!==v&&"medium"!==v&&l["fontSize".concat((0,u.Z)(v))]),focusable:"false",viewBox:f,color:x,"aria-hidden":!j||void 0,role:j?"img":void 0,ref:r},k),t,j?o.createElement("title",null,j):null)}));s.muiName="SvgIcon";var c=(0,l.Z)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(s);var d=function(e,r){var t=function(r,t){return o.createElement(c,(0,n.Z)({ref:t},r),e)};return t.muiName=c.muiName,o.memo(o.forwardRef(t))}(o.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));var p=o.forwardRef((function(e,r){var t=e.alt,l=e.children,u=e.classes,s=e.className,c=e.component,p=void 0===c?"div":c,h=e.imgProps,b=e.sizes,v=e.src,x=e.srcSet,j=e.variant,m=void 0===j?"circular":j,f=(0,a.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),k=null,g=function(e){var r=e.src,t=e.srcSet,n=o.useState(!1),a=n[0],i=n[1];return o.useEffect((function(){if(r||t){i(!1);var e=!0,n=new Image;return n.src=r,n.srcSet=t,n.onload=function(){e&&i("loaded")},n.onerror=function(){e&&i("error")},function(){e=!1}}}),[r,t]),a}({src:v,srcSet:x}),y=v||x,N=y&&"error"!==g;return k=N?o.createElement("img",(0,n.Z)({alt:t,src:v,srcSet:x,sizes:b,className:u.img},h)):null!=l?l:y&&t?t[0]:o.createElement(d,{className:u.fallback}),o.createElement(p,(0,n.Z)({className:(0,i.Z)(u.root,u.system,u[m],s,!N&&u.colorDefault),ref:r},f),k)})),h=(0,l.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(p)},686:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/myprofile",function(){return t(3627)}])},3627:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return U}});var n=t(4051),a=t.n(n),o=t(5893),i=t(7294),l=t(4021),u=t(60),s=t(5541),c=t(5675),d=t(3828),p=t(7803),h=t(1163),b=t(3349),v=t(5321),x=t(5611),j=t(4926),m=t(774),f=t(8589),k=t(2286);t(4298);function g(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function y(e,r,t,n,a,o,i){try{var l=e[o](i),u=l.value}catch(s){return void t(s)}l.done?r(u):Promise.resolve(u).then(n,a)}function N(e){return function(){var r=this,t=arguments;return new Promise((function(n,a){var o=e.apply(r,t);function i(e){y(o,n,a,i,l,"next",e)}function l(e){y(o,n,a,i,l,"throw",e)}i(void 0)}))}}function w(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function C(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1)))),n.forEach((function(r){w(e,r,t[r])}))}return e}function S(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,o=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(o.push(n.value),!r||o.length!==r);i=!0);}catch(u){l=!0,a=u}finally{try{i||null==t.return||t.return()}finally{if(l)throw a}}return o}}(e,r)||function(e,r){if(!e)return;if("string"===typeof e)return g(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(){var e=S((0,b.F_)(d.I8),1)[0],r=(0,h.useRouter)(),t=(0,i.useState)(),n=t[0],g=t[1],y=(0,i.useState)(),w=y[0],U=y[1],D=(0,i.useRef)(null),R=(0,i.useState)({name:"",systemName:"",sex:"",birthYear:"",birthMonth:"",birthDay:"",postNumber:"",phoneNumString4:"",email:"",password:""}),M=R[0],z=R[1],P=(0,i.useState)(!1),T=P[0],L=P[1],Y=(0,x.e1)().addToast;(0,i.useEffect)((function(){e&&(0,v.cf)((0,v.JU)(d.Tg,"users",e.uid),(function(e){var r,t,n;g(null===e||void 0===e?void 0:e.data()),U((null===(r=null===e||void 0===e?void 0:e.data())||void 0===r?void 0:r.updatedPhotoURL)?null===(t=null===e||void 0===e?void 0:e.data())||void 0===t?void 0:t.updatedPhotoURL:null===(n=null===e||void 0===e?void 0:e.data())||void 0===n?void 0:n.photoURL),z((function(r){var t,n,a,o,i,l,u,s,c,d,p,h,b,v;return C({},r,{name:(null===(t=null===e||void 0===e?void 0:e.data())||void 0===t?void 0:t.updatedName)?null===(n=null===e||void 0===e?void 0:e.data())||void 0===n?void 0:n.updatedName:null===(a=null===e||void 0===e?void 0:e.data())||void 0===a?void 0:a.name,systemName:null===(o=null===e||void 0===e?void 0:e.data())||void 0===o?void 0:o.systemName,sex:null===(i=null===e||void 0===e?void 0:e.data())||void 0===i?void 0:i.sex,sexCode:null===(l=null===e||void 0===e?void 0:e.data())||void 0===l?void 0:l.sexCode,birthYear:null===(u=null===e||void 0===e?void 0:e.data())||void 0===u?void 0:u.birthYear,birthYearCode:null===(s=null===e||void 0===e?void 0:e.data())||void 0===s?void 0:s.birthYearCode,birthMonth:null===(c=null===e||void 0===e?void 0:e.data())||void 0===c?void 0:c.birthMonth,birthMonthCode:null===(d=null===e||void 0===e?void 0:e.data())||void 0===d?void 0:d.birthMonthCode,birthDay:null===(p=null===e||void 0===e?void 0:e.data())||void 0===p?void 0:p.birthDay,birthDayCode:null===(h=null===e||void 0===e?void 0:e.data())||void 0===h?void 0:h.birthDayCode,postNumber:null===(b=null===e||void 0===e?void 0:e.data())||void 0===b?void 0:b.postNumber,phoneNumString4:null===(v=null===e||void 0===e?void 0:e.data())||void 0===v?void 0:v.phoneNumString4})}))}))}),[e]);function E(){return F.apply(this,arguments)}function F(){return F=N(a().mark((function t(){var o,i,l,u,s,c,p,h,b,x,j,f,k,g;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=5;break}return"\u4fdd\u5b58\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4f1a\u54e1\u767b\u9332\u53ca\u3073\u30ed\u30b0\u30a4\u30f3\u3092\u304a\u6e08\u307e\u305b\u304f\u3060\u3055\u3044\u3002",Y("\u4fdd\u5b58\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4f1a\u54e1\u767b\u9332\u53ca\u3073\u30ed\u30b0\u30a4\u30f3\u3092\u304a\u6e08\u307e\u305b\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),r.push("/"),t.abrupt("return");case 5:if(o=M.name,i=M.systemName,l=M.sex,u=M.birthYear,s=M.birthMonth,c=M.birthDay,p=M.postNumber,h=M.phoneNumString4,M.email,M.password,w){t.next=9;break}return Y("\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u50cf\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),t.abrupt("return");case 9:if(o&&""!=o){t.next=12;break}return Y("\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),t.abrupt("return");case 12:if(b=o.replace("\u3000"," "),!(p.length>0)){t.next=17;break}if(p.match(/^[0-9]+$/)&&7==p.length){t.next=17;break}return Y("\u90f5\u4fbf\u756a\u53f7\u306f\uff17\u6841\u306e\u534a\u89d2\u6570\u5b57\uff08\u30cf\u30a4\u30d5\u30f3\u306a\u3057\uff09\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),t.abrupt("return");case 17:if(!(h.length>0)){t.next=21;break}if(h.match(/^[0-9]+$/)&&4==h.length){t.next=21;break}return Y("\u643a\u5e2f\u96fb\u8a71\u756a\u53f7\u4e0b\uff08\u30b7\u30e2\uff09\uff14\u6841\u306f\uff14\u6841\u306e\u534a\u89d2\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),t.abrupt("return");case 21:L(!0),x=0,t.t0=l,t.next=""===t.t0?26:"\u7537\u6027"===t.t0?28:"\u5973\u6027"===t.t0?30:"\u305d\u306e\u4ed6"===t.t0?32:34;break;case 26:case 34:return x=0,t.abrupt("break",36);case 28:return x=1,t.abrupt("break",36);case 30:return x=2,t.abrupt("break",36);case 32:return x=3,t.abrupt("break",36);case 36:j=0,t.t1=u,t.next=""===t.t1?40:"2020"===t.t1?42:"2019"===t.t1?44:"2018"===t.t1?46:"2017"===t.t1?48:"2016"===t.t1?50:"2015"===t.t1?52:"2014"===t.t1?54:"2013"===t.t1?56:"2012"===t.t1?58:"2011"===t.t1?60:"2010"===t.t1?62:"2009"===t.t1?64:"2008"===t.t1?66:"2007"===t.t1?68:"2006"===t.t1?70:"2005"===t.t1?72:"2004"===t.t1?74:"2003"===t.t1?76:"2002"===t.t1?78:"2001"===t.t1?80:"2000"===t.t1?82:"1999"===t.t1?84:"1998"===t.t1?86:"1997"===t.t1?88:"1996"===t.t1?90:"1995"===t.t1?92:"1994"===t.t1?94:"1993"===t.t1?96:"1992"===t.t1?98:"1991"===t.t1?100:"1990"===t.t1?102:"1989"===t.t1?104:"1988"===t.t1?106:"1987"===t.t1?108:"1986"===t.t1?110:"1985"===t.t1?112:"1984"===t.t1?114:"1983"===t.t1?116:"1982"===t.t1?118:"1981"===t.t1?120:"1980"===t.t1?122:"1979"===t.t1?124:"1978"===t.t1?126:"1977"===t.t1?128:"1976"===t.t1?130:"1975"===t.t1?132:"1974"===t.t1?134:"1973"===t.t1?136:"1972"===t.t1?138:"1971"===t.t1?140:"1970"===t.t1?142:"1969"===t.t1?144:"1968"===t.t1?146:"1967"===t.t1?148:"1966"===t.t1?150:"1965"===t.t1?152:"1964"===t.t1?154:"1963"===t.t1?156:"1962"===t.t1?158:"1961"===t.t1?160:"1960"===t.t1?162:"1959"===t.t1?164:"1958"===t.t1?166:"1957"===t.t1?168:"1956"===t.t1?170:"1955"===t.t1?172:"1954"===t.t1?174:"1953"===t.t1?176:"1952"===t.t1?178:"1951"===t.t1?180:"1950"===t.t1?182:"1949"===t.t1?184:"1948"===t.t1?186:"1947"===t.t1?188:"1946"===t.t1?190:"1945"===t.t1?192:"1944"===t.t1?194:"1943"===t.t1?196:"1942"===t.t1?198:"1941"===t.t1?200:"1940"===t.t1?202:"1939"===t.t1?204:"1938"===t.t1?206:"1937"===t.t1?208:"1936"===t.t1?210:"1935"===t.t1?212:"1934"===t.t1?214:"1933"===t.t1?216:"1932"===t.t1?218:"1931"===t.t1?220:"1930"===t.t1?222:"1929"===t.t1?224:"1928"===t.t1?226:"1927"===t.t1?228:"1926"===t.t1?230:"1925"===t.t1?232:"1924"===t.t1?234:"1923"===t.t1?236:"1922"===t.t1?238:"1921"===t.t1?240:"1920"===t.t1?242:"1919"===t.t1?244:"1918"===t.t1?246:"1917"===t.t1?248:"1916"===t.t1?250:"1915"===t.t1?252:254;break;case 40:case 254:return j=0,t.abrupt("break",256);case 42:return j=1,t.abrupt("break",256);case 44:return j=2,t.abrupt("break",256);case 46:return j=3,t.abrupt("break",256);case 48:return j=4,t.abrupt("break",256);case 50:return j=5,t.abrupt("break",256);case 52:return j=6,t.abrupt("break",256);case 54:return j=7,t.abrupt("break",256);case 56:return j=8,t.abrupt("break",256);case 58:return j=9,t.abrupt("break",256);case 60:return j=10,t.abrupt("break",256);case 62:return j=11,t.abrupt("break",256);case 64:return j=12,t.abrupt("break",256);case 66:return j=13,t.abrupt("break",256);case 68:return j=14,t.abrupt("break",256);case 70:return j=15,t.abrupt("break",256);case 72:return j=16,t.abrupt("break",256);case 74:return j=17,t.abrupt("break",256);case 76:return j=18,t.abrupt("break",256);case 78:return j=19,t.abrupt("break",256);case 80:return j=20,t.abrupt("break",256);case 82:return j=21,t.abrupt("break",256);case 84:return j=22,t.abrupt("break",256);case 86:return j=23,t.abrupt("break",256);case 88:return j=24,t.abrupt("break",256);case 90:return j=25,t.abrupt("break",256);case 92:return j=26,t.abrupt("break",256);case 94:return j=27,t.abrupt("break",256);case 96:return j=28,t.abrupt("break",256);case 98:return j=29,t.abrupt("break",256);case 100:return j=30,t.abrupt("break",256);case 102:return j=31,t.abrupt("break",256);case 104:return j=32,t.abrupt("break",256);case 106:return j=33,t.abrupt("break",256);case 108:return j=34,t.abrupt("break",256);case 110:return j=35,t.abrupt("break",256);case 112:return j=36,t.abrupt("break",256);case 114:return j=37,t.abrupt("break",256);case 116:return j=38,t.abrupt("break",256);case 118:return j=39,t.abrupt("break",256);case 120:return j=40,t.abrupt("break",256);case 122:return j=41,t.abrupt("break",256);case 124:return j=42,t.abrupt("break",256);case 126:return j=43,t.abrupt("break",256);case 128:return j=44,t.abrupt("break",256);case 130:return j=45,t.abrupt("break",256);case 132:return j=46,t.abrupt("break",256);case 134:return j=47,t.abrupt("break",256);case 136:return j=48,t.abrupt("break",256);case 138:return j=49,t.abrupt("break",256);case 140:return j=50,t.abrupt("break",256);case 142:return j=51,t.abrupt("break",256);case 144:return j=52,t.abrupt("break",256);case 146:return j=53,t.abrupt("break",256);case 148:return j=54,t.abrupt("break",256);case 150:return j=55,t.abrupt("break",256);case 152:return j=56,t.abrupt("break",256);case 154:return j=57,t.abrupt("break",256);case 156:return j=58,t.abrupt("break",256);case 158:return j=59,t.abrupt("break",256);case 160:return j=60,t.abrupt("break",256);case 162:return j=61,t.abrupt("break",256);case 164:return j=62,t.abrupt("break",256);case 166:return j=63,t.abrupt("break",256);case 168:return j=64,t.abrupt("break",256);case 170:return j=65,t.abrupt("break",256);case 172:return j=66,t.abrupt("break",256);case 174:return j=67,t.abrupt("break",256);case 176:return j=68,t.abrupt("break",256);case 178:return j=69,t.abrupt("break",256);case 180:return j=70,t.abrupt("break",256);case 182:return j=71,t.abrupt("break",256);case 184:return j=72,t.abrupt("break",256);case 186:return j=73,t.abrupt("break",256);case 188:return j=74,t.abrupt("break",256);case 190:return j=75,t.abrupt("break",256);case 192:return j=76,t.abrupt("break",256);case 194:return j=77,t.abrupt("break",256);case 196:return j=78,t.abrupt("break",256);case 198:return j=79,t.abrupt("break",256);case 200:return j=80,t.abrupt("break",256);case 202:return j=81,t.abrupt("break",256);case 204:return j=82,t.abrupt("break",256);case 206:return j=83,t.abrupt("break",256);case 208:return j=84,t.abrupt("break",256);case 210:return j=85,t.abrupt("break",256);case 212:return j=86,t.abrupt("break",256);case 214:return j=87,t.abrupt("break",256);case 216:return j=88,t.abrupt("break",256);case 218:return j=89,t.abrupt("break",256);case 220:return j=90,t.abrupt("break",256);case 222:return j=91,t.abrupt("break",256);case 224:return j=92,t.abrupt("break",256);case 226:return j=93,t.abrupt("break",256);case 228:return j=94,t.abrupt("break",256);case 230:return j=95,t.abrupt("break",256);case 232:return j=96,t.abrupt("break",256);case 234:return j=97,t.abrupt("break",256);case 236:return j=98,t.abrupt("break",256);case 238:return j=99,t.abrupt("break",256);case 240:return j=100,t.abrupt("break",256);case 242:return j=101,t.abrupt("break",256);case 244:return j=102,t.abrupt("break",256);case 246:return j=103,t.abrupt("break",256);case 248:return j=104,t.abrupt("break",256);case 250:return j=105,t.abrupt("break",256);case 252:return j=106,t.abrupt("break",256);case 256:f=0,t.t2=s,t.next=""===t.t2?260:"1"===t.t2?262:"2"===t.t2?264:"3"===t.t2?266:"4"===t.t2?268:"5"===t.t2?270:"6"===t.t2?272:"7"===t.t2?274:"8"===t.t2?276:"9"===t.t2?278:"10"===t.t2?280:"11"===t.t2?282:"12"===t.t2?284:286;break;case 260:case 286:return f=0,t.abrupt("break",288);case 262:return f=1,t.abrupt("break",288);case 264:return f=2,t.abrupt("break",288);case 266:return f=3,t.abrupt("break",288);case 268:return f=4,t.abrupt("break",288);case 270:return f=5,t.abrupt("break",288);case 272:return f=6,t.abrupt("break",288);case 274:return f=7,t.abrupt("break",288);case 276:return f=8,t.abrupt("break",288);case 278:return f=9,t.abrupt("break",288);case 280:return f=10,t.abrupt("break",288);case 282:return f=11,t.abrupt("break",288);case 284:return f=12,t.abrupt("break",288);case 288:k=0,t.t3=c,t.next=""===t.t3?292:"1"===t.t3?294:"2"===t.t3?296:"3"===t.t3?298:"4"===t.t3?300:"5"===t.t3?302:"6"===t.t3?304:"7"===t.t3?306:"8"===t.t3?308:"9"===t.t3?310:"10"===t.t3?312:"11"===t.t3?314:"12"===t.t3?316:"13"===t.t3?318:"14"===t.t3?320:"15"===t.t3?322:"16"===t.t3?324:"17"===t.t3?326:"18"===t.t3?328:"19"===t.t3?330:"20"===t.t3?332:"21"===t.t3?334:"22"===t.t3?336:"23"===t.t3?338:"24"===t.t3?340:"25"===t.t3?342:"26"===t.t3?344:"27"===t.t3?346:"28"===t.t3?348:"29"===t.t3?350:"30"===t.t3?352:"31"===t.t3?354:356;break;case 292:case 356:return k=0,t.abrupt("break",358);case 294:return k=1,t.abrupt("break",358);case 296:return k=2,t.abrupt("break",358);case 298:return k=3,t.abrupt("break",358);case 300:return k=4,t.abrupt("break",358);case 302:return k=5,t.abrupt("break",358);case 304:return k=6,t.abrupt("break",358);case 306:return k=7,t.abrupt("break",358);case 308:return k=8,t.abrupt("break",358);case 310:return k=9,t.abrupt("break",358);case 312:return k=10,t.abrupt("break",358);case 314:return k=11,t.abrupt("break",358);case 316:return k=12,t.abrupt("break",358);case 318:return k=13,t.abrupt("break",358);case 320:return k=14,t.abrupt("break",358);case 322:return k=15,t.abrupt("break",358);case 324:return k=16,t.abrupt("break",358);case 326:return k=17,t.abrupt("break",358);case 328:return k=18,t.abrupt("break",358);case 330:return k=19,t.abrupt("break",358);case 332:return k=20,t.abrupt("break",358);case 334:return k=21,t.abrupt("break",358);case 336:return k=22,t.abrupt("break",358);case 338:return k=23,t.abrupt("break",358);case 340:return k=24,t.abrupt("break",358);case 342:return k=25,t.abrupt("break",358);case 344:return k=26,t.abrupt("break",358);case 346:return k=27,t.abrupt("break",358);case 348:return k=28,t.abrupt("break",358);case 350:return k=29,t.abrupt("break",358);case 352:return k=30,t.abrupt("break",358);case 354:return k=31,t.abrupt("break",358);case 358:if(g=(0,m.iH)(d.tO,"users/".concat(e.uid,"/image")),void 0==(null===n||void 0===n?void 0:n.photoURL)){t.next=380;break}if(!w.includes("https")){t.next=375;break}return U(null),t.next=364,(0,v.r7)((0,v.JU)(d.Tg,"users",e.uid),{updatedPhotoURL:(null===n||void 0===n?void 0:n.updatedPhotoURL)?null===n||void 0===n?void 0:n.updatedPhotoURL:null===n||void 0===n?void 0:n.photoURL});
1case 364:return t.next=366,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",e.uid),{updatedPhotoURL:(null===n||void 0===n?void 0:n.updatedPhotoURL)?null===n||void 0===n?void 0:n.updatedPhotoURL:null===n||void 0===n?void 0:n.photoURL});case 366:return t.next=368,(0,v.r7)((0,v.JU)(d.Tg,"users",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 368:return t.next=370,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 370:U((null===n||void 0===n?void 0:n.updatedPhotoURL)?null===n||void 0===n?void 0:n.updatedPhotoURL:null===n||void 0===n?void 0:n.photoURL),Y("\u4fdd\u5b58\u3067\u304d\u307e\u3057\u305f\uff01",{appearance:"success",autoDismiss:!0}),L(!1),t.next=378;break;case 375:return U(null),t.next=378,(0,m.sf)(g,w,"data_url").then(function(){var r=N(a().mark((function r(t){var n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,m.Jt)(g);case 2:return n=r.sent,r.next=5,(0,v.r7)((0,v.JU)(d.Tg,"users",e.uid),{updatedPhotoURL:n});case 5:return r.next=7,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",e.uid),{updatedPhotoURL:n});case 7:return r.next=9,(0,v.r7)((0,v.JU)(d.Tg,"users",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 9:return r.next=11,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 11:U(n),Y("\u4fdd\u5b58\u3067\u304d\u307e\u3057\u305f\uff01",{appearance:"success",autoDismiss:!0}),L(!1);case 14:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());case 378:t.next=383;break;case 380:return U(null),t.next=383,(0,m.sf)(g,w,"data_url").then(function(){var r=N(a().mark((function r(t){var n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,m.Jt)(g);case 2:return n=r.sent,r.next=5,(0,v.r7)((0,v.JU)(d.Tg,"users",e.uid),{updatedPhotoURL:n});case 5:return r.next=7,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",e.uid),{updatedPhotoURL:n});case 7:return r.next=9,(0,v.r7)((0,v.JU)(d.Tg,"users",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 9:return r.next=11,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",null===e||void 0===e?void 0:e.uid),{name:b,systemName:i,sex:l,sexCode:x,birthYear:u,birthYearCode:j,birthMonth:s,birthMonthCode:f,birthDay:c,birthDayCode:k,postNumber:p,phoneNumString4:h});case 11:U(n),Y("\u4fdd\u5b58\u3067\u304d\u307e\u3057\u305f\uff01",{appearance:"success",autoDismiss:!0}),L(!1);case 14:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());case 383:case"end":return t.stop()}}),t)}))),F.apply(this,arguments)}var J=function(e){var r=new FileReader;e.target.files[0]&&r.readAsDataURL(e.target.files[0]),r.onload=function(e){if(!e.target.result.includes("data:image"))return Y("\u753b\u50cf\uff08PNG\u5f62\u5f0f\u306a\u3069\uff09\u3092\u633f\u5165\u3057\u3066\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),void U(null);U(e.target.result)}};return(0,o.jsx)(l.Z,{children:(0,o.jsxs)("div",{className:"items-center justify-center my-12 px-4",children:[(0,o.jsx)("div",{className:"flex items-center w-full flex-col px-4",children:w?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"relative h-48 w-48 border border-solid border-gray-400 rounded-full",children:[(0,o.jsx)(c.default,{className:"absolute h-36 w-36 md:h-48 rounded-full p-1 mt-10 object-cover",src:w,layout:"fill",alt:"profile pic",onClick:function(){U(null)}}),(0,o.jsx)(j.a2,{className:"absolute h-12 w-12 text-gray-400 z-20 ml-40 -mt-3","aria-hidden":"true",onClick:function(){U(null)}})]}),(0,o.jsx)("input",{ref:D,type:"file",hidden:!0,onChange:J})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{onClick:function(){return D.current.click()},className:"flex items-center flex-col justify-center h-48 w-48 rounded-full bg-red-100 cursor-pointer p-1",children:T?(0,o.jsx)(f.Cd,{size:80,color:"#f0c000"}):(0,o.jsx)(j.V1s,{className:"h-12 w-12 text-red-600","aria-hidden":"true"})}),(0,o.jsx)("input",{ref:D,type:"file",hidden:!0,onChange:J})]})}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2",children:[(0,o.jsx)("span",{className:"w-80 mt-8 md:mt-10 font-bold text-left",style:{fontSize:16},children:"\u30e6\u30fc\u30b6\u30fc\u540d"}),(0,o.jsx)("input",{placeholder:"\u4f8b\uff1a\u5c71\u7530 \u592a\u90ce",type:"text",className:"w-80 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){n.name=e.target.value,z((function(r){return C({},r,{name:e.target.value})}))},style:{outlineWidth:0},value:null===n||void 0===n?void 0:n.name}),(0,o.jsx)("span",{className:"w-80 mt-2 text-md text-left ml-1 mr-2",children:"\u203b\u304a\u5e97\u306e\u30b9\u30bf\u30c3\u30d5\u306e\u65b9\u304c\u547c\u3073\u304b\u3051\u6642\u306a\u3069\u306b\u53c2\u7167\u3055\u308c\u307e\u3059\u3002\u304a\u5e97\u5074\u306b\u516c\u958b\u3057\u3066\u3082\u3088\u3044\u60c5\u5831\u3092\u3054\u767b\u9332\u304f\u3060\u3055\u3044\u3002"})]}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2",children:[(0,o.jsx)("span",{className:"w-80 mt-8 md:mt-10 font-bold text-left",style:{fontSize:16},children:"\u30ed\u30b0\u30a4\u30f3ID\uff08\u30aa\u30f3\u30e9\u30a4\u30f3\u30b7\u30e7\u30c3\u30d7\u306a\u3069\u3054\u5229\u7528\u6642\uff09"}),(0,o.jsx)("input",{placeholder:"\u4f8b\[email protected]",type:"text",className:"w-80 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){n.systemName=e.target.value,z((function(r){return C({},r,{systemName:e.target.value})}))},style:{outlineWidth:0},value:null===n||void 0===n?void 0:n.systemName}),(0,o.jsx)("span",{className:"w-80 mt-2 text-md text-left ml-1 mr-2",children:"\u203b\u304a\u5e97\u306e\u30b9\u30bf\u30c3\u30d5\u306e\u65b9\u304c\u304a\u5e97\u5074\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u7d10\u4ed8\u3051\u3092\u884c\u3046\u969b\u306a\u3069\u306b\u53c2\u7167\u3055\u308c\u307e\u3059\u3002\u304a\u5e97\u5074\u306b\u516c\u958b\u3057\u3066\u3082\u3088\u3044\u60c5\u5831\u3092\u3054\u767b\u9332\u304f\u3060\u3055\u3044\u3002"})]}),"anonymous"!=(null===n||void 0===n?void 0:n.authMethod)?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2",children:[(0,o.jsx)("span",{className:"w-80 mt-4 md:mt-6 font-bold text-left",style:{fontSize:16},children:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff08\u975e\u516c\u958b\uff09"}),(0,o.jsx)("input",{readOnly:!0,placeholder:"\u4f8b\[email protected]",type:"text",className:"w-80 border rounded p-4 text-black focus:ring-gray-500 focus:border-gray-500 bg-gray-300 cursor-not-allowed disabled",style:{outlineWidth:0},value:null===n||void 0===n?void 0:n.email})]})}):(0,o.jsx)(o.Fragment,{}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2",children:[(0,o.jsx)("span",{className:"w-80 mt-4 md:mt-6 font-bold text-left",style:{fontSize:16},children:"\u6027\u5225"}),(0,o.jsxs)("select",{placeholder:"\u6027\u5225",className:"w-80 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{sex:e.target.value}))},value:M.sex,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"\u7537\u6027",children:"\u7537\u6027"}),(0,o.jsx)("option",{value:"\u5973\u6027",children:"\u5973\u6027"}),(0,o.jsx)("option",{value:"\u305d\u306e\u4ed6",children:"\u305d\u306e\u4ed6"})]})]}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2 md:mt-3",children:[(0,o.jsx)("span",{className:"w-80 mt-4 md:mt-6 font-bold text-left",style:{fontSize:16},children:"\u8a95\u751f\u65e5"}),(0,o.jsxs)("div",{className:"flex",children:[""!=M.birthYear?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{disabled:!0,placeholder:"\u897f\u66a6",className:"w-28 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthYear:e.target.value}))},value:M.birthYear,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"2020",children:"2020"}),(0,o.jsx)("option",{value:"2019",children:"2019"}),(0,o.jsx)("option",{value:"2018",children:"2018"}),(0,o.jsx)("option",{value:"2017",children:"2017"}),(0,o.jsx)("option",{value:"2016",children:"2016"}),(0,o.jsx)("option",{value:"2015",children:"2015"}),(0,o.jsx)("option",{value:"2014",children:"2014"}),(0,o.jsx)("option",{value:"2013",children:"2013"}),(0,o.jsx)("option",{value:"2012",children:"2012"}),(0,o.jsx)("option",{value:"2011",children:"2011"}),(0,o.jsx)("option",{value:"2010",children:"2010"}),(0,o.jsx)("option",{value:"2009",children:"2009"}),(0,o.jsx)("option",{value:"2008",children:"2008"}),(0,o.jsx)("option",{value:"2007",children:"2007"}),(0,o.jsx)("option",{value:"2006",children:"2006"}),(0,o.jsx)("option",{value:"2005",children:"2005"}),(0,o.jsx)("option",{value:"2004",children:"2004"}),(0,o.jsx)("option",{value:"2003",children:"2003"}),(0,o.jsx)("option",{value:"2002",children:"2002"}),(0,o.jsx)("option",{value:"2001",children:"2001"}),(0,o.jsx)("option",{value:"2000",children:"2000"}),(0,o.jsx)("option",{value:"1999",children:"1999"}),(0,o.jsx)("option",{value:"1998",children:"1998"}),(0,o.jsx)("option",{value:"1997",children:"1997"}),(0,o.jsx)("option",{value:"1996",children:"1996"}),(0,o.jsx)("option",{value:"1995",children:"1995"}),(0,o.jsx)("option",{value:"1994",children:"1994"}),(0,o.jsx)("option",{value:"1993",children:"1993"}),(0,o.jsx)("option",{value:"1992",children:"1992"}),(0,o.jsx)("option",{value:"1991",children:"1991"}),(0,o.jsx)("option",{value:"1990",children:"1990"}),(0,o.jsx)("option",{value:"1989",children:"1989"}),(0,o.jsx)("option",{value:"1988",children:"1988"}),(0,o.jsx)("option",{value:"1987",children:"1987"}),(0,o.jsx)("option",{value:"1986",children:"1986"}),(0,o.jsx)("option",{value:"1985",children:"1985"}),(0,o.jsx)("option",{value:"1984",children:"1984"}),(0,o.jsx)("option",{value:"1983",children:"1983"}),(0,o.jsx)("option",{value:"1982",children:"1982"}),(0,o.jsx)("option",{value:"1981",children:"1981"}),(0,o.jsx)("option",{value:"1980",children:"1980"}),(0,o.jsx)("option",{value:"1979",children:"1979"}),(0,o.jsx)("option",{value:"1978",children:"1978"}),(0,o.jsx)("option",{value:"1977",children:"1977"}),(0,o.jsx)("option",{value:"1976",children:"1976"}),(0,o.jsx)("option",{value:"1975",children:"1975"}),(0,o.jsx)("option",{value:"1974",children:"1974"}),(0,o.jsx)("option",{value:"1973",children:"1973"}),(0,o.jsx)("option",{value:"1972",children:"1972"}),(0,o.jsx)("option",{value:"1971",children:"1971"}),(0,o.jsx)("option",{value:"1970",children:"1970"}),(0,o.jsx)("option",{value:"1969",children:"1969"}),(0,o.jsx)("option",{value:"1968",children:"1968"}),(0,o.jsx)("option",{value:"1967",children:"1967"}),(0,o.jsx)("option",{value:"1966",children:"1966"}),(0,o.jsx)("option",{value:"1965",children:"1965"}),(0,o.jsx)("option",{value:"1964",children:"1964"}),(0,o.jsx)("option",{value:"1963",children:"1963"}),(0,o.jsx)("option",{value:"1962",children:"1962"}),(0,o.jsx)("option",{value:"1961",children:"1961"}),(0,o.jsx)("option",{value:"1960",children:"1960"}),(0,o.jsx)("option",{value:"1959",children:"1959"}),(0,o.jsx)("option",{value:"1958",children:"1958"}),(0,o.jsx)("option",{value:"1957",children:"1957"}),(0,o.jsx)("option",{value:"1956",children:"1956"}
1),(0,o.jsx)("option",{value:"1955",children:"1955"}),(0,o.jsx)("option",{value:"1954",children:"1954"}),(0,o.jsx)("option",{value:"1953",children:"1953"}),(0,o.jsx)("option",{value:"1952",children:"1952"}),(0,o.jsx)("option",{value:"1951",children:"1951"}),(0,o.jsx)("option",{value:"1950",children:"1950"}),(0,o.jsx)("option",{value:"1949",children:"1949"}),(0,o.jsx)("option",{value:"1948",children:"1948"}),(0,o.jsx)("option",{value:"1947",children:"1947"}),(0,o.jsx)("option",{value:"1946",children:"1946"}),(0,o.jsx)("option",{value:"1945",children:"1945"}),(0,o.jsx)("option",{value:"1944",children:"1944"}),(0,o.jsx)("option",{value:"1943",children:"1943"}),(0,o.jsx)("option",{value:"1942",children:"1942"}),(0,o.jsx)("option",{value:"1941",children:"1941"}),(0,o.jsx)("option",{value:"1940",children:"1940"}),(0,o.jsx)("option",{value:"1939",children:"1939"}),(0,o.jsx)("option",{value:"1938",children:"1938"}),(0,o.jsx)("option",{value:"1937",children:"1937"}),(0,o.jsx)("option",{value:"1936",children:"1936"}),(0,o.jsx)("option",{value:"1935",children:"1935"}),(0,o.jsx)("option",{value:"1934",children:"1934"}),(0,o.jsx)("option",{value:"1933",children:"1933"}),(0,o.jsx)("option",{value:"1932",children:"1932"}),(0,o.jsx)("option",{value:"1931",children:"1931"}),(0,o.jsx)("option",{value:"1930",children:"1930"}),(0,o.jsx)("option",{value:"1929",children:"1929"}),(0,o.jsx)("option",{value:"1928",children:"1928"}),(0,o.jsx)("option",{value:"1927",children:"1927"}),(0,o.jsx)("option",{value:"1926",children:"1926"}),(0,o.jsx)("option",{value:"1925",children:"1925"}),(0,o.jsx)("option",{value:"1924",children:"1924"}),(0,o.jsx)("option",{value:"1923",children:"1923"}),(0,o.jsx)("option",{value:"1922",children:"1922"}),(0,o.jsx)("option",{value:"1921",children:"1921"}),(0,o.jsx)("option",{value:"1920",children:"1920"}),(0,o.jsx)("option",{value:"1919",children:"1919"}),(0,o.jsx)("option",{value:"1918",children:"1918"}),(0,o.jsx)("option",{value:"1917",children:"1917"}),(0,o.jsx)("option",{value:"1916",children:"1916"}),(0,o.jsx)("option",{value:"1915",children:"1915"})]})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{placeholder:"\u897f\u66a6",className:"w-28 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthYear:e.target.value}))},value:M.birthYear,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"2020",children:"2020"}),(0,o.jsx)("option",{value:"2019",children:"2019"}),(0,o.jsx)("option",{value:"2018",children:"2018"}),(0,o.jsx)("option",{value:"2017",children:"2017"}),(0,o.jsx)("option",{value:"2016",children:"2016"}),(0,o.jsx)("option",{value:"2015",children:"2015"}),(0,o.jsx)("option",{value:"2014",children:"2014"}),(0,o.jsx)("option",{value:"2013",children:"2013"}),(0,o.jsx)("option",{value:"2012",children:"2012"}),(0,o.jsx)("option",{value:"2011",children:"2011"}),(0,o.jsx)("option",{value:"2010",children:"2010"}),(0,o.jsx)("option",{value:"2009",children:"2009"}),(0,o.jsx)("option",{value:"2008",children:"2008"}),(0,o.jsx)("option",{value:"2007",children:"2007"}),(0,o.jsx)("option",{value:"2006",children:"2006"}),(0,o.jsx)("option",{value:"2005",children:"2005"}),(0,o.jsx)("option",{value:"2004",children:"2004"}),(0,o.jsx)("option",{value:"2003",children:"2003"}),(0,o.jsx)("option",{value:"2002",children:"2002"}),(0,o.jsx)("option",{value:"2001",children:"2001"}),(0,o.jsx)("option",{value:"2000",children:"2000"}),(0,o.jsx)("option",{value:"1999",children:"1999"}),(0,o.jsx)("option",{value:"1998",children:"1998"}),(0,o.jsx)("option",{value:"1997",children:"1997"}),(0,o.jsx)("option",{value:"1996",children:"1996"}),(0,o.jsx)("option",{value:"1995",children:"1995"}),(0,o.jsx)("option",{value:"1994",children:"1994"}),(0,o.jsx)("option",{value:"1993",children:"1993"}),(0,o.jsx)("option",{value:"1992",children:"1992"}),(0,o.jsx)("option",{value:"1991",children:"1991"}),(0,o.jsx)("option",{value:"1990",children:"1990"}),(0,o.jsx)("option",{value:"1989",children:"1989"}),(0,o.jsx)("option",{value:"1988",children:"1988"}),(0,o.jsx)("option",{value:"1987",children:"1987"}),(0,o.jsx)("option",{value:"1986",children:"1986"}),(0,o.jsx)("option",{value:"1985",children:"1985"}),(0,o.jsx)("option",{value:"1984",children:"1984"}),(0,o.jsx)("option",{value:"1983",children:"1983"}),(0,o.jsx)("option",{value:"1982",children:"1982"}),(0,o.jsx)("option",{value:"1981",children:"1981"}),(0,o.jsx)("option",{value:"1980",children:"1980"}),(0,o.jsx)("option",{value:"1979",children:"1979"}),(0,o.jsx)("option",{value:"1978",children:"1978"}),(0,o.jsx)("option",{value:"1977",children:"1977"}),(0,o.jsx)("option",{value:"1976",children:"1976"}),(0,o.jsx)("option",{value:"1975",children:"1975"}),(0,o.jsx)("option",{value:"1974",children:"1974"}),(0,o.jsx)("option",{value:"1973",children:"1973"}),(0,o.jsx)("option",{value:"1972",children:"1972"}),(0,o.jsx)("option",{value:"1971",children:"1971"}),(0,o.jsx)("option",{value:"1970",children:"1970"}),(0,o.jsx)("option",{value:"1969",children:"1969"}),(0,o.jsx)("option",{value:"1968",children:"1968"}),(0,o.jsx)("option",{value:"1967",children:"1967"}),(0,o.jsx)("option",{value:"1966",children:"1966"}),(0,o.jsx)("option",{value:"1965",children:"1965"}),(0,o.jsx)("option",{value:"1964",children:"1964"}),(0,o.jsx)("option",{value:"1963",children:"1963"}),(0,o.jsx)("option",{value:"1962",children:"1962"}),(0,o.jsx)("option",{value:"1961",children:"1961"}),(0,o.jsx)("option",{value:"1960",children:"1960"}),(0,o.jsx)("option",{value:"1959",children:"1959"}),(0,o.jsx)("option",{value:"1958",children:"1958"}),(0,o.jsx)("option",{value:"1957",children:"1957"}),(0,o.jsx)("option",{value:"1956",children:"1956"}
1),(0,o.jsx)("option",{value:"1955",children:"1955"}),(0,o.jsx)("option",{value:"1954",children:"1954"}),(0,o.jsx)("option",{value:"1953",children:"1953"}),(0,o.jsx)("option",{value:"1952",children:"1952"}),(0,o.jsx)("option",{value:"1951",children:"1951"}),(0,o.jsx)("option",{value:"1950",children:"1950"}),(0,o.jsx)("option",{value:"1949",children:"1949"}),(0,o.jsx)("option",{value:"1948",children:"1948"}),(0,o.jsx)("option",{value:"1947",children:"1947"}),(0,o.jsx)("option",{value:"1946",children:"1946"}),(0,o.jsx)("option",{value:"1945",children:"1945"}),(0,o.jsx)("option",{value:"1944",children:"1944"}),(0,o.jsx)("option",{value:"1943",children:"1943"}),(0,o.jsx)("option",{value:"1942",children:"1942"}),(0,o.jsx)("option",{value:"1941",children:"1941"}),(0,o.jsx)("option",{value:"1940",children:"1940"}),(0,o.jsx)("option",{value:"1939",children:"1939"}),(0,o.jsx)("option",{value:"1938",children:"1938"}),(0,o.jsx)("option",{value:"1937",children:"1937"}),(0,o.jsx)("option",{value:"1936",children:"1936"}),(0,o.jsx)("option",{value:"1935",children:"1935"}),(0,o.jsx)("option",{value:"1934",children:"1934"}),(0,o.jsx)("option",{value:"1933",children:"1933"}),(0,o.jsx)("option",{value:"1932",children:"1932"}),(0,o.jsx)("option",{value:"1931",children:"1931"}),(0,o.jsx)("option",{value:"1930",children:"1930"}),(0,o.jsx)("option",{value:"1929",children:"1929"}),(0,o.jsx)("option",{value:"1928",children:"1928"}),(0,o.jsx)("option",{value:"1927",children:"1927"}),(0,o.jsx)("option",{value:"1926",children:"1926"}),(0,o.jsx)("option",{value:"1925",children:"1925"}),(0,o.jsx)("option",{value:"1924",children:"1924"}),(0,o.jsx)("option",{value:"1923",children:"1923"}),(0,o.jsx)("option",{value:"1922",children:"1922"}),(0,o.jsx)("option",{value:"1921",children:"1921"}),(0,o.jsx)("option",{value:"1920",children:"1920"}),(0,o.jsx)("option",{value:"1919",children:"1919"}),(0,o.jsx)("option",{value:"1918",children:"1918"}),(0,o.jsx)("option",{value:"1917",children:"1917"}),(0,o.jsx)("option",{value:"1916",children:"1916"}),(0,o.jsx)("option",{value:"1915",children:"1915"})]})}),(0,o.jsx)("span",{className:"mt-4 text-lg font-bold text-left ml-1 mr-2",children:"\u5e74"}),""!=M.birthMonth?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{disabled:!0,placeholder:"\u6708",className:"w-16 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthMonth:e.target.value}))},value:M.birthMonth,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"1",children:"1"}),(0,o.jsx)("option",{value:"2",children:"2"}),(0,o.jsx)("option",{value:"3",children:"3"}),(0,o.jsx)("option",{value:"4",children:"4"}),(0,o.jsx)("option",{value:"5",children:"5"}),(0,o.jsx)("option",{value:"6",children:"6"}),(0,o.jsx)("option",{value:"7",children:"7"}),(0,o.jsx)("option",{value:"8",children:"8"}),(0,o.jsx)("option",{value:"9",children:"9"}),(0,o.jsx)("option",{value:"10",children:"10"}),(0,o.jsx)("option",{value:"11",children:"11"}),(0,o.jsx)("option",{value:"12",children:"12"})]})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{placeholder:"\u6708",className:"w-16 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthMonth:e.target.value}))},value:M.birthMonth,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"1",children:"1"}),(0,o.jsx)("option",{value:"2",children:"2"}),(0,o.jsx)("option",{value:"3",children:"3"}),(0,o.jsx)("option",{value:"4",children:"4"}),(0,o.jsx)("option",{value:"5",children:"5"}),(0,o.jsx)("option",{value:"6",children:"6"}),(0,o.jsx)("option",{value:"7",children:"7"}),(0,o.jsx)("option",{value:"8",children:"8"}),(0,o.jsx)("option",{value:"9",children:"9"}),(0,o.jsx)("option",{value:"10",children:"10"}),(0,o.jsx)("option",{value:"11",children:"11"}),(0,o.jsx)("option",{value:"12",children:"12"})]})}),(0,o.jsx)("span",{className:"mt-4 text-lg font-bold text-left ml-1 mr-2",children:"\u6708"}),""!=M.birthDay?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{disabled:!0,placeholder:"\u65e5",className:"w-16 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthDay:e.target.value}))}
1,value:M.birthDay,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"1",children:"1"}),(0,o.jsx)("option",{value:"2",children:"2"}),(0,o.jsx)("option",{value:"3",children:"3"}),(0,o.jsx)("option",{value:"4",children:"4"}),(0,o.jsx)("option",{value:"5",children:"5"}),(0,o.jsx)("option",{value:"6",children:"6"}),(0,o.jsx)("option",{value:"7",children:"7"}),(0,o.jsx)("option",{value:"8",children:"8"}),(0,o.jsx)("option",{value:"9",children:"9"}),(0,o.jsx)("option",{value:"10",children:"10"}),(0,o.jsx)("option",{value:"11",children:"11"}),(0,o.jsx)("option",{value:"12",children:"12"}),(0,o.jsx)("option",{value:"13",children:"13"}),(0,o.jsx)("option",{value:"14",children:"14"}),(0,o.jsx)("option",{value:"15",children:"15"}),(0,o.jsx)("option",{value:"16",children:"16"}),(0,o.jsx)("option",{value:"17",children:"17"}),(0,o.jsx)("option",{value:"18",children:"18"}),(0,o.jsx)("option",{value:"19",children:"19"}),(0,o.jsx)("option",{value:"20",children:"20"}),(0,o.jsx)("option",{value:"21",children:"21"}),(0,o.jsx)("option",{value:"22",children:"22"}),(0,o.jsx)("option",{value:"23",children:"23"}),(0,o.jsx)("option",{value:"24",children:"24"}),(0,o.jsx)("option",{value:"25",children:"25"}),(0,o.jsx)("option",{value:"26",children:"26"}),(0,o.jsx)("option",{value:"27",children:"27"}),(0,o.jsx)("option",{value:"28",children:"28"}),(0,o.jsx)("option",{value:"29",children:"29"}),(0,o.jsx)("option",{value:"30",children:"30"}),(0,o.jsx)("option",{value:"31",children:"31"})]})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("select",{placeholder:"\u65e5",className:"w-16 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){z(C({},M,{birthDay:e.target.value}))},value:M.birthDay,children:[(0,o.jsx)("option",{value:"",children:"-"}),(0,o.jsx)("option",{value:"1",children:"1"}),(0,o.jsx)("option",{value:"2",children:"2"}),(0,o.jsx)("option",{value:"3",children:"3"}),(0,o.jsx)("option",{value:"4",children:"4"}),(0,o.jsx)("option",{value:"5",children:"5"}),(0,o.jsx)("option",{value:"6",children:"6"}),(0,o.jsx)("option",{value:"7",children:"7"}),(0,o.jsx)("option",{value:"8",children:"8"}),(0,o.jsx)("option",{value:"9",children:"9"}),(0,o.jsx)("option",{value:"10",children:"10"}),(0,o.jsx)("option",{value:"11",children:"11"}),(0,o.jsx)("option",{value:"12",children:"12"}),(0,o.jsx)("option",{value:"13",children:"13"}),(0,o.jsx)("option",{value:"14",children:"14"}),(0,o.jsx)("option",{value:"15",children:"15"}),(0,o.jsx)("option",{value:"16",children:"16"}),(0,o.jsx)("option",{value:"17",children:"17"}),(0,o.jsx)("option",{value:"18",children:"18"}),(0,o.jsx)("option",{value:"19",children:"19"}),(0,o.jsx)("option",{value:"20",children:"20"}),(0,o.jsx)("option",{value:"21",children:"21"}),(0,o.jsx)("option",{value:"22",children:"22"}),(0,o.jsx)("option",{value:"23",children:"23"}),(0,o.jsx)("option",{value:"24",children:"24"}),(0,o.jsx)("option",{value:"25",children:"25"}),(0,o.jsx)("option",{value:"26",children:"26"}),(0,o.jsx)("option",{value:"27",children:"27"}),(0,o.jsx)("option",{value:"28",children:"28"}),(0,o.jsx)("option",{value:"29",children:"29"}),(0,o.jsx)("option",{value:"30",children:"30"}),(0,o.jsx)("option",{value:"31",children:"31"})]})}),(0,o.jsx)("span",{className:"mt-4 text-lg font-bold text-left ml-1",children:"\u65e5"})]}),(0,o.jsx)("span",{className:"w-80 mt-2 text-md text-left ml-1 mr-2",children:"\u203b\u8a95\u751f\u65e5\u306f\u4e00\u5ea6\u8a2d\u5b9a\u3059\u308b\u3068\u5909\u66f4\u3067\u304d\u307e\u305b\u3093\u3002"})]}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2 md:mt-0",children:[(0,o.jsx)("span",{className:"w-80 mt-4 md:mt-10 font-bold text-left",style:{fontSize:16},children:"\u90f5\u4fbf\u756a\u53f7\uff08\u534a\u89d2\u6570\u5b57\u30fb\u30cf\u30a4\u30d5\u30f3\u306a\u3057\uff09"}),(0,o.jsx)("input",{placeholder:"\u4f8b\uff1a1234567",type:"number",className:"w-80 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){n.postNumber=e.target.value,z((function(r){return C({},r,{postNumber:e.target.value})}))},style:{outlineWidth:0},value:null===n||void 0===n?void 0:n.postNumber})]}),(0,o.jsxs)("div",{className:"flex items-center flex-col px-4 mt-2 md:mt-0",children:[(0,o.jsx)("span",{className:"w-80 mt-4 md:mt-10 font-bold text-left",style:{fontSize:16},children:"\u643a\u5e2f\u96fb\u8a71\u756a\u53f7\u4e0b\uff08\u30b7\u30e2\uff09\uff14\u6841\uff08\u534a\u89d2\u6570\u5b57\uff09"}),(0,o.jsx)("input",{placeholder:"\u4f8b\uff1a1234",type:"number",className:"w-80 border rounded p-4 text-black focus:ring-black focus:border-black",onChange:function(e){n.phoneNumString4=e.target.value,z((function(r){return C({},r,{phoneNumString4:e.target.value})}))},style:{outlineWidth:0},value:null===n||void 0===n?void 0:n.phoneNumString4})]}),(0,o.jsx)("div",{className:"flex items-center flex-col my-12",children:(0,o.jsx)(u.Z,{onClick:E,className:"w-1/2 text-white font-bold py-2 px-12 rounded-full mt-10",style:{fontSize:16,fontWeight:"bold",backgroundColor:"#f0c000",width:"310px",height:"50px",color:"white",border:"1px solid",borderRadius:25},children:"\u4fdd\u5b58"})}),"anonymous"!=(null===n||void 0===n?void 0:n.authMethod)?(0,o.jsxs)("div",{className:"flex items-center flex-col px-4",children:[(0,o.jsxs)("div",{className:"relative flex pt-10 items-center mt-40",children:[(0,o.jsx)("div",{className:"w-16 h-1 lex-grow border-t border-gray-900"}),(0,o.jsx)("span",{className:"flex-shrink mx-4 text-gray-900",children:"\u30ed\u30b0\u30a2\u30a6\u30c8\u306f\u3053\u3061\u3089"}),(0,o.jsx)("div",{className:"w-16 h-1 flex-grow border-t border-gray-900"})]}),(0,o.jsx)("button",{onClick:function(){(0,p.w7)(d.I8).then((function(){(0,k.destroyCookie)({},"idToken",{path:"/"}),Y("\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f!",{appearance:"success",autoDismiss:!0}),g(null),r.push("/")})).catch((function(e){var r="\u30ed\u30b0\u30a2\u30a6\u30c8\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\uff08\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8:"+e.message+"\uff09";Y(r,{appearance:"error",autoDismiss:!0})}))},className:"rounded-lg font-bold text-sm w-36 h-12 mt-4 mb-2 mx-2",style:{color:"#f0c000",border:"1px solid #f0c000"},children:"\u30ed\u30b0\u30a2\u30a6\u30c8"})]}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex items-center flex-col px-4",children:[(0,o.jsxs)("div",{className:"relative flex items-center",children:[(0,o.jsx)("div",{className:"w-16 h-1 lex-grow border-t border-gray-900"}),(0,o.jsx)("span",{className:"flex-shrink mx-4 text-gray-900",children:"\u30b9\u30bf\u30f3\u30d7\u30ab\u30fc\u30c9\u3092\u4ed6\u306e\u30c7\u30d0\u30a4\u30b9\u3084\u30d6\u30e9\u30a6\u30b6\u3067\u3082\u304a\u4f7f\u3044\u306b\u306a\u308a\u305f\u3044\u65b9\u306f\u3053\u3061\u3089"}),(0,o.jsx)("div",{className:"w-16 h-1 flex-grow border-t border-gray-900"})]}),(0,o.jsx)(u.Z,{onClick:function(){if(!e){return Y("\u767b\u9332\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4f1a\u54e1\u767b\u9332\u53ca\u3073\u30ed\u30b0\u30a4\u30f3\u3092\u304a\u6e08\u307e\u305b\u304f\u3060\u3055\u3044\u3002",{appearance:"error",autoDismiss:!0}),void r.push("/")}(0,p.k9)(e,d.Vv).then(function(){var e=N(a().mark((function e(r){var t,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.user,o=t.photoURL?t.photoURL.replace("=s96-c","=s600-c"):"https://firebasestorage.googleapis.com/v0/b/spoca-app.appspot.com/o/icons%2Fuser-90_colorful.png?alt=media&token=ed8aa0e8-6773-4267-b12a-7fa99ef694ef",i=t.email?t.email:"",e.next=5,(0,v.r7)((0,v.JU)(d.Tg,"users",t.uid),{email:i,photoURL:o,authMethod:"google"});
1case 5:return e.next=7,(0,v.r7)((0,v.JU)(d.Tg,"openUsers",t.uid),{photoURL:o,authMethod:"google"});case 7:n.authMethod="google",Y("Google\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u7d10\u3064\u3051\u3089\u308c\u307e\u3057\u305f\uff01",{appearance:"success",autoDismiss:!0});case 9:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}()).catch((function(e){Y("Google\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u7d10\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\uff08\u3059\u3067\u306b\u304a\u4f7f\u3044\u306eGoogle\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30b1\u30fc\u30b9\u306a\u3069\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002\uff09",{appearance:"error",autoDismiss:!0})}))},style:{fontSize:16,fontWeight:"bold",backgroundColor:"#ffffff",marginTop:35,width:"310px",height:"50px",color:"black",border:"1px solid",borderRadius:25,textTransform:"none"},startIcon:(0,o.jsx)(s.Z,{src:"/icons/icon_google.png"}),children:"Google\u3067\u4f1a\u54e1\u767b\u9332"})]})})]})})}},4298:function(e,r,t){t(699)}},function(e){e.O(0,[449,774,888,179],(function(){return r=686,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
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.