@web-noise/core 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -637,7 +637,7 @@ var $07dabc4e7d66bab5$export$b0b7b95ee465c83c,$fmhGi$reactjsxruntime=require("re
637
637
  align-items: center;
638
638
  justify-content: center;
639
639
  font-size: 6rem;
640
- `),$985a60451d015e23$export$b38a2fd24b22fb35=e=>{let t=$7d1a5bdfd7b5aa4a$export$2e2bcd8739ae039(e=>e.pullEditorChanges),r=$7d1a5bdfd7b5aa4a$export$2e2bcd8739ae039(e=>e.currentFileIndex),[a,o]=(0,$fmhGi$react.useState)(!0);(0,$fmhGi$react.useEffect)(()=>{o(!0),setTimeout(()=>{o(!1)},1600)},[r]);let{file:$}=e;return $?"audio"===$.type?(0,$fmhGi$reactjsxruntime.jsx)($985a60451d015e23$export$10efbd348f877f87,{children:(0,$fmhGi$reactjsxruntime.jsx)("audio",{src:$.file,controls:!0})}):(0,$fmhGi$reactjsxruntime.jsxs)($fmhGi$reactjsxruntime.Fragment,{children:[(0,$fmhGi$reactjsxruntime.jsx)($927ea3f966266523$export$7cda8d932e2f33c0,{...e,onChange:e=>{t()},editorState:$.file||$985a60451d015e23$export$d31000d36961d6c2}),(0,$fmhGi$reactjsxruntime.jsx)($985a60451d015e23$export$8c347812506d5ac9,{show:a,children:"Loading..."})]}):null},$985a60451d015e23$export$2206531ad8592d57=(0,$fmhGi$emotionreact.withTheme)($parcel$interopDefault($fmhGi$emotionstyled).div`
640
+ `),$985a60451d015e23$export$b38a2fd24b22fb35=e=>{let t=$7d1a5bdfd7b5aa4a$export$2e2bcd8739ae039(e=>e.pullEditorChanges),r=$7d1a5bdfd7b5aa4a$export$2e2bcd8739ae039(e=>e.currentFileIndex),a=$7d1a5bdfd7b5aa4a$export$2e2bcd8739ae039(e=>e.project),[o,$]=(0,$fmhGi$react.useState)(!0);(0,$fmhGi$react.useEffect)(()=>{e.onChange?.(a)},[a,e.onChange]),(0,$fmhGi$react.useEffect)(()=>{$(!0),setTimeout(()=>{$(!1)},1600)},[r]);let{file:i}=e;return i?"audio"===i.type?(0,$fmhGi$reactjsxruntime.jsx)($985a60451d015e23$export$10efbd348f877f87,{children:(0,$fmhGi$reactjsxruntime.jsx)("audio",{src:i.file,controls:!0})}):(0,$fmhGi$reactjsxruntime.jsxs)($fmhGi$reactjsxruntime.Fragment,{children:[(0,$fmhGi$reactjsxruntime.jsx)($927ea3f966266523$export$7cda8d932e2f33c0,{...e,onChange:e=>{t()},editorState:i.file||$985a60451d015e23$export$d31000d36961d6c2}),(0,$fmhGi$reactjsxruntime.jsx)($985a60451d015e23$export$8c347812506d5ac9,{show:o,children:"Loading..."})]}):null},$985a60451d015e23$export$2206531ad8592d57=(0,$fmhGi$emotionreact.withTheme)($parcel$interopDefault($fmhGi$emotionstyled).div`
641
641
  height: 2rem;
642
642
  display: flex;
643
643
  align-items: center;