@adstore/templates 2.4.4 → 2.5.1

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