1import{u as w,_ as m}from"./4GPlBcq0.js";const _="33";let g=null,d="",f=null;async function p(o,n={},s=""){if(typeof window>"u")return!1;const e={event_type:`${_}${o}`,event_time:Math.round(Date.now()/1e3),user_id:localStorage.getItem("user_id")||""},r=s||w().public.aliLogstore;if(!r)return;const i={host:"us-west-1.log.aliyuncs.com",project:"wapu-website",time:.5,count:1,logstore:r};if(!g||d!==r){f||=m(()=>import("./DAR7SY7M.js"),[],import.meta.url).then(t=>t.default);const l=await f;g=new l(i),d=r}return g.send({...e,...n,...E()}),!0}function E(){const o=/edge\/([\d.]+)|edg\/([\d.]+)/,n=/rv:([\d.]+)\) like gecko/,s=/msie ([\d.]+)/,e=/firefox\/([\d.]+)/,r=/chrome\/([\d.]+)/,i=/opera.([\d.]+)/,l=/version\/([\d.]+).*safari/;let t={};t.userAgent=window.navigator.userAgent;let a=window.navigator.userAgent.toLowerCase();return c(a,o)?u(o,"Edge"):c(a,n)?u(n,"IE"):c(a,s)?u(s,"IE"):c(a,e)?u(e,"Firefox"):c(a,r)?u(r,"Chrome"):c(a,i)?u(i,"Opera"):c(a,l)?u(l,"Safari"):(t.browser="",t.version="0",t.userAgent=a,t.platform="",t.language="",t.pathName="",t)}function u(o,n){let s,e={};const r=new URLSearchParams(window.location.search);let i=window.navigator.userAgent;return s=i.toLowerCase().match(o),e.version=s[0],e.userAgent=i,e.browser=n,e.platform=window.navigator.platform,e.language=window.navigator.language,e.path_name=window.location.pathname,e.utm_source=r.get("utm_source"),e}function c(o,n){return n.test(o)}export{p as sendLog};
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.