1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1944],{85294:function(e,n,r){Promise.resolve().then(r.bind(r,73893))},73893:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return w}});var t=r(27573),i=r(78807),s=r(83817),o=r(10989),a=r(53003),l=r(54133),c=r(33978),d=r(95896),u=r(4562),_=r(91173),p=r(15969),m=r(35733),g=r(64387),f=r(81695),h=r(7653),v=r(93351),x=r(17493);let j=async e=>{var n;return null!==(n=(await x.Z.post("/v1/front/auth/signin",e)).data)&&void 0!==n?n:null};var I=r(51510),F=r(23833),N=r(55704),b=r.n(N);let C=()=>{let e=(0,f.useRouter)(),n=(0,_.e)(e=>e.setUserInfo),r=(0,c.K)(e=>e.session),x=(0,c.K)(e=>e.setSession),N=(0,d.t)(e=>e.setErrorInfo),C=(0,d.t)(e=>e.clearErrorInfo),w=(0,u.I)(e=>e.setSignupData),[E,k]=(0,h.useState)(!1),{register:L,handleSubmit:S,formState:{errors:D,isValid:R,isSubmitting:y}}=(0,v.cI)({mode:"onChange"});(0,h.useLayoutEffect)(()=>{r&&e.push("/auth/initial_signin")},[r,e]);let{isPending:B,mutate:W}=(0,p.D)({mutationFn:e=>j(e),onSuccess:e=>{let{challengeName:r,session:t,username:i}=e.data;if(k(!0),C(),(0,g.signOut)({redirect:!1}),"NEW_PASSWORD_REQUIRED"===r){var s;(null===(s=e.data)||void 0===s?void 0:s.user)&&n(e.data.user),w({username:i}),x(t)}else{let{accessToken:n,idToken:r,refreshToken:t,hashed:i,user:s}=e.data;if(!r)return;(0,I.c)(r,n,t,i,s)}},onError:e=>{if((0,m.IZ)(e)){var n;N({message:(0,s.s)(null===(n=e.response)||void 0===n?void 0:n.data.errorCode)});return}N({message:(0,s.s)("INTERNAL_ERROR")})}}),A=S(async e=>{W(e)});return B||E?(0,t.jsx)(i.gb,{}):(0,t.jsx)("section",{children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("form",{onSubmit:A,className:b().signInForm,children:[(0,t.jsx)("div",{className:b().signInForm__item,children:(0,t.jsx)(l.U,{type:"email",label:"ã¡ã¼ã«ã¢ãã¬ã¹",required:!0,error:D.username,registration:L("username",{required:"ã¡ã¼ã«ã¢ãã¬ã¹ã®å
¥åãå¿
è¦ã§ã",pattern:{value:/^[a-zA-Z0-9._%+-/]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/i,message:"ã¡ã¼ã«ã¢ãã¬ã¹ã®å½¢å¼ãæ£ããããã¾ããã"}}),autoComplete:"email"})}),(0,t.jsx)("div",{className:b().signInForm__item,children:(0,t.jsx)(l.U,{type:"password",label:"ãã¹ã¯ã¼ã",required:!0,error:D.password,registration:L("password",{required:"ãã¹ã¯ã¼ãã®å
¥åã¯å¿
é ã§ã",pattern:{value:/^.{8,}/i,message:"8æå以ä¸ã§ãå
¥åãã ããã"}}),autoComplete:"current-password"})}),(0,t.jsx)("div",{className:"".concat(b().signInForm__item," ").concat(b().signInFormConditions),children:(0,t.jsx)(a.J,{href:"/auth/forgot-password",children:"ãã¹ã¯ã¼ããå¿ãã"})}),(0,t.jsx)("div",{className:b().signInForm__item,children:(0,t.jsxs)("p",{className:b().signInForm__remark,children:["2026å¹´3æ17æ¥ã«",(0,t.jsx)(a.J,{href:"".concat(s.D_,"/info/privacy"),target:"_blank",children:"ãã©ã¤ãã·ã¼ããªã·ã¼"}),"ãæ´æ°ãã¦ããã¾ããåæé ããããã§ãããããã°ã¤ã³ããã¿ã³ãæ¼ãã¦ãã ããããã°ã¤ã³é ããæ¹ã¯åæé ããã¨ã¿ãªãã¾ãã"]})}),(0,t.jsx)("div",{className:b().signInForm__item,children:(0,t.jsx)(o.z,{type:"submit",isLoading:B||E,disabled:!R||y,children:"ãã°ã¤ã³"})})]}),(0,t.jsx)("div",{className:"".concat(b().signInForm__item," ").concat(b().signInForm__otherLogin_separator),children:(0,t.jsx)("span",{children:"ã¾ãã¯å¤é¨ã¢ã«ã¦ã³ãã§ãã°ã¤ã³"})}),(0,t.jsx)("div",{children:(0,t.jsx)(F.t,{text:"Googleã§ãã°ã¤ã³"})})]})})};var w=()=>{let e=(0,d.t)(e=>e.errorInfo);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:"ãã°ã¤ã³"}),(0,t.jsx)("h2",{children:"ãã°ã¤ã³"}),e&&(0,t.jsx)(i.dk,{text:e.message,color:"error"}),(0,t.jsx)(h.Suspense,{fallback:(0,t.jsx)(i.gb,{}),children:(0,t.jsx)(C,{})}),(0,t.jsx)("div",{className:"text-center my-8",children:(0,t.jsx)(i.J3,{href:"/auth/signup",children:"ã¢ã«ã¦ã³ãããæã¡ã§ãªãæ¹"})}),(0,t.jsx)("div",{className:"text-center my-8",children:(0,t.jsx)(i.J3,{href:"".concat(s.D_,"/help/member#cannot-login"),target:"_blank",children:"ãã°ã¤ã³ã«ãå°ãã®æ¹ã¯ãã¡ã"})})]})}},53003:function(e,n,r){"use strict";r.d(n,{J:function(){return a}});var t=r(27573),i=r(88146),s=r(99174),o=r.n(s);let a=e=>{let{href:n,children:r,target:s="_self",onClick:a,color:l="primary"}=e;return(0,t.jsx)(i.default,{href:n,className:"".concat(o().commonLink," ").concat(o()[l]),target:s,onClick:a,children:r})}},78807:function(e,n,r){"use strict";r.d(n,{J3:function(){return t.J},dk:function(){return c},$_:function(){return s.Footer},h4:function(){return o.Header},Qj:function(){return m.LinkButton},gb:function(){return p}});var t=r(53003),i=r(27573);r(45155);
1var s=r(22599),o=r(18896);r(7653);var a=r(98936),l=r.n(a);let c=e=>{let{title:n,text:r,color:t="none",radius:s=!1}=e;return(0,i.jsxs)("div",{className:"".concat(l().description," ").concat(l()[t]," ").concat(s?l().radius:""),role:"alert",children:[n&&(0,i.jsx)("p",{className:l().description__title,children:n}),(0,i.jsx)("p",{className:l().description__text,children:r})]})};var d=r(53435),u=r(21810),_=r.n(u);let p=()=>(0,i.jsx)("div",{className:_().loading,children:(0,i.jsx)(d.$,{size:"md"})});var m=r(9182)},40036:function(e,n,r){"use strict";r.d(n,{n:function(){return o}});var t=r(27573),i=r(56696),s=r.n(i);let o=e=>{let{label:n,sublabel:r,children:i,error:o,required:a}=e;return(0,t.jsxs)("div",{className:"".concat(s().fieldWrapper," ").concat(o?s().error:""),children:[(0,t.jsx)("div",{className:s().fieldWrapperLabel,children:(0,t.jsxs)("label",{children:[n,r&&(0,t.jsx)("span",{className:s().sublabel,children:r}),a&&(0,t.jsx)("span",{className:s().red,children:"å¿
é "})]})}),(0,t.jsx)("div",{children:i}),o&&(0,t.jsx)("div",{className:s().errorField,children:(0,t.jsx)("div",{children:o.message})})]})}},54133:function(e,n,r){"use strict";r.d(n,{n:function(){return a.n},U:function(){return d}});var t=r(27573),i=r(27129),s=r(48330),o=r(7653),a=r(40036),l=r(20997),c=r.n(l);let d=e=>{let{type:n="text",registration:r,error:l,...d}=e,[u,_]=(0,o.useState)(!1);return(0,t.jsx)(a.n,{...e,children:(0,t.jsxs)("div",{className:"".concat(c().inputField," ").concat(l?c().error:""," ").concat("password"===n?c().password:""),children:[(0,t.jsx)("input",{type:u?"text":n,...r,...d,autoCapitalize:"off"}),(0,t.jsx)("span",{className:c().eyeIcon,onClick:()=>{_(!u)},children:"password"===n&&(0,t.jsx)(s.G,{icon:u?i.Mdf:i.Aq})})]})})}},27560:function(e,n,r){"use strict";r.d(n,{R:function(){return i}});var t=r(17493);let i=async function(e){var n,r;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"login";return"link"===i?null!==(n=(await t.Z.get("/v1/front/auth/oauth/authorize?provider=".concat(e))).data)&&void 0!==n?n:null:null!==(r=(await t.Z.get("/v1/front/auth/oauth-url/".concat(e))).data)&&void 0!==r?r:null}},23833:function(e,n,r){"use strict";r.d(n,{t:function(){return d}});var t=r(27573),i=r(14150),s=r(15969),o=r(35733),a=r(27560),l=r(94501),c=r.n(l);let d=e=>{let{text:n}=e,{mutate:r,isPending:l}=(0,s.D)({mutationFn:()=>(0,a.R)("google"),onSuccess:e=>{if(!e.data)return;let n=e.data;location.assign(n)},onError:e=>{if((0,o.IZ)(e)){var n;u({message:(0,i.s)(null===(n=e.response)||void 0===n?void 0:n.data.errorCode)});return}u({message:(0,i.s)("INTERNAL_ERROR")})}});return(0,t.jsxs)("button",{type:"button",disabled:l,onClick:()=>{r()},className:c().button,children:[(0,t.jsx)("div",{className:c().iconContainer,children:(0,t.jsxs)("svg",{className:c().icon,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})}),l?(0,t.jsxs)("div",{className:c().loadingContainer,children:[(0,t.jsxs)("svg",{className:c().spinner,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:c().spinnerCircle,cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:c().spinnerPath,fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),(0,t.jsx)("span",{children:"èªã¿è¾¼ã¿ä¸..."})]}):(0,t.jsx)("div",{className:c().textContainer,children:(0,t.jsx)("span",{children:n})}),(0,t.jsx)("div",{className:c().iconContainer})]})};function u(e){throw Error("Function not implemented.")}},51510:function(e,n,r){"use strict";r.d(n,{c:function(){return a}});var t=r(83817),i=r(12872),s=r(57324),o=r(64387);let a=async(e,n,r,t,s)=>{d(),u(t);let a=l();i.Z.once(i.B.IS_PAYMENTS)&&s&&(a=c(s));let _=await (0,o.signIn)("credentials",{accessToken:n,idToken:e,refreshToken:r,callbackUrl:a,redirect:!1});(null==_?void 0:_.ok)&&(null==_?void 0:_.url)&&window.location.assign(_.url)},l=()=>{let e=i.Z.once(i.B.REFERRER);return e&&t.pN.some(n=>new URL(e).hostname.endsWith(n))?e:"/"},c=e=>{var n;return(null==e?void 0:null===(n=e.userSubscriptions)||void 0===n?void 0:n.find(e=>"active"===e.status))?i.Z.once(i.B.REDIRECT_PAGE)||"/mypage":"/payments/plans/ad_free"},d=()=>{i.Z.set(i.B.IS_LOGGED_IN,"true; path=/; domain=.mamastar.jp",90)},u=e=>{var n;if(!e)return;let r=null==e?void 0:null===(n=e.find(e=>"self"===e.service))||void 0===n?void 0:n.hash;r&&s.Z.setStorage(s.U.HASHED_UID,r,"local")}},12872:function(e,n,r){"use strict";r.d(n,{B:function(){return t}});let t={REFERRER:"referrer",IS_PAYMENTS:"is_payments",REDIRECT_PAGE:"redirect_page",IS_LOGGED_IN:"mmst-is-logged-in"},i={get:e=>{let n="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===n.length){var r;return null===(r=n.pop())||void 0===r?void 0:r.split(";").shift()}},set:(e,n,r)=>{let t=new Date;t.setTime(t.getTime()+864e5*r),document.cookie="".concat(e,"=").concat(n,";expires=").concat(t.toUTCString(),";path=/")}
1,delete:e=>{document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/")},once:e=>{let n=i.get(e);return n&&i.delete(e),n}};n.Z=i},33978:function(e,n,r){"use strict";r.d(n,{K:function(){return t}});let t=(0,r(57582).Ue)(e=>({session:void 0,setSession:n=>e({session:n})}))},95896:function(e,n,r){"use strict";r.d(n,{t:function(){return t}}),r(7653);let t=(0,r(57582).Ue)(e=>({errorInfo:void 0,setErrorInfo:n=>e({errorInfo:n}),clearErrorInfo:n=>{e(e=>{var r;return(null===(r=e.errorInfo)||void 0===r?void 0:r.persistent)&&!n?e:{errorInfo:void 0}})}}))},4562:function(e,n,r){"use strict";r.d(n,{I:function(){return t}});let t=(0,r(57582).Ue)(e=>({signupData:void 0,setSignupData:n=>e({signupData:n}),clearSignupData:()=>e({signupData:void 0})}))},91173:function(e,n,r){"use strict";r.d(n,{e:function(){return t}});let t=(0,r(57582).Ue)(e=>({userInfo:{},setUserInfo:n=>e({userInfo:n})}))},99174:function(e){e.exports={commonLink:"CommonLink_commonLink__Fqbwh",disabled:"CommonLink_disabled__w7h00",primary:"CommonLink_primary__W2p0E",black:"CommonLink_black__lF9Dy"}},98936:function(e){e.exports={description:"Description_description___nQr9",description__title:"Description_description__title__hBC5R",description__text:"Description_description__text__9L81I",warning:"Description_warning__NtwwB",info:"Description_info__NZajX",radius:"Description_radius__Tc4LL",none:"Description_none__A0SQi",error:"Description_error__8dlAX",sub:"Description_sub__igljn"}},21810:function(e){e.exports={loading:"Loading_loading__Tp6l8"}},56696:function(e){e.exports={fieldWrapper:"FieldWrapper_fieldWrapper__fuVgs",fieldWrapperLabel:"FieldWrapper_fieldWrapperLabel__YVFZb",sublabel:"FieldWrapper_sublabel__Bfx_t",red:"FieldWrapper_red__EtYZf",errorField:"FieldWrapper_errorField__eModo",error:"FieldWrapper_error__69KYS"}},20997:function(e){e.exports={inputField:"InputField_inputField__64Wqv",error:"InputField_error__PsUZZ",password:"InputField_password__x0wTc",eyeIcon:"InputField_eyeIcon__s4BaL"}},94501:function(e){e.exports={button:"GoogleLoginButton_button__ycFnw",iconContainer:"GoogleLoginButton_iconContainer__IbAtm",icon:"GoogleLoginButton_icon__qSE3k",textContainer:"GoogleLoginButton_textContainer__TuRJd",loadingContainer:"GoogleLoginButton_loadingContainer__NVYq_",spinner:"GoogleLoginButton_spinner__3SbTW",spin:"GoogleLoginButton_spin__5lmFz",spinnerCircle:"GoogleLoginButton_spinnerCircle__3_UfU",spinnerPath:"GoogleLoginButton_spinnerPath__mGsnP"}},55704:function(e){e.exports={signInForm__item:"SignIn_signInForm__item__Oy0qm",signInForm__remark:"SignIn_signInForm__remark__cgDFo",signInFormConditions:"SignIn_signInFormConditions__a2yA4",link:"SignIn_link__dopoW",signInForm__otherLogin_separator:"SignIn_signInForm__otherLogin_separator__OVMf2"}}},function(e){e.O(0,[6241,1978,3999,199,2619,8334,566,5982,1293,1528,1744],function(){return e(e.s=85294)}),_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.