try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e4644859-46e2-4aaa-ab4a-d0485211c099`,e._sentryDebugIdIdentifier=`sentry-dbid-e4644859-46e2-4aaa-ab4a-d0485211c099`)}catch{}import{Ag as e,gt as t}from"./entry.client-mpghtlrl.js";import{Gt as n,Wt as r}from"./workspace-leaf-files-oergw4h0.js";import{a as i,n as a,o,r as s,t as c}from"./utils-c8qfn4gk.js";var l=e(),u=class{constructor(e){let t=a(e);this.vendorId=c(o,t),this.productId=c(i,t);let l=s(this.vendorId,this.productId);l?(this.isDualSense=l.model===n.DualSense,this.isDualShock4=l.model===n.DualShock4,this.isXbox=l.model===n.Xbox,this.isStadia=l.model===n.Stadia,this.isSwitchPro=l.model===n.SwitchPro,this.isLuna=l.model===n.Luna,this.isUnknown=l.model===n.Unknown,this.controllerType=l.type):(this.isDualSense=!1,this.isDualShock4=!1,this.isXbox=!1,this.isStadia=!1,this.isSwitchPro=!1,this.isLuna=!1,this.isUnknown=!0,this.controllerType=r.Other)}},d=()=>{let e=(0,l.c)(2),n=t()[0],r,i;return e[0]===n?i=e[1]:(i=new u(n),e[0]=n,e[1]=i),r=i,r};export{d as t};