PageSourceSearch

https://sunmarkweb.com/_next/static/chunks/7621.07d7782be6496db5.js

js sunmarkweb.com collected 2026-10-04 07:56:33 UTC 13,297 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5d83e5f2-28c0-4906-a4d4-da318ce902c2",e._sentryDebugIdIdentifier="sentry-dbid-5d83e5f2-28c0-4906-a4d4-da318ce902c2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7621],{12475:(e,n,a)=>{a.d(n,{t:()=>r});var i=a(60213),t=a(96285),o=a(69480),s=a(97360);function r(e){let{items:n,onPress:a}=e;return(0,s.jsx)("div",{className:"flex justify-between sm:justify-center sm:gap-8",children:n.map(e=>(0,s.jsxs)("label",{className:"flex flex-col items-center",children:[(0,s.jsx)(o.A,{size:"xxl",variant:"basic",isCircle:!0,onPress:()=>a(e),children:(0,s.jsx)(i._,{imageSrc:t.c[e].icon,imageAlt:"",unSafeClassName:"w-6 h-6",imageWidth:25,imageHeight:25})}),(0,s.jsx)("div",{className:"mt-2 text-xs",children:t.c[e].name})]},e))})}},17621:(e,n,a)=>{a.r(n),a.d(n,{PromptSignupDialogContainer:()=>H});var i=a(97360),t=a(50387),o=a(25295),s=a(59995),r=a(51949),l=a(60587),c=a(1471),d=a(4818),m=a(21003);let p={"ja-JP":{or:"または",email:"メールアドレス",signupWithEmail:"メールで新規登録",invalidEmail:"不正なメールアドレスの形式です。",requiredEmail:"メールアドレスを入力してください。"}},g=({onSubmit:e})=>{let n=(0,t.u)(),a=(0,s.Ru)({lang:n,dict:p}),g=(0,m.Ik)().shape({email:(0,m.Yj)().email(a("invalidEmail")).required(a("requiredEmail"))}),{control:u,handleSubmit:x,formState:{isValid:h,isValidating:y}}=(0,d.mN)({mode:"onChange",resolver:(0,o.t)(g),defaultValues:{email:""}}),v=h&&!1===y;return(0,i.jsxs)("form",{className:"flex flex-col gap-4",onSubmit:x(({email:n})=>e(n)),children:[(0,i.jsx)("div",{className:"flex items-center justify-between text-text-secondary text-xs before:mr-8 before:h-px before:flex-1 before:bg-border-default after:ml-8 after:h-px after:flex-1 after:bg-border-default",children:a("or")}),(0,i.jsx)(d.xI,{control:u,name:"email",render:({field:e,fieldState:{error:n}})=>(0,i.jsx)(r.A,{...e,isRequired:!0,hasNecessityIndicator:!0,label:a("email"),validationState:"string"==typeof n?.message?"invalid":"valid",errorMessage:n?.message})}),(0,i.jsxs)(l.A,{isFull:!0,type:"submit",variant:v?"primary":"disabled",isDisabled:!1===v,children:[(0,i.jsx)(c.gE4,{unsafeClassName:"mr-1","aria-label":""}),a("signupWithEmail")]})]})},u={apple:"appleSignup",gmail:"googleSignup",x:"twitterSignup",mail:"emailSignup"},x={apple:"authApple",gmail:"googleOauth2",x:"twitter"};var h=a(14157),y=a(4168),v=a(12963),f=a(61246),j=a(65154),b=a(19324);let A={authApple:j.X9,googleOauth2:j.Xn,twitter:j.kR},N=({provider:e,modalType:n,pathname:a,onClose:i})=>{let{trackActionLogs:t}=(0,f.sr)(),o=(0,y.g)(A),s=(0,b.useMemo)(()=>(0,v.createAuthTokenModule)(),[]),{currentEnv:r}=(0,h.D6)();return{handleAccept:()=>{t({kind:"sns-integration-confirmation-modal-click",contents:{place:a,provider:e,modal_type:n}});let i=x[e];s.del(r,{domain:""});let l=o.getLinkUrl(i,{redirectPath:window.location.href,origin:window.location.origin});window.location.assign(l)},handleCancel:()=>{t({kind:"cancel-sns-integration-confirmation-modal-click",contents:{place:a,provider:e,modal_type:n}}),i()}}};var k=a(36886),_=a(28947),P=a(30289),w=a(92291),C=a(32063);let T=({children:e,modalPurpose:n,extraActionLogs:a})=>((0,k.T)({modalPurpose:n,extraActionLogs:a}),(0,i.jsx)(i.Fragment,{children:e})),S=({modalType:e,onClose:n,pathname:a})=>{let{handleAccept:t,handleCancel:o}=N({provider:"apple",modalType:e,pathname:a,onClose:n});return(0,i.jsx)(T,{modalPurpose:u.apple,extraActionLogs:[{kind:"sns-integration-confirmation-modal-imp",contents:{place:a,provider:"apple",modal_type:e}}],children:(0,i.jsx)(_.T,{onAccept:t,onCancel:o})},u.apple)},L=({modalType:e,onClose:n,pathname:a})=>{let{handleAccept:t,handleCancel:o}=N({provider:"gmail",modalType:e,pathname:a,onClose:n});return(0,i.jsx)(T,{modalPurpose:u.gmail,extraActionLogs:[{kind:"sns-integration-confirmation-modal-imp",contents:{place:a,provider:"gmail",modal_type:e}}],children:(0,i.jsx)(P.w,{onAccept:t,onCancel:o})},u.gmail)},M=({modalType:e,onClose:n,pathname:a,lang:t})=>{let{handleAccept:o,handleCancel:s}=N({provider:"x",modalType:e,pathname:a,onClose:n});return(0,i.jsx)(T,{modalPurpose:u.x,extraActionLogs:[{kind:"sns-integration-confirmation-modal-imp",contents:{place:a,provider:"x",modal_type:e}}],children:(0,i.jsx)(w.r,{onAccept:o,onCancel:s,lang:t})},u.x)},D=({title:e,description:n,closeDialog:a,slotToLogin:t,toLoginHref:o,modalType:s,contentKey:r,onSignupWithProvider:l,onSignupWithMail:c,secondaryActionLabel:d,secondaryActionHref:m,secondaryActionDisabled:p,onSecondaryActionPress:u})=>(0,i.jsx)(T,{modalPurpose:"loginOrSignupRich",extraActionLogs:[{kind:"login_or_signup_modal_imp",contents:{modal_type:s,content_key:r}}],children:(0,i.jsx)(C.X,{closeDialog:a,title:e,description:n,items:["gmail","x","apple"],toLoginHref:o,linkElementType:"a",slotToLogin:t,slotBody:(0,i.jsx)(g,{onSubmit:c}),slotSecondaryAction:d,secondaryActionHref:m,secondaryActionDisabled:p,onSecondaryActionPress:u,onPress:l})},"loginOrSignupRich");var E=a(37141),I=a(9972);let X={"ja-JP":{signup:"会員登録"}};function H(e){let n=(0,t.u)(),a=(0,s.Ru)({lang:n,dict:X}),o=(0,I.usePathname)(),{showingSignupWithProviderDialog:r,loginHref:l,handleSignUpWithProvider:c,handleSignUpWithMail:
1d,handleSecondaryActionClick:m}=((e,n)=>{let{trackActionLogs:a}=(0,f.sr)(),i=(0,y.g)({signupForm:j.hB}),{getLoginUrl:t}=(0,E.r)(),o=(0,b.useMemo)(()=>(0,v.createAuthTokenModule)(),[]),{currentEnv:s}=(0,h.D6)(),[r,l]=(0,b.useState)(void 0),c=t({redirectTo:window.location.href}),d=(0,b.useCallback)(i=>{a({kind:"login_or_signup_modal_click",contents:{action:u[i],modal_type:e,content_key:n}}),"mail"!==i&&l(i)},[e,n,a]),m=(0,b.useCallback)(()=>{a({kind:"login_or_signup_modal_click",contents:{action:"secondaryButton",modal_type:e,content_key:n}})},[e,n,a]);return{showingSignupWithProviderDialog:r,loginHref:c,handleSignUpWithProvider:d,handleSignUpWithMail:(0,b.useCallback)(e=>{o.del(s,{domain:""}),window.location.assign(i.getLinkUrl("signupForm",{redirectPath:window.location.href,email:e}))},[o,s,i]),handleSecondaryActionClick:m}})(e.modalType,e.contentKey),p=()=>{e.onClose()};switch(r){case"apple":return(0,i.jsx)(S,{modalType:e.modalType,onClose:p,pathname:o});case"gmail":return(0,i.jsx)(L,{modalType:e.modalType,onClose:p,pathname:o});case"x":return(0,i.jsx)(M,{modalType:e.modalType,onClose:p,pathname:o,lang:n});default:return(0,i.jsx)(D,{title:e.title,description:e.description,slotToLogin:e.loginText,subtitle:a("signup"),toLoginHref:l,onSignupWithProvider:c,onSignupWithMail:d,closeDialog:p,modalType:e.modalType,contentKey:e.contentKey,secondaryActionLabel:e.secondaryActionLabel,secondaryActionHref:e.secondaryActionHref,secondaryActionDisabled:e.secondaryActionDisabled,onSecondaryActionPress:m})}}},28947:(e,n,a)=>{a.d(n,{T:()=>l});var i=a(80902),t=a(60213),o=a(74027),s=a(60433),r=a(97360);function l(e){let n=(0,i.s)(o.HK);return(0,r.jsx)(s.p,{slotImage:(0,r.jsx)(t._,{imageSrc:"https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/icon_apple.svg",imageWidth:80,imageHeight:80,imageAlt:"","aria-hidden":"true",unSafeClassName:"w-20 h-20"}),providerName:"Apple",description:n("description"),onAccept:e.onAccept,onCancel:e.onCancel})}},30289:(e,n,a)=>{a.d(n,{w:()=>l});var i=a(80902),t=a(60213),o=a(74027),s=a(60433),r=a(97360);function l(e){let n=(0,i.s)(o.gG);return(0,r.jsx)(s.p,{slotImage:(0,r.jsx)(t._,{imageSrc:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/googleg.svg",imageWidth:80,imageHeight:80,imageAlt:"","aria-hidden":"true",unSafeClassName:"w-20 h-20"}),providerName:"Google",description:n("description"),onAccept:e.onAccept,onCancel:e.onCancel})}},32063:(e,n,a)=>{a.d(n,{X:()=>c});var i=a(12475),t=a(71576),o=a(98548),s=a(62566),r=a(43747),l=a(97360);function c(e){let{title:n,description:a,subtitle:c,onPress:d,items:m,slotToLogin:p,slotBody:g,slotSecondaryAction:u,secondaryActionHref:x,secondaryActionDisabled:h,onSecondaryActionPress:y,toLoginHref:v,linkElementType:f="a",closeDialog:j}=e;return(0,l.jsxs)(t.A,{hasCloseButton:!0,onDismiss:j,children:[(0,l.jsxs)(o.A,{unsafeClassName:"rounded-t-lg p-6",slotTitle:n,slotText:a,children:[c&&(0,l.jsx)("h2",{className:"mt-4 font-bold text-xs sm:mt-8 md:text-sm",children:c}),(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(i.t,{onPress:d,items:m})}),g&&(0,l.jsx)("div",{className:"mt-4",children:g}),u&&(0,l.jsx)("div",{className:"mt-6 sm:mt-8",children:(0,l.jsx)(s.A,{isFull:!0,size:"m",variant:h?"disabled":"basic",isDisabled:h,elementType:h?void 0:f,href:h?void 0:x,onPress:h?void 0:y,children:u})})]}),(0,l.jsx)(r.A,{unsafeClassName:"py-4",placement:"center",direction:"column",children:p&&(0,l.jsx)(s.A,{size:"s",elementType:f,href:v,variant:"none",children:p})})]})}},60433:(e,n,a)=>{a.d(n,{p:()=>c});var i=a(80902),t=a(74027),o=a(71576),s=a(98548),r=a(62566),l=a(97360);function c(e){let{slotImage:n,providerName:a,description:c,purposeList:d,slotPrivacyNotice:m,onAccept:p,onCancel:g}=e,u=(0,i.s)(t.dw);return(0,l.jsx)(o.A,{"aria-label":u("linkProvider",{providerName:a}),children:(0,l.jsxs)(s.A,{children:[(0,l.jsx)("div",{className:"flex h-[126px] items-center justify-center",children:n}),(0,l.jsx)("h1",{className:"mb-2 text-center font-bold text-xl",children:u("linkProvider",{providerName:a})}),(0,l.jsx)("p",{className:"mb-10 text-center",children:u("registrationIsQuickAndEasy")}),(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)(r.A,{variant:"primary",isFull:!0,onPress:p,children:u("agreeAndLink")})}),(0,l.jsx)("p",{className:"mb-1 text-text-secondary text-xs",children:c}),Array.isArray(d)&&(0,l.jsx)("ul",{className:"mb-6 pl-6 text-text-secondary text-xs",children:d.map((e,n)=>(0,l.jsx)("li",{className:"mb-1 list-disc",children:e},`${n}${e}`))}),m,(0,l.jsx)("div",{className:"mb-4 flex justify-center",children:(0,l.jsx)(r.A,{variant:"none",onPress:g,children:u("notNow")})})]})})}},74027:(e,n,a)=>{a.d(n,{HK:()=>t,P8:()=>r,PK:()=>s,dw:()=>o,gG:()=>i});var i={"ja-JP":{description:"Googleアカウントの情報はあなたが「Googleアカウントでログインする」目的で使用します"}},t={"ja-JP":{description:"Appleアカウントの情報はあなたが「Appleアカウントでログインする」目的で使用します"}},o={"ja-JP":{linkProvider:"{providerName}を連携してください",registrationIsQuickAndEasy:"登録がサクッと終わります!",agreeAndLink:"同意して連携",notNow:"今はしない"}},s={"ja-JP":{signup:"会員登録"}},r={"ja-JP":{providerName:"X",description:"Xアカウントの情報は以下の目的で使用します",purpose1:"Xアカウントでログイン",purpose2:"あなたの記事がXでシェアされるときに、Xのユーザー名も表示",purpose3:"プロフィールにXアカウントへのリンクを表示",purpose4:"Xのプロフィール画像をnoteのプロフィールアイコンに設定",privacyNoticeTitle:"会員登録における個人情報の取り扱いについて",privacyNoticeBusinessLabel:"1. 個人情報を取得する事業者",privacyNoticeBusinessName:"note株式会社",privacyNoticeManagerLabel:"2. 当社の個人情報保護管理者",privacyNoticeManagerName:"平山 雄輝 所属部署:ファイナンス グループ長",privacyNoticeContact:"連絡先:[email protected]"}}},92291:(e,n,a)=>{a.d(n,{r:()=>l});var i=a(74027),t=a(60433),o=a(92778),s=a(59995),r=a(97360);function l(e){let{lang:n="ja-JP"}=e,a=(0,s.Ru)({lang:n,dict:i.P8});return(0,r.jsx)(t.p,{slotImage:(0,r.jsx)(o.X,{"aria-label":"",unsafeClassName:"size-20"}),providerName:a("providerName"),description:a("description"),purposeList:[a("purpose1"),a("purpose2"),a("purpose3"),a("purpose4")],slotPrivacyNotice:(0,r.jsxs)("div",{className:"mb-6 rounded-lg border border-border-default p-4 text-xs",children:[(0,r.jsx)("p",{className:"mb-2 font-bold",children:a("privacyNoticeTitle")}),(0,r.jsx)("p",{children:a("privacyNoticeBusinessLabel")}),(0,r.jsx)("p",{className:"mb-3",children:a("privacyNoticeBusinessName")}),(0,r.jsx)("p",{children:a("privacyNoticeManagerLabel")}),(0,r.jsx)("p",{children:a("privacyNoticeManagerName")}),(0,r.jsx)("p",{children:a("privacyNoticeContact")})]}),onAccept:e.onAccept,onCancel:e.onCancel})}},96285:(e,n,a)=>{a.d(n,{c:()=>i,n:()=>t});var i={gmail:{name:"Google",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/googleg.svg"},x:{name:"X",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/x.svg"},apple:{name:"Apple",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/apple.svg"},mail:{name:"メール",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/mail.svg"}},t=["gmail","x","apple","mail"]}}]);

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.