text: /**
   * Hilo 1.2.0 for amd
   * Copyright 2016 alibaba.com
   * Licensed under the MIT License
   */
  define("hilo/media/WebSound",["hilo/media/HTMLAudio","hilo/media/WebAudio","hilo/util/util"],function(i,o,e){var u={_audios:{},enableAudio:function(){o.isSupported&&o.enable()},getAudio:function(e,u){void 0===u&&(u=!0),e=this._normalizeSource(e);var t=this._audios[e.src];return t||(u&&o.isSupported?t=new o(e):i.isSupported&&(t=new i(e)),this._audios[e.src]=t),t},removeAudio:function(i){var o="string"==typeof i?i:i.src,e=this._audios[o];e&&(e.stop(),e.off(),this._audios[o]=null,delete this._audios[o])},_normalizeSource:function(i){var o={};return"string"==typeof i?o={src:i}:e.copy(o,i),o}};return u});