@everymatrix/player-consents 1.76.12 → 1.76.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.
@@ -31,7 +31,7 @@ function _t(t, e, n) {
31
31
  t.$$.on_destroy.push(D(e, n));
32
32
  }
33
33
  function gt(t) {
34
- return t;
34
+ return t ?? "";
35
35
  }
36
36
  function G(t, e) {
37
37
  t.appendChild(e);
@@ -60,7 +60,7 @@ function J(t, e) {
60
60
  e
61
61
  ), e.sheet;
62
62
  }
63
- function k(t, e, n) {
63
+ function v(t, e, n) {
64
64
  t.insertBefore(e, n || null);
65
65
  }
66
66
  function y(t) {
@@ -157,7 +157,7 @@ class Lt {
157
157
  * @returns {void} */
158
158
  i(e) {
159
159
  for (let n = 0; n < this.n.length; n += 1)
160
- k(this.t, this.n[n], e);
160
+ v(this.t, this.n[n], e);
161
161
  }
162
162
  /**
163
163
  * @param {string} html
@@ -200,7 +200,7 @@ let L = !1;
200
200
  function Y() {
201
201
  L || (L = !0, X.then(_));
202
202
  }
203
- function v(t) {
203
+ function k(t) {
204
204
  $.push(t);
205
205
  }
206
206
  const x = /* @__PURE__ */ new Set();
@@ -234,7 +234,7 @@ function Z(t) {
234
234
  if (t.fragment !== null) {
235
235
  t.update(), p(t.before_update);
236
236
  const e = t.dirty;
237
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
237
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
238
238
  }
239
239
  }
240
240
  function tt(t) {
@@ -245,15 +245,15 @@ const et = /* @__PURE__ */ new Set();
245
245
  function nt(t, e) {
246
246
  t && t.i && (et.delete(t), t.i(e));
247
247
  }
248
- function vt(t) {
248
+ function kt(t) {
249
249
  return t?.length !== void 0 ? t : Array.from(t);
250
250
  }
251
251
  function st(t, e, n) {
252
252
  const { fragment: s, after_update: i } = t.$$;
253
- s && s.m(e, n), v(() => {
253
+ s && s.m(e, n), k(() => {
254
254
  const r = t.$$.on_mount.map(M).filter(O);
255
255
  t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
256
- }), i.forEach(v);
256
+ }), i.forEach(k);
257
257
  }
258
258
  function it(t, e) {
259
259
  const n = t.$$;
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (H = class extends HTMLElement {
351
351
  * @param {HTMLElement} [anchor]
352
352
  */
353
353
  m: function(c, u) {
354
- k(c, r, u);
354
+ v(c, r, u);
355
355
  },
356
356
  d: function(c) {
357
357
  c && y(r);
@@ -556,7 +556,7 @@ function $t(t) {
556
556
  e = w("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
557
557
  },
558
558
  m(n, s) {
559
- k(n, e, s), t[4](e);
559
+ v(n, e, s), t[4](e);
560
560
  },
561
561
  p: d,
562
562
  i: d,
@@ -626,26 +626,26 @@ class R extends lt {
626
626
  }
627
627
  }
628
628
  ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
629
- const kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
629
+ const vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
630
630
  __proto__: null,
631
631
  default: R
632
632
  }, Symbol.toStringTag, { value: "Module" }));
633
633
  export {
634
- gt as A,
635
- ft as B,
636
- dt as C,
637
- at as D,
638
- kt as G,
634
+ wt as A,
635
+ P as B,
636
+ Et as C,
637
+ xt as D,
638
+ vt as G,
639
639
  Lt as H,
640
640
  lt as S,
641
- D as a,
641
+ z as a,
642
642
  ct as b,
643
643
  ot as c,
644
- y as d,
645
- k as e,
646
- G as f,
647
- V as g,
648
- B as h,
644
+ V as d,
645
+ B as e,
646
+ v as f,
647
+ G as g,
648
+ y as h,
649
649
  O as i,
650
650
  _ as j,
651
651
  I as k,
@@ -653,15 +653,15 @@ export {
653
653
  _t as m,
654
654
  d as n,
655
655
  W as o,
656
- E as p,
657
- xt as q,
656
+ dt as p,
657
+ gt as q,
658
658
  p as r,
659
- z as s,
660
- Et as t,
661
- P as u,
662
- vt as v,
663
- bt as w,
664
- wt as x,
659
+ D as s,
660
+ E as t,
661
+ ft as u,
662
+ at as v,
663
+ kt as w,
664
+ bt as x,
665
665
  pt as y,
666
666
  yt as z
667
667
  };
@@ -0,0 +1 @@
1
+ "use strict";var st=Object.defineProperty,it=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var H=Object.getOwnPropertySymbols;var rt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var S=(e,t,n)=>t in e?st(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))rt.call(t,n)&&S(e,n,t[n]);if(H)for(var n of H(t))ot.call(t,n)&&S(e,n,t[n]);return e},R=(e,t)=>it(e,ct(t));var f=(e,t,n)=>(S(e,typeof t!="symbol"?t+"":t,n),n);var U=(e,t,n)=>new Promise((s,c)=>{var i=o=>{try{u(n.next(o))}catch(l){c(l)}},r=o=>{try{u(n.throw(o))}catch(l){c(l)}},u=o=>o.done?s(o.value):Promise.resolve(o.value).then(i,r);u((n=n.apply(e,t)).next())});function h(){}function I(e){return e()}function z(){return Object.create(null)}function b(e){e.forEach(I)}function N(e){return typeof e=="function"}function D(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function lt(e){return Object.keys(e).length===0}function F(e,...t){if(e==null){for(const s of t)s(void 0);return h}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ut(e,t,n){e.$$.on_destroy.push(F(t,n))}function ft(e){return e==null?"":e}function J(e,t){e.appendChild(t)}function V(e,t,n){const s=dt(e);if(!s.getElementById(t)){const c=w("style");c.id=t,c.textContent=n,ht(s,c)}}function dt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ht(e,t){return J(e.head||e,t),t.sheet}function v(e,t,n){e.insertBefore(t,n||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function at(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function w(e){return document.createElement(e)}function q(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function T(e){return document.createTextNode(e)}function $t(){return T(" ")}function mt(){return T("")}function _t(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function M(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function gt(e,t,n){const s=t.toLowerCase();s in e?e[s]=typeof e[s]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:M(e,t,n)}function pt(e){return Array.from(e.childNodes)}function bt(e,t){t=""+t,e.data!==t&&(e.data=t)}class yt{constructor(t=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,s=null){this.e||(this.is_svg?this.e=q(n.nodeName):this.e=w(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(s)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)v(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(y)}}function wt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let p;function g(e){p=e}function xt(){if(!p)throw new Error("Function called outside component initialization");return p}function K(e){xt().$$.on_mount.push(e)}const $=[],L=[];let m=[];const G=[],Et=Promise.resolve();let C=!1;function Lt(){C||(C=!0,Et.then(_))}function A(e){m.push(e)}const k=new Set;let a=0;function _(){if(a!==0)return;const e=p;do{try{for(;a<$.length;){const t=$[a];a++,g(t),vt(t.$$)}}catch(t){throw $.length=0,a=0,t}for(g(null),$.length=0,a=0;L.length;)L.pop()();for(let t=0;t<m.length;t+=1){const n=m[t];k.has(n)||(k.add(n),n())}m.length=0}while($.length);for(;G.length;)G.pop()();C=!1,k.clear(),g(e)}function vt(e){if(e.fragment!==null){e.update(),b(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}function St(e){const t=[],n=[];m.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),m=t}const kt=new Set;function Ct(e,t){e&&e.i&&(kt.delete(e),e.i(t))}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Nt(e,t,n){const{fragment:s,after_update:c}=e.$$;s&&s.m(t,n),A(()=>{const i=e.$$.on_mount.map(I).filter(N);e.$$.on_destroy?e.$$.on_destroy.push(...i):b(i),e.$$.on_mount=[]}),c.forEach(A)}function Tt(e,t){const n=e.$$;n.fragment!==null&&(St(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Mt(e,t){e.$$.dirty[0]===-1&&($.push(e),Lt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Q(e,t,n,s,c,i,r=null,u=[-1]){const o=p;g(e);const l=e.$$={fragment:null,ctx:[],props:i,update:h,not_equal:c,bound:z(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:z(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};r&&r(l.root);let x=!1;if(l.ctx=n?n(e,t.props||{},(d,j,...O)=>{const P=O.length?O[0]:j;return l.ctx&&c(l.ctx[d],l.ctx[d]=P)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](P),x&&Mt(e,d)),j}):[],l.update(),x=!0,b(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const d=pt(t.target);l.fragment&&l.fragment.l(d),d.forEach(y)}else l.fragment&&l.fragment.c();t.intro&&Ct(e.$$.fragment),Nt(e,t.target,t.anchor),_()}g(o)}let W;typeof HTMLElement=="function"&&(W=class extends HTMLElement{constructor(t,n,s){super();f(this,"$$ctor");f(this,"$$s");f(this,"$$c");f(this,"$$cn",!1);f(this,"$$d",{});f(this,"$$r",!1);f(this,"$$p_d",{});f(this,"$$l",{});f(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const c=this.$$c.$on(t,n);this.$$l_u.set(n,c)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const c=this.$$l_u.get(n);c&&(c(),this.$$l_u.delete(n))}}connectedCallback(){return U(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let r;return{c:function(){r=w("slot"),i!=="default"&&M(r,"name",i)},m:function(l,x){v(l,r,x)},d:function(l){l&&y(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=wt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=E(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:R(B({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const c=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const r=E(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1};this.$$c.$$.after_update.push(c),c();for(const i in this.$$l)for(const r of this.$$l[i]){const u=this.$$c.$on(i,r);this.$$l_u.set(r,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var c;this.$$r||(t=this.$$g_p(t),this.$$d[t]=E(t,s,this.$$p_d,"toProp"),(c=this.$$c)==null||c.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function E(e,t,n,s){var i;const c=(i=n[e])==null?void 0:i.type;if(t=c==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(c){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(c){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function X(e,t,n,s,c,i){let r=class extends W{constructor(){super(e,n,c),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(r.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var l;o=E(u,o,t),this.$$d[u]=o,(l=this.$$c)==null||l.$set({[u]:o})}})}),s.forEach(u=>{Object.defineProperty(r.prototype,u,{get(){var o;return(o=this.$$c)==null?void 0:o[u]}})}),e.element=r,r}class Y{constructor(){f(this,"$$");f(this,"$$set")}$destroy(){Tt(this,1),this.$destroy=h}$on(t,n){if(!N(n))return h;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const c=s.indexOf(n);c!==-1&&s.splice(c,1)}}$set(t){this.$$set&&!lt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const jt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(jt);function Z(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function tt(e,t){const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const c=document.createElement("style");c.innerHTML=s,e&&e.appendChild(c)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function et(e,t,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(t,c=>{s.innerHTML=c,e&&e.appendChild(s)})}}function Ot(e){V(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function Pt(e){let t;return{c(){t=w("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,s){v(n,t,s),e[4](t)},p:h,i:h,o:h,d(n){n&&y(t),e[4](null)}}}function Ht(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:c=""}=t,{mbsource:i}=t,r;K(()=>()=>{});function u(o){L[o?"unshift":"push"](()=>{r=o,n(0,r)})}return e.$$set=o=>{"clientstyling"in o&&n(1,s=o.clientstyling),"clientstylingurl"in o&&n(2,c=o.clientstylingurl),"mbsource"in o&&n(3,i=o.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&s&&r&&Z(r,s),e.$$.dirty&5&&c&&r&&tt(r,c),e.$$.dirty&9&&i&&r&&et(r,`${i}.Style`)},[r,s,c,i,u]}class nt extends Y{constructor(t){super(),Q(this,t,Ht,Pt,D,{clientstyling:1,clientstylingurl:2,mbsource:3},Ot)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),_()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),_()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),_()}}X(nt,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);const Bt=Object.freeze(Object.defineProperty({__proto__:null,default:nt},Symbol.toStringTag,{value:"Module"}));exports.GeneralAnimationLoading_ce=Bt;exports.HtmlTag=yt;exports.SvelteComponent=Y;exports.append=J;exports.append_styles=V;exports.attr=M;exports.binding_callbacks=L;exports.component_subscribe=ut;exports.create_custom_element=X;exports.destroy_each=at;exports.detach=y;exports.element=w;exports.empty=mt;exports.ensure_array_like=At;exports.flush=_;exports.init=Q;exports.insert=v;exports.is_function=N;exports.listen=_t;exports.noop=h;exports.null_to_empty=ft;exports.onMount=K;exports.run_all=b;exports.safe_not_equal=D;exports.setClientStyling=Z;exports.setClientStylingURL=tt;exports.setStreamStyling=et;exports.set_custom_element_data=gt;exports.set_data=bt;exports.space=$t;exports.subscribe=F;exports.svg_element=q;exports.text=T;
@@ -60,7 +60,7 @@ function Nt(e, t, n) {
60
60
  e.$$.on_destroy.push(Y(t, n));
61
61
  }
62
62
  function St(e) {
63
- return e;
63
+ return e == null ? "" : e;
64
64
  }
65
65
  function Z(e, t) {
66
66
  e.appendChild(t);
@@ -668,21 +668,21 @@ const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
668
668
  default: F
669
669
  }, Symbol.toStringTag, { value: "Module" }));
670
670
  export {
671
- St as A,
672
- wt as B,
673
- xt as C,
674
- Et as D,
671
+ Mt as A,
672
+ D as B,
673
+ Pt as C,
674
+ Ot as D,
675
675
  Rt as G,
676
676
  Bt as H,
677
677
  pt as S,
678
- Y as a,
678
+ W as a,
679
679
  gt as b,
680
680
  bt as c,
681
- x as d,
682
- S as e,
683
- Z as f,
684
- st as g,
685
- G as h,
681
+ st as d,
682
+ G as e,
683
+ S as f,
684
+ Z as g,
685
+ x as h,
686
686
  U as i,
687
687
  g as j,
688
688
  tt as k,
@@ -690,15 +690,15 @@ export {
690
690
  Nt as m,
691
691
  a as n,
692
692
  ot as o,
693
- k as p,
694
- Ot as q,
693
+ xt as p,
694
+ St as q,
695
695
  w as r,
696
- W as s,
697
- Pt as t,
698
- D as u,
699
- Ht as v,
700
- Ct as w,
701
- Mt as x,
696
+ Y as s,
697
+ k as t,
698
+ wt as u,
699
+ Et as v,
700
+ Ht as w,
701
+ Ct as x,
702
702
  Tt as y,
703
703
  jt as z
704
704
  };