@beyondwords/player 0.0.0-beta30 → 0.0.0-beta32
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/es.js +1 -1
- package/dist/umd.js +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -550,7 +550,7 @@ class rt {
|
|
|
550
550
|
this.$$set && !D0(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
const iv = "@beyondwords/player", iu = "0.0.0-
|
|
553
|
+
const iv = "@beyondwords/player", iu = "0.0.0-beta32", tr = (t, e) => {
|
|
554
554
|
t = [t].flat().join(`
|
|
555
555
|
`);
|
|
556
556
|
let i = `${iv}:
|
package/dist/umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
(function(ue,vt){typeof exports=="object"&&typeof module!="undefined"?module.exports=vt():typeof define=="function"&&define.amd?define(vt):(ue=typeof globalThis!="undefined"?globalThis:ue||self,ue.BeyondWords=vt())})(this,function(){var pa,_u,_o,vh,_a,yo,mh,bo,ph,ya,So,_h,To,yh,ba,ko,bh,Eo,Sh,Ao,Th,xo,kh,Po,Eh,Sa,yu,wo,Ah,Co,xh,Or,An,hn,us,or,Cr,Lo,Ph,is,wa,gn,cs,Io,wh,Ta,bu,Jr,Kn,ka,Su,vn,ds,Ii,tr,mn,fs,Qr,Yn,Ro,Ch,Do,Lh,rs,Ca,Ea,Tu,Oo,Ih,Bo,Rh,Mo,Dh,No,Oh,Nn,Sf;"use strict";var xE=Object.defineProperty,PE=Object.defineProperties;var wE=Object.getOwnPropertyDescriptors;var qo=Object.getOwnPropertySymbols;var fh=Object.prototype.hasOwnProperty,hh=Object.prototype.propertyIsEnumerable;var dh=(ue,vt,kt)=>vt in ue?xE(ue,vt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):ue[vt]=kt,fe=(ue,vt)=>{for(var kt in vt||(vt={}))fh.call(vt,kt)&&dh(ue,kt,vt[kt]);if(qo)for(var kt of qo(vt))hh.call(vt,kt)&&dh(ue,kt,vt[kt]);return ue},ii=(ue,vt)=>PE(ue,wE(vt));var mu=(ue,vt)=>{var kt={};for(var Mi in ue)fh.call(ue,Mi)&&vt.indexOf(Mi)<0&&(kt[Mi]=ue[Mi]);if(ue!=null&&qo)for(var Mi of qo(ue))vt.indexOf(Mi)<0&&hh.call(ue,Mi)&&(kt[Mi]=ue[Mi]);return kt};var pu=(ue,vt,kt)=>{if(!vt.has(ue))throw TypeError("Cannot "+kt)};var Wr=(ue,vt,kt)=>(pu(ue,vt,"read from private field"),kt?kt.call(ue):vt.get(ue)),ht=(ue,vt,kt)=>{if(vt.has(ue))throw TypeError("Cannot add the same private member more than once");vt instanceof WeakSet?vt.add(ue):vt.set(ue,kt)},gh=(ue,vt,kt,Mi)=>(pu(ue,vt,"write to private field"),Mi?Mi.call(ue,kt):vt.set(ue,kt),kt);var de=(ue,vt,kt)=>(pu(ue,vt,"access private method"),kt);var ln=(ue,vt,kt)=>new Promise((Mi,Xs)=>{var Qt=Tr=>{try{Xe(kt.next(Tr))}catch(Lr){Xs(Lr)}},xn=Tr=>{try{Xe(kt.throw(Tr))}catch(Lr){Xs(Lr)}},Xe=Tr=>Tr.done?Mi(Tr.value):Promise.resolve(Tr.value).then(Qt,xn);Xe((kt=kt.apply(ue,vt)).next())});function ue(){}const vt=t=>t;function kt(t,e){for(const i in e)t[i]=e[i];return t}function Mi(t){return t()}function Xs(){return Object.create(null)}function Qt(t){t.forEach(Mi)}function xn(t){return typeof t=="function"}function Xe(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Tr;function Lr(t,e){return Tr||(Tr=document.createElement("a")),Tr.href=e,t===Tr.href}function Bh(t){return Object.keys(t).length===0}function hs(t,e,i,r){if(t){const a=ku(t,e,i,r);return t[0](a)}}function ku(t,e,i,r){return t[1]&&r?kt(i.ctx.slice(),t[1](r(e))):i.ctx}function gs(t,e,i,r){if(t[2]&&r){const a=t[2](r(i));if(e.dirty===void 0)return a;if(typeof a=="object"){const l=[],g=Math.max(e.dirty.length,a.length);for(let m=0;m<g;m+=1)l[m]=e.dirty[m]|a[m];return l}return e.dirty|a}return e.dirty}function vs(t,e,i,r,a,l){if(a){const g=ku(e,i,r,l);t.p(g,a)}}function ms(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let r=0;r<i;r++)e[r]=-1;return e}return-1}function Eu(t){return t==null?"":t}function Au(t){const e=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[t,"px"]}const xu=typeof window!="undefined";let Mh=xu?()=>window.performance.now():()=>Date.now(),La=xu?t=>requestAnimationFrame(t):ue;const ps=new Set;function Pu(t){ps.forEach(e=>{e.c(t)||(ps.delete(e),e.f())}),ps.size!==0&&La(Pu)}function Nh(t){let e;return ps.size===0&&La(Pu),{promise:new Promise(i=>{ps.add(e={c:t,f:i})}),abort(){ps.delete(e)}}}const Fh=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function I(t,e){t.appendChild(e)}function wu(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Uh(t){const e=N("style");return Vh(wu(t),e),e.sheet}function Vh(t,e){return I(t.head||t,e),e.sheet}function te(t,e,i){t.insertBefore(e,i||null)}function $(t){t.parentNode&&t.parentNode.removeChild(t)}function Pn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function N(t){return document.createElement(t)}function tt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Ie(t){return document.createTextNode(t)}function Pe(){return Ie(" ")}function qn(){return Ie("")}function ve(t,e,i,r){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}function nt(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function Wh(t){return Array.from(t.childNodes)}function fr(t,e){e=""+e,t.data!==e&&(t.data=e)}function Et(t,e){t.value=e==null?"":e}function Ci(t,e,i,r){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,r?"important":"")}function lt(t,e,i){for(let r=0;r<t.options.length;r+=1){const a=t.options[r];if(a.__value===e){a.selected=!0;return}}(!i||e!==void 0)&&(t.selectedIndex=-1)}function mi(t){const e=t.querySelector(":checked");return e&&e.__value}let Ia;function jh(){if(Ia===void 0){Ia=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){Ia=!0}}return Ia}function Gh(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const r=N("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const a=jh();let l;return a?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=ve(window,"message",g=>{g.source===r.contentWindow&&e()})):(r.src="about:blank",r.onload=()=>{l=ve(r.contentWindow,"resize",e),e()}),I(t,r),()=>{(a||l&&r.contentWindow)&&l(),$(r)}}function Ye(t,e,i){t.classList[i?"add":"remove"](e)}function zh(t,e,{bubbles:i=!1,cancelable:r=!1}={}){const a=document.createEvent("CustomEvent");return a.initCustomEvent(t,i,r,e),a}const Ra=new Map;let Da=0;function Hh(t){let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return e>>>0}function Kh(t,e){const i={stylesheet:Uh(e),rules:{}};return Ra.set(t,i),i}function Cu(t,e,i,r,a,l,g,m=0){const _=16.666/r;let T=`{
|
|
3
3
|
`;for(let H=0;H<=1;H+=_){const oe=e+(i-e)*l(H);T+=H*100+`%{${g(oe,1-oe)}}
|
|
4
4
|
`}const k=T+`100% {${g(i,1-i)}}
|
|
5
|
-
}`,w=`__svelte_${Hh(k)}_${m}`,F=wu(t),{stylesheet:V,rules:U}=Ra.get(F)||Kh(F,t);U[w]||(U[w]=!0,V.insertRule(`@keyframes ${w} ${k}`,V.cssRules.length));const z=t.style.animation||"";return t.style.animation=`${z?`${z}, `:""}${w} ${r}ms linear ${a}ms 1 both`,Da+=1,w}function Yh(t,e){const i=(t.style.animation||"").split(", "),r=i.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),a=i.length-r.length;a&&(t.style.animation=r.join(", "),Da-=a,Da||qh())}function qh(){La(()=>{Da||(Ra.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&$(e)}),Ra.clear())})}let Zs;function Js(t){Zs=t}function Lu(){if(!Zs)throw new Error("Function called outside component initialization");return Zs}function Xo(t){Lu().$$.on_mount.push(t)}function Xh(t){Lu().$$.on_destroy.push(t)}const _s=[],Fe=[];let ys=[];const Zo=[],Iu=Promise.resolve();let Jo=!1;function Ru(){Jo||(Jo=!0,Iu.then(P))}function Zh(){return Ru(),Iu}function Ft(t){ys.push(t)}function Qe(t){Zo.push(t)}const Qo=new Set;let bs=0;function P(){if(bs!==0)return;const t=Zs;do{try{for(;bs<_s.length;){const e=_s[bs];bs++,Js(e),Jh(e.$$)}}catch(e){throw _s.length=0,bs=0,e}for(Js(null),_s.length=0,bs=0;Fe.length;)Fe.pop()();for(let e=0;e<ys.length;e+=1){const i=ys[e];Qo.has(i)||(Qo.add(i),i())}ys.length=0}while(_s.length);for(;Zo.length;)Zo.pop()();Jo=!1,Qo.clear(),Js(t)}function Jh(t){if(t.fragment!==null){t.update(),Qt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Ft)}}function Qh(t){const e=[],i=[];ys.forEach(r=>t.indexOf(r)===-1?e.push(r):i.push(r)),i.forEach(r=>r()),ys=e}let Qs;function $h(){return Qs||(Qs=Promise.resolve(),Qs.then(()=>{Qs=null})),Qs}function $o(t,e,i){t.dispatchEvent(zh(`${e?"intro":"outro"}${i}`))}const Oa=new Set;let un;function xt(){un={r:0,c:[],p:un}}function Pt(){un.r||Qt(un.c),un=un.p}function X(t,e){t&&t.i&&(Oa.delete(t),t.i(e))}function se(t,e,i,r){if(t&&t.o){if(Oa.has(t))return;Oa.add(t),un.c.push(()=>{Oa.delete(t),r&&(i&&t.d(1),r())}),t.o(e)}else r&&r()}const eg={duration:0};function Du(t,e,i,r){const a={direction:"both"};let l=e(t,i,a),g=r?0:1,m=null,_=null,T=null;function k(){T&&Yh(t,T)}function w(V,U){const z=V.b-g;return U*=Math.abs(z),{a:g,b:V.b,d:z,duration:U,start:V.start,end:V.start+U,group:V.group}}function F(V){const{delay:U=0,duration:z=300,easing:H=vt,tick:oe=ue,css:ce}=l||eg,ge={start:Mh()+U,b:V};V||(ge.group=un,un.r+=1),m||_?_=ge:(ce&&(k(),T=Cu(t,g,V,z,U,H,ce)),V&&oe(0,1),m=w(ge,z),Ft(()=>$o(t,V,"start")),Nh(me=>{if(_&&me>_.start&&(m=w(_,z),_=null,$o(t,m.b,"start"),ce&&(k(),T=Cu(t,g,m.b,m.duration,0,H,l.css))),m){if(me>=m.end)oe(g=m.b,1-g),$o(t,m.b,"end"),_||(m.b?k():--m.group.r||Qt(m.group.c)),m=null;else if(me>=m.start){const le=me-m.start;g=m.a+m.d*H(le/m.duration),oe(g,1-g)}}return!!(m||_)}))}return{run(V){xn(l)?$h().then(()=>{l=l(a),F(V)}):F(V)},end(){k(),m=_=null}}}function tg(t,e){se(t,1,1,()=>{e.delete(t.key)})}function ig(t,e,i,r,a,l,g,m,_,T,k,w){let F=t.length,V=l.length,U=F;const z={};for(;U--;)z[t[U].key]=U;const H=[],oe=new Map,ce=new Map,ge=[];for(U=V;U--;){const ee=w(a,l,U),L=i(ee);let ae=g.get(L);ae?r&&ge.push(()=>ae.p(ee,e)):(ae=T(L,ee),ae.c()),oe.set(L,H[U]=ae),L in z&&ce.set(L,Math.abs(U-z[L]))}const me=new Set,le=new Set;function Se(ee){X(ee,1),ee.m(m,k),g.set(ee.key,ee),k=ee.first,V--}for(;F&&V;){const ee=H[V-1],L=t[F-1],ae=ee.key,W=L.key;ee===L?(k=ee.first,F--,V--):oe.has(W)?!g.has(ae)||me.has(ae)?Se(ee):le.has(W)?F--:ce.get(ae)>ce.get(W)?(le.add(ae),Se(ee)):(me.add(W),F--):(_(L,g),F--)}for(;F--;){const ee=t[F];oe.has(ee.key)||_(ee,g)}for(;V;)Se(H[V-1]);return Qt(ge),H}function $e(t,e,i){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=i,i(t.$$.ctx[r]))}function ze(t){t&&t.c()}function We(t,e,i,r){const{fragment:a,after_update:l}=t.$$;a&&a.m(e,i),r||Ft(()=>{const g=t.$$.on_mount.map(Mi).filter(xn);t.$$.on_destroy?t.$$.on_destroy.push(...g):Qt(g),t.$$.on_mount=[]}),l.forEach(Ft)}function je(t,e){const i=t.$$;i.fragment!==null&&(Qh(i.after_update),Qt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function rg(t,e){t.$$.dirty[0]===-1&&(_s.push(t),Ru(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function it(t,e,i,r,a,l,g,m=[-1]){const _=Zs;Js(t);const T=t.$$={fragment:null,ctx:[],props:l,update:ue,not_equal:a,bound:Xs(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(_?_.$$.context:[])),callbacks:Xs(),dirty:m,skip_bound:!1,root:e.target||_.$$.root};g&&g(T.root);let k=!1;if(T.ctx=i?i(t,e.props||{},(w,F,...V)=>{const U=V.length?V[0]:F;return T.ctx&&a(T.ctx[w],T.ctx[w]=U)&&(!T.skip_bound&&T.bound[w]&&T.bound[w](U),k&&rg(t,w)),F}):[],T.update(),k=!0,Qt(T.before_update),T.fragment=r?r(T.ctx):!1,e.target){if(e.hydrate){const w=Wh(e.target);T.fragment&&T.fragment.l(w),w.forEach($)}else T.fragment&&T.fragment.c();e.intro&&X(t.$$.fragment),We(t,e.target,e.anchor,e.customElement),P()}Js(_)}class rt{$destroy(){je(this,1),this.$destroy=ue}$on(e,i){if(!xn(i))return ue;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(i),()=>{const a=r.indexOf(i);a!==-1&&r.splice(a,1)}}$set(e){this.$$set&&!Bh(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ng="@beyondwords/player",el="0.0.0-
|
|
5
|
+
}`,w=`__svelte_${Hh(k)}_${m}`,F=wu(t),{stylesheet:V,rules:U}=Ra.get(F)||Kh(F,t);U[w]||(U[w]=!0,V.insertRule(`@keyframes ${w} ${k}`,V.cssRules.length));const z=t.style.animation||"";return t.style.animation=`${z?`${z}, `:""}${w} ${r}ms linear ${a}ms 1 both`,Da+=1,w}function Yh(t,e){const i=(t.style.animation||"").split(", "),r=i.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),a=i.length-r.length;a&&(t.style.animation=r.join(", "),Da-=a,Da||qh())}function qh(){La(()=>{Da||(Ra.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&$(e)}),Ra.clear())})}let Zs;function Js(t){Zs=t}function Lu(){if(!Zs)throw new Error("Function called outside component initialization");return Zs}function Xo(t){Lu().$$.on_mount.push(t)}function Xh(t){Lu().$$.on_destroy.push(t)}const _s=[],Fe=[];let ys=[];const Zo=[],Iu=Promise.resolve();let Jo=!1;function Ru(){Jo||(Jo=!0,Iu.then(P))}function Zh(){return Ru(),Iu}function Ft(t){ys.push(t)}function Qe(t){Zo.push(t)}const Qo=new Set;let bs=0;function P(){if(bs!==0)return;const t=Zs;do{try{for(;bs<_s.length;){const e=_s[bs];bs++,Js(e),Jh(e.$$)}}catch(e){throw _s.length=0,bs=0,e}for(Js(null),_s.length=0,bs=0;Fe.length;)Fe.pop()();for(let e=0;e<ys.length;e+=1){const i=ys[e];Qo.has(i)||(Qo.add(i),i())}ys.length=0}while(_s.length);for(;Zo.length;)Zo.pop()();Jo=!1,Qo.clear(),Js(t)}function Jh(t){if(t.fragment!==null){t.update(),Qt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Ft)}}function Qh(t){const e=[],i=[];ys.forEach(r=>t.indexOf(r)===-1?e.push(r):i.push(r)),i.forEach(r=>r()),ys=e}let Qs;function $h(){return Qs||(Qs=Promise.resolve(),Qs.then(()=>{Qs=null})),Qs}function $o(t,e,i){t.dispatchEvent(zh(`${e?"intro":"outro"}${i}`))}const Oa=new Set;let un;function xt(){un={r:0,c:[],p:un}}function Pt(){un.r||Qt(un.c),un=un.p}function X(t,e){t&&t.i&&(Oa.delete(t),t.i(e))}function se(t,e,i,r){if(t&&t.o){if(Oa.has(t))return;Oa.add(t),un.c.push(()=>{Oa.delete(t),r&&(i&&t.d(1),r())}),t.o(e)}else r&&r()}const eg={duration:0};function Du(t,e,i,r){const a={direction:"both"};let l=e(t,i,a),g=r?0:1,m=null,_=null,T=null;function k(){T&&Yh(t,T)}function w(V,U){const z=V.b-g;return U*=Math.abs(z),{a:g,b:V.b,d:z,duration:U,start:V.start,end:V.start+U,group:V.group}}function F(V){const{delay:U=0,duration:z=300,easing:H=vt,tick:oe=ue,css:ce}=l||eg,ge={start:Mh()+U,b:V};V||(ge.group=un,un.r+=1),m||_?_=ge:(ce&&(k(),T=Cu(t,g,V,z,U,H,ce)),V&&oe(0,1),m=w(ge,z),Ft(()=>$o(t,V,"start")),Nh(me=>{if(_&&me>_.start&&(m=w(_,z),_=null,$o(t,m.b,"start"),ce&&(k(),T=Cu(t,g,m.b,m.duration,0,H,l.css))),m){if(me>=m.end)oe(g=m.b,1-g),$o(t,m.b,"end"),_||(m.b?k():--m.group.r||Qt(m.group.c)),m=null;else if(me>=m.start){const le=me-m.start;g=m.a+m.d*H(le/m.duration),oe(g,1-g)}}return!!(m||_)}))}return{run(V){xn(l)?$h().then(()=>{l=l(a),F(V)}):F(V)},end(){k(),m=_=null}}}function tg(t,e){se(t,1,1,()=>{e.delete(t.key)})}function ig(t,e,i,r,a,l,g,m,_,T,k,w){let F=t.length,V=l.length,U=F;const z={};for(;U--;)z[t[U].key]=U;const H=[],oe=new Map,ce=new Map,ge=[];for(U=V;U--;){const ee=w(a,l,U),L=i(ee);let ae=g.get(L);ae?r&&ge.push(()=>ae.p(ee,e)):(ae=T(L,ee),ae.c()),oe.set(L,H[U]=ae),L in z&&ce.set(L,Math.abs(U-z[L]))}const me=new Set,le=new Set;function Se(ee){X(ee,1),ee.m(m,k),g.set(ee.key,ee),k=ee.first,V--}for(;F&&V;){const ee=H[V-1],L=t[F-1],ae=ee.key,W=L.key;ee===L?(k=ee.first,F--,V--):oe.has(W)?!g.has(ae)||me.has(ae)?Se(ee):le.has(W)?F--:ce.get(ae)>ce.get(W)?(le.add(ae),Se(ee)):(me.add(W),F--):(_(L,g),F--)}for(;F--;){const ee=t[F];oe.has(ee.key)||_(ee,g)}for(;V;)Se(H[V-1]);return Qt(ge),H}function $e(t,e,i){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=i,i(t.$$.ctx[r]))}function ze(t){t&&t.c()}function We(t,e,i,r){const{fragment:a,after_update:l}=t.$$;a&&a.m(e,i),r||Ft(()=>{const g=t.$$.on_mount.map(Mi).filter(xn);t.$$.on_destroy?t.$$.on_destroy.push(...g):Qt(g),t.$$.on_mount=[]}),l.forEach(Ft)}function je(t,e){const i=t.$$;i.fragment!==null&&(Qh(i.after_update),Qt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function rg(t,e){t.$$.dirty[0]===-1&&(_s.push(t),Ru(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function it(t,e,i,r,a,l,g,m=[-1]){const _=Zs;Js(t);const T=t.$$={fragment:null,ctx:[],props:l,update:ue,not_equal:a,bound:Xs(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(_?_.$$.context:[])),callbacks:Xs(),dirty:m,skip_bound:!1,root:e.target||_.$$.root};g&&g(T.root);let k=!1;if(T.ctx=i?i(t,e.props||{},(w,F,...V)=>{const U=V.length?V[0]:F;return T.ctx&&a(T.ctx[w],T.ctx[w]=U)&&(!T.skip_bound&&T.bound[w]&&T.bound[w](U),k&&rg(t,w)),F}):[],T.update(),k=!0,Qt(T.before_update),T.fragment=r?r(T.ctx):!1,e.target){if(e.hydrate){const w=Wh(e.target);T.fragment&&T.fragment.l(w),w.forEach($)}else T.fragment&&T.fragment.c();e.intro&&X(t.$$.fragment),We(t,e.target,e.anchor,e.customElement),P()}Js(_)}class rt{$destroy(){je(this,1),this.$destroy=ue}$on(e,i){if(!xn(i))return ue;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(i),()=>{const a=r.indexOf(i);a!==-1&&r.splice(a,1)}}$set(e){this.$$set&&!Bh(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ng="@beyondwords/player",el="0.0.0-beta32",ir=(t,e)=>{t=[t].flat().join(`
|
|
6
6
|
`);let i=`${ng}:
|
|
7
7
|
|
|
8
8
|
${t}`;if(e){i+=`
|