@everymatrix/casino-footer-section 1.44.0 → 1.45.2
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/components/CasinoFooterSection-kJaKf3gs.cjs +1 -0
- package/components/CasinoFooterSection-vC5xq43D.js +1580 -0
- package/components/CasinoFooterThumbnail-CXCVfArd.js +4933 -0
- package/components/CasinoFooterThumbnail-wyUbjy27.cjs +5 -0
- package/es2015/casino-footer-section.cjs +1 -0
- package/es2015/casino-footer-section.js +16 -0
- package/package.json +17 -32
- package/CHANGELOG.md +0 -6
- package/README.md +0 -30
- package/dist/casino-footer-section.js +0 -2
- package/dist/casino-footer-section.js.map +0 -1
- package/index.html +0 -37
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoFooterSection.svelte +0 -206
- package/src/index.ts +0 -4
- package/stories/CasinoFooterSection.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Oe=Object.defineProperty,Ue=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var Me=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var V=(t,e,n)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ee=(t,e)=>{for(var n in e||(e={}))Me.call(e,n)&&V(t,n,e[n]);if(x)for(var n of x(e))Ne.call(e,n)&&V(t,n,e[n]);return t},te=(t,e)=>Ue(t,je(e));var $=(t,e,n)=>V(t,typeof e!="symbol"?e+"":e,n);var ne=(t,e,n)=>new Promise((l,i)=>{var r=a=>{try{s(n.next(a))}catch(f){i(f)}},o=a=>{try{s(n.throw(a))}catch(f){i(f)}},s=a=>a.done?l(a.value):Promise.resolve(a.value).then(r,o);s((n=n.apply(t,e)).next())});function L(){}function $e(t){return t()}function le(){return Object.create(null)}function U(t){t.forEach($e)}function q(t){return typeof t=="function"}function ke(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let N;function Re(t,e){return t===e?!0:(N||(N=document.createElement("a")),N.href=e,t===N.href)}function Ae(t){return Object.keys(t).length===0}function Pe(t,...e){if(t==null){for(const l of e)l(void 0);return L}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ye(t,e){t.appendChild(e)}function ve(t,e,n){const l=Ve(t);if(!l.getElementById(e)){const i=d("style");i.id=e,i.textContent=n,De(l,i)}}function Ve(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function De(t,e){return ye(t.head||t,e),e.sheet}function m(t,e,n){t.insertBefore(e,n||null)}function _(t){t.parentNode&&t.parentNode.removeChild(t)}function w(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function d(t){return document.createElement(t)}function z(t){return document.createTextNode(t)}function Be(){return z(" ")}function J(){return z("")}function He(t,e,n,l){return t.addEventListener(e,n,l),()=>t.removeEventListener(e,n,l)}function g(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function c(t,e,n){const l=e.toLowerCase();l in t?t[l]=typeof t[l]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:g(t,e,n)}function qe(t){return Array.from(t.childNodes)}function ze(t,e){e=""+e,t.data!==e&&(t.data=e)}function Je(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let O;function F(t){O=t}function Ge(){if(!O)throw new Error("Function called outside component initialization");return O}function Ke(t){Ge().$$.on_mount.push(t)}const C=[],A=[];let S=[];const ie=[],Qe=Promise.resolve();let B=!1;function We(){B||(B=!0,Qe.then(p))}function H(t){S.push(t)}const D=new Set;let E=0;function p(){if(E!==0)return;const t=O;do{try{for(;E<C.length;){const e=C[E];E++,F(e),Xe(e.$$)}}catch(e){throw C.length=0,E=0,e}for(F(null),C.length=0,E=0;A.length;)A.pop()();for(let e=0;e<S.length;e+=1){const n=S[e];D.has(n)||(D.add(n),n())}S.length=0}while(C.length);for(;ie.length;)ie.pop()();B=!1,D.clear(),F(t)}function Xe(t){if(t.fragment!==null){t.update(),U(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(H)}}function Ye(t){const e=[],n=[];S.forEach(l=>t.indexOf(l)===-1?e.push(l):n.push(l)),n.forEach(l=>l()),S=e}const Ze=new Set;function xe(t,e){t&&t.i&&(Ze.delete(t),t.i(e))}function b(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function et(t,e,n){const{fragment:l,after_update:i}=t.$$;l&&l.m(e,n),H(()=>{const r=t.$$.on_mount.map($e).filter(q);t.$$.on_destroy?t.$$.on_destroy.push(...r):U(r),t.$$.on_mount=[]}),i.forEach(H)}function tt(t,e){const n=t.$$;n.fragment!==null&&(Ye(n.after_update),U(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function nt(t,e){t.$$.dirty[0]===-1&&(C.push(t),We(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Le(t,e,n,l,i,r,o=null,s=[-1]){const a=O;F(t);const f=t.$$={fragment:null,ctx:[],props:r,update:L,not_equal:i,bound:le(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:le(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(f.root);let h=!1;if(f.ctx=n?n(t,e.props||{},(k,I,...y)=>{const T=y.length?y[0]:I;return f.ctx&&i(f.ctx[k],f.ctx[k]=T)&&(!f.skip_bound&&f.bound[k]&&f.bound[k](T),h&&nt(t,k)),I}):[],f.update(),h=!0,U(f.before_update),f.fragment=l?l(f.ctx):!1,e.target){if(e.hydrate){const k=qe(e.target);f.fragment&&f.fragment.l(k),k.forEach(_)}else f.fragment&&f.fragment.c();e.intro&&xe(t.$$.fragment),et(t,e.target,e.anchor),p()}F(a)}let we;typeof HTMLElement=="function"&&(we=class extends HTMLElement{constructor(e,n,l){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=e,this.$$s=n,l&&this.attachShadow({mode:"open"})}addEventListener(e,n,l){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const i=this.$$c.$on(e,n);this.$$l_u.set(n,i)}super.addEventListener(e,n,l)}removeEventListener(e,n,l){if(super.removeEventListener(e,n,l),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return ne(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(r){return()=>{let o;return{c:function(){o=d("slot"),r!=="default"&&g(o,"name",r)},m:function(f,h){m(f,o,h)},d:function(f){f&&_(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},l=Je(this);for(const r of this.$$s)r in l&&(n[r]=[e(r)]);for(const r of this.attributes){const o=this.$$g_p(r.name);o in this.$$d||(this.$$d[o]=R(o,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:te(ee({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const o=R(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const r in this.$$l)for(const o of this.$$l[r]){const s=this.$$c.$on(r,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(e,n,l){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=R(e,l,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function R(t,e,n,l){var r;const i=(r=n[t])==null?void 0:r.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!l||!n[t])return e;if(l==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ee(t,e,n,l,i,r){let o=class extends we{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(s=>(e[s].attribute||s).toLowerCase())}};return Object.keys(e).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){var f;a=R(s,a,e),this.$$d[s]=a,(f=this.$$c)==null||f.$set({[s]:a})}})}),l.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var a;return(a=this.$$c)==null?void 0:a[s]}})}),t.element=o,o}class Ce{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){tt(this,1),this.$destroy=L}$on(e,n){if(!q(n))return L;const l=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return l.push(n),()=>{const i=l.indexOf(n);i!==-1&&l.splice(i,1)}}$set(e){this.$$set&&!Ae(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const lt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(lt);if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterThumbnail-wyUbjy27.cjs")).then(({default:e})=>{!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",e.element)})}function it(t){ve(t,"svelte-1mo1yfd",":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionTitle{font-weight:700;font-size:16px}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}")}function oe(t,e,n){const l=t.slice();return l[30]=e[n],l}function se(t,e,n){const l=t.slice();return l[30]=e[n],l}function re(t,e,n){const l=t.slice();return l[33]=e[n],l}function ae(t,e,n){const l=t.slice();return l[30]=e[n],l}function ce(t,e,n){const l=t.slice();return l[30]=e[n],l}function fe(t,e,n){const l=t.slice();return l[27]=e[n],l}function ue(t,e,n){const l=t.slice();return l[24]=e[n],l}function ot(t){let e,n=b(t[16]),l=[];for(let i=0;i<n.length;i+=1)l[i]=he(oe(t,n,i));return{c(){e=d("div");for(let i=0;i<l.length;i+=1)l[i].c();g(e,"class","FooterSectionInnerContainer"),g(e,"part","FooterSectionInnerContainer")},m(i,r){m(i,e,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null)},p(i,r){if(r[0]&66368){n=b(i[16]);let o;for(o=0;o<n.length;o+=1){const s=oe(i,n,o);l[o]?l[o].p(s,r):(l[o]=he(s),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function st(t){let e,n=b(t[15]),l=[];for(let i=0;i<n.length;i+=1)l[i]=_e(se(t,n,i));return{c(){e=d("div");for(let i=0;i<l.length;i+=1)l[i].c();g(e,"class","FooterSectionInnerContainer"),g(e,"part","FooterSectionInnerContainer")},m(i,r){m(i,e,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null)},p(i,r){if(r[0]&33600){n=b(i[15]);let o;for(o=0;o<n.length;o+=1){const s=se(i,n,o);l[o]?l[o].p(s,r):(l[o]=_e(s),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function rt(t){let e,n,l=b(t[14]),i=[];for(let r=0;r<l.length;r+=1)i[r]=me(re(t,l,r));return{c(){e=d("div");for(let r=0;r<i.length;r+=1)i[r].c();g(e,"class",n="FooterSectionInnerContainer "+(t[7]=="true"?"DisplayColumn":"")),g(e,"part","FooterSectionInnerContainer")},m(r,o){m(r,e,o);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(e,null)},p(r,o){if(o[0]&17344){l=b(r[14]);let s;for(s=0;s<l.length;s+=1){const a=re(r,l,s);i[s]?i[s].p(a,o):(i[s]=me(a),i[s].c(),i[s].m(e,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=l.length}o[0]&128&&n!==(n="FooterSectionInnerContainer "+(r[7]=="true"?"DisplayColumn":""))&&g(e,"class",n)},d(r){r&&_(e),w(i,r)}}}function at(t){let e,n=b(t[13]),l=[];for(let i=0;i<n.length;i+=1)l[i]=de(ce(t,n,i));return{c(){e=d("div");for(let i=0;i<l.length;i+=1)l[i].c();g(e,"class","FooterSectionInnerContainer"),g(e,"part","FooterSectionInnerContainer")},m(i,r){m(i,e,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null)},p(i,r){if(r[0]&9024){n=b(i[13]);let o;for(o=0;o<n.length;o+=1){const s=ce(i,n,o);l[o]?l[o].p(s,r):(l[o]=de(s),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function ct(t){let e,n=b(t[12]),l=[];for(let i=0;i<n.length;i+=1)l[i]=pe(fe(t,n,i));return{c(){e=d("div");for(let i=0;i<l.length;i+=1)l[i].c();g(e,"class","FooterSectionInnerContainer"),g(e,"part","FooterSectionInnerContainer")},m(i,r){m(i,e,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null)},p(i,r){if(r[0]&4928){n=b(i[12]);let o;for(o=0;o<n.length;o+=1){const s=fe(i,n,o);l[o]?l[o].p(s,r):(l[o]=pe(s),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function ft(t){let e,n=b(t[11]),l=[];for(let i=0;i<n.length;i+=1)l[i]=be(ue(t,n,i));return{c(){e=d("div");for(let i=0;i<l.length;i+=1)l[i].c();g(e,"class","FooterSectionInnerContainer"),g(e,"part","FooterSectionInnerContainer")},m(i,r){m(i,e,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null)},p(i,r){if(r[0]&2880){n=b(i[11]);let o;for(o=0;o<n.length;o+=1){const s=ue(i,n,o);l[o]?l[o].p(s,r):(l[o]=be(s),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function he(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"sociallinkurl",n=t[30].socialLinkUrl),c(e,"sociallinkimage",l=t[30].socialLinkImage),c(e,"sociallinktitle",i=t[30].socialLinkTitle),c(e,"clientstyling",t[6]),c(e,"linktype",r=(s=t[30])==null?void 0:s.isExternalLink),c(e,"target",o=(a=t[30])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&65536&&n!==(n=s[30].socialLinkUrl)&&c(e,"sociallinkurl",n),a[0]&65536&&l!==(l=s[30].socialLinkImage)&&c(e,"sociallinkimage",l),a[0]&65536&&i!==(i=s[30].socialLinkTitle)&&c(e,"sociallinktitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&65536&&r!==(r=(f=s[30])==null?void 0:f.isExternalLink)&&c(e,"linktype",r),a[0]&65536&&o!==(o=(h=s[30])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function _e(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"licenseurl",n=t[30].licenseUrl),c(e,"licenseimage",l=t[30].licenseImage),c(e,"licensetitle",i=t[30].licenseTitle),c(e,"clientstyling",t[6]),c(e,"linktype",r=(s=t[30])==null?void 0:s.isExternalLink),c(e,"target",o=(a=t[30])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&32768&&n!==(n=s[30].licenseUrl)&&c(e,"licenseurl",n),a[0]&32768&&l!==(l=s[30].licenseImage)&&c(e,"licenseimage",l),a[0]&32768&&i!==(i=s[30].licenseTitle)&&c(e,"licensetitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&32768&&r!==(r=(f=s[30])==null?void 0:f.isExternalLink)&&c(e,"linktype",r),a[0]&32768&&o!==(o=(h=s[30])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function ut(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"helperlinkurl",n=t[33].helpLinkUrl),c(e,"helperlinkimage",l=t[33].helpLinkImage),c(e,"helperlinktitle",i=t[33].helpLinkTitle),c(e,"clientstyling",t[6]),c(e,"displaycolumn",t[7]),c(e,"linktype",r=(s=t[33])==null?void 0:s.helpLinkType),c(e,"target",o=(a=t[33])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&16384&&n!==(n=s[33].helpLinkUrl)&&c(e,"helperlinkurl",n),a[0]&16384&&l!==(l=s[33].helpLinkImage)&&c(e,"helperlinkimage",l),a[0]&16384&&i!==(i=s[33].helpLinkTitle)&&c(e,"helperlinktitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&128&&c(e,"displaycolumn",s[7]),a[0]&16384&&r!==(r=(f=s[33])==null?void 0:f.helpLinkType)&&c(e,"linktype",r),a[0]&16384&&o!==(o=(h=s[33])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function ht(t){let e,n=b(t[33].value),l=[];for(let i=0;i<n.length;i+=1)l[i]=ge(ae(t,n,i));return{c(){for(let i=0;i<l.length;i+=1)l[i].c();e=J()},m(i,r){for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(i,r);m(i,e,r)},p(i,r){if(r[0]&17344){n=b(i[33].value);let o;for(o=0;o<n.length;o+=1){const s=ae(i,n,o);l[o]?l[o].p(s,r):(l[o]=ge(s),l[o].c(),l[o].m(e.parentNode,e))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(i){i&&_(e),w(l,i)}}}function ge(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"helperlinkurl",n=t[30].helpLinkUrl),c(e,"helperlinkimage",l=t[30].helpLinkImage),c(e,"helperlinktitle",i=t[30].helpLinkTitle),c(e,"clientstyling",t[6]),c(e,"displaycolumn",t[7]),c(e,"linktype",r=(s=t[30])==null?void 0:s.helpLinkType),c(e,"target",o=(a=t[30])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&16384&&n!==(n=s[30].helpLinkUrl)&&c(e,"helperlinkurl",n),a[0]&16384&&l!==(l=s[30].helpLinkImage)&&c(e,"helperlinkimage",l),a[0]&16384&&i!==(i=s[30].helpLinkTitle)&&c(e,"helperlinktitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&128&&c(e,"displaycolumn",s[7]),a[0]&16384&&r!==(r=(f=s[30])==null?void 0:f.helpLinkType)&&c(e,"linktype",r),a[0]&16384&&o!==(o=(h=s[30])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function me(t){let e,n;function l(o,s){return s[0]&16384&&(e=null),e==null&&(e=!!o[33].hasOwnProperty("value")),e?ht:ut}let i=l(t,[-1,-1]),r=i(t);return{c(){r.c(),n=J()},m(o,s){r.m(o,s),m(o,n,s)},p(o,s){i===(i=l(o,s))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(n.parentNode,n)))},d(o){o&&_(n),r.d(o)}}}function de(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"vendorurl",n=t[30].gameVendorUrl),c(e,"vendorimage",l=t[30].gameVendorImage),c(e,"vendortitle",i=t[30].gameVendorTitle),c(e,"clientstyling",t[6]),c(e,"linktype",r=(s=t[30])==null?void 0:s.isExternalLink),c(e,"target",o=(a=t[30])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&8192&&n!==(n=s[30].gameVendorUrl)&&c(e,"vendorurl",n),a[0]&8192&&l!==(l=s[30].gameVendorImage)&&c(e,"vendorimage",l),a[0]&8192&&i!==(i=s[30].gameVendorTitle)&&c(e,"vendortitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&8192&&r!==(r=(f=s[30])==null?void 0:f.isExternalLink)&&c(e,"linktype",r),a[0]&8192&&o!==(o=(h=s[30])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function pe(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"paymenturl",n=t[27].paymentMethodUrl),c(e,"paymentimage",l=t[27].paymentMethodImage),c(e,"paymenttitle",i=t[27].paymentMethodTitle),c(e,"clientstyling",t[6]),c(e,"linktype",r=(s=t[27])==null?void 0:s.isExternalLink),c(e,"target",o=(a=t[27])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&4096&&n!==(n=s[27].paymentMethodUrl)&&c(e,"paymenturl",n),a[0]&4096&&l!==(l=s[27].paymentMethodImage)&&c(e,"paymentimage",l),a[0]&4096&&i!==(i=s[27].paymentMethodTitle)&&c(e,"paymenttitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&4096&&r!==(r=(f=s[27])==null?void 0:f.isExternalLink)&&c(e,"linktype",r),a[0]&4096&&o!==(o=(h=s[27])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function be(t){let e,n,l,i,r,o;return{c(){var s,a;e=d("casino-footer-thumbnail"),c(e,"sponsorurl",n=t[24].sponsorUrl),c(e,"sponsorimage",l=t[24].sponsorImage),c(e,"sponsortitle",i=t[24].sponsorTitle),c(e,"clientstyling",t[6]),c(e,"linktype",r=(s=t[24])==null?void 0:s.isExternalLink),c(e,"target",o=(a=t[24])==null?void 0:a.target),c(e,"baseurl",t[8]),c(e,"lang",t[9])},m(s,a){m(s,e,a)},p(s,a){var f,h;a[0]&2048&&n!==(n=s[24].sponsorUrl)&&c(e,"sponsorurl",n),a[0]&2048&&l!==(l=s[24].sponsorImage)&&c(e,"sponsorimage",l),a[0]&2048&&i!==(i=s[24].sponsorTitle)&&c(e,"sponsortitle",i),a[0]&64&&c(e,"clientstyling",s[6]),a[0]&2048&&r!==(r=(f=s[24])==null?void 0:f.isExternalLink)&&c(e,"linktype",r),a[0]&2048&&o!==(o=(h=s[24])==null?void 0:h.target)&&c(e,"target",o),a[0]&256&&c(e,"baseurl",s[8]),a[0]&512&&c(e,"lang",s[9])},d(s){s&&_(e)}}}function _t(t){let e;function n(r,o){if(r[0]&&r[11].length)return ft;if(r[1]&&r[12].length)return ct;if(r[2]&&r[13].length)return at;if(r[3]&&r[14].length)return rt;if(r[4]&&r[15].length)return st;if(r[5]&&r[16].length)return ot}let l=n(t),i=l&&l(t);return{c(){e=d("div"),i&&i.c(),g(e,"class","FooterSectionContainer"),g(e,"part","FooterSectionContainer")},m(r,o){m(r,e,o),i&&i.m(e,null),t[20](e)},p(r,o){l===(l=n(r))&&i?i.p(r,o):(i&&i.d(1),i=l&&l(r),i&&(i.c(),i.m(e,null)))},i:L,o:L,d(r){r&&_(e),i&&i.d(),t[20](null)}}}let gt=/^(?:[^\/]*\/){2}[^\/]+/g;function mt(t,e,n){let{sponsorflag:l=""}=e,{paymentflag:i=""}=e,{vendorflag:r=""}=e,{helperflag:o=""}=e,{licenseflag:s=""}=e,{socialflag:a=""}=e,{clientstyling:f=""}=e,{clientstylingurl:h=""}=e,{target:k=""}=e,{displaycolumn:I=""}=e,{category:y=""}=e,{baseurl:T=""}=e,{lang:G=""}=e,K=[],Q=[],W=[],j=[],X=[],Y=[],v;const Z=u=>{u.origin==window.location.href.match(gt)[0]&&u.data&&u.data.type==="FooterData"&&(n(11,K=u.data.sponsorsRepeater),n(12,Q=u.data.paymentMethodsRepeater),n(13,W=u.data.gameVendorsRepeater),n(14,j=u.data.helpLinksRepeater),n(15,X=u.data.licensesRepeater),n(16,Y=u.data.socialLinksRepeater),y&&n(14,j=j.filter(M=>M.key==y)))},Ie=()=>{let u=document.createElement("style");u.innerHTML=f,v.appendChild(u)},Te=()=>{let u=new URL(h),M=document.createElement("style");fetch(u.href).then(P=>P.text()).then(P=>{M.innerHTML=P,setTimeout(()=>{v.appendChild(M)},1)})};Ke(()=>(window.addEventListener("message",Z,!1),()=>{window.removeEventListener("message",Z)}));function Fe(u){A[u?"unshift":"push"](()=>{v=u,n(10,v)})}return t.$$set=u=>{"sponsorflag"in u&&n(0,l=u.sponsorflag),"paymentflag"in u&&n(1,i=u.paymentflag),"vendorflag"in u&&n(2,r=u.vendorflag),"helperflag"in u&&n(3,o=u.helperflag),"licenseflag"in u&&n(4,s=u.licenseflag),"socialflag"in u&&n(5,a=u.socialflag),"clientstyling"in u&&n(6,f=u.clientstyling),"clientstylingurl"in u&&n(17,h=u.clientstylingurl),"target"in u&&n(18,k=u.target),"displaycolumn"in u&&n(7,I=u.displaycolumn),"category"in u&&n(19,y=u.category),"baseurl"in u&&n(8,T=u.baseurl),"lang"in u&&n(9,G=u.lang)},t.$$.update=()=>{t.$$.dirty[0]&1088&&f&&v&&Ie(),t.$$.dirty[0]&132096&&h&&v&&Te()},[l,i,r,o,s,a,f,I,T,G,v,K,Q,W,j,X,Y,h,k,y,Fe]}class Se extends Ce{constructor(e){super(),Le(this,e,mt,_t,ke,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,clientstyling:6,clientstylingurl:17,target:18,displaycolumn:7,category:19,baseurl:8,lang:9},it,[-1,-1])}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),p()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),p()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),p()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),p()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),p()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),p()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),p()}get displaycolumn(){return this.$$.ctx[7]}set displaycolumn(e){this.$$set({displaycolumn:e}),p()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),p()}get baseurl(){return this.$$.ctx[8]}set baseurl(e){this.$$set({baseurl:e}),p()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),p()}}Ee(Se,{sponsorflag:{},paymentflag:{},vendorflag:{},helperflag:{},licenseflag:{},socialflag:{},clientstyling:{},clientstylingurl:{},target:{},displaycolumn:{},category:{},baseurl:{},lang:{}},[],[],!0);const dt=Object.freeze(Object.defineProperty({__proto__:null,default:Se},Symbol.toStringTag,{value:"Module"}));exports.CasinoFooterSection_ce=dt;exports.SvelteComponent=Ce;exports.append=ye;exports.append_styles=ve;exports.attr=g;exports.binding_callbacks=A;exports.create_custom_element=Ee;exports.detach=_;exports.element=d;exports.empty=J;exports.flush=p;exports.init=Le;exports.insert=m;exports.is_function=q;exports.listen=He;exports.noop=L;exports.run_all=U;exports.safe_not_equal=ke;exports.set_data=ze;exports.space=Be;exports.src_url_equal=Re;exports.subscribe=Pe;exports.text=z;
|