1import{W as e}from"./D9d_4q1I.js";import{p as t}from"./BF_bTN61.js";import{t as n}from"./DYWcKvqL.js";import{n as r}from"./CZlIYBPH.js";var i=function(e){return e.WEB=`web`,e.PWA=`pwa`,e.IOS=`ios`,e.ANDROID=`android`,e}({}),a=[i.IOS,i.ANDROID],o=()=>{let o=n(`display-mode.is-standalone`,()=>!1),s=n(`display-mode.is-browser`,()=>!1),c=n(`display-mode.is-native`,()=>!1),l=r(`deviceType`,{default:()=>i.WEB,maxAge:2592e3,path:`/`,sameSite:!0});if(a.includes(t().query.deviceType)||a.includes(l.value)){c.value=!0;let e=r(`spa`,{maxAge:2592e3});e.value===`1`&&(e.value=null),t().query.deviceType&&(l.value=t().query.deviceType)}else e(()=>{if(o.value=window.matchMedia(`(display-mode: standalone)`).matches,s.value=window.matchMedia(`(display-mode: browser)`).matches,o.value){l.value=i.PWA;let e=r(`spa`,{maxAge:2592e3});e.value===`1`&&(e.value=null)}s.value&&(l.value=i.WEB)});return{isStandalone:o,isBrowser:s,deviceType:l,isNative:c}};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.