@adstore/templates 2.2.14 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- (function(v,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(v=typeof globalThis!="undefined"?globalThis:v||self,_(v["@adstore/templates"]={},v.preact))})(this,function(v,_){"use strict";var A_=Object.defineProperty,R_=Object.defineProperties;var j_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var on=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable;var tn=(v,_,k)=>_ in v?A_(v,_,{enumerable:!0,configurable:!0,writable:!0,value:k}):v[_]=k,g=(v,_)=>{for(var k in _||(_={}))on.call(_,k)&&tn(v,k,_[k]);if(tt)for(var k of tt(_))nn.call(_,k)&&tn(v,k,_[k]);return v},R=(v,_)=>R_(v,j_(_));var yt=(v,_)=>{var k={};for(var z in v)on.call(v,z)&&_.indexOf(z)<0&&(k[z]=v[z]);if(v!=null&&tt)for(var z of tt(v))_.indexOf(z)<0&&nn.call(v,z)&&(k[z]=v[z]);return k};var ot=(v,_,k)=>new Promise((z,Le)=>{var A=F=>{try{m(k.next(F))}catch(he){Le(he)}},te=F=>{try{m(k.throw(F))}catch(he){Le(he)}},m=F=>F.done?z(F.value):Promise.resolve(F.value).then(A,te);m((k=k.apply(v,_)).next())});var k=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Le={get exports(){return z},set exports(e){z=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 j_=Object.defineProperty,E_=Object.defineProperties;var I_=Object.getOwnPropertyDescriptors;var nt=Object.getOwnPropertySymbols;var nn=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable;var on=(h,_,k)=>_ in h?j_(h,_,{enumerable:!0,configurable:!0,writable:!0,value:k}):h[_]=k,g=(h,_)=>{for(var k in _||(_={}))nn.call(_,k)&&on(h,k,_[k]);if(nt)for(var k of nt(_))rn.call(_,k)&&on(h,k,_[k]);return h},A=(h,_)=>E_(h,I_(_));var $t=(h,_)=>{var k={};for(var z in h)nn.call(h,z)&&_.indexOf(z)<0&&(k[z]=h[z]);if(h!=null&&nt)for(var z of nt(h))_.indexOf(z)<0&&rn.call(h,z)&&(k[z]=h[z]);return k};var rt=(h,_,k)=>new Promise((z,Pe)=>{var R=G=>{try{m(k.next(G))}catch(he){Pe(he)}},te=G=>{try{m(k.throw(G))}catch(he){Pe(he)}},m=G=>G.done?z(G.value):Promise.resolve(G.value).then(R,te);m((k=k.apply(h,_)).next())});var k=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Pe={get exports(){return z},set exports(e){z=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=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var i=typeof r;if(i==="string"||i==="number")n.push(r);else if(Array.isArray(r)){if(r.length){var c=o.apply(null,r);c&&n.push(c)}}else if(i==="object"){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){n.push(r.toString());continue}for(var l in r)t.call(r,l)&&r[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var te,m,F,he,Te=0,$t=[],Pe=[],kt=_.options.__b,xt=_.options.__r,wt=_.options.diffed,Ot=_.options.__c,Tt=_.options.unmount;function Ne(e,t){_.options.__h&&_.options.__h(m,e,Te||t),Te=0;var o=m.__H||(m.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Pe}),o.__[e]}function ne(e){return Te=1,rn(St,e)}function rn(e,t,o){var n=Ne(te++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):St(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 a=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!r||r.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)&&(!r||r.call(this,c,l,d))};m.u=!0;var r=m.shouldComponentUpdate,i=m.componentWillUpdate;m.componentWillUpdate=function(c,l,d){if(this.__e){var u=r;r=void 0,a(c,l,d),r=u}i&&i.call(this,c,l,d)},m.shouldComponentUpdate=a}return n.__N||n.__}function X(e,t){var o=Ne(te++,3);!_.options.__s&&it(o.__H,t)&&(o.__=e,o.i=t,m.__H.__h.push(o))}function Nt(e,t){var o=Ne(te++,4);!_.options.__s&&it(o.__H,t)&&(o.__=e,o.i=t,m.__h.push(o))}function V(e){return Te=5,rt(function(){return{current:e}},[])}function nt(e,t,o){Te=6,Nt(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 rt(e,t){var o=Ne(te++,7);return it(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function an(e){var t=m.context[e.__c],o=Ne(te++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(m)),t.props.value):e.__}function sn(){for(var e;e=$t.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ze),e.__H.__h.forEach(at),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){m=null,kt&&kt(e)},_.options.__r=function(e){xt&&xt(e),te=0;var t=(m=e.__c).__H;t&&(F===m?(t.__h=[],m.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Pe,o.__N=o.i=void 0})):(t.__h.forEach(ze),t.__h.forEach(at),t.__h=[])),F=m},_.options.diffed=function(e){wt&&wt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($t.push(t)!==1&&he===_.options.requestAnimationFrame||((he=_.options.requestAnimationFrame)||cn)(sn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Pe&&(o.__=o.__V),o.i=void 0,o.__V=Pe})),F=m=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(ze),o.__h=o.__h.filter(function(n){return!n.__||at(n)})}catch(n){t.some(function(a){a.__h&&(a.__h=[])}),t=[],_.options.__e(n,o.__v)}}),Ot&&Ot(e,t)},_.options.unmount=function(e){Tt&&Tt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{ze(n)}catch(a){t=a}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Ct=typeof requestAnimationFrame=="function";function cn(e){var t,o=function(){clearTimeout(n),Ct&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Ct&&(t=requestAnimationFrame(o))}function ze(e){var t=m,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),m=t}function at(e){var t=m;e.__c=e.__(),m=t}function it(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function St(e,t){return typeof t=="function"?t(e):t}function At(e,t){for(var o in t)e[o]=t[o];return e}function Rt(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 jt(e){this.props=e}(jt.prototype=new _.Component).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Rt(this.props,e)||Rt(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 ln=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ge(e){function t(o){var n=At({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=ln,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var dn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var a,r=t;r=r.__;)if((a=r.__c)&&a.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),a.__c(e,t)}dn(e,t,o,n)};var It=_.options.unmount;function Lt(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=At({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Lt(n,t,o)})),e}function Pt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Pt(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 st(){this.__u=0,this.t=null,this.__b=null}function zt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Be(){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),It&&It(e)},(st.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var a=zt(n.__v),r=!1,i=function(){r||(r=!0,o.__R=null,a?a(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Pt(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)},st.prototype.componentWillUnmount=function(){this.t=[]},st.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]=Lt(this.__b,o,n.__O=n.__P)}this.__b=null}var a=t.__a&&_.createElement(_.Fragment,null,e.fallback);return a&&(a.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),a]};var Bt=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]}};(Be.prototype=new _.Component).__a=function(e){var t=this,o=zt(t.__v),n=t.o.get(e);return n[0]++,function(a){var r=function(){t.props.revealOrder?(n.push(a),Bt(t,e,n)):a()};o?o(r):r()}},Be.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},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Bt(e,o,t)})};var _n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,un=/^(?: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]/,fn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pn=/[A-Z0-9]/g,vn=typeof document!="undefined",hn=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 qt=_.options.event;function gn(){}function bn(){return this.cancelBubble}function mn(){return this.defaultPrevented}_.options.event=function(e){return qt&&(e=qt(e)),e.persist=gn,e.isPropagationStopped=bn,e.isDefaultPrevented=mn,e.nativeEvent=e};var yn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ht=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,a={};for(var r in o){var i=o[r];if(!(r==="value"&&"defaultValue"in o&&i==null||vn&&r==="children"&&n==="noscript"||r==="class"||r==="className")){var c=r.toLowerCase();r==="defaultValue"&&"value"in o&&o.value==null?r="value":r==="download"&&i===!0?i="":c==="ondoubleclick"?r="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||hn(o.type)?c==="onfocus"?r="onfocusin":c==="onblur"?r="onfocusout":fn.test(r)?r=c:n.indexOf("-")===-1&&un.test(r)?r=r.replace(pn,"-$&").toLowerCase():i===null&&(i=void 0):c=r="oninput",c==="oninput"&&a[r=c]&&(r="oninputCapture"),a[r]=i}}n=="select"&&a.multiple&&Array.isArray(a.value)&&(a.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=a.value.indexOf(l.props.value)!=-1})),n=="select"&&a.defaultValue!=null&&(a.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=a.multiple?a.defaultValue.indexOf(l.props.value)!=-1:a.defaultValue==l.props.value})),o.class&&!o.className?(a.class=o.class,Object.defineProperty(a,"className",yn)):(o.className&&!o.class||o.class&&o.className)&&(a.class=a.className=o.className),t.props=a}(e),e.$$typeof=_n,Ht&&Ht(e)};var Mt=_.options.__r;_.options.__r=function(e){Mt&&Mt(e),e.__c};var Dt=_.options.diffed;_.options.diffed=function(e){Dt&&Dt(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 $n(){this.__data__=[],this.size=0}var kn=$n;function xn(e,t){return e===t||e!==e&&t!==t}var qe=xn,wn=qe;function On(e,t){for(var o=e.length;o--;)if(wn(e[o][0],t))return o;return-1}var He=On,Tn=He,Nn=Array.prototype,Cn=Nn.splice;function Sn(e){var t=this.__data__,o=Tn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Cn.call(t,o,1),--this.size,!0}var An=Sn,Rn=He;function jn(e){var t=this.__data__,o=Rn(t,e);return o<0?void 0:t[o][1]}var En=jn,In=He;function Ln(e){return In(this.__data__,e)>-1}var Pn=Ln,zn=He;function Bn(e,t){var o=this.__data__,n=zn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var qn=Bn,Hn=kn,Mn=An,Dn=En,Vn=Pn,Fn=qn;function be(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])}}be.prototype.clear=Hn,be.prototype.delete=Mn,be.prototype.get=Dn,be.prototype.has=Vn,be.prototype.set=Fn;var Me=be,Gn=Me;function Wn(){this.__data__=new Gn,this.size=0}var Un=Wn;function Kn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Xn=Kn;function Jn(e){return this.__data__.get(e)}var Yn=Jn;function Zn(e){return this.__data__.has(e)}var Qn=Zn,er=typeof k=="object"&&k&&k.Object===Object&&k,Vt=er,tr=Vt,or=typeof self=="object"&&self&&self.Object===Object&&self,nr=tr||or||Function("return this")(),me=nr,rr=me,ar=rr.Symbol,Ft=ar,Gt=Ft,Wt=Object.prototype,ir=Wt.hasOwnProperty,sr=Wt.toString,Ce=Gt?Gt.toStringTag:void 0;function cr(e){var t=ir.call(e,Ce),o=e[Ce];try{e[Ce]=void 0;var n=!0}catch(r){}var a=sr.call(e);return n&&(t?e[Ce]=o:delete e[Ce]),a}var lr=cr,dr=Object.prototype,_r=dr.toString;function ur(e){return _r.call(e)}var fr=ur,Ut=Ft,pr=lr,vr=fr,hr="[object Null]",gr="[object Undefined]",Kt=Ut?Ut.toStringTag:void 0;function br(e){return e==null?e===void 0?gr:hr:Kt&&Kt in Object(e)?pr(e):vr(e)}var De=br;function mr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var re=mr,yr=De,$r=re,kr="[object AsyncFunction]",xr="[object Function]",wr="[object GeneratorFunction]",Or="[object Proxy]";function Tr(e){if(!$r(e))return!1;var t=yr(e);return t==xr||t==wr||t==kr||t==Or}var ct=Tr,Nr=me,Cr=Nr["__core-js_shared__"],Sr=Cr,lt=Sr,Xt=function(){var e=/[^.]+$/.exec(lt&&lt.keys&&lt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ar(e){return!!Xt&&Xt in e}var Rr=Ar,jr=Function.prototype,Er=jr.toString;function Ir(e){if(e!=null){try{return Er.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Lr=Ir,Pr=ct,zr=Rr,Br=re,qr=Lr,Hr=/[\\^$.*+?()[\]{}|]/g,Mr=/^\[object .+?Constructor\]$/,Dr=Function.prototype,Vr=Object.prototype,Fr=Dr.toString,Gr=Vr.hasOwnProperty,Wr=RegExp("^"+Fr.call(Gr).replace(Hr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ur(e){if(!Br(e)||zr(e))return!1;var t=Pr(e)?Wr:Mr;return t.test(qr(e))}var Kr=Ur;function Xr(e,t){return e==null?void 0:e[t]}var Jr=Xr,Yr=Kr,Zr=Jr;function Qr(e,t){var o=Zr(e,t);return Yr(o)?o:void 0}var dt=Qr,ea=dt,ta=me,oa=ea(ta,"Map"),Jt=oa,na=dt,ra=na(Object,"create"),Ve=ra,Yt=Ve;function aa(){this.__data__=Yt?Yt(null):{},this.size=0}var ia=aa;function sa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ca=sa,la=Ve,da="__lodash_hash_undefined__",_a=Object.prototype,ua=_a.hasOwnProperty;function fa(e){var t=this.__data__;if(la){var o=t[e];return o===da?void 0:o}return ua.call(t,e)?t[e]:void 0}var pa=fa,va=Ve,ha=Object.prototype,ga=ha.hasOwnProperty;function ba(e){var t=this.__data__;return va?t[e]!==void 0:ga.call(t,e)}var ma=ba,ya=Ve,$a="__lodash_hash_undefined__";function ka(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ya&&t===void 0?$a:t,this}var xa=ka,wa=ia,Oa=ca,Ta=pa,Na=ma,Ca=xa;function ye(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])}}ye.prototype.clear=wa,ye.prototype.delete=Oa,ye.prototype.get=Ta,ye.prototype.has=Na,ye.prototype.set=Ca;var Sa=ye,Zt=Sa,Aa=Me,Ra=Jt;function ja(){this.size=0,this.__data__={hash:new Zt,map:new(Ra||Aa),string:new Zt}}var Ea=ja;function Ia(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var La=Ia,Pa=La;function za(e,t){var o=e.__data__;return Pa(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Fe=za,Ba=Fe;function qa(e){var t=Ba(this,e).delete(e);return this.size-=t?1:0,t}var Ha=qa,Ma=Fe;function Da(e){return Ma(this,e).get(e)}var Va=Da,Fa=Fe;function Ga(e){return Fa(this,e).has(e)}var Wa=Ga,Ua=Fe;function Ka(e,t){var o=Ua(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Xa=Ka,Ja=Ea,Ya=Ha,Za=Va,Qa=Wa,ei=Xa;function $e(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])}}$e.prototype.clear=Ja,$e.prototype.delete=Ya,$e.prototype.get=Za,$e.prototype.has=Qa,$e.prototype.set=ei;var ti=$e,oi=Me,ni=Jt,ri=ti,ai=200;function ii(e,t){var o=this.__data__;if(o instanceof oi){var n=o.__data__;if(!ni||n.length<ai-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ri(n)}return o.set(e,t),this.size=o.size,this}var si=ii,ci=Me,li=Un,di=Xn,_i=Yn,ui=Qn,fi=si;function ke(e){var t=this.__data__=new ci(e);this.size=t.size}ke.prototype.clear=li,ke.prototype.delete=di,ke.prototype.get=_i,ke.prototype.has=ui,ke.prototype.set=fi;var pi=ke,vi=dt,hi=function(){try{var e=vi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Qt=hi,eo=Qt;function gi(e,t,o){t=="__proto__"&&eo?eo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var _t=gi,bi=_t,mi=qe;function yi(e,t,o){(o!==void 0&&!mi(e[t],o)||o===void 0&&!(t in e))&&bi(e,t,o)}var to=yi;function $i(e){return function(t,o,n){for(var a=-1,r=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++a];if(o(r[l],l,r)===!1)break}return t}}var ki=$i,xi=ki,wi=xi(),Oi=wi,Ge={},Ti={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=me,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,r=a&&a.exports===n,i=r?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})(Ti,Ge);var Ni=me,Ci=Ni.Uint8Array,Si=Ci,oo=Si;function Ai(e){var t=new e.constructor(e.byteLength);return new oo(t).set(new oo(e)),t}var Ri=Ai,ji=Ri;function Ei(e,t){var o=t?ji(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ii=Ei;function Li(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Pi=Li,zi=re,no=Object.create,Bi=function(){function e(){}return function(t){if(!zi(t))return{};if(no)return no(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),qi=Bi;function Hi(e,t){return function(o){return e(t(o))}}var Mi=Hi,Di=Mi,Vi=Di(Object.getPrototypeOf,Object),ro=Vi,Fi=Object.prototype;function Gi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Fi;return e===o}var ao=Gi,Wi=qi,Ui=ro,Ki=ao;function Xi(e){return typeof e.constructor=="function"&&!Ki(e)?Wi(Ui(e)):{}}var Ji=Xi;function Yi(e){return e!=null&&typeof e=="object"}var Se=Yi,Zi=De,Qi=Se,es="[object Arguments]";function ts(e){return Qi(e)&&Zi(e)==es}var os=ts,io=os,ns=Se,so=Object.prototype,rs=so.hasOwnProperty,as=so.propertyIsEnumerable,is=io(function(){return arguments}())?io:function(e){return ns(e)&&rs.call(e,"callee")&&!as.call(e,"callee")},co=is,ss=Array.isArray,lo=ss,cs=9007199254740991;function ls(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=cs}var _o=ls,ds=ct,_s=_o;function us(e){return e!=null&&_s(e.length)&&!ds(e)}var ut=us,fs=ut,ps=Se;function vs(e){return ps(e)&&fs(e)}var hs=vs,Ae={},gs={get exports(){return Ae},set exports(e){Ae=e}};function bs(){return!1}var ms=bs;(function(e,t){var o=me,n=ms,a=t&&!t.nodeType&&t,r=a&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===a,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(gs,Ae);var ys=De,$s=ro,ks=Se,xs="[object Object]",ws=Function.prototype,Os=Object.prototype,uo=ws.toString,Ts=Os.hasOwnProperty,Ns=uo.call(Object);function Cs(e){if(!ks(e)||ys(e)!=xs)return!1;var t=$s(e);if(t===null)return!0;var o=Ts.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&uo.call(o)==Ns}var Ss=Cs,As=De,Rs=_o,js=Se,Es="[object Arguments]",Is="[object Array]",Ls="[object Boolean]",Ps="[object Date]",zs="[object Error]",Bs="[object Function]",qs="[object Map]",Hs="[object Number]",Ms="[object Object]",Ds="[object RegExp]",Vs="[object Set]",Fs="[object String]",Gs="[object WeakMap]",Ws="[object ArrayBuffer]",Us="[object DataView]",Ks="[object Float32Array]",Xs="[object Float64Array]",Js="[object Int8Array]",Ys="[object Int16Array]",Zs="[object Int32Array]",Qs="[object Uint8Array]",ec="[object Uint8ClampedArray]",tc="[object Uint16Array]",oc="[object Uint32Array]",y={};y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=y[ec]=y[tc]=y[oc]=!0,y[Es]=y[Is]=y[Ws]=y[Ls]=y[Us]=y[Ps]=y[zs]=y[Bs]=y[qs]=y[Hs]=y[Ms]=y[Ds]=y[Vs]=y[Fs]=y[Gs]=!1;function nc(e){return js(e)&&Rs(e.length)&&!!y[As(e)]}var rc=nc;function ac(e){return function(t){return e(t)}}var ic=ac,We={},sc={get exports(){return We},set exports(e){We=e}};(function(e,t){var o=Vt,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,r=a&&a.exports===n,i=r&&o.process,c=function(){try{var l=a&&a.require&&a.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(sc,We);var cc=rc,lc=ic,fo=We,po=fo&&fo.isTypedArray,dc=po?lc(po):cc,vo=dc;function _c(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ho=_c,uc=_t,fc=qe,pc=Object.prototype,vc=pc.hasOwnProperty;function hc(e,t,o){var n=e[t];(!(vc.call(e,t)&&fc(n,o))||o===void 0&&!(t in e))&&uc(e,t,o)}var gc=hc,bc=gc,mc=_t;function yc(e,t,o,n){var a=!o;o||(o={});for(var r=-1,i=t.length;++r<i;){var c=t[r],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),a?mc(o,c,l):bc(o,c,l)}return o}var $c=yc;function kc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var xc=kc,wc=9007199254740991,Oc=/^(?:0|[1-9]\d*)$/;function Tc(e,t){var o=typeof e;return t=t==null?wc:t,!!t&&(o=="number"||o!="symbol"&&Oc.test(e))&&e>-1&&e%1==0&&e<t}var go=Tc,Nc=xc,Cc=co,Sc=lo,Ac=Ae,Rc=go,jc=vo,Ec=Object.prototype,Ic=Ec.hasOwnProperty;function Lc(e,t){var o=Sc(e),n=!o&&Cc(e),a=!o&&!n&&Ac(e),r=!o&&!n&&!a&&jc(e),i=o||n||a||r,c=i?Nc(e.length,String):[],l=c.length;for(var d in e)(t||Ic.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||r&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Rc(d,l)))&&c.push(d);return c}var Pc=Lc;function zc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Bc=zc,qc=re,Hc=ao,Mc=Bc,Dc=Object.prototype,Vc=Dc.hasOwnProperty;function Fc(e){if(!qc(e))return Mc(e);var t=Hc(e),o=[];for(var n in e)n=="constructor"&&(t||!Vc.call(e,n))||o.push(n);return o}var Gc=Fc,Wc=Pc,Uc=Gc,Kc=ut;function Xc(e){return Kc(e)?Wc(e,!0):Uc(e)}var bo=Xc,Jc=$c,Yc=bo;function Zc(e){return Jc(e,Yc(e))}var Qc=Zc,mo=to,el=Ge,tl=Ii,ol=Pi,nl=Ji,yo=co,$o=lo,rl=hs,al=Ae,il=ct,sl=re,cl=Ss,ll=vo,ko=ho,dl=Qc;function _l(e,t,o,n,a,r,i){var c=ko(e,o),l=ko(t,o),d=i.get(l);if(d){mo(e,o,d);return}var u=r?r(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=$o(l),h=!p&&al(l),$=!p&&!h&&ll(l);u=l,p||h||$?$o(c)?u=c:rl(c)?u=ol(c):h?(f=!1,u=el(l,!0)):$?(f=!1,u=tl(l,!0)):u=[]:cl(l)||yo(l)?(u=c,yo(c)?u=dl(c):(!sl(c)||il(c))&&(u=nl(l))):f=!1}f&&(i.set(l,u),a(u,l,n,r,i),i.delete(l)),mo(e,o,u)}var ul=_l,fl=pi,pl=to,vl=Oi,hl=ul,gl=re,bl=bo,ml=ho;function xo(e,t,o,n,a){e!==t&&vl(t,function(r,i){if(a||(a=new fl),gl(r))hl(e,t,i,o,xo,n,a);else{var c=n?n(ml(e,i),r,i+"",e,t,a):void 0;c===void 0&&(c=r),pl(e,i,c)}},bl)}var yl=xo;function $l(e){return e}var wo=$l;function kl(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 xl=kl,wl=xl,Oo=Math.max;function Ol(e,t,o){return t=Oo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,r=Oo(n.length-t,0),i=Array(r);++a<r;)i[a]=n[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=n[a];return c[t]=o(i),wl(e,this,c)}}var Tl=Ol;function Nl(e){return function(){return e}}var Cl=Nl,Sl=Cl,To=Qt,Al=wo,Rl=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:Sl(t),writable:!0})}:Al,jl=Rl,El=800,Il=16,Ll=Date.now;function Pl(e){var t=0,o=0;return function(){var n=Ll(),a=Il-(n-o);if(o=n,a>0){if(++t>=El)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zl=Pl,Bl=jl,ql=zl,Hl=ql(Bl),Ml=Hl,Dl=wo,Vl=Tl,Fl=Ml;function Gl(e,t){return Fl(Vl(e,t,Dl),e+"")}var Wl=Gl,Ul=qe,Kl=ut,Xl=go,Jl=re;function Yl(e,t,o){if(!Jl(o))return!1;var n=typeof t;return(n=="number"?Kl(o)&&Xl(t,o.length):n=="string"&&t in o)?Ul(o[t],e):!1}var Zl=Yl,Ql=Wl,ed=Zl;function td(e){return Ql(function(t,o){var n=-1,a=o.length,r=a>1?o[a-1]:void 0,i=a>2?o[2]:void 0;for(r=e.length>3&&typeof r=="function"?(a--,r):void 0,i&&ed(o[0],o[1],i)&&(r=a<3?void 0:r,a=1),t=Object(t);++n<a;){var c=o[n];c&&e(t,c,n,r)}return t})}var od=td,nd=yl,rd=od;rd(function(e,t,o){nd(e,t,o)});const ae=(e,t,o)=>Array.isArray(e)?e.map((n,a)=>{const r=[o,a].filter(H).join(".");return ae(t(a,n,r),t,r)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[a,r])=>{const i=[o,a].filter(H).join(".");return n[a]=ae(t(a,r,i),t,i),n},{}):e,ad=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,a])=>o.setAttribute(n,a)),t.appendChild(o)},ft=()=>{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={}}},id={name:null,logo:null},No={name:null,logo:null},sd={factor:null,type:null,outcome:null},cd=e=>({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:g({},(e==null?void 0:e.teams)||{0:No,1:No}),league:(e==null?void 0:e.unique_tournament)||id,prediction:(e==null?void 0:e.prediction)||sd}),ld=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),dd=e=>!e&&e==null,H=e=>!dd(e),Co=e=>typeof e!="object"&&typeof e!="function"||e===null,ie=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Z(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const P=(e,t,o)=>{if(!t)return;const a=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((r,i)=>r&&r[i],e);return a===void 0?o:a},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((a,r,i)=>(a[r]===void 0&&(a[r]={}),i===n.length-1&&(a[r]=o),a[r]),e)},_d=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},ud=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),fd=e=>"id"in e&&"root"in e,pd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),vd=(e,t,o)=>ae(e,(n,a,r)=>Co(a)||Array.isArray(a)&&a.every(Co)?o?o(n,[a,P(t,r)],r)?P(t,r,a):a:P(t,r,a):a),hd=(e,t)=>{try{ae(e,(o,n,a)=>{if(t(o,n,a))throw{key:o,value:n,path:a};return n})}catch(o){return o}},gd=(e,t)=>{const o=[];return ae(e,(n,a,r)=>(t(n,a,r,o)&&o.push({key:n,value:a,path:r}),a)),o},So=["desktop","laptop","tablet","mobile"],bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var md=0;function s(e,t,o,n,a,r){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:--md,__source:a,__self:r};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 Ao=_.createContext(),se=({children:e,value:t})=>s(Ao.Provider,{value:t,children:e}),ce=e=>i=>ot(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:a}=c,r=yt(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>C_);window.ResizeObserver=l.ResizeObserver}return _.render(s(se,{value:a,children:_.cloneElement(e,g({ref:n,id:o},r))}),t)}),B=()=>an(Ao),yd=(e={})=>typeof e=="object"&&H(e)&&So.every(t=>t in e),$d=(e,t)=>e&&ae(e,(o,n)=>{if(yd(n)){const a=n[t];return a&&"parent"in a&&H(a.parent)?g(g({},n[a.parent]),Z(a,"parent")):a}return n}),le=(e,t)=>$d(e,t),xe=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=bd})=>{const[a,r]=ne("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,h],[$,C])=>h-C),u=((f=d.find(([p,h],$)=>{const[C,S]=d[$+1]||[];return l>=h&&l<S}))==null?void 0:f[0])||"desktop";r(u)};return Nt(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),a},Ke=(e,t)=>`${e}${t}`,kd=e=>e.startsWith("px_"),xd=e=>e.startsWith("percent_"),wd=(e,t)=>{let o=e,n=t;return kd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),xd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},Od='-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"',Td=["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"],Nd=(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,a=e.accentTypography;e=R(g(g({},e),n),{"--font-family":a.fontFamily,"--accent-color":a.color,"px_--accent-size":a.fontSize})}return Object.entries(e).reduce((n,[a,r])=>{Td.includes(a)&&(r=Ke(r,"px"));const{key:i,value:c}=wd(a,r);if(n[i]=c,i==="hidden"&&c)return n.display="none",n;if(i==="innerHTML"&&(n.innerHTML=H(c)?`${c}`:""),i==="innerText"&&(n.innerText=H(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?H(c)?`${c}`:"":c),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&H(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&H(n.backgroundColorOpacity)&&H(n.backgroundColor)){const l=_d(n.backgroundColor);l&&(n.backgroundColor=pd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(c)&&(n.fontFamily=Od),i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},Cd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,E=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Cd(n)?Nd(g({},e[o]),o):n,t),{}):e,Q=o=>{var n=o,{children:e}=n,t=yt(n,["children"]);var r;const a=(r=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:r.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",R(g({},t),{dangerouslySetInnerHTML:{__html:a}}))},Ro=()=>{const[e,t]=ne(!1);return[e,()=>t(o=>!o)]},Re=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",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"})}),pt=()=>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"})}),Sd=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`}),jo=(e,t)=>{var u,f,p,h,$,C,S,b,x,w,L,D,Y;const o=Sd(t),n=E(e),a=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,r={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:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(S=n==null?void 0:n.container)==null?void 0:S.borderColor,borderLeftStyle:"solid"},i={left:(b=n==null?void 0:n.container)==null?void 0:b.left},c=(((x=n==null?void 0:n.icon)==null?void 0:x.animations)||[]).map(ee=>o[ee]).join(", "),l=H((w=n==null?void 0:n.icon)==null?void 0:w.gradientColor)&&((L=n==null?void 0:n.icon)!=null&&L.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.backgroundColor} 0%, ${(Y=n==null?void 0:n.icon)==null?void 0:Y.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(R(g({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:a,arrowRules:r,bodyRules:i,iconRules:d}},we=e=>{const t=new Set([]);ae(e,(n,a)=>(n==="fontFamily"&&t.add(a),a));const o=rt(()=>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]);X(()=>{o.forEach(ad)},[o])},de=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],Ad=["borderWidth","borderColor","borderStyle"],Eo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Rd=e=>console.log(`Noop YaMektika reach goal: ${e}`),jd=e=>console.log(`Noop AdFox reach goal: ${e}`),Ed=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,a]=ne(!1),r=V(null),i=l=>{clearTimeout(r.current),r.current=null},c=()=>{i(r.current),a(l=>!l)};return X(()=>(r.current=setTimeout(()=>{a(!0),o&&o()},e||1e3),()=>i(r.current)),[e]),X(()=>{n&&!r.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Io=({ref:e,openDelay:t})=>{const o=V(ft()),n=l=>o.current.on("open",l),a=l=>o.current.on("click",l),r=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=Ed({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return nt(e,()=>({onOpen:n,onClick:a,onAutoOpen:r,resetListeners:o.current.reset})),X(()=>o.current.reset,[]),{isOpen:i,toggle:c,click:(...l)=>o.current.emit("click",...l)}},Id=ge(({id:e},t)=>{var b,x,w,L,D,Y,ee;const o=V(null),[n,a]=Ro(),r=B(),i=xe({targetRef:o,id:e}),c=le(r,i),l=E(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=jo(c,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:h,toggle:$,click:C}=Io({ref:t,openDelay:(b=c==null?void 0:c.container)==null?void 0:b.delay});we(c);const S=n?ie(l.container,...Ad):{};return s("div",{className:A(O.root,{[O.legalOpen]:n}),ref:o,children:[s("div",{className:O.icon,style:u,onClick:$,children:d&&s("div",{className:O.iconTarget,children:s(pt,{})})}),s("div",{className:A(O.body,{[O.bodyOpen]:h}),style:f,children:[s("div",{className:O.arrow,style:p}),s("div",{className:O.close,style:l==null?void 0:l.close,onClick:$,children:s(Re,{})}),s("div",{className:O.container,style:l==null?void 0:l.container,children:[s("a",{href:(x=l==null?void 0:l.root)==null?void 0:x.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>C(l.id),children:[s("div",{className:O.inner,children:[s("div",{className:O.logo,style:l==null?void 0:l.logo}),s(Q,{className:O.text,style:l==null?void 0:l.text,children:(w=l==null?void 0:l.text)==null?void 0:w.children})]}),s("div",{className:A(O.button,{[O.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:O.legalGap}),s("div",{className:O.legal,style:g(g({},l==null?void 0:l.legal),S),children:s("span",{className:O.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:O.legalButton,onClick:a,children:n?(Y=l==null?void 0:l.legal)==null?void 0:Y.buttonOpenText:(ee=l==null?void 0:l.legal)==null?void 0:ee.buttonHideText})]})})})]})]})]})}),Ld=ce(s(Id,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},G={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"},Pd=({onClick:e})=>{var n,a,r,i,c;const t=B(),o=E(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.variant2]:((a=o.root)==null?void 0:a.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:G.body,children:[s("div",{className:G.line,style:o.line}),s("div",{className:G.bodyInner,children:[s("div",{className:G.logo,style:o.logo}),s("div",{className:G.text,style:o.text,children:s(Q,{children:(r=o.text)==null?void 0:r.children})})]}),s("div",{className:G.button,style:o.button,children:[s("div",{className:G.logo,style:o.logo}),s("div",{className:G.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:G.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},zd=ge(({id:e},t)=>{var C,S,b,x;const o=V(null),n=B(),a=xe({targetRef:o,id:e}),r=le(n,a),i=E(r),{isOpen:c,click:l,toggle:d}=Io({ref:t,openDelay:(C=r==null?void 0:r.container)==null?void 0:C.delay});we(r);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:h}=jo(r,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(S=i==null?void 0:i.title)==null?void 0:S.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:a==="desktop",[T.laptop]:a==="laptop",[T.tablet]:a==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(pt,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:p,children:[s("div",{className:T.arrow,style:h}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Re,{})}),s("div",{className:T.promotion,style:i.promotion,children:(b=i.promotion)==null?void 0:b.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:ie(i.title,"color"),children:s(pt,{})}),s("div",{className:T.headTitle,style:i.title,children:(x=i.title)==null?void 0:x.children})]}),s("div",{className:T.inner,children:(i.children||[]).map(w=>s(se,{value:w,children:s(Pd,{onClick:l})}))})]})]})]})}),Bd=ce(s(zd,{})),M={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},_e=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],qd={root:"_root_2ic16_1"},Hd=()=>{var o;const e=B(),t=E(e);return s("div",{className:qd.root,style:t.root,children:s(Q,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},vt=(e,t=0)=>{const o=V(ft()),[n,a]=ne(!1),[r,i]=ne(),c=h=>o.current.on("visible",h),l=h=>o.current.on("click",h),d=h=>o.current.on("clickHide",h),u=()=>ot(this,null,function*(){yield ld(+t),a(!0)}),f=()=>a(!1),p=()=>{o.current.emit("clickHide"),f()};return X(()=>{o.current.emit("visible",n)},[n]),nt(e,()=>({onVisible:c,onClick:l,onClickHide:d,show:u,hide:f,setApiHost:i,resetListeners:o.current.reset})),X(()=>o.current.reset,[]),{isOpen:n,apiHost:r,show:u,hide:f,clickHide:p,click:(...h)=>{f(),o.current.emit("click",...h)}}},Md=ge(({id:e,className:t},o)=>{var C,S,b,x,w,L;const n=V(null),a=xe({targetRef:n,id:e}),r=B(),i=le(r,a);we(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const c=E(i),l=P(c,"root.delay",0),{isOpen:d,clickHide:u,click:f}=vt(o,l),p={alignItems:_e((b=c.root)==null?void 0:b.align)},h=R(g({},c==null?void 0:c.button),{justifyContent:_e((x=c.root)==null?void 0:x.textAlign)}),$=R(g({},c==null?void 0:c.legal),{justifyContent:_e((w=c.root)==null?void 0:w.textAlign)});return s("div",{className:A(M.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:M.overlay,style:c.overlay,onClick:u}),s("div",{className:M.wrapper,children:[s("div",{className:M.close,style:Z(c.close,"backgroundColor"),onClick:u,children:s(Re,{})}),s("a",{href:(L=c.root)==null?void 0:L.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(M.content,{[M.desktop]:a==="desktop",[M.tablet]:a==="tablet",[M.laptop]:a==="laptop"}),style:c.root,onClick:()=>f(c.id),children:s("div",{className:M.body,style:p,children:[s("div",{className:M.logo,style:c.logo}),s("div",{className:M.text,children:((c==null?void 0:c.children)||[]).map(D=>s(se,{value:D,children:s(Hd,{})}))}),s("div",{className:M.button,style:h,children:h==null?void 0:h.children}),s("div",{className:M.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Dd=ce(s(Md,{})),oe={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},W={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"},Vd=({onClick:e})=>{var a,r,i,c;const t=B(),o=E(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(W.root,{[W.desktop]:n==="desktop",[W.laptop]:n==="laptop"}),style:Z(o.root,...Eo),onClick:()=>e(o.id),children:[s("div",{className:W.header,style:o.header,children:s("div",{className:W.logo,style:o.logo})}),s("div",{className:W.container,style:ie(o.root,...Eo),children:[s("div",{className:W.body,children:[s("div",{className:W.logo,style:o.logo}),s(Q,{className:W.text,style:o.text,children:(r=o.text)==null?void 0:r.children})]}),s("div",{children:[s(Q,{className:W.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s(Q,{className:W.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},Fd=ge(({id:e},t)=>{var f;const o=V(null),n=xe({targetRef:o,id:e}),a=B(),r=le(a,n),i=E(r);we(r);const c=P(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=vt(t,c);return s("div",{className:oe.root,style:{display:l?"flex":"none"},children:[s("div",{className:oe.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(oe.content,{[oe.desktop]:n==="desktop",[oe.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:oe.close,style:Z(i.close,"backgroundColor"),onClick:d,children:s(Re,{})}),s(Q,{className:oe.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:oe.wrapper,children:(i.children||[]).map(p=>s(se,{value:R(g({},p),{device:n}),children:s(Vd,{onClick:u})}))})]})]})}),Gd=ce(s(Fd,{})),I={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1a880_1",left:"_left_1a880_8",desktop:"_desktop_1a880_15",laptop:"_laptop_1a880_15",teams:"_teams_1a880_19",logo:"_logo_1a880_25",league:"_league_1a880_32",name:"_name_1a880_37",right:"_right_1a880_43",odd:"_odd_1a880_54",oddLabel:"_oddLabel_1a880_67",oddValue:"_oddValue_1a880_76",team:"_team_1a880_19",teamLogo:"_teamLogo_1a880_101",teamName:"_teamName_1a880_108"},Wd=()=>{const e=B(),t=E(e),o=(e==null?void 0:e.device)||"desktop",n=R(g({},t==null?void 0:t.teamALogo),{backgroundImage:P(t,"match.teams[0].logo")}),a=R(g({},t==null?void 0:t.teamBLogo),{backgroundImage:P(t,"match.teams[1].logo")});return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("img",{className:N.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:N.logo,src:a.backgroundImage,style:a})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:P(t,"match.league.name")}),s("div",{className:N.name,style:t.teams,children:[P(t,"match.teams[0].name")," — ",P(t,"match.teams[1].name")]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("img",{className:N.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:N.teamName,style:t.teams,children:P(t,"match.teams[0].name")})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:P(t,"match.prediction.type")}),s("div",{className:N.oddValue,style:t.oddValue,children:P(t,"match.prediction.factor")})]}),s("div",{className:N.team,children:[s("img",{className:N.teamLogo,style:a,src:a.backgroundImage}),s("div",{className:N.teamName,style:t.teams,children:P(t,"match.teams[1].name")})]})]})]})},Ud=(e,{pause:t,params:o,method:n,body:a})=>{const[r,i]=ne(),c=rt(()=>{let l=e;if(o){const d=new URLSearchParams(l);Object.entries(o).forEach(([u,f])=>{d.append(u,f)}),l+=d}return l},[e,o]);return X(()=>{t||ot(this,null,function*(){const d=yield fetch(c,{method:n||"GET",body:a?JSON.stringify(a):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());i(d.data)})},[c,t]),{data:r}},Kd=(e,t)=>{const o=(e.children||[]).map(r=>{var i,c,l,d,u,f;return g({bookmaker:(i=r.root)==null?void 0:i.bookmaker,langSlug:(c=r==null?void 0:r.root)==null?void 0:c.langSlug,matchSlug:(l=r==null?void 0:r.root)==null?void 0:l.matchSlug,sportSlug:(d=r==null?void 0:r.root)==null?void 0:d.sportSlug,offset:(u=r==null?void 0:r.root)==null?void 0:u.offset,customMatch:(f=r==null?void 0:r.root)==null?void 0:f.customMatch},r)}),{data:n}=Ud(`${t}/match-list`,{method:"POST",body:{matches:o.map(r=>({slug:r.matchSlug,sport_slug:r.sportSlug,lang:r.langSlug,bookmaker_slug:r.bookmaker,offset:r.offset}))},pause:!t||o.length===0});return(n||[]).map(r=>{const i=cd(r),c=o.find(d=>d.matchSlug===i.slug),l=vd(i,c==null?void 0:c.customMatch,(d,[u,f])=>H(f));return g({match:l},c)})},Xd=ge(({id:e},t)=>{var x,w,L,D,Y,ee,pe,ve,Qe,et,Ie,Qo,en;const o=V(null),n=xe({targetRef:o,id:e}),a=B(),r=le(a,n);Ue(r,"buttonWrapper.percent_width",(x=r==null?void 0:r.buttonWrapper)==null?void 0:x.width),Ue(r,"legal.percent_width",(w=r==null?void 0:r.legal)==null?void 0:w.width);const i=E(r);we(r);const c=P(i,"root.delay",0),{isOpen:l,apiHost:d,clickHide:u,click:f}=vt(t,c),p=Kd(r,d),h=R(g({},i.root),{alignItems:_e((L=i.root)==null?void 0:L.align)}),$=R(g({},i.content),{alignItems:_e((D=i.root)==null?void 0:D.align)}),C=R(g({},i.text),{textAlign:(Y=i.root)==null?void 0:Y.align}),S=R(g({},i==null?void 0:i.button),{justifyContent:_e((ee=i.root)==null?void 0:ee.textAlign)}),b=R(g({},i==null?void 0:i.legal),{justifyContent:_e((pe=i.root)==null?void 0:pe.textAlign)});return s("div",{className:A(I.root,{[I.desktop]:n==="desktop",[I.laptop]:n==="laptop",[I.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:I.overlay,style:i.overlay,onClick:u}),s("div",{className:I.content,children:[s("div",{className:I.close,style:Z(i.close,"backgroundColor"),onClick:u,children:s(Re,{})}),s("a",{ref:o,href:(ve=i.root)==null?void 0:ve.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(i.id),children:s("div",{className:I.body,style:h,children:[s("div",{className:I.head,children:[s("div",{className:I.title,style:i.title,children:(Qe=i.title)==null?void 0:Qe.children}),s("div",{className:I.logo,style:i.logo})]}),s("div",{className:I.wrapper,style:$,children:(p||[]).map(S_=>s(se,{value:R(g({},S_),{device:n}),children:s(Wd,{})}))}),s(Q,{className:I.text,style:C,children:(et=i.text)==null?void 0:et.children}),s("div",{className:I.button,style:i.buttonWrapper,children:[s("div",{className:I.buttonHead,style:i.buttonHead,children:(Ie=i.buttonHead)==null?void 0:Ie.children}),s("div",{className:I.buttonTarget,style:S,children:(Qo=i.button)==null?void 0:Qo.children})]}),s(Q,{className:I.legal,style:b,children:(en=i.legal)==null?void 0:en.children})]})})]})]})}),Jd=ce(s(Xd,{})),U={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"},Yd=({onClick:e})=>{var r,i,c,l,d,u,f,p;const t=B(),o=E(t),[n,a]=Ro();return s("div",{className:U.root,style:Z(o.root,...de),children:[s("div",{className:U.background,style:ie(o.root,...de)}),s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:U.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:U.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:U.rowSecond,style:o.rowSecond,children:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:U.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:U.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:A(U.legal,{[U.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:U.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:U.legalButton,style:o.legalInfoButton,onClick:a,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},Zd=e=>{const t=V(ft()),o=n=>t.current.on("click",n);return nt(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),X(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},Qd=ge((e,t)=>{const o=V(null),n=B(),r=le(n,"mobile"),i=E(r);we(r);const{click:c}=Zd(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(l=>s(se,{value:l,children:s(Yd,{onClick:c})}))})}),e_=ce(s(Qd,{})),j={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Lo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},t_=()=>{var o;const e=B(),t=E(e);return s("div",{className:A(Lo.root,{[Lo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Z(t.root,...de),children:(o=t.root)==null?void 0:o.children})},K={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},o_=()=>{var n,a,r;const e=B(),t=E(e),o=Z(t.root,...de);return s("div",{className:K.root,children:[s("div",{className:K.odd,children:[s("div",{className:K.oddLogo,style:o}),s("div",{className:K.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:K.coef,children:[s("div",{className:K.coefHead,style:t.coef,children:"X"}),s("div",{className:K.coefValue,style:o,children:(a=t.root)==null?void 0:a.valueX})]}),s("div",{className:A(K.odd,K.oddReverse),children:[s("div",{className:K.oddLogo,style:o}),s("div",{className:K.oddLabel,style:o,children:(r=t.root)==null?void 0:r.valueTwo})]})]})},q={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},n_=()=>{const e=B(),t=E(e);return s("div",{className:A(q.root,{[q.desktop]:(e==null?void 0:e.device)==="desktop",[q.laptop]:(e==null?void 0:e.device)==="laptop",[q.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Z(t.root,...de),children:[s("div",{className:q.title,children:[s("div",{className:q.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:q.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:q.team,children:[s("div",{className:q.teamLogo,style:t.logo}),s("div",{className:q.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:q.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:q.team,children:[s("div",{className:q.teamLogo,style:t.logo}),s("div",{className:q.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:q.teamValue,style:t.value,children:t.value2.children})]})]})]})},r_=(e=[])=>{var r;const t=e.length,[o,n]=ne(0),a=(r=e[o||0])==null?void 0:r.animationDuration;return X(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},a);return()=>clearTimeout(c)},[n,t,a,o]),o},a_=(e,t="root")=>{const o=V(),n=(e==null?void 0:e.yaReachGoal)||Rd,a=(e==null?void 0:e.adfoxReachGoal)||jd,r=H(e)?ie(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return X(()=>{ud(o.current,r)||(r.yaShow&&n(r.yaShow),r.adfoxShow&&a(r.adfoxShow)),o.current=r},[r]),()=>{r.yaClick&&n(r.yaClick),r.adfoxClick&&a(r.adfoxClick)}},i_=3700,s_=ce(s(({id:e})=>{var p,h,$,C,S;const t=V(null),o=B(),n=xe({id:e,targetRef:t}),a=le(o,n),r=E(a),i=a_(a),c=b=>({text:s(t_,{}),matches:s(o_,{}),matchesOneTwo:s(n_,{})})[b],l=(r.children||[]).filter(Boolean).map(b=>{var x,w;return R(g({},b),{animationName:(x=b==null?void 0:b.root)==null?void 0:x.animationName,animationDuration:((w=b==null?void 0:b.root)==null?void 0:w.animationDuration)||i_})}),d=r_(l),u=E(l[d]||{}),f=(p=u==null?void 0:u.root)!=null&&p.hasCustomBackground?ie((u==null?void 0:u.root)||{},...de):ie(r.root,...de);return s("a",{ref:t,href:(h=r.root)==null?void 0:h.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(j.root,{[j.desktop]:n==="desktop",[j.laptop]:n==="laptop",[j.tablet]:n==="tablet",[j.variant2]:(($=r.root)==null?void 0:$.variant)==="variant2"}),style:r.root,onClick:i,children:[s("div",{className:j.background,style:f}),s("div",{className:j.promotion,style:r.promotion,children:(C=r.promotion)==null?void 0:C.children}),s("div",{className:j.content,children:[s("div",{className:j.left,children:s("div",{className:j.logo,style:r.logo})}),s("div",{className:j.center,children:(r.children||[]).map((b,x)=>{var w,L;return s("div",{className:j.slide,style:{animationName:d===x?j[((w=b.root)==null?void 0:w.animationName)||"fade-in-out"]:"none",animationDuration:`${(L=b.root)==null?void 0:L.animationDuration}ms`},children:s(se,{value:R(g({},b),{device:n}),children:c(b.name)})})})}),s("div",{className:j.right,children:[s("div",{className:j.logo,style:r.logo}),s("div",{className:j.buttonWrapper,children:s("div",{className:j.button,style:r.button,children:[s("div",{className:j.logo,style:r.logo}),(S=r.button)==null?void 0:S.children]})})]})]})]})},{})),c_=(e,t,o,n,a=So)=>{const r=g({},e);return a.forEach(i=>{r[t]=R(g({},r[t]),{[i]:R(g({},r[t][i]),{[o]:typeof n=="function"?n(P(r,`${t}.${i}.${o}`)):n})})}),r};var ue=[],l_=function(){return ue.some(function(e){return e.activeTargets.length>0})},d_=function(){return ue.some(function(e){return e.skippedTargets.length>0})},Po="ResizeObserver loop completed with undelivered notifications.",__=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Po}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Po),window.dispatchEvent(e)},je;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(je||(je={}));var fe=function(e){return Object.freeze(e)},zo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,fe(this)}return e}(),Bo=function(){function e(t,o,n,a){return this.x=t,this.y=o,this.width=n,this.height=a,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,fe(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,a=t.top,r=t.right,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:a,right:r,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ht=function(e){return e instanceof SVGElement&&"getBBox"in e},qo=function(e){if(ht(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var a=e,r=a.offsetWidth,i=a.offsetHeight;return!(r||i||e.getClientRects().length)},Ho=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)},u_=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},Ee=typeof window!="undefined"?window:{},Xe=new WeakMap,Mo=/auto|scroll/,f_=/^tb|vertical/,p_=/msie|trident/i.test(Ee.navigator&&Ee.navigator.userAgent),J=function(e){return parseFloat(e||"0")},Oe=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new zo((o?t:e)||0,(o?e:t)||0)},Do=fe({devicePixelContentBoxSize:Oe(),borderBoxSize:Oe(),contentBoxSize:Oe(),contentRect:new Bo(0,0,0,0)}),Vo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(qo(e))return Xe.set(e,Do),Do;var o=getComputedStyle(e),n=ht(e)&&e.ownerSVGElement&&e.getBBox(),a=!p_&&o.boxSizing==="border-box",r=f_.test(o.writingMode||""),i=!n&&Mo.test(o.overflowY||""),c=!n&&Mo.test(o.overflowX||""),l=n?0:J(o.paddingTop),d=n?0:J(o.paddingRight),u=n?0:J(o.paddingBottom),f=n?0:J(o.paddingLeft),p=n?0:J(o.borderTopWidth),h=n?0:J(o.borderRightWidth),$=n?0:J(o.borderBottomWidth),C=n?0:J(o.borderLeftWidth),S=f+d,b=l+u,x=C+h,w=p+$,L=c?e.offsetHeight-w-e.clientHeight:0,D=i?e.offsetWidth-x-e.clientWidth:0,Y=a?S+x:0,ee=a?b+w:0,pe=n?n.width:J(o.width)-Y-D,ve=n?n.height:J(o.height)-ee-L,Qe=pe+S+D+x,et=ve+b+L+w,Ie=fe({devicePixelContentBoxSize:Oe(Math.round(pe*devicePixelRatio),Math.round(ve*devicePixelRatio),r),borderBoxSize:Oe(Qe,et,r),contentBoxSize:Oe(pe,ve,r),contentRect:new Bo(f,l,pe,ve)});return Xe.set(e,Ie),Ie},Fo=function(e,t,o){var n=Vo(e,o),a=n.borderBoxSize,r=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case je.DEVICE_PIXEL_CONTENT_BOX:return i;case je.BORDER_BOX:return a;default:return r}},Go=function(){function e(t){var o=Vo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=fe([o.borderBoxSize]),this.contentBoxSize=fe([o.contentBoxSize]),this.devicePixelContentBoxSize=fe([o.devicePixelContentBoxSize])}return e}(),Wo=function(e){if(qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},v_=function(){var e=1/0,t=[];ue.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Go(d.target),f=Wo(d.target);c.push(u),d.lastReportedSize=Fo(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 a=n[o];a()}return e},Uo=function(e){ue.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(a){a.isActive()&&(Wo(a.target)>e?o.activeTargets.push(a):o.skippedTargets.push(a))})})},h_=function(){var e=0;for(Uo(e);l_();)e=v_(),Uo(e);return d_()&&__(),e>0},gt,Ko=[],g_=function(){return Ko.splice(0).forEach(function(e){return e()})},b_=function(e){if(!gt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return g_()}).observe(o,n),gt=function(){o.textContent="".concat(t?t--:t++)}}Ko.push(e),gt()},m_=function(e){b_(function(){requestAnimationFrame(e)})},Je=0,y_=function(){return!!Je},$_=250,k_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Xo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Jo=function(e){return e===void 0&&(e=0),Date.now()+e},bt=!1,x_=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=$_),!bt){bt=!0;var n=Jo(t);m_(function(){var a=!1;try{a=h_()}finally{if(bt=!1,t=n-Jo(),!y_())return;a?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,k_)};document.body?o():Ee.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Xo.forEach(function(o){return Ee.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Xo.forEach(function(o){return Ee.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),mt=new x_,Yo=function(e){!Je&&e>0&&mt.start(),Je+=e,!Je&&mt.stop()},w_=function(e){return!ht(e)&&!u_(e)&&getComputedStyle(e).display==="inline"},O_=function(){function e(t,o){this.target=t,this.observedBox=o||je.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Fo(this.target,this.observedBox,!0);return w_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),T_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Zo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new T_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var a=Ye.get(t),r=a.observationTargets.length===0;Zo(a.observationTargets,o)<0&&(r&&ue.push(a),a.observationTargets.push(new O_(o,n&&n.box)),Yo(1),mt.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),a=Zo(n.observationTargets,o),r=n.observationTargets.length===1;a>=0&&(r&&ue.splice(ue.indexOf(n),1),n.observationTargets.splice(a,1),Yo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(a){return o.unobserve(t,a.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),N_=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.");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const C_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:N_,ResizeObserverEntry:Go,ResizeObserverSize:zo},Symbol.toStringTag,{value:"Module"}));v.BonusCard=e_,v.ComplexGift=Bd,v.ComplexPopup=Gd,v.ExpressPopup=Jd,v.SimpleGift=Ld,v.SimplePopup=Dd,v.WideCard=s_,v.filterDeep=gd,v.findDeep=hd,v.isValidTemplate=fd,v.modifyState=c_,Object.defineProperty(v,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 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})()})(Pe);const R=z;var te,m,G,he,ge=0,kt=[],Le=[],xt=_.options.__b,wt=_.options.__r,Ot=_.options.diffed,Tt=_.options.__c,Nt=_.options.unmount;function Ne(e,t){_.options.__h&&_.options.__h(m,e,ge||t),ge=0;var o=m.__H||(m.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Le}),o.__[e]}function re(e){return ge=1,an(At,e)}function an(e,t,o){var n=Ne(te++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):At(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 v=p.__[0];p.__=p.__N,p.__N=void 0,v!==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 F(e,t){var o=Ne(te++,3);!_.options.__s&&st(o.__H,t)&&(o.__=e,o.i=t,m.__H.__h.push(o))}function Ct(e,t){var o=Ne(te++,4);!_.options.__s&&st(o.__H,t)&&(o.__=e,o.i=t,m.__h.push(o))}function q(e){return ge=5,ze(function(){return{current:e}},[])}function at(e,t,o){ge=6,Ct(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function ze(e,t){var o=Ne(te++,7);return st(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function sn(e,t){return ge=8,ze(function(){return e},t)}function cn(e){var t=m.context[e.__c],o=Ne(te++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(m)),t.props.value):e.__}function ln(){for(var e;e=kt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(it),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){m=null,xt&&xt(e)},_.options.__r=function(e){wt&&wt(e),te=0;var t=(m=e.__c).__H;t&&(G===m?(t.__h=[],m.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Le,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(it),t.__h=[])),G=m},_.options.diffed=function(e){Ot&&Ot(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(kt.push(t)!==1&&he===_.options.requestAnimationFrame||((he=_.options.requestAnimationFrame)||dn)(ln)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Le&&(o.__=o.__V),o.i=void 0,o.__V=Le})),G=m=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||it(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){Nt&&Nt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var St=typeof requestAnimationFrame=="function";function dn(e){var t,o=function(){clearTimeout(n),St&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);St&&(t=requestAnimationFrame(o))}function Be(e){var t=m,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),m=t}function it(e){var t=m;e.__c=e.__(),m=t}function st(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function At(e,t){return typeof t=="function"?t(e):t}function Rt(e,t){for(var o in t)e[o]=t[o];return e}function jt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Et(e){this.props=e}(Et.prototype=new _.Component).isPureReactComponent=!0,Et.prototype.shouldComponentUpdate=function(e,t){return jt(this.props,e)||jt(this.state,t)};var It=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),It&&It(e)};var _n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function be(e){function t(o){var n=Rt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=_n,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var un=_.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)}un(e,t,o,n)};var Pt=_.options.unmount;function Lt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Rt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Lt(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 ct(){this.__u=0,this.t=null,this.__b=null}function Bt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function He(){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)},(ct.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Bt(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)},ct.prototype.componentWillUnmount=function(){this.t=[]},ct.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]=Lt(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 Ht=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]}};(He.prototype=new _.Component).__a=function(e){var t=this,o=Bt(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Ht(t,e,n)):r()};o?o(a):a()}},He.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},He.prototype.componentDidUpdate=He.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Ht(e,o,t)})};var fn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,pn=/^(?: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]/,vn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,hn=/[A-Z0-9]/g,gn=typeof document!="undefined",bn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Mt=_.options.event;function mn(){}function yn(){return this.cancelBubble}function $n(){return this.defaultPrevented}_.options.event=function(e){return Mt&&(e=Mt(e)),e.persist=mn,e.isPropagationStopped=yn,e.isDefaultPrevented=$n,e.nativeEvent=e};var kn={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||gn&&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"||bn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":vn.test(a)?a=c:n.indexOf("-")===-1&&pn.test(a)?a=a.replace(hn,"-$&").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",kn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=fn,Dt&&Dt(e)};var qt=_.options.__r;_.options.__r=function(e){qt&&qt(e),e.__c};var Vt=_.options.diffed;_.options.diffed=function(e){Vt&&Vt(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 xn(){this.__data__=[],this.size=0}var wn=xn;function On(e,t){return e===t||e!==e&&t!==t}var Me=On,Tn=Me;function Nn(e,t){for(var o=e.length;o--;)if(Tn(e[o][0],t))return o;return-1}var De=Nn,Cn=De,Sn=Array.prototype,An=Sn.splice;function Rn(e){var t=this.__data__,o=Cn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():An.call(t,o,1),--this.size,!0}var jn=Rn,En=De;function In(e){var t=this.__data__,o=En(t,e);return o<0?void 0:t[o][1]}var Pn=In,Ln=De;function zn(e){return Ln(this.__data__,e)>-1}var Bn=zn,Hn=De;function Mn(e,t){var o=this.__data__,n=Hn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Dn=Mn,qn=wn,Vn=jn,Fn=Pn,Gn=Bn,Wn=Dn;function me(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])}}me.prototype.clear=qn,me.prototype.delete=Vn,me.prototype.get=Fn,me.prototype.has=Gn,me.prototype.set=Wn;var qe=me,Un=qe;function Kn(){this.__data__=new Un,this.size=0}var Xn=Kn;function Jn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Yn=Jn;function Zn(e){return this.__data__.get(e)}var Qn=Zn;function er(e){return this.__data__.has(e)}var tr=er,or=typeof k=="object"&&k&&k.Object===Object&&k,Ft=or,nr=Ft,rr=typeof self=="object"&&self&&self.Object===Object&&self,ar=nr||rr||Function("return this")(),ye=ar,ir=ye,sr=ir.Symbol,Gt=sr,Wt=Gt,Ut=Object.prototype,cr=Ut.hasOwnProperty,lr=Ut.toString,Ce=Wt?Wt.toStringTag:void 0;function dr(e){var t=cr.call(e,Ce),o=e[Ce];try{e[Ce]=void 0;var n=!0}catch(a){}var r=lr.call(e);return n&&(t?e[Ce]=o:delete e[Ce]),r}var _r=dr,ur=Object.prototype,fr=ur.toString;function pr(e){return fr.call(e)}var vr=pr,Kt=Gt,hr=_r,gr=vr,br="[object Null]",mr="[object Undefined]",Xt=Kt?Kt.toStringTag:void 0;function yr(e){return e==null?e===void 0?mr:br:Xt&&Xt in Object(e)?hr(e):gr(e)}var Ve=yr;function $r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ae=$r,kr=Ve,xr=ae,wr="[object AsyncFunction]",Or="[object Function]",Tr="[object GeneratorFunction]",Nr="[object Proxy]";function Cr(e){if(!xr(e))return!1;var t=kr(e);return t==Or||t==Tr||t==wr||t==Nr}var lt=Cr,Sr=ye,Ar=Sr["__core-js_shared__"],Rr=Ar,dt=Rr,Jt=function(){var e=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jr(e){return!!Jt&&Jt in e}var Er=jr,Ir=Function.prototype,Pr=Ir.toString;function Lr(e){if(e!=null){try{return Pr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var zr=Lr,Br=lt,Hr=Er,Mr=ae,Dr=zr,qr=/[\\^$.*+?()[\]{}|]/g,Vr=/^\[object .+?Constructor\]$/,Fr=Function.prototype,Gr=Object.prototype,Wr=Fr.toString,Ur=Gr.hasOwnProperty,Kr=RegExp("^"+Wr.call(Ur).replace(qr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xr(e){if(!Mr(e)||Hr(e))return!1;var t=Br(e)?Kr:Vr;return t.test(Dr(e))}var Jr=Xr;function Yr(e,t){return e==null?void 0:e[t]}var Zr=Yr,Qr=Jr,ea=Zr;function ta(e,t){var o=ea(e,t);return Qr(o)?o:void 0}var _t=ta,oa=_t,na=ye,ra=oa(na,"Map"),Yt=ra,aa=_t,ia=aa(Object,"create"),Fe=ia,Zt=Fe;function sa(){this.__data__=Zt?Zt(null):{},this.size=0}var ca=sa;function la(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var da=la,_a=Fe,ua="__lodash_hash_undefined__",fa=Object.prototype,pa=fa.hasOwnProperty;function va(e){var t=this.__data__;if(_a){var o=t[e];return o===ua?void 0:o}return pa.call(t,e)?t[e]:void 0}var ha=va,ga=Fe,ba=Object.prototype,ma=ba.hasOwnProperty;function ya(e){var t=this.__data__;return ga?t[e]!==void 0:ma.call(t,e)}var $a=ya,ka=Fe,xa="__lodash_hash_undefined__";function wa(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ka&&t===void 0?xa:t,this}var Oa=wa,Ta=ca,Na=da,Ca=ha,Sa=$a,Aa=Oa;function $e(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])}}$e.prototype.clear=Ta,$e.prototype.delete=Na,$e.prototype.get=Ca,$e.prototype.has=Sa,$e.prototype.set=Aa;var Ra=$e,Qt=Ra,ja=qe,Ea=Yt;function Ia(){this.size=0,this.__data__={hash:new Qt,map:new(Ea||ja),string:new Qt}}var Pa=Ia;function La(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var za=La,Ba=za;function Ha(e,t){var o=e.__data__;return Ba(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ge=Ha,Ma=Ge;function Da(e){var t=Ma(this,e).delete(e);return this.size-=t?1:0,t}var qa=Da,Va=Ge;function Fa(e){return Va(this,e).get(e)}var Ga=Fa,Wa=Ge;function Ua(e){return Wa(this,e).has(e)}var Ka=Ua,Xa=Ge;function Ja(e,t){var o=Xa(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Ya=Ja,Za=Pa,Qa=qa,ei=Ga,ti=Ka,oi=Ya;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=Za,ke.prototype.delete=Qa,ke.prototype.get=ei,ke.prototype.has=ti,ke.prototype.set=oi;var ni=ke,ri=qe,ai=Yt,ii=ni,si=200;function ci(e,t){var o=this.__data__;if(o instanceof ri){var n=o.__data__;if(!ai||n.length<si-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ii(n)}return o.set(e,t),this.size=o.size,this}var li=ci,di=qe,_i=Xn,ui=Yn,fi=Qn,pi=tr,vi=li;function xe(e){var t=this.__data__=new di(e);this.size=t.size}xe.prototype.clear=_i,xe.prototype.delete=ui,xe.prototype.get=fi,xe.prototype.has=pi,xe.prototype.set=vi;var hi=xe,gi=_t,bi=function(){try{var e=gi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),eo=bi,to=eo;function mi(e,t,o){t=="__proto__"&&to?to(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ut=mi,yi=ut,$i=Me;function ki(e,t,o){(o!==void 0&&!$i(e[t],o)||o===void 0&&!(t in e))&&yi(e,t,o)}var oo=ki;function xi(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 wi=xi,Oi=wi,Ti=Oi(),Ni=Ti,We={},Ci={get exports(){return We},set exports(e){We=e}};(function(e,t){var o=ye,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})(Ci,We);var Si=ye,Ai=Si.Uint8Array,Ri=Ai,no=Ri;function ji(e){var t=new e.constructor(e.byteLength);return new no(t).set(new no(e)),t}var Ei=ji,Ii=Ei;function Pi(e,t){var o=t?Ii(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Li=Pi;function zi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Bi=zi,Hi=ae,ro=Object.create,Mi=function(){function e(){}return function(t){if(!Hi(t))return{};if(ro)return ro(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Di=Mi;function qi(e,t){return function(o){return e(t(o))}}var Vi=qi,Fi=Vi,Gi=Fi(Object.getPrototypeOf,Object),ao=Gi,Wi=Object.prototype;function Ui(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Wi;return e===o}var io=Ui,Ki=Di,Xi=ao,Ji=io;function Yi(e){return typeof e.constructor=="function"&&!Ji(e)?Ki(Xi(e)):{}}var Zi=Yi;function Qi(e){return e!=null&&typeof e=="object"}var Se=Qi,es=Ve,ts=Se,os="[object Arguments]";function ns(e){return ts(e)&&es(e)==os}var rs=ns,so=rs,as=Se,co=Object.prototype,is=co.hasOwnProperty,ss=co.propertyIsEnumerable,cs=so(function(){return arguments}())?so:function(e){return as(e)&&is.call(e,"callee")&&!ss.call(e,"callee")},lo=cs,ls=Array.isArray,_o=ls,ds=9007199254740991;function _s(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ds}var uo=_s,us=lt,fs=uo;function ps(e){return e!=null&&fs(e.length)&&!us(e)}var ft=ps,vs=ft,hs=Se;function gs(e){return hs(e)&&vs(e)}var bs=gs,Ae={},ms={get exports(){return Ae},set exports(e){Ae=e}};function ys(){return!1}var $s=ys;(function(e,t){var o=ye,n=$s,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})(ms,Ae);var ks=Ve,xs=ao,ws=Se,Os="[object Object]",Ts=Function.prototype,Ns=Object.prototype,fo=Ts.toString,Cs=Ns.hasOwnProperty,Ss=fo.call(Object);function As(e){if(!ws(e)||ks(e)!=Os)return!1;var t=xs(e);if(t===null)return!0;var o=Cs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&fo.call(o)==Ss}var Rs=As,js=Ve,Es=uo,Is=Se,Ps="[object Arguments]",Ls="[object Array]",zs="[object Boolean]",Bs="[object Date]",Hs="[object Error]",Ms="[object Function]",Ds="[object Map]",qs="[object Number]",Vs="[object Object]",Fs="[object RegExp]",Gs="[object Set]",Ws="[object String]",Us="[object WeakMap]",Ks="[object ArrayBuffer]",Xs="[object DataView]",Js="[object Float32Array]",Ys="[object Float64Array]",Zs="[object Int8Array]",Qs="[object Int16Array]",ec="[object Int32Array]",tc="[object Uint8Array]",oc="[object Uint8ClampedArray]",nc="[object Uint16Array]",rc="[object Uint32Array]",$={};$[Js]=$[Ys]=$[Zs]=$[Qs]=$[ec]=$[tc]=$[oc]=$[nc]=$[rc]=!0,$[Ps]=$[Ls]=$[Ks]=$[zs]=$[Xs]=$[Bs]=$[Hs]=$[Ms]=$[Ds]=$[qs]=$[Vs]=$[Fs]=$[Gs]=$[Ws]=$[Us]=!1;function ac(e){return Is(e)&&Es(e.length)&&!!$[js(e)]}var ic=ac;function sc(e){return function(t){return e(t)}}var cc=sc,Ue={},lc={get exports(){return Ue},set exports(e){Ue=e}};(function(e,t){var o=Ft,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})(lc,Ue);var dc=ic,_c=cc,po=Ue,vo=po&&po.isTypedArray,uc=vo?_c(vo):dc,ho=uc;function fc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var go=fc,pc=ut,vc=Me,hc=Object.prototype,gc=hc.hasOwnProperty;function bc(e,t,o){var n=e[t];(!(gc.call(e,t)&&vc(n,o))||o===void 0&&!(t in e))&&pc(e,t,o)}var mc=bc,yc=mc,$c=ut;function kc(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?$c(o,c,l):yc(o,c,l)}return o}var xc=kc;function wc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Oc=wc,Tc=9007199254740991,Nc=/^(?:0|[1-9]\d*)$/;function Cc(e,t){var o=typeof e;return t=t==null?Tc:t,!!t&&(o=="number"||o!="symbol"&&Nc.test(e))&&e>-1&&e%1==0&&e<t}var bo=Cc,Sc=Oc,Ac=lo,Rc=_o,jc=Ae,Ec=bo,Ic=ho,Pc=Object.prototype,Lc=Pc.hasOwnProperty;function zc(e,t){var o=Rc(e),n=!o&&Ac(e),r=!o&&!n&&jc(e),a=!o&&!n&&!r&&Ic(e),i=o||n||r||a,c=i?Sc(e.length,String):[],l=c.length;for(var d in e)(t||Lc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Ec(d,l)))&&c.push(d);return c}var Bc=zc;function Hc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Mc=Hc,Dc=ae,qc=io,Vc=Mc,Fc=Object.prototype,Gc=Fc.hasOwnProperty;function Wc(e){if(!Dc(e))return Vc(e);var t=qc(e),o=[];for(var n in e)n=="constructor"&&(t||!Gc.call(e,n))||o.push(n);return o}var Uc=Wc,Kc=Bc,Xc=Uc,Jc=ft;function Yc(e){return Jc(e)?Kc(e,!0):Xc(e)}var mo=Yc,Zc=xc,Qc=mo;function el(e){return Zc(e,Qc(e))}var tl=el,yo=oo,ol=We,nl=Li,rl=Bi,al=Zi,$o=lo,ko=_o,il=bs,sl=Ae,cl=lt,ll=ae,dl=Rs,_l=ho,xo=go,ul=tl;function fl(e,t,o,n,r,a,i){var c=xo(e,o),l=xo(t,o),d=i.get(l);if(d){yo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=ko(l),v=!p&&sl(l),y=!p&&!v&&_l(l);u=l,p||v||y?ko(c)?u=c:il(c)?u=rl(c):v?(f=!1,u=ol(l,!0)):y?(f=!1,u=nl(l,!0)):u=[]:dl(l)||$o(l)?(u=c,$o(c)?u=ul(c):(!ll(c)||cl(c))&&(u=al(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),yo(e,o,u)}var pl=fl,vl=hi,hl=oo,gl=Ni,bl=pl,ml=ae,yl=mo,$l=go;function wo(e,t,o,n,r){e!==t&&gl(t,function(a,i){if(r||(r=new vl),ml(a))bl(e,t,i,o,wo,n,r);else{var c=n?n($l(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),hl(e,i,c)}},yl)}var kl=wo;function xl(e){return e}var Oo=xl;function wl(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 Ol=wl,Tl=Ol,To=Math.max;function Nl(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 c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),Tl(e,this,c)}}var Cl=Nl;function Sl(e){return function(){return e}}var Al=Sl,Rl=Al,No=eo,jl=Oo,El=No?function(e,t){return No(e,"toString",{configurable:!0,enumerable:!1,value:Rl(t),writable:!0})}:jl,Il=El,Pl=800,Ll=16,zl=Date.now;function Bl(e){var t=0,o=0;return function(){var n=zl(),r=Ll-(n-o);if(o=n,r>0){if(++t>=Pl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Hl=Bl,Ml=Il,Dl=Hl,ql=Dl(Ml),Vl=ql,Fl=Oo,Gl=Cl,Wl=Vl;function Ul(e,t){return Wl(Gl(e,t,Fl),e+"")}var Kl=Ul,Xl=Me,Jl=ft,Yl=bo,Zl=ae;function Ql(e,t,o){if(!Zl(o))return!1;var n=typeof t;return(n=="number"?Jl(o)&&Yl(t,o.length):n=="string"&&t in o)?Xl(o[t],e):!1}var ed=Ql,td=Kl,od=ed;function nd(e){return td(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&&od(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 rd=nd,ad=kl,id=rd;id(function(e,t,o){ad(e,t,o)});const ie=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(B).join(".");return ie(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]=ie(t(r,a,i),t,i),n},{}):e,sd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},pt=()=>{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={}}},cd={name:null,logo:null},Co={name:null,logo:null},ld={factor:null,type:null,outcome:null,value:null},dd=e=>({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:g({},(e==null?void 0:e.teams)||{0:Co,1:Co}),league:(e==null?void 0:e.unique_tournament)||cd,prediction:(e==null?void 0:e.prediction)||ld}),_d=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),ud=e=>!e&&e==null,B=e=>!ud(e),So=e=>typeof e!="object"&&typeof e!="function"||e===null,oe=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function J(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const L=(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},Ke=(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)},fd=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},Ao=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),pd=e=>"id"in e&&"root"in e,vd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),hd=(e,t,o)=>ie(e,(n,r,a)=>So(r)||Array.isArray(r)&&r.every(So)?o?o(n,[r,L(t,a)],a)?L(t,a,r):r:L(t,a,r):r),gd=(e,t)=>{try{ie(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},bd=(e,t)=>{const o=[];return ie(e,(n,r,a)=>(t(n,r,a,o)&&o.push({key:n,value:r,path:a}),r)),o},Ro=["desktop","laptop","tablet","mobile"],md={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var yd=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:--yd,__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 jo=_.createContext(),se=({children:e,value:t})=>s(jo.Provider,{value:t,children:e}),ce=e=>i=>rt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=$t(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>A_);window.ResizeObserver=l.ResizeObserver}return _.render(s(se,{value:r,children:_.cloneElement(e,g({ref:n,id:o},a))}),t)}),H=()=>cn(jo),$d=(e={})=>typeof e=="object"&&B(e)&&Ro.every(t=>t in e),kd=(e,t)=>e&&ie(e,(o,n)=>{if($d(n)){const r=n[t];return r&&"parent"in r&&B(r.parent)?g(g({},n[r.parent]),J(r,"parent")):r}return n}),le=(e,t)=>kd(e,t),we=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=md})=>{const[r,a]=re("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[y,T])=>v-T),u=((f=d.find(([p,v],y)=>{const[T,j]=d[y+1]||[];return l>=v&&l<j}))==null?void 0:f[0])||"desktop";a(u)};return Ct(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Xe=(e,t)=>`${e}${t}`,xd=e=>e.startsWith("px_"),wd=e=>e.startsWith("percent_"),Od=(e,t)=>{let o=e,n=t;return xd(o)&&(o=o.replace("px_",""),n=Xe(t,"px")),wd(o)&&(o=o.replace("percent_",""),n=Xe(t,"%")),{key:o,value:n}},Td='-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"',Nd=["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"],Cd=(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=A(g(g({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{Nd.includes(r)&&(a=Xe(a,"px"));const{key:i,value:c}=Od(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=Xe(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&B(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&B(n.backgroundColorOpacity)&&B(n.backgroundColor)){const l=fd(n.backgroundColor);l&&(n.backgroundColor=vd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(c)&&(n.fontFamily=Td),i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},Sd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,I=e=>B(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Sd(n)?Cd(g({},e[o]),o):n,t),{}):e,Q=o=>{var n=o,{children:e}=n,t=$t(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",A(g({},t),{dangerouslySetInnerHTML:{__html:r}}))},Eo=()=>{const[e,t]=re(!1);return[e,()=>t(o=>!o)]},Re=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),vt=()=>s("svg",{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"})}),Ad=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`}),Io=(e,t)=>{var u,f,p,v,y,T,j,b,w,x,S,D,Z;const o=Ad(t),n=I(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderTopStyle:"solid",borderLeftWidth:(T=n==null?void 0:n.container)==null?void 0:T.borderWidth,borderLeftColor:(j=n==null?void 0:n.container)==null?void 0:j.borderColor,borderLeftStyle:"solid"},i={left:(b=n==null?void 0:n.container)==null?void 0:b.left},c=(((w=n==null?void 0:n.icon)==null?void 0:w.animations)||[]).map(ee=>o[ee]).join(", "),l=B((x=n==null?void 0:n.icon)==null?void 0:x.gradientColor)&&((S=n==null?void 0:n.icon)!=null&&S.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.backgroundColor} 0%, ${(Z=n==null?void 0:n.icon)==null?void 0:Z.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(A(g({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},Oe=e=>{const t=new Set([]);ie(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=ze(()=>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(sd)},[o])},de=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],Rd=["borderWidth","borderColor","borderStyle"],Je=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],jd=e=>console.log(`Noop YaMektika reach goal: ${e}`),Ed=e=>console.log(`Noop AdFox reach goal: ${e}`),Id=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=re(!1),a=q(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};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:c}},Po=({ref:e,openDelay:t})=>{const o=q(pt()),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}=Id({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return at(e,()=>({onOpen:n,onClick:r,onAutoOpen:a,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isOpen:i,toggle:c,click:(...l)=>o.current.emit("click",...l)}},Pd=be(({id:e},t)=>{var b,w,x,S,D,Z,ee;const o=q(null),[n,r]=Eo(),a=H(),i=we({targetRef:o,id:e}),c=le(a,i),l=I(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Io(c,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:v,toggle:y,click:T}=Po({ref:t,openDelay:(b=c==null?void 0:c.container)==null?void 0:b.delay});Oe(c);const j=n?oe(l.container,...Rd):{};return s("div",{className:R(O.root,{[O.legalOpen]:n}),ref:o,children:[s("div",{className:O.icon,style:u,onClick:y,children:d&&s("div",{className:O.iconTarget,children:s(vt,{})})}),s("div",{className:R(O.body,{[O.bodyOpen]:v}),style:f,children:[s("div",{className:O.arrow,style:p}),s("div",{className:O.close,style:l==null?void 0:l.close,onClick:y,children:s(Re,{})}),s("div",{className:O.container,style:l==null?void 0:l.container,children:[s("a",{href:(w=l==null?void 0:l.root)==null?void 0:w.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>T(l.id),children:[s("div",{className:O.inner,children:[s("div",{className:O.logo,style:l==null?void 0:l.logo}),s(Q,{className:O.text,style:l==null?void 0:l.text,children:(x=l==null?void 0:l.text)==null?void 0:x.children})]}),s("div",{className:R(O.button,{[O.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(S=l==null?void 0:l.button)==null?void 0:S.children})]}),s("div",{className:O.legalGap}),s("div",{className:O.legal,style:g(g({},l==null?void 0:l.legal),j),children:s("span",{className:O.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:O.legalButton,onClick:r,children:n?(Z=l==null?void 0:l.legal)==null?void 0:Z.buttonOpenText:(ee=l==null?void 0:l.legal)==null?void 0:ee.buttonHideText})]})})})]})]})]})}),Ld=ce(s(Pd,{})),N={root:"_root_sl2m5_1",icon:"_icon_sl2m5_5",iconTarget:"_iconTarget_sl2m5_17",body:"_body_sl2m5_22",desktop:"_desktop_sl2m5_29",tablet:"_tablet_sl2m5_29",laptop:"_laptop_sl2m5_29",bodyOpen:"_bodyOpen_sl2m5_33",complexGift_in:"_complexGift_in_sl2m5_1",arrow:"_arrow_sl2m5_46",container:"_container_sl2m5_56",promotion:"_promotion_sl2m5_61",close:"_close_sl2m5_69",head:"_head_sl2m5_83",headIcon:"_headIcon_sl2m5_89",headTitle:"_headTitle_sl2m5_95",inner:"_inner_sl2m5_102",fadein:"_fadein_sl2m5_1",pulse:"_pulse_sl2m5_1",gradient:"_gradient_sl2m5_1",wiggle:"_wiggle_sl2m5_1"},W={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"},zd=({onClick:e})=>{var n,r,a,i,c;const t=H(),o=I(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:R(W.root,{[W.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:W.body,children:[s("div",{className:W.line,style:o.line}),s("div",{className:W.bodyInner,children:[s("div",{className:W.logo,style:o.logo}),s("div",{className:W.text,style:o.text,children:s(Q,{children:(a=o.text)==null?void 0:a.children})})]}),s("div",{className:W.button,style:o.button,children:[s("div",{className:W.logo,style:o.logo}),s("div",{className:W.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:W.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Bd=be(({id:e},t)=>{var b,w,x,S;const o=q(null),n=H(),r=we({targetRef:o,id:e}),a=le(n,r),i=I(a),{isOpen:c,click:l,toggle:d}=Po({ref:t,openDelay:(b=a==null?void 0:a.container)==null?void 0:b.delay});Oe(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:v}=Io(a,{fade:N.fadein,pulse:N.pulse,wiggle:N.wiggle,gradient:N.gradient}),y=(w=i==null?void 0:i.title)==null?void 0:w.hasIcon,T=oe(i==null?void 0:i.title,...Je),j=J(i==null?void 0:i.title,...Je);return console.log(i),s("div",{ref:o,className:R(N.root,{[N.desktop]:r==="desktop",[N.laptop]:r==="laptop",[N.tablet]:r==="tablet"}),children:[s("div",{className:N.icon,style:f,onClick:d,children:u&&s("div",{className:N.iconTarget,children:s(vt,{})})}),s("div",{className:R(N.body,{[N.bodyOpen]:c}),style:p,children:[s("div",{className:N.arrow,style:v}),s("div",{className:N.container,style:i.container,children:[s("div",{className:N.close,style:i.close,onClick:d,children:s(Re,{})}),s("div",{className:N.promotion,style:i.promotion,children:(x=i.promotion)==null?void 0:x.children}),s("div",{className:N.head,style:T,children:[y&&s("div",{className:N.headIcon,style:oe(i.title,"color"),children:s(vt,{})}),s("div",{className:N.headTitle,style:j,children:(S=i.title)==null?void 0:S.children})]}),s("div",{className:N.inner,children:(i.children||[]).map(D=>s(se,{value:D,children:s(zd,{onClick:l})}))})]})]})]})}),Hd=ce(s(Bd,{})),V={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},_e=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Md={root:"_root_2ic16_1"},Dd=()=>{var o;const e=H(),t=I(e);return s("div",{className:Md.root,style:t.root,children:s(Q,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},ht=(e,t=0)=>{const o=q(pt()),[n,r]=re(!1),[a,i]=re(),c=v=>o.current.on("visible",v),l=v=>o.current.on("click",v),d=v=>o.current.on("clickHide",v),u=()=>rt(this,null,function*(){yield _d(+t),r(!0)}),f=()=>r(!1),p=()=>{o.current.emit("clickHide"),f()};return F(()=>{o.current.emit("visible",n)},[n]),at(e,()=>({onVisible:c,onClick:l,onClickHide:d,show:u,hide:f,setApiHost:i,resetListeners:o.current.reset})),F(()=>o.current.reset,[]),{isOpen:n,apiHost:a,show:u,hide:f,clickHide:p,click:(...v)=>{f(),o.current.emit("click",...v)}}},qd=be(({id:e,className:t},o)=>{var T,j,b,w,x,S;const n=q(null),r=we({targetRef:n,id:e}),a=H(),i=le(a,r);Oe(i),Ke(i,"button.percent_width",(T=i==null?void 0:i.button)==null?void 0:T.width),Ke(i,"legal.percent_width",(j=i==null?void 0:i.legal)==null?void 0:j.width);const c=I(i),l=L(c,"root.delay",0),{isOpen:d,clickHide:u,click:f}=ht(o,l),p={alignItems:_e((b=c.root)==null?void 0:b.align)},v=A(g({},c==null?void 0:c.button),{justifyContent:_e((w=c.root)==null?void 0:w.textAlign)}),y=A(g({},c==null?void 0:c.legal),{justifyContent:_e((x=c.root)==null?void 0:x.textAlign)});return s("div",{className:R(V.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:V.overlay,style:c.overlay,onClick:u}),s("div",{className:V.wrapper,children:[s("div",{className:V.close,style:J(c.close,"backgroundColor"),onClick:u,children:s(Re,{})}),s("a",{href:(S=c.root)==null?void 0:S.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:R(V.content,{[V.desktop]:r==="desktop",[V.tablet]:r==="tablet",[V.laptop]:r==="laptop"}),style:c.root,onClick:()=>f(c.id),children:s("div",{className:V.body,style:p,children:[s("div",{className:V.logo,style:c.logo}),s("div",{className:V.text,children:((c==null?void 0:c.children)||[]).map(D=>s(se,{value:D,children:s(Dd,{})}))}),s("div",{className:V.button,style:v,children:v==null?void 0:v.children}),s("div",{className:V.legal,style:y,children:y==null?void 0:y.children})]})})]})]})}),Vd=ce(s(qd,{})),ne={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},U={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"},Fd=({onClick:e})=>{var r,a,i,c;const t=H(),o=I(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:R(U.root,{[U.desktop]:n==="desktop",[U.laptop]:n==="laptop"}),style:J(o.root,...Je),onClick:()=>e(o.id),children:[s("div",{className:U.header,style:o.header,children:s("div",{className:U.logo,style:o.logo})}),s("div",{className:U.container,style:oe(o.root,...Je),children:[s("div",{className:U.body,children:[s("div",{className:U.logo,style:o.logo}),s(Q,{className:U.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s(Q,{className:U.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s(Q,{className:U.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},Gd=be(({id:e},t)=>{var f;const o=q(null),n=we({targetRef:o,id:e}),r=H(),a=le(r,n),i=I(a);Oe(a);const c=L(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=ht(t,c);return s("div",{className:ne.root,style:{display:l?"flex":"none"},children:[s("div",{className:ne.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:R(ne.content,{[ne.desktop]:n==="desktop",[ne.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:ne.close,style:J(i.close,"backgroundColor"),onClick:d,children:s(Re,{})}),s(Q,{className:ne.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:ne.wrapper,children:(i.children||[]).map(p=>s(se,{value:A(g({},p),{device:n}),children:s(Fd,{onClick:u})}))})]})]})}),Wd=ce(s(Gd,{})),P={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},C={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"},Ud=()=>{const e=H(),t=I(e),o=(e==null?void 0:e.device)||"desktop",n=A(g({},t==null?void 0:t.teamALogo),{backgroundImage:L(t,"match.teams[0].logo")}),r=A(g({},t==null?void 0:t.teamBLogo),{backgroundImage:L(t,"match.teams[1].logo")});return s("div",{className:R(C.root,{[C.desktop]:o==="desktop",[C.laptop]:o==="laptop"}),children:[s("div",{className:C.left,children:[s("div",{className:C.teams,children:[s("img",{className:C.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:C.logo,src:r.backgroundImage,style:r})]}),s("div",{className:C.body,children:[s("div",{className:C.league,style:t.league,children:L(t,"match.league.name")}),s("div",{className:C.name,style:t.teams,children:[L(t,"match.teams[0].name")," — ",L(t,"match.teams[1].name")]})]})]}),s("div",{className:C.right,children:[s("div",{className:C.team,children:[s("img",{className:C.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:C.teamName,style:t.teams,children:L(t,"match.teams[0].name")})]}),s("div",{className:C.odd,children:[s("div",{className:C.oddLabel,style:t.oddLabel,children:L(t,"match.prediction.value")}),s("div",{className:C.oddValue,style:t.oddValue,children:L(t,"match.prediction.factor")})]}),s("div",{className:C.team,children:[s("img",{className:C.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:C.teamName,style:t.teams,children:L(t,"match.teams[1].name")})]})]})]})},Kd=(e,{pause:t,params:o,method:n,body:r})=>{const[a,i]=re(),c=ze(()=>{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=sn(()=>rt(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 F(()=>{t||l()},[c,t]),{data:a,execute:l}};function Xd(e){const t=q();return F(()=>{t.current=e},[e]),t.current}const Jd=(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=Xd(r);console.log(t,r);const{data:i,execute:c}=Kd(`${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}))}});return console.log(i),F(()=>{Ao(a,r)||c()},[r]),n.map(d=>{const u=(i||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=dd(u),p=hd(f,d.root.customMatch,(v,[y,T])=>B(T));return A(g({},d),{match:p})}).filter(Boolean)},Yd=be(({id:e},t)=>{var w,x,S,D,Z,ee,pe,ve,tt,ot,Ie,en,tn;const o=q(null),n=we({targetRef:o,id:e}),r=H(),a=le(r,n);Ke(a,"buttonWrapper.percent_width",(w=a==null?void 0:a.buttonWrapper)==null?void 0:w.width),Ke(a,"legal.percent_width",(x=a==null?void 0:a.legal)==null?void 0:x.width);const i=I(a);Oe(a);const c=L(i,"root.delay",0),{isOpen:l,apiHost:d,clickHide:u,click:f}=ht(t,c),p=Jd(a,d),v=A(g({},i.root),{alignItems:_e((S=i.root)==null?void 0:S.align)}),y=A(g({},i.content),{alignItems:_e((D=i.root)==null?void 0:D.align)}),T=A(g({},i.text),{textAlign:(Z=i.root)==null?void 0:Z.align}),j=A(g({},i==null?void 0:i.button),{justifyContent:_e((ee=i.root)==null?void 0:ee.textAlign)}),b=A(g({},i==null?void 0:i.legal),{justifyContent:_e((pe=i.root)==null?void 0:pe.textAlign)});return s("div",{className:R(P.root,{[P.desktop]:n==="desktop",[P.laptop]:n==="laptop",[P.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:P.overlay,style:i.overlay,onClick:u}),s("div",{className:P.content,children:[s("div",{className:P.close,style:J(i.close,"backgroundColor"),onClick:u,children:s(Re,{})}),s("a",{ref:o,href:(ve=i.root)==null?void 0:ve.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(i.id),children:s("div",{className:P.body,style:v,children:[s("div",{className:P.head,children:[s("div",{className:P.title,style:i.title,children:(tt=i.title)==null?void 0:tt.children}),s("div",{className:P.logo,style:i.logo})]}),s("div",{className:P.wrapper,style:y,children:(p||[]).map(R_=>s(se,{value:A(g({},R_),{device:n}),children:s(Ud,{})}))}),s(Q,{className:P.text,style:T,children:(ot=i.text)==null?void 0:ot.children}),s("div",{className:P.button,style:i.buttonWrapper,children:[s("div",{className:P.buttonHead,style:i.buttonHead,children:(Ie=i.buttonHead)==null?void 0:Ie.children}),s("div",{className:P.buttonTarget,style:j,children:(en=i.button)==null?void 0:en.children})]}),s(Q,{className:P.legal,style:b,children:(tn=i.legal)==null?void 0:tn.children})]})})]})]})}),Zd=ce(s(Yd,{})),K={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"},Qd=({onClick:e})=>{var a,i,c,l,d,u,f,p;const t=H(),o=I(t),[n,r]=Eo();return s("div",{className:K.root,style:J(o.root,...de),children:[s("div",{className:K.background,style:oe(o.root,...de)}),s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:K.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:K.rowSecond,style:o.rowSecond,children:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:K.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:K.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:R(K.legal,{[K.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:K.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:K.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},e_=e=>{const t=q(pt()),o=n=>t.current.on("click",n);return at(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},t_=be((e,t)=>{const o=q(null),n=H(),a=le(n,"mobile"),i=I(a);Oe(a);const{click:c}=e_(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(l=>s(se,{value:l,children:s(Qd,{onClick:c})}))})}),o_=ce(s(t_,{})),E={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Lo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},n_=()=>{var o;const e=H(),t=I(e);return s("div",{className:R(Lo.root,{[Lo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:J(t.root,...de),children:(o=t.root)==null?void 0:o.children})},X={root:"_root_vcrfp_1",odd:"_odd_vcrfp_7",oddReverse:"_oddReverse_vcrfp_14",oddLabel:"_oddLabel_vcrfp_18",oddLogo:"_oddLogo_vcrfp_31",coef:"_coef_vcrfp_37",coefHead:"_coefHead_vcrfp_43",coefValue:"_coefValue_vcrfp_48"},r_=()=>{var n,r,a;const e=H(),t=I(e),o=J(t.root,...de);return s("div",{className:X.root,children:[s("div",{className:X.odd,children:[s("div",{className:X.oddLogo,style:o}),s("div",{className:X.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:X.coef,children:[s("div",{className:X.coefHead,style:t.coef,children:"X"}),s("div",{className:X.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:R(X.odd,X.oddReverse),children:[s("div",{className:X.oddLogo,style:o}),s("div",{className:X.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},M={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},a_=()=>{const e=H(),t=I(e);return s("div",{className:R(M.root,{[M.desktop]:(e==null?void 0:e.device)==="desktop",[M.laptop]:(e==null?void 0:e.device)==="laptop",[M.tablet]:(e==null?void 0:e.device)==="tablet"}),style:J(t.root,...de),children:[s("div",{className:M.title,children:[s("div",{className:M.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:M.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:M.team,children:[s("div",{className:M.teamLogo,style:t.logo}),s("div",{className:M.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:M.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:M.team,children:[s("div",{className:M.teamLogo,style:t.logo}),s("div",{className:M.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:M.teamValue,style:t.value,children:t.value2.children})]})]})]})},i_=(e=[])=>{var a;const t=e.length,[o,n]=re(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return F(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},s_=(e,t="root")=>{const o=q(),n=(e==null?void 0:e.yaReachGoal)||jd,r=(e==null?void 0:e.adfoxReachGoal)||Ed,a=B(e)?oe(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return F(()=>{Ao(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)}},c_=3700,l_=ce(s(({id:e})=>{var p,v,y,T,j;const t=q(null),o=H(),n=we({id:e,targetRef:t}),r=le(o,n),a=I(r),i=s_(r),c=b=>({text:s(n_,{}),matches:s(r_,{}),matchesOneTwo:s(a_,{})})[b],l=(a.children||[]).filter(Boolean).map(b=>{var w,x;return A(g({},b),{animationName:(w=b==null?void 0:b.root)==null?void 0:w.animationName,animationDuration:((x=b==null?void 0:b.root)==null?void 0:x.animationDuration)||c_})}),d=i_(l),u=I(l[d]||{}),f=(p=u==null?void 0:u.root)!=null&&p.hasCustomBackground?oe((u==null?void 0:u.root)||{},...de):oe(a.root,...de);return s("a",{ref:t,href:(v=a.root)==null?void 0:v.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:R(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet",[E.variant2]:((y=a.root)==null?void 0:y.variant)==="variant2"}),style:a.root,onClick:i,children:[s("div",{className:E.background,style:f}),s("div",{className:E.promotion,style:a.promotion,children:(T=a.promotion)==null?void 0:T.children}),s("div",{className:E.content,children:[s("div",{className:E.left,children:s("div",{className:E.logo,style:a.logo})}),s("div",{className:E.center,children:(a.children||[]).map((b,w)=>{var x,S;return s("div",{className:E.slide,style:{animationName:d===w?E[((x=b.root)==null?void 0:x.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=b.root)==null?void 0:S.animationDuration}ms`},children:s(se,{value:A(g({},b),{device:n}),children:c(b.name)})})})}),s("div",{className:E.right,children:[s("div",{className:E.logo,style:a.logo}),s("div",{className:E.buttonWrapper,children:s("div",{className:E.button,style:a.button,children:[s("div",{className:E.logo,style:a.logo}),(j=a.button)==null?void 0:j.children]})})]})]})]})},{})),d_=(e,t,o,n,r=Ro)=>{const a=g({},e);return r.forEach(i=>{a[t]=A(g({},a[t]),{[i]:A(g({},a[t][i]),{[o]:typeof n=="function"?n(L(a,`${t}.${i}.${o}`)):n})})}),a};var ue=[],__=function(){return ue.some(function(e){return e.activeTargets.length>0})},u_=function(){return ue.some(function(e){return e.skippedTargets.length>0})},zo="ResizeObserver loop completed with undelivered notifications.",f_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:zo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=zo),window.dispatchEvent(e)},je;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(je||(je={}));var fe=function(e){return Object.freeze(e)},Bo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,fe(this)}return e}(),Ho=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,fe(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}(),gt=function(e){return e instanceof SVGElement&&"getBBox"in e},Mo=function(e){if(gt(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)},Do=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)},p_=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},Ee=typeof window!="undefined"?window:{},Ye=new WeakMap,qo=/auto|scroll/,v_=/^tb|vertical/,h_=/msie|trident/i.test(Ee.navigator&&Ee.navigator.userAgent),Y=function(e){return parseFloat(e||"0")},Te=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Bo((o?t:e)||0,(o?e:t)||0)},Vo=fe({devicePixelContentBoxSize:Te(),borderBoxSize:Te(),contentBoxSize:Te(),contentRect:new Ho(0,0,0,0)}),Fo=function(e,t){if(t===void 0&&(t=!1),Ye.has(e)&&!t)return Ye.get(e);if(Mo(e))return Ye.set(e,Vo),Vo;var o=getComputedStyle(e),n=gt(e)&&e.ownerSVGElement&&e.getBBox(),r=!h_&&o.boxSizing==="border-box",a=v_.test(o.writingMode||""),i=!n&&qo.test(o.overflowY||""),c=!n&&qo.test(o.overflowX||""),l=n?0:Y(o.paddingTop),d=n?0:Y(o.paddingRight),u=n?0:Y(o.paddingBottom),f=n?0:Y(o.paddingLeft),p=n?0:Y(o.borderTopWidth),v=n?0:Y(o.borderRightWidth),y=n?0:Y(o.borderBottomWidth),T=n?0:Y(o.borderLeftWidth),j=f+d,b=l+u,w=T+v,x=p+y,S=c?e.offsetHeight-x-e.clientHeight:0,D=i?e.offsetWidth-w-e.clientWidth:0,Z=r?j+w:0,ee=r?b+x:0,pe=n?n.width:Y(o.width)-Z-D,ve=n?n.height:Y(o.height)-ee-S,tt=pe+j+D+w,ot=ve+b+S+x,Ie=fe({devicePixelContentBoxSize:Te(Math.round(pe*devicePixelRatio),Math.round(ve*devicePixelRatio),a),borderBoxSize:Te(tt,ot,a),contentBoxSize:Te(pe,ve,a),contentRect:new Ho(f,l,pe,ve)});return Ye.set(e,Ie),Ie},Go=function(e,t,o){var n=Fo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case je.DEVICE_PIXEL_CONTENT_BOX:return i;case je.BORDER_BOX:return r;default:return a}},Wo=function(){function e(t){var o=Fo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=fe([o.borderBoxSize]),this.contentBoxSize=fe([o.contentBoxSize]),this.devicePixelContentBoxSize=fe([o.devicePixelContentBoxSize])}return e}(),Uo=function(e){if(Mo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},g_=function(){var e=1/0,t=[];ue.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Wo(d.target),f=Uo(d.target);c.push(u),d.lastReportedSize=Go(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},Ko=function(e){ue.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Uo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},b_=function(){var e=0;for(Ko(e);__();)e=g_(),Ko(e);return u_()&&f_(),e>0},bt,Xo=[],m_=function(){return Xo.splice(0).forEach(function(e){return e()})},y_=function(e){if(!bt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return m_()}).observe(o,n),bt=function(){o.textContent="".concat(t?t--:t++)}}Xo.push(e),bt()},$_=function(e){y_(function(){requestAnimationFrame(e)})},Ze=0,k_=function(){return!!Ze},x_=250,w_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Jo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Yo=function(e){return e===void 0&&(e=0),Date.now()+e},mt=!1,O_=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=x_),!mt){mt=!0;var n=Yo(t);$_(function(){var r=!1;try{r=b_()}finally{if(mt=!1,t=n-Yo(),!k_())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,w_)};document.body?o():Ee.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Jo.forEach(function(o){return Ee.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Jo.forEach(function(o){return Ee.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),yt=new O_,Zo=function(e){!Ze&&e>0&&yt.start(),Ze+=e,!Ze&&yt.stop()},T_=function(e){return!gt(e)&&!p_(e)&&getComputedStyle(e).display==="inline"},N_=function(){function e(t,o){this.target=t,this.observedBox=o||je.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Go(this.target,this.observedBox,!0);return T_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),C_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Qe=new WeakMap,Qo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},et=function(){function e(){}return e.connect=function(t,o){var n=new C_(t,o);Qe.set(t,n)},e.observe=function(t,o,n){var r=Qe.get(t),a=r.observationTargets.length===0;Qo(r.observationTargets,o)<0&&(a&&ue.push(r),r.observationTargets.push(new N_(o,n&&n.box)),Zo(1),yt.schedule())},e.unobserve=function(t,o){var n=Qe.get(t),r=Qo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ue.splice(ue.indexOf(n),1),n.observationTargets.splice(r,1),Zo(-1))},e.disconnect=function(t){var o=this,n=Qe.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),S_=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.");et.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(!Do(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");et.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(!Do(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");et.unobserve(this,t)},e.prototype.disconnect=function(){et.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const A_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:S_,ResizeObserverEntry:Wo,ResizeObserverSize:Bo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=o_,h.ComplexGift=Hd,h.ComplexPopup=Wd,h.ExpressPopup=Zd,h.SimpleGift=Ld,h.SimplePopup=Vd,h.WideCard=l_,h.filterDeep=bd,h.findDeep=gd,h.isValidTemplate=pd,h.modifyState=d_,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.2.14",
4
+ "version": "2.3.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"