!function(e,i){"use strict";ElementsKit_Helper.registerWidget("elementskit-audio-player.default",(function(e){let i=e.find(".ekit-audio-player"),t=i.data("audio-settings");t&&e.find("audio").mediaelementplayer({pluginPath:"https://cdnjs.com/libraries/mediaelement/",shimScriptAccess:"always",audioVolume:t.audioVolume,features:t.features,startVolume:t.startVolume,hideVolumeOnTouchDevices:t.hideVolumeOnTouchDevices,success:function(e,t,u){e.addEventListener("progress",(function(e){})),e.addEventListener("play",(function(e){}));const n=i.find(".ekit-hidden-icons");if(n.length){let e=i.find(".mejs-playpause-button button"),t=i.find(".mejs-volume-button button");const u=n.find(".ekit-audio-play")[0]&&n.find(".ekit-audio-play")[0].outerHTML||"",d=n.find(".ekit-audio-pause")[0]&&n.find(".ekit-audio-pause")[0].outerHTML||"",o=n.find(".ekit-audio-replay")[0]&&n.find(".ekit-audio-replay")[0].outerHTML||"",a=n.find(".ekit-audio-unmute")[0]&&n.find(".ekit-audio-unmute")[0].outerHTML||"",s=n.find(".ekit-audio-mute")[0]&&n.find(".ekit-audio-mute")[0].outerHTML||"";e.html(u+d+o),t.html(a+s)}}})}))}(jQuery,window.elementorFrontend);