PageSourceSearch

https://assets.minne.com/_next/static/chunks/pages/users/magic_links/confirm-90f97eec44ac4e26.js

js minne.com collected 2026-10-01 09:09:51 UTC 11,514 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b227b356-9e84-439d-a04a-102ee9e54d73",e._sentryDebugIdIdentifier="sentry-dbid-b227b356-9e84-439d-a04a-102ee9e54d73")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6515],{5130:(e,i,n)=>{"use strict";n.d(i,{A:()=>s});var t=n(53441);function a(e,i){void 0===i&&(i={});var n,t,a=(n=e)&&"j"===n[0]&&":"===n[1]?n.substr(2):n;if(void 0===(t=i.doNotParse)&&(t=!a||"{"!==a[0]&&"["!==a[0]&&'"'!==a[0]),!t)try{return JSON.parse(a)}catch(e){}return e}var r=function(){return(r=Object.assign||function(e){for(var i,n=1,t=arguments.length;n<t;n++)for(var a in i=arguments[n])Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);return e}).apply(this,arguments)};let s=function(){function e(e,i){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?t.q(e,i):"object"==typeof e&&null!==e?e:{},new Promise(function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=t.q(document.cookie,e))},e.prototype._emitChange=function(e){for(var i=0;i<this.changeListeners.length;++i)this.changeListeners[i](e)},e.prototype.get=function(e,i,n){return void 0===i&&(i={}),this._updateBrowserValues(n),a(this.cookies[e],i)},e.prototype.getAll=function(e,i){void 0===e&&(e={}),this._updateBrowserValues(i);var n={};for(var t in this.cookies)n[t]=a(this.cookies[t],e);return n},e.prototype.set=function(e,i,n){var a;"object"==typeof i&&(i=JSON.stringify(i)),this.cookies=r(r({},this.cookies),((a={})[e]=i,a)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=t.l(e,i,n)),this._emitChange({name:e,value:i,options:n})},e.prototype.remove=function(e,i){var n=i=r(r({},i),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=r({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=t.l(e,"",n)),this._emitChange({name:e,value:void 0,options:i})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var i=this.changeListeners.indexOf(e);i>=0&&this.changeListeners.splice(i,1)},e}()},14944:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/magic_links/confirm",function(){return n(26603)}])},23011:(e,i,n)=>{"use strict";n.d(i,{A:()=>c});var t=n(37876),a=n(14232),r=n(30080),s=n.n(r);let o=(0,a.memo)(e=>{let{value:i}=e;return(0,t.jsxs)("div",{className:s().verificationKeyDisplay,children:[(0,t.jsx)("span",{className:s().verificationKeyLabel,children:"照合キー"}),(0,t.jsx)("span",{className:s().verificationKeyValue,children:i})]})});o.displayName="MinneVerificationKey";let c=o},26603:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>x,default:()=>L});var t=n(37876),a=n(23011),r=n(12008),s=n(35648),o=n(87058),c=n(46612),l=n(57536),d=n(74884),p=n(18334),u=n(89099),f=n(14232),h=n(5130),m=n(55730),_=n.n(m);let g={APPROVE_FAILED:"マジックリンクのログイン承認に失敗しました。",REJECT_FAILED:"マジックリンクのログイン拒否に失敗しました。",REJECTED:"ログインを拒否しました。"},y=e=>{new h.A().set("auth_error",e,{path:"/",maxAge:60,secure:d.Ut,sameSite:"lax"})},v=e=>{let{verificationKey:i,email:n}=e,d=(0,u.useRouter)(),[h,m]=(0,f.useState)("verification"),[v,{loading:x}]=(0,l.S14)(),[L,{loading:k}]=(0,l.MBj)(),C=x||k,E=async()=>{if(!C)try{if("verification"===h)m("confirmation");else if("confirmation"===h){let{data:t,errors:a}=await v({variables:{input:{email:n}}});if(a||!t){var e,i;let n=(null==a||null==(i=a[0])||null==(e=i.extensions)?void 0:e.user_message)||g.APPROVE_FAILED;y(n),d.push("/users/sign_in");return}m("completed")}}catch(e){p.Cp(e),y(g.APPROVE_FAILED),d.push("/users/sign_in")}},b=async()=>{if(!C)try{let{data:t,errors:a}=await L({variables:{input:{email:n}}});if(a||!t){var e,i;let n=(null==a||null==(i=a[0])||null==(e=i.extensions)?void 0:e.user_message)||g.REJECT_FAILED;y(n),d.push("/users/sign_in");return}y(g.REJECTED),d.push("/users/sign_in")}catch(e){p.Cp(e),y(g.REJECT_FAILED),d.push("/users/sign_in")}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.A,{loginUserLoading:!1,hasSearchBox:!1,shopPage:!1}),(0,t.jsx)("main",{children:(0,t.jsx)("div",{className:_().container,children:(0,t.jsxs)("div",{className:_().content,children:[(0,t.jsxs)("div",{className:_().headingSection,children:[(0,t.jsxs)("h1",{className:_().title,children:["別のブラウザで",(0,t.jsx)("br",{}),"ログイン手続きが行われています"]}),((e,i)=>{let n="verification"===e,a="confirmation"===e,r="completed"===e;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:_().description,"aria-hidden":!n,style:n?void 0:{display:"none"},children:[(0,t.jsx)("span",{className:_().descriptionLine,children:"ログインリンクを送信した画面に照合キーが表示されているので、"}),(0,t.jsx)("span",{className:_().descriptionLine,children:"下記の照合キーと相違ないことを確認しボタンを押してください。"})]}),(0,t.jsx)("p",{className:_().description,"aria-hidden":!a,style:a?void 0:{display:"none"},children:(0,t.jsxs)("span",{className:_().descriptionLine,children:[i," へのログインを許可してもよろしいですか?"]})}),(0,t.jsxs)("p",{className:_().completionMessage,"aria-hidden":!r,style:r?void 0:{display:"none"},children:[(0,t.jsx)("span",{className:_().completionMessageLine,children:"認証が完了しました。"}),(0,t.jsx)("span",{className:_().completionMessageLine,children:"ログインリンク送信画面に戻り、「認証したã
1®ã§ãƒ­ã‚°ã‚¤ãƒ³ã€ãƒœã‚¿ãƒ³ã‚’押してください。"})]})]})})(h,n)]}),"verification"===h&&(0,t.jsx)(a.A,{value:i}),(0,t.jsx)("div",{className:_().buttonGroup,"aria-hidden":"completed"===h,style:"completed"===h?{display:"none"}:void 0,children:((e,i,n,a)=>"verification"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.J,{labelText:"相違ないことを確認しました",appearance:"primary",size:"l",isFullWidth:!0,onClick:i,disabled:a}),(0,t.jsx)(r.J,{labelText:"心当たりがありません",appearance:"outline",size:"l",isFullWidth:!0,onClick:n,disabled:a})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.J,{labelText:"ログインを進める",appearance:"primary",size:"l",isFullWidth:!0,onClick:i,disabled:a}),(0,t.jsx)(r.J,{labelText:"許可しない",appearance:"outline",size:"l",isFullWidth:!0,onClick:n,disabled:a})]}))(h,E,b,C)}),"verification"===h&&(0,t.jsx)("div",{className:_().noticeSection,children:(0,t.jsxs)("p",{className:_().noticeText,children:[(0,t.jsx)("span",{className:_().noticeTextLine,children:"※ログインリンク送信画面を閉じてしまった場合、"}),(0,t.jsx)("span",{className:_().noticeTextLine,children:"お手数ですがメール送信からやり直してください。"})]})}),(0,t.jsx)("div",{className:_().helpLinkSection,children:(0,t.jsx)("a",{href:"https://help.minne.com/hc/ja/articles/38871012427411",className:_().helpLink,target:"_blank",rel:"noreferrer",children:"確認手順がわからない場合"})})]})})}),(0,t.jsx)(s.A,{}),(0,t.jsx)(c.A,{})]})};v.displayName="MagicLinkConfirmationPage";var x=!0;let L=e=>{let{personalCode:i,email:n}=e;return(0,t.jsx)(v,{verificationKey:i,email:n})}},30080:e=>{e.exports={verificationKeyDisplay:"MinneVerificationKey_verificationKeyDisplay__y_ZsU",verificationKeyLabel:"MinneVerificationKey_verificationKeyLabel__Bh_da",verificationKeyValue:"MinneVerificationKey_verificationKeyValue__YE_xO"}},53441:(e,i)=>{"use strict";i.q=function(e,i){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var t={},a=e.split(";"),r=(i||{}).decode||n,s=0;s<a.length;s++){var o=a[s],c=o.indexOf("=");if(!(c<0)){var l=o.substring(0,c).trim();if(void 0==t[l]){var d=o.substring(c+1,o.length).trim();'"'===d[0]&&(d=d.slice(1,-1)),t[l]=function(e,i){try{return i(e)}catch(i){return e}}(d,r)}}}return t},i.l=function(e,i,n){var r=n||{},s=r.encode||t;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!a.test(e))throw TypeError("argument name is invalid");var o=s(i);if(o&&!a.test(o))throw TypeError("argument val is invalid");var c=e+"="+o;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(r.domain){if(!a.test(r.domain))throw TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invali
1d");c+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(c+="; HttpOnly"),r.secure&&(c+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var n=decodeURIComponent,t=encodeURIComponent,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},55730:e=>{e.exports={container:"MagicLinkConfirmationPage_container__PyBPm",content:"MagicLinkConfirmationPage_content__Pg1RS",headingSection:"MagicLinkConfirmationPage_headingSection__AAMPt",title:"MagicLinkConfirmationPage_title__0690O",description:"MagicLinkConfirmationPage_description__E7jsy",descriptionLine:"MagicLinkConfirmationPage_descriptionLine__okQCu",completionMessage:"MagicLinkConfirmationPage_completionMessage__rUEYT",completionMessageLine:"MagicLinkConfirmationPage_completionMessageLine__r5ouB",buttonGroup:"MagicLinkConfirmationPage_buttonGroup__hhG5V",noticeText:"MagicLinkConfirmationPage_noticeText__aWu2o",noticeTextLine:"MagicLinkConfirmationPage_noticeTextLine__T9ISV",helpLinkSection:"MagicLinkConfirmationPage_helpLinkSection__FSbgm",helpLink:"MagicLinkConfirmationPage_helpLink__QNXbf",heartbeat:"MagicLinkConfirmationPage_heartbeat__cBfPl",indeterminate:"MagicLinkConfirmationPage_indeterminate__pmN8F","indeterminate-short":"MagicLinkConfirmationPage_indeterminate-short__24O5y","circular-indeterminate-rotate":"MagicLinkConfirmationPage_circular-indeterminate-rotate__goEpe","circular-indeterminate":"MagicLinkConfirmationPage_circular-indeterminate__D6Ggq"}},69241:(e,i,n)=>{"use strict";n.d(i,{A:()=>t});let t=function(){for(var e,i,n=0,t="",a=arguments.length;n<a;n++)(e=arguments[n])&&(i=function e(i){var n,t,a="";if("string"==typeof i||"number"==typeof i)a+=i;else if("object"==typeof i)if(Array.isArray(i)){var r=i.length;for(n=0;n<r;n++)i[n]&&(t=e(i[n]))&&(a&&(a+=" "),a+=t)}else for(t in i)i[t]&&(a&&(a+=" "),a+=t);return a}(e))&&(t&&(t+=" "),t+=i);return t}},73640:e=>{function i(e,i,n){function t(){var l=Date.now()-o;l<i&&l>=0?a=setTimeout(t,i-l):(a=null,n||(c=e.apply(s,r),s=r=null))}null==i&&(i=100);var a,r,s,o,c,l=function(){s=this,r=arguments,o=Date.now();var l=n&&!a;return a||(a=setTimeout(t,i)),l&&(c=e.apply(s,r),s=r=null),c};return l.clear=function(){a&&(clearTimeout(a),a=null)},l.flush=function(){a&&(c=e.apply(s,r),s=r=null,clearTimeout(a),a=null)},l}i.debounce=i,e.exports=i},74884:(e,i,n)=>{"use strict";n.d(i,{Ut:()=>r}),n(53441);var t=n(39324);let{publicRuntimeConfig:a}=n.n(t)()(),r=!0}},e=>{e.O(0,[8513,8827,8230,3019,1126,4301,8457,7058,636,6593,8792],()=>e(e.s=14944)),_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.