PageSourceSearch

https://influencerforce.me/_next/static/chunks/pages/invitation-9cfc9b006fa137b6.js

js influencerforce.me collected 2026-10-05 05:20:30 UTC 4,005 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1685],{85848:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/invitation",function(){return n(11372)}])},98561:function(e,t,n){"use strict";var i=n(35944),a=n(11163),r=n(67294),c=n(88767),s=n(9473),u=n(88281),o=n(62590),d=n(68652),l=n(18957),h=n(7814),m=n(97647),f=n(10109);t.Z=e=>t=>{let n=(0,a.useRouter)(),Z=(0,f.TL)(),[g,p]=(0,r.useState)(!0),y=(0,s.v9)(f.Gn),{data:w,isLoading:C}=(0,c.useQuery)("notifications",()=>(0,d.G5)(),{refetchOnWindowFocus:!1,enabled:!!(null==y?void 0:y.uid),staleTime:0,cacheTime:0}),{data:I,isLoading:_}=(0,c.useQuery)("headerNotice",()=>(0,d.iZ)(),{refetchOnWindowFocus:!1,enabled:!!(null==y?void 0:y.uid),staleTime:0,cacheTime:0});return((0,r.useEffect)(()=>{!C&&w&&Z(m.Nw.setUnreadMessageCount(w))},[C]),(0,r.useEffect)(()=>{!_&&I&&Z(u.Dc.setNoticeHeader(I))},[_]),(0,r.useEffect)(()=>{if(parseInt("0")>0){n.replace("/maintenance");return}l.I.onAuthStateChanged(async e=>{if(e){if(e.email&&!e.emailVerified)"/verification"!==n.pathname&&n.push("/email_verification");else{let t=await (0,d.tt)(e.uid);Z(h.Nw.setCurrentCreator(t)),t.custom_id?"/"===n.pathname&&n.push("/".concat(t.custom_id)):n.push("/signup/registration")}p(!1)}else"/invitation"===n.pathname?p(!1):n.push("/login")})},[]),g)?(0,i.tZ)(o.g,{}):(0,i.tZ)(e,{...t})}},11372:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var i=n(35944),a=n(11163),r=n(67294),c=n(98561),s=n(59417),u=n(99603),o=n(31812),d=n(31754),l=n(96788),h=n(53145),m=n(55895),f=n(18377),Z=n(88767),g=n(9473),p=n(68652),y=n(10109),w=n(62590),C=n(57807),I=e=>{let{companyUid:t,managedCreatorUid:n}=e,c=(0,g.v9)(y.Gn),I=(0,a.useRouter)(),[_,v]=(0,r.useState)(!1),{data:b,isLoading:x,error:E}=(0,Z.useQuery)(["creatorInvitedCompany",t],()=>(0,p.Mn)(t),{refetchOnWindowFocus:!1,retry:1}),N=async()=>{v(!0);try{await (0,p.PI)(t,n),(0,C.iL)("連携が完了しました"),I.replace("/")}catch(e){(0,C.zF)(e.message)}finally{v(!1)}};return x?(0,i.tZ)(w.g,{}):(0,i.tZ)(f.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:1,px:2},children:E?(0,i.BX)(d.Z,{sx:{p:2},children:[(0,i.tZ)(l.Z,{fontWeight:500,mb:2,children:"エラーが発生しました。"}),(0,i.BX)(l.Z,{children:[E.message,"。",(0,i.tZ)("br",{}),"企業様からの招待URLが間違っていないことを確認し、ページをリロードしてください。",(0,i.tZ)("br",{}),(0,i.tZ)("br",{}),"問題が解消しない場合は、公式LINEアカウントまでお問い合わせください。"]})]}):(0,i.BX)(d.Z,{sx:{p:2},children:[(0,i.BX)(l.Z,{mb:2,fontWeight:500,children:["以下の企業様と連携を行います。",(0,i.tZ)("br",{}),"問題がなければ連携ボタンを押してください。"]}),(0,i.BX)(h.Z,{direction:"column",spacing:2,alignItems:"center",children:[(0,i.BX)(h.Z,{direction:"row",alignItems:"center",spacing:1,children:[(0,i.tZ)(m.Z,{src:c.image||"",sx:{width:32,height:32}}),(0,i.tZ)(l.Z,{children:c.name})]}),(0,i.tZ)(u.G,{icon:s.O8f,rotation:90}),(0,i.BX)(h.Z,{direction:"row",alignItems:"center",spacing:1,children:[(0,i.tZ)(m.Z,{src:b.image||"",sx:{width:32,height:32}}),(0,i.tZ)(l.Z,{children:b.name})]})]}),(0,i.tZ)(f.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:1,mt:4},children:(0,i.tZ)(o.Z,{loading:_,onClick:N,variant:"contained",sx:{minWidth:160},children:"連携する"})})]})})},_=n(56089),v=n(18957),b=(0,c.Z)(()=>{let e=(0,a.useRouter)(),[t,n]=(0,r.useState)(null);return((0,r.useEffect)(()=>{if(!e.isReady)return;let{comid:t,mcid:i}=e.query;if(v.I.currentUser){n({companyUid:t||"",managedCreatorUid:i||""});return}t&&localStorage.setItem("invitationCompanyId",t),i&&localStorage.setItem("targetManagedCreatorId",i),e.push("/signup")},[e.isReady]),t)?(0,i.tZ)(_.Z,{children:(0,i.tZ)(I,{companyUid:t.companyUid,managedCreatorUid:t.managedCreatorUid})}):null})}},function(e){e.O(0,[4976,4553,4494,6196,9203,6089,2888,9774,179],function(){return e(e.s=85848)}),_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.