diff --git a/artifacts/artifacts.json b/artifacts/artifacts.json index 94d2d1a7..c0756b0f 100644 --- a/artifacts/artifacts.json +++ b/artifacts/artifacts.json @@ -4,9 +4,9 @@ "createdAt": "2025-02-17T11:00:00.000Z", "version": "3.5.0" }, - "bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae": { - "cid": "bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae", - "createdAt": "2026-08-04T16:55:34.002Z", + "bafybeiglhqaciiz4nxyn7xsvlscxus4s56gs5usglwcx4jkovyvbpyrnie": { + "cid": "bafybeiglhqaciiz4nxyn7xsvlscxus4s56gs5usglwcx4jkovyvbpyrnie", + "createdAt": "2026-08-06T20:47:27.951Z", "version": "4.x-nightly" } } \ No newline at end of file diff --git a/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js b/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js deleted file mode 100644 index bbbbb392..00000000 --- a/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js +++ /dev/null @@ -1,28 +0,0 @@ -import{a as O}from"./chunk-VMYVLAL2.js";import{c as I,e as k}from"./chunk-R5QZUWYI.js";import{e as $}from"./chunk-73KFLR6T.js";import{j as b,o as m,p as A}from"./chunk-5HEUN32V.js";import{a as c,d as j}from"./chunk-TZW2CJI6.js";var D={};j(D,{AudioEngineItem:()=>L,CLASS:()=>_,NAME:()=>C,NAME_ITEM:()=>M,default:()=>q});var E=/iPhone|iPad|iPod/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,P=class extends I{static{c(this,"AudioEngine")}static NAME="diffuse/engine/audio";constructor(){super(),this.state=this.state.bind(this)}#e=new Map;#t=new Map;#a=m([]);#r=m(.75);items=this.#a.get;volume=this.#r.get;isPlaying=b(()=>{let t=this.items()?.[0];if(!t)return!1;let e=this.state(t.id);return e?e.isPlaying()||e.hasEnded()||e.duration()>0&&e.currentTime()===e.duration():!1});connectedCallback(){if(this.hasAttribute("group")){let i=this.broadcast(this.identifier,{adjustVolume:{strategy:"replicate",fn:this.adjustVolume},pause:{strategy:"leaderOnly",fn:this.pause},play:{strategy:"leaderOnly",fn:this.play},seek:{strategy:"leaderOnly",fn:this.seek},supply:{strategy:"replicate",fn:this.supply},items:{strategy:"leaderOnly",fn:this.items}});if(!i)return;this.adjustVolume=i.adjustVolume,this.pause=i.pause,this.play=i.play,this.seek=i.seek,this.supply=i.supply,this.broadcastingStatus().then(async a=>{a.leader||(this.#a.value=await i.items())})}super.connectedCallback();let t=`${this.constructor.prototype.constructor.NAME}/${this.group}/volume`,e=localStorage.getItem(t);if(e!=null&&this.#r.set(parseFloat(e)),this.effect(()=>{Array.from(this.querySelectorAll("de-audio-item")).forEach(i=>{let a=i;if(a.hasAttribute("preload"))return;let n=a.querySelector("audio");n&&(n.volume=this.#r.value)}),localStorage.setItem(t,this.#r.value.toString())}),E){let i=c(()=>{document.hidden||this.items().forEach(a=>{if(a.isPreload)return;let n=this.#i(a.id);if(!n?.intendsToPlay)return;let u=n.audio;u.paused&&(u.readyState>=2?this.play({audioId:a.id}):(u.load(),u.addEventListener("canplay",()=>{n.intendsToPlay&&this.play({audioId:a.id})},{once:!0})))})},"onVisible");this.effect(()=>(document.addEventListener("visibilitychange",i),()=>document.removeEventListener("visibilitychange",i)))}this.broadcasted&&this.effect(async()=>{let i=await this.broadcastingStatus();A(()=>{i.leader&&i.initialLeader===!1&&(console.log("\u{1F9D9} Leadership acquired"),this.items().forEach(a=>{let n=this.#i(a.id);if(!n||(n.removeAttribute("initial-progress"),!n.audio))return;let u=n.$state.currentTime.value,r=c(()=>{this.seek({audioId:a.id,currentTime:u}),n.$state.isPlaying.value&&this.play({audioId:a.id})},"canPlay");n.audio.addEventListener("canplay",r,{once:!0}),n.audio.readyState===0?n.audio.load():r()}))})})}adjustVolume(t){t.audioId?this.#s(t.audioId,e=>{e.volume=t.volume}):this.#r.value=t.volume}pause({audioId:t}){this.#s(t,(e,i)=>{e.pause(),i.intendsToPlay=!1,i.$state.isPlaying.set(!1)})}play({audioId:t,volume:e}){this.#s(t,(i,a)=>{if(i.volume=e??this.volume(),i.muted=!1,!i.isConnected)return;let n=i.play()||Promise.resolve();a.intendsToPlay=!0,E&&document.hidden||a.$state.isPlaying.set(!0),n.catch(u=>{if(!i.isConnected||u?.name==="AbortError")return;console.error("Couldn't play audio automatically. Please resume playback manually.",u),a.intendsToPlay=!1,a.$state.isPlaying.set(!1)})})}reload(t){this.#s(t.audioId,(e,i)=>{(e.readyState===0||e.error?.code===2)&&(e.load(),t.progress!==void 0&&i.setAttribute("initial-progress",JSON.stringify(t.progress)),t.play&&this.play({audioId:t.audioId,volume:e.volume}))})}seek({audioId:t,currentTime:e,percentage:i}){this.#s(t,a=>{e!=null?a.currentTime=e:i!=null&&!isNaN(a.duration)&&a.duration!==1/0&&(a.currentTime=i*a.duration)})}supply(t){let e=new Map(this.#a.value.map(s=>[s.id,s]));for(let s of t.audio)"stream"in s&&!e.has(s.id)&&!this.#t.has(s.id)&&(this.#t.set(s.id,s.stream),this.#n(s.id,s.stream,s.mimeType??"",s.seek,s.duration));let i=new Set(t.audio.map(s=>s.id));for(let[s,o]of this.#e)i.has(s)||(URL.revokeObjectURL(o),this.#e.delete(s));for(let s of this.#t.keys())i.has(s)||this.#t.delete(s);let a=t.audio.map(s=>{let o="stream"in s?this.#e.get(s.id):s.url;if(!o&&"stream"in s&&this.#t.has(s.id))throw new Error("Stream did not produce a media source url");return o=o??"",{id:s.id,isPreload:s.isPreload,mimeType:s.mimeType,progress:s.progress,track:s.track,url:o}}),n=a.some(s=>!e.has(s.id)),u=a.some(s=>e.get(s.id)?.isPreload!==s.isPreload),r=a.some(s=>e.get(s.id)?.url!==s.url),d=this.#a.value.find(s=>!s.isPreload),f=a.find(s=>!s.isPreload),p=E&&d&&f&&(d.id!==f.id||d.url!==f.url);if((n||u||r)&&(p&&this.#i(d.id)?.resetState(),this.#a.value=a),r&&!n)for(let s of a)e.has(s.id)&&e.get(s.id)?.url!==s.url&&this.#s(s.id,o=>{o.removeAttribute("src"),(o.readyState===0||o.error)&&o.load()});if(p){let s=new Set(t.audio.filter(o=>"stream"in o).map(o=>o.id));for(let o of a)o.isPreload||s.has(o.id)||this.#s(o.id,S=>{S.removeAttribute("src"),S.load()})}t.play&&this.play(t.play)}async#n(t,e,i,a,n){let u=globalThis,r=u.MediaSource??u.ManagedMediaSource;if(!r||!i||!r.isTypeSupported(i)){this.#t.delete(t),e.cancel().catch(()=>{}),Promise.resolve().then(()=>{this.#i(t)?.$state.loadingState.set({error:{code:4}})});return}let d=new r,f=URL.createObjectURL(d);if(this.#e.set(t,f),this.#t.delete(t),await Promise.resolve(),!this.#e.has(t)){URL.revokeObjectURL(f);return}let p=this.#i(t);if(!p){URL.revokeObjectURL(f),this.#e.delete(t);return}p.audio.src=f,await new Promise(l=>{d.addEventListener("sourceopen",l,{once:!0})});let s=e.getReader(),o=!1,S=0,N=c(()=>{if(!a)return;let l=p.audio,y=l.currentTime;for(let v=0;v{})},"onSeeking");p.audio.addEventListener("seeking",N);try{n!==void 0&&(d.duration=n);let l=d.addSourceBuffer(i);for(;;){if(!this.#e.has(t)){await s.cancel();break}let y,v;try{({done:y,value:v}=await s.read())}catch{y=!0}if(!this.#e.has(t))break;if(o){o=!1,l.updating&&await w(l);let R=w(l);if(l.remove(0,1/0),!await R)throw new Error("SourceBuffer remove failed");if(!a)throw new Error("seekFn is undefined");s=(await a(S)).getReader();continue}if(y){d.readyState==="open"&&d.endOfStream();break}l.updating&&await w(l);let U=w(l);if(l.appendBuffer(v),!await U)throw new Error("SourceBuffer append failed")}}catch(l){console.error("[audio engine] Stream error:",l),d.readyState==="open"&&d.endOfStream("decode"),this.#e.get(t)===f&&p.$state.loadingState.set({error:{code:3}})}finally{p.audio.removeEventListener("seeking",N)}}render({html:t}){let e=this.items(),i=E?e.filter(r=>!r.isPreload):e,a=e.map(r=>r.id);this.querySelectorAll("de-audio-item").forEach(r=>{if(a.includes(r.id)||E&&i.length>0)return;let d=r.querySelector("audio");d&&(d.pause(),d.removeAttribute("src"),d.querySelectorAll("source").forEach(f=>f.removeAttribute("src")),d.load())});let n=this.group,u=i.map(r=>{let d=r.progress===void 0?"0":JSON.stringify(r.progress);return O(E?"active":r.id,t` - - - - `)});return t` -
- ${u} -
- `}_state(t){return b(()=>{let e=this.#a.value,i=this.#i(t)?.state;return i?{...i}:void 0})}state(t){return this._state(t)()}#i(t){let e=this.querySelector(`de-audio-item[id="${t}"]:not([preload])`)??this.querySelector(`de-audio-item[id="${t}"]`);if(e)return e}#s(t,e){let i=this.#i(t);i&&e(i.audio,i)}},q=P,L=class extends I{static{c(this,"AudioEngineItem")}static NAME="diffuse/engine/audio/item";static observedAttributes=["preload"];constructor(){super(),this.intendsToPlay=!1,this.$state={currentTime:m(0),duration:m(0),hasEnded:m(!1),isPlaying:m(!1),isPreload:m(this.hasAttribute("preload")),loadingState:m("initialisation"),progress:b(()=>{let t=this.$state.currentTime.value,e=this.$state.duration.value;return!e||isNaN(e)||e===1/0?0:t/e})}}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),t==="preload"&&this.$state.isPreload.set(i!==null)}async connectedCallback(){let t=this.audio;if(t.addEventListener("canplay",this.canplayEvent),t.addEventListener("durationchange",this.durationchangeEvent),t.addEventListener("ended",this.endedEvent),t.addEventListener("error",this.errorEvent),t.addEventListener("pause",this.pauseEvent),t.addEventListener("play",this.playEvent),t.addEventListener("playing",this.playingEvent),t.addEventListener("suspend",this.suspendEvent),t.addEventListener("timeupdate",this.timeupdateEvent),t.addEventListener("waiting",this.waitingEvent),this.hasAttribute("preload")||this.$state.loadingState.set("loading"),this.hasAttribute("group")){let e=this.broadcast(this.identifier,{getCurrentTime:{strategy:"leaderOnly",fn:this.$state.currentTime.get},getDuration:{strategy:"leaderOnly",fn:this.$state.duration.get},getHasEnded:{strategy:"leaderOnly",fn:this.$state.hasEnded.get},getIsPlaying:{strategy:"leaderOnly",fn:this.$state.isPlaying.get},getIsPreload:{strategy:"leaderOnly",fn:this.$state.isPreload.get},getLoadingState:{strategy:"leaderOnly",fn:this.$state.loadingState.get},setCurrentTime:{strategy:"replicate",fn:this.$state.currentTime.set},setDuration:{strategy:"replicate",fn:this.$state.duration.set},setHasEnded:{strategy:"replicate",fn:this.$state.hasEnded.set},setIsPlaying:{strategy:"replicate",fn:this.$state.isPlaying.set},setIsPreload:{strategy:"replicate",fn:this.$state.isPreload.set},setLoadingState:{strategy:"replicate",fn:this.$state.loadingState.set}},{assumeLeadership:(await this.engine?.broadcastingStatus())?.leader});e&&(this.$state.currentTime.set=e.setCurrentTime,this.$state.duration.set=e.setDuration,this.$state.hasEnded.set=e.setHasEnded,this.$state.isPlaying.set=e.setIsPlaying,this.$state.isPreload.set=e.setIsPreload,this.$state.loadingState.set=e.setLoadingState,A(async()=>{this.$state.currentTime.value=await e.getCurrentTime(),this.$state.duration.value=await e.getDuration(),this.$state.hasEnded.value=await e.getHasEnded(),this.$state.isPlaying.value=await e.getIsPlaying(),this.$state.isPreload.value=await e.getIsPreload(),this.$state.loadingState.value=await e.getLoadingState()}))}super.connectedCallback()}get state(){return{id:this.id,mimeType:this.getAttribute("mime-type")??void 0,url:this.getAttribute("url")??"",currentTime:this.$state.currentTime.get,duration:this.$state.duration.get,hasEnded:this.$state.hasEnded.get,isPlaying:this.$state.isPlaying.get,isPreload:this.$state.isPreload.get,loadingState:this.$state.loadingState.get,progress:this.$state.progress}}resetState(){this.$state.currentTime.set(0),this.$state.duration.set(0),this.$state.hasEnded.set(!1),this.$state.isPlaying.set(!1),this.$state.loadingState.set("loading")}get audio(){let t=this.querySelector("audio");if(t)return t;throw new Error("Cannot find child audio element")}get engine(){let t=this.closest("de-audio");return t||null}canplayEvent(t){let e=t.target,i=g(e);if(i?.hasAttribute("initial-progress")&&e.duration&&!isNaN(e.duration)){let a=JSON.parse(i.getAttribute("initial-progress")??"0");a!==0&&!isNaN(e.duration)&&e.duration!==1/0&&(e.currentTime=e.duration*a),i.removeAttribute("initial-progress")}T(t)}durationchangeEvent(t){let e=t.target;isNaN(e.duration)||g(e)?.$state.duration.set(e.duration)}endedEvent(t){let e=t.target;e.currentTime=0;let i=g(e);i&&(i.intendsToPlay=!1),i?.$state.hasEnded.set(!0)}errorEvent(t){let e=t.target,i=e.error?.code||0;g(e)?.$state.loadingState.set({error:{code:i}})}pauseEvent(t){let e=t.target;g(e)?.$state.isPlaying.set(!1)}playEvent(t){let e=t.target,i=g(e);i?.$state.hasEnded.set(!1),i?.$state.isPlaying.set(!0),e.readyState>=2&&T(t)}playingEvent(t){let e=t.target,i=g(e);i&&(i.intendsToPlay=!1),i?.$state.isPlaying.set(!0),T(t)}suspendEvent(t){T(t)}timeupdateEvent(t){let e=t.target;isNaN(e.duration)||e.duration===0||g(e)?.$state.currentTime.set(e.currentTime)}waitingEvent(t){x(t);let e=t.target;if(e.seeking||e.networkState!==HTMLMediaElement.NETWORK_IDLE)return;let i=g(e);if(!i||i.hasAttribute("preload"))return;let a=!isNaN(e.duration)&&e.duration>0&&e.duration!==1/0?e.currentTime/e.duration:0;a>0&&i.setAttribute("initial-progress",JSON.stringify(a)),!(e.buffered.length>0)&&(e.load(),e.addEventListener("canplay",()=>{(i.$state.isPlaying.get()||i.intendsToPlay)&&i.engine?.play({audioId:i.id})},{once:!0}))}};function g(h){let t=h.closest("de-audio-item");return t||null}c(g,"engineItem");function T(h){let t=h.target;g(t)?.$state.loadingState.set("loaded")}c(T,"finishedLoading");function x(h){let t=h.target;if(t.readyState<4){let e=g(t);if(e?.hasAttribute("preload"))return;e?.$state.loadingState.set("loading")}}c(x,"initiateLoading");function w(h){return new Promise(t=>{let e=c(()=>{a(),t(!0)},"onEnd"),i=c(()=>{a(),t(!1)},"onError"),a=c(()=>{h.removeEventListener("updateend",e),h.removeEventListener("updateerror",i)},"cleanup");h.addEventListener("updateend",e),h.addEventListener("updateerror",i)})}c(w,"waitForUpdateEnd");var _=P,C="de-audio",M="de-audio-item";k(C,P);k(M,L);export{q as a,L as b,_ as c,C as d,M as e,D as f}; - -//# sourceMappingURL=./chunk-5UYA4GUB.js.map \ No newline at end of file diff --git a/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js.br b/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js.br deleted file mode 100644 index 5c613e4528c5b8ac13ec203d0c73471183516d8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4248 zcmb1^G<6A?T*V-wc=*ornNk0L?(w+MTHJ<4l7S90Q9@YDI4S5kgnDLhN+&A<0gx+t~ zIPDkv%su7aEt_!3XRrEC_iz6$-}m8@Ygzlx*V`YLtB2R$^Z7f^e$ws}*SGA<+8kdz z!~S3Foq2!1edA+2KRqOV%g?x{p62rJ@5}x9|H5D5(*LRx&RY8qEAsxX&At2c$p1@= zGp?~JocDk6Am#tBU$1rdUA+14<)f-w2WREGn|EK{a!NCjH-GbgA(SHeaU??v;QAD^C(2We^*A7V(P;Ao3GjD$Lz1!Rj{o)(QYxf z-S2A0W2=`cT1y?6%;z2UWzvO$kOZv-EKV{Ehmzgk| zIjDJF*23c-rqBD7aN~OY!7a%26G;cWK8o77t3EQc{Ztbsc6G@e zhQOP%rfK`6hP;kvwCHoQeYxR9R`7C>()YIKm*hSR*6dv*6!2BaAx&?q@5J*$)3)3@ zbA^3ZuICoEf(^Z~3;v#}E78~FI3>yyIQL~(;Y_WQ$^U9Al6#jsUcdia;Qg6k5$7MZ zJLHqYZaYuDs%9*Q%(Gv(;|Bu)Cskz35Qo^}PHI4`RKyWPbgYRl0h6=d+Gk z>lWVG)4lqo`Rp=nGf^Mm-gMvG$EmX}xrCm4+pt~#>ihK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Z zYUNzLD7>Yj`^p{m)1l4Vrug2Sy{Kr{_IRz-(^=Z0*K@Lyw><5M%;1*h*l~DE$x3Jc zBx#O~S1U6`YJOd_^Wm01aq)L%xMA9C69IYNCleO`h+<2LoM&9$%lc^1qwbQr`Bu?) z?#z#ut+%$aiIi9|a{rh0n+Us|`Qv6c7at9$PkD@6Sa=wJQH z=KZaZ&+m6_X_BmFmxb(z|-Je!EO9_`P4oc5BcGBJ7%2oldt{Dy(z%{CcTbzwS?1Hu=xQeRpM}E*%W; OUGCh*CvLv-4=VuH9W%iI diff --git a/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js.map b/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js.map deleted file mode 100644 index 38db879f..00000000 --- a/artifacts/bafybeifwqikb6wghwjxstws63awp7zhsawpeajngxnowiwoj64uy2wquae/chunk-5UYA4GUB.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["/components/engine/audio/element.js"],"sourcesContent":["import { keyed } from \"lit-html/directives/keyed.js\";\n\nimport {\n BroadcastableDiffuseElement,\n defineElement,\n nothing,\n} from \"~/common/element.js\";\nimport { computed, signal, untracked } from \"~/common/signal.js\";\n\n/**\n * @import {Actions, AudioUrl, AudioState, AudioStateReadOnly, LoadingState} from \"@specs/components/engine/audio/types.d.ts\"\n * @import {RenderArg} from \"~/common/element.d.ts\"\n * @import {SignalReader} from \"~/common/signal.d.ts\"\n */\n\n////////////////////////////////////////////\n// CONSTANTS\n////////////////////////////////////////////\n/**\n * Mobile Safari caps the number of live media elements and behaves poorly\n * when fresh