"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[8866],{83091:function(n,t,a){a.r(t),a.d(t,{default:function(){return d}});var e=a(1413),o=(a(72791),a(14951)),i=a(30159),r=a(89839),c=a(80184);var s=function(n){var t=(0,o.DR)(n),a=t.audioRef,e=t.mediaState,s=t.setIsPlaying,u=t.setProcessing,l=t.onPlay,d=t.onDownload,f=t.processing,p=t.isPlaying,v=t.readyToPlay,x=t.caption;return(0,c.jsx)(i.Z,{children:(0,c.jsx)("div",{style:n.style,children:(0,c.jsx)(r.zF,{audioRef:a,src:e.src,onEnded:function(){return s(!1)},onCanPlay:function(){return u(!1)},onPlay:l,onPause:function(){return s(!1)},onDownload:d,processing:f,isPlaying:p,readyToPlay:v,caption:x})})})},u=a(7779);var l=function(n){var t=n.data.map((function(n){return(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({},n),n.data),n.audios),n.record)}));return(0,c.jsx)("div",{className:"AudiosList",style:{height:"100%",overflow:"auto"},children:t.map((function(n,t){var a;return(0,c.jsx)(s,{style:{margin:"5px",height:50,width:"calc(100% - 10px)",flex:1},blobData:n.blobs.data,format:n.format,caption:n.caption,name:n.name,context:n.context,step:n.step,index:n.index,engine:{events:u.Z.events,blobURI:u.Z.blobURI}},"".concat(null===n||void 0===n||null===(a=n.container)||void 0===a?void 0:a.hash,"_").concat(n.name,"_").concat(JSON.stringify(n.context),"_").concat(n.step,"_").concat(n.index))}))})};var d=function(n){return(0,c.jsx)(l,{data:n.data})}}}]);
//# sourceMappingURL=Audios.01a61984.chunk.js.map