PageSourceSearch

https://edh.tw/_nuxt/BC3GtkfA.js

js edh.tw collected 2026-10-02 05:17:59 UTC 683 bytes, 1 lines download raw bytes

1import{O as e,k as t}from"./DSrBNQ-r.js";import{d as n}from"./CEYoK7mU.js";import{u as r}from"./BvMPQDAt.js";import{n as i,t as a}from"./UV_4wlw1.js";var o=()=>{let o=a(`auth:userData`,()=>null),s=i(`auth_token`),{$contents:c}=e();return{isAuthenticated:n(()=>!!o.value),token:s,userData:o,checkAuth:async()=>{if(!s.value)return!1;try{let e=await c(`/api/ApplicationUser/{comeFromSystem}`,{method:`GET`,path:{comeFromSystem:`EverydayHealth`},headers:{Authorization:decodeURIComponent(s.value)}});return o.value=e.data,!0}catch{return!1}},logout:()=>{s.value=null,o.value=null,r(t().public.SIGNOUT_URL,{external:!0})},logoutSSO:()=>{s.value=null,o.value=null,r(`/`)}}};export{o as t};

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.