@adstore/templates 2.5.0 → 2.5.1
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/CHANGELOG.md +6 -0
- package/dist/style.css +1 -1
- package/dist/templates.es.js +377 -373
- package/dist/templates.umd.js +2 -2
- package/package.json +1 -1
package/dist/templates.umd.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
(function(
|
1
|
+
(function(h,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(h=typeof globalThis!="undefined"?globalThis:h||self,_(h["@adstore/templates"]={},h.preact))})(this,function(h,_){"use strict";var Uu=Object.defineProperty,qu=Object.defineProperties;var Xu=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var _n=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable;var un=(h,_,O)=>_ in h?Uu(h,_,{enumerable:!0,configurable:!0,writable:!0,value:O}):h[_]=O,v=(h,_)=>{for(var O in _||(_={}))_n.call(_,O)&&un(h,O,_[O]);if(it)for(var O of it(_))pn.call(_,O)&&un(h,O,_[O]);return h},w=(h,_)=>qu(h,Xu(_));var kt=(h,_)=>{var O={};for(var W in h)_n.call(h,W)&&_.indexOf(W)<0&&(O[W]=h[W]);if(h!=null&&it)for(var W of it(h))_.indexOf(W)<0&&pn.call(h,W)&&(O[W]=h[W]);return O};var ze=(h,_,O)=>new Promise((W,Me)=>{var S=ee=>{try{y(O.next(ee))}catch(ye){Me(ye)}},se=ee=>{try{y(O.throw(ee))}catch(ye){Me(ye)}},y=ee=>ee.done?W(ee.value):Promise.resolve(ee.value).then(S,se);y((O=O.apply(h,_)).next())});var O=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},W={},Me={get exports(){return W},set exports(e){W=e}};/*!
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
3
3
|
Licensed under the MIT License (MIT), see
|
4
4
|
http://jedwatson.github.io/classnames
|
5
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Me);const S=W;var se,b,ee,ye,$e=0,xt=[],Ve=[],wt=_.options.__b,Ot=_.options.__r,Nt=_.options.diffed,Tt=_.options.__c,Ct=_.options.unmount;function Ae(e,t){_.options.__h&&_.options.__h(b,e,$e||t),$e=0;var o=b.__H||(b.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ve}),o.__[e]}function re(e){return $e=1,fn(Rt,e)}function fn(e,t,o){var n=Ae(se++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Rt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=b,!b.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,l,c,d);var f=!1;return u.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};b.u=!0;var a=b.shouldComponentUpdate,i=b.componentWillUpdate;b.componentWillUpdate=function(l,c,d){if(this.__e){var u=a;a=void 0,r(l,c,d),a=u}i&&i.call(this,l,c,d)},b.shouldComponentUpdate=r}return n.__N||n.__}function F(e,t){var o=Ae(se++,3);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,b.__H.__h.push(o))}function St(e,t){var o=Ae(se++,4);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,b.__h.push(o))}function U(e){return $e=5,Re(function(){return{current:e}},[])}function De(e,t,o){$e=6,St(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Re(e,t){var o=Ae(se++,7);return ct(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function vn(e,t){return $e=8,Re(function(){return e},t)}function hn(e){var t=b.context[e.__c],o=Ae(se++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(b)),t.props.value):e.__}function gn(){for(var e;e=xt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Fe),e.__H.__h.forEach(st),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){b=null,wt&&wt(e)},_.options.__r=function(e){Ot&&Ot(e),se=0;var t=(b=e.__c).__H;t&&(ee===b?(t.__h=[],b.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ve,o.__N=o.i=void 0})):(t.__h.forEach(Fe),t.__h.forEach(st),t.__h=[])),ee=b},_.options.diffed=function(e){Nt&&Nt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(xt.push(t)!==1&&ye===_.options.requestAnimationFrame||((ye=_.options.requestAnimationFrame)||mn)(gn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ve&&(o.__=o.__V),o.i=void 0,o.__V=Ve})),ee=b=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Fe),o.__h=o.__h.filter(function(n){return!n.__||st(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),Tt&&Tt(e,t)},_.options.unmount=function(e){Ct&&Ct(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Fe(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var At=typeof requestAnimationFrame=="function";function mn(e){var t,o=function(){clearTimeout(n),At&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);At&&(t=requestAnimationFrame(o))}function Fe(e){var t=b,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),b=t}function st(e){var t=b;e.__c=e.__(),b=t}function ct(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Rt(e,t){return typeof t=="function"?t(e):t}function jt(e,t){for(var o in t)e[o]=t[o];return e}function It(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Lt(e){this.props=e}(Lt.prototype=new _.Component).isPureReactComponent=!0,Lt.prototype.shouldComponentUpdate=function(e,t){return It(this.props,e)||It(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var bn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(o){var n=jt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=bn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var yn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}yn(e,t,o,n)};var Pt=_.options.unmount;function Bt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=jt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Bt(n,t,o)})),e}function zt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return zt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function lt(){this.__u=0,this.t=null,this.__b=null}function Ht(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ge(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Pt&&Pt(e)},(lt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ht(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=i;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=zt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},lt.prototype.componentWillUnmount=function(){this.t=[]},lt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Bt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Mt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ge.prototype=new _.Component).__a=function(e){var t=this,o=Ht(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Mt(t,e,n)):r()};o?o(a):a()}},Ge.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ge.prototype.componentDidUpdate=Ge.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Mt(e,o,t)})};var $n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,kn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,xn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,wn=/[A-Z0-9]/g,On=typeof document!="undefined",Nn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Vt=_.options.event;function Tn(){}function Cn(){return this.cancelBubble}function Sn(){return this.defaultPrevented}_.options.event=function(e){return Vt&&(e=Vt(e)),e.persist=Tn,e.isPropagationStopped=Cn,e.isDefaultPrevented=Sn,e.nativeEvent=e};var An={enumerable:!1,configurable:!0,get:function(){return this.class}},Dt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||On&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Nn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":xn.test(a)?a=l:n.indexOf("-")===-1&&kn.test(a)?a=a.replace(wn,"-$&").toLowerCase():i===null&&(i=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",An)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=$n,Dt&&Dt(e)};var Ft=_.options.__r;_.options.__r=function(e){Ft&&Ft(e),e.__c};var Gt=_.options.diffed;_.options.diffed=function(e){Gt&&Gt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Rn(){this.__data__=[],this.size=0}var jn=Rn;function In(e,t){return e===t||e!==e&&t!==t}var We=In,Ln=We;function En(e,t){for(var o=e.length;o--;)if(Ln(e[o][0],t))return o;return-1}var Ue=En,Pn=Ue,Bn=Array.prototype,zn=Bn.splice;function Hn(e){var t=this.__data__,o=Pn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():zn.call(t,o,1),--this.size,!0}var Mn=Hn,Vn=Ue;function Dn(e){var t=this.__data__,o=Vn(t,e);return o<0?void 0:t[o][1]}var Fn=Dn,Gn=Ue;function Wn(e){return Gn(this.__data__,e)>-1}var Un=Wn,qn=Ue;function Xn(e,t){var o=this.__data__,n=qn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Kn=Xn,Zn=jn,Jn=Mn,Yn=Fn,Qn=Un,er=Kn;function ke(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}ke.prototype.clear=Zn,ke.prototype.delete=Jn,ke.prototype.get=Yn,ke.prototype.has=Qn,ke.prototype.set=er;var qe=ke,tr=qe;function or(){this.__data__=new tr,this.size=0}var nr=or;function rr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var ar=rr;function ir(e){return this.__data__.get(e)}var sr=ir;function cr(e){return this.__data__.has(e)}var lr=cr,dr=typeof O=="object"&&O&&O.Object===Object&&O,Wt=dr,ur=Wt,_r=typeof self=="object"&&self&&self.Object===Object&&self,pr=ur||_r||Function("return this")(),xe=pr,fr=xe,vr=fr.Symbol,Ut=vr,qt=Ut,Xt=Object.prototype,hr=Xt.hasOwnProperty,gr=Xt.toString,je=qt?qt.toStringTag:void 0;function mr(e){var t=hr.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(a){}var r=gr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var br=mr,yr=Object.prototype,$r=yr.toString;function kr(e){return $r.call(e)}var xr=kr,Kt=Ut,wr=br,Or=xr,Nr="[object Null]",Tr="[object Undefined]",Zt=Kt?Kt.toStringTag:void 0;function Cr(e){return e==null?e===void 0?Tr:Nr:Zt&&Zt in Object(e)?wr(e):Or(e)}var Xe=Cr;function Sr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var de=Sr,Ar=Xe,Rr=de,jr="[object AsyncFunction]",Ir="[object Function]",Lr="[object GeneratorFunction]",Er="[object Proxy]";function Pr(e){if(!Rr(e))return!1;var t=Ar(e);return t==Ir||t==Lr||t==jr||t==Er}var dt=Pr,Br=xe,zr=Br["__core-js_shared__"],Hr=zr,ut=Hr,Jt=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Mr(e){return!!Jt&&Jt in e}var Vr=Mr,Dr=Function.prototype,Fr=Dr.toString;function Gr(e){if(e!=null){try{return Fr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Wr=Gr,Ur=dt,qr=Vr,Xr=de,Kr=Wr,Zr=/[\\^$.*+?()[\]{}|]/g,Jr=/^\[object .+?Constructor\]$/,Yr=Function.prototype,Qr=Object.prototype,ea=Yr.toString,ta=Qr.hasOwnProperty,oa=RegExp("^"+ea.call(ta).replace(Zr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function na(e){if(!Xr(e)||qr(e))return!1;var t=Ur(e)?oa:Jr;return t.test(Kr(e))}var ra=na;function aa(e,t){return e==null?void 0:e[t]}var ia=aa,sa=ra,ca=ia;function la(e,t){var o=ca(e,t);return sa(o)?o:void 0}var _t=la,da=_t,ua=xe,_a=da(ua,"Map"),Yt=_a,pa=_t,fa=pa(Object,"create"),Ke=fa,Qt=Ke;function va(){this.__data__=Qt?Qt(null):{},this.size=0}var ha=va;function ga(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ma=ga,ba=Ke,ya="__lodash_hash_undefined__",$a=Object.prototype,ka=$a.hasOwnProperty;function xa(e){var t=this.__data__;if(ba){var o=t[e];return o===ya?void 0:o}return ka.call(t,e)?t[e]:void 0}var wa=xa,Oa=Ke,Na=Object.prototype,Ta=Na.hasOwnProperty;function Ca(e){var t=this.__data__;return Oa?t[e]!==void 0:Ta.call(t,e)}var Sa=Ca,Aa=Ke,Ra="__lodash_hash_undefined__";function ja(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Aa&&t===void 0?Ra:t,this}var Ia=ja,La=ha,Ea=ma,Pa=wa,Ba=Sa,za=Ia;function we(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}we.prototype.clear=La,we.prototype.delete=Ea,we.prototype.get=Pa,we.prototype.has=Ba,we.prototype.set=za;var Ha=we,eo=Ha,Ma=qe,Va=Yt;function Da(){this.size=0,this.__data__={hash:new eo,map:new(Va||Ma),string:new eo}}var Fa=Da;function Ga(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Wa=Ga,Ua=Wa;function qa(e,t){var o=e.__data__;return Ua(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ze=qa,Xa=Ze;function Ka(e){var t=Xa(this,e).delete(e);return this.size-=t?1:0,t}var Za=Ka,Ja=Ze;function Ya(e){return Ja(this,e).get(e)}var Qa=Ya,ei=Ze;function ti(e){return ei(this,e).has(e)}var oi=ti,ni=Ze;function ri(e,t){var o=ni(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ai=ri,ii=Fa,si=Za,ci=Qa,li=oi,di=ai;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=ii,Oe.prototype.delete=si,Oe.prototype.get=ci,Oe.prototype.has=li,Oe.prototype.set=di;var ui=Oe,_i=qe,pi=Yt,fi=ui,vi=200;function hi(e,t){var o=this.__data__;if(o instanceof _i){var n=o.__data__;if(!pi||n.length<vi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new fi(n)}return o.set(e,t),this.size=o.size,this}var gi=hi,mi=qe,bi=nr,yi=ar,$i=sr,ki=lr,xi=gi;function Ne(e){var t=this.__data__=new mi(e);this.size=t.size}Ne.prototype.clear=bi,Ne.prototype.delete=yi,Ne.prototype.get=$i,Ne.prototype.has=ki,Ne.prototype.set=xi;var wi=Ne,Oi=_t,Ni=function(){try{var e=Oi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),to=Ni,oo=to;function Ti(e,t,o){t=="__proto__"&&oo?oo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var pt=Ti,Ci=pt,Si=We;function Ai(e,t,o){(o!==void 0&&!Si(e[t],o)||o===void 0&&!(t in e))&&Ci(e,t,o)}var no=Ai;function Ri(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),l=i.length;l--;){var c=i[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var ji=Ri,Ii=ji,Li=Ii(),Ei=Li,Je={},Pi={get exports(){return Je},set exports(e){Je=e}};(function(e,t){var o=xe,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,l=i?i.allocUnsafe:void 0;function c(d,u){if(u)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Pi,Je);var Bi=xe,zi=Bi.Uint8Array,Hi=zi,ro=Hi;function Mi(e){var t=new e.constructor(e.byteLength);return new ro(t).set(new ro(e)),t}var Vi=Mi,Di=Vi;function Fi(e,t){var o=t?Di(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Gi=Fi;function Wi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ui=Wi,qi=de,ao=Object.create,Xi=function(){function e(){}return function(t){if(!qi(t))return{};if(ao)return ao(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ki=Xi;function Zi(e,t){return function(o){return e(t(o))}}var Ji=Zi,Yi=Ji,Qi=Yi(Object.getPrototypeOf,Object),io=Qi,es=Object.prototype;function ts(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||es;return e===o}var so=ts,os=Ki,ns=io,rs=so;function as(e){return typeof e.constructor=="function"&&!rs(e)?os(ns(e)):{}}var is=as;function ss(e){return e!=null&&typeof e=="object"}var Ie=ss,cs=Xe,ls=Ie,ds="[object Arguments]";function us(e){return ls(e)&&cs(e)==ds}var _s=us,co=_s,ps=Ie,lo=Object.prototype,fs=lo.hasOwnProperty,vs=lo.propertyIsEnumerable,hs=co(function(){return arguments}())?co:function(e){return ps(e)&&fs.call(e,"callee")&&!vs.call(e,"callee")},uo=hs,gs=Array.isArray,_o=gs,ms=9007199254740991;function bs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ms}var po=bs,ys=dt,$s=po;function ks(e){return e!=null&&$s(e.length)&&!ys(e)}var ft=ks,xs=ft,ws=Ie;function Os(e){return ws(e)&&xs(e)}var Ns=Os,Le={},Ts={get exports(){return Le},set exports(e){Le=e}};function Cs(){return!1}var Ss=Cs;(function(e,t){var o=xe,n=Ss,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,l=i?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Ts,Le);var As=Xe,Rs=io,js=Ie,Is="[object Object]",Ls=Function.prototype,Es=Object.prototype,fo=Ls.toString,Ps=Es.hasOwnProperty,Bs=fo.call(Object);function zs(e){if(!js(e)||As(e)!=Is)return!1;var t=Rs(e);if(t===null)return!0;var o=Ps.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&fo.call(o)==Bs}var Hs=zs,Ms=Xe,Vs=po,Ds=Ie,Fs="[object Arguments]",Gs="[object Array]",Ws="[object Boolean]",Us="[object Date]",qs="[object Error]",Xs="[object Function]",Ks="[object Map]",Zs="[object Number]",Js="[object Object]",Ys="[object RegExp]",Qs="[object Set]",ec="[object String]",tc="[object WeakMap]",oc="[object ArrayBuffer]",nc="[object DataView]",rc="[object Float32Array]",ac="[object Float64Array]",ic="[object Int8Array]",sc="[object Int16Array]",cc="[object Int32Array]",lc="[object Uint8Array]",dc="[object Uint8ClampedArray]",uc="[object Uint16Array]",_c="[object Uint32Array]",w={};w[rc]=w[ac]=w[ic]=w[sc]=w[cc]=w[lc]=w[dc]=w[uc]=w[_c]=!0,w[Fs]=w[Gs]=w[oc]=w[Ws]=w[nc]=w[Us]=w[qs]=w[Xs]=w[Ks]=w[Zs]=w[Js]=w[Ys]=w[Qs]=w[ec]=w[tc]=!1;function pc(e){return Ds(e)&&Vs(e.length)&&!!w[Ms(e)]}var fc=pc;function vc(e){return function(t){return e(t)}}var hc=vc,Ye={},gc={get exports(){return Ye},set exports(e){Ye=e}};(function(e,t){var o=Wt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=l})(gc,Ye);var mc=fc,bc=hc,vo=Ye,ho=vo&&vo.isTypedArray,yc=ho?bc(ho):mc,go=yc;function $c(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var mo=$c,kc=pt,xc=We,wc=Object.prototype,Oc=wc.hasOwnProperty;function Nc(e,t,o){var n=e[t];(!(Oc.call(e,t)&&xc(n,o))||o===void 0&&!(t in e))&&kc(e,t,o)}var Tc=Nc,Cc=Tc,Sc=pt;function Ac(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Sc(o,l,c):Cc(o,l,c)}return o}var Rc=Ac;function jc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Ic=jc,Lc=9007199254740991,Ec=/^(?:0|[1-9]\d*)$/;function Pc(e,t){var o=typeof e;return t=t==null?Lc:t,!!t&&(o=="number"||o!="symbol"&&Ec.test(e))&&e>-1&&e%1==0&&e<t}var bo=Pc,Bc=Ic,zc=uo,Hc=_o,Mc=Le,Vc=bo,Dc=go,Fc=Object.prototype,Gc=Fc.hasOwnProperty;function Wc(e,t){var o=Hc(e),n=!o&&zc(e),r=!o&&!n&&Mc(e),a=!o&&!n&&!r&&Dc(e),i=o||n||r||a,l=i?Bc(e.length,String):[],c=l.length;for(var d in e)(t||Gc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Vc(d,c)))&&l.push(d);return l}var Uc=Wc;function qc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Xc=qc,Kc=de,Zc=so,Jc=Xc,Yc=Object.prototype,Qc=Yc.hasOwnProperty;function el(e){if(!Kc(e))return Jc(e);var t=Zc(e),o=[];for(var n in e)n=="constructor"&&(t||!Qc.call(e,n))||o.push(n);return o}var tl=el,ol=Uc,nl=tl,rl=ft;function al(e){return rl(e)?ol(e,!0):nl(e)}var yo=al,il=Rc,sl=yo;function cl(e){return il(e,sl(e))}var ll=cl,$o=no,dl=Je,ul=Gi,_l=Ui,pl=is,ko=uo,xo=_o,fl=Ns,vl=Le,hl=dt,gl=de,ml=Hs,bl=go,wo=mo,yl=ll;function $l(e,t,o,n,r,a,i){var l=wo(e,o),c=wo(t,o),d=i.get(c);if(d){$o(e,o,d);return}var u=a?a(l,c,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=xo(c),v=!p&&vl(c),k=!p&&!v&&bl(c);u=c,p||v||k?xo(l)?u=l:fl(l)?u=_l(l):v?(f=!1,u=dl(c,!0)):k?(f=!1,u=ul(c,!0)):u=[]:ml(c)||ko(c)?(u=l,ko(l)?u=yl(l):(!gl(l)||hl(l))&&(u=pl(c))):f=!1}f&&(i.set(c,u),r(u,c,n,a,i),i.delete(c)),$o(e,o,u)}var kl=$l,xl=wi,wl=no,Ol=Ei,Nl=kl,Tl=de,Cl=yo,Sl=mo;function Oo(e,t,o,n,r){e!==t&&Ol(t,function(a,i){if(r||(r=new xl),Tl(a))Nl(e,t,i,o,Oo,n,r);else{var l=n?n(Sl(e,i),a,i+"",e,t,r):void 0;l===void 0&&(l=a),wl(e,i,l)}},Cl)}var Al=Oo;function Rl(e){return e}var No=Rl;function jl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Il=jl,Ll=Il,To=Math.max;function El(e,t,o){return t=To(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=To(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(i),Ll(e,this,l)}}var Pl=El;function Bl(e){return function(){return e}}var zl=Bl,Hl=zl,Co=to,Ml=No,Vl=Co?function(e,t){return Co(e,"toString",{configurable:!0,enumerable:!1,value:Hl(t),writable:!0})}:Ml,Dl=Vl,Fl=800,Gl=16,Wl=Date.now;function Ul(e){var t=0,o=0;return function(){var n=Wl(),r=Gl-(n-o);if(o=n,r>0){if(++t>=Fl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ql=Ul,Xl=Dl,Kl=ql,Zl=Kl(Xl),Jl=Zl,Yl=No,Ql=Pl,ed=Jl;function td(e,t){return ed(Ql(e,t,Yl),e+"")}var od=td,nd=We,rd=ft,ad=bo,id=de;function sd(e,t,o){if(!id(o))return!1;var n=typeof t;return(n=="number"?rd(o)&&ad(t,o.length):n=="string"&&t in o)?nd(o[t],e):!1}var cd=sd,ld=od,dd=cd;function ud(e){return ld(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&dd(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var _d=ud,pd=Al,fd=_d;fd(function(e,t,o){pd(e,t,o)});const ue=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(B).join(".");return ue(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(B).join(".");return n[r]=ue(t(r,a,i),t,i),n},{}):e,vd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Qe=()=>{let e={};return{on:(i,l)=>{i in e?e[i].push(l):e[i]=[l]},has:i=>i in e,get:i=>e[i],emit:(i,...l)=>i in e?e[i].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},hd=()=>({name:null,logo:null}),So=()=>({name:null,logo:null}),gd=()=>({factor:null,type:null,outcome:null,value:null}),md=()=>({w1:null,x:null,w2:null}),bd=()=>({w1:null,w2:null}),yd=()=>({one_x_two:md(),one_two:bd()}),Ao=(e,t)=>{const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:h({},(e==null?void 0:e.teams)||{0:So(),1:So()}),league:(e==null?void 0:e.unique_tournament)||hd(),prediction:(e==null?void 0:e.prediction)||gd()};if(t!=null&&t.markets){const n=t.markets.reduce((r,a)=>(r[a]=m(e||{},`markets.${a}`,yd()[a||"one_two"]),r),{});Ee(o,"markets",n)}return o},$d=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),kd=e=>!e&&e==null,B=e=>!kd(e),Ro=e=>typeof e!="object"&&typeof e!="function"||e===null,xd=e=>typeof e=="object"&&!Array.isArray(e)&&B(e),wd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),J=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Q(e,...t){const o=h({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ee=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},Od=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},vt=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Nd=e=>"id"in e&&"root"in e,Td=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),jo=(e,t,o)=>ue(e,(n,r,a)=>Ro(r)||Array.isArray(r)&&r.every(Ro)?o?o(n,[r,m(t,a)],a)?m(t,a,r):r:m(t,a,r):r),Cd=(e,t)=>{try{ue(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},Sd=(e,t)=>{const o=[];return ue(e,(n,r,a)=>(t(n,r,a,o)&&o.push({key:n,value:r,path:a}),r)),o},Io=["desktop","laptop","tablet","mobile"],Ad={mobile:320,tablet:768,laptop:1024,desktop:1920},N={root:"_root_1i41t_1",icon:"_icon_1i41t_5",iconTarget:"_iconTarget_1i41t_17",body:"_body_1i41t_23",bodyOpen:"_bodyOpen_1i41t_31",simpleGift_in:"_simpleGift_in_1i41t_1",close:"_close_1i41t_44",arrow:"_arrow_1i41t_58",container:"_container_1i41t_69",inner:"_inner_1i41t_75",logo:"_logo_1i41t_82",text:"_text_1i41t_89",button:"_button_1i41t_96",buttonAnimated:"_buttonAnimated_1i41t_105",increase:"_increase_1i41t_1",legalGap:"_legalGap_1i41t_109",legalOpen:"_legalOpen_1i41t_113",legal:"_legal_1i41t_109",legalText:"_legalText_1i41t_141",legalButton:"_legalButton_1i41t_159",fadein:"_fadein_1i41t_1",pulse:"_pulse_1i41t_1",gradient:"_gradient_1i41t_1",wiggle:"_wiggle_1i41t_1"};var Rd=0;function s(e,t,o,n,r,a){var i,l,c={};for(l in t)l=="ref"?i=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Rd,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)c[l]===void 0&&(c[l]=i[l]);return _.options.vnode&&_.options.vnode(d),d}const Lo=_.createContext(),_e=({children:e,value:t})=>s(Lo.Provider,{value:t,children:e}),pe=e=>i=>He(this,null,function*(){var l=i,{target:t,id:o,ref:n,state:r}=l,a=kt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Gu);window.ResizeObserver=c.ResizeObserver}return _.render(s(_e,{value:r,children:_.cloneElement(e,h({ref:n,id:o},a))}),t)}),q=()=>hn(Lo),jd=(e={})=>typeof e=="object"&&B(e)&&Io.every(t=>t in e),Id=(e,t)=>e&&ue(e,(o,n)=>{if(jd(n)){const r=n[t];return r&&"parent"in r&&B(r.parent)?h(h({},n[r.parent]),Q(r,"parent")):r}return n}),fe=(e,t)=>Id(e,t),Te=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Ad})=>{const[r,a]=re("desktop"),i=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(h({},n)).sort(([p,v],[k,y])=>v-y),u=((f=d.find(([p,v],k)=>{const[y,T]=d[k+1]||[];return c>=v&&c<T}))==null?void 0:f[0])||"desktop";a(u)};return St(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>i(l)).observe(l),i(l))},[]),r},Eo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),et=(e,t)=>B(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Ld=e=>e.startsWith("px_"),Ed=e=>e.startsWith("percent_"),Pd=(e,t)=>{let o=e,n=t;return Ld(o)&&(o=o.replace("px_",""),n=et(t,"px")),Ed(o)&&(o=o.replace("percent_",""),n=et(t,"%")),{key:o,value:n}},Bd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",zd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Po=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{zd.includes(n)&&(r=et(r,"px"));const{key:a,value:i}=Pd(n,r);if(xd(i)&&(o[a]=Po(i)),o[a]=i,a==="hidden"&&i)return o.display="none",o;if(a==="innerHTML"&&(o.innerHTML=B(i)?`${i}`:""),a==="innerText"&&(o.innerText=B(i)?`${i}`:""),a==="children"&&(o.children=typeof i=="string"?B(i)?`${i}`:"":i),a.includes("borderWidth")&&(o.borderStyle="solid"),a==="corner"&&(o.borderRadius=et(i,"px")),a==="backgroundFit"&&(Eo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=i,o.objectFit=i),a==="backgroundImage"&&B(i)&&(o.backgroundImage=`url(${i})`,o.backgroundRepeat="no-repeat",o.imageSource=i,Eo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),a==="backgroundColorOpacity"&&B(o.backgroundColorOpacity)&&B(o.backgroundColor)){const l=Od(o.backgroundColor);l&&(o.backgroundColor=Td(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return a==="fontFamily"&&/auto/i.test(i)&&(o.fontFamily=Bd),a==="isBold"&&(o.fontWeight=i?"bold":"initial"),a==="isItalic"&&(o.fontStyle=i?"italic":"initial"),a==="isThrough"&&(o.textDecoration=i?"line-through":"initial"),o},e)},Hd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,V=e=>B(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Hd(n)?Po(h({},e[o])):n,t),{}):e,Md=e=>e in document.createElement("div").style||e.startsWith("--"),ae=r=>{var a=r,{children:e,typography:t,accentTypography:o}=a,n=kt(a,["children","typography","accentTypography"]);var c;const i=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([u,f])=>{Md(u)&&(d+=`${wd(u)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${i}">$1</span>`);return s("div",x(h({},n),{style:t,dangerouslySetInnerHTML:{__html:l}}))},Bo=()=>{const[e,t]=re(!1);return[e,()=>t(o=>!o)]},Ce=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),ht=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Vd=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),zo=(e,t)=>{var u,f,p,v,k,y,T,L,E,C,P,z,G;const o=Vd(t),n=V(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(k=n==null?void 0:n.container)==null?void 0:k.borderColor,borderTopStyle:"solid",borderLeftWidth:(y=n==null?void 0:n.container)==null?void 0:y.borderWidth,borderLeftColor:(T=n==null?void 0:n.container)==null?void 0:T.borderColor,borderLeftStyle:"solid"},i={left:(L=n==null?void 0:n.container)==null?void 0:L.left},l=(((E=n==null?void 0:n.icon)==null?void 0:E.animations)||[]).map($=>o[$]).join(", "),c=B((C=n==null?void 0:n.icon)==null?void 0:C.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(z=n.icon)==null?void 0:z.backgroundColor} 0%, ${(G=n==null?void 0:n.icon)==null?void 0:G.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=h(x(h({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},ve=e=>{const t=new Set([]);ue(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Re(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);F(()=>{o.forEach(vd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Dd=["borderWidth","borderColor","borderStyle"],Ho=["imageSource","objectFit"],tt=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),Gd=e=>console.log(`Noop AdFox reach goal: ${e}`),Wd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=re(!1),a=U(null),i=c=>{clearTimeout(a.current),a.current=null},l=()=>{i(a.current),r(c=>!c)};return F(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),F(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Mo=({ref:e,openDelay:t})=>{const o=U(Qe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:i,toggle:l}=Wd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return De(e,()=>({onOpen:n,onClick:r,onAutoOpen:a,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isOpen:i,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Ud=le(({id:e},t)=>{var L,E,C,P,z,G,$,M,H;const o=U(null),[n,r]=Bo(),a=q(),i=Te({targetRef:o,id:e}),l=fe(a,i),c=V(l),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=zo(l,{fade:N.fadein,pulse:N.pulse,wiggle:N.wiggle,gradient:N.gradient}),{isOpen:v,toggle:k,click:y}=Mo({ref:t,openDelay:(L=l==null?void 0:l.container)==null?void 0:L.delay});ve(l);const T=n?J(c.container,...Dd):{};return s("div",{className:S(N.root,{[N.legalOpen]:n}),ref:o,children:[s("div",{className:N.icon,style:u,onClick:k,children:d&&s("div",{className:N.iconTarget,children:s(ht,{})})}),s("div",{className:S(N.body,{[N.bodyOpen]:v}),style:f,children:[s("div",{className:N.arrow,style:p}),s("div",{className:N.close,style:c==null?void 0:c.close,onClick:k,children:s(Ce,{})}),s("div",{className:N.container,style:c==null?void 0:c.container,children:[s("a",{href:(E=c==null?void 0:c.root)==null?void 0:E.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>y(c.id),children:[s("div",{className:N.inner,children:[s("div",{className:N.logo,style:c==null?void 0:c.logo}),s(ae,{className:N.text,style:c==null?void 0:c.text,typography:(C=c.text)==null?void 0:C.typography,accentTypography:(P=c.text)==null?void 0:P.accentTypography,children:(z=c==null?void 0:c.text)==null?void 0:z.children})]}),s("div",{className:S(N.button,{[N.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(G=c==null?void 0:c.button)==null?void 0:G.children})]}),s("div",{className:N.legalGap}),s("div",{className:N.legal,style:h(h({},c==null?void 0:c.legal),T),children:s("span",{className:N.legalText,children:s("span",{children:[s("span",{children:($=c==null?void 0:c.legal)==null?void 0:$.children}),s("span",{className:N.legalButton,onClick:r,children:n?(M=c==null?void 0:c.legal)==null?void 0:M.buttonOpenText:(H=c==null?void 0:c.legal)==null?void 0:H.buttonHideText})]})})})]})]})]})}),qd=pe(s(Ud,{})),A={root:"_root_g8256_1",icon:"_icon_g8256_5",iconTarget:"_iconTarget_g8256_17",body:"_body_g8256_23",desktop:"_desktop_g8256_30",tablet:"_tablet_g8256_30",laptop:"_laptop_g8256_30",bodyOpen:"_bodyOpen_g8256_34",complexGift_in:"_complexGift_in_g8256_1",arrow:"_arrow_g8256_47",container:"_container_g8256_57",promotion:"_promotion_g8256_62",close:"_close_g8256_68",head:"_head_g8256_82",headIcon:"_headIcon_g8256_88",headTitle:"_headTitle_g8256_94",inner:"_inner_g8256_101",fadein:"_fadein_g8256_1",pulse:"_pulse_g8256_1",gradient:"_gradient_g8256_1",wiggle:"_wiggle_g8256_1"},te={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Xd=({onClick:e})=>{var n,r,a,i,l,c,d;const t=q(),o=V(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(te.root,{[te.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:te.body,children:[s("div",{className:te.line,style:o.line}),s("div",{className:te.bodyInner,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.text,style:o.text,children:s(ae,{typography:(a=o.text)==null?void 0:a.typography,accentTypography:(i=o.text)==null?void 0:i.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:te.button,style:o.button,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:te.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Kd=le(({id:e},t)=>{var L,E,C,P;const o=U(null),n=q(),r=Te({targetRef:o,id:e}),a=fe(n,r),i=V(a),{isOpen:l,click:c,toggle:d}=Mo({ref:t,openDelay:(L=a==null?void 0:a.container)==null?void 0:L.delay});ve(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:v}=zo(a,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),k=(E=i==null?void 0:i.title)==null?void 0:E.hasIcon,y=J(i==null?void 0:i.title,...tt),T=Q(i==null?void 0:i.title,...tt);return s("div",{ref:o,className:S(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[s("div",{className:A.icon,style:f,onClick:d,children:u&&s("div",{className:A.iconTarget,children:s(ht,{})})}),s("div",{className:S(A.body,{[A.bodyOpen]:l}),style:p,children:[s("div",{className:A.arrow,style:v}),s("div",{className:A.container,style:i.container,children:[s("div",{className:A.close,style:i.close,onClick:d,children:s(Ce,{})}),s("div",{className:A.head,style:y,children:[k&&s("div",{className:A.headIcon,style:J(i.title,"color"),children:s(ht,{})}),s("div",{className:A.headTitle,style:T,children:(C=i.title)==null?void 0:C.children})]}),s("div",{className:A.inner,children:(i.children||[]).map(z=>s(_e,{value:z,children:s(Xd,{onClick:c})}))}),s("div",{className:A.promotion,style:i.promotion,children:(P=i.promotion)==null?void 0:P.children})]})]})]})}),Zd=pe(s(Kd,{})),K={root:"_root_5qxnz_1",background:"_background_5qxnz_11",content:"_content_5qxnz_19",laptop:"_laptop_5qxnz_28",desktop:"_desktop_5qxnz_32",wrapper:"_wrapper_5qxnz_36",overlay:"_overlay_5qxnz_40",close:"_close_5qxnz_46",body:"_body_5qxnz_55",logo:"_logo_5qxnz_64",text:"_text_5qxnz_70",button:"_button_5qxnz_74",legal:"_legal_5qxnz_89"},he=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Jd={root:"_root_mj8hr_1"},Yd=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:Jd.root,style:t.root,children:s(ae,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},gt=(e,t=0)=>{const o=U(Qe()),[n,r]=re(!1),[a,i]=re(),l=v=>o.current.on("visible",v),c=v=>o.current.on("click",v),d=v=>o.current.on("clickHide",v),u=()=>He(this,null,function*(){yield $d(+t),r(!0)}),f=()=>r(!1),p=()=>{o.current.emit("clickHide"),f()};return F(()=>{o.current.emit("visible",n)},[n]),De(e,()=>({onVisible:l,onClick:c,onClickHide:d,show:u,hide:f,setApiHost:i,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isOpen:n,apiHost:a,show:u,hide:f,clickHide:p,click:(...v)=>{f(),o.current.emit("click",...v)}}};function Qd(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const eu=le(({id:e,className:t},o)=>{var P,z,G,$,M,H;const n=U(null),r=U(null),a=Te({targetRef:n,id:e}),i=q(),[l,c]=re(!1),d=fe(i,a);ve(d),Ee(d,"button.percent_width",(P=d==null?void 0:d.button)==null?void 0:P.width),Ee(d,"legal.percent_width",(z=d==null?void 0:d.legal)==null?void 0:z.width);const u=V(d),f=m(u,"root.delay",0),{isOpen:p,clickHide:v,click:k}=gt(o,f);F(()=>{const Z=r.current;if(!Z)return;if(Qd(Z)){c(!0);return}const be=()=>c(!0);return Z.addEventListener("load",be),()=>{Z.removeEventListener("load",be)}},[u]);const y={alignItems:he((G=u.root)==null?void 0:G.align)},T=x(h({},u==null?void 0:u.button),{justifyContent:he(($=u.root)==null?void 0:$.textAlign)}),L=x(h({},u==null?void 0:u.legal),{justifyContent:he((M=u.root)==null?void 0:M.textAlign)}),E=Q(u.root,...Ho,...Y),C=J(u.root,...Ho);return s("div",{className:S(K.root,t),ref:n,style:{display:p&&l?"flex":"none"},children:[s("div",{className:K.overlay,style:u.overlay,onClick:v}),s("div",{className:K.wrapper,children:[s("div",{className:K.close,style:Q(u.close,"backgroundColor"),onClick:v,children:s(Ce,{})}),s("a",{href:(H=u.root)==null?void 0:H.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(K.content,{[K.desktop]:a==="desktop",[K.tablet]:a==="tablet",[K.laptop]:a==="laptop"}),style:E,onClick:()=>k(u.id),children:[s("img",{ref:r,className:K.background,src:C.imageSource,alt:"",style:C}),s("div",{className:K.body,style:y,children:[s("div",{className:K.logo,style:u.logo}),s("div",{className:K.text,children:((u==null?void 0:u.children)||[]).map(Z=>s(_e,{value:Z,children:s(Yd,{})}))}),s("div",{className:K.button,style:T,children:T==null?void 0:T.children}),s("div",{className:K.legal,style:L,children:L==null?void 0:L.children})]})]})]})]})}),tu=pe(s(eu,{})),ce={root:"_root_krw01_1",content:"_content_krw01_11",desktop:"_desktop_krw01_23",laptop:"_laptop_krw01_23",overlay:"_overlay_krw01_28",close:"_close_krw01_34",title:"_title_krw01_43",wrapper:"_wrapper_krw01_58"},oe={root:"_root_1gwqg_1",desktop:"_desktop_1gwqg_9",laptop:"_laptop_1gwqg_9",header:"_header_1gwqg_14",logo:"_logo_1gwqg_25",container:"_container_1gwqg_32",body:"_body_1gwqg_43",text:"_text_1gwqg_60",button:"_button_1gwqg_75",legal:"_legal_1gwqg_93"},ou=({onClick:e})=>{var r,a,i,l,c,d;const t=q(),o=V(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(oe.root,{[oe.desktop]:n==="desktop",[oe.laptop]:n==="laptop"}),style:Q(o.root,...tt),onClick:()=>e(o.id),children:[s("div",{className:oe.header,style:o.header,children:s("div",{className:oe.logo,style:o.logo})}),s("div",{className:oe.container,style:J(o.root,...tt),children:[s("div",{className:oe.body,children:[s("div",{className:oe.logo,style:o.logo}),s(ae,{className:oe.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(i=o.text)==null?void 0:i.accentTypography,children:(l=o.text)==null?void 0:l.children})]}),s("div",{children:[s(ae,{className:oe.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),s(ae,{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})]})]})},nu=le(({id:e},t)=>{var f;const o=U(null),n=Te({targetRef:o,id:e}),r=q(),a=fe(r,n),i=V(a);ve(a);const l=m(i,"root.delay",0),{isOpen:c,clickHide:d,click:u}=gt(t,l);return s("div",{className:ce.root,style:{display:c?"flex":"none"},children:[s("div",{className:ce.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:S(ce.content,{[ce.desktop]:n==="desktop",[ce.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:ce.close,style:Q(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s(ae,{className:ce.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:ce.wrapper,children:(i.children||[]).map(p=>s(_e,{value:x(h({},p),{device:n}),children:s(ou,{onClick:u})}))})]})]})}),ru=pe(s(nu,{})),D={root:"_root_v3g4u_1",content:"_content_v3g4u_11",close:"_close_v3g4u_19",overlay:"_overlay_v3g4u_28",body:"_body_v3g4u_34",desktop:"_desktop_v3g4u_42",laptop:"_laptop_v3g4u_42",tablet:"_tablet_v3g4u_46",head:"_head_v3g4u_51",title:"_title_v3g4u_61",logo:"_logo_v3g4u_74",wrapper:"_wrapper_v3g4u_81",text:"_text_v3g4u_88",button:"_button_v3g4u_96",buttonHead:"_buttonHead_v3g4u_111",buttonTarget:"_buttonTarget_v3g4u_128",legal:"_legal_v3g4u_142"},R={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},au=()=>{const e=q(),t=V(e),o=(e==null?void 0:e.device)||"desktop",n=x(h({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=x(h({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:S(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop"}),children:[s("div",{className:R.left,children:[s("div",{className:R.teams,children:[s("img",{className:R.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:R.logo,src:r.backgroundImage,style:r})]}),s("div",{className:R.body,children:[s("div",{className:R.league,style:t.league,children:m(t,"match.league.name")}),s("div",{className:R.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),s("div",{className:R.right,children:[s("div",{className:R.team,children:[s("img",{className:R.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:R.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),s("div",{className:R.odd,children:[s("div",{className:R.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:R.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),s("div",{className:R.team,children:[s("img",{className:R.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:R.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Vo=(e,{pause:t,params:o,method:n,body:r})=>{const[a,i]=re(),l=Re(()=>{let d=e;if(o){const u=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{u.append(f,p)}),d+=u}return d},[e,o]),c=vn(()=>He(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());i(d.data)}),[l,t,n,r]);return F(()=>{t||c()},[l,t]),{data:a,execute:c}};function Do(e){const t=U();return F(()=>{t.current=e},[e]),t.current}const iu=(e,t)=>{const o=d=>{var u;return B(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),a=Do(r),{data:i,execute:l}=Vo(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return F(()=>{vt(a,r)||l()},[r]),n.map(d=>{const u=(i||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Ao(u),p=jo(f,d.root.customMatch,(v,[k,y])=>B(y));return x(h({},d),{match:p})}).filter(Boolean)},su=le(({id:e},t)=>{var E,C,P,z,G,$,M,H,Z,be,ze,ln,dn;const o=U(null),n=Te({targetRef:o,id:e}),r=q(),a=fe(r,n);Ee(a,"buttonWrapper.percent_width",(E=a==null?void 0:a.buttonWrapper)==null?void 0:E.width),Ee(a,"legal.percent_width",(C=a==null?void 0:a.legal)==null?void 0:C.width);const i=V(a);ve(a);const l=m(i,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=gt(t,l),p=iu(a,d),v=x(h({},i.root),{alignItems:he((P=i.root)==null?void 0:P.align)}),k=x(h({},i.content),{alignItems:he((z=i.root)==null?void 0:z.align)}),y=x(h({},i.text),{textAlign:(G=i.root)==null?void 0:G.align}),T=x(h({},i==null?void 0:i.button),{justifyContent:he(($=i.root)==null?void 0:$.textAlign)}),L=x(h({},i==null?void 0:i.legal),{justifyContent:he((M=i.root)==null?void 0:M.textAlign)});return s("div",{className:S(D.root,{[D.desktop]:n==="desktop",[D.laptop]:n==="laptop",[D.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:D.overlay,style:i.overlay,onClick:u}),s("div",{className:D.content,children:[s("div",{className:D.close,style:Q(i.close,"backgroundColor"),onClick:u,children:s(Ce,{})}),s("a",{ref:o,href:(H=i.root)==null?void 0:H.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(i.id),children:s("div",{className:D.body,style:v,children:[s("div",{className:D.head,children:[s("div",{className:D.title,style:i.title,children:(Z=i.title)==null?void 0:Z.children}),s("div",{className:D.logo,style:i.logo})]}),s("div",{className:D.wrapper,style:k,children:(p||[]).map(Wu=>s(_e,{value:x(h({},Wu),{device:n}),children:s(au,{})}))}),s(ae,{className:D.text,style:y,typography:y.typography,accentTypography:y.accentTypography,children:(be=i.text)==null?void 0:be.children}),s("div",{className:D.button,style:i.buttonWrapper,children:[s("div",{className:D.buttonHead,style:i.buttonHead,children:(ze=i.buttonHead)==null?void 0:ze.children}),s("div",{className:D.buttonTarget,style:T,children:(ln=i.button)==null?void 0:ln.children})]}),s(ae,{className:D.legal,style:L,children:(dn=i.legal)==null?void 0:dn.children})]})})]})]})}),cu=pe(s(su,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},lu=({onClick:e})=>{var a,i,l,c,d,u,f,p;const t=q(),o=V(t),[n,r]=Bo();return s("div",{className:ne.root,style:Q(o.root,...Y),children:[s("div",{className:ne.background,style:J(o.root,...Y)}),s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:S(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},du=e=>{const t=U(Qe()),o=n=>t.current.on("click",n);return De(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},uu=le((e,t)=>{const o=U(null),n=q(),a=fe(n,"mobile"),i=V(a);ve(a);const{click:l}=du(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(c=>s(_e,{value:c,children:s(lu,{onClick:l})}))})}),_u=pe(s(uu,{})),j={root:"_root_7lh71_1",desktop:"_desktop_7lh71_13",laptop:"_laptop_7lh71_14",promotion:"_promotion_7lh71_18",background:"_background_7lh71_34",close:"_close_7lh71_43",content:"_content_7lh71_52",variant2:"_variant2_7lh71_65",logo:"_logo_7lh71_69",left:"_left_7lh71_81",center:"_center_7lh71_95",slide:"_slide_7lh71_101",slide_animated_default:"_slide_animated_default_7lh71_115","fade-in-out":"_fade-in-out_7lh71_1","slide_animated_bottom-top":"_slide_animated_bottom-top_7lh71_118","fade-in-bottom-out-top":"_fade-in-bottom-out-top_7lh71_1","slide_animated_top-bottom":"_slide_animated_top-bottom_7lh71_121",right:"_right_7lh71_125",buttonWrapper:"_buttonWrapper_7lh71_140",button:"_button_7lh71_140",button_animated:"_button_animated_7lh71_171",increase:"_increase_7lh71_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_7lh71_1"},Fo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},pu=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:S(Fo.root,{[Fo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Q(t.root,...Y),children:s(ae,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},I={root:"_root_lfyf5_1",title:"_title_lfyf5_8",desktop:"_desktop_lfyf5_13",laptop:"_laptop_lfyf5_13",titleLabel:"_titleLabel_lfyf5_17",tablet:"_tablet_lfyf5_20",titleValue:"_titleValue_lfyf5_27",teamLogo:"_teamLogo_lfyf5_38",teams:"_teams_lfyf5_49",teamName:"_teamName_lfyf5_57",odds:"_odds_lfyf5_65",odd:"_odd_lfyf5_65",oddX:"_oddX_lfyf5_77",oddValue:"_oddValue_lfyf5_85"},fu=()=>{var r,a;const e=q(),t=V(e);Q(t.root,...Y);const o=x(h({},J(t.root,...Y)),{backgroundImage:m(t,"match.teams[0].logo"),backgroundColor:"transparent"}),n=x(h({},J(t.root,...Y)),{backgroundImage:m(t,"match.teams[1].logo"),backgroundColor:"transparent"});return s("div",{className:S(I.root,{[I.desktop]:e.device==="desktop",[I.laptop]:e.device==="laptop",[I.tablet]:e.device==="tablet"}),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:I.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:I.odds,children:[s("div",{className:I.odd,children:[s("img",{className:I.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:I.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddX,style:t.coef,children:"X"}),s("div",{className:I.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),s("div",{className:I.odd,children:[s("img",{className:I.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:I.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:I.teams,children:[s("div",{className:I.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:I.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},X={root:"_root_17xbr_1",title:"_title_17xbr_8",titleLabel:"_titleLabel_17xbr_12",tablet:"_tablet_17xbr_16",desktop:"_desktop_17xbr_19",laptop:"_laptop_17xbr_19",titleValue:"_titleValue_17xbr_23",team:"_team_17xbr_34",teamLogo:"_teamLogo_17xbr_44",teamName:"_teamName_17xbr_72",teamValue:"_teamValue_17xbr_84"},vu=()=>{var r,a;const e=q(),t=V(e),o=x(h(h({},J(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:m(t,"match.teams[0].logo")}),n=x(h(h({},J(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:S(X.root,{[X.desktop]:(e==null?void 0:e.device)==="desktop",[X.laptop]:(e==null?void 0:e.device)==="laptop",[X.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Q(t.root,...Y),children:[s("div",{className:X.title,children:[s("div",{className:X.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:X.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:X.team,children:[s("img",{className:X.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:X.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:X.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),s("div",{className:X.team,children:[s("img",{className:X.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:X.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),s("div",{className:X.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},hu=(e=[])=>{var a;const t=e.length,[o,n]=re(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return F(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},gu=(e,t="root")=>{const o=U(),n=(e==null?void 0:e.yaReachGoal)||Fd,r=(e==null?void 0:e.adfoxReachGoal)||Gd,a=B(e)?J(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return F(()=>{vt(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},mu={matches:"one_x_two",matchesOneTwo:"one_two"},Go=e=>[mu[e]],bu=(e,t)=>{const o=d=>{var u;return B(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>x(h({},d.root.targetMatch),{markets:Go(d.name)})),a=Do(r),{data:i,execute:l}=Vo(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return F(()=>{vt(a,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(i||[]).find(k=>k.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Go(d.name),p=Ao(u,{markets:f}),v=jo(p,d.root.customMatch,(k,[y,T])=>B(T));return x(h({},d),{match:v})}return d}).filter(Boolean)},yu=e=>{const t=U(Qe()),[o,n]=re(!1),[r,a]=re(),i=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>He(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return F(()=>{t.current.emit("visible",o)},[o]),De(e,()=>({onVisible:i,onClick:l,onClickHide:c,show:d,hide:u,setApiHost:a,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:u,clickHide:f,click:(...p)=>{u(),t.current.emit("click",...p)}}},$u=3700,ku=le(({id:e},t)=>{var E,C,P,z,G;const o=U(null),n=q(),r=Te({id:e,targetRef:o}),a=fe(n,r),i=V(a),l=gu(a);ve(a);const{apiHost:c,isOpen:d,clickHide:u}=yu(t),f=bu(i,c),p=$=>({text:s(pu,{}),matches:s(fu,{}),matchesOneTwo:s(vu,{})})[$],v=f.filter(Boolean).map($=>{var M,H;return x(h({},$),{animationName:(M=$==null?void 0:$.root)==null?void 0:M.animationName,animationDuration:((H=$==null?void 0:$.root)==null?void 0:H.animationDuration)||$u})}),k=hu(v),y=V(v[k]||{}),T=Q(i.root,...Y),L=(E=y==null?void 0:y.root)!=null&&E.hasCustomBackground?J((y==null?void 0:y.root)||{},...Y):J(i.root,...Y);return s("div",{ref:o,className:S(j.root,{[j.desktop]:r==="desktop",[j.laptop]:r==="laptop",[j.tablet]:r==="tablet",[j.variant2]:((C=i.root)==null?void 0:C.variant)==="variant2"}),style:x(h({},T),{display:d?"block":"none"}),children:[s("div",{className:j.close,style:i.close,onClick:u,children:s(Ce,{})}),s("a",{href:(P=i.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:l,children:[s("div",{className:j.background,style:L}),s("div",{className:j.promotion,style:i.promotion,children:(z=i.promotion)==null?void 0:z.children}),s("div",{className:j.content,children:[s("div",{className:j.left,children:s("div",{className:j.logo,style:i.logo})}),s("div",{className:j.center,children:(v||[]).map(($,M)=>{var H,Z;return s("div",{className:j.slide,style:{animationName:k===M?j[((H=$.root)==null?void 0:H.animationName)||"fade-in-out"]:"none",animationDuration:`${(Z=$.root)==null?void 0:Z.animationDuration}ms`},children:s(_e,{value:x(h({},$),{device:r}),children:p($.name)})})})}),s("div",{className:j.right,children:[s("div",{className:j.logo,style:i.logo}),s("div",{className:j.buttonWrapper,children:s("div",{className:S(j.button,{[j.button_animated]:i.button.$animated}),style:i.button,children:[s("div",{className:j.logo,style:i.logo}),(G=i.button)==null?void 0:G.children]})})]})]})]})]})}),xu=pe(s(ku,{})),wu=(e,t,o,n,r=Io)=>{const a=h({},e);return r.forEach(i=>{a[t]=x(h({},a[t]),{[i]:x(h({},a[t][i]),{[o]:typeof n=="function"?n(m(a,`${t}.${i}.${o}`)):n})})}),a};var ge=[],Ou=function(){return ge.some(function(e){return e.activeTargets.length>0})},Nu=function(){return ge.some(function(e){return e.skippedTargets.length>0})},Wo="ResizeObserver loop completed with undelivered notifications.",Tu=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Wo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Wo),window.dispatchEvent(e)},Pe;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Pe||(Pe={}));var me=function(e){return Object.freeze(e)},Uo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,me(this)}return e}(),qo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,me(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),mt=function(e){return e instanceof SVGElement&&"getBBox"in e},Xo=function(e){if(mt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ko=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Cu=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Be=typeof window!="undefined"?window:{},ot=new WeakMap,Zo=/auto|scroll/,Su=/^tb|vertical/,Au=/msie|trident/i.test(Be.navigator&&Be.navigator.userAgent),ie=function(e){return parseFloat(e||"0")},Se=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Uo((o?t:e)||0,(o?e:t)||0)},Jo=me({devicePixelContentBoxSize:Se(),borderBoxSize:Se(),contentBoxSize:Se(),contentRect:new qo(0,0,0,0)}),Yo=function(e,t){if(t===void 0&&(t=!1),ot.has(e)&&!t)return ot.get(e);if(Xo(e))return ot.set(e,Jo),Jo;var o=getComputedStyle(e),n=mt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Au&&o.boxSizing==="border-box",a=Su.test(o.writingMode||""),i=!n&&Zo.test(o.overflowY||""),l=!n&&Zo.test(o.overflowX||""),c=n?0:ie(o.paddingTop),d=n?0:ie(o.paddingRight),u=n?0:ie(o.paddingBottom),f=n?0:ie(o.paddingLeft),p=n?0:ie(o.borderTopWidth),v=n?0:ie(o.borderRightWidth),k=n?0:ie(o.borderBottomWidth),y=n?0:ie(o.borderLeftWidth),T=f+d,L=c+u,E=y+v,C=p+k,P=l?e.offsetHeight-C-e.clientHeight:0,z=i?e.offsetWidth-E-e.clientWidth:0,G=r?T+E:0,$=r?L+C:0,M=n?n.width:ie(o.width)-G-z,H=n?n.height:ie(o.height)-$-P,Z=M+T+z+E,be=H+L+P+C,ze=me({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(H*devicePixelRatio),a),borderBoxSize:Se(Z,be,a),contentBoxSize:Se(M,H,a),contentRect:new qo(f,c,M,H)});return ot.set(e,ze),ze},Qo=function(e,t,o){var n=Yo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Pe.DEVICE_PIXEL_CONTENT_BOX:return i;case Pe.BORDER_BOX:return r;default:return a}},en=function(){function e(t){var o=Yo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=me([o.borderBoxSize]),this.contentBoxSize=me([o.contentBoxSize]),this.devicePixelContentBoxSize=me([o.devicePixelContentBoxSize])}return e}(),tn=function(e){if(Xo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Ru=function(){var e=1/0,t=[];ge.forEach(function(i){if(i.activeTargets.length!==0){var l=[];i.activeTargets.forEach(function(d){var u=new en(d.target),f=tn(d.target);l.push(u),d.lastReportedSize=Qo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,l,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},on=function(e){ge.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(tn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},ju=function(){var e=0;for(on(e);Ou();)e=Ru(),on(e);return Nu()&&Tu(),e>0},bt,nn=[],Iu=function(){return nn.splice(0).forEach(function(e){return e()})},Lu=function(e){if(!bt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Iu()}).observe(o,n),bt=function(){o.textContent="".concat(t?t--:t++)}}nn.push(e),bt()},Eu=function(e){Lu(function(){requestAnimationFrame(e)})},nt=0,Pu=function(){return!!nt},Bu=250,zu={attributes:!0,characterData:!0,childList:!0,subtree:!0},rn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],an=function(e){return e===void 0&&(e=0),Date.now()+e},yt=!1,Hu=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Bu),!yt){yt=!0;var n=an(t);Eu(function(){var r=!1;try{r=ju()}finally{if(yt=!1,t=n-an(),!Pu())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,zu)};document.body?o():Be.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rn.forEach(function(o){return Be.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),rn.forEach(function(o){return Be.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),$t=new Hu,sn=function(e){!nt&&e>0&&$t.start(),nt+=e,!nt&&$t.stop()},Mu=function(e){return!mt(e)&&!Cu(e)&&getComputedStyle(e).display==="inline"},Vu=function(){function e(t,o){this.target=t,this.observedBox=o||Pe.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Qo(this.target,this.observedBox,!0);return Mu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Du=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),rt=new WeakMap,cn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},at=function(){function e(){}return e.connect=function(t,o){var n=new Du(t,o);rt.set(t,n)},e.observe=function(t,o,n){var r=rt.get(t),a=r.observationTargets.length===0;cn(r.observationTargets,o)<0&&(a&&ge.push(r),r.observationTargets.push(new Vu(o,n&&n.box)),sn(1),$t.schedule())},e.unobserve=function(t,o){var n=rt.get(t),r=cn(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ge.splice(ge.indexOf(n),1),n.observationTargets.splice(r,1),sn(-1))},e.disconnect=function(t){var o=this,n=rt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Fu=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");at.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ko(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");at.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ko(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");at.unobserve(this,t)},e.prototype.disconnect=function(){at.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Gu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Fu,ResizeObserverEntry:en,ResizeObserverSize:Uo},Symbol.toStringTag,{value:"Module"}));g.BonusCard=_u,g.ComplexGift=Zd,g.ComplexPopup=ru,g.ExpressPopup=cu,g.SimpleGift=qd,g.SimplePopup=tu,g.WideCard=xu,g.filterDeep=Sd,g.findDeep=Cd,g.isValidTemplate=Nd,g.modifyState=wu,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|
5
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Me);const S=W;var se,y,ee,ye,$e=0,wt=[],Ve=[],xt=_.options.__b,Ot=_.options.__r,Nt=_.options.diffed,Tt=_.options.__c,Ct=_.options.unmount;function Ae(e,t){_.options.__h&&_.options.__h(y,e,$e||t),$e=0;var o=y.__H||(y.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ve}),o.__[e]}function re(e){return $e=1,fn(Rt,e)}function fn(e,t,o){var n=Ae(se++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Rt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=y,!y.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,l,c,d);var f=!1;return u.forEach(function(p){if(p.__N){var g=p.__[0];p.__=p.__N,p.__N=void 0,g!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};y.u=!0;var a=y.shouldComponentUpdate,i=y.componentWillUpdate;y.componentWillUpdate=function(l,c,d){if(this.__e){var u=a;a=void 0,r(l,c,d),a=u}i&&i.call(this,l,c,d)},y.shouldComponentUpdate=r}return n.__N||n.__}function F(e,t){var o=Ae(se++,3);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,y.__H.__h.push(o))}function St(e,t){var o=Ae(se++,4);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,y.__h.push(o))}function U(e){return $e=5,Re(function(){return{current:e}},[])}function De(e,t,o){$e=6,St(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Re(e,t){var o=Ae(se++,7);return ct(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function vn(e,t){return $e=8,Re(function(){return e},t)}function hn(e){var t=y.context[e.__c],o=Ae(se++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(y)),t.props.value):e.__}function gn(){for(var e;e=wt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Fe),e.__H.__h.forEach(st),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){y=null,xt&&xt(e)},_.options.__r=function(e){Ot&&Ot(e),se=0;var t=(y=e.__c).__H;t&&(ee===y?(t.__h=[],y.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ve,o.__N=o.i=void 0})):(t.__h.forEach(Fe),t.__h.forEach(st),t.__h=[])),ee=y},_.options.diffed=function(e){Nt&&Nt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(wt.push(t)!==1&&ye===_.options.requestAnimationFrame||((ye=_.options.requestAnimationFrame)||mn)(gn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ve&&(o.__=o.__V),o.i=void 0,o.__V=Ve})),ee=y=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Fe),o.__h=o.__h.filter(function(n){return!n.__||st(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),Tt&&Tt(e,t)},_.options.unmount=function(e){Ct&&Ct(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Fe(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var At=typeof requestAnimationFrame=="function";function mn(e){var t,o=function(){clearTimeout(n),At&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);At&&(t=requestAnimationFrame(o))}function Fe(e){var t=y,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),y=t}function st(e){var t=y;e.__c=e.__(),y=t}function ct(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Rt(e,t){return typeof t=="function"?t(e):t}function jt(e,t){for(var o in t)e[o]=t[o];return e}function It(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Lt(e){this.props=e}(Lt.prototype=new _.Component).isPureReactComponent=!0,Lt.prototype.shouldComponentUpdate=function(e,t){return It(this.props,e)||It(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var bn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(o){var n=jt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=bn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var yn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}yn(e,t,o,n)};var Pt=_.options.unmount;function Bt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=jt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Bt(n,t,o)})),e}function Ht(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ht(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function lt(){this.__u=0,this.t=null,this.__b=null}function zt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ge(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Pt&&Pt(e)},(lt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=zt(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=i;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Ht(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},lt.prototype.componentWillUnmount=function(){this.t=[]},lt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Bt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Mt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ge.prototype=new _.Component).__a=function(e){var t=this,o=zt(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Mt(t,e,n)):r()};o?o(a):a()}},Ge.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ge.prototype.componentDidUpdate=Ge.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Mt(e,o,t)})};var $n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,kn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,wn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,xn=/[A-Z0-9]/g,On=typeof document!="undefined",Nn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Vt=_.options.event;function Tn(){}function Cn(){return this.cancelBubble}function Sn(){return this.defaultPrevented}_.options.event=function(e){return Vt&&(e=Vt(e)),e.persist=Tn,e.isPropagationStopped=Cn,e.isDefaultPrevented=Sn,e.nativeEvent=e};var An={enumerable:!1,configurable:!0,get:function(){return this.class}},Dt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||On&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Nn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":wn.test(a)?a=l:n.indexOf("-")===-1&&kn.test(a)?a=a.replace(xn,"-$&").toLowerCase():i===null&&(i=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",An)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=$n,Dt&&Dt(e)};var Ft=_.options.__r;_.options.__r=function(e){Ft&&Ft(e),e.__c};var Gt=_.options.diffed;_.options.diffed=function(e){Gt&&Gt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Rn(){this.__data__=[],this.size=0}var jn=Rn;function In(e,t){return e===t||e!==e&&t!==t}var We=In,Ln=We;function En(e,t){for(var o=e.length;o--;)if(Ln(e[o][0],t))return o;return-1}var Ue=En,Pn=Ue,Bn=Array.prototype,Hn=Bn.splice;function zn(e){var t=this.__data__,o=Pn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Hn.call(t,o,1),--this.size,!0}var Mn=zn,Vn=Ue;function Dn(e){var t=this.__data__,o=Vn(t,e);return o<0?void 0:t[o][1]}var Fn=Dn,Gn=Ue;function Wn(e){return Gn(this.__data__,e)>-1}var Un=Wn,qn=Ue;function Xn(e,t){var o=this.__data__,n=qn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Kn=Xn,Zn=jn,Jn=Mn,Yn=Fn,Qn=Un,er=Kn;function ke(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}ke.prototype.clear=Zn,ke.prototype.delete=Jn,ke.prototype.get=Yn,ke.prototype.has=Qn,ke.prototype.set=er;var qe=ke,tr=qe;function or(){this.__data__=new tr,this.size=0}var nr=or;function rr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var ar=rr;function ir(e){return this.__data__.get(e)}var sr=ir;function cr(e){return this.__data__.has(e)}var lr=cr,dr=typeof O=="object"&&O&&O.Object===Object&&O,Wt=dr,ur=Wt,_r=typeof self=="object"&&self&&self.Object===Object&&self,pr=ur||_r||Function("return this")(),we=pr,fr=we,vr=fr.Symbol,Ut=vr,qt=Ut,Xt=Object.prototype,hr=Xt.hasOwnProperty,gr=Xt.toString,je=qt?qt.toStringTag:void 0;function mr(e){var t=hr.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(a){}var r=gr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var br=mr,yr=Object.prototype,$r=yr.toString;function kr(e){return $r.call(e)}var wr=kr,Kt=Ut,xr=br,Or=wr,Nr="[object Null]",Tr="[object Undefined]",Zt=Kt?Kt.toStringTag:void 0;function Cr(e){return e==null?e===void 0?Tr:Nr:Zt&&Zt in Object(e)?xr(e):Or(e)}var Xe=Cr;function Sr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var de=Sr,Ar=Xe,Rr=de,jr="[object AsyncFunction]",Ir="[object Function]",Lr="[object GeneratorFunction]",Er="[object Proxy]";function Pr(e){if(!Rr(e))return!1;var t=Ar(e);return t==Ir||t==Lr||t==jr||t==Er}var dt=Pr,Br=we,Hr=Br["__core-js_shared__"],zr=Hr,ut=zr,Jt=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Mr(e){return!!Jt&&Jt in e}var Vr=Mr,Dr=Function.prototype,Fr=Dr.toString;function Gr(e){if(e!=null){try{return Fr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Wr=Gr,Ur=dt,qr=Vr,Xr=de,Kr=Wr,Zr=/[\\^$.*+?()[\]{}|]/g,Jr=/^\[object .+?Constructor\]$/,Yr=Function.prototype,Qr=Object.prototype,ea=Yr.toString,ta=Qr.hasOwnProperty,oa=RegExp("^"+ea.call(ta).replace(Zr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function na(e){if(!Xr(e)||qr(e))return!1;var t=Ur(e)?oa:Jr;return t.test(Kr(e))}var ra=na;function aa(e,t){return e==null?void 0:e[t]}var ia=aa,sa=ra,ca=ia;function la(e,t){var o=ca(e,t);return sa(o)?o:void 0}var _t=la,da=_t,ua=we,_a=da(ua,"Map"),Yt=_a,pa=_t,fa=pa(Object,"create"),Ke=fa,Qt=Ke;function va(){this.__data__=Qt?Qt(null):{},this.size=0}var ha=va;function ga(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ma=ga,ba=Ke,ya="__lodash_hash_undefined__",$a=Object.prototype,ka=$a.hasOwnProperty;function wa(e){var t=this.__data__;if(ba){var o=t[e];return o===ya?void 0:o}return ka.call(t,e)?t[e]:void 0}var xa=wa,Oa=Ke,Na=Object.prototype,Ta=Na.hasOwnProperty;function Ca(e){var t=this.__data__;return Oa?t[e]!==void 0:Ta.call(t,e)}var Sa=Ca,Aa=Ke,Ra="__lodash_hash_undefined__";function ja(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Aa&&t===void 0?Ra:t,this}var Ia=ja,La=ha,Ea=ma,Pa=xa,Ba=Sa,Ha=Ia;function xe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}xe.prototype.clear=La,xe.prototype.delete=Ea,xe.prototype.get=Pa,xe.prototype.has=Ba,xe.prototype.set=Ha;var za=xe,eo=za,Ma=qe,Va=Yt;function Da(){this.size=0,this.__data__={hash:new eo,map:new(Va||Ma),string:new eo}}var Fa=Da;function Ga(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Wa=Ga,Ua=Wa;function qa(e,t){var o=e.__data__;return Ua(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ze=qa,Xa=Ze;function Ka(e){var t=Xa(this,e).delete(e);return this.size-=t?1:0,t}var Za=Ka,Ja=Ze;function Ya(e){return Ja(this,e).get(e)}var Qa=Ya,ei=Ze;function ti(e){return ei(this,e).has(e)}var oi=ti,ni=Ze;function ri(e,t){var o=ni(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ai=ri,ii=Fa,si=Za,ci=Qa,li=oi,di=ai;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=ii,Oe.prototype.delete=si,Oe.prototype.get=ci,Oe.prototype.has=li,Oe.prototype.set=di;var ui=Oe,_i=qe,pi=Yt,fi=ui,vi=200;function hi(e,t){var o=this.__data__;if(o instanceof _i){var n=o.__data__;if(!pi||n.length<vi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new fi(n)}return o.set(e,t),this.size=o.size,this}var gi=hi,mi=qe,bi=nr,yi=ar,$i=sr,ki=lr,wi=gi;function Ne(e){var t=this.__data__=new mi(e);this.size=t.size}Ne.prototype.clear=bi,Ne.prototype.delete=yi,Ne.prototype.get=$i,Ne.prototype.has=ki,Ne.prototype.set=wi;var xi=Ne,Oi=_t,Ni=function(){try{var e=Oi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),to=Ni,oo=to;function Ti(e,t,o){t=="__proto__"&&oo?oo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var pt=Ti,Ci=pt,Si=We;function Ai(e,t,o){(o!==void 0&&!Si(e[t],o)||o===void 0&&!(t in e))&&Ci(e,t,o)}var no=Ai;function Ri(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),l=i.length;l--;){var c=i[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var ji=Ri,Ii=ji,Li=Ii(),Ei=Li,Je={},Pi={get exports(){return Je},set exports(e){Je=e}};(function(e,t){var o=we,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,l=i?i.allocUnsafe:void 0;function c(d,u){if(u)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Pi,Je);var Bi=we,Hi=Bi.Uint8Array,zi=Hi,ro=zi;function Mi(e){var t=new e.constructor(e.byteLength);return new ro(t).set(new ro(e)),t}var Vi=Mi,Di=Vi;function Fi(e,t){var o=t?Di(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Gi=Fi;function Wi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ui=Wi,qi=de,ao=Object.create,Xi=function(){function e(){}return function(t){if(!qi(t))return{};if(ao)return ao(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ki=Xi;function Zi(e,t){return function(o){return e(t(o))}}var Ji=Zi,Yi=Ji,Qi=Yi(Object.getPrototypeOf,Object),io=Qi,es=Object.prototype;function ts(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||es;return e===o}var so=ts,os=Ki,ns=io,rs=so;function as(e){return typeof e.constructor=="function"&&!rs(e)?os(ns(e)):{}}var is=as;function ss(e){return e!=null&&typeof e=="object"}var Ie=ss,cs=Xe,ls=Ie,ds="[object Arguments]";function us(e){return ls(e)&&cs(e)==ds}var _s=us,co=_s,ps=Ie,lo=Object.prototype,fs=lo.hasOwnProperty,vs=lo.propertyIsEnumerable,hs=co(function(){return arguments}())?co:function(e){return ps(e)&&fs.call(e,"callee")&&!vs.call(e,"callee")},uo=hs,gs=Array.isArray,_o=gs,ms=9007199254740991;function bs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ms}var po=bs,ys=dt,$s=po;function ks(e){return e!=null&&$s(e.length)&&!ys(e)}var ft=ks,ws=ft,xs=Ie;function Os(e){return xs(e)&&ws(e)}var Ns=Os,Le={},Ts={get exports(){return Le},set exports(e){Le=e}};function Cs(){return!1}var Ss=Cs;(function(e,t){var o=we,n=Ss,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,l=i?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Ts,Le);var As=Xe,Rs=io,js=Ie,Is="[object Object]",Ls=Function.prototype,Es=Object.prototype,fo=Ls.toString,Ps=Es.hasOwnProperty,Bs=fo.call(Object);function Hs(e){if(!js(e)||As(e)!=Is)return!1;var t=Rs(e);if(t===null)return!0;var o=Ps.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&fo.call(o)==Bs}var zs=Hs,Ms=Xe,Vs=po,Ds=Ie,Fs="[object Arguments]",Gs="[object Array]",Ws="[object Boolean]",Us="[object Date]",qs="[object Error]",Xs="[object Function]",Ks="[object Map]",Zs="[object Number]",Js="[object Object]",Ys="[object RegExp]",Qs="[object Set]",ec="[object String]",tc="[object WeakMap]",oc="[object ArrayBuffer]",nc="[object DataView]",rc="[object Float32Array]",ac="[object Float64Array]",ic="[object Int8Array]",sc="[object Int16Array]",cc="[object Int32Array]",lc="[object Uint8Array]",dc="[object Uint8ClampedArray]",uc="[object Uint16Array]",_c="[object Uint32Array]",x={};x[rc]=x[ac]=x[ic]=x[sc]=x[cc]=x[lc]=x[dc]=x[uc]=x[_c]=!0,x[Fs]=x[Gs]=x[oc]=x[Ws]=x[nc]=x[Us]=x[qs]=x[Xs]=x[Ks]=x[Zs]=x[Js]=x[Ys]=x[Qs]=x[ec]=x[tc]=!1;function pc(e){return Ds(e)&&Vs(e.length)&&!!x[Ms(e)]}var fc=pc;function vc(e){return function(t){return e(t)}}var hc=vc,Ye={},gc={get exports(){return Ye},set exports(e){Ye=e}};(function(e,t){var o=Wt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=l})(gc,Ye);var mc=fc,bc=hc,vo=Ye,ho=vo&&vo.isTypedArray,yc=ho?bc(ho):mc,go=yc;function $c(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var mo=$c,kc=pt,wc=We,xc=Object.prototype,Oc=xc.hasOwnProperty;function Nc(e,t,o){var n=e[t];(!(Oc.call(e,t)&&wc(n,o))||o===void 0&&!(t in e))&&kc(e,t,o)}var Tc=Nc,Cc=Tc,Sc=pt;function Ac(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Sc(o,l,c):Cc(o,l,c)}return o}var Rc=Ac;function jc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Ic=jc,Lc=9007199254740991,Ec=/^(?:0|[1-9]\d*)$/;function Pc(e,t){var o=typeof e;return t=t==null?Lc:t,!!t&&(o=="number"||o!="symbol"&&Ec.test(e))&&e>-1&&e%1==0&&e<t}var bo=Pc,Bc=Ic,Hc=uo,zc=_o,Mc=Le,Vc=bo,Dc=go,Fc=Object.prototype,Gc=Fc.hasOwnProperty;function Wc(e,t){var o=zc(e),n=!o&&Hc(e),r=!o&&!n&&Mc(e),a=!o&&!n&&!r&&Dc(e),i=o||n||r||a,l=i?Bc(e.length,String):[],c=l.length;for(var d in e)(t||Gc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Vc(d,c)))&&l.push(d);return l}var Uc=Wc;function qc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Xc=qc,Kc=de,Zc=so,Jc=Xc,Yc=Object.prototype,Qc=Yc.hasOwnProperty;function el(e){if(!Kc(e))return Jc(e);var t=Zc(e),o=[];for(var n in e)n=="constructor"&&(t||!Qc.call(e,n))||o.push(n);return o}var tl=el,ol=Uc,nl=tl,rl=ft;function al(e){return rl(e)?ol(e,!0):nl(e)}var yo=al,il=Rc,sl=yo;function cl(e){return il(e,sl(e))}var ll=cl,$o=no,dl=Je,ul=Gi,_l=Ui,pl=is,ko=uo,wo=_o,fl=Ns,vl=Le,hl=dt,gl=de,ml=zs,bl=go,xo=mo,yl=ll;function $l(e,t,o,n,r,a,i){var l=xo(e,o),c=xo(t,o),d=i.get(c);if(d){$o(e,o,d);return}var u=a?a(l,c,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=wo(c),g=!p&&vl(c),$=!p&&!g&&bl(c);u=c,p||g||$?wo(l)?u=l:fl(l)?u=_l(l):g?(f=!1,u=dl(c,!0)):$?(f=!1,u=ul(c,!0)):u=[]:ml(c)||ko(c)?(u=l,ko(l)?u=yl(l):(!gl(l)||hl(l))&&(u=pl(c))):f=!1}f&&(i.set(c,u),r(u,c,n,a,i),i.delete(c)),$o(e,o,u)}var kl=$l,wl=xi,xl=no,Ol=Ei,Nl=kl,Tl=de,Cl=yo,Sl=mo;function Oo(e,t,o,n,r){e!==t&&Ol(t,function(a,i){if(r||(r=new wl),Tl(a))Nl(e,t,i,o,Oo,n,r);else{var l=n?n(Sl(e,i),a,i+"",e,t,r):void 0;l===void 0&&(l=a),xl(e,i,l)}},Cl)}var Al=Oo;function Rl(e){return e}var No=Rl;function jl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Il=jl,Ll=Il,To=Math.max;function El(e,t,o){return t=To(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=To(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(i),Ll(e,this,l)}}var Pl=El;function Bl(e){return function(){return e}}var Hl=Bl,zl=Hl,Co=to,Ml=No,Vl=Co?function(e,t){return Co(e,"toString",{configurable:!0,enumerable:!1,value:zl(t),writable:!0})}:Ml,Dl=Vl,Fl=800,Gl=16,Wl=Date.now;function Ul(e){var t=0,o=0;return function(){var n=Wl(),r=Gl-(n-o);if(o=n,r>0){if(++t>=Fl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ql=Ul,Xl=Dl,Kl=ql,Zl=Kl(Xl),Jl=Zl,Yl=No,Ql=Pl,ed=Jl;function td(e,t){return ed(Ql(e,t,Yl),e+"")}var od=td,nd=We,rd=ft,ad=bo,id=de;function sd(e,t,o){if(!id(o))return!1;var n=typeof t;return(n=="number"?rd(o)&&ad(t,o.length):n=="string"&&t in o)?nd(o[t],e):!1}var cd=sd,ld=od,dd=cd;function ud(e){return ld(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&dd(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var _d=ud,pd=Al,fd=_d;fd(function(e,t,o){pd(e,t,o)});const ue=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(B).join(".");return ue(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(B).join(".");return n[r]=ue(t(r,a,i),t,i),n},{}):e,vd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Qe=()=>{let e={};return{on:(i,l)=>{i in e?e[i].push(l):e[i]=[l]},has:i=>i in e,get:i=>e[i],emit:(i,...l)=>i in e?e[i].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},hd=()=>({name:null,logo:null}),So=()=>({name:null,logo:null}),gd=()=>({factor:null,type:null,outcome:null,value:null}),md=()=>({w1:null,x:null,w2:null}),bd=()=>({w1:null,w2:null}),yd=()=>({one_x_two:md(),one_two:bd()}),Ao=(e,t)=>{const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:v({},(e==null?void 0:e.teams)||{0:So(),1:So()}),league:(e==null?void 0:e.unique_tournament)||hd(),prediction:(e==null?void 0:e.prediction)||gd()};if(t!=null&&t.markets){const n=t.markets.reduce((r,a)=>(r[a]=b(e||{},`markets.${a}`,yd()[a||"one_two"]),r),{});Ee(o,"markets",n)}return o},$d=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),kd=e=>!e&&e==null,B=e=>!kd(e),Ro=e=>typeof e!="object"&&typeof e!="function"||e===null,wd=e=>typeof e=="object"&&!Array.isArray(e)&&B(e),xd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),J=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Q(e,...t){const o=v({},e);return t.forEach(n=>{delete o[n]}),o}const b=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ee=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},Od=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},vt=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Nd=e=>"id"in e&&"root"in e,Td=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),jo=(e,t,o)=>ue(e,(n,r,a)=>Ro(r)||Array.isArray(r)&&r.every(Ro)?o?o(n,[r,b(t,a)],a)?b(t,a,r):r:b(t,a,r):r),Cd=(e,t)=>{try{ue(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},Sd=(e,t)=>{const o=[];return ue(e,(n,r,a)=>(t(n,r,a,o)&&o.push({key:n,value:r,path:a}),r)),o},Io=["desktop","laptop","tablet","mobile"],Ad={mobile:320,tablet:768,laptop:1024,desktop:1920},N={root:"_root_1i41t_1",icon:"_icon_1i41t_5",iconTarget:"_iconTarget_1i41t_17",body:"_body_1i41t_23",bodyOpen:"_bodyOpen_1i41t_31",simpleGift_in:"_simpleGift_in_1i41t_1",close:"_close_1i41t_44",arrow:"_arrow_1i41t_58",container:"_container_1i41t_69",inner:"_inner_1i41t_75",logo:"_logo_1i41t_82",text:"_text_1i41t_89",button:"_button_1i41t_96",buttonAnimated:"_buttonAnimated_1i41t_105",increase:"_increase_1i41t_1",legalGap:"_legalGap_1i41t_109",legalOpen:"_legalOpen_1i41t_113",legal:"_legal_1i41t_109",legalText:"_legalText_1i41t_141",legalButton:"_legalButton_1i41t_159",fadein:"_fadein_1i41t_1",pulse:"_pulse_1i41t_1",gradient:"_gradient_1i41t_1",wiggle:"_wiggle_1i41t_1"};var Rd=0;function s(e,t,o,n,r,a){var i,l,c={};for(l in t)l=="ref"?i=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Rd,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)c[l]===void 0&&(c[l]=i[l]);return _.options.vnode&&_.options.vnode(d),d}const Lo=_.createContext(),_e=({children:e,value:t})=>s(Lo.Provider,{value:t,children:e}),pe=e=>i=>ze(this,null,function*(){var l=i,{target:t,id:o,ref:n,state:r}=l,a=kt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Gu);window.ResizeObserver=c.ResizeObserver}return _.render(s(_e,{value:r,children:_.cloneElement(e,v({ref:n,id:o},a))}),t)}),q=()=>hn(Lo),jd=(e={})=>typeof e=="object"&&B(e)&&Io.every(t=>t in e),Id=(e,t)=>e&&ue(e,(o,n)=>{if(jd(n)){const r=n[t];return r&&"parent"in r&&B(r.parent)?v(v({},n[r.parent]),Q(r,"parent")):r}return n}),fe=(e,t)=>Id(e,t),Te=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Ad})=>{const[r,a]=re("desktop"),i=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(v({},n)).sort(([p,g],[$,m])=>g-m),u=((f=d.find(([p,g],$)=>{const[m,T]=d[$+1]||[];return c>=g&&c<T}))==null?void 0:f[0])||"desktop";a(u)};return St(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>i(l)).observe(l),i(l))},[]),r},Eo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),et=(e,t)=>B(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Ld=e=>e.startsWith("px_"),Ed=e=>e.startsWith("percent_"),Pd=(e,t)=>{let o=e,n=t;return Ld(o)&&(o=o.replace("px_",""),n=et(t,"px")),Ed(o)&&(o=o.replace("percent_",""),n=et(t,"%")),{key:o,value:n}},Bd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Hd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Po=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Hd.includes(n)&&(r=et(r,"px"));const{key:a,value:i}=Pd(n,r);if(wd(i)&&(o[a]=Po(i)),o[a]=i,a==="hidden"&&i)return o.display="none",o;if(a==="innerHTML"&&(o.innerHTML=B(i)?`${i}`:""),a==="innerText"&&(o.innerText=B(i)?`${i}`:""),a==="children"&&(o.children=typeof i=="string"?B(i)?`${i}`:"":i),a.includes("borderWidth")&&(o.borderStyle="solid"),a==="corner"&&(o.borderRadius=et(i,"px")),a==="backgroundFit"&&(Eo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=i,o.objectFit=i),a==="backgroundImage"&&B(i)&&(o.backgroundImage=`url(${i})`,o.backgroundRepeat="no-repeat",o.imageSource=i,Eo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),a==="backgroundColorOpacity"&&B(o.backgroundColorOpacity)&&B(o.backgroundColor)){const l=Od(o.backgroundColor);l&&(o.backgroundColor=Td(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return a==="fontFamily"&&/auto/i.test(i)&&(o.fontFamily=Bd),a==="isBold"&&(o.fontWeight=i?"bold":"initial"),a==="isItalic"&&(o.fontStyle=i?"italic":"initial"),a==="isThrough"&&(o.textDecoration=i?"line-through":"initial"),o},e)},zd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,V=e=>B(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=zd(n)?Po(v({},e[o])):n,t),{}):e,Md=e=>e in document.createElement("div").style||e.startsWith("--"),ae=r=>{var a=r,{children:e,typography:t,accentTypography:o}=a,n=kt(a,["children","typography","accentTypography"]);var c;const i=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([u,f])=>{Md(u)&&(d+=`${xd(u)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${i}">$1</span>`);return s("div",w(v({},n),{style:t,dangerouslySetInnerHTML:{__html:l}}))},Bo=()=>{const[e,t]=re(!1);return[e,()=>t(o=>!o)]},Ce=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),ht=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Vd=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),Ho=(e,t)=>{var u,f,p,g,$,m,T,L,E,C,P,H,G;const o=Vd(t),n=V(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(g=n==null?void 0:n.container)==null?void 0:g.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(m=n==null?void 0:n.container)==null?void 0:m.borderWidth,borderLeftColor:(T=n==null?void 0:n.container)==null?void 0:T.borderColor,borderLeftStyle:"solid"},i={left:(L=n==null?void 0:n.container)==null?void 0:L.left},l=(((E=n==null?void 0:n.icon)==null?void 0:E.animations)||[]).map(k=>o[k]).join(", "),c=B((C=n==null?void 0:n.icon)==null?void 0:C.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(H=n.icon)==null?void 0:H.backgroundColor} 0%, ${(G=n==null?void 0:n.icon)==null?void 0:G.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=v(w(v({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},ve=e=>{const t=new Set([]);ue(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Re(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);F(()=>{o.forEach(vd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Dd=["borderWidth","borderColor","borderStyle"],zo=["imageSource","objectFit"],tt=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),Gd=e=>console.log(`Noop AdFox reach goal: ${e}`),Wd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=re(!1),a=U(null),i=c=>{clearTimeout(a.current),a.current=null},l=()=>{i(a.current),r(c=>!c)};return F(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),F(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Mo=({ref:e,openDelay:t})=>{const o=U(Qe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:i,toggle:l}=Wd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return De(e,()=>({onOpen:n,onClick:r,onAutoOpen:a,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isOpen:i,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Ud=le(({id:e},t)=>{var L,E,C,P,H,G,k,M,z;const o=U(null),[n,r]=Bo(),a=q(),i=Te({targetRef:o,id:e}),l=fe(a,i),c=V(l),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Ho(l,{fade:N.fadein,pulse:N.pulse,wiggle:N.wiggle,gradient:N.gradient}),{isOpen:g,toggle:$,click:m}=Mo({ref:t,openDelay:(L=l==null?void 0:l.container)==null?void 0:L.delay});ve(l);const T=n?J(c.container,...Dd):{};return s("div",{className:S(N.root,{[N.legalOpen]:n}),ref:o,children:[s("div",{className:N.icon,style:u,onClick:$,children:d&&s("div",{className:N.iconTarget,children:s(ht,{})})}),s("div",{className:S(N.body,{[N.bodyOpen]:g}),style:f,children:[s("div",{className:N.arrow,style:p}),s("div",{className:N.close,style:c==null?void 0:c.close,onClick:$,children:s(Ce,{})}),s("div",{className:N.container,style:c==null?void 0:c.container,children:[s("a",{href:(E=c==null?void 0:c.root)==null?void 0:E.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>m(c.id),children:[s("div",{className:N.inner,children:[s("div",{className:N.logo,style:c==null?void 0:c.logo}),s(ae,{className:N.text,style:c==null?void 0:c.text,typography:(C=c.text)==null?void 0:C.typography,accentTypography:(P=c.text)==null?void 0:P.accentTypography,children:(H=c==null?void 0:c.text)==null?void 0:H.children})]}),s("div",{className:S(N.button,{[N.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(G=c==null?void 0:c.button)==null?void 0:G.children})]}),s("div",{className:N.legalGap}),s("div",{className:N.legal,style:v(v({},c==null?void 0:c.legal),T),children:s("span",{className:N.legalText,children:s("span",{children:[s("span",{children:(k=c==null?void 0:c.legal)==null?void 0:k.children}),s("span",{className:N.legalButton,onClick:r,children:n?(M=c==null?void 0:c.legal)==null?void 0:M.buttonOpenText:(z=c==null?void 0:c.legal)==null?void 0:z.buttonHideText})]})})})]})]})]})}),qd=pe(s(Ud,{})),A={root:"_root_g8256_1",icon:"_icon_g8256_5",iconTarget:"_iconTarget_g8256_17",body:"_body_g8256_23",desktop:"_desktop_g8256_30",tablet:"_tablet_g8256_30",laptop:"_laptop_g8256_30",bodyOpen:"_bodyOpen_g8256_34",complexGift_in:"_complexGift_in_g8256_1",arrow:"_arrow_g8256_47",container:"_container_g8256_57",promotion:"_promotion_g8256_62",close:"_close_g8256_68",head:"_head_g8256_82",headIcon:"_headIcon_g8256_88",headTitle:"_headTitle_g8256_94",inner:"_inner_g8256_101",fadein:"_fadein_g8256_1",pulse:"_pulse_g8256_1",gradient:"_gradient_g8256_1",wiggle:"_wiggle_g8256_1"},te={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Xd=({onClick:e})=>{var n,r,a,i,l,c,d;const t=q(),o=V(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(te.root,{[te.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:te.body,children:[s("div",{className:te.line,style:o.line}),s("div",{className:te.bodyInner,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.text,style:o.text,children:s(ae,{typography:(a=o.text)==null?void 0:a.typography,accentTypography:(i=o.text)==null?void 0:i.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:te.button,style:o.button,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:te.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Kd=le(({id:e},t)=>{var L,E,C,P;const o=U(null),n=q(),r=Te({targetRef:o,id:e}),a=fe(n,r),i=V(a),{isOpen:l,click:c,toggle:d}=Mo({ref:t,openDelay:(L=a==null?void 0:a.container)==null?void 0:L.delay});ve(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:g}=Ho(a,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),$=(E=i==null?void 0:i.title)==null?void 0:E.hasIcon,m=J(i==null?void 0:i.title,...tt),T=Q(i==null?void 0:i.title,...tt);return s("div",{ref:o,className:S(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[s("div",{className:A.icon,style:f,onClick:d,children:u&&s("div",{className:A.iconTarget,children:s(ht,{})})}),s("div",{className:S(A.body,{[A.bodyOpen]:l}),style:p,children:[s("div",{className:A.arrow,style:g}),s("div",{className:A.container,style:i.container,children:[s("div",{className:A.close,style:i.close,onClick:d,children:s(Ce,{})}),s("div",{className:A.head,style:m,children:[$&&s("div",{className:A.headIcon,style:J(i.title,"color"),children:s(ht,{})}),s("div",{className:A.headTitle,style:T,children:(C=i.title)==null?void 0:C.children})]}),s("div",{className:A.inner,children:(i.children||[]).map(H=>s(_e,{value:H,children:s(Xd,{onClick:c})}))}),s("div",{className:A.promotion,style:i.promotion,children:(P=i.promotion)==null?void 0:P.children})]})]})]})}),Zd=pe(s(Kd,{})),K={root:"_root_18vic_1",background:"_background_18vic_11",content:"_content_18vic_19",laptop:"_laptop_18vic_29",desktop:"_desktop_18vic_33",wrapper:"_wrapper_18vic_37",overlay:"_overlay_18vic_41",close:"_close_18vic_47",body:"_body_18vic_56",logo:"_logo_18vic_65",text:"_text_18vic_71",button:"_button_18vic_75",legal:"_legal_18vic_90"},he=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Jd={root:"_root_mj8hr_1"},Yd=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:Jd.root,style:t.root,children:s(ae,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},gt=(e,t=0)=>{const o=U(Qe()),[n,r]=re(!1),[a,i]=re(),[l,c]=re(!1),d=m=>o.current.on("visible",m),u=m=>o.current.on("click",m),f=m=>o.current.on("clickHide",m),p=()=>ze(this,null,function*(){yield $d(+t),r(!0)}),g=()=>r(!1),$=()=>{o.current.emit("clickHide"),g()};return F(()=>{l&&o.current.emit("visible",n)},[n,l]),De(e,()=>({onVisible:d,onClick:u,onClickHide:f,show:p,hide:g,setApiHost:i,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isReady:l,isOpen:n,apiHost:a,show:p,hide:g,clickHide:$,setIsReady:c,click:(...m)=>{g(),o.current.emit("click",...m)}}};function Qd(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const eu=le(({id:e,className:t},o)=>{var P,H,G,k,M,z;const n=U(null),r=U(null),a=Te({targetRef:n,id:e}),i=q(),l=fe(i,a);ve(l),Ee(l,"button.percent_width",(P=l==null?void 0:l.button)==null?void 0:P.width),Ee(l,"legal.percent_width",(H=l==null?void 0:l.legal)==null?void 0:H.width);const c=V(l),d=b(c,"root.delay",0),{isOpen:u,isReady:f,setIsReady:p,clickHide:g,click:$}=gt(o,d);F(()=>{const Z=r.current;if(!Z)return;if(Qd(Z)){p(!0);return}const be=()=>p(!0);return Z.addEventListener("load",be),()=>{Z.removeEventListener("load",be)}},[c]);const m={alignItems:he((G=c.root)==null?void 0:G.align)},T=w(v({},c==null?void 0:c.button),{justifyContent:he((k=c.root)==null?void 0:k.textAlign)}),L=w(v({},c==null?void 0:c.legal),{justifyContent:he((M=c.root)==null?void 0:M.textAlign)}),E=Q(c.root,...zo,...Y),C=J(c.root,...zo);return s("div",{className:S(K.root,t),ref:n,style:{display:u&&f?"flex":"none"},children:[s("div",{className:K.overlay,style:c.overlay,onClick:g}),s("div",{className:K.wrapper,children:[s("div",{className:K.close,style:Q(c.close,"backgroundColor"),onClick:g,children:s(Ce,{})}),s("a",{href:(z=c.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(K.content,{[K.desktop]:a==="desktop",[K.tablet]:a==="tablet",[K.laptop]:a==="laptop"}),style:E,onClick:()=>$(c.id),children:[s("img",{ref:r,className:K.background,src:C.imageSource,alt:"",style:C}),s("div",{className:K.body,style:m,children:[s("div",{className:K.logo,style:c.logo}),s("div",{className:K.text,children:((c==null?void 0:c.children)||[]).map(Z=>s(_e,{value:Z,children:s(Yd,{})}))}),s("div",{className:K.button,style:T,children:T==null?void 0:T.children}),s("div",{className:K.legal,style:L,children:L==null?void 0:L.children})]})]})]})]})}),tu=pe(s(eu,{})),ce={root:"_root_krw01_1",content:"_content_krw01_11",desktop:"_desktop_krw01_23",laptop:"_laptop_krw01_23",overlay:"_overlay_krw01_28",close:"_close_krw01_34",title:"_title_krw01_43",wrapper:"_wrapper_krw01_58"},oe={root:"_root_1gwqg_1",desktop:"_desktop_1gwqg_9",laptop:"_laptop_1gwqg_9",header:"_header_1gwqg_14",logo:"_logo_1gwqg_25",container:"_container_1gwqg_32",body:"_body_1gwqg_43",text:"_text_1gwqg_60",button:"_button_1gwqg_75",legal:"_legal_1gwqg_93"},ou=({onClick:e})=>{var r,a,i,l,c,d;const t=q(),o=V(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(oe.root,{[oe.desktop]:n==="desktop",[oe.laptop]:n==="laptop"}),style:Q(o.root,...tt),onClick:()=>e(o.id),children:[s("div",{className:oe.header,style:o.header,children:s("div",{className:oe.logo,style:o.logo})}),s("div",{className:oe.container,style:J(o.root,...tt),children:[s("div",{className:oe.body,children:[s("div",{className:oe.logo,style:o.logo}),s(ae,{className:oe.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(i=o.text)==null?void 0:i.accentTypography,children:(l=o.text)==null?void 0:l.children})]}),s("div",{children:[s(ae,{className:oe.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),s(ae,{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})]})]})},nu=le(({id:e},t)=>{var f;const o=U(null),n=Te({targetRef:o,id:e}),r=q(),a=fe(r,n),i=V(a);ve(a);const l=b(i,"root.delay",0),{isOpen:c,clickHide:d,click:u}=gt(t,l);return s("div",{className:ce.root,style:{display:c?"flex":"none"},children:[s("div",{className:ce.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:S(ce.content,{[ce.desktop]:n==="desktop",[ce.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:ce.close,style:Q(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s(ae,{className:ce.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:ce.wrapper,children:(i.children||[]).map(p=>s(_e,{value:w(v({},p),{device:n}),children:s(ou,{onClick:u})}))})]})]})}),ru=pe(s(nu,{})),D={root:"_root_v3g4u_1",content:"_content_v3g4u_11",close:"_close_v3g4u_19",overlay:"_overlay_v3g4u_28",body:"_body_v3g4u_34",desktop:"_desktop_v3g4u_42",laptop:"_laptop_v3g4u_42",tablet:"_tablet_v3g4u_46",head:"_head_v3g4u_51",title:"_title_v3g4u_61",logo:"_logo_v3g4u_74",wrapper:"_wrapper_v3g4u_81",text:"_text_v3g4u_88",button:"_button_v3g4u_96",buttonHead:"_buttonHead_v3g4u_111",buttonTarget:"_buttonTarget_v3g4u_128",legal:"_legal_v3g4u_142"},R={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},au=()=>{const e=q(),t=V(e),o=(e==null?void 0:e.device)||"desktop",n=w(v({},t==null?void 0:t.teamALogo),{backgroundImage:b(t,"match.teams[0].logo")}),r=w(v({},t==null?void 0:t.teamBLogo),{backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:S(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop"}),children:[s("div",{className:R.left,children:[s("div",{className:R.teams,children:[s("img",{className:R.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:R.logo,src:r.backgroundImage,style:r})]}),s("div",{className:R.body,children:[s("div",{className:R.league,style:t.league,children:b(t,"match.league.name")}),s("div",{className:R.name,style:t.teams,children:[b(t,"match.teams[0].name")," — ",b(t,"match.teams[1].name")]})]})]}),s("div",{className:R.right,children:[s("div",{className:R.team,children:[s("img",{className:R.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:R.teamName,style:t.teams,children:b(t,"match.teams[0].name")})]}),s("div",{className:R.odd,children:[s("div",{className:R.oddLabel,style:t.oddLabel,children:b(t,"match.prediction.value")}),s("div",{className:R.oddValue,style:t.oddValue,children:b(t,"match.prediction.factor")})]}),s("div",{className:R.team,children:[s("img",{className:R.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:R.teamName,style:t.teams,children:b(t,"match.teams[1].name")})]})]})]})},Vo=(e,{pause:t,params:o,method:n,body:r})=>{const[a,i]=re(),l=Re(()=>{let d=e;if(o){const u=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{u.append(f,p)}),d+=u}return d},[e,o]),c=vn(()=>ze(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());i(d.data)}),[l,t,n,r]);return F(()=>{t||c()},[l,t]),{data:a,execute:c}};function Do(e){const t=U();return F(()=>{t.current=e},[e]),t.current}const iu=(e,t)=>{const o=d=>{var u;return B(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),a=Do(r),{data:i,execute:l}=Vo(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return F(()=>{vt(a,r)||l()},[r]),n.map(d=>{const u=(i||[]).find(g=>g.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Ao(u),p=jo(f,d.root.customMatch,(g,[$,m])=>B(m));return w(v({},d),{match:p})}).filter(Boolean)},su=le(({id:e},t)=>{var E,C,P,H,G,k,M,z,Z,be,He,ln,dn;const o=U(null),n=Te({targetRef:o,id:e}),r=q(),a=fe(r,n);Ee(a,"buttonWrapper.percent_width",(E=a==null?void 0:a.buttonWrapper)==null?void 0:E.width),Ee(a,"legal.percent_width",(C=a==null?void 0:a.legal)==null?void 0:C.width);const i=V(a);ve(a);const l=b(i,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=gt(t,l),p=iu(a,d),g=w(v({},i.root),{alignItems:he((P=i.root)==null?void 0:P.align)}),$=w(v({},i.content),{alignItems:he((H=i.root)==null?void 0:H.align)}),m=w(v({},i.text),{textAlign:(G=i.root)==null?void 0:G.align}),T=w(v({},i==null?void 0:i.button),{justifyContent:he((k=i.root)==null?void 0:k.textAlign)}),L=w(v({},i==null?void 0:i.legal),{justifyContent:he((M=i.root)==null?void 0:M.textAlign)});return s("div",{className:S(D.root,{[D.desktop]:n==="desktop",[D.laptop]:n==="laptop",[D.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:D.overlay,style:i.overlay,onClick:u}),s("div",{className:D.content,children:[s("div",{className:D.close,style:Q(i.close,"backgroundColor"),onClick:u,children:s(Ce,{})}),s("a",{ref:o,href:(z=i.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(i.id),children:s("div",{className:D.body,style:g,children:[s("div",{className:D.head,children:[s("div",{className:D.title,style:i.title,children:(Z=i.title)==null?void 0:Z.children}),s("div",{className:D.logo,style:i.logo})]}),s("div",{className:D.wrapper,style:$,children:(p||[]).map(Wu=>s(_e,{value:w(v({},Wu),{device:n}),children:s(au,{})}))}),s(ae,{className:D.text,style:m,typography:m.typography,accentTypography:m.accentTypography,children:(be=i.text)==null?void 0:be.children}),s("div",{className:D.button,style:i.buttonWrapper,children:[s("div",{className:D.buttonHead,style:i.buttonHead,children:(He=i.buttonHead)==null?void 0:He.children}),s("div",{className:D.buttonTarget,style:T,children:(ln=i.button)==null?void 0:ln.children})]}),s(ae,{className:D.legal,style:L,children:(dn=i.legal)==null?void 0:dn.children})]})})]})]})}),cu=pe(s(su,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},lu=({onClick:e})=>{var a,i,l,c,d,u,f,p;const t=q(),o=V(t),[n,r]=Bo();return s("div",{className:ne.root,style:Q(o.root,...Y),children:[s("div",{className:ne.background,style:J(o.root,...Y)}),s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:S(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},du=e=>{const t=U(Qe()),o=n=>t.current.on("click",n);return De(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},uu=le((e,t)=>{const o=U(null),n=q(),a=fe(n,"mobile"),i=V(a);ve(a);const{click:l}=du(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(c=>s(_e,{value:c,children:s(lu,{onClick:l})}))})}),_u=pe(s(uu,{})),j={root:"_root_7lh71_1",desktop:"_desktop_7lh71_13",laptop:"_laptop_7lh71_14",promotion:"_promotion_7lh71_18",background:"_background_7lh71_34",close:"_close_7lh71_43",content:"_content_7lh71_52",variant2:"_variant2_7lh71_65",logo:"_logo_7lh71_69",left:"_left_7lh71_81",center:"_center_7lh71_95",slide:"_slide_7lh71_101",slide_animated_default:"_slide_animated_default_7lh71_115","fade-in-out":"_fade-in-out_7lh71_1","slide_animated_bottom-top":"_slide_animated_bottom-top_7lh71_118","fade-in-bottom-out-top":"_fade-in-bottom-out-top_7lh71_1","slide_animated_top-bottom":"_slide_animated_top-bottom_7lh71_121",right:"_right_7lh71_125",buttonWrapper:"_buttonWrapper_7lh71_140",button:"_button_7lh71_140",button_animated:"_button_animated_7lh71_171",increase:"_increase_7lh71_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_7lh71_1"},Fo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},pu=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:S(Fo.root,{[Fo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Q(t.root,...Y),children:s(ae,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},I={root:"_root_lfyf5_1",title:"_title_lfyf5_8",desktop:"_desktop_lfyf5_13",laptop:"_laptop_lfyf5_13",titleLabel:"_titleLabel_lfyf5_17",tablet:"_tablet_lfyf5_20",titleValue:"_titleValue_lfyf5_27",teamLogo:"_teamLogo_lfyf5_38",teams:"_teams_lfyf5_49",teamName:"_teamName_lfyf5_57",odds:"_odds_lfyf5_65",odd:"_odd_lfyf5_65",oddX:"_oddX_lfyf5_77",oddValue:"_oddValue_lfyf5_85"},fu=()=>{var r,a;const e=q(),t=V(e);Q(t.root,...Y);const o=w(v({},J(t.root,...Y)),{backgroundImage:b(t,"match.teams[0].logo"),backgroundColor:"transparent"}),n=w(v({},J(t.root,...Y)),{backgroundImage:b(t,"match.teams[1].logo"),backgroundColor:"transparent"});return s("div",{className:S(I.root,{[I.desktop]:e.device==="desktop",[I.laptop]:e.device==="laptop",[I.tablet]:e.device==="tablet"}),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:I.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:I.odds,children:[s("div",{className:I.odd,children:[s("img",{className:I.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:I.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w1")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddX,style:t.coef,children:"X"}),s("div",{className:I.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.x")})]}),s("div",{className:I.odd,children:[s("img",{className:I.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:I.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:I.teams,children:[s("div",{className:I.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:I.teamName,style:t.teamName,children:b(t,"match.teams[1].name")})]})]})},X={root:"_root_17xbr_1",title:"_title_17xbr_8",titleLabel:"_titleLabel_17xbr_12",tablet:"_tablet_17xbr_16",desktop:"_desktop_17xbr_19",laptop:"_laptop_17xbr_19",titleValue:"_titleValue_17xbr_23",team:"_team_17xbr_34",teamLogo:"_teamLogo_17xbr_44",teamName:"_teamName_17xbr_72",teamValue:"_teamValue_17xbr_84"},vu=()=>{var r,a;const e=q(),t=V(e),o=w(v(v({},J(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:b(t,"match.teams[0].logo")}),n=w(v(v({},J(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:S(X.root,{[X.desktop]:(e==null?void 0:e.device)==="desktop",[X.laptop]:(e==null?void 0:e.device)==="laptop",[X.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Q(t.root,...Y),children:[s("div",{className:X.title,children:[s("div",{className:X.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:X.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:X.team,children:[s("img",{className:X.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:X.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:X.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:X.team,children:[s("img",{className:X.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:X.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:X.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},hu=(e=[])=>{var a;const t=e.length,[o,n]=re(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return F(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},gu=(e,t="root")=>{const o=U(),n=(e==null?void 0:e.yaReachGoal)||Fd,r=(e==null?void 0:e.adfoxReachGoal)||Gd,a=B(e)?J(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return F(()=>{vt(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},mu={matches:"one_x_two",matchesOneTwo:"one_two"},Go=e=>[mu[e]],bu=(e,t)=>{const o=d=>{var u;return B(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>w(v({},d.root.targetMatch),{markets:Go(d.name)})),a=Do(r),{data:i,execute:l}=Vo(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return F(()=>{vt(a,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(i||[]).find($=>$.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Go(d.name),p=Ao(u,{markets:f}),g=jo(p,d.root.customMatch,($,[m,T])=>B(T));return w(v({},d),{match:g})}return d}).filter(Boolean)},yu=e=>{const t=U(Qe()),[o,n]=re(!1),[r,a]=re(),i=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>ze(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return F(()=>{t.current.emit("visible",o)},[o]),De(e,()=>({onVisible:i,onClick:l,onClickHide:c,show:d,hide:u,setApiHost:a,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:u,clickHide:f,click:(...p)=>{u(),t.current.emit("click",...p)}}},$u=3700,ku=le(({id:e},t)=>{var E,C,P,H,G;const o=U(null),n=q(),r=Te({id:e,targetRef:o}),a=fe(n,r),i=V(a),l=gu(a);ve(a);const{apiHost:c,isOpen:d,clickHide:u}=yu(t),f=bu(i,c),p=k=>({text:s(pu,{}),matches:s(fu,{}),matchesOneTwo:s(vu,{})})[k],g=f.filter(Boolean).map(k=>{var M,z;return w(v({},k),{animationName:(M=k==null?void 0:k.root)==null?void 0:M.animationName,animationDuration:((z=k==null?void 0:k.root)==null?void 0:z.animationDuration)||$u})}),$=hu(g),m=V(g[$]||{}),T=Q(i.root,...Y),L=(E=m==null?void 0:m.root)!=null&&E.hasCustomBackground?J((m==null?void 0:m.root)||{},...Y):J(i.root,...Y);return s("div",{ref:o,className:S(j.root,{[j.desktop]:r==="desktop",[j.laptop]:r==="laptop",[j.tablet]:r==="tablet",[j.variant2]:((C=i.root)==null?void 0:C.variant)==="variant2"}),style:w(v({},T),{display:d?"block":"none"}),children:[s("div",{className:j.close,style:i.close,onClick:u,children:s(Ce,{})}),s("a",{href:(P=i.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:l,children:[s("div",{className:j.background,style:L}),s("div",{className:j.promotion,style:i.promotion,children:(H=i.promotion)==null?void 0:H.children}),s("div",{className:j.content,children:[s("div",{className:j.left,children:s("div",{className:j.logo,style:i.logo})}),s("div",{className:j.center,children:(g||[]).map((k,M)=>{var z,Z;return s("div",{className:j.slide,style:{animationName:$===M?j[((z=k.root)==null?void 0:z.animationName)||"fade-in-out"]:"none",animationDuration:`${(Z=k.root)==null?void 0:Z.animationDuration}ms`},children:s(_e,{value:w(v({},k),{device:r}),children:p(k.name)})})})}),s("div",{className:j.right,children:[s("div",{className:j.logo,style:i.logo}),s("div",{className:j.buttonWrapper,children:s("div",{className:S(j.button,{[j.button_animated]:i.button.$animated}),style:i.button,children:[s("div",{className:j.logo,style:i.logo}),(G=i.button)==null?void 0:G.children]})})]})]})]})]})}),wu=pe(s(ku,{})),xu=(e,t,o,n,r=Io)=>{const a=v({},e);return r.forEach(i=>{a[t]=w(v({},a[t]),{[i]:w(v({},a[t][i]),{[o]:typeof n=="function"?n(b(a,`${t}.${i}.${o}`)):n})})}),a};var ge=[],Ou=function(){return ge.some(function(e){return e.activeTargets.length>0})},Nu=function(){return ge.some(function(e){return e.skippedTargets.length>0})},Wo="ResizeObserver loop completed with undelivered notifications.",Tu=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Wo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Wo),window.dispatchEvent(e)},Pe;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Pe||(Pe={}));var me=function(e){return Object.freeze(e)},Uo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,me(this)}return e}(),qo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,me(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),mt=function(e){return e instanceof SVGElement&&"getBBox"in e},Xo=function(e){if(mt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ko=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Cu=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Be=typeof window!="undefined"?window:{},ot=new WeakMap,Zo=/auto|scroll/,Su=/^tb|vertical/,Au=/msie|trident/i.test(Be.navigator&&Be.navigator.userAgent),ie=function(e){return parseFloat(e||"0")},Se=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Uo((o?t:e)||0,(o?e:t)||0)},Jo=me({devicePixelContentBoxSize:Se(),borderBoxSize:Se(),contentBoxSize:Se(),contentRect:new qo(0,0,0,0)}),Yo=function(e,t){if(t===void 0&&(t=!1),ot.has(e)&&!t)return ot.get(e);if(Xo(e))return ot.set(e,Jo),Jo;var o=getComputedStyle(e),n=mt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Au&&o.boxSizing==="border-box",a=Su.test(o.writingMode||""),i=!n&&Zo.test(o.overflowY||""),l=!n&&Zo.test(o.overflowX||""),c=n?0:ie(o.paddingTop),d=n?0:ie(o.paddingRight),u=n?0:ie(o.paddingBottom),f=n?0:ie(o.paddingLeft),p=n?0:ie(o.borderTopWidth),g=n?0:ie(o.borderRightWidth),$=n?0:ie(o.borderBottomWidth),m=n?0:ie(o.borderLeftWidth),T=f+d,L=c+u,E=m+g,C=p+$,P=l?e.offsetHeight-C-e.clientHeight:0,H=i?e.offsetWidth-E-e.clientWidth:0,G=r?T+E:0,k=r?L+C:0,M=n?n.width:ie(o.width)-G-H,z=n?n.height:ie(o.height)-k-P,Z=M+T+H+E,be=z+L+P+C,He=me({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(z*devicePixelRatio),a),borderBoxSize:Se(Z,be,a),contentBoxSize:Se(M,z,a),contentRect:new qo(f,c,M,z)});return ot.set(e,He),He},Qo=function(e,t,o){var n=Yo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Pe.DEVICE_PIXEL_CONTENT_BOX:return i;case Pe.BORDER_BOX:return r;default:return a}},en=function(){function e(t){var o=Yo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=me([o.borderBoxSize]),this.contentBoxSize=me([o.contentBoxSize]),this.devicePixelContentBoxSize=me([o.devicePixelContentBoxSize])}return e}(),tn=function(e){if(Xo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Ru=function(){var e=1/0,t=[];ge.forEach(function(i){if(i.activeTargets.length!==0){var l=[];i.activeTargets.forEach(function(d){var u=new en(d.target),f=tn(d.target);l.push(u),d.lastReportedSize=Qo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,l,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},on=function(e){ge.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(tn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},ju=function(){var e=0;for(on(e);Ou();)e=Ru(),on(e);return Nu()&&Tu(),e>0},bt,nn=[],Iu=function(){return nn.splice(0).forEach(function(e){return e()})},Lu=function(e){if(!bt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Iu()}).observe(o,n),bt=function(){o.textContent="".concat(t?t--:t++)}}nn.push(e),bt()},Eu=function(e){Lu(function(){requestAnimationFrame(e)})},nt=0,Pu=function(){return!!nt},Bu=250,Hu={attributes:!0,characterData:!0,childList:!0,subtree:!0},rn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],an=function(e){return e===void 0&&(e=0),Date.now()+e},yt=!1,zu=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Bu),!yt){yt=!0;var n=an(t);Eu(function(){var r=!1;try{r=ju()}finally{if(yt=!1,t=n-an(),!Pu())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Hu)};document.body?o():Be.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rn.forEach(function(o){return Be.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),rn.forEach(function(o){return Be.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),$t=new zu,sn=function(e){!nt&&e>0&&$t.start(),nt+=e,!nt&&$t.stop()},Mu=function(e){return!mt(e)&&!Cu(e)&&getComputedStyle(e).display==="inline"},Vu=function(){function e(t,o){this.target=t,this.observedBox=o||Pe.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Qo(this.target,this.observedBox,!0);return Mu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Du=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),rt=new WeakMap,cn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},at=function(){function e(){}return e.connect=function(t,o){var n=new Du(t,o);rt.set(t,n)},e.observe=function(t,o,n){var r=rt.get(t),a=r.observationTargets.length===0;cn(r.observationTargets,o)<0&&(a&&ge.push(r),r.observationTargets.push(new Vu(o,n&&n.box)),sn(1),$t.schedule())},e.unobserve=function(t,o){var n=rt.get(t),r=cn(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ge.splice(ge.indexOf(n),1),n.observationTargets.splice(r,1),sn(-1))},e.disconnect=function(t){var o=this,n=rt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Fu=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");at.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ko(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");at.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ko(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");at.unobserve(this,t)},e.prototype.disconnect=function(){at.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Gu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Fu,ResizeObserverEntry:en,ResizeObserverSize:Uo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=_u,h.ComplexGift=Zd,h.ComplexPopup=ru,h.ExpressPopup=cu,h.SimpleGift=qd,h.SimplePopup=tu,h.WideCard=wu,h.filterDeep=Sd,h.findDeep=Cd,h.isValidTemplate=Nd,h.modifyState=xu,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|