PageSourceSearch

https://alphasquare.co.kr/assets/web-e822d66f.js

js alphasquare.co.kr collected 2026-09-25 02:40:17 UTC 1,351 bytes, 2 lines download raw bytes

1import{gH as n}from"./index-1d80ddef.js";import{ImpactStyle as i,NotificationType as a}from"./index-83b5c00d.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="761f7ee1-0f1b-45c9-9a0a-d5330c157b79",r._sentryDebugIdIdentifier="sentry-dbid-761f7ee1-0f1b-45c9-9a0a-d5330c157b79")}catch{}})();class c extends n{constructor(){super(...arguments),this.selectionStarted=!1}async impact(t){const e=this.patternForImpact(t==null?void 0:t.style);this.vibrateWithPattern(e)}async notification(t){const e=this.patternForNotification(t==null?void 0:t.type);this.vibrateWithPattern(e)}async vibrate(t){const e=(t==null?void 0:t.duration)||300;this.vibrateWithPattern([e])}async selectionStart(){this.selectionStarted=!0}async selectionChanged(){this.selectionStarted&&this.vibrateWithPattern([70])}async selectionEnd(){this.selectionStarted=!1}patternForImpact(t=i.Heavy){return t===i.Medium?[43]:t===i.Light?[20]:[61]}patternForNotification(t=a.Success){return t===a.Warning?[30,40,30,50,60]:t===a.Error?[27,45,50]:[35,65,21]}vibrateWithPattern(t){if(navigator.vibrate)navigator.vibrate(t);else throw this.unavailable("Browser does not support the vibrate API")}}export{c as HapticsWeb};
2//# sourceMappingURL=web-e822d66f.js.map

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.