@everymatrix/casino-tournaments-details 1.8.1 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function g(){}function $(t){return t()}function x(){return Object.create(null)}function y(t){t.forEach($)}function b(t){return"function"==typeof t}function e(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function h(t,e){t.appendChild(e)}function m(t,e,n){t.insertBefore(e,n||null)}function w(t){t.parentNode.removeChild(t)}function t(t){return document.createElement(t)}function i(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function n(t){return document.createTextNode(t)}function v(){return n(" ")}function k(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}let _;function E(t){_=t}const C=[],u=[],r=[],l=[],T=Promise.resolve();let F=!1;function D(t){r.push(t)}const s=new Set;let c=0;function j(){const t=_;do{for(;c<C.length;){const t=C[c];c++,E(t),e=n=void 0;var e,n=t.$$;null!==n.fragment&&(n.update(),y(n.before_update),e=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(D))}for(E(null),C.length=0,c=0;u.length;)u.pop()();for(let t=0;t<r.length;t+=1){const o=r[t];s.has(o)||(s.add(o),o())}}while(r.length=0,C.length);for(;l.length;)l.pop()();F=!1,s.clear(),E(t)}const A=new Set;function o(o,t,e,n,i,r,l,s=[-1]){var c=_;E(o);const a=o.$$={fragment:null,ctx:null,props:r,update:g,not_equal:i,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:t.target||c.$$.root};l&&l(a.root);let u=!1;if(a.ctx=e?e(o,t.props||{},(t,e,...n)=>{var n=n.length?n[0]:e;return a.ctx&&i(a.ctx[t],a.ctx[t]=n)&&(!a.skip_bound&&a.bound[t]&&a.bound[t](n),u&&(n=t,-1===(t=o).$$.dirty[0]&&(C.push(t),F||(F=!0,T.then(j)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],a.update(),u=!0,y(a.before_update),a.fragment=!!n&&n(a.ctx),t.target){if(t.hydrate){r=t.target;const g=Array.from(r.childNodes);a.fragment&&a.fragment.l(g),g.forEach(w)}else a.fragment&&a.fragment.c();t.intro&&(s=o.$$.fragment)&&s.i&&(A.delete(s),s.i(void 0));{var d=o;l=t.target;e=t.anchor;n=t.customElement;const{fragment:f,on_mount:p,on_destroy:h,after_update:m}=d.$$;f&&f.m(l,e),n||D(()=>{var t=p.map($).filter(b);h?h.push(...t):y(t),d.$$.on_mount=[]}),m.forEach(D)}j()}E(c)}let a;function d(i){let r,l,s,c,a,u,d;function o(t){return t[3]?L:M}let f=o(i),p=f(i);return{c(){r=t("div"),l=t("p"),s=n(i[0]),c=v(),a=t("div"),p.c(),k(l,"class","Title"),k(l,"part","Title"),k(a,"class","CollapseButtonDetails"),k(a,"part","CollapseButtonDetails"),k(r,"class","DetailsTitle"),k(r,"part","DetailsTitle")},m(t,e){var n,o;m(t,r,e),h(r,l),h(l,s),h(r,c),h(r,a),p.m(a,null),u||(n=a,o=i[8],n.addEventListener("click",o,void 0),d=()=>n.removeEventListener("click",o,void 0),u=!0)},p(t,e){var n;1&e&&(e=s,n=t[0],e.wholeText!==(n=""+n)&&(e.data=n)),f!==(f=o(t))&&(p.d(1),(p=f(t))&&(p.c(),p.m(a,null)))},d(t){t&&w(r),p.d(),u=!1,d()}}}function L(t){let n,o;return{c(){n=i("svg"),k(o=i("path"),"d","M6 9l6 6 6-6"),k(n,"xmlns","http://www.w3.org/2000/svg"),k(n,"width","24"),k(n,"height","24"),k(n,"viewBox","0 0 24 24"),k(n,"fill","none"),k(n,"stroke","#ffffff"),k(n,"stroke-width","2"),k(n,"stroke-linecap","round"),k(n,"stroke-linejoin","round")},m(t,e){m(t,n,e),h(n,o)},d(t){t&&w(n)}}}function M(t){let n,o;return{c(){n=i("svg"),k(o=i("path"),"d","M18 15l-6-6-6 6"),k(n,"xmlns","http://www.w3.org/2000/svg"),k(n,"width","24"),k(n,"height","24"),k(n,"viewBox","0 0 24 24"),k(n,"fill","none"),k(n,"stroke","#ffffff"),k(n,"stroke-width","2"),k(n,"stroke-linecap","round"),k(n,"stroke-linejoin","round")},m(t,e){m(t,n,e),h(n,o)},d(t){t&&w(n)}}}function f(n){let o,i,r,l;return{c(){k(o=t("div"),"class","DetailsContent sc"),k(o,"part","DetailsContent")},m(t,e){m(t,o,e),r||(t=i=n[5].call(null,o,n[1]),l=t&&b(t.destroy)?t.destroy:g,r=!0)},p(t,e){i&&b(i.update)&&2&e&&i.update.call(null,t[1])},d(t){t&&w(o),r=!1,l()}}}function p(n){let o,i,r=n[0]&&d(n),l=n[1]&&!n[3]&&f(n);return{c(){o=t("div"),r&&r.c(),i=v(),l&&l.c(),this.c=g,k(o,"class","DetailsCard"),k(o,"part","DetailsCard")},m(t,e){m(t,o,e),r&&r.m(o,null),h(o,i),l&&l.m(o,null),n[9](o)},p(t,[e]){t[0]?r?r.p(t,e):((r=d(t)).c(),r.m(o,i)):r&&(r.d(1),r=null),t[1]&&!t[3]?l?l.p(t,e):((l=f(t)).c(),l.m(o,null)):l&&(l.d(1),l=null)},i:g,o:g,d(t){t&&w(o),r&&r.d(),l&&l.d(),n[9](null)}}}function H(t,e,n){let o,{title:i=""}=e,{text:r=""}=e,{clientstyling:l=""}=e,{clientstylingurl:s=""}=e,c=!1;const a=()=>{n(3,c=!c)};return t.$$set=t=>{"title"in t&&n(0,i=t.title),"text"in t&&n(1,r=t.text),"clientstyling"in t&&n(6,l=t.clientstyling),"clientstylingurl"in t&&n(7,s=t.clientstylingurl)},t.$$.update=()=>{if(68&t.$$.dirty&&o&&l){let t=document.createElement("style");t.innerHTML=l,o.appendChild(t)}if(132&t.$$.dirty&&o&&s){let t=new URL(s),e=document.createElement("style");fetch(t.href).then(t=>t.text()).then(t=>{e.innerHTML=t,setTimeout(()=>{o.appendChild(e)},1),setTimeout(()=>{},500)})}},[i,r,o,c,a,(t,e)=>{let n=document.createElement("div");n.innerHTML=e,t.append(n)},l,s,()=>a(),function(t){u[t?"unshift":"push"](()=>{o=t,n(2,o)})}]}class S extends(a="function"==typeof HTMLElement?class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const t=this.$$["on_mount"];this.$$.on_disconnect=t.map($).filter(b);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){y(this.$$.on_disconnect)}$destroy(){{var t;const e=this.$$;null!==e.fragment&&(y(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}this.$destroy=g}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}:a){constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-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:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}</style>",o(this,{target:this.shadowRoot,props:function(t){const e={};for(const n of t)e[n.name]=n.value;return e}(this.attributes),customElement:!0},H,p,e,{title:0,text:1,clientstyling:6,clientstylingurl:7},null),t&&(t.target&&m(t.target,this,t.anchor),t.props&&(this.$set(t.props),j()))}static get observedAttributes(){return["title","text","clientstyling","clientstylingurl"]}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),j()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),j()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),j()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),j()}}return customElements.get("casino-tournaments-details")||customElements.define("casino-tournaments-details",S),S});
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function g(){}function $(t){return t()}function x(){return Object.create(null)}function y(t){t.forEach($)}function b(t){return"function"==typeof t}function e(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function h(t,e){t.appendChild(e)}function m(t,e,n){t.insertBefore(e,n||null)}function w(t){t.parentNode.removeChild(t)}function t(t){return document.createElement(t)}function i(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function n(t){return document.createTextNode(t)}function v(){return n(" ")}function k(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}let _;function E(t){_=t}const C=[],u=[],r=[],l=[],T=Promise.resolve();let F=!1;function D(t){r.push(t)}const s=new Set;let c=0;function j(){const t=_;do{for(;c<C.length;){const t=C[c];c++,E(t),e=n=void 0;var e,n=t.$$;null!==n.fragment&&(n.update(),y(n.before_update),e=n.dirty,n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(D))}for(E(null),C.length=0,c=0;u.length;)u.pop()();for(let t=0;t<r.length;t+=1){const o=r[t];s.has(o)||(s.add(o),o())}}while(r.length=0,C.length);for(;l.length;)l.pop()();F=!1,s.clear(),E(t)}const A=new Set;function o(o,t,e,n,i,r,l,s=[-1]){var c=_;E(o);const a=o.$$={fragment:null,ctx:null,props:r,update:g,not_equal:i,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:t.target||c.$$.root};l&&l(a.root);let u=!1;if(a.ctx=e?e(o,t.props||{},(t,e,...n)=>{var n=n.length?n[0]:e;return a.ctx&&i(a.ctx[t],a.ctx[t]=n)&&(!a.skip_bound&&a.bound[t]&&a.bound[t](n),u&&(n=t,-1===(t=o).$$.dirty[0]&&(C.push(t),F||(F=!0,T.then(j)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],a.update(),u=!0,y(a.before_update),a.fragment=!!n&&n(a.ctx),t.target){if(t.hydrate){r=t.target;const g=Array.from(r.childNodes);a.fragment&&a.fragment.l(g),g.forEach(w)}else a.fragment&&a.fragment.c();t.intro&&(s=o.$$.fragment)&&s.i&&(A.delete(s),s.i(void 0));{var d=o;l=t.target;e=t.anchor;n=t.customElement;const{fragment:f,on_mount:p,on_destroy:h,after_update:m}=d.$$;f&&f.m(l,e),n||D(()=>{var t=p.map($).filter(b);h?h.push(...t):y(t),d.$$.on_mount=[]}),m.forEach(D)}j()}E(c)}let a;function d(i){let r,l,s,c,a,u,d;function o(t){return t[3]?L:M}let f=o(i),p=f(i);return{c(){r=t("div"),l=t("p"),s=n(i[0]),c=v(),a=t("div"),p.c(),k(l,"class","Title"),k(l,"part","Title"),k(a,"class","CollapseButtonDetails"),k(a,"part","CollapseButtonDetails"),k(r,"class","DetailsTitle"),k(r,"part","DetailsTitle")},m(t,e){var n,o;m(t,r,e),h(r,l),h(l,s),h(r,c),h(r,a),p.m(a,null),u||(n=a,o=i[8],n.addEventListener("click",o,void 0),d=()=>n.removeEventListener("click",o,void 0),u=!0)},p(t,e){var n;1&e&&(e=s,n=t[0],e.wholeText!==(n=""+n)&&(e.data=n)),f!==(f=o(t))&&(p.d(1),(p=f(t))&&(p.c(),p.m(a,null)))},d(t){t&&w(r),p.d(),u=!1,d()}}}function L(t){let n,o;return{c(){n=i("svg"),k(o=i("path"),"d","M6 9l6 6 6-6"),k(n,"xmlns","http://www.w3.org/2000/svg"),k(n,"width","24"),k(n,"height","24"),k(n,"viewBox","0 0 24 24"),k(n,"fill","none"),k(n,"stroke","#ffffff"),k(n,"stroke-width","2"),k(n,"stroke-linecap","round"),k(n,"stroke-linejoin","round")},m(t,e){m(t,n,e),h(n,o)},d(t){t&&w(n)}}}function M(t){let n,o;return{c(){n=i("svg"),k(o=i("path"),"d","M18 15l-6-6-6 6"),k(n,"xmlns","http://www.w3.org/2000/svg"),k(n,"width","24"),k(n,"height","24"),k(n,"viewBox","0 0 24 24"),k(n,"fill","none"),k(n,"stroke","#ffffff"),k(n,"stroke-width","2"),k(n,"stroke-linecap","round"),k(n,"stroke-linejoin","round")},m(t,e){m(t,n,e),h(n,o)},d(t){t&&w(n)}}}function f(n){let o,i,r,l;return{c(){k(o=t("div"),"class","DetailsContent sc"),k(o,"part","DetailsContent")},m(t,e){m(t,o,e),r||(t=i=n[5].call(null,o,n[1]),l=t&&b(t.destroy)?t.destroy:g,r=!0)},p(t,e){i&&b(i.update)&&2&e&&i.update.call(null,t[1])},d(t){t&&w(o),r=!1,l()}}}function p(n){let o,i,r=n[0]&&d(n),l=n[1]&&!n[3]&&f(n);return{c(){o=t("div"),r&&r.c(),i=v(),l&&l.c(),this.c=g,k(o,"class","DetailsCard"),k(o,"part","DetailsCard")},m(t,e){m(t,o,e),r&&r.m(o,null),h(o,i),l&&l.m(o,null),n[9](o)},p(t,[e]){t[0]?r?r.p(t,e):((r=d(t)).c(),r.m(o,i)):r&&(r.d(1),r=null),t[1]&&!t[3]?l?l.p(t,e):((l=f(t)).c(),l.m(o,null)):l&&(l.d(1),l=null)},i:g,o:g,d(t){t&&w(o),r&&r.d(),l&&l.d(),n[9](null)}}}function H(t,e,n){let o,{title:i=""}=e,{text:r=""}=e,{clientstyling:l=""}=e,{clientstylingurl:s=""}=e,c=!1;const a=()=>{n(3,c=!c)};return t.$$set=t=>{"title"in t&&n(0,i=t.title),"text"in t&&n(1,r=t.text),"clientstyling"in t&&n(6,l=t.clientstyling),"clientstylingurl"in t&&n(7,s=t.clientstylingurl)},t.$$.update=()=>{if(68&t.$$.dirty&&o&&l){let t=document.createElement("style");t.innerHTML=l,o.appendChild(t)}if(132&t.$$.dirty&&o&&s){let t=new URL(s),e=document.createElement("style");fetch(t.href).then(t=>t.text()).then(t=>{e.innerHTML=t,setTimeout(()=>{o.appendChild(e)},1),setTimeout(()=>{},500)})}},[i,r,o,c,a,(t,e)=>{let n=document.createElement("div");n.innerHTML=e,t.append(n)},l,s,()=>a(),function(t){u[t?"unshift":"push"](()=>{o=t,n(2,o)})}]}class S extends(a="function"==typeof HTMLElement?class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const t=this.$$["on_mount"];this.$$.on_disconnect=t.map($).filter(b);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){y(this.$$.on_disconnect)}$destroy(){{var t;const e=this.$$;null!==e.fragment&&(y(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}this.$destroy=g}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}:a){constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-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:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}</style>',o(this,{target:this.shadowRoot,props:function(t){const e={};for(const n of t)e[n.name]=n.value;return e}(this.attributes),customElement:!0},H,p,e,{title:0,text:1,clientstyling:6,clientstylingurl:7},null),t&&(t.target&&m(t.target,this,t.anchor),t.props&&(this.$set(t.props),j()))}static get observedAttributes(){return["title","text","clientstyling","clientstylingurl"]}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),j()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),j()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),j()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),j()}}return customElements.get("casino-tournaments-details")||customElements.define("casino-tournaments-details",S),S});
2
2
  //# sourceMappingURL=casino-tournaments-details.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-details",
3
- "version": "1.8.1",
3
+ "version": "1.8.4",
4
4
  "main": "dist/casino-tournaments-details.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "e558ed5234cd858fa71696743229caa273752a2e"
39
+ "gitHead": "58b0374c9527cbfb3a070ac6fb1744bc670aba27"
40
40
  }