PageSourceSearch

https://www.octoparse.fr/_next/static/chunks/pages/login-callback/social-190f7e2383017ec9.js

js octoparse.fr collected 2026-10-04 07:07:49 UTC 5,006 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9058],{90141:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login-callback/social",function(){return n(63531)}])},8968:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var a=n(11527),r=n(87827),o=n(25067),s=n(25654),c=n(24925),i=n.n(c),l=n(69864);let h=[{hrefLang:"en",baseUrl:"https://www.octoparse.com"},{hrefLang:"ja",baseUrl:"https://www.octoparse.jp"},{hrefLang:"es",baseUrl:"https://www.octoparse.es"},{hrefLang:"de",baseUrl:"https://www.octoparse.de"},{hrefLang:"fr",baseUrl:"https://www.octoparse.fr"},{hrefLang:"it",baseUrl:"https://www.octoparse.it"},{hrefLang:"ko",baseUrl:"https://www.octoparse.kr"},{hrefLang:"x-default",baseUrl:"https://www.octoparse.com"}],p=t=>{let e=t.searchParams.getAll("page"),n=t.searchParams.getAll("pageSize"),a=new URLSearchParams;return e.forEach(t=>a.set("page",t)),n.forEach(t=>a.set("pageSize",t)),t.search=a.toString(),t.href};function w(t){let{title:e,keywords:n,description:c,ogTitle:w,ogDescription:u,ogKeyword:g,ogImage:m,twitterCard:d,twitterTitle:f,twitterDescription:x,robots:j,showCanonical:y=!0,preconnectStaticCdn:L=!1,showAlternates:b=!0,children:U}=t,{i18n:_}=(0,s.$G)(),P=(0,l.useRouter)(),R=new URL(P.asPath,r.o6),k=/^\/blog\/?/.test(P.pathname)?p(R):String(new URL(R.pathname,R.origin)),E=new URL(k),S="".concat(E.pathname).concat(E.search),v=P.asPath&&P.asPath.includes("template")?"template":P.asPath.includes("blog")?"blog":"public",A=m?(0,o.ZP)({src:m.startsWith("http")?m:new URL(m,r.o6).toString()}):(0,o.ZP)({src:new URL("".concat(o.Ll["fr-FR"],"/og/").concat(v,".png"),r.o6).toString()});return(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:e}),n&&(0,a.jsx)("meta",{name:"keywords",content:n}),c&&(0,a.jsx)("meta",{name:"description",content:c}),j&&(0,a.jsx)("meta",{name:"robots",content:j}),d&&(0,a.jsx)("meta",{name:"twitter:card",content:d}),f&&(0,a.jsx)("meta",{name:"twitter:title",content:f}),x&&(0,a.jsx)("meta",{name:"twitter:description",content:x}),L&&(0,a.jsx)("link",{rel:"preconnect",href:"https://static.octoparse.com"}),y&&(0,a.jsx)("link",{rel:"canonical",href:k}),y&&b&&!P.pathname.startsWith("/blog/")&&h.map(t=>{let{hrefLang:e,baseUrl:n}=t;return(0,a.jsx)("link",{rel:"alternate",hrefLang:e,href:new URL(S,n).toString()},e)}),(!U||m)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image",content:A}),(0,a.jsx)("meta",{property:"twitter:image",content:A})]}),(0,a.jsx)("meta",{property:"og:site_name",content:"Octoparse"}),(!U||m)&&(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:title",content:w||e}),(0,a.jsx)("meta",{property:"og:description",content:u||""}),g&&(0,a.jsx)("meta",{property:"og:keyword",content:g}),(!U||m)&&(0,a.jsx)("meta",{property:"og:image:width",content:"1200"}),(!U||m)&&(0,a.jsx)("meta",{property:"og:image:height",content:"630"}),(0,a.jsx)("meta",{property:"og:url",content:k}),(0,a.jsx)("meta",{property:"og:locale",content:_.language}),U]})}},63531:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return d},default:function(){return f}});var a=n(11527),r=n(16738),o=n(8968),s=n(79500),c=n(25654),i=n(69864),l=n(50959);let h="opAuthErrorCode",p="opAuthMode",w=["opAuthError",h,p,"opAuthSuccess"],u=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https://www.octoparse.com",n=new URL(t||"/",e);return w.forEach(t=>n.searchParams.delete(t)),"".concat(n.pathname).concat(n.search).concat(n.hash)},g=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.octoparse.com",a=new URL(u(t,n),n);return a.searchParams.set(h,"auth_failed"),a.searchParams.set(p,e?"register":"login"),"".concat(a.pathname).concat(a.search).concat(a.hash)},m=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://www.octoparse.com",e=new URL("/api/auth",t);return e.searchParams.set("resume","true"),"".concat(e.pathname).concat(e.search)};var d=!0;function f(t){let{hasError:e,mode:n,nextUrl:h,registry:p}=t,w=(0,i.useRouter)(),{t:u}=(0,c.$G)("identity"),d=u("identity:Modal.Authenticating"),f=(0,l.useRef)(!1);return(0,l.useLayoutEffect)(()=>{"modal"===n&&((0,s.nR)(e?{ok:!1,reason:"error",code:"oauth_failed"}:{ok:!0}
1),window.close())},[e,n]),(0,l.useEffect)(()=>{"modal"===n||f.current||(f.current=!0,(()=>{if(e){w.replace(g(h,p,window.location.origin));return}try{let t=m(window.location.origin);window.location.replace(t)}catch(t){w.replace(g(h,p,window.location.origin))}})())},[e,n,h,p,w]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{title:u("identity:Title")}),(0,a.jsx)("div",{style:{alignItems:"center",color:"#595959",display:"flex",fontSize:14,justifyContent:"center",lineHeight:"22px",minHeight:"100vh"},children:"modal"===n?(0,a.jsx)("span",{role:"status","aria-label":u("identity:Modal.Authenticating"),children:(0,a.jsx)(r.$,{className:"size-[18px]"})}):d})]})}}},function(t){t.O(0,[9500,9774,2888,179],function(){return t(t.s=90141)}),_N_E=t.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.