@everymatrix/casino-tournaments-details 1.76.3 → 1.76.4

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.
@@ -221,10 +221,10 @@ function kt(e, t, n, i, r, s, o = null, f = [-1]) {
221
221
  };
222
222
  o && o(c.root);
223
223
  let h = !1;
224
- if (c.ctx = n(e, t.props || {}, (d, m, ...L) => {
224
+ if (c.ctx = n ? n(e, t.props || {}, (d, m, ...L) => {
225
225
  const a = L.length ? L[0] : m;
226
226
  return c.ctx && r(c.ctx[d], c.ctx[d] = a) && (!c.skip_bound && c.bound[d] && c.bound[d](a), h && xt(e, d)), m;
227
- }), c.update(), h = !0, S(c.before_update), c.fragment = i(c.ctx), t.target) {
227
+ }) : [], c.update(), h = !0, S(c.before_update), c.fragment = i ? i(c.ctx) : !1, t.target) {
228
228
  if (t.hydrate) {
229
229
  const d = ut(t.target);
230
230
  c.fragment && c.fragment.l(d), d.forEach(b);
@@ -192,10 +192,10 @@ function at(e, t, n, s, i, r, l = null, u = [-1]) {
192
192
  };
193
193
  l && l(c.root);
194
194
  let h = !1;
195
- if (c.ctx = n(e, t.props || {}, (d, $, ...v) => {
195
+ if (c.ctx = n ? n(e, t.props || {}, (d, $, ...v) => {
196
196
  const a = v.length ? v[0] : $;
197
197
  return c.ctx && i(c.ctx[d], c.ctx[d] = a) && (!c.skip_bound && c.bound[d] && c.bound[d](a), h && dt(e, d)), $;
198
- }), c.update(), h = !0, j(c.before_update), c.fragment = s(c.ctx), t.target) {
198
+ }) : [], c.update(), h = !0, j(c.before_update), c.fragment = s ? s(c.ctx) : !1, t.target) {
199
199
  if (t.hydrate) {
200
200
  const d = Y(t.target);
201
201
  c.fragment && c.fragment.l(d), d.forEach(p);
@@ -0,0 +1 @@
1
+ "use strict";var Y=Object.defineProperty,Z=Object.defineProperties;var tt=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var et=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var O=(e,t,n)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||(t={}))et.call(t,n)&&O(e,n,t[n]);if(P)for(var n of P(t))nt.call(t,n)&&O(e,n,t[n]);return e},R=(e,t)=>Z(e,tt(t));var $=(e,t,n)=>(O(e,typeof t!="symbol"?t+"":t,n),n);var z=(e,t,n)=>new Promise((i,r)=>{var s=l=>{try{f(n.next(l))}catch(c){r(c)}},o=l=>{try{f(n.throw(l))}catch(c){r(c)}},f=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,o);f((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(){}function q(e){return e()}function U(){return Object.create(null)}function j(e){e.forEach(q)}function M(e){return typeof e=="function"}function it(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function st(e){return Object.keys(e).length===0}function rt(e){return e&&M(e.destroy)?e.destroy:k}function _(e,t){e.appendChild(t)}function ot(e,t,n){const i=lt(e);if(!i.getElementById(t)){const r=p("style");r.id=t,r.textContent=n,ct(i,r)}}function lt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ct(e,t){return _(e.head||e,t),t.sheet}function v(e,t,n){e.insertBefore(t,n||null)}function b(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e){return document.createElement(e)}function T(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function G(e){return document.createTextNode(e)}function K(){return G(" ")}function ut(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function u(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function ft(e){return Array.from(e.childNodes)}function dt(e,t){t=""+t,e.data!==t&&(e.data=t)}function at(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let C;function E(e){C=e}function ht(){if(!C)throw new Error("Function called outside component initialization");return C}function $t(e){ht().$$.on_mount.push(e)}const w=[],F=[];let x=[];const I=[],mt=Promise.resolve();let A=!1;function _t(){A||(A=!0,mt.then(g))}function N(e){x.push(e)}const D=new Set;let y=0;function g(){if(y!==0)return;const e=C;do{try{for(;y<w.length;){const t=w[y];y++,E(t),gt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(E(null),w.length=0,y=0;F.length;)F.pop()();for(let t=0;t<x.length;t+=1){const n=x[t];D.has(n)||(D.add(n),n())}x.length=0}while(w.length);for(;I.length;)I.pop()();A=!1,D.clear(),E(e)}function gt(e){if(e.fragment!==null){e.update(),j(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}function pt(e){const t=[],n=[];x.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),x=t}const bt=new Set;function yt(e,t){e&&e.i&&(bt.delete(e),e.i(t))}function wt(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),N(()=>{const s=e.$$.on_mount.map(q).filter(M);e.$$.on_destroy?e.$$.on_destroy.push(...s):j(s),e.$$.on_mount=[]}),r.forEach(N)}function xt(e,t){const n=e.$$;n.fragment!==null&&(pt(n.after_update),j(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function kt(e,t){e.$$.dirty[0]===-1&&(w.push(e),_t(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function vt(e,t,n,i,r,s,o=null,f=[-1]){const l=C;E(e);const c=e.$$={fragment:null,ctx:[],props:s,update:k,not_equal:r,bound:U(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:U(),dirty:f,skip_bound:!1,root:t.target||l.$$.root};o&&o(c.root);let h=!1;if(c.ctx=n?n(e,t.props||{},(d,m,...L)=>{const a=L.length?L[0]:m;return c.ctx&&r(c.ctx[d],c.ctx[d]=a)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](a),h&&kt(e,d)),m}):[],c.update(),h=!0,j(c.before_update),c.fragment=i?i(c.ctx):!1,t.target){if(t.hydrate){const d=ft(t.target);c.fragment&&c.fragment.l(d),d.forEach(b)}else c.fragment&&c.fragment.c();t.intro&&yt(e.$$.fragment),wt(e,t.target,t.anchor),g()}E(l)}let Q;typeof HTMLElement=="function"&&(Q=class extends HTMLElement{constructor(t,n,i){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return z(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=p("slot"),s!=="default"&&u(o,"name",s)},m:function(c,h){v(c,o,h)},d:function(c){c&&b(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=at(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=S(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:R(H({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=S(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const o of this.$$l[s]){const f=this.$$c.$on(s,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=S(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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 S(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Et(e,t,n,i,r,s){let o=class extends Q{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Object.keys(t).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(l){var c;l=S(f,l,t),this.$$d[f]=l,(c=this.$$c)==null||c.$set({[f]:l})}})}),i.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var l;return(l=this.$$c)==null?void 0:l[f]}})}),e.element=o,o}class Ct{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){xt(this,1),this.$destroy=k}$on(t,n){if(!M(n))return k;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!st(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Lt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Lt);function St(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(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function jt(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}function Mt(e){ot(e,"svelte-hqe3z8","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function J(e){let t,n,i,r,s,o,f;function l(d,m){return d[3]?Ot:Dt}let c=l(e),h=c(e);return{c(){t=p("div"),n=p("p"),i=G(e[0]),r=K(),s=p("div"),h.c(),u(n,"class","Title"),u(n,"part","Title"),u(s,"class","CollapseButtonDetails"),u(s,"part","CollapseButtonDetails"),u(t,"class","DetailsTitle"),u(t,"part","DetailsTitle")},m(d,m){v(d,t,m),_(t,n),_(n,i),_(t,r),_(t,s),h.m(s,null),o||(f=ut(s,"click",e[9]),o=!0)},p(d,m){m&1&&dt(i,d[0]),c!==(c=l(d))&&(h.d(1),h=c(d),h&&(h.c(),h.m(s,null)))},d(d){d&&b(t),h.d(),o=!1,f()}}}function Ot(e){let t,n;return{c(){t=T("svg"),n=T("path"),u(n,"d","M6 9l6 6 6-6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),_(t,n)},d(i){i&&b(t)}}}function Dt(e){let t,n;return{c(){t=T("svg"),n=T("path"),u(n,"d","M18 15l-6-6-6 6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),_(t,n)},d(i){i&&b(t)}}}function V(e){let t,n,i,r;return{c(){t=p("div"),t.innerHTML="",u(t,"class","DetailsContent sc"),u(t,"part","DetailsContent")},m(s,o){v(s,t,o),i||(r=rt(n=e[5].call(null,t,e[1])),i=!0)},p(s,o){n&&M(n.update)&&o&2&&n.update.call(null,s[1])},d(s){s&&b(t),i=!1,r()}}}function Ft(e){let t,n,i=e[0]&&J(e),r=e[1]&&!e[3]&&V(e);return{c(){t=p("div"),i&&i.c(),n=K(),r&&r.c(),u(t,"class","DetailsCard"),u(t,"part","DetailsCard")},m(s,o){v(s,t,o),i&&i.m(t,null),_(t,n),r&&r.m(t,null),e[10](t)},p(s,[o]){s[0]?i?i.p(s,o):(i=J(s),i.c(),i.m(t,n)):i&&(i.d(1),i=null),s[1]&&!s[3]?r?r.p(s,o):(r=V(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:k,o:k,d(s){s&&b(t),i&&i.d(),r&&r.d(),e[10](null)}}}function At(e,t,n){let{title:i=""}=t,{text:r=""}=t,{mbsource:s}=t,{clientstyling:o=""}=t,{clientstylingurl:f=""}=t,l,c=!1;const h=()=>{n(3,c=!c)},d=(a,X)=>{let B=document.createElement("div");B.innerHTML=X,a.append(B)};$t(()=>()=>{});const m=()=>h();function L(a){F[a?"unshift":"push"](()=>{l=a,n(2,l)})}return e.$$set=a=>{"title"in a&&n(0,i=a.title),"text"in a&&n(1,r=a.text),"mbsource"in a&&n(6,s=a.mbsource),"clientstyling"in a&&n(7,o=a.clientstyling),"clientstylingurl"in a&&n(8,f=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&132&&o&&l&&St(l,o),e.$$.dirty&260&&f&&l&&Tt(l,f),e.$$.dirty&68&&s&&l&&jt(l,`${s}.Style`)},[i,r,l,c,h,d,s,o,f,m,L]}class W extends Ct{constructor(t){super(),vt(this,t,At,Ft,it,{title:0,text:1,mbsource:6,clientstyling:7,clientstylingurl:8},Mt)}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),g()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),g()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),g()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),g()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),g()}}Et(W,{title:{},text:{},mbsource:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=W;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsDetails-BorICNbK.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsDetails-dxx8_JEj.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsDetails-DxR1bptT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsDetails-BRWATAVK.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-details") && customElements.define("casino-tournaments-details", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsDetails-BlOMSZJ2.js";
1
+ import { C as s } from "../components/CasinoTournamentsDetails-DFKsL6Ks.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-details",
3
- "version": "1.76.3",
3
+ "version": "1.76.4",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-details.cjs",
6
6
  "module": "esnext/casino-tournaments-details.js",
@@ -1 +0,0 @@
1
- "use strict";var Y=Object.defineProperty,Z=Object.defineProperties;var tt=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var et=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable;var O=(e,t,n)=>t in e?Y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||(t={}))et.call(t,n)&&O(e,n,t[n]);if(P)for(var n of P(t))nt.call(t,n)&&O(e,n,t[n]);return e},R=(e,t)=>Z(e,tt(t));var $=(e,t,n)=>(O(e,typeof t!="symbol"?t+"":t,n),n);var z=(e,t,n)=>new Promise((i,r)=>{var s=l=>{try{f(n.next(l))}catch(c){r(c)}},o=l=>{try{f(n.throw(l))}catch(c){r(c)}},f=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,o);f((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(){}function q(e){return e()}function U(){return Object.create(null)}function j(e){e.forEach(q)}function M(e){return typeof e=="function"}function it(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function st(e){return Object.keys(e).length===0}function rt(e){return e&&M(e.destroy)?e.destroy:k}function _(e,t){e.appendChild(t)}function ot(e,t,n){const i=lt(e);if(!i.getElementById(t)){const r=p("style");r.id=t,r.textContent=n,ct(i,r)}}function lt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ct(e,t){return _(e.head||e,t),t.sheet}function v(e,t,n){e.insertBefore(t,n||null)}function b(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e){return document.createElement(e)}function T(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function G(e){return document.createTextNode(e)}function K(){return G(" ")}function ut(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function u(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function ft(e){return Array.from(e.childNodes)}function dt(e,t){t=""+t,e.data!==t&&(e.data=t)}function at(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let C;function E(e){C=e}function ht(){if(!C)throw new Error("Function called outside component initialization");return C}function $t(e){ht().$$.on_mount.push(e)}const w=[],F=[];let x=[];const I=[],mt=Promise.resolve();let A=!1;function _t(){A||(A=!0,mt.then(g))}function N(e){x.push(e)}const D=new Set;let y=0;function g(){if(y!==0)return;const e=C;do{try{for(;y<w.length;){const t=w[y];y++,E(t),gt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(E(null),w.length=0,y=0;F.length;)F.pop()();for(let t=0;t<x.length;t+=1){const n=x[t];D.has(n)||(D.add(n),n())}x.length=0}while(w.length);for(;I.length;)I.pop()();A=!1,D.clear(),E(e)}function gt(e){if(e.fragment!==null){e.update(),j(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}function pt(e){const t=[],n=[];x.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),x=t}const bt=new Set;function yt(e,t){e&&e.i&&(bt.delete(e),e.i(t))}function wt(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),N(()=>{const s=e.$$.on_mount.map(q).filter(M);e.$$.on_destroy?e.$$.on_destroy.push(...s):j(s),e.$$.on_mount=[]}),r.forEach(N)}function xt(e,t){const n=e.$$;n.fragment!==null&&(pt(n.after_update),j(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function kt(e,t){e.$$.dirty[0]===-1&&(w.push(e),_t(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function vt(e,t,n,i,r,s,o=null,f=[-1]){const l=C;E(e);const c=e.$$={fragment:null,ctx:[],props:s,update:k,not_equal:r,bound:U(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:U(),dirty:f,skip_bound:!1,root:t.target||l.$$.root};o&&o(c.root);let h=!1;if(c.ctx=n(e,t.props||{},(d,m,...L)=>{const a=L.length?L[0]:m;return c.ctx&&r(c.ctx[d],c.ctx[d]=a)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](a),h&&kt(e,d)),m}),c.update(),h=!0,j(c.before_update),c.fragment=i(c.ctx),t.target){if(t.hydrate){const d=ft(t.target);c.fragment&&c.fragment.l(d),d.forEach(b)}else c.fragment&&c.fragment.c();t.intro&&yt(e.$$.fragment),wt(e,t.target,t.anchor),g()}E(l)}let Q;typeof HTMLElement=="function"&&(Q=class extends HTMLElement{constructor(t,n,i){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return z(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let o;return{c:function(){o=p("slot"),s!=="default"&&u(o,"name",s)},m:function(c,h){v(c,o,h)},d:function(c){c&&b(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=at(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const o=this.$$g_p(s.name);o in this.$$d||(this.$$d[o]=S(o,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:R(H({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const o=S(s,this.$$d[s],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const o of this.$$l[s]){const f=this.$$c.$on(s,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=S(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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 S(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Et(e,t,n,i,r,s){let o=class extends Q{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Object.keys(t).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(l){var c;l=S(f,l,t),this.$$d[f]=l,(c=this.$$c)==null||c.$set({[f]:l})}})}),i.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var l;return(l=this.$$c)==null?void 0:l[f]}})}),e.element=o,o}class Ct{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){xt(this,1),this.$destroy=k}$on(t,n){if(!M(n))return k;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!st(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Lt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Lt);function St(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(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function jt(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}function Mt(e){ot(e,"svelte-hqe3z8","*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}")}function J(e){let t,n,i,r,s,o,f;function l(d,m){return d[3]?Ot:Dt}let c=l(e),h=c(e);return{c(){t=p("div"),n=p("p"),i=G(e[0]),r=K(),s=p("div"),h.c(),u(n,"class","Title"),u(n,"part","Title"),u(s,"class","CollapseButtonDetails"),u(s,"part","CollapseButtonDetails"),u(t,"class","DetailsTitle"),u(t,"part","DetailsTitle")},m(d,m){v(d,t,m),_(t,n),_(n,i),_(t,r),_(t,s),h.m(s,null),o||(f=ut(s,"click",e[9]),o=!0)},p(d,m){m&1&&dt(i,d[0]),c!==(c=l(d))&&(h.d(1),h=c(d),h&&(h.c(),h.m(s,null)))},d(d){d&&b(t),h.d(),o=!1,f()}}}function Ot(e){let t,n;return{c(){t=T("svg"),n=T("path"),u(n,"d","M6 9l6 6 6-6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),_(t,n)},d(i){i&&b(t)}}}function Dt(e){let t,n;return{c(){t=T("svg"),n=T("path"),u(n,"d","M18 15l-6-6-6 6"),u(t,"xmlns","http://www.w3.org/2000/svg"),u(t,"width","24"),u(t,"height","24"),u(t,"viewBox","0 0 24 24"),u(t,"fill","none"),u(t,"stroke","#ffffff"),u(t,"stroke-width","2"),u(t,"stroke-linecap","round"),u(t,"stroke-linejoin","round")},m(i,r){v(i,t,r),_(t,n)},d(i){i&&b(t)}}}function V(e){let t,n,i,r;return{c(){t=p("div"),t.innerHTML="",u(t,"class","DetailsContent sc"),u(t,"part","DetailsContent")},m(s,o){v(s,t,o),i||(r=rt(n=e[5].call(null,t,e[1])),i=!0)},p(s,o){n&&M(n.update)&&o&2&&n.update.call(null,s[1])},d(s){s&&b(t),i=!1,r()}}}function Ft(e){let t,n,i=e[0]&&J(e),r=e[1]&&!e[3]&&V(e);return{c(){t=p("div"),i&&i.c(),n=K(),r&&r.c(),u(t,"class","DetailsCard"),u(t,"part","DetailsCard")},m(s,o){v(s,t,o),i&&i.m(t,null),_(t,n),r&&r.m(t,null),e[10](t)},p(s,[o]){s[0]?i?i.p(s,o):(i=J(s),i.c(),i.m(t,n)):i&&(i.d(1),i=null),s[1]&&!s[3]?r?r.p(s,o):(r=V(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:k,o:k,d(s){s&&b(t),i&&i.d(),r&&r.d(),e[10](null)}}}function At(e,t,n){let{title:i=""}=t,{text:r=""}=t,{mbsource:s}=t,{clientstyling:o=""}=t,{clientstylingurl:f=""}=t,l,c=!1;const h=()=>{n(3,c=!c)},d=(a,X)=>{let B=document.createElement("div");B.innerHTML=X,a.append(B)};$t(()=>()=>{});const m=()=>h();function L(a){F[a?"unshift":"push"](()=>{l=a,n(2,l)})}return e.$$set=a=>{"title"in a&&n(0,i=a.title),"text"in a&&n(1,r=a.text),"mbsource"in a&&n(6,s=a.mbsource),"clientstyling"in a&&n(7,o=a.clientstyling),"clientstylingurl"in a&&n(8,f=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&132&&o&&l&&St(l,o),e.$$.dirty&260&&f&&l&&Tt(l,f),e.$$.dirty&68&&s&&l&&jt(l,`${s}.Style`)},[i,r,l,c,h,d,s,o,f,m,L]}class W extends Ct{constructor(t){super(),vt(this,t,At,Ft,it,{title:0,text:1,mbsource:6,clientstyling:7,clientstylingurl:8},Mt)}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),g()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),g()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),g()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),g()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),g()}}Et(W,{title:{},text:{},mbsource:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=W;