PageSourceSearch

https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/_plugin-vue_export-helper.6134b9f8.js

js patsnap.com collected 2026-10-01 10:35:24 UTC 1,928 bytes, 1 lines download raw bytes

1import{a4 as v}from"./js.cookie.de85c03b.js";import{u as d}from"./state.028f2095.js";import{ae as f}from"./runtime-core.esm-bundler.693c71a8.js";function a(o,t){if(!o||!t)return o;const r=o.indexOf("#"),i=r>=0?o.slice(r+1):o,e=r>=0?`${o.slice(0,r+1)}`:"",n=i.indexOf("?"),g=n>=0?i.slice(0,n):i,u=n>=0?i.slice(n+1):"",c=new URLSearchParams(u);return c.set("product_source",t),`${e}${g}?${c.toString()}`}function U(){const o=d("sign-in-dialog-show",()=>!1),t=d("sign-in-dialog-params",()=>({fromPage:"",startFrom:"eureka_landingpage",redirectUrl:void 0,registrationRedirectUrl:void 0,registrationButton:void 0,productSource:void 0,fromSource:"",initialMode:"register"}));function r(e){let n="",g=(e==null?void 0:e.fromPage)||"",u=(e==null?void 0:e.startFrom)||"",c=e==null?void 0:e.registrationButton,l=e==null?void 0:e.productSource;if(typeof window<"u"){const s=new URLSearchParams(window.location.search),S=window.location.hash.split("?")[1]||"",h=new URLSearchParams(S);n=s.get("from")||"",g=g||s.get("from_page")||"",u=u||s.get("start_from")||n||"",c=c||s.get("from_button")||void 0,l=l||s.get("product_source")||h.get("product_source")||void 0}t.value={fromPage:g,startFrom:u||"eureka_landingpage",redirectUrl:a(e==null?void 0:e.redirectUrl,l||""),registrationRedirectUrl:a(e==null?void 0:e.registrationRedirectUrl,l||""),registrationButton:c,productSource:l,fromSource:n||"",initialMode:(e==null?void 0:e.initialMode)||"register"},v({trigger:"sign_in_dialog_open",fromPage:t.value.fromPage,startFrom:t.value.startFrom,redirectUrl:t.value.registrationRedirectUrl||t.value.redirectUrl,registrationButton:t.value.registrationButton,productSource:t.value.productSource,fromSource:t.value.fromSource}),o.value=!0}function i(){o.value=!1}return{showSignInDialog:f(o),signInDialogParams:f(t),openSignInDialog:r,closeSignInDialog:i}}const I=(o,t)=>{const r=o.__vccOpts||o;for(const[i,e]of t)r[i]=e;return r};export{I as _,U as u};

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.