@everymatrix/casino-game-thumb-view 1.56.0 → 1.56.3
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/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
- package/dist/casino-game-thumb-view/{p-600af885.entry.js → p-0f03c743.entry.js} +1 -1
- package/dist/casino-game-thumb-view/p-358a4af8.entry.js +7 -0
- package/dist/casino-game-thumb-view/p-4ece4698.js +8 -0
- package/dist/casino-game-thumb-view/p-74a4ae4a.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-a0c26052.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-b5a64db5.js +2 -0
- package/dist/casino-game-thumb-view/p-d6ec6d6a.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-fd38189d.entry.js +1 -0
- package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +5 -1
- package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +6 -1
- package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +4 -4
- package/dist/cjs/casino-game-thumb-view.cjs.js +2 -2
- package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +41 -52
- package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +8 -3
- package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +2 -1
- package/dist/cjs/{index-b36c6933.js → index-81c5b70d.js} +136 -289
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-c4ed3adc.js → utils-21e506f8.js} +365 -368
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +4 -4
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +7 -2
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +3 -5
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +33 -99
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +3 -5
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +4 -3
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +6 -27
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +3 -2
- package/dist/esm/casino-extrainfo-baccarat.entry.js +5 -1
- package/dist/esm/casino-extrainfo-blackjack.entry.js +6 -1
- package/dist/esm/casino-extrainfo-roulette.entry.js +4 -4
- package/dist/esm/casino-game-thumb-view.js +3 -3
- package/dist/esm/casino-game-thumb-view_2.entry.js +41 -52
- package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +8 -3
- package/dist/esm/casino-normal-game-thumbnail.entry.js +2 -1
- package/dist/esm/{index-23b4a4c5.js → index-8058a16f.js} +136 -289
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-090ac2e9.js → utils-d11d0845.js} +365 -368
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/casino-game-thumb-view/p-13741d4d.js +0 -2
- package/dist/casino-game-thumb-view/p-53ba085b.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-b13b5c25.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-c6ee2783.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-d2580653.js +0 -8
- package/dist/casino-game-thumb-view/p-dd797f50.entry.js +0 -7
- package/dist/casino-game-thumb-view/p-ee2bdcce.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
|
|
1015
1015
|
autoPlay?: boolean;
|
1016
1016
|
autoplay?: boolean | string;
|
1017
1017
|
controls?: boolean;
|
1018
|
-
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
1019
|
-
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
1020
1018
|
crossOrigin?: string;
|
1021
1019
|
crossorigin?: string;
|
1022
1020
|
loop?: boolean;
|
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
|
|
1566
1564
|
onSubmitCapture?: (event: Event) => void;
|
1567
1565
|
onInvalid?: (event: Event) => void;
|
1568
1566
|
onInvalidCapture?: (event: Event) => void;
|
1569
|
-
onBeforeToggle?: (event: Event) => void;
|
1570
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
1571
|
-
onToggle?: (event: Event) => void;
|
1572
|
-
onToggleCapture?: (event: Event) => void;
|
1573
1567
|
onLoad?: (event: Event) => void;
|
1574
1568
|
onLoadCapture?: (event: Event) => void;
|
1575
1569
|
onError?: (event: Event) => void;
|
package/package.json
CHANGED
@@ -1,2 +0,0 @@
|
|
1
|
-
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},a=f.document||{head:{}},d={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),v=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],w=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&d.o?g($):d.raf($))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},$=()=>{b(m),b(y),(p=m.length>0)&&d.raf($)},g=t=>h().then(t),S=w(y,!0),j=t=>"object"==(t=typeof t)||"function"===t;function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>x,unwrapErr:()=>M});var k=t=>({isOk:!0,isErr:!1,value:t}),E=t=>({isOk:!1,isErr:!0,value:t});function C(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>k(t))):k(n)}if(t.isErr)return E(t.value);throw"should never get here"}var x=t=>{if(t.isOk)return t.value;throw t.value},M=t=>{if(t.isErr)return t.value;throw t.value},R=t=>{const e=t.__childNodes||t.childNodes;t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&T(e,t.tagName).forEach((t=>{var e;1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!(null==(e=F(t,t["s-sn"],!1))?void 0:e.length))}));for(const t of e)1===t.nodeType&&(t.__childNodes||t.childNodes).length&&R(t)};function T(t,e,n){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&o["s-hn"]===e&&(void 0===n||o["s-sn"]===n)&&(s.push(o),void 0!==n))return s;s=[...s,...T(o.childNodes,e,n)]}return s}var P,L,F=(t,e,n=!0)=>{const o=[];for((n&&t["s-sr"]||!t["s-sr"])&&o.push(t);(t=t.nextSibling)&&t["s-sn"]===e;)o.push(t);return o},A=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,N=(t,e,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!j(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?D(null,o):o),r=i)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const f=D(t,null);return f.u=e,c.length>0&&(f.h=c),f.v=l,f.p=s,f},D=(t,e)=>({o:0,m:t,i:e,$:null,h:null,u:null,v:null,p:null}),H={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(U)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.v,vname:t.p,vtag:t.m,vtext:t.i}),U=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),N(t.vtag,e,...t.vchildren||[])}const e=D(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.v=t.vkey,e.p=t.vname,e},V=(t,e)=>null==t||j(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,q=(t,e,o)=>{const l=(t=>n(t).$hostElement$)(t);return{emit:t=>G(l,e,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t})}},G=(t,e,n)=>{const o=d.ce(e,n);return t.dispatchEvent(o),o},_=new WeakMap,z=t=>"sc-"+t.S,I=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=K(n);let s=K(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(u,e):t.removeAttribute(e)):(!r||4&i||s)&&!l&&(o=!0===o?"":o,f?t.setAttributeNS(u,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l(f,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(Q);e=e.replace(X,""),n&&d.rel(t,e,n,l),o&&d.ael(t,e,o,l)}}},J=/\s/,K=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(J):[]),Q="Capture",X=RegExp(Q+"$"),Y=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||{},s=e.u||{};for(const t of Z(Object.keys(l)))t in s||I(o,t,l[t],void 0,n,e.o);for(const t of Z(Object.keys(s)))I(o,t,l[t],s[t],n,e.o)};function Z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,et=!1,nt=!1,ot=!1,lt=(t,e,n)=>{var o;const l=e.h[n];let s,i,r,c=0;if(tt||(nt=!0,"slot"===l.m&&(l.o|=l.h?2:1)),null!==l.i)s=l.$=a.createTextNode(l.i);else if(1&l.o)s=l.$=a.createTextNode("");else{if(ot||(ot="svg"===l.m),s=l.$=a.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&l.o?"slot-fb":l.m),ot&&"foreignObject"===l.m&&(ot=!1),Y(null,l,ot),l.h)for(c=0;c<l.h.length;++c)i=lt(t,l,c),i&&s.appendChild(i);"svg"===l.m?ot=!1:"foreignObject"===s.tagName&&(ot=!0)}return s["s-hn"]=L,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=P,s["s-sn"]=l.p||"",s["s-rf"]=null==(o=l.u)?void 0:o.ref,r=t&&t.h&&t.h[n],r&&r.m===l.m&&t.$&&st(t.$,!1)),s},st=(t,e)=>{d.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==L&&o["s-ol"]&&(vt(ut(o).parentNode,o,ut(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),e&&st(o,e)}d.o&=-2},it=(t,e,n,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===L&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=lt(null,n,l),i&&(o[l].$=i,vt(r,i,ut(e))))},rt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;ht(e),t&&(et=!0,t["s-ol"]?t["s-ol"].remove():st(t,!0),t.remove())}}},ct=(t,e,n=!1)=>t.m===e.m&&("slot"===t.m?t.p===e.p:n?(n&&!t.v&&e.v&&(t.v=e.v),!0):t.v===e.v),ut=t=>t&&t["s-ol"]||t,ft=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(ot="svg"===i||"foreignObject"!==i&&ot,("slot"!==i||tt)&&Y(t,e,ot),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],v=o.length-1,p=o[0],m=o[v];for(;r<=a&&c<=v;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==m)m=o[--v];else if(ct(d,p,l))ft(d,p,l),d=e[++r],p=o[++c];else if(ct(h,m,l))ft(h,m,l),h=e[--a],m=o[--v];else if(ct(d,m,l))"slot"!==d.m&&"slot"!==m.m||st(d.$.parentNode,!1),ft(d,m,l),vt(t,d.$,h.$.nextSibling),d=e[++r],m=o[--v];else if(ct(h,p,l))"slot"!==d.m&&"slot"!==m.m||st(h.$.parentNode,!1),ft(h,p,l),vt(t,h.$,d.$),h=e[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].v&&e[f].v===p.v){u=f;break}u>=0?(i=e[u],i.m!==p.m?s=lt(e&&e[c],n,u):(ft(i,p,l),e[u]=void 0,s=i.$),p=o[++c]):(s=lt(e&&e[c],n,c),p=o[++c]),s&&vt(ut(d.$).parentNode,s,ut(d.$))}r>a?it(t,null==o[v+1]?null:o[v+1].$,n,o,c,v):c>v&&rt(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),it(o,null,e,s,0,s.length-1)):!n&&null!==l&&rt(l,0,l.length-1),ot&&"svg"===i&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(o.data=r)},at=[],dt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(A(e,l)){let n=at.find((t=>t.j===e));et=!0,e["s-sn"]=e["s-sn"]||l,n?(n.j["s-sh"]=t["s-hn"],n.O=t):(e["s-sh"]=t["s-hn"],at.push({O:t,j:e})),e["s-sr"]&&at.map((t=>{A(t.j,e["s-sn"])&&(n=at.find((t=>t.j===e)),n&&!t.O&&(t.O=n.O))}))}else at.some((t=>t.j===e))||at.push({j:e})}1===t.nodeType&&dt(t)}},ht=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(ht)},vt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),pt=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},mt=(t,e)=>{if(t.o|=16,!(4&t.o))return pt(t,t.C),S((()=>yt(t,e)));t.o|=512},yt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.o|=256,t.M&&(t.M.map((([t,e])=>Ot(o,t,e,n))),t.M=void 0),l=Ot(o,"componentWillLoad",void 0,n)),l=wt(l,(()=>Ot(o,"componentWillRender",void 0,n))),wt(l,(()=>$t(t,o,e)))},wt=(t,e)=>bt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),bt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,$t=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.R,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=z(e),l=r.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,i=_.get(t=t.head||t);if(i||_.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=d.T)?n:O(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(v){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);gt(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>St(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},gt=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,i;const r=t.$hostElement$,c=t.R,u=t.P||D(null,null),f=(t=>t&&t.m===H)(e)?e:N(null,null,e);if(L=r.tagName,n&&f.u)for(const t of Object.keys(f.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.u[t]=r[t]);if(f.m=null,f.o|=4,t.P=f,f.$=u.$=r.shadowRoot||r,tt=!(!(1&c.o)||128&c.o),P=r["s-cr"],et=!1,ft(u,f,n),d.o|=1,nt){dt(f.$);for(const t of at){const e=t.j;if(!e["s-ol"]){const t=a.createTextNode("");t["s-nr"]=e,vt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.j,r=t.O;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),vt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}et&&R(f.$),d.o&=-2,at.length=0,P=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},St=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Ot(n,"componentDidRender",void 0,e),64&t.o||(t.o|=64,kt(e),Ot(n,"componentDidLoad",void 0,e),t.L(e),o||jt()),t.F(e),t.k&&(t.k(),t.k=void 0),512&t.o&&g((()=>mt(t,!1))),t.o&=-517},jt=()=>{g((()=>G(f,"appload",{detail:{namespace:"casino-game-thumb-view"}})))},Ot=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},kt=t=>t.classList.add("hydrated"),Et=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.A.get(e),u=i.o,f=i.t;if(o=V(o,l.N[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.A.set(e,o),f)){if(l.D&&128&u){const t=l.D[e];t&&t.map((t=>{try{f[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&mt(i,!1)}},Ct=(t,e,o)=>{var l,s;const i=t.prototype;if(e.N||e.D||t.watchers){t.watchers&&!e.D&&(e.D=t.watchers);const r=Object.entries(null!=(l=e.N)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.N[t][0]|=2048),r&&(e.N[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.N[t][0]))return((t,e)=>n(this).A.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.A.get(t)?s=i.A.get(t):!i.A.get(t)&&n&&i.A.set(t,n),r.call(this,V(s,l)),void Et(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.N[t][0]))return Et(this,t,s,e),void(1&o&&!i.t&&i.H.then((()=>{4096&e.N[t][0]&&i.t[t]!==i.A.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.A.get(t)&&n&&i.A.set(t,n),i.t[t]=V(s,l),Et(this,t,i.t[t],e)};i.t?n():i.H.then((()=>n()))}}})}else 1&o&&64&l&&Object.defineProperty(i,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.W)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){d.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.D)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.D)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},xt=(t,e)=>{Ot(t,"disconnectedCallback",void 0,e||t)},Mt=(t,o={})=>{var l;const u=[],h=o.exclude||[],p=f.customElements,m=a.head,y=m.querySelector("meta[charset]"),w=a.createElement("style"),b=[];let $,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],S:o[1],N:o[2],B:o[3]};4&c.o&&(S=!0),c.N=o[2],c.B=o[3],c.D=null!=(l=o[4])?l:{};const f=c.S,m=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,R:n,A:new Map};o.W=new Promise((t=>o.F=t)),o.H=new Promise((t=>o.L=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Rt(this,t,c.B)),$&&(clearTimeout($),$=null),g?b.push(this):d.jmp((()=>(t=>{if(!(1&d.o)){const e=n(t),o=e.R,l=()=>{};if(1&e.o)Rt(t,e,o.B),(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=a.createComment("");e["s-cn"]=!0,vt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){pt(e,e.C=n);break}}o.N&&Object.entries(o.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.U){const l=((t,e)=>{const n=t.S.replace(/-/g,"_"),o=t.U;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.S}#${e.V}" was not found`);o.isProxied||(n.D=o.watchers,Ct(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=z(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);v&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,c=()=>mt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.o)){const e=n(t);e.q&&(e.q.map((t=>t())),e.q=void 0),(null==e?void 0:e.t)?xt(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>xt(e.t,t)))}_.has(t)&&_.delete(t),t.shadowRoot&&_.has(t.shadowRoot)&&_.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const e=n(this),o=b.findIndex((t=>t===this));o>-1&&b.splice(o,1),(null==(t=null==e?void 0:e.P)?void 0:t.$)instanceof Node&&!e.P.$.isConnected&&delete e.P.$}))}componentOnReady(){return n(this).H}};c.U=t[0],h.includes(f)||p.get(f)||(u.push(f),p.define(f,Ct(m,c,1)))}))})),u.length>0&&(S&&(w.textContent+=c),w.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=d.T)?l:O(a);null!=t&&w.setAttribute("nonce",t),m.insertBefore(w,y?y.nextSibling:m.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):d.jmp((()=>$=setTimeout(jt,30)))},Rt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=Pt(t,n),i=Tt(e,l),r=Lt(n);d.ael(s,o,i,r),(e.q=e.q||[]).push((()=>d.rel(s,o,i,r)))}))},Tt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(e){s(e,t.$hostElement$)}},Pt=(t,e)=>4&e?a:t,Lt=t=>({passive:!!(1&t),capture:!!(2&t)}),Ft=t=>d.T=t;export{H,Mt as b,q as c,N as h,h as p,o as r,Ft as s}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as i}from"./p-13741d4d.js";import{n as t,a,h as s}from"./p-d2580653.js";import{t as n}from"./p-59ceeaaa.js";import{W as o,c as r}from"./p-2d02adb1.js";const l={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"},m=class{constructor(i){e(this,i),this.defaultCurrency="EUR",this.isBetLimitAvailable=!1}getCurrencySymbols(e){return l[e]}componentWillRender(){if(this.betLimit){const e=this.betLimit.max?this.betLimit.max:this.betLimit.min||{};this.isBetLimitAvailable=1===Object.keys(e).length,this.currency=this.isBetLimitAvailable?Object.keys(e)[0]:this.defaultCurrency}}render(){return this.isBetLimitAvailable?i("p",{class:"LiveLimits"},i("span",{class:"BetLimitLeft"},this.getCurrencySymbols(this.currency)," ",t(this.betLimit.min[this.currency])," -"," ",t(this.betLimit.max[this.currency])),(this.numberOfPlayers||0==this.numberOfPlayers)&&i("span",{class:"BetLimitRight"},i("svg",{fill:"white",width:"13",height:"13",viewBox:"0 0 13 14",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"})),i("span",{class:"NrOfPlayers"},this.numberOfPlayers))):""}};m.style=":host{display:block}";const c=class{constructor(i){e(this,i),this.language="en",this.isNewGame=!1}async onGameLoaded(e){var i;this.gameInfo=e,this.isNewGame=this.gameInfo.isNew,"false"===this.gameInfo.gameTag&&(this.gameInfo.gameTag=null),this.gameTag=this.gameInfo.gameTag,this.gameInfo.details&&(this.gameDetails=this.gameInfo.details,this.isDouble=!!this.gameDetails&&this.gameInfo.details.category.toLowerCase()===o.doubleballroulette,this.gameTag=this.gameDetails&&(null===(i=this.gameInfo.advancedTags)||void 0===i?void 0:i.length)>0?a(this.gameInfo.advancedTags):this.gameInfo.gameTag,this.betLimit=this.gameDetails?this.gameDetails.betLimit:null,this.initTimeProperties())}initTimeProperties(){var e,i,t,a,s;"Bounded"===(null===(i=null===(e=this.gameDetails)||void 0===e?void 0:e.openHours)||void 0===i?void 0:i.type)&&(this.gameStartTime=null===(a=null===(t=this.gameDetails)||void 0===t?void 0:t.openHours)||void 0===a?void 0:a.value.startTime,this.gameTimeFormat=null===(s=this.gameDetails)||void 0===s?void 0:s.openHours.value.originalTimeFormat)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameDetails=Object.assign({},this.gameDetails),this.initTimeProperties()}render(){var e,t,a;return this.gameInfo?i("div",{class:"GameExtraInfo",part:"GameExtraInfo"},this.isNewGame&&i("span",{class:"GameExtraInfoLabel NewGameTag",part:"GameExtraInfoLabel NewGameTag"},n("new",this.language)),this.gameTag&&i("span",{class:"GameExtraInfoLabel PopularGameTag",part:"GameExtraInfoLabel PopularGameTag"},this.gameTag),this.gameDetails&&i("div",{class:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`,part:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`},this.gameDetails.isOpen?i("slot",{name:"category-details"}):this.gameStartTime&&this.gameTimeFormat&&i("div",{class:"ClosedGame",part:"ClosedGame"},n("opens",this.language),i("span",null," ",s.utc(this.gameStartTime).local().format(this.gameTimeFormat)," ")),(null===(e=this.gameDetails.dealer)||void 0===e?void 0:e.DealerName)&&i("p",{class:"LiveLimits"},i("span",{class:"DealerName"},n("dealer",this.language),":"," ",null===(t=this.gameDetails)||void 0===t?void 0:t.dealer.DealerName," ")),i("casino-game-thumbnail-betlimit",{betLimit:this.betLimit,numberOfPlayers:null===(a=this.gameDetails)||void 0===a?void 0:a.numberOfPlayers}))):""}};c.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--color-white, #FFFFFF);opacity:1;font-size:14px}.GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 10px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 6px 0 1px;font-size:14px;text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);font-weight:normal;font-size:12px}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px;vertical-align:top}';export{m as casino_game_thumbnail_betlimit,c as casino_game_thumbnail_extrainfo}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as a,h as e,H as s}from"./p-13741d4d.js";const o=class{constructor(e){a(this,e)}async onGameLoaded(a){var e;null===(e=this.infoWrapperRef)||void 0===e||e.onGameLoaded(a)}render(){return e(s,{key:"65ecbdb989b2b98974bbe60db24f31032e2e10a7"},e("casino-game-thumbnail-extrainfo",{key:"3633837b728bc4f18745cd87180b73359a403816",ref:a=>this.infoWrapperRef=a,language:this.language}))}};o.style=":host{display:block}";export{o as casino_normal_game_thumbnail}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,h as e,H as t}from"./p-13741d4d.js";import{D as a}from"./p-2d02adb1.js";import{t as s}from"./p-59ceeaaa.js";const l=class{constructor(e){i(this,e)}generateBlackJackSeats(i=a,e=[]){let t=[];for(let a=0;a<i;a++)t.push({seatNo:a,isClosed:e.indexOf((a+1).toString())>-1});return this.isTableFull=i==e.length,t}async onGameLoaded(i){var e,t,a;this.gameInfo=i,this.gameDetails=this.gameInfo.details,this.seatsStatus=this.generateBlackJackSeats(null===(e=this.gameDetails)||void 0===e?void 0:e.totalSeats,null===(t=this.gameDetails)||void 0===t?void 0:t.currentOccupiedSeats),null===(a=this.infoWrapperRef)||void 0===a||a.onGameLoaded(i)}async onGameDetailUpdated(i){var e,t;this.gameInfo.details=this.gameDetails=i,this.seatsStatus=this.generateBlackJackSeats(null===(e=this.gameDetails)||void 0===e?void 0:e.totalSeats,null===(t=this.gameDetails)||void 0===t?void 0:t.currentOccupiedSeats),this.gameDetails=Object.assign({},this.gameDetails)}render(){return e(t,{key:"e75d57ebd1f5827facafd15ffc6631cc84d7ca52"},e("casino-game-thumbnail-extrainfo",{key:"e861149d6e01ef11ecc92d8f3606e9406ca68238",ref:i=>this.infoWrapperRef=i,language:this.language},this.gameDetails&&this.gameDetails.isOpen&&e("div",{key:"e157039d431369c6e9b419cde52e3045765fb6c6",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},this.isTableFull?e("span",{class:"FullTable",part:"FullTable"},s("full",this.language)):this.seatsStatus.map((i=>e("span",{class:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",id:`s${i.seatNo}`,part:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",innerHTML:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDEzIDE0Ij4KICA8cGF0aAogICAgZD0iTTExLjU4IDZjLTEuMTcgMC0yLjEzLjk1LTIuMTMgMi4xMnYuNGE4LjgyIDguODIgMCAwMC0yLjkyLS40Yy0xLjU0IDAtMi40NS4yMi0yLjkyLjR2LS40QTIuMTM2IDIuMTM2IDAgMDAxLjQ4IDZhMS4zMyAxLjMzIDAgMDAtLjUgMi41NWMuMTQuMDcuMjQuMjEuMjQuMzdsLjI2IDEuMDZjMCAuOTYuNzMgMS43NSAxLjY1IDEuODVhLjY1LjY1IDAgMDAuMjggMS4yMy42NS42NSAwIDAwLjMtMS4yMmg1LjY0YS42NS42NSAwIDAwLjMgMS4yMi42NS42NSAwIDAwLjI4LTEuMjNjLjkzLS4xIDEuNjUtLjkgMS42NS0xLjg1bC4yNy0xLjA2YzAtLjE2LjEtLjMuMjQtLjM3QTEuMzMgMS4zMyAwIDAwMTEuNTggNnoiLz4KICA8cGF0aAogICAgZD0iTTQuMzQgNy41Yy41NS0uMSAxLjI3LS4xNyAyLjItLjE3LjkxIDAgMS42My4wNyAyLjE4LjE3LjIxLS45Ni45LTEuNzQgMS44LTIuMVY0YTMuOTkgMy45OSAwIDAwLTcuOTcgMHYxLjRjLjkuMzYgMS41OCAxLjE0IDEuNzkgMi4xeiIvPgo8L3N2Zz4K"}))))))}};l.style=":host{display:block}.OpenSeat,.ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.OpenSeat svg,.ClosedSeat svg{width:100%;height:100%}.OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.OpenSeat svg{fill:transparent;stroke:var(--emw--color-white, #FFFFFF)}.ClosedSeat svg{fill:var(--emw--color-white, #FFFFFF)}.FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.FullTable svg{width:100%;height:100%;fill:var(--emw--color-white, #FFFFFF)}.FullTable.ClosedSeat{margin-right:-3px}";export{l as casino_extrainfo_blackjack}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
//! moment.js
|
2
|
-
//! version : 2.30.1
|
3
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4
|
-
//! license : MIT
|
5
|
-
//! momentjs.com
|
6
|
-
var t,n;function i(){return t.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(s(t,n))return!1;return!0}function o(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function f(t,n){for(var i in n)s(n,i)&&(t[i]=n[i]);return s(n,"toString")&&(t.toString=n.toString),s(n,"valueOf")&&(t.valueOf=n.valueOf),t}function c(t,n,i,e){return En(t,n,i,e,!0).utc()}function l(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){var i=null,e=!1,r=t._d&&!isNaN(t._d.getTime());return r&&(i=l(t),e=n.call(i.parsedDateParts,(function(t){return null!=t})),r=i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&e),t._strict&&(r=r&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour)),null!=Object.isFrozen&&Object.isFrozen(t)?r:(t._isValid=r,t._isValid)}function v(t){var n=c(NaN);return null!=t?f(l(n),t):l(n).userInvalidated=!0,n}n=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var y=i.momentProperties=[],Y=!1;function M(t,n){var i,e,r,s=y.length;if(o(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),o(n._i)||(t._i=n._i),o(n._f)||(t._f=n._f),o(n._l)||(t._l=n._l),o(n._strict)||(t._strict=n._strict),o(n._tzm)||(t._tzm=n._tzm),o(n._isUTC)||(t._isUTC=n._isUTC),o(n._offset)||(t._offset=n._offset),o(n._pf)||(t._pf=l(n)),o(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)o(r=n[e=y[i]])||(t[e]=r);return t}function D(t){M(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Y&&(Y=!0,i.updateOffset(this),Y=!1)}function w(t){return t instanceof D||null!=t&&null!=t._isAMomentObject}function S(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function g(t,n){var e=!0;return f((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),e){var r,u,o,a=[],h=arguments.length;for(u=0;u<h;u++){if(r="","object"==typeof arguments[u]){for(o in r+="\n["+u+"] ",arguments[0])s(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[u];a.push(r)}S(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),e=!1}return n.apply(this,arguments)}),n)}var N,k={};function p(t,n){null!=i.deprecationHandler&&i.deprecationHandler(t,n),k[t]||(S(n),k[t]=!0)}function b(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function H(t,n){var i,e=f({},t);for(i in n)s(n,i)&&(r(t[i])&&r(n[i])?(e[i]={},f(e[i],t[i]),f(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)s(t,i)&&!s(n,i)&&r(t[i])&&(e[i]=f({},e[i]));return e}function _(t){null!=t&&this.set(t)}function W(t,n,i){var e=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,N=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)s(t,n)&&i.push(n);return i};var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},x={};function F(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(x[t]=r),n&&(x[n[0]]=function(){return W(r.apply(this,arguments),n[1],n[2])}),i&&(x[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t,n){return t.isValid()?(n=A(n,t.localeData()),E[n]=E[n]||function(t){var n,i,e,r=t.match(T);for(n=0,i=r.length;n<i;n++)r[n]=x[r[n]]?x[r[n]]:(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=b(r[e])?r[e].call(n,t):r[e];return s}}(n),E[n](t)):t.localeData().invalidDate()}function A(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(G.lastIndex=0;i>=0&&G.test(t);)t=t.replace(G,e),G.lastIndex=0,i-=1;return t}var L={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function j(t){return"string"==typeof t?L[t]||L[t.toLowerCase()]:void 0}function R(t){var n,i,e={};for(i in t)s(t,i)&&(n=j(i))&&(e[n]=t[i]);return e}var Z,I={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},C=/\d/,$=/\d\d/,P=/\d{3}/,q=/\d{4}/,U=/[+-]?\d{6}/,z=/\d\d?/,J=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,B=/\d{1,3}/,X=/\d{1,4}/,K=/[+-]?\d{1,6}/,V=/\d+/,tt=/[+-]?\d+/,nt=/Z|[+-]\d\d:?\d\d/gi,it=/Z|[+-]\d\d(?::?\d\d)?/gi,et=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,rt=/^[1-9]\d?/,st=/^([1-9]\d|\d)/;function ut(t,n,i){Z[t]=b(n)?n:function(t){return t&&i?i:n}}function ot(t,n){return s(Z,t)?Z[t](n._strict,n._locale):new RegExp(at(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function at(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ht(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=ht(n)),i}Z={};var ft={};function ct(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),a(n)&&(r=function(t,i){i[n]=dt(t)}),e=t.length,i=0;i<e;i++)ft[t[i]]=r}function lt(t,n){ct(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function mt(t,n,i){null!=n&&s(ft,t)&&ft[t](n,i._a,i,t)}function vt(t){return t%4==0&&t%100!=0||t%400==0}var yt=0,Yt=1,Mt=2,Dt=3,wt=4,St=5,gt=6,Nt=7,kt=8;function pt(t){return vt(t)?366:365}F("Y",0,0,(function(){var t=this.year();return t<=9999?W(t,4):"+"+t})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),ut("Y",tt),ut("YY",z,$),ut("YYYY",X,q),ut("YYYYY",K,U),ut("YYYYYY",K,U),ct(["YYYYY","YYYYYY"],yt),ct("YYYY",(function(t,n){n[yt]=2===t.length?i.parseTwoDigitYear(t):dt(t)})),ct("YY",(function(t,n){n[yt]=i.parseTwoDigitYear(t)})),ct("Y",(function(t,n){n[yt]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var bt,Ht=_t("FullYear",!0);function _t(t,n){return function(e){return null!=e?(Tt(this,t,e),i.updateOffset(this,n),this):Wt(this,t)}}function Wt(t,n){if(!t.isValid())return NaN;var i=t._d,e=t._isUTC;switch(n){case"Milliseconds":return e?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return e?i.getUTCSeconds():i.getSeconds();case"Minutes":return e?i.getUTCMinutes():i.getMinutes();case"Hours":return e?i.getUTCHours():i.getHours();case"Date":return e?i.getUTCDate():i.getDate();case"Day":return e?i.getUTCDay():i.getDay();case"Month":return e?i.getUTCMonth():i.getMonth();case"FullYear":return e?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Tt(t,n,i){var e,r,s,u,o;if(t.isValid()&&!isNaN(i)){switch(e=t._d,r=t._isUTC,n){case"Milliseconds":return void(r?e.setUTCMilliseconds(i):e.setMilliseconds(i));case"Seconds":return void(r?e.setUTCSeconds(i):e.setSeconds(i));case"Minutes":return void(r?e.setUTCMinutes(i):e.setMinutes(i));case"Hours":return void(r?e.setUTCHours(i):e.setHours(i));case"Date":return void(r?e.setUTCDate(i):e.setDate(i));case"FullYear":break;default:return}s=i,u=t.month(),o=29!==(o=t.date())||1!==u||vt(s)?o:28,r?e.setUTCFullYear(s,u,o):e.setFullYear(s,u,o)}}function Gt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i=(n%12+12)%12;return t+=(n-i)/12,1===i?vt(t)?29:28:31-i%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),F("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),ut("M",z,rt),ut("MM",z,$),ut("MMM",(function(t,n){return n.monthsShortRegex(t)})),ut("MMMM",(function(t,n){return n.monthsRegex(t)})),ct(["M","MM"],(function(t,n){n[Yt]=dt(t)-1})),ct(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[Yt]=r:l(i).invalidMonth=t}));var Et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ft=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ot=et,At=et;function Lt(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=c([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=bt.call(this._shortMonthsParse,u))?r:null:-1!==(r=bt.call(this._longMonthsParse,u))?r:null:"MMM"===n?-1!==(r=bt.call(this._shortMonthsParse,u))||-1!==(r=bt.call(this._longMonthsParse,u))?r:null:-1!==(r=bt.call(this._longMonthsParse,u))||-1!==(r=bt.call(this._shortMonthsParse,u))?r:null}function jt(t,n){if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=dt(n);else if(!a(n=t.localeData().monthsParse(n)))return t;var i=n,e=t.date();return e=e<29?e:Math.min(e,Gt(t.year(),i)),t._isUTC?t._d.setUTCMonth(i,e):t._d.setMonth(i,e),t}function Rt(t){return null!=t?(jt(this,t),i.updateOffset(this,!0),this):Wt(this,"Month")}function Zt(){function t(t,n){return n.length-t.length}var n,i,e,r,s=[],u=[],o=[];for(n=0;n<12;n++)i=c([2e3,n]),e=at(this.monthsShort(i,"")),r=at(this.months(i,"")),s.push(e),u.push(r),o.push(r),o.push(e);s.sort(t),u.sort(t),o.sort(t),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function It(t,n,i,e,r,s,u){var o;return t<100&&t>=0?(o=new Date(t+400,n,i,e,r,s,u),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,n,i,e,r,s,u),o}function Ct(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function $t(t,n,i){var e=7+n-i;return-(7+Ct(t,0,e).getUTCDay()-n)%7+e-1}function Pt(t,n,i,e,r){var s,u,o=1+7*(n-1)+(7+i-e)%7+$t(t,e,r);return o<=0?u=pt(s=t-1)+o:o>pt(t)?(s=t+1,u=o-pt(t)):(s=t,u=o),{year:s,dayOfYear:u}}function qt(t,n,i){var e,r,s=$t(t.year(),n,i),u=Math.floor((t.dayOfYear()-s-1)/7)+1;return u<1?e=u+Ut(r=t.year()-1,n,i):u>Ut(t.year(),n,i)?(e=u-Ut(t.year(),n,i),r=t.year()+1):(r=t.year(),e=u),{week:e,year:r}}function Ut(t,n,i){var e=$t(t,n,i),r=$t(t+1,n,i);return(pt(t)-e+r)/7}function zt(t,n){return t.slice(n,7).concat(t.slice(0,n))}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),ut("w",z,rt),ut("ww",z,$),ut("W",z,rt),ut("WW",z,$),lt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=dt(t)})),F("d",0,"do","day"),F("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),F("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),F("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),ut("d",z),ut("e",z),ut("E",z),ut("dd",(function(t,n){return n.weekdaysMinRegex(t)})),ut("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),ut("dddd",(function(t,n){return n.weekdaysRegex(t)})),lt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:l(i).invalidWeekday=t})),lt(["d","e","E"],(function(t,n,i,e){n[e]=dt(t)}));var Jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=et,Kt=et,Vt=et;function tn(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=c([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=bt.call(this._weekdaysParse,u))?r:null:"ddd"===n?-1!==(r=bt.call(this._shortWeekdaysParse,u))?r:null:-1!==(r=bt.call(this._minWeekdaysParse,u))?r:null:"dddd"===n?-1!==(r=bt.call(this._weekdaysParse,u))||-1!==(r=bt.call(this._shortWeekdaysParse,u))||-1!==(r=bt.call(this._minWeekdaysParse,u))?r:null:"ddd"===n?-1!==(r=bt.call(this._shortWeekdaysParse,u))||-1!==(r=bt.call(this._weekdaysParse,u))||-1!==(r=bt.call(this._minWeekdaysParse,u))?r:null:-1!==(r=bt.call(this._minWeekdaysParse,u))||-1!==(r=bt.call(this._weekdaysParse,u))||-1!==(r=bt.call(this._shortWeekdaysParse,u))?r:null}function nn(){function t(t,n){return n.length-t.length}var n,i,e,r,s,u=[],o=[],a=[],h=[];for(n=0;n<7;n++)i=c([2e3,1]).day(n),e=at(this.weekdaysMin(i,"")),r=at(this.weekdaysShort(i,"")),s=at(this.weekdays(i,"")),u.push(e),o.push(r),a.push(s),h.push(e),h.push(r),h.push(s);u.sort(t),o.sort(t),a.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function en(){return this.hours()%12||12}function rn(t,n){F(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function sn(t,n){return n._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,en),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+en.apply(this)+W(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+en.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+W(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)})),rn("a",!0),rn("A",!1),ut("a",sn),ut("A",sn),ut("H",z,st),ut("h",z,rt),ut("k",z,rt),ut("HH",z,$),ut("hh",z,$),ut("kk",z,$),ut("hmm",J),ut("hmmss",Q),ut("Hmm",J),ut("Hmmss",Q),ct(["H","HH"],Dt),ct(["k","kk"],(function(t,n){var i=dt(t);n[Dt]=24===i?0:i})),ct(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),ct(["h","hh"],(function(t,n,i){n[Dt]=dt(t),l(i).bigHour=!0})),ct("hmm",(function(t,n,i){var e=t.length-2;n[Dt]=dt(t.substr(0,e)),n[wt]=dt(t.substr(e)),l(i).bigHour=!0})),ct("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[Dt]=dt(t.substr(0,e)),n[wt]=dt(t.substr(e,2)),n[St]=dt(t.substr(r)),l(i).bigHour=!0})),ct("Hmm",(function(t,n){var i=t.length-2;n[Dt]=dt(t.substr(0,i)),n[wt]=dt(t.substr(i))})),ct("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[Dt]=dt(t.substr(0,i)),n[wt]=dt(t.substr(i,2)),n[St]=dt(t.substr(e))}));var un,on=_t("Hours",!0),an={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Et,monthsShort:xt,week:{dow:0,doy:6},weekdays:Jt,weekdaysMin:Bt,weekdaysShort:Qt,meridiemParse:/[ap]\.?m?\.?/i},hn={},dn={};function fn(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function cn(t){return t?t.toLowerCase().replace("_","-"):t}function ln(t){var n=null;if(void 0===hn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return!(!t||!t.match("^[^/\\\\]*$"))}(t))try{n=un._abbr,require("./locale/"+t),mn(n)}catch(n){hn[t]=null}return hn[t]}function mn(t,n){var i;return t&&((i=o(n)?yn(t):vn(t,n))?un=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),un._abbr}function vn(t,n){if(null!==n){var i,e=an;if(n.abbr=t,null!=hn[t])p("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),e=hn[t]._config;else if(null!=n.parentLocale)if(null!=hn[n.parentLocale])e=hn[n.parentLocale]._config;else{if(null==(i=ln(n.parentLocale)))return dn[n.parentLocale]||(dn[n.parentLocale]=[]),dn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return hn[t]=new _(H(e,n)),dn[t]&&dn[t].forEach((function(t){vn(t.name,t.config)})),mn(t),hn[t]}return delete hn[t],null}function yn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return un;if(!e(t)){if(n=ln(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=cn(t[s]).split("-")).length,i=(i=cn(t[s+1]))?i.split("-"):null;n>0;){if(e=ln(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&fn(r,i)>=n-1)break;n--}s++}return un}(t)}function Yn(t){var n,i=t._a;return i&&-2===l(t).overflow&&(n=i[Yt]<0||i[Yt]>11?Yt:i[Mt]<1||i[Mt]>Gt(i[yt],i[Yt])?Mt:i[Dt]<0||i[Dt]>24||24===i[Dt]&&(0!==i[wt]||0!==i[St]||0!==i[gt])?Dt:i[wt]<0||i[wt]>59?wt:i[St]<0||i[St]>59?St:i[gt]<0||i[gt]>999?gt:-1,l(t)._overflowDayOfYear&&(n<yt||n>Mt)&&(n=Mt),l(t)._overflowWeeks&&-1===n&&(n=Nt),l(t)._overflowWeekday&&-1===n&&(n=kt),l(t).overflow=n),t}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Dn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],gn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Nn=/^\/?Date\((-?\d+)/i,kn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bn(t){var n,i,e,r,s,u,o=t._i,a=Mn.exec(o)||Dn.exec(o),h=Sn.length,d=gn.length;if(a){for(l(t).iso=!0,n=0,i=h;n<i;n++)if(Sn[n][1].exec(a[1])){r=Sn[n][0],e=!1!==Sn[n][2];break}if(null==r)return void(t._isValid=!1);if(a[3]){for(n=0,i=d;n<i;n++)if(gn[n][1].exec(a[3])){s=(a[2]||" ")+gn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(a[4]){if(!wn.exec(a[4]))return void(t._isValid=!1);u="Z"}t._f=r+(s||"")+(u||""),Tn(t)}else t._isValid=!1}function Hn(t){var n,i,e,r,s,u,o,a,h,d=kn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],e=d[2],r=d[5],s=d[6],u=d[7],o=[(a=d[4],h=parseInt(a,10),h<=49?2e3+h:h<=999?1900+h:h),xt.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],u&&o.push(parseInt(u,10)),!function(t,n,i){return!t||Qt.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(l(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],n=o,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return pn[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(d[8],d[9],d[10]),t._d=Ct.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),l(t).rfc2822=!0}else t._isValid=!1}function _n(t,n,i){return null!=t?t:null!=n?n:i}function Wn(t){var n,e,r,s,u,o=[];if(!t._d){for(r=function(t){var n=new Date(i.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Mt]&&null==t._a[Yt]&&function(t){var n,i,e,r,s,u,o,a,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,u=4,i=_n(n.GG,t._a[yt],qt(xn(),1,4).year),e=_n(n.W,1),((r=_n(n.E,1))<1||r>7)&&(a=!0)):(s=t._locale._week.dow,u=t._locale._week.doy,h=qt(xn(),s,u),i=_n(n.gg,t._a[yt],h.year),e=_n(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(a=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(a=!0)):r=s),e<1||e>Ut(i,s,u)?l(t)._overflowWeeks=!0:null!=a?l(t)._overflowWeekday=!0:(o=Pt(i,e,r,s,u),t._a[yt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(u=_n(t._a[yt],r[yt]),(t._dayOfYear>pt(u)||0===t._dayOfYear)&&(l(t)._overflowDayOfYear=!0),e=Ct(u,0,t._dayOfYear),t._a[Yt]=e.getUTCMonth(),t._a[Mt]=e.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=r[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Dt]&&0===t._a[wt]&&0===t._a[St]&&0===t._a[gt]&&(t._nextDay=!0,t._a[Dt]=0),t._d=(t._useUTC?Ct:It).apply(null,o),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Dt]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(l(t).weekdayMismatch=!0)}}function Tn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],l(t).empty=!0;var n,e,r,s,u,o,a,h=""+t._i,d=h.length,f=0;for(a=(r=A(t._f,t._locale).match(T)||[]).length,n=0;n<a;n++)(e=(h.match(ot(s=r[n],t))||[])[0])&&((u=h.substr(0,h.indexOf(e))).length>0&&l(t).unusedInput.push(u),h=h.slice(h.indexOf(e)+e.length),f+=e.length),x[s]?(e?l(t).empty=!1:l(t).unusedTokens.push(s),mt(s,e,t)):t._strict&&!e&&l(t).unusedTokens.push(s);l(t).charsLeftOver=d-f,h.length>0&&l(t).unusedInput.push(h),t._a[Dt]<=12&&!0===l(t).bigHour&&t._a[Dt]>0&&(l(t).bigHour=void 0),l(t).parsedDateParts=t._a.slice(0),l(t).meridiem=t._meridiem,t._a[Dt]=function(t,n,i){var e;return null==i?n:null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[Dt],t._meridiem),null!==(o=l(t).era)&&(t._a[yt]=t._locale.erasConvertYear(o,t._a[yt])),Wn(t),Yn(t)}else Hn(t);else bn(t)}function Gn(t){var n=t._i,s=t._f;return t._locale=t._locale||yn(t._l),null===n||void 0===s&&""===n?v({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),w(n)?new D(Yn(n)):(h(n)?t._d=n:e(s)?function(t){var n,i,e,r,s,u,o=!1,a=t._f.length;if(0===a)return l(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<a;r++)s=0,u=!1,n=M({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],Tn(n),m(n)&&(u=!0),s+=l(n).charsLeftOver,s+=10*l(n).unusedTokens.length,l(n).score=s,o?s<e&&(e=s,i=n):(null==e||s<e||u)&&(e=s,i=n,u&&(o=!0));f(t,i||n)}(t):s?Tn(t):function(t){var n=t._i;o(n)?t._d=new Date(i.now()):h(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Nn.exec(t._i);null===n?(bn(t),!1===t._isValid&&(delete t._isValid,Hn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):e(n)?(t._a=d(n.slice(0),(function(t){return parseInt(t,10)})),Wn(t)):r(n)?function(t){if(!t._d){var n=R(t._i);t._a=d([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),Wn(t)}}(t):a(n)?t._d=new Date(n):i.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function En(t,n,i,s,o){var a,h={};return!0!==n&&!1!==n||(s=n,n=void 0),!0!==i&&!1!==i||(s=i,i=void 0),(r(t)&&u(t)||e(t)&&0===t.length)&&(t=void 0),h._isAMomentObject=!0,h._useUTC=h._isUTC=o,h._l=i,h._i=t,h._f=n,h._strict=s,(a=new D(Yn(Gn(h))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function xn(t,n,i,e){return En(t,n,i,e,!1)}i.createFromInputFallback=g("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Fn=g("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),On=g("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=xn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function An(t,n){var i,r;if(1===n.length&&e(n[0])&&(n=n[0]),!n.length)return xn();for(i=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][t](i)||(i=n[r]);return i}var Ln=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jn(t){var n=R(t),i=n.year||0,e=n.quarter||0,r=n.month||0,u=n.week||n.isoWeek||0,o=n.day||0,a=n.hour||0,h=n.minute||0,d=n.second||0,f=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=Ln.length;for(n in t)if(s(t,n)&&(-1===bt.call(Ln,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[Ln[i]]){if(e)return!1;parseFloat(t[Ln[i]])!==dt(t[Ln[i]])&&(e=!0)}return!0}(n),this._milliseconds=+f+1e3*d+6e4*h+1e3*a*60*60,this._days=+o+7*u,this._months=+r+3*e+12*i,this._data={},this._locale=yn(),this._bubble()}function Rn(t){return t instanceof jn}function Zn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function In(t,n){F(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+W(~~(t/60),2)+n+W(~~t%60,2)}))}In("Z",":"),In("ZZ",""),ut("Z",it),ut("ZZ",it),ct(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=$n(it,t)}));var Cn=/([\+\-]|\d\d)/gi;function $n(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(Cn)||["-",0,0])[1]+dt(i[2]))?0:"+"===i[0]?e:-e}function Pn(t,n){var e,r;return n._isUTC?(e=n.clone(),r=(w(t)||h(t)?t.valueOf():xn(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),i.updateOffset(e,!1),e):xn(t).local()}function qn(t){return-Math.round(t._d.getTimezoneOffset())}function Un(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var zn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Jn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qn(t,n){var i,e,r,u,o,h,d=t,f=null;return Rn(t)?d={ms:t._milliseconds,d:t._days,M:t._months}:a(t)||!isNaN(+t)?(d={},n?d[n]=+t:d.milliseconds=+t):(f=zn.exec(t))?(i="-"===f[1]?-1:1,d={y:0,d:dt(f[Mt])*i,h:dt(f[Dt])*i,m:dt(f[wt])*i,s:dt(f[St])*i,ms:dt(Zn(1e3*f[gt]))*i}):(f=Jn.exec(t))?d={y:Bn(f[2],i="-"===f[1]?-1:1),M:Bn(f[3],i),w:Bn(f[4],i),d:Bn(f[5],i),h:Bn(f[6],i),m:Bn(f[7],i),s:Bn(f[8],i)}:null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(u=xn(d.from),o=xn(d.to),r=u.isValid()&&o.isValid()?(o=Pn(o,u),u.isBefore(o)?h=Xn(u,o):((h=Xn(o,u)).milliseconds=-h.milliseconds,h.months=-h.months),h):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),e=new jn(d),Rn(t)&&s(t,"_locale")&&(e._locale=t._locale),Rn(t)&&s(t,"_isValid")&&(e._isValid=t._isValid),e}function Bn(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function Xn(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function Kn(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(p(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),Vn(this,Qn(i,e),t),this}}function Vn(t,n,e,r){var s=n._milliseconds,u=Zn(n._days),o=Zn(n._months);t.isValid()&&(r=null==r||r,o&&jt(t,Wt(t,"Month")+o*e),u&&Tt(t,"Date",Wt(t,"Date")+u*e),s&&t._d.setTime(t._d.valueOf()+s*e),r&&i.updateOffset(t,u||o))}Qn.fn=jn.prototype,Qn.invalid=function(){return Qn(NaN)};var ti=Kn(1,"add"),ni=Kn(-1,"subtract");function ii(t){return"string"==typeof t||t instanceof String}function ei(t,n){if(t.date()<n.date())return-ei(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function ri(t){var n;return void 0===t?this._locale._abbr:(null!=(n=yn(t))&&(this._locale=n),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=g("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ui(){return this._locale}var oi=1e3,ai=6e4,hi=36e5,di=126227808e5;function fi(t,n){return(t%n+n)%n}function ci(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-di:new Date(t,n,i).valueOf()}function li(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-di:Date.UTC(t,n,i)}function mi(t,n){return n.erasAbbrRegex(t)}function vi(){var t,n,i,e,r,s=[],u=[],o=[],a=[],h=this.eras();for(t=0,n=h.length;t<n;++t)i=at(h[t].name),e=at(h[t].abbr),r=at(h[t].narrow),u.push(i),s.push(e),o.push(r),a.push(i),a.push(e),a.push(r);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+u.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function yi(t,n){F(0,[t,t.length],0,n)}function Yi(t,n,i,e,r){var s;return null==t?qt(this,e,r).year:(n>(s=Ut(t,e,r))&&(n=s),Mi.call(this,t,n,i,e,r))}function Mi(t,n,i,e,r){var s=Pt(t,n,i,e,r),u=Ct(s.year,0,s.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),ut("N",mi),ut("NN",mi),ut("NNN",mi),ut("NNNN",(function(t,n){return n.erasNameRegex(t)})),ut("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),ct(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?l(i).era=r:l(i).invalidEra=t})),ut("y",V),ut("yy",V),ut("yyy",V),ut("yyyy",V),ut("yo",(function(t,n){return n._eraYearOrdinalRegex||V})),ct(["y","yy","yyy","yyyy"],yt),ct(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[yt]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),yi("gggg","weekYear"),yi("ggggg","weekYear"),yi("GGGG","isoWeekYear"),yi("GGGGG","isoWeekYear"),ut("G",tt),ut("g",tt),ut("GG",z,$),ut("gg",z,$),ut("GGGG",X,q),ut("gggg",X,q),ut("GGGGG",K,U),ut("ggggg",K,U),lt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=dt(t)})),lt(["gg","GG"],(function(t,n,e,r){n[r]=i.parseTwoDigitYear(t)})),F("Q",0,"Qo","quarter"),ut("Q",C),ct("Q",(function(t,n){n[Yt]=3*(dt(t)-1)})),F("D",["DD",2],"Do","date"),ut("D",z,rt),ut("DD",z,$),ut("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),ct(["D","DD"],Mt),ct("Do",(function(t,n){n[Mt]=dt(t.match(z)[0])}));var Di=_t("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),ut("DDD",B),ut("DDDD",P),ct(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=dt(t)})),F("m",["mm",2],0,"minute"),ut("m",z,st),ut("mm",z,$),ct(["m","mm"],wt);var wi=_t("Minutes",!1);F("s",["ss",2],0,"second"),ut("s",z,st),ut("ss",z,$),ct(["s","ss"],St);var Si,gi,Ni=_t("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ut("S",B,C),ut("SS",B,$),ut("SSS",B,P),Si="SSSS";Si.length<=9;Si+="S")ut(Si,V);function ki(t,n){n[gt]=dt(1e3*("0."+t))}for(Si="S";Si.length<=9;Si+="S")ct(Si,ki);gi=_t("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var pi=D.prototype;function bi(t){return t}pi.add=ti,pi.calendar=function(t,n){var o;1===arguments.length&&(arguments[0]?w(o=arguments[0])||h(o)||ii(o)||a(o)||function(t){var n=e(t),i=!1;return n&&(i=0===t.filter((function(n){return!a(n)&&ii(t)})).length),n&&i}(o)||function(t){var n,i=r(t)&&!u(t),e=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(n=0;n<a;n+=1)e=e||s(t,o[n]);return i&&e}(o)||null==o?(t=arguments[0],n=void 0):function(t){var n,i=r(t)&&!u(t),e=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<o.length;n+=1)e=e||s(t,o[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var d=t||xn(),f=Pn(d,this).startOf("day"),c=i.calendarFormat(this,f)||"sameElse",l=n&&(b(n[c])?n[c].call(this,d):n[c]);return this.format(l||this.localeData().calendar(c,this,xn(d)))},pi.clone=function(){return new D(this)},pi.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=Pn(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=j(n)){case"year":s=ei(this,e)/12;break;case"month":s=ei(this,e);break;case"quarter":s=ei(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:ht(s)},pi.endOf=function(t){var n,e;if(void 0===(t=j(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?li:ci,t){case"year":n=e(this.year()+1,0,1)-1;break;case"quarter":n=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=e(this.year(),this.month()+1,1)-1;break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=hi-fi(n+(this._isUTC?0:this.utcOffset()*ai),hi)-1;break;case"minute":n=this._d.valueOf(),n+=ai-fi(n,ai)-1;break;case"second":n=this._d.valueOf(),n+=oi-fi(n,oi)-1}return this._d.setTime(n),i.updateOffset(this,!0),this},pi.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var n=O(this,t);return this.localeData().postformat(n)},pi.from=function(t,n){return this.isValid()&&(w(t)&&t.isValid()||xn(t).isValid())?Qn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},pi.fromNow=function(t){return this.from(xn(),t)},pi.to=function(t,n){return this.isValid()&&(w(t)&&t.isValid()||xn(t).isValid())?Qn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},pi.toNow=function(t){return this.to(xn(),t)},pi.get=function(t){return b(this[t=j(t)])?this[t]():this},pi.invalidAt=function(){return l(this).overflow},pi.isAfter=function(t,n){var i=w(t)?t:xn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=j(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},pi.isBefore=function(t,n){var i=w(t)?t:xn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=j(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},pi.isBetween=function(t,n,i,e){var r=w(t)?t:xn(t),s=w(n)?n:xn(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i))},pi.isSame=function(t,n){var i,e=w(t)?t:xn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=j(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},pi.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},pi.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},pi.isValid=function(){return m(this)},pi.lang=si,pi.locale=ri,pi.localeData=ui,pi.max=On,pi.min=Fn,pi.parsingFlags=function(){return f({},l(this))},pi.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)s(t,n)&&i.push({unit:n,priority:I[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=R(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(b(this[t=j(t)]))return this[t](n);return this},pi.startOf=function(t){var n,e;if(void 0===(t=j(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?li:ci,t){case"year":n=e(this.year(),0,1);break;case"quarter":n=e(this.year(),this.month()-this.month()%3,1);break;case"month":n=e(this.year(),this.month(),1);break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=e(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=fi(n+(this._isUTC?0:this.utcOffset()*ai),hi);break;case"minute":n=this._d.valueOf(),n-=fi(n,ai);break;case"second":n=this._d.valueOf(),n-=fi(n,oi)}return this._d.setTime(n),i.updateOffset(this,!0),this},pi.subtract=ni,pi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},pi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},pi.toDate=function(){return new Date(this.valueOf())},pi.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?O(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(i,"Z")):O(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},pi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i="moment",e="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+i+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(pi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),pi.toJSON=function(){return this.isValid()?this.toISOString():null},pi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},pi.unix=function(){return Math.floor(this.valueOf()/1e3)},pi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},pi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},pi.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},pi.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},pi.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},pi.eraYear=function(){var t,n,e,r,s=this.localeData().eras();for(t=0,n=s.length;t<n;++t)if(e=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-i(s[t].since).year())*e+s[t].offset;return this.year()},pi.year=Ht,pi.isLeapYear=function(){return vt(this.year())},pi.weekYear=function(t){return Yi.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},pi.isoWeekYear=function(t){return Yi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},pi.quarter=pi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},pi.month=Rt,pi.daysInMonth=function(){return Gt(this.year(),this.month())},pi.week=pi.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},pi.isoWeek=pi.isoWeeks=function(t){var n=qt(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},pi.weeksInYear=function(){var t=this.localeData()._week;return Ut(this.year(),t.dow,t.doy)},pi.weeksInWeekYear=function(){var t=this.localeData()._week;return Ut(this.weekYear(),t.dow,t.doy)},pi.isoWeeksInYear=function(){return Ut(this.year(),1,4)},pi.isoWeeksInISOWeekYear=function(){return Ut(this.isoWeekYear(),1,4)},pi.date=Di,pi.day=pi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=Wt(this,"Day");return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},pi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},pi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},pi.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},pi.hour=pi.hours=on,pi.minute=pi.minutes=wi,pi.second=pi.seconds=Ni,pi.millisecond=pi.milliseconds=gi,pi.utcOffset=function(t,n,e){var r,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=$n(it,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&n&&(r=qn(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==t&&(!n||this._changeInProgress?Vn(this,Qn(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:qn(this)},pi.utc=function(t){return this.utcOffset(0,t)},pi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(qn(this),"m")),this},pi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=$n(nt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},pi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?xn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},pi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},pi.isLocal=function(){return!!this.isValid()&&!this._isUTC},pi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},pi.isUtc=Un,pi.isUTC=Un,pi.zoneAbbr=function(){return this._isUTC?"UTC":""},pi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},pi.dates=g("dates accessor is deprecated. Use date instead.",Di),pi.months=g("months accessor is deprecated. Use month instead",Rt),pi.years=g("years accessor is deprecated. Use year instead",Ht),pi.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),pi.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,n={};return M(n,this),(n=Gn(n))._a?(t=n._isUTC?c(n._a):xn(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var i,e=Math.min(t.length,n.length),r=Math.abs(t.length-n.length),s=0;for(i=0;i<e;i++)dt(t[i])!==dt(n[i])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Hi=_.prototype;function _i(t,n,i,e){var r=yn(),s=c().set(e,n);return r[i](s,t)}function Wi(t,n,i){if(a(t)&&(n=t,t=void 0),t=t||"",null!=n)return _i(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=_i(t,e,i,"month");return r}function Ti(t,n,i,e){"boolean"==typeof t?(a(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,a(n)&&(i=n,n=void 0),n=n||"");var r,s=yn(),u=t?s._week.dow:0,o=[];if(null!=i)return _i(n,(i+u)%7,e,"day");for(r=0;r<7;r++)o[r]=_i(n,(r+u)%7,e,"day");return o}Hi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return b(e)?e.call(n,i):e},Hi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(T).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Hi.invalidDate=function(){return this._invalidDate},Hi.ordinal=function(t){return this._ordinal.replace("%d",t)},Hi.preparse=bi,Hi.postformat=bi,Hi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return b(r)?r(t,n,i,e):r.replace(/%d/i,t)},Hi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return b(i)?i(n):i.replace(/%s/i,n)},Hi.set=function(t){var n,i;for(i in t)s(t,i)&&(b(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Hi.eras=function(){var t,n,e,r=this._eras||yn("en")._eras;for(t=0,n=r.length;t<n;++t)switch("string"==typeof r[t].since&&(e=i(r[t].since).startOf("day"),r[t].since=e.valueOf()),typeof r[t].until){case"undefined":r[t].until=1/0;break;case"string":e=i(r[t].until).startOf("day").valueOf(),r[t].until=e.valueOf()}return r},Hi.erasParse=function(t,n,i){var e,r,s,u,o,a=this.eras();for(t=t.toUpperCase(),e=0,r=a.length;e<r;++e)if(s=a[e].name.toUpperCase(),u=a[e].abbr.toUpperCase(),o=a[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(u===t)return a[e];break;case"NNNN":if(s===t)return a[e];break;case"NNNNN":if(o===t)return a[e]}else if([s,u,o].indexOf(t)>=0)return a[e]},Hi.erasConvertYear=function(t,n){var e=t.since<=t.until?1:-1;return void 0===n?i(t.since).year():i(t.since).year()+(n-t.offset)*e},Hi.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||vi.call(this),t?this._erasAbbrRegex:this._erasRegex},Hi.erasNameRegex=function(t){return s(this,"_erasNameRegex")||vi.call(this),t?this._erasNameRegex:this._erasRegex},Hi.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||vi.call(this),t?this._erasNarrowRegex:this._erasRegex},Hi.months=function(t,n){return t?e(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ft).test(n)?"format":"standalone"][t.month()]:e(this._months)?this._months:this._months.standalone},Hi.monthsShort=function(t,n){return t?e(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ft.test(n)?"format":"standalone"][t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Hi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Lt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=c([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},Hi.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=At),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Hi.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ot),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Hi.week=function(t){return qt(t,this._week.dow,this._week.doy).week},Hi.firstDayOfYear=function(){return this._week.doy},Hi.firstDayOfWeek=function(){return this._week.dow},Hi.weekdays=function(t,n){var i=e(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?zt(i,this._week.dow):t?i[t.day()]:i},Hi.weekdaysMin=function(t){return!0===t?zt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Hi.weekdaysShort=function(t){return!0===t?zt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Hi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return tn.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=c([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},Hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||nn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||nn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||nn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Hi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===dt(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),i.lang=g("moment.lang is deprecated. Use moment.locale instead.",mn),i.langData=g("moment.langData is deprecated. Use moment.localeData instead.",yn);var Gi=Math.abs;function Ei(t,n,i,e){var r=Qn(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function xi(t){return t<0?Math.floor(t):Math.ceil(t)}function Fi(t){return 4800*t/146097}function Oi(t){return 146097*t/4800}function Ai(t){return function(){return this.as(t)}}var Li=Ai("ms"),ji=Ai("s"),Ri=Ai("m"),Zi=Ai("h"),Ii=Ai("d"),Ci=Ai("w"),$i=Ai("M"),Pi=Ai("Q"),qi=Ai("y"),Ui=Li;function zi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ji=zi("milliseconds"),Qi=zi("seconds"),Bi=zi("minutes"),Xi=zi("hours"),Ki=zi("days"),Vi=zi("months"),te=zi("years"),ne=Math.round,ie={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ee(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var re=Math.abs;function se(t){return(t>0)-(t<0)||+t}function ue(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,u,o,a=re(this._milliseconds)/1e3,h=re(this._days),d=re(this._months),f=this.asSeconds();return f?(t=ht(a/60),n=ht(t/60),a%=60,t%=60,i=ht(d/12),d%=12,e=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=f<0?"-":"",s=se(this._months)!==se(f)?"-":"",u=se(this._days)!==se(f)?"-":"",o=se(this._milliseconds)!==se(f)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?u+h+"D":"")+(n||t||a?"T":"")+(n?o+n+"H":"")+(t?o+t+"M":"")+(a?o+e+"S":"")):"P0D"}var oe=jn.prototype;oe.isValid=function(){return this._isValid},oe.abs=function(){var t=this._data;return this._milliseconds=Gi(this._milliseconds),this._days=Gi(this._days),this._months=Gi(this._months),t.milliseconds=Gi(t.milliseconds),t.seconds=Gi(t.seconds),t.minutes=Gi(t.minutes),t.hours=Gi(t.hours),t.months=Gi(t.months),t.years=Gi(t.years),this},oe.add=function(t,n){return Ei(this,t,n,1)},oe.subtract=function(t,n){return Ei(this,t,n,-1)},oe.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=j(t))||"quarter"===t||"year"===t)switch(i=this._months+Fi(n=this._days+e/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(Oi(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},oe.asMilliseconds=Li,oe.asSeconds=ji,oe.asMinutes=Ri,oe.asHours=Zi,oe.asDays=Ii,oe.asWeeks=Ci,oe.asMonths=$i,oe.asQuarters=Pi,oe.asYears=qi,oe.valueOf=Ui,oe._bubble=function(){var t,n,i,e,r,s=this._milliseconds,u=this._days,o=this._months,a=this._data;return s>=0&&u>=0&&o>=0||s<=0&&u<=0&&o<=0||(s+=864e5*xi(Oi(o)+u),u=0,o=0),a.milliseconds=s%1e3,t=ht(s/1e3),a.seconds=t%60,n=ht(t/60),a.minutes=n%60,i=ht(n/60),a.hours=i%24,u+=ht(i/24),o+=r=ht(Fi(u)),u-=xi(Oi(r)),e=ht(o/12),o%=12,a.days=u,a.months=o,a.years=e,this},oe.clone=function(){return Qn(this)},oe.get=function(t){return t=j(t),this.isValid()?this[t+"s"]():NaN},oe.milliseconds=Ji,oe.seconds=Qi,oe.minutes=Bi,oe.hours=Xi,oe.days=Ki,oe.weeks=function(){return ht(this.days()/7)},oe.months=Vi,oe.years=te,oe.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=ie;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},ie,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=Qn(t).abs(),s=ne(r.as("s")),u=ne(r.as("m")),o=ne(r.as("h")),a=ne(r.as("d")),h=ne(r.as("M")),d=ne(r.as("w")),f=ne(r.as("y")),c=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||u<=1&&["m"]||u<i.m&&["mm",u]||o<=1&&["h"]||o<i.h&&["hh",o]||a<=1&&["d"]||a<i.d&&["dd",a];return null!=i.w&&(c=c||d<=1&&["w"]||d<i.w&&["ww",d]),(c=c||h<=1&&["M"]||h<i.M&&["MM",h]||f<=1&&["y"]||["yy",f])[2]=n,c[3]=+t>0,c[4]=e,ee.apply(null,c)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},oe.toISOString=ue,oe.toString=ue,oe.toJSON=ue,oe.locale=ri,oe.localeData=ui,oe.toIsoString=g("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ue),oe.lang=si,F("X",0,0,"unix"),F("x",0,0,"valueOf"),ut("x",tt),ut("X",/[+-]?\d+(\.\d{1,3})?/),ct("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),ct("x",(function(t,n,i){i._d=new Date(dt(t))})),
|
7
|
-
//! moment.js
|
8
|
-
i.version="2.30.1",t=xn,i.fn=pi,i.min=function(){return An("isBefore",[].slice.call(arguments,0))},i.max=function(){return An("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=c,i.unix=function(t){return xn(1e3*t)},i.months=function(t,n){return Wi(t,n,"months")},i.isDate=h,i.locale=mn,i.invalid=v,i.duration=Qn,i.isMoment=w,i.weekdays=function(t,n,i){return Ti(t,n,i,"weekdays")},i.parseZone=function(){return xn.apply(null,arguments).parseZone()},i.localeData=yn,i.isDuration=Rn,i.monthsShort=function(t,n){return Wi(t,n,"monthsShort")},i.weekdaysMin=function(t,n,i){return Ti(t,n,i,"weekdaysMin")},i.defineLocale=vn,i.updateLocale=function(t,n){if(null!=n){var i,e,r=an;null!=hn[t]&&null!=hn[t].parentLocale?hn[t].set(H(hn[t]._config,n)):(null!=(e=ln(t))&&(r=e._config),n=H(r,n),null==e&&(n.abbr=t),(i=new _(n)).parentLocale=hn[t],hn[t]=i),mn(t)}else null!=hn[t]&&(null!=hn[t].parentLocale?(hn[t]=hn[t].parentLocale,t===mn()&&mn(t)):null!=hn[t]&&delete hn[t]);return hn[t]},i.locales=function(){return N(hn)},i.weekdaysShort=function(t,n,i){return Ti(t,n,i,"weekdaysShort")},i.normalizeUnits=j,i.relativeTimeRounding=function(t){return void 0===t?ne:"function"==typeof t&&(ne=t,!0)},i.relativeTimeThreshold=function(t,n){return void 0!==ie[t]&&(void 0===n?ie[t]:(ie[t]=n,"s"===t&&(ie.ss=n-1),!0))},i.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=pi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ae=(t,n=",")=>null!=t?`${t}`.replace(/\B(?=(\d{3})+(?!\d))/g,n):"",he=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),de=t=>{if(0===(null==t?void 0:t.length))return"";let n,e,r=99999999999;const s=new Date(Date.now());return t.forEach(((u,o)=>{const a=new Date(u.schedules[0].startTime),h=new Date(u.schedules[0].endTime);i(h).diff(s)<r&&(r=i(h).diff(s),e=o),i(s).isAfter(a)&&i(s).isBefore(h)&&(n=t[e].name)})),n},fe=t=>{var n,i;return{winner:t.Winner,color:t.Color,location:{column:null===(n=t.Location)||void 0===n?void 0:n.Column,row:null===(i=t.Location)||void 0===i?void 0:i.Row},ties:0|t.Ties,score:t.Score,playerPair:t.PlayerPair,bankerPair:t.BankerPair}};export{de as a,fe as c,i as h,he as i,ae as n}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import{r as e,c as t,h as i}from"./p-13741d4d.js";import{c as n,i as a}from"./p-d2580653.js";import{G as o,a as r,W as s}from"./p-2d02adb1.js";import{t as l}from"./p-59ceeaaa.js";var h,c,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={exports:{}};
|
2
|
-
/** @license
|
3
|
-
* eventsource.js
|
4
|
-
* Available under MIT License (MIT)
|
5
|
-
* https://github.com/Yaffle/EventSource/
|
6
|
-
*/
|
7
|
-
h=m,c=m.exports,function(e){var t=e.setTimeout,i=e.clearTimeout,n=e.XMLHttpRequest,a=e.XDomainRequest,o=e.ActiveXObject,r=e.EventSource,s=e.document,l=e.Promise,d=e.fetch,m=e.Response,u=e.TextDecoder,g=e.TextEncoder,f=e.AbortController;if("undefined"==typeof window||void 0===s||"readyState"in s||null!=s.body||(s.readyState="loading",window.addEventListener("load",(function(){s.readyState="complete"}),!1)),null==n&&null!=o&&(n=function(){return new o("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==f){var p=d;d=function(e,t){var i=t.signal;return p(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return i._reader=t,i._aborted&&i._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function v(){this.bitsNeeded=0,this.codePoint=0}v.prototype.decode=function(e){function t(e,t,i){if(1===i)return e>=128>>t&&e<<t<=2047;if(2===i)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===i)return e>=65536>>t&&e<<t<=1114111;throw new Error}function i(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var n=65533,a="",o=this.bitsNeeded,r=this.codePoint,s=0;s<e.length;s+=1){var l=e[s];0!==o&&(l<128||l>191||!t(r<<6|63&l,o-6,i(o,r)))&&(o=0,r=n,a+=String.fromCharCode(r)),0===o?(l>=0&&l<=127?(o=0,r=l):l>=192&&l<=223?(o=6,r=31&l):l>=224&&l<=239?(o=12,r=15&l):l>=240&&l<=247?(o=18,r=7&l):(o=0,r=n),0===o||t(r,o,i(o,r))||(o=0,r=n)):(o-=6,r=r<<6|63&l),0===o&&(r<=65535?a+=String.fromCharCode(r):(a+=String.fromCharCode(55296+(r-65535-1>>10)),a+=String.fromCharCode(56320+(r-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=r,a},null!=u&&null!=g&&function(){try{return"test"===(new u).decode((new g).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(u=v);var w=function(){};function b(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function I(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function C(e){for(var t=Object.create(null),i=e.split("\r\n"),n=0;n<i.length;n+=1){var a=i[n].split(": "),o=a.shift(),r=a.join(": ");t[I(o)]=r}this._map=t}function M(){}function L(e){this._headers=e}function G(){}function y(){this._listeners=Object.create(null)}function x(e){t((function(){throw e}),0)}function T(e){this.type=e,this.target=void 0}function j(e,t){T.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function N(e,t){T.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function A(e,t){T.call(this,e),this.error=t.error}b.prototype.open=function(e,a){this._abort(!0);var o=this,r=this._xhr,s=1,l=0;this._abort=function(e){0!==o._sendTimeout&&(i(o._sendTimeout),o._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,r.onload=w,r.onerror=w,r.onabort=w,r.onprogress=w,r.onreadystatechange=w,r.abort(),0!==l&&(i(l),l=0),e||(o.readyState=4,o.onabort(null),o.onreadystatechange())),s=0};var h=function(){if(1===s){var e=0,t="",i=void 0;if("contentType"in r)e=200,t="OK",i=r.contentType;else try{e=r.status,t=r.statusText,i=r.getResponseHeader("Content-Type")}catch(n){e=0,t="",i=void 0}0!==e&&(s=2,o.readyState=2,o.status=e,o.statusText=t,o._contentType=i,o.onreadystatechange())}},c=function(){if(h(),2===s||3===s){s=3;var e="";try{e=r.responseText}catch(e){}o.readyState=3,o.responseText=e,o.onprogress()}},d=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:w}),c(),1===s||2===s||3===s){if(s=4,0!==l&&(i(l),l=0),o.readyState=4,"load"===e)o.onload(t);else if("error"===e)o.onerror(t);else{if("abort"!==e)throw new TypeError;o.onabort(t)}o.onreadystatechange()}},m=function(){l=t((function(){m()}),500),3===r.readyState&&c()};"onload"in r&&(r.onload=function(e){d("load",e)}),"onerror"in r&&(r.onerror=function(e){d("error",e)}),"onabort"in r&&(r.onabort=function(e){d("abort",e)}),"onprogress"in r&&(r.onprogress=c),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){null!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||d(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||c():2===r.readyState&&h())}(e)}),!("contentType"in r)&&"ontimeout"in n.prototype||(a+=(-1===a.indexOf("?")?"?":"&")+"padding=true"),r.open(e,a,!0),"readyState"in r&&(l=t((function(){m()}),0))},b.prototype.abort=function(){this._abort(!1)},b.prototype.getResponseHeader=function(){return this._contentType},b.prototype.setRequestHeader=function(e,t){var i=this._xhr;"setRequestHeader"in i&&i.setRequestHeader(e,t)},b.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},b.prototype.send=function(){if("ontimeout"in n.prototype&&("sendAsBinary"in n.prototype||"mozAnon"in n.prototype)||null==s||null==s.readyState||"complete"===s.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var i=this;i._sendTimeout=t((function(){i._sendTimeout=0,i.send()}),4)}},C.prototype.get=function(e){return this._map[I(e)]},null!=n&&null==n.HEADERS_RECEIVED&&(n.HEADERS_RECEIVED=2),M.prototype.open=function(e,t,i,a,o,r,s){e.open("GET",o);var l=0;for(var h in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,i(t)},e.onerror=function(e){e.preventDefault(),a(new Error("NetworkError"))},e.onload=function(){a(null)},e.onabort=function(){a(null)},e.onreadystatechange=function(){if(e.readyState===n.HEADERS_RECEIVED){var i=e.status,a=e.statusText,o=e.getResponseHeader("Content-Type"),r=e.getAllResponseHeaders();t(i,a,o,new C(r))}},e.withCredentials=r,s)Object.prototype.hasOwnProperty.call(s,h)&&e.setRequestHeader(h,s[h]);return e.send(),e},L.prototype.get=function(e){return this._headers.get(e)},G.prototype.open=function(e,t,i,n,a,o,r){var s=null,h=new f,c=h.signal,m=new u;return d(a,{headers:r,credentials:o?"include":"same-origin",signal:c,cache:"no-store"}).then((function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new L(e.headers)),new l((function(e,t){var n=function(){s.read().then((function(t){if(t.done)e(void 0);else{var a=m.decode(t.value,{stream:!0});i(a),n()}})).catch((function(e){t(e)}))};n()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){n(e)})),{abort:function(){null!=s&&s.cancel(),h.abort()}}},y.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var i=t.length,n=0;n<i;n+=1){var a=t[n];try{"function"==typeof a.handleEvent?a.handleEvent(e):a.call(this,e)}catch(e){x(e)}}},y.prototype.addEventListener=function(e,t){e=String(e);var i=this._listeners,n=i[e];null==n&&(i[e]=n=[]);for(var a=!1,o=0;o<n.length;o+=1)n[o]===t&&(a=!0);a||n.push(t)},y.prototype.removeEventListener=function(e,t){e=String(e);var i=this._listeners,n=i[e];if(null!=n){for(var a=[],o=0;o<n.length;o+=1)n[o]!==t&&a.push(n[o]);0===a.length?delete i[e]:i[e]=a}},j.prototype=Object.create(T.prototype),N.prototype=Object.create(T.prototype),A.prototype=Object.create(T.prototype);var F=/^text\/event\-stream(;.*)?$/i,D=function(e,t){var i=null==e?t:parseInt(e,10);return i!=i&&(i=t),k(i)},k=function(e){return Math.min(Math.max(e,1e3),18e6)},z=function(e,t,i){try{"function"==typeof t&&t.call(e,i)}catch(e){x(e)}};function O(e,o){y.call(this),o=o||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,o,r){o=String(o);var s=Boolean(r.withCredentials),l=r.lastEventIdQueryParameterName||"lastEventId",h=k(1e3),c=D(r.heartbeatTimeout,45e3),d="",m=h,u=!1,g=0,f=r.headers||{},p=r.Transport,v=S&&null==p?void 0:new b(null!=p?new p:null!=n&&"withCredentials"in n.prototype||null==a?new n:new a),w=null!=p&&"string"!=typeof p?new p:null==v?new G:new M,I=void 0,C=0,L=-1,y="",x="",T="",O="",E=0,B=0,U=0,Q=function(t,i,n,a){if(0===L)if(200===t&&null!=n&&F.test(n)){L=1,u=Date.now(),m=h,e.readyState=1;var o=new N("open",{status:t,statusText:i,headers:a});e.dispatchEvent(o),z(e,e.onopen,o)}else{var r="";200!==t?(i&&(i=i.replace(/\s+/g," ")),r="EventSource's response has a status "+t+" "+i+" that is not 200. Aborting the connection."):r="EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",W(),o=new N("error",{status:t,statusText:i,headers:a}),e.dispatchEvent(o),z(e,e.onerror,o),console.error(r)}},Y=function(n){if(1===L){for(var a=-1,o=0;o<n.length;o+=1)(l=n.charCodeAt(o))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(a=o);var r=(-1!==a?O:"")+n.slice(0,a+1);O=(-1===a?O:"")+n.slice(a+1),""!==n&&(u=Date.now(),g+=n.length);for(var s=0;s<r.length;s+=1){var l=r.charCodeAt(s);if(-1===E&&l==="\n".charCodeAt(0))E=0;else if(-1===E&&(E=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==E){1===E&&(U=s+1);var f=r.slice(B,U-1),p=r.slice(U+(U<s&&r.charCodeAt(U)===" ".charCodeAt(0)?1:0),s);"data"===f?(y+="\n",y+=p):"id"===f?x=p:"event"===f?T=p:"retry"===f?(h=D(p,h),m=h):"heartbeatTimeout"===f&&(c=D(p,c),0!==C&&(i(C),C=t((function(){R()}),c)))}if(0===E){if(""!==y){d=x,""===T&&(T="message");var v=new j(T,{data:y.slice(1),lastEventId:x});if(e.dispatchEvent(v),"open"===T?z(e,e.onopen,v):"message"===T?z(e,e.onmessage,v):"error"===T&&z(e,e.onerror,v),2===L)return}y="",T=""}E=l==="\r".charCodeAt(0)?-1:0}else 0===E&&(B=s,E=1),1===E?l===":".charCodeAt(0)&&(U=s+1,E=2):2===E&&(E=3)}}},P=function(n){if(1===L||0===L){L=-1,0!==C&&(i(C),C=0),C=t((function(){R()}),m),m=k(Math.min(16*h,2*m)),e.readyState=0;var a=new A("error",{error:n});e.dispatchEvent(a),z(e,e.onerror,a),null!=n&&console.error(n)}},W=function(){L=2,null!=I&&(I.abort(),I=void 0),0!==C&&(i(C),C=0),e.readyState=2},R=function(){if(C=0,-1===L){u=!1,g=0,C=t((function(){R()}),c),L=0,y="",T="",x=d,O="",B=0,U=0,E=0;var i=o;if("data:"!==o.slice(0,5)&&"blob:"!==o.slice(0,5)&&""!==d){var n=o.indexOf("?");i=-1===n?o:o.slice(0,n+1)+o.slice(n+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(e,t){return t===l?"":e})),i+=(-1===o.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var a=e.withCredentials,r={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(r[h]=s[h]);try{I=w.open(v,Q,Y,P,i,a,r)}catch(e){throw W(),e}}else if(u||null==I){var m=Math.max((u||Date.now())+c-Date.now(),1);u=!1,C=t((function(){R()}),m)}else P(new Error("No activity within "+c+" milliseconds. "+(0===L?"No response received.":g+" chars received.")+" Reconnecting.")),null!=I&&(I.abort(),I=void 0)};e.url=o,e.readyState=0,e.withCredentials=s,e.headers=f,e._close=W,R()}(this,e,o)}var S=null!=d&&null!=m&&"body"in m.prototype;(O.prototype=Object.create(y.prototype)).CONNECTING=0,O.prototype.OPEN=1,O.prototype.CLOSED=2,O.prototype.close=function(){this._close()},O.CONNECTING=0,O.OPEN=1,O.CLOSED=2,O.prototype.withCredentials=void 0;var E,B=r;null==n||null!=r&&"withCredentials"in r.prototype||(B=O),E=function(e){e.EventSourcePolyfill=O,e.NativeEventSource=r,e.EventSource=B}(c),void 0!==E&&(h.exports=E)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:d:globalThis);const u=class{constructor(i){e(this,i),this.toggleFavoriteCasinoGameEvent=t(this,"toggleCasinoGameFavorite",7),this.language="en",this.clientStyling="",this.clientStylingUrl="",this.integratedGameframeMobile=!1,this.integratedGameframeDesktop=!1,this.loadDetails=!1,this.showRoundBoard=!1,this.gameCategory="",this.platform="PC",this.thumbnailLoaded=!1,this.containerClassWhenDetailChange="",this.isUserLoggedIn=!1,this.limitStylingAppends=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.stylingContainer.prepend(t)}),1)})).catch((e=>{console.error("error ",e)}))},this.getGameCategoryType=()=>this.isLiveCasino&&this.gameCategory&&this.getWidgetTypeByGameCategory(this.gameCategory)?`casino-extrainfo-${this.getWidgetTypeByGameCategory(this.gameCategory).toLowerCase()}`:"casino-normal-game-thumbnail",this.getGameContainerClass=()=>{let e="GameContainer ";return this.gameInfo&&this.gameInfo&&this.gameInfo.details&&(e+=" ListGame ",this.gameInfo.details.isOpen&&this.gameInfo.details.currentRouletteNumbers&&(e+=" GameBackdrop ")),e}}onSessionChanged(){this.isUserLoggedIn=!(!this.session||!this.userId)}onTableFullChanged(e,t){null!=t&&(this.containerClassWhenDetailChange=e&&!t?"PulsatingRedShadow":"PulsatingGreenShadow")}handleMouseOver(e){this.hover="mouseenter"===e.type}gameFavoritedHandler(e){this.gameInfo.isFavorite=e.detail[this.gameId],this.gameInfo=Object.assign({},this.gameInfo)}connectLiveHandler(){this.toggleConnect()}visibilityConnectHandler(){this.toggleVisibilityConnect()}gameDetailChangeHandler(e){var t,i;let a=JSON.parse(e.data);if(a.needReconnect&&this.liveLobbyConnection)return this.liveLobbyConnection.close(),this.liveLobbyConnection=null,void this.connectGameToLiveLobby();if(!a||a.InternalTableId!=this.gameId)return;let o=a.MessageType;switch(o){case"TableOpened":case"TableClosed":this.gameInfo.details.isOpen=a.Open;break;case"PlayersUpdated":this.gameInfo.details.numberOfPlayers=a.Players;break;case"RouletteResultsUpdated":this.gameInfo.details.currentRouletteNumbers=a.Results;break;case"DoubleBallRouletteResultsUpdated":this.gameInfo.details.currentDoubleBallRouletteNumbers=a.Results;break;case"SeatsUpdated":this.gameInfo.details.currentOccupiedSeats=a.Seats;break;case"DealerChanged":this.gameInfo.details.dealer=a.Dealer;break;case"BaccaratResultsUpdated":if(this.showRoundBoard){const e=a.Results;this.gameInfo.details.results=[],e.forEach((e=>{this.gameInfo.details.results.push(n(e))})),null===(t=this.extraInfoRef)||void 0===t||t.onBaccaratResultChanged(this.gameInfo.details.results)}}this.resetLiveProperties(),null===(i=this.extraInfoRef)||void 0===i||i.onGameDetailUpdated(this.gameInfo.details),window.postMessage({messageType:o,value:e.data})}messageHandler(e){e.data.type!==`AddFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!0),e.data.type!==`RemoveFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!1),"UserSessionID"===e.data.type&&(this.isUserLoggedIn=!0,this.session=e.data.session,this.userId=e.data.userID)}resetLiveProperties(){var e,t;const i=this.gameInfo.details;this.isBlackJack(this.gameCategory.toLowerCase())?this.isTableFull=i.totalSeats==(null===(e=i.currentOccupiedSeats)||void 0===e?void 0:e.length):this.isBaccarat(this.gameCategory.toLowerCase())&&(null===(t=i.baccaratResults)||void 0===t?void 0:t.length)>0&&(this.gameInfo.details.results=[],i.baccaratResults.forEach((e=>{this.gameInfo.details.results.push(n(e))})),delete i.baccaratResults)}isBlackJack(e){return e.toLowerCase()===o.BLACKJACK}isBaccarat(e){return e.toLowerCase()===o.BACCARAT}initCtrlProperties(){var e;this.isLiveCasino&&(null===(e=this.gameInfo)||void 0===e?void 0:e.details)&&this.resetLiveProperties(),this.gameInfo=Object.assign({},this.gameInfo),this.triggerExtraInfoLoad(),this.isLiveCasino&&"connect"===this.connectLive&&this.connectGameToLiveLobby()}parseGameResponse(e){1==e.length&&(this.gameInfo=e[0],this.isLiveCasino?this.gameInfo.details?this.parseGameDetailsResponse():this.loadGameDetailInfo():this.initCtrlProperties())}parseGameDetailsResponse(){this.initCtrlProperties()}connectGameToLiveLobby(){EventSource&&!this.liveLobbyConnection&&(this.liveLobbyConnection=new m.exports.EventSourcePolyfill(`${this.endpoint}/v1/encoder/lobby/updates/${this.gameInfo.vendor.name}/${this.gameInfo.id}`),this.liveLobbyConnection.addEventListener("message",(e=>{this.gameDetailChangeHandler(e)})))}disconnectGameFromLiveLobby(){this.liveLobbyConnection&&(this.liveLobbyConnection.removeEventListener("message"),this.liveLobbyConnection.close(),this.liveLobbyConnection=void 0)}toggleConnect(){this.isLiveCasino&&("disconnect"===this.connectLive?this.disconnectGameFromLiveLobby():"connect"===this.connectLive&&this.connectGameToLiveLobby())}toggleVisibilityConnect(){this.isLiveCasino&&("disconnect"===this.visibilityConnect?this.disconnectGameFromLiveLobby():"connect"===this.visibilityConnect&&"connect"===this.connectLive&&this.connectGameToLiveLobby())}loadGameById(){fetch(`${this.endpoint}/v1/casino/games/${this.gameId}?expand=vendor&platform=${this.platform}&language=${this.language}`).then((e=>e.json())).then((e=>this.parseGameResponse(e))).catch((e=>{console.error(e)}))}loadGameInfoByLobbyEndpoint(){let e=new URL(`${this.livelobbyEndpoint.split("?")[0]}`);e.searchParams.append("expand","vendor"),e.searchParams.append("platform",this.platform),e.searchParams.append("language",this.language),fetch(e.toString()).then((e=>e.json())).then((e=>this.parseGameResponse(e))).catch((e=>console.error(e)))}loadGameDetailInfo(){let e=new URL(`${this.endpoint}/v1/lobby/tables/${this.gameId}`);e.searchParams.append("platform",this.platform),e.searchParams.append("language",this.language),fetch(e.toString()).then((e=>e.json())).then((e=>{(null==e?void 0:e.category)&&(this.gameInfo.details=e,this.parseGameDetailsResponse())})).catch((e=>{console.error(e),setTimeout((()=>this.loadGameDetailInfo()),1e3)}))}toggleFavoriteGame(e){let t="thumbnail";this.gameInfo.isFavorite?window.postMessage({type:"SetUnfavoredGame",gameId:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",gameId:e,triggerFactor:t},window.location.href),this.toggleFavoriteCasinoGameEvent.emit(e)}generateGameInfoByProps(){return{id:this.gameId,name:this.gameName,subVendor:this.subVendor,hasFunMode:this.hasFunMode,hasAnonymousFunMode:this.hasAnonymousFunMode,thumbnail:this.thumbnail,cellSize:this.cellSize,gameTag:this.gameTag,vendor:{href:"",name:this.gameVendor},isFavorite:this.isFavorite,isNew:this.isNew,type:this.type,liveCasinoCategory:this.gameCategory||""}}triggerExtraInfoLoad(){var e,t;this.extraInfoRef=this.extraInfoRef||(null===(e=this.extraInfoSlotRef)||void 0===e?void 0:e.querySelector(this.getGameCategoryType())),null===(t=this.extraInfoRef)||void 0===t||t.onGameLoaded(this.gameInfo),window.postMessage({type:"casinoGameLoaded",gameInfo:this.gameInfo})}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0),this.gameInfo&&this.triggerExtraInfoLoad()}componentDidLoad(){window.addEventListener("message",this.messageHandler)}componentWillLoad(){if(this.isLiveCasino=this.type==r.LIVE_CASINO,this.extraInfoWidget=this.getGameCategoryType(),this.isUserLoggedIn=!(!this.session||!this.userId),!this.isLiveCasino||!this.livelobbyEndpoint)return this.thumbnail?(this.gameInfo=this.generateGameInfoByProps(),void(this.isLiveCasino&&this.endpoint&&this.loadDetails&&this.gameId&&this.loadGameDetailInfo())):void(this.gameId&&this.endpoint&&this.loadGameById());this.loadGameInfoByLobbyEndpoint()}disconnectedCallback(){this.liveLobbyConnection&&this.liveLobbyConnection.removeEventListener("message",this.gameDetailChangeHandler),window.removeEventListener("message",this.messageHandler)}getWidgetTypeByGameCategory(e){return s[e.toLowerCase()]}getGameOverlayProps(){var e,t;return{gameName:this.gameInfo.name,gameId:this.gameInfo.gameId,gameVendor:this.gameVendor||(null===(t=null===(e=this.gameInfo)||void 0===e?void 0:e.vendor)||void 0===t?void 0:t.name),hasFunMode:this.gameInfo.hasFunMode,language:this.language,integratedGameframeMobile:this.integratedGameframeMobile,integratedGameframeDesktop:this.integratedGameframeDesktop,gamepageModalurl:this.gamepageModalurl}}render(){var e,t;if(!this.gameInfo)return i("div",{class:"GameInnerContainer",part:"GameInnerContainer",slot:"Game-Inner"},i("img",{src:this.thumbnail,alt:"",loading:"lazy",part:"GameContainer",class:"GameContainer",onLoad:()=>this.thumbnailLoaded=!0}));const n=this.getGameOverlayProps(),o=(null===(e=this.gameInfo)||void 0===e?void 0:e.thumbnail)||(null===(t=this.gameInfo)||void 0===t?void 0:t.defaultThumbnail),r=this.getGameContainerClass(),s=`GameBg ${this.cellSize?"GameBg-"+this.cellSize:""}\n ${this.hover?" GameContainerHovered":""} ${this.thumbnailLoaded?" Loaded":""}`;return i("div",{class:`${r} ${this.containerClassWhenDetailChange}`,part:`${r} ${this.containerClassWhenDetailChange}`,ref:e=>this.stylingContainer=e,"client-styling":this.clientStyling,"client-styling-url-content":this.clientStylingUrl},i("div",{class:"GameInnerContainer "+(this.hover?"Hovered":""),part:"GameInnerContainer "+(this.hover?"Hovered":"")},i("img",{src:o,alt:"Game Thumbnail ",loading:"lazy",part:s,class:s,onLoad:()=>this.thumbnailLoaded=!0}),this.isUserLoggedIn&&i("div",{class:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),part:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),onClick:()=>this.toggleFavoriteGame(this.gameId)},this.gameInfo.isFavorite?i("slot",{name:"fav-icon"},i("span",{class:"FavoredIcon",part:"FavoredIcon",innerHTML:"data:image/svg+xml;base64,PHN2ZwogIHZlcnNpb249IjEuMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgdmlld0JveD0iMCAwIDE5LjQ4MSAxOS40ODEiCiAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTkuNDgxIDE5LjQ4MSIKPgogIDxwYXRoCiAgICBkPSJtMTAuMjAxLC43NThsMi40NzgsNS44NjUgNi4zNDQsLjU0NWMwLjQ0LDAuMDM4IDAuNjE5LDAuNTg3IDAuMjg1LDAuODc2bC00LjgxMiw0LjE2OSAxLjQ0Miw2LjIwMmMwLjEsMC40MzEtMC4zNjcsMC43Ny0wLjc0NSwwLjU0MWwtNS40NTItMy4yODgtNS40NTIsMy4yODhjLTAuMzc5LDAuMjI4LTAuODQ1LTAuMTExLTAuNzQ1LTAuNTQxbDEuNDQyLTYuMjAyLTQuODEzLTQuMTdjLTAuMzM0LTAuMjg5LTAuMTU2LTAuODM4IDAuMjg1LTAuODc2bDYuMzQ0LS41NDUgMi40NzgtNS44NjRjMC4xNzItMC40MDggMC43NDktMC40MDggMC45MjEsMHoiLz4KPC9zdmc+Cg=="})):i("slot",{name:"UnFavIcon"},!a(window.navigator.userAgent)&&i("span",{class:"UnfavoredIcon",part:"UnfavoredIcon",innerHTML:"data:image/svg+xml;base64,PHN2ZwogIHZlcnNpb249IjEuMSIKICBjbGFzcz0iVW5mYXZvcmVkSWNvbiIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeD0iMjBweCIKICB5PSIyMHB4IgogIHZpZXdCb3g9IjAgMCA1MTIuMDAxIDUxMi4wMDEiCj4KICA8cGF0aAogICAgZD0iTTUxMS4yNjYsMTk3LjI1NmMtMS43NjQtNS40MzEtNi40NTgtOS4zODgtMTIuMTA4LTEwLjIwOWwtMTU4LjcyMi0yMy4wNjVMMjY5LjQ1MiwyMC4xNTUKICAgICAgICAgICAgICAgICAgICAgIGMtMi41MjctNS4xMi03Ljc0MS04LjM2MS0xMy40NTEtOC4zNjFjLTUuNzA5LDAtMTAuOTI0LDMuMjQyLTEzLjQ1MSw4LjM2MWwtNzAuOTg4LDE0My44MjhMMTIuODQzLDE4Ny4wNDcKICAgICAgICAgICAgICAgICAgICAgIGMtNS42NSwwLjgyMS0xMC4zNDQsNC43NzktMTIuMTA4LDEwLjIwOWMtMS43NjUsNS40My0wLjI5MywxMS4zOTEsMy43OTUsMTUuMzc2bDExNC44NDgsMTExLjk1NUw5Mi4yNyw0ODIuNjcKICAgICAgICAgICAgICAgICAgICAgIGMtMC45NjUsNS42MjcsMS4zNDksMTEuMzE1LDUuOTY4LDE0LjY3YzQuNjE4LDMuMzU1LDEwLjc0LDMuNzk4LDE1Ljc5NywxLjE0MkwyNTYsNDIzLjg0NmwxNDEuOTYxLDc0LjYzNwogICAgICAgICAgICAgICAgICAgICAgYzIuMTk1LDEuMTU0LDQuNTkxLDEuNzIzLDYuOTc5LDEuNzIzYzMuMTEsMCw2LjIwNi0wLjk2Niw4LjgxOC0yLjg2NWM0LjYxOS0zLjM1Niw2LjkzMy05LjA0Myw1Ljk2OC0xNC42NzFMMzkyLjYxLDMyNC41ODcKICAgICAgICAgICAgICAgICAgICAgIGwxMTQuODYtMTExLjk1NEM1MTEuNTU5LDIwOC42NDcsNTEzLjAzMSwyMDIuNjg2LDUxMS4yNjYsMTk3LjI1NnogTTM2Ni4wMjMsMzA4LjYwOGMtMy41MzYsMy40NDYtNS4xNSw4LjQxMi00LjMxNCwxMy4yNzgKICAgICAgICAgICAgICAgICAgICAgIGwyMy4zMTEsMTM1Ljg5OGwtMTIyLjAzOC02NC4xNjJjLTQuMzctMi4yOTctOS41OTEtMi4yOTctMTMuOTYxLDBsLTEyMi4wNDUsNjQuMTYzbDIzLjMwNC0xMzUuOQogICAgICAgICAgICAgICAgICAgICAgYzAuODM0LTQuODY2LTAuNzc5LTkuODMtNC4zMTMtMTMuMjc2bC05OC43MzEtOTYuMjQ0bDEzNi40NDUtMTkuODI5YzQuODg2LTAuNzEsOS4xMDgtMy43NzgsMTEuMjk0LTguMjA1TDI1Niw2MC42ODUKICAgICAgICAgICAgICAgICAgICAgIGw2MS4wMjMsMTIzLjY0NWMyLjE4Niw0LjQyNyw2LjQwOCw3LjQ5NiwxMS4yOTQsOC4yMDZsMTM2LjQ0NywxOS44MjhMMzY2LjAyMywzMDguNjA4eiIKICAvPgo8L3N2Zz4K"}))),i("slot",{name:"game-overlay"},i("casino-game-thumbnail-overlay",Object.assign({language:this.language},n))),i("slot",{name:"extra-info",ref:e=>this.extraInfoSlotRef=e},i(this.extraInfoWidget,{language:this.language,"show-round-board":this.showRoundBoard})),i("slot",{name:"game-property-slot"})),this.showGameName&&i("slot",{name:"game-name"},i("p",{class:"GameNameBelow",part:"GameNameBelow",title:n.gameName},n.gameName)))}static get assetsDirs(){return["static"]}static get watchers(){return{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}}};u.style=':host{display:block}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame:hover .OpenSeat,.ListGame .GameInnerContainer .ListGame:hover .ClosedSeat,.ListGame .GameInnerContainer .ListGame:hover .LiveLimits,.ListGame .GameInnerContainer .ListGame:hover .LatestResult,.ListGame .GameInnerContainer .ListGame:hover .FullTable,.ListGame .GameInnerContainer .ListGame:active .OpenSeat,.ListGame .GameInnerContainer .ListGame:active .ClosedSeat,.ListGame .GameInnerContainer .ListGame:active .LiveLimits,.ListGame .GameInnerContainer .ListGame:active .LatestResult,.ListGame .GameInnerContainer .ListGame:active .FullTable{opacity:0.2}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emw--color-white, #FFFFFF) 75%, transparent 75%, var(--emw--color-white, #FFFFFF))}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:16;width:15px;height:15px;opacity:0}.FavIconContainer.Favorited{opacity:1}.FavIconContainer svg path{fill:#fff}.Hovered .FavIconContainer{opacity:1}.GameNameBelow{color:var(--emw--color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}';const g=class{constructor(i){e(this,i),this.playClicked=t(this,"playCasinoGame",7),this.integratedGameframeMobile=!1,this.integratedGameframeDesktop=!1,this.language="en",this.userAgent=window.navigator.userAgent}onPlayNowClicked(){this.playClicked.emit(this.gameId);let e={gameId:this.gameId,isMobile:a(this.userAgent)},t=this.integratedGameframeMobile||this.integratedGameframeDesktop;window.postMessage({type:t?"OpenGameFrame":"ShowGameModal",eventData:t?Object.assign(Object.assign({},e),{gamefunmode:this.hasFunMode,source:"GameThumbnail",identifier:"Lobby"}):e},window.location.href)}render(){return i("div",{key:"b552e85f9652d467595f9603e564387148d81417",class:"GameInfoWrapper",part:"GameInfoWrapper"},i("div",{key:"c8ad8953997fa38e46f076be71c8a26a5a47afcd",class:"GameInfo ",part:"GameInfo "},i("p",{key:"7477d68d364589d8fd2ef80ec15f4457a0f8c69d",class:"GameInfoName",part:"GameInfoName",title:this.gameName}," ",this.gameName," "),i("button",{key:"280a36956cf541b909c8c6269f2bfd0e51ebf07b",class:"GameInfoBtn",part:"GameInfoBtn",onClick:()=>this.onPlayNowClicked()},l("playNow",this.language))),i("slot",{key:"79c3e4ceb605025b5b25be04339a63096cd36e28",name:"vendor-name"},i("span",{key:"fdb2ebaa6eaf1f3e11356aff6c043ed6a0c41a35",class:"GameInfoVendor",part:"GameInfoVendor"},this.gameVendor)))}};g.style=":host{display:block}.GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emw--color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--color-primary-100, #F1BED9)}.GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInfoWrapper:hover{display:block !important}";export{u as casino_game_thumb_view,g as casino_game_thumbnail_overlay}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as t,H as s}from"./p-13741d4d.js";import{R as o,W as a}from"./p-2d02adb1.js";const i=class{constructor(t){e(this,t),this.language="en"}async onGameLoaded(e){var t;this.gameInfo=Object.assign({},e),this.gameDetails=this.gameInfo.details?Object.assign({},this.gameInfo.details):null,null===(t=this.infoWrapperRef)||void 0===t||t.onGameLoaded(e)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameInfo=Object.assign({},this.gameInfo),this.gameDetails=Object.assign({},this.gameDetails)}getRouletteNumberColor(e){return o[e]}render(){var e,o,i,l;const r=!!this.gameDetails&&this.gameDetails.category.toLowerCase()===a.doubleballroulette;let c=(r?null===(e=this.gameDetails)||void 0===e?void 0:e.currentDoubleBallRouletteNumbers:null===(o=this.gameDetails)||void 0===o?void 0:o.currentRouletteNumbers)||[];return t(s,{key:"c7c66e8f51bc9a09b78856342203ebe24fd09231"},t("casino-game-thumbnail-extrainfo",{key:"380e499260501a6126ab6944eed0ea1e1ce3877d",ref:e=>this.infoWrapperRef=e,language:this.language},t("div",{key:"233bbf1c16b1d36ac463a4178ef1724124817890",slot:"category-details",class:"LiveIcons "+((null===(i=this.gameDetails)||void 0===i?void 0:i.isOpen)?"GameBackdrop":""),part:"LiveIcons "+((null===(l=this.gameDetails)||void 0===l?void 0:l.isOpen)?"GameBackdrop":"")},c.slice(0,5).map(((e,s)=>!0===r?t("div",{class:"Double",part:"Double"},t("span",{id:`s${s}0`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[0])}`}," ",e[0]),t("span",{id:`s${s}1`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[1])}`}," ",e[1])):t("span",{id:`s${s}`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e)}`}," ",e))))))}};i.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}';export{i as casino_extrainfo_roulette}
|
File without changes
|
File without changes
|
File without changes
|