1import{h as d}from"./chunk-XAKB7R5D.js";import{a as r}from"./chunk-MJBR6MFX.js";var h=t=>p(t),H=(t,o)=>(typeof t=="string"&&(o=t,t=void 0),h(t).includes(o)),p=(t=window)=>{if(typeof t>"u")return[];t.Ionic=t.Ionic||{};let o=t.Ionic.platforms;return o==null&&(o=t.Ionic.platforms=b(t),o.forEach(e=>t.document.documentElement.classList.add(`plt-${e}`))),o},b=t=>{let o=r.get("platform");return Object.keys(l).filter(e=>{let s=o==null?void 0:o[e];return typeof s=="function"?s(t):l[e](t)})},v=t=>a(t)&&!u(t),c=t=>!!(n(t,/iPad/i)||n(t,/Macintosh/i)&&a(t)),M=t=>n(t,/iPhone/i),I=t=>n(t,/iPhone|iPod/i)||c(t),m=t=>n(t,/android|sink/i),P=t=>m(t)&&!n(t,/mobile/i),A=t=>{let o=t.innerWidth,e=t.innerHeight,s=Math.min(o,e),i=Math.max(o,e);return s>390&&s<520&&i>620&&i<800},y=t=>{let o=t.innerWidth,e=t.innerHeight,s=Math.min(o,e),i=Math.max(o,e);return c(t)||P(t)||s>460&&s<820&&i>780&&i<1400},a=t=>C(t,"(any-pointer:coarse)"),E=t=>!a(t),u=t=>f(t)||g(t),f=t=>!!(t.cordova||t.phonegap||t.PhoneGap),g=t=>{let o=t.Capacitor;return!!(o!=null&&o.isNative||o!=null&&o.isNativePlatform&&o.isNativePlatform())},j=t=>n(t,/electron/i),O=t=>{var o;return!!(!((o=t.matchMedia)===null||o===void 0)&&o.call(t,"(display-mode: standalone)").matches||t.navigator.standalone)},n=(t,o)=>o.test(t.navigator.userAgent),C=(t,o)=>{var e;return(e=t.matchMedia)===null||e===void 0?void 0:e.call(t,o).matches},l={ipad:c,iphone:M,ios:I,android:m,phablet:A,tablet:y,cordova:f,capacitor:g,electron:j,pwa:O,mobile:a,mobileweb:v,desktop:E,hybrid:u},N,S=t=>t&&d(t)||N;export{H as a,S as b};
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.