@adstore/templates 2.5.1 → 2.5.6
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 +24 -0
- package/dist/style.css +1 -1
- package/dist/templates.es.js +1133 -1133
- package/dist/templates.umd.js +2 -2
- package/package.json +1 -1
package/dist/templates.umd.js
CHANGED
@@ -1,5 +1,5 @@
|
|
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
|
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 Gu=Object.defineProperty,Wu=Object.defineProperties;var Uu=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var pn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable;var _n=(h,_,O)=>_ in h?Gu(h,_,{enumerable:!0,configurable:!0,writable:!0,value:O}):h[_]=O,v=(h,_)=>{for(var O in _||(_={}))pn.call(_,O)&&_n(h,O,_[O]);if(it)for(var O of it(_))fn.call(_,O)&&_n(h,O,_[O]);return h},w=(h,_)=>Wu(h,Uu(_));var $t=(h,_)=>{var O={};for(var W in h)pn.call(h,W)&&_.indexOf(W)<0&&(O[W]=h[W]);if(h!=null&&it)for(var W of it(h))_.indexOf(W)<0&&fn.call(h,W)&&(O[W]=h[W]);return O};var ze=(h,_,O)=>new Promise((W,Me)=>{var S=Y=>{try{y(O.next(Y))}catch(ye){Me(ye)}},se=Y=>{try{y(O.throw(Y))}catch(ye){Me(ye)}},y=Y=>Y.done?W(Y.value):Promise.resolve(Y.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,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"})});
|
5
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var l=o.apply(null,i);l&&n.push(l)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[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,Y,ye,$e=0,kt=[],Ve=[],wt=_.options.__b,xt=_.options.__r,Ot=_.options.diffed,Nt=_.options.__c,Tt=_.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 ne(e){return $e=1,vn(At,e)}function vn(e,t,o){var n=Ae(se++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):At(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!i||i.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)&&(!i||i.call(this,l,c,d))};y.u=!0;var i=y.shouldComponentUpdate,a=y.componentWillUpdate;y.componentWillUpdate=function(l,c,d){if(this.__e){var u=i;i=void 0,r(l,c,d),i=u}a&&a.call(this,l,c,d)},y.shouldComponentUpdate=r}return n.__N||n.__}function U(e,t){var o=Ae(se++,3);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,y.__H.__h.push(o))}function Ct(e,t){var o=Ae(se++,4);!_.options.__s&&ct(o.__H,t)&&(o.__=e,o.i=t,y.__h.push(o))}function X(e){return $e=5,Re(function(){return{current:e}},[])}function De(e,t,o){$e=6,Ct(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 hn(e,t){return $e=8,Re(function(){return e},t)}function gn(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 mn(){for(var e;e=kt.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,wt&&wt(e)},_.options.__r=function(e){xt&&xt(e),se=0;var t=(y=e.__c).__H;t&&(Y===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=[])),Y=y},_.options.diffed=function(e){Ot&&Ot(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(kt.push(t)!==1&&ye===_.options.requestAnimationFrame||((ye=_.options.requestAnimationFrame)||bn)(mn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ve&&(o.__=o.__V),o.i=void 0,o.__V=Ve})),Y=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)}}),Nt&&Nt(e,t)},_.options.unmount=function(e){Tt&&Tt(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 St=typeof requestAnimationFrame=="function";function bn(e){var t,o=function(){clearTimeout(n),St&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);St&&(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 At(e,t){return typeof t=="function"?t(e):t}function Rt(e,t){for(var o in t)e[o]=t[o];return e}function jt(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 It(e){this.props=e}(It.prototype=new _.Component).isPureReactComponent=!0,It.prototype.shouldComponentUpdate=function(e,t){return jt(this.props,e)||jt(this.state,t)};var Lt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Lt&&Lt(e)};var yn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(o){var n=Rt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=yn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var $n=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}$n(e,t,o,n)};var Et=_.options.unmount;function Pt(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=Rt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Pt(n,t,o)})),e}function Bt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Bt(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),Et&&Et(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),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Bt(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(a,a)},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]=Pt(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 zt=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 i=function(){t.props.revealOrder?(n.push(r),zt(t,e,n)):r()};o?o(i):i()}},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){zt(e,o,t)})};var kn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,wn=/^(?: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)/,On=/[A-Z0-9]/g,Nn=typeof document!="undefined",Tn=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 Mt=_.options.event;function Cn(){}function Sn(){return this.cancelBubble}function An(){return this.defaultPrevented}_.options.event=function(e){return Mt&&(e=Mt(e)),e.persist=Cn,e.isPropagationStopped=Sn,e.isDefaultPrevented=An,e.nativeEvent=e};var Rn={enumerable:!1,configurable:!0,get:function(){return this.class}},Vt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Nn&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Tn(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":xn.test(i)?i=l:n.indexOf("-")===-1&&wn.test(i)?i=i.replace(On,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&r[i=l]&&(i="oninputCapture"),r[i]=a}}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",Rn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=kn,Vt&&Vt(e)};var Dt=_.options.__r;_.options.__r=function(e){Dt&&Dt(e),e.__c};var Ft=_.options.diffed;_.options.diffed=function(e){Ft&&Ft(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 jn(){this.__data__=[],this.size=0}var In=jn;function Ln(e,t){return e===t||e!==e&&t!==t}var We=Ln,En=We;function Pn(e,t){for(var o=e.length;o--;)if(En(e[o][0],t))return o;return-1}var Ue=Pn,Bn=Ue,Hn=Array.prototype,zn=Hn.splice;function Mn(e){var t=this.__data__,o=Bn(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 Vn=Mn,Dn=Ue;function Fn(e){var t=this.__data__,o=Dn(t,e);return o<0?void 0:t[o][1]}var Gn=Fn,Wn=Ue;function Un(e){return Wn(this.__data__,e)>-1}var qn=Un,Xn=Ue;function Kn(e,t){var o=this.__data__,n=Xn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Zn=Kn,Jn=In,Yn=Vn,Qn=Gn,er=qn,tr=Zn;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=Jn,ke.prototype.delete=Yn,ke.prototype.get=Qn,ke.prototype.has=er,ke.prototype.set=tr;var qe=ke,or=qe;function nr(){this.__data__=new or,this.size=0}var rr=nr;function ar(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var ir=ar;function sr(e){return this.__data__.get(e)}var cr=sr;function lr(e){return this.__data__.has(e)}var dr=lr,ur=typeof O=="object"&&O&&O.Object===Object&&O,Gt=ur,_r=Gt,pr=typeof self=="object"&&self&&self.Object===Object&&self,fr=_r||pr||Function("return this")(),we=fr,vr=we,hr=vr.Symbol,Wt=hr,Ut=Wt,qt=Object.prototype,gr=qt.hasOwnProperty,mr=qt.toString,je=Ut?Ut.toStringTag:void 0;function br(e){var t=gr.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=mr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var yr=br,$r=Object.prototype,kr=$r.toString;function wr(e){return kr.call(e)}var xr=wr,Xt=Wt,Or=yr,Nr=xr,Tr="[object Null]",Cr="[object Undefined]",Kt=Xt?Xt.toStringTag:void 0;function Sr(e){return e==null?e===void 0?Cr:Tr:Kt&&Kt in Object(e)?Or(e):Nr(e)}var Xe=Sr;function Ar(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var de=Ar,Rr=Xe,jr=de,Ir="[object AsyncFunction]",Lr="[object Function]",Er="[object GeneratorFunction]",Pr="[object Proxy]";function Br(e){if(!jr(e))return!1;var t=Rr(e);return t==Lr||t==Er||t==Ir||t==Pr}var dt=Br,Hr=we,zr=Hr["__core-js_shared__"],Mr=zr,ut=Mr,Zt=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Vr(e){return!!Zt&&Zt in e}var Dr=Vr,Fr=Function.prototype,Gr=Fr.toString;function Wr(e){if(e!=null){try{return Gr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ur=Wr,qr=dt,Xr=Dr,Kr=de,Zr=Ur,Jr=/[\\^$.*+?()[\]{}|]/g,Yr=/^\[object .+?Constructor\]$/,Qr=Function.prototype,ea=Object.prototype,ta=Qr.toString,oa=ea.hasOwnProperty,na=RegExp("^"+ta.call(oa).replace(Jr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ra(e){if(!Kr(e)||Xr(e))return!1;var t=qr(e)?na:Yr;return t.test(Zr(e))}var aa=ra;function ia(e,t){return e==null?void 0:e[t]}var sa=ia,ca=aa,la=sa;function da(e,t){var o=la(e,t);return ca(o)?o:void 0}var _t=da,ua=_t,_a=we,pa=ua(_a,"Map"),Jt=pa,fa=_t,va=fa(Object,"create"),Ke=va,Yt=Ke;function ha(){this.__data__=Yt?Yt(null):{},this.size=0}var ga=ha;function ma(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ba=ma,ya=Ke,$a="__lodash_hash_undefined__",ka=Object.prototype,wa=ka.hasOwnProperty;function xa(e){var t=this.__data__;if(ya){var o=t[e];return o===$a?void 0:o}return wa.call(t,e)?t[e]:void 0}var Oa=xa,Na=Ke,Ta=Object.prototype,Ca=Ta.hasOwnProperty;function Sa(e){var t=this.__data__;return Na?t[e]!==void 0:Ca.call(t,e)}var Aa=Sa,Ra=Ke,ja="__lodash_hash_undefined__";function Ia(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Ra&&t===void 0?ja:t,this}var La=Ia,Ea=ga,Pa=ba,Ba=Oa,Ha=Aa,za=La;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=Ea,xe.prototype.delete=Pa,xe.prototype.get=Ba,xe.prototype.has=Ha,xe.prototype.set=za;var Ma=xe,Qt=Ma,Va=qe,Da=Jt;function Fa(){this.size=0,this.__data__={hash:new Qt,map:new(Da||Va),string:new Qt}}var Ga=Fa;function Wa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ua=Wa,qa=Ua;function Xa(e,t){var o=e.__data__;return qa(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ze=Xa,Ka=Ze;function Za(e){var t=Ka(this,e).delete(e);return this.size-=t?1:0,t}var Ja=Za,Ya=Ze;function Qa(e){return Ya(this,e).get(e)}var ei=Qa,ti=Ze;function oi(e){return ti(this,e).has(e)}var ni=oi,ri=Ze;function ai(e,t){var o=ri(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ii=ai,si=Ga,ci=Ja,li=ei,di=ni,ui=ii;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=si,Oe.prototype.delete=ci,Oe.prototype.get=li,Oe.prototype.has=di,Oe.prototype.set=ui;var _i=Oe,pi=qe,fi=Jt,vi=_i,hi=200;function gi(e,t){var o=this.__data__;if(o instanceof pi){var n=o.__data__;if(!fi||n.length<hi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new vi(n)}return o.set(e,t),this.size=o.size,this}var mi=gi,bi=qe,yi=rr,$i=ir,ki=cr,wi=dr,xi=mi;function Ne(e){var t=this.__data__=new bi(e);this.size=t.size}Ne.prototype.clear=yi,Ne.prototype.delete=$i,Ne.prototype.get=ki,Ne.prototype.has=wi,Ne.prototype.set=xi;var Oi=Ne,Ni=_t,Ti=function(){try{var e=Ni(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),eo=Ti,to=eo;function Ci(e,t,o){t=="__proto__"&&to?to(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var pt=Ci,Si=pt,Ai=We;function Ri(e,t,o){(o!==void 0&&!Ai(e[t],o)||o===void 0&&!(t in e))&&Si(e,t,o)}var oo=Ri;function ji(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++r];if(o(i[c],c,i)===!1)break}return t}}var Ii=ji,Li=Ii,Ei=Li(),Pi=Ei,Je={},Bi={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,i=r&&r.exports===n,a=i?o.Buffer:void 0,l=a?a.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})(Bi,Je);var Hi=we,zi=Hi.Uint8Array,Mi=zi,no=Mi;function Vi(e){var t=new e.constructor(e.byteLength);return new no(t).set(new no(e)),t}var Di=Vi,Fi=Di;function Gi(e,t){var o=t?Fi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Wi=Gi;function Ui(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var qi=Ui,Xi=de,ro=Object.create,Ki=function(){function e(){}return function(t){if(!Xi(t))return{};if(ro)return ro(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Zi=Ki;function Ji(e,t){return function(o){return e(t(o))}}var Yi=Ji,Qi=Yi,es=Qi(Object.getPrototypeOf,Object),ao=es,ts=Object.prototype;function os(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||ts;return e===o}var io=os,ns=Zi,rs=ao,as=io;function is(e){return typeof e.constructor=="function"&&!as(e)?ns(rs(e)):{}}var ss=is;function cs(e){return e!=null&&typeof e=="object"}var Ie=cs,ls=Xe,ds=Ie,us="[object Arguments]";function _s(e){return ds(e)&&ls(e)==us}var ps=_s,so=ps,fs=Ie,co=Object.prototype,vs=co.hasOwnProperty,hs=co.propertyIsEnumerable,gs=so(function(){return arguments}())?so:function(e){return fs(e)&&vs.call(e,"callee")&&!hs.call(e,"callee")},lo=gs,ms=Array.isArray,uo=ms,bs=9007199254740991;function ys(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bs}var _o=ys,$s=dt,ks=_o;function ws(e){return e!=null&&ks(e.length)&&!$s(e)}var ft=ws,xs=ft,Os=Ie;function Ns(e){return Os(e)&&xs(e)}var Ts=Ns,Le={},Cs={get exports(){return Le},set exports(e){Le=e}};function Ss(){return!1}var As=Ss;(function(e,t){var o=we,n=As,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Cs,Le);var Rs=Xe,js=ao,Is=Ie,Ls="[object Object]",Es=Function.prototype,Ps=Object.prototype,po=Es.toString,Bs=Ps.hasOwnProperty,Hs=po.call(Object);function zs(e){if(!Is(e)||Rs(e)!=Ls)return!1;var t=js(e);if(t===null)return!0;var o=Bs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&po.call(o)==Hs}var Ms=zs,Vs=Xe,Ds=_o,Fs=Ie,Gs="[object Arguments]",Ws="[object Array]",Us="[object Boolean]",qs="[object Date]",Xs="[object Error]",Ks="[object Function]",Zs="[object Map]",Js="[object Number]",Ys="[object Object]",Qs="[object RegExp]",ec="[object Set]",tc="[object String]",oc="[object WeakMap]",nc="[object ArrayBuffer]",rc="[object DataView]",ac="[object Float32Array]",ic="[object Float64Array]",sc="[object Int8Array]",cc="[object Int16Array]",lc="[object Int32Array]",dc="[object Uint8Array]",uc="[object Uint8ClampedArray]",_c="[object Uint16Array]",pc="[object Uint32Array]",x={};x[ac]=x[ic]=x[sc]=x[cc]=x[lc]=x[dc]=x[uc]=x[_c]=x[pc]=!0,x[Gs]=x[Ws]=x[nc]=x[Us]=x[rc]=x[qs]=x[Xs]=x[Ks]=x[Zs]=x[Js]=x[Ys]=x[Qs]=x[ec]=x[tc]=x[oc]=!1;function fc(e){return Fs(e)&&Ds(e.length)&&!!x[Vs(e)]}var vc=fc;function hc(e){return function(t){return e(t)}}var gc=hc,Ye={},mc={get exports(){return Ye},set exports(e){Ye=e}};(function(e,t){var o=Gt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=l})(mc,Ye);var bc=vc,yc=gc,fo=Ye,vo=fo&&fo.isTypedArray,$c=vo?yc(vo):bc,ho=$c;function kc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var go=kc,wc=pt,xc=We,Oc=Object.prototype,Nc=Oc.hasOwnProperty;function Tc(e,t,o){var n=e[t];(!(Nc.call(e,t)&&xc(n,o))||o===void 0&&!(t in e))&&wc(e,t,o)}var Cc=Tc,Sc=Cc,Ac=pt;function Rc(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Ac(o,l,c):Sc(o,l,c)}return o}var jc=Rc;function Ic(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Lc=Ic,Ec=9007199254740991,Pc=/^(?:0|[1-9]\d*)$/;function Bc(e,t){var o=typeof e;return t=t==null?Ec:t,!!t&&(o=="number"||o!="symbol"&&Pc.test(e))&&e>-1&&e%1==0&&e<t}var mo=Bc,Hc=Lc,zc=lo,Mc=uo,Vc=Le,Dc=mo,Fc=ho,Gc=Object.prototype,Wc=Gc.hasOwnProperty;function Uc(e,t){var o=Mc(e),n=!o&&zc(e),r=!o&&!n&&Vc(e),i=!o&&!n&&!r&&Fc(e),a=o||n||r||i,l=a?Hc(e.length,String):[],c=l.length;for(var d in e)(t||Wc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Dc(d,c)))&&l.push(d);return l}var qc=Uc;function Xc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Kc=Xc,Zc=de,Jc=io,Yc=Kc,Qc=Object.prototype,el=Qc.hasOwnProperty;function tl(e){if(!Zc(e))return Yc(e);var t=Jc(e),o=[];for(var n in e)n=="constructor"&&(t||!el.call(e,n))||o.push(n);return o}var ol=tl,nl=qc,rl=ol,al=ft;function il(e){return al(e)?nl(e,!0):rl(e)}var bo=il,sl=jc,cl=bo;function ll(e){return sl(e,cl(e))}var dl=ll,yo=oo,ul=Je,_l=Wi,pl=qi,fl=ss,$o=lo,ko=uo,vl=Ts,hl=Le,gl=dt,ml=de,bl=Ms,yl=ho,wo=go,$l=dl;function kl(e,t,o,n,r,i,a){var l=wo(e,o),c=wo(t,o),d=a.get(c);if(d){yo(e,o,d);return}var u=i?i(l,c,o+"",e,t,a):void 0,f=u===void 0;if(f){var p=ko(c),g=!p&&hl(c),$=!p&&!g&&yl(c);u=c,p||g||$?ko(l)?u=l:vl(l)?u=pl(l):g?(f=!1,u=ul(c,!0)):$?(f=!1,u=_l(c,!0)):u=[]:bl(c)||$o(c)?(u=l,$o(l)?u=$l(l):(!ml(l)||gl(l))&&(u=fl(c))):f=!1}f&&(a.set(c,u),r(u,c,n,i,a),a.delete(c)),yo(e,o,u)}var wl=kl,xl=Oi,Ol=oo,Nl=Pi,Tl=wl,Cl=de,Sl=bo,Al=go;function xo(e,t,o,n,r){e!==t&&Nl(t,function(i,a){if(r||(r=new xl),Cl(i))Tl(e,t,a,o,xo,n,r);else{var l=n?n(Al(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Ol(e,a,l)}},Sl)}var Rl=xo;function jl(e){return e}var Oo=jl;function Il(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 Ll=Il,El=Ll,No=Math.max;function Pl(e,t,o){return t=No(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=No(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),El(e,this,l)}}var Bl=Pl;function Hl(e){return function(){return e}}var zl=Hl,Ml=zl,To=eo,Vl=Oo,Dl=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:Ml(t),writable:!0})}:Vl,Fl=Dl,Gl=800,Wl=16,Ul=Date.now;function ql(e){var t=0,o=0;return function(){var n=Ul(),r=Wl-(n-o);if(o=n,r>0){if(++t>=Gl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Xl=ql,Kl=Fl,Zl=Xl,Jl=Zl(Kl),Yl=Jl,Ql=Oo,ed=Bl,td=Yl;function od(e,t){return td(ed(e,t,Ql),e+"")}var nd=od,rd=We,ad=ft,id=mo,sd=de;function cd(e,t,o){if(!sd(o))return!1;var n=typeof t;return(n=="number"?ad(o)&&id(t,o.length):n=="string"&&t in o)?rd(o[t],e):!1}var ld=cd,dd=nd,ud=ld;function _d(e){return dd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&ud(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,i)}return t})}var pd=_d,fd=Rl,vd=pd;vd(function(e,t,o){fd(e,t,o)});const ue=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(z).join(".");return ue(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(z).join(".");return n[r]=ue(t(r,i,a),t,a),n},{}):e,hd=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:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},gd=()=>({name:null,logo:null}),Co=()=>({name:null,logo:null}),md=()=>({factor:null,type:null,outcome:null,value:null}),bd=()=>({w1:null,x:null,w2:null}),yd=()=>({w1:null,w2:null}),$d=()=>({one_x_two:bd(),one_two:yd()}),So=(e,t)=>{var n;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:Co(),1:Co()}),league:(e==null?void 0:e.unique_tournament)||gd(),prediction:(e==null?void 0:e.prediction)||md(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=b(e||{},`markets.${a}`,$d()[a||"one_two"]),i),{});Ee(o,"markets",r)}return o},kd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),wd=e=>!e&&e==null,z=e=>!wd(e),Ao=e=>typeof e!="object"&&typeof e!="function"||e===null,xd=e=>typeof e=="object"&&!Array.isArray(e)&&z(e),Od=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),re=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function J(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((i,a)=>i&&i[a],e);return r===void 0?o:r},Ee=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Nd=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},Ro=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Td=e=>"id"in e&&"root"in e,Cd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),jo=(e,t,o)=>ue(e,(n,r,i)=>Ao(r)||Array.isArray(r)&&r.every(Ao)?o?o(n,[r,b(t,i)],i)?b(t,i,r):r:b(t,i,r):r),Sd=(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}},Ad=(e,t)=>{const o=[];return ue(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Io=["desktop","laptop","tablet","mobile"],Rd={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 jd=0;function s(e,t,o,n,r,i){var a,l,c={};for(l in t)l=="ref"?a=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--jd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[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=>a=>ze(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=$t(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Du);window.ResizeObserver=c.ResizeObserver}return _.render(s(_e,{value:r,children:_.cloneElement(e,v({ref:n,id:o},i))}),t)}),q=()=>gn(Lo),Id=(e={})=>typeof e=="object"&&z(e)&&Io.every(t=>t in e),Ld=(e,t)=>e&&ue(e,(o,n)=>{if(Id(n)){const r=n[t];return r&&"parent"in r&&z(r.parent)?v(v({},n[r.parent]),J(r,"parent")):r}return n}),fe=(e,t)=>Ld(e,t),Te=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Rd})=>{const[r,i]=ne("desktop"),a=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";i(u)};return Ct(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Eo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),et=(e,t)=>z(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Ed=e=>e.startsWith("px_"),Pd=e=>e.startsWith("percent_"),Bd=(e,t)=>{let o=e,n=t;return Ed(o)&&(o=o.replace("px_",""),n=et(t,"px")),Pd(o)&&(o=o.replace("percent_",""),n=et(t,"%")),{key:o,value:n}},Hd="-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:i,value:a}=Bd(n,r);if(xd(a)&&(o[i]=Po(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=z(a)?`${a}`:""),i==="innerText"&&(o.innerText=z(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?z(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=et(a,"px")),i==="backgroundFit"&&(Eo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&z(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Eo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&z(o.backgroundColorOpacity)&&z(o.backgroundColor)){const l=Nd(o.backgroundColor);l&&(o.backgroundColor=Cd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=Hd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Md=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,V=e=>z(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Md(n)?Po(v({},e[o])):n,t),{}):e,Vd=e=>e in document.createElement("div").style||e.startsWith("--"),ae=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=$t(i,["children","typography","accentTypography"]);var c;const a=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([u,f])=>{Vd(u)&&(d+=`${Od(u)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(v({},n),{style:t,dangerouslySetInnerHTML:{__html:l}}))},Bo=()=>{const[e,t]=ne(!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"})}),vt=()=>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"})}),Dd=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,B,G;const o=Dd(t),n=V(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,i={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"},a={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=z((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, ${(B=n.icon)==null?void 0:B.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:i,bodyRules:a,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]);U(()=>{o.forEach(hd)},[o])},Q=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Fd=["borderWidth","borderColor","borderStyle"],zo=["imageSource","objectFit"],tt=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Gd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ne(!1),i=X(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return U(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),U(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Mo=({ref:e,openDelay:t})=>{const o=X(Qe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),i=c=>o.current.on("autoOpen",c),{isOpen:a,toggle:l}=Gd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return De(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),U(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Wd=le(({id:e},t)=>{var L,E,C,P,B,G,k,M,H;const o=X(null),[n,r]=Bo(),i=q(),a=Te({targetRef:o,id:e}),l=fe(i,a),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?re(c.container,...Fd):{};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(vt,{})})}),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:(B=c==null?void 0:c.text)==null?void 0:B.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:(H=c==null?void 0:c.legal)==null?void 0:H.buttonHideText})]})})})]})]})]})}),Ud=pe(s(Wd,{})),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"},ee={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"},qd=({onClick:e})=>{var n,r,i,a,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(ee.root,{[ee.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:ee.body,children:[s("div",{className:ee.line,style:o.line}),s("div",{className:ee.bodyInner,children:[s("div",{className:ee.logo,style:o.logo}),s("div",{className:ee.text,style:o.text,children:s(ae,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:ee.button,style:o.button,children:[s("div",{className:ee.logo,style:o.logo}),s("div",{className:ee.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:ee.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Xd=le(({id:e},t)=>{var L,E,C,P;const o=X(null),n=q(),r=Te({targetRef:o,id:e}),i=fe(n,r),a=V(i),{isOpen:l,click:c,toggle:d}=Mo({ref:t,openDelay:(L=i==null?void 0:i.container)==null?void 0:L.delay});ve(i);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:g}=Ho(i,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),$=(E=a==null?void 0:a.title)==null?void 0:E.hasIcon,m=re(a==null?void 0:a.title,...tt),T=J(a==null?void 0:a.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(vt,{})})}),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:a.container,children:[s("div",{className:A.close,style:a.close,onClick:d,children:s(Ce,{})}),s("div",{className:A.head,style:m,children:[$&&s("div",{className:A.headIcon,style:re(a.title,"color"),children:s(vt,{})}),s("div",{className:A.headTitle,style:T,children:(C=a.title)==null?void 0:C.children})]}),s("div",{className:A.inner,children:(a.children||[]).map(B=>s(_e,{value:B,children:s(qd,{onClick:c})}))}),s("div",{className:A.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children})]})]})]})}),Kd=pe(s(Xd,{})),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],Zd={root:"_root_mj8hr_1"},Jd=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:Zd.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})})},ht=(e,t=0)=>{const o=X(Qe()),[n,r]=ne(!1),[i,a]=ne(),[l,c]=ne(!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 kd(+t),r(!0)}),g=()=>r(!1),$=()=>{o.current.emit("clickHide"),g()};return U(()=>{l&&o.current.emit("visible",n)},[n,l]),De(e,()=>({onVisible:d,onClick:u,onClickHide:f,show:p,hide:g,setApiHost:a,resetListeners:o.current.reset})),U(()=>o.current.reset,[]),{isReady:l,isOpen:n,apiHost:i,show:p,hide:g,clickHide:$,setIsReady:c,click:(...m)=>{g(),o.current.emit("click",...m)}}};function Yd(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const Qd=le(({id:e,className:t},o)=>{var P,B,G,k,M,H;const n=X(null),r=X(null),i=Te({targetRef:n,id:e}),a=q(),l=fe(a,i);ve(l),Ee(l,"button.percent_width",(P=l==null?void 0:l.button)==null?void 0:P.width),Ee(l,"legal.percent_width",(B=l==null?void 0:l.legal)==null?void 0:B.width);const c=V(l),d=b(c,"root.delay",0),{isOpen:u,isReady:f,setIsReady:p,clickHide:g,click:$}=ht(o,d);U(()=>{const Z=r.current;if(!Z)return;if(Yd(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=J(c.root,...zo,...Q),C=re(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:J(c.close,"backgroundColor"),onClick:g,children:s(Ce,{})}),s("a",{href:(H=c.root)==null?void 0:H.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(K.content,{[K.desktop]:i==="desktop",[K.tablet]:i==="tablet",[K.laptop]:i==="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(Jd,{})}))}),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})]})]})]})]})}),eu=pe(s(Qd,{})),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"},te={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"},tu=({onClick:e})=>{var r,i,a,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(te.root,{[te.desktop]:n==="desktop",[te.laptop]:n==="laptop"}),style:J(o.root,...tt),onClick:()=>e(o.id),children:[s("div",{className:te.header,style:o.header,children:s("div",{className:te.logo,style:o.logo})}),s("div",{className:te.container,style:re(o.root,...tt),children:[s("div",{className:te.body,children:[s("div",{className:te.logo,style:o.logo}),s(ae,{className:te.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})]}),s("div",{children:[s(ae,{className:te.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),s(ae,{className:te.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})]})]})},ou=le(({id:e},t)=>{var f;const o=X(null),n=Te({targetRef:o,id:e}),r=q(),i=fe(r,n),a=V(i);ve(i);const l=b(a,"root.delay",0),{isOpen:c,clickHide:d,click:u}=ht(t,l);return s("div",{className:ce.root,style:{display:c?"flex":"none"},children:[s("div",{className:ce.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:S(ce.content,{[ce.desktop]:n==="desktop",[ce.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ce.close,style:J(a.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s(ae,{className:ce.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ce.wrapper,children:(a.children||[]).map(p=>s(_e,{value:w(v({},p),{device:n}),children:s(tu,{onClick:u})}))})]})]})}),nu=pe(s(ou,{})),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"},ru=()=>{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[i,a]=ne(),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=hn(()=>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());a(d.data)}),[l,t,n,r]);return U(()=>{t||c()},[l,t]),{data:i,execute:c}};function Do(e){const t=X();return U(()=>{t.current=e},[e]),t.current}const au=(e,t)=>{const o=d=>{var u;return z(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),i=Do(r),{data:a,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 U(()=>{Ro(i,r)||l()},[r]),n.map(d=>{const u=(a||[]).find(g=>g.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=So(u),p=jo(f,d.root.customMatch,(g,[$,m])=>z(m));return w(v({},d),{match:p})}).filter(Boolean)},iu=le(({id:e},t)=>{var E,C,P,B,G,k,M,H,Z,be,He,dn,un;const o=X(null),n=Te({targetRef:o,id:e}),r=q(),i=fe(r,n);Ee(i,"buttonWrapper.percent_width",(E=i==null?void 0:i.buttonWrapper)==null?void 0:E.width),Ee(i,"legal.percent_width",(C=i==null?void 0:i.legal)==null?void 0:C.width);const a=V(i);ve(i);const l=b(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=ht(t,l),p=au(i,d),g=w(v({},a.root),{alignItems:he((P=a.root)==null?void 0:P.align)}),$=w(v({},a.content),{alignItems:he((B=a.root)==null?void 0:B.align)}),m=w(v({},a.text),{textAlign:(G=a.root)==null?void 0:G.align}),T=w(v({},a==null?void 0:a.button),{justifyContent:he((k=a.root)==null?void 0:k.textAlign)}),L=w(v({},a==null?void 0:a.legal),{justifyContent:he((M=a.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:a.overlay,onClick:u}),s("div",{className:D.content,children:[s("div",{className:D.close,style:J(a.close,"backgroundColor"),onClick:u,children:s(Ce,{})}),s("a",{ref:o,href:(H=a.root)==null?void 0:H.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:D.body,style:g,children:[s("div",{className:D.head,children:[s("div",{className:D.title,style:a.title,children:(Z=a.title)==null?void 0:Z.children}),s("div",{className:D.logo,style:a.logo})]}),s("div",{className:D.wrapper,style:$,children:(p||[]).map(Fu=>s(_e,{value:w(v({},Fu),{device:n}),children:s(ru,{})}))}),s(ae,{className:D.text,style:m,typography:m.typography,accentTypography:m.accentTypography,children:(be=a.text)==null?void 0:be.children}),s("div",{className:D.button,style:a.buttonWrapper,children:[s("div",{className:D.buttonHead,style:a.buttonHead,children:(He=a.buttonHead)==null?void 0:He.children}),s("div",{className:D.buttonTarget,style:T,children:(dn=a.button)==null?void 0:dn.children})]}),s(ae,{className:D.legal,style:L,children:(un=a.legal)==null?void 0:un.children})]})})]})]})}),su=pe(s(iu,{})),oe={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"},cu=({onClick:e})=>{var i,a,l,c,d,u,f,p;const t=q(),o=V(t),[n,r]=Bo();return s("div",{className:oe.root,style:J(o.root,...Q),children:[s("div",{className:oe.background,style:re(o.root,...Q)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:oe.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:oe.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:oe.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:oe.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:oe.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:S(oe.legal,{[oe.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:oe.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:oe.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},lu=e=>{const t=X(Qe()),o=n=>t.current.on("click",n);return De(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},du=le((e,t)=>{const o=X(null),n=q(),i=fe(n,"mobile"),a=V(i);ve(i);const{click:l}=lu(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(cu,{onClick:l})}))})}),uu=pe(s(du,{})),j={root:"_root_h9hvl_1",desktop:"_desktop_h9hvl_13",laptop:"_laptop_h9hvl_14",promotion:"_promotion_h9hvl_18",background:"_background_h9hvl_34",close:"_close_h9hvl_43",content:"_content_h9hvl_52",variant2:"_variant2_h9hvl_65",logo:"_logo_h9hvl_69",left:"_left_h9hvl_81",center:"_center_h9hvl_94",slide:"_slide_h9hvl_100",slide_animated_default:"_slide_animated_default_h9hvl_114","fade-in-out":"_fade-in-out_h9hvl_1","slide_animated_bottom-top":"_slide_animated_bottom-top_h9hvl_117","fade-in-bottom-out-top":"_fade-in-bottom-out-top_h9hvl_1","slide_animated_top-bottom":"_slide_animated_top-bottom_h9hvl_120",right:"_right_h9hvl_124",buttonWrapper:"_buttonWrapper_h9hvl_139",button:"_button_h9hvl_139",button_animated:"_button_animated_h9hvl_170",increase:"_increase_h9hvl_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_h9hvl_1"},Fo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},_u=()=>{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:J(t.root,...Q),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_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},pu=()=>{var i,a;const e=q(),t=V(e),o=J(t.root,...Q),n=w(v({},t.teamLogo),{backgroundImage:b(t,"match.teams[0].logo"),backgroundColor:"transparent"}),r=w(v({},t.teamLogo),{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"}),style:o,children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.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:n.backgroundImage,style:n}),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:r.backgroundImage,style:r}),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")})]})]})},F={root:"_root_5fypv_1",title:"_title_5fypv_8",titleLabel:"_titleLabel_5fypv_13",tablet:"_tablet_5fypv_16",desktop:"_desktop_5fypv_19",laptop:"_laptop_5fypv_19",titleValue:"_titleValue_5fypv_23",team:"_team_5fypv_34",teamLogo:"_teamLogo_5fypv_45",national:"_national_5fypv_56",teamName:"_teamName_5fypv_77",teamValue:"_teamValue_5fypv_89"},Go=(e,t,o=1,n=!1)=>{const[r,i]=[t[0],t[1]||t[0]].map(l=>l*o),a=`w${r}-h${i}${n?"-c":""}`;return e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`)},fu=()=>{var r,i;const e=q(),t=V(e),o=w(v(v({},re(t.root,...Q)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:Go(b(t,"match.teams[0].logo"),[120,120])}),n=w(v(v({},re(t.root,...Q)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:Go(b(t,"match.teams[1].logo"),[120,120])});return s("div",{className:S(F.root,{[F.desktop]:(e==null?void 0:e.device)==="desktop",[F.laptop]:(e==null?void 0:e.device)==="laptop",[F.tablet]:(e==null?void 0:e.device)==="tablet",[F.national]:b(t,"match.isNational")}),style:J(t.root,...Q),children:[s("div",{className:F.title,children:[s("div",{className:F.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:F.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:F.team,children:[s("img",{className:F.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:F.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:F.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:F.team,children:[s("img",{className:F.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:F.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:F.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},vu=(e=[])=>{var i;const t=e.length,[o,n]=ne(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return U(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},hu={matches:"one_x_two",matchesOneTwo:"one_two"},Wo=e=>[hu[e]],gu=(e,t)=>{const o=d=>{var u;return z(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:Wo(d.name)})),i=Do(r),{data:a,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 U(()=>{Ro(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(a||[]).find($=>$.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Wo(d.name),p=So(u,{markets:f}),g=jo(p,d.root.customMatch,($,[m,T])=>z(T));return w(v({},d),{match:g})}return d}).filter(Boolean)},mu=e=>{const t=X(Qe()),[o,n]=ne(!1),[r,i]=ne(),a=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 U(()=>{t.current.emit("visible",o)},[o]),De(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:u,setApiHost:i,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:u,clickHide:f,click:(...p)=>{u(),t.current.emit("click",...p)}}},bu=3700,yu=le(({id:e},t)=>{var E,C,P,B,G;const o=X(null),n=q(),r=Te({id:e,targetRef:o}),i=fe(n,r),a=V(i);ve(i);const{apiHost:l,isOpen:c,click:d,clickHide:u}=mu(t),f=gu(a,l),p=k=>({text:s(_u,{}),matches:s(pu,{}),matchesOneTwo:s(fu,{})})[k],g=f.filter(Boolean).map(k=>{var M,H;return w(v({},k),{animationName:(M=k==null?void 0:k.root)==null?void 0:M.animationName,animationDuration:((H=k==null?void 0:k.root)==null?void 0:H.animationDuration)||bu})}),$=vu(g),m=V(g[$]||{}),T=J(a.root,...Q),L=(E=m==null?void 0:m.root)!=null&&E.hasCustomBackground?re((m==null?void 0:m.root)||{},...Q):re(a.root,...Q);return s("div",{ref:o,className:S(j.root,{[j.desktop]:r==="desktop",[j.laptop]:r==="laptop",[j.tablet]:r==="tablet",[j.variant2]:((C=a.root)==null?void 0:C.variant)==="variant2"}),style:w(v({},T),{display:c?"block":"none"}),children:[s("div",{className:j.close,style:a.close,onClick:u,children:s(Ce,{})}),s("a",{href:(P=a.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:j.background,style:L}),s("div",{className:j.promotion,style:a.promotion,children:(B=a.promotion)==null?void 0:B.children}),s("div",{className:j.content,children:[s("div",{className:j.left,children:s("div",{className:j.logo,style:a.logo})}),s("div",{className:j.center,children:(g||[]).map((k,M)=>{var H,Z;return s("div",{className:j.slide,style:{animationName:$===M?j[((H=k.root)==null?void 0:H.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:a.logo}),s("div",{className:j.buttonWrapper,children:s("div",{className:S(j.button,{[j.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:j.logo,style:a.logo}),(G=a.button)==null?void 0:G.children]})})]})]})]})]})}),$u=pe(s(yu,{})),ku=(e,t,o,n,r=Io)=>{const i=v({},e);return r.forEach(a=>{i[t]=w(v({},i[t]),{[a]:w(v({},i[t][a]),{[o]:typeof n=="function"?n(b(i,`${t}.${a}.${o}`)):n})})}),i};var ge=[],wu=function(){return ge.some(function(e){return e.activeTargets.length>0})},xu=function(){return ge.some(function(e){return e.skippedTargets.length>0})},Uo="ResizeObserver loop completed with undelivered notifications.",Ou=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Uo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Uo),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)},qo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,me(this)}return e}(),Xo=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,i=t.right,a=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),gt=function(e){return e instanceof SVGElement&&"getBBox"in e},Ko=function(e){if(gt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},Zo=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)},Nu=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,Jo=/auto|scroll/,Tu=/^tb|vertical/,Cu=/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 qo((o?t:e)||0,(o?e:t)||0)},Yo=me({devicePixelContentBoxSize:Se(),borderBoxSize:Se(),contentBoxSize:Se(),contentRect:new Xo(0,0,0,0)}),Qo=function(e,t){if(t===void 0&&(t=!1),ot.has(e)&&!t)return ot.get(e);if(Ko(e))return ot.set(e,Yo),Yo;var o=getComputedStyle(e),n=gt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Cu&&o.boxSizing==="border-box",i=Tu.test(o.writingMode||""),a=!n&&Jo.test(o.overflowY||""),l=!n&&Jo.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,B=a?e.offsetWidth-E-e.clientWidth:0,G=r?T+E:0,k=r?L+C:0,M=n?n.width:ie(o.width)-G-B,H=n?n.height:ie(o.height)-k-P,Z=M+T+B+E,be=H+L+P+C,He=me({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(H*devicePixelRatio),i),borderBoxSize:Se(Z,be,i),contentBoxSize:Se(M,H,i),contentRect:new Xo(f,c,M,H)});return ot.set(e,He),He},en=function(e,t,o){var n=Qo(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case Pe.DEVICE_PIXEL_CONTENT_BOX:return a;case Pe.BORDER_BOX:return r;default:return i}},tn=function(){function e(t){var o=Qo(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}(),on=function(e){if(Ko(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Su=function(){var e=1/0,t=[];ge.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var u=new tn(d.target),f=on(d.target);l.push(u),d.lastReportedSize=en(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},nn=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()&&(on(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Au=function(){var e=0;for(nn(e);wu();)e=Su(),nn(e);return xu()&&Ou(),e>0},mt,rn=[],Ru=function(){return rn.splice(0).forEach(function(e){return e()})},ju=function(e){if(!mt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Ru()}).observe(o,n),mt=function(){o.textContent="".concat(t?t--:t++)}}rn.push(e),mt()},Iu=function(e){ju(function(){requestAnimationFrame(e)})},nt=0,Lu=function(){return!!nt},Eu=250,Pu={attributes:!0,characterData:!0,childList:!0,subtree:!0},an=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],sn=function(e){return e===void 0&&(e=0),Date.now()+e},bt=!1,Bu=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=Eu),!bt){bt=!0;var n=sn(t);Iu(function(){var r=!1;try{r=Au()}finally{if(bt=!1,t=n-sn(),!Lu())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,Pu)};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(),an.forEach(function(o){return Be.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),an.forEach(function(o){return Be.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),yt=new Bu,cn=function(e){!nt&&e>0&&yt.start(),nt+=e,!nt&&yt.stop()},Hu=function(e){return!gt(e)&&!Nu(e)&&getComputedStyle(e).display==="inline"},zu=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=en(this.target,this.observedBox,!0);return Hu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Mu=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),rt=new WeakMap,ln=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 Mu(t,o);rt.set(t,n)},e.observe=function(t,o,n){var r=rt.get(t),i=r.observationTargets.length===0;ln(r.observationTargets,o)<0&&(i&&ge.push(r),r.observationTargets.push(new zu(o,n&&n.box)),cn(1),yt.schedule())},e.unobserve=function(t,o){var n=rt.get(t),r=ln(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ge.splice(ge.indexOf(n),1),n.observationTargets.splice(r,1),cn(-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}(),Vu=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(!Zo(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(!Zo(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 Du=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Vu,ResizeObserverEntry:tn,ResizeObserverSize:qo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=uu,h.ComplexGift=Kd,h.ComplexPopup=nu,h.ExpressPopup=su,h.SimpleGift=Ud,h.SimplePopup=eu,h.WideCard=$u,h.filterDeep=Ad,h.findDeep=Sd,h.isValidTemplate=Td,h.modifyState=ku,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|