1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3558],{3558(_,s,a){a.d(s,{HapticsWeb:()=>u});var r=a(467),o=a(5083),n=a(9182);class u extends o.E_{constructor(){super(...arguments),this.selectionStarted=!1}impact(t){var e=this;return(0,r.A)(function*(){const i=e.patternForImpact(null==t?void 0:t.style);e.vibrateWithPattern(i)})()}notification(t){var e=this;return(0,r.A)(function*(){const i=e.patternForNotification(null==t?void 0:t.type);e.vibrateWithPattern(i)})()}vibrate(t){var e=this;return(0,r.A)(function*(){const i=(null==t?void 0:t.duration)||300;e.vibrateWithPattern([i])})()}selectionStart(){var t=this;return(0,r.A)(function*(){t.selectionStarted=!0})()}selectionChanged(){var t=this;return(0,r.A)(function*(){t.selectionStarted&&t.vibrateWithPattern([70])})()}selectionEnd(){var t=this;return(0,r.A)(function*(){t.selectionStarted=!1})()}patternForImpact(t=n.k.Heavy){return t===n.k.Medium?[43]:t===n.k.Light?[20]:[61]}patternForNotification(t=n._.Success){return t===n._.Warning?[30,40,30,50,60]:t===n._.Error?[27,45,50]:[35,65,21]}vibrateWithPattern(t){if(!navigator.vibrate)throw this.unavailable("Browser does not support the vibrate API");navigator.vibrate(t)}
1}}}]);
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.