1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(91163)}])},21177:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var a=n(85893),i=n(14711),r=n.n(i),u=n(78887);function o(e){let{children:t}=e;return(0,a.jsx)("div",{className:(0,u.QH)(r().className,"authen-layout"),children:(0,a.jsx)("main",{className:"authen-layout-main",children:t})})}},91163:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return w},default:function(){return v}});var a=n(85893),i=n(51187);let r="/MonaTracking",u={keyCreateSourceLog:"POST ".concat(r,"/source-log"),createSourceLog:e=>i.Z.post("".concat(r,"/source-log"),e)};var o=n(52648),s=n(80599),c=n(85524),l=n(21177),f=n(52802),y=n(78887),d=n(38110),m=n(11163),g=()=>{let e=(0,y.Hv)(),t=(0,m.useRouter)(),{data:n,isLoading:a,isFetching:i}=(0,d.a)({queryKey:[o.$.keyGetTenantByPrivateDomain],queryFn:async()=>{try{let e=await o.$.getTenantByPrivateDomain();if(200==e.status)return e.data.data;return null}catch(e){}},enabled:t.isReady&&e!==f.e.liveDomain&&e!==f.e.devDomain,refetchOnMount:!0});return{isPersonalDomain:e!==f.e.liveDomain&&e!==f.e.devDomain,personalDomain:e,tenantInfo:n,isLoading:a,isFetching:i}},h=n(74633),_=n(34869),p=n(32856),S=n(96082),T=n(67294),w=!0;function v(e){let{seoData:t}=e,{PrefetchWrapper:n}=(0,h.Z)({paths:p.rU.selectTrial,withTenant:!1}),i=(0,m.useRouter)(),{aff_id:r,aff_source:l}=i.query,f=(0,_.q)(e=>e.setAffiliateId),y=(0,_.q)(e=>e.setAffliliateSource),d=g();(0,T.useEffect)(()=>{if(i.isReady){if((r||l)&&(f(r),y(l)),d.isPersonalDomain){d.tenantInfo&&i.push(String(d.tenantInfo.root));return}i.push(p.rU.selectTrial)}},[i.isReady,r,l,JSON.stringify(d)]);let w=(0,S.D)({mutationKey:[o.$.keyUpdateTrafficView,r],mutationFn:async e=>await o.$.updateTrafficView({code:e})});(0,T.useEffect)(()=>{i.isReady&&r&&w.mutateAsync(String(r))},[r,i.isReady]);let v=(0,S.D)({mutationKey:[u.keyCreateSourceLog,l],mutationFn:async e=>await u.createSourceLog({affiliateSourceCode:e})});return(0,T.useEffect)(()=>{if(i.isReady){let e=l?String(l):"organic-fanpage-click";v.mutateAsync(String(e))}},[l,i.isReady]),(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(s.Z,{robots:"index",...t}),(0,a.jsx)(n,{}),(0,a.jsx)(c.Z,{})]})}v.Layout=l.Z,v.Title=f.e.appPageTitle}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=48312)}),_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.