@adstore/templates 2.6.2 → 2.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- (function(h,u){typeof exports=="object"&&typeof module!="undefined"?u(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],u):(h=typeof globalThis!="undefined"?globalThis:h||self,u(h["@adstore/templates"]={},h.preact))})(this,function(h,u){"use strict";var Q_=Object.defineProperty,eu=Object.defineProperties;var tu=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var bn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var vn=(h,u,T)=>u in h?Q_(h,u,{enumerable:!0,configurable:!0,writable:!0,value:T}):h[u]=T,g=(h,u)=>{for(var T in u||(u={}))bn.call(u,T)&&vn(h,T,u[T]);if(ut)for(var T of ut(u))mn.call(u,T)&&vn(h,T,u[T]);return h},w=(h,u)=>eu(h,tu(u));var Ot=(h,u)=>{var T={};for(var G in h)bn.call(h,G)&&u.indexOf(G)<0&&(T[G]=h[G]);if(h!=null&&ut)for(var G of ut(h))u.indexOf(G)<0&&mn.call(h,G)&&(T[G]=h[G]);return T};var Fe=(h,u,T)=>new Promise((G,qe)=>{var O=ee=>{try{k(T.next(ee))}catch(we){qe(we)}},ce=ee=>{try{k(T.throw(ee))}catch(we){qe(we)}},k=ee=>ee.done?G(ee.value):Promise.resolve(ee.value).then(O,ce);k((T=T.apply(h,u)).next())});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},G={},qe={get exports(){return G},set exports(e){G=e}};/*!
1
+ (function(h,u){typeof exports=="object"&&typeof module!="undefined"?u(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],u):(h=typeof globalThis!="undefined"?globalThis:h||self,u(h["@adstore/templates"]={},h.preact))})(this,function(h,u){"use strict";var Q_=Object.defineProperty,eu=Object.defineProperties;var tu=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var bn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var vn=(h,u,T)=>u in h?Q_(h,u,{enumerable:!0,configurable:!0,writable:!0,value:T}):h[u]=T,g=(h,u)=>{for(var T in u||(u={}))bn.call(u,T)&&vn(h,T,u[T]);if(ut)for(var T of ut(u))mn.call(u,T)&&vn(h,T,u[T]);return h},x=(h,u)=>eu(h,tu(u));var Ot=(h,u)=>{var T={};for(var G in h)bn.call(h,G)&&u.indexOf(G)<0&&(T[G]=h[G]);if(h!=null&&ut)for(var G of ut(h))u.indexOf(G)<0&&mn.call(h,G)&&(T[G]=h[G]);return T};var Fe=(h,u,T)=>new Promise((G,qe)=>{var O=ee=>{try{k(T.next(ee))}catch(xe){qe(xe)}},le=ee=>{try{k(T.throw(ee))}catch(xe){qe(xe)}},k=ee=>ee.done?G(ee.value):Promise.resolve(ee.value).then(O,le);k((T=T.apply(h,u)).next())});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},G={},qe={get exports(){return G},set exports(e){G=e}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var c=o.apply(null,i);c&&n.push(c)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var l in i)t.call(i,l)&&i[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(qe);const O=G;var ce,k,ee,we,xe=0,Ct=[],We=[],St=u.options.__b,At=u.options.__r,Lt=u.options.diffed,It=u.options.__c,Rt=u.options.unmount;function Ie(e,t){u.options.__h&&u.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:We}),o.__[e]}function ie(e){return xe=1,yn(Bt,e)}function yn(e,t,o){var n=Ie(ce++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(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=k,!k.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!i||i.call(this,c,l,d);var f=!1;return _.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)&&(!i||i.call(this,c,l,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(c,l,d){if(this.__e){var _=i;i=void 0,r(c,l,d),i=_}a&&a.call(this,c,l,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function U(e,t){var o=Ie(ce++,3);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(ce++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function X(e){return xe=5,Re(function(){return{current:e}},[])}function Ge(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Re(e,t){var o=Ie(ce++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function $n(e,t){return xe=8,Re(function(){return e},t)}function kn(e){var t=k.context[e.__c],o=Ie(ce++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function wn(){for(var e;e=Ct.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ue),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){k=null,St&&St(e)},u.options.__r=function(e){At&&At(e),ce=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=We,o.__N=o.i=void 0})):(t.__h.forEach(Ue),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){Lt&&Lt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ct.push(t)!==1&&we===u.options.requestAnimationFrame||((we=u.options.requestAnimationFrame)||xn)(wn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==We&&(o.__=o.__V),o.i=void 0,o.__V=We})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ue),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),It&&It(e,t)},u.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Ue(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function xn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Ue(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(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 Mt(e){this.props=e}(Mt.prototype=new u.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var Nn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=Nn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Tn=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Tn(e,t,o,n)};var Vt=u.options.unmount;function Dt(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=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function Ft(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ft(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 gt(){this.__u=0,this.t=null,this.__b=null}function qt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xe(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=qt(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(c):c())};o.__R=a;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Ft(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.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]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Wt=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]}};(Xe.prototype=new u.Component).__a=function(e){var t=this,o=qt(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(i):i()}},Xe.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.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},Xe.prototype.componentDidUpdate=Xe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var On=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cn=/^(?: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]/,Sn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,An=/[A-Z0-9]/g,Ln=typeof document!="undefined",In=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.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 Gt=u.options.event;function Rn(){}function En(){return this.cancelBubble}function jn(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=Rn,e.isPropagationStopped=En,e.isDefaultPrevented=jn,e.nativeEvent=e};var Bn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Ln&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":c==="ondoubleclick"?i="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||In(o.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":Sn.test(i)?i=c:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(An,"-$&").toLowerCase():a===null&&(a=void 0):c=i="oninput",c==="oninput"&&r[i=c]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.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",Bn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=On,Ut&&Ut(e)};var Xt=u.options.__r;u.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=u.options.diffed;u.options.diffed=function(e){Zt&&Zt(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 zn(){this.__data__=[],this.size=0}var Pn=zn;function Mn(e,t){return e===t||e!==e&&t!==t}var Ze=Mn,Hn=Ze;function Vn(e,t){for(var o=e.length;o--;)if(Hn(e[o][0],t))return o;return-1}var Ke=Vn,Dn=Ke,Fn=Array.prototype,qn=Fn.splice;function Wn(e){var t=this.__data__,o=Dn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Gn=Wn,Un=Ke;function Xn(e){var t=this.__data__,o=Un(t,e);return o<0?void 0:t[o][1]}var Zn=Xn,Kn=Ke;function Jn(e){return Kn(this.__data__,e)>-1}var Yn=Jn,Qn=Ke;function er(e,t){var o=this.__data__,n=Qn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var tr=er,or=Pn,nr=Gn,rr=Zn,ar=Yn,ir=tr;function Ne(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])}}Ne.prototype.clear=or,Ne.prototype.delete=nr,Ne.prototype.get=rr,Ne.prototype.has=ar,Ne.prototype.set=ir;var Je=Ne,sr=Je;function lr(){this.__data__=new sr,this.size=0}var cr=lr;function dr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var _r=dr;function ur(e){return this.__data__.get(e)}var pr=ur;function fr(e){return this.__data__.has(e)}var gr=fr,hr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=hr,vr=Kt,br=typeof self=="object"&&self&&self.Object===Object&&self,mr=vr||br||Function("return this")(),Te=mr,yr=Te,$r=yr.Symbol,Jt=$r,Yt=Jt,Qt=Object.prototype,kr=Qt.hasOwnProperty,wr=Qt.toString,Ee=Yt?Yt.toStringTag:void 0;function xr(e){var t=kr.call(e,Ee),o=e[Ee];try{e[Ee]=void 0;var n=!0}catch(i){}var r=wr.call(e);return n&&(t?e[Ee]=o:delete e[Ee]),r}var Nr=xr,Tr=Object.prototype,Or=Tr.toString;function Cr(e){return Or.call(e)}var Sr=Cr,eo=Jt,Ar=Nr,Lr=Sr,Ir="[object Null]",Rr="[object Undefined]",to=eo?eo.toStringTag:void 0;function Er(e){return e==null?e===void 0?Rr:Ir:to&&to in Object(e)?Ar(e):Lr(e)}var Ye=Er;function jr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=jr,Br=Ye,zr=he,Pr="[object AsyncFunction]",Mr="[object Function]",Hr="[object GeneratorFunction]",Vr="[object Proxy]";function Dr(e){if(!zr(e))return!1;var t=Br(e);return t==Mr||t==Hr||t==Pr||t==Vr}var ht=Dr,Fr=Te,qr=Fr["__core-js_shared__"],Wr=qr,vt=Wr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gr(e){return!!oo&&oo in e}var Ur=Gr,Xr=Function.prototype,Zr=Xr.toString;function Kr(e){if(e!=null){try{return Zr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Jr=Kr,Yr=ht,Qr=Ur,ea=he,ta=Jr,oa=/[\\^$.*+?()[\]{}|]/g,na=/^\[object .+?Constructor\]$/,ra=Function.prototype,aa=Object.prototype,ia=ra.toString,sa=aa.hasOwnProperty,la=RegExp("^"+ia.call(sa).replace(oa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!ea(e)||Qr(e))return!1;var t=Yr(e)?la:na;return t.test(ta(e))}var da=ca;function _a(e,t){return e==null?void 0:e[t]}var ua=_a,pa=da,fa=ua;function ga(e,t){var o=fa(e,t);return pa(o)?o:void 0}var bt=ga,ha=bt,va=Te,ba=ha(va,"Map"),no=ba,ma=bt,ya=ma(Object,"create"),Qe=ya,ro=Qe;function $a(){this.__data__=ro?ro(null):{},this.size=0}var ka=$a;function wa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var xa=wa,Na=Qe,Ta="__lodash_hash_undefined__",Oa=Object.prototype,Ca=Oa.hasOwnProperty;function Sa(e){var t=this.__data__;if(Na){var o=t[e];return o===Ta?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Aa=Sa,La=Qe,Ia=Object.prototype,Ra=Ia.hasOwnProperty;function Ea(e){var t=this.__data__;return La?t[e]!==void 0:Ra.call(t,e)}var ja=Ea,Ba=Qe,za="__lodash_hash_undefined__";function Pa(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Ba&&t===void 0?za:t,this}var Ma=Pa,Ha=ka,Va=xa,Da=Aa,Fa=ja,qa=Ma;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=Ha,Oe.prototype.delete=Va,Oe.prototype.get=Da,Oe.prototype.has=Fa,Oe.prototype.set=qa;var Wa=Oe,ao=Wa,Ga=Je,Ua=no;function Xa(){this.size=0,this.__data__={hash:new ao,map:new(Ua||Ga),string:new ao}}var Za=Xa;function Ka(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ja=Ka,Ya=Ja;function Qa(e,t){var o=e.__data__;return Ya(t)?o[typeof t=="string"?"string":"hash"]:o.map}var et=Qa,ei=et;function ti(e){var t=ei(this,e).delete(e);return this.size-=t?1:0,t}var oi=ti,ni=et;function ri(e){return ni(this,e).get(e)}var ai=ri,ii=et;function si(e){return ii(this,e).has(e)}var li=si,ci=et;function di(e,t){var o=ci(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var _i=di,ui=Za,pi=oi,fi=ai,gi=li,hi=_i;function Ce(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])}}Ce.prototype.clear=ui,Ce.prototype.delete=pi,Ce.prototype.get=fi,Ce.prototype.has=gi,Ce.prototype.set=hi;var vi=Ce,bi=Je,mi=no,yi=vi,$i=200;function ki(e,t){var o=this.__data__;if(o instanceof bi){var n=o.__data__;if(!mi||n.length<$i-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new yi(n)}return o.set(e,t),this.size=o.size,this}var wi=ki,xi=Je,Ni=cr,Ti=_r,Oi=pr,Ci=gr,Si=wi;function Se(e){var t=this.__data__=new xi(e);this.size=t.size}Se.prototype.clear=Ni,Se.prototype.delete=Ti,Se.prototype.get=Oi,Se.prototype.has=Ci,Se.prototype.set=Si;var Ai=Se,Li=bt,Ii=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=Ii,so=io;function Ri(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var mt=Ri,Ei=mt,ji=Ze;function Bi(e,t,o){(o!==void 0&&!ji(e[t],o)||o===void 0&&!(t in e))&&Ei(e,t,o)}var lo=Bi;function zi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++r];if(o(i[l],l,i)===!1)break}return t}}var Pi=zi,Mi=Pi,Hi=Mi(),Vi=Hi,tt={},Di={get exports(){return tt},set exports(e){tt=e}};(function(e,t){var o=Te,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i?o.Buffer:void 0,c=a?a.allocUnsafe:void 0;function l(d,_){if(_)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(Di,tt);var Fi=Te,qi=Fi.Uint8Array,Wi=qi,co=Wi;function Gi(e){var t=new e.constructor(e.byteLength);return new co(t).set(new co(e)),t}var Ui=Gi,Xi=Ui;function Zi(e,t){var o=t?Xi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ki=Zi;function Ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Yi=Ji,Qi=he,_o=Object.create,es=function(){function e(){}return function(t){if(!Qi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ts=es;function os(e,t){return function(o){return e(t(o))}}var ns=os,rs=ns,as=rs(Object.getPrototypeOf,Object),uo=as,is=Object.prototype;function ss(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||is;return e===o}var po=ss,ls=ts,cs=uo,ds=po;function _s(e){return typeof e.constructor=="function"&&!ds(e)?ls(cs(e)):{}}var us=_s;function ps(e){return e!=null&&typeof e=="object"}var je=ps,fs=Ye,gs=je,hs="[object Arguments]";function vs(e){return gs(e)&&fs(e)==hs}var bs=vs,fo=bs,ms=je,go=Object.prototype,ys=go.hasOwnProperty,$s=go.propertyIsEnumerable,ks=fo(function(){return arguments}())?fo:function(e){return ms(e)&&ys.call(e,"callee")&&!$s.call(e,"callee")},ho=ks,ws=Array.isArray,vo=ws,xs=9007199254740991;function Ns(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xs}var bo=Ns,Ts=ht,Os=bo;function Cs(e){return e!=null&&Os(e.length)&&!Ts(e)}var yt=Cs,Ss=yt,As=je;function Ls(e){return As(e)&&Ss(e)}var Is=Ls,Be={},Rs={get exports(){return Be},set exports(e){Be=e}};function Es(){return!1}var js=Es;(function(e,t){var o=Te,n=js,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,c=a?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(Rs,Be);var Bs=Ye,zs=uo,Ps=je,Ms="[object Object]",Hs=Function.prototype,Vs=Object.prototype,mo=Hs.toString,Ds=Vs.hasOwnProperty,Fs=mo.call(Object);function qs(e){if(!Ps(e)||Bs(e)!=Ms)return!1;var t=zs(e);if(t===null)return!0;var o=Ds.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&mo.call(o)==Fs}var Ws=qs,Gs=Ye,Us=bo,Xs=je,Zs="[object Arguments]",Ks="[object Array]",Js="[object Boolean]",Ys="[object Date]",Qs="[object Error]",el="[object Function]",tl="[object Map]",ol="[object Number]",nl="[object Object]",rl="[object RegExp]",al="[object Set]",il="[object String]",sl="[object WeakMap]",ll="[object ArrayBuffer]",cl="[object DataView]",dl="[object Float32Array]",_l="[object Float64Array]",ul="[object Int8Array]",pl="[object Int16Array]",fl="[object Int32Array]",gl="[object Uint8Array]",hl="[object Uint8ClampedArray]",vl="[object Uint16Array]",bl="[object Uint32Array]",N={};N[dl]=N[_l]=N[ul]=N[pl]=N[fl]=N[gl]=N[hl]=N[vl]=N[bl]=!0,N[Zs]=N[Ks]=N[ll]=N[Js]=N[cl]=N[Ys]=N[Qs]=N[el]=N[tl]=N[ol]=N[nl]=N[rl]=N[al]=N[il]=N[sl]=!1;function ml(e){return Xs(e)&&Us(e.length)&&!!N[Gs(e)]}var yl=ml;function $l(e){return function(t){return e(t)}}var kl=$l,ot={},wl={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=c})(wl,ot);var xl=yl,Nl=kl,yo=ot,$o=yo&&yo.isTypedArray,Tl=$o?Nl($o):xl,ko=Tl;function Ol(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Ol,Cl=mt,Sl=Ze,Al=Object.prototype,Ll=Al.hasOwnProperty;function Il(e,t,o){var n=e[t];(!(Ll.call(e,t)&&Sl(n,o))||o===void 0&&!(t in e))&&Cl(e,t,o)}var Rl=Il,El=Rl,jl=mt;function Bl(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?jl(o,c,l):El(o,c,l)}return o}var zl=Bl;function Pl(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Ml=Pl,Hl=9007199254740991,Vl=/^(?:0|[1-9]\d*)$/;function Dl(e,t){var o=typeof e;return t=t==null?Hl:t,!!t&&(o=="number"||o!="symbol"&&Vl.test(e))&&e>-1&&e%1==0&&e<t}var xo=Dl,Fl=Ml,ql=ho,Wl=vo,Gl=Be,Ul=xo,Xl=ko,Zl=Object.prototype,Kl=Zl.hasOwnProperty;function Jl(e,t){var o=Wl(e),n=!o&&ql(e),r=!o&&!n&&Gl(e),i=!o&&!n&&!r&&Xl(e),a=o||n||r||i,c=a?Fl(e.length,String):[],l=c.length;for(var d in e)(t||Kl.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Ul(d,l)))&&c.push(d);return c}var Yl=Jl;function Ql(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var ec=Ql,tc=he,oc=po,nc=ec,rc=Object.prototype,ac=rc.hasOwnProperty;function ic(e){if(!tc(e))return nc(e);var t=oc(e),o=[];for(var n in e)n=="constructor"&&(t||!ac.call(e,n))||o.push(n);return o}var sc=ic,lc=Yl,cc=sc,dc=yt;function _c(e){return dc(e)?lc(e,!0):cc(e)}var No=_c,uc=zl,pc=No;function fc(e){return uc(e,pc(e))}var gc=fc,To=lo,hc=tt,vc=Ki,bc=Yi,mc=us,Oo=ho,Co=vo,yc=Is,$c=Be,kc=ht,wc=he,xc=Ws,Nc=ko,So=wo,Tc=gc;function Oc(e,t,o,n,r,i,a){var c=So(e,o),l=So(t,o),d=a.get(l);if(d){To(e,o,d);return}var _=i?i(c,l,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Co(l),v=!p&&$c(l),m=!p&&!v&&Nc(l);_=l,p||v||m?Co(c)?_=c:yc(c)?_=bc(c):v?(f=!1,_=hc(l,!0)):m?(f=!1,_=vc(l,!0)):_=[]:xc(l)||Oo(l)?(_=c,Oo(c)?_=Tc(c):(!wc(c)||kc(c))&&(_=mc(l))):f=!1}f&&(a.set(l,_),r(_,l,n,i,a),a.delete(l)),To(e,o,_)}var Cc=Oc,Sc=Ai,Ac=lo,Lc=Vi,Ic=Cc,Rc=he,Ec=No,jc=wo;function Ao(e,t,o,n,r){e!==t&&Lc(t,function(i,a){if(r||(r=new Sc),Rc(i))Ic(e,t,a,o,Ao,n,r);else{var c=n?n(jc(e,a),i,a+"",e,t,r):void 0;c===void 0&&(c=i),Ac(e,a,c)}},Ec)}var Bc=Ao;function zc(e){return e}var Lo=zc;function Pc(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 Mc=Pc,Hc=Mc,Io=Math.max;function Vc(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=Io(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(a),Hc(e,this,c)}}var Dc=Vc;function Fc(e){return function(){return e}}var qc=Fc,Wc=qc,Ro=io,Gc=Lo,Uc=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Wc(t),writable:!0})}:Gc,Xc=Uc,Zc=800,Kc=16,Jc=Date.now;function Yc(e){var t=0,o=0;return function(){var n=Jc(),r=Kc-(n-o);if(o=n,r>0){if(++t>=Zc)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Qc=Yc,ed=Xc,td=Qc,od=td(ed),nd=od,rd=Lo,ad=Dc,id=nd;function sd(e,t){return id(ad(e,t,rd),e+"")}var ld=sd,cd=Ze,dd=yt,_d=xo,ud=he;function pd(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?dd(o)&&_d(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var fd=pd,gd=ld,hd=fd;function vd(e){return gd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&hd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,i)}return t})}var bd=vd,md=Bc,yd=bd;yd(function(e,t,o){md(e,t,o)});const ve=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ve(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(H).join(".");return n[r]=ve(t(r,i,a),t,a),n},{}):e,$d=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},nt=()=>{let e={};return{on:(a,c)=>{a in e?e[a].push(c):e[a]=[c]},has:a=>a in e,get:a=>e[a],emit:(a,...c)=>a in e?e[a].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},kd=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),wd=()=>({factor:null,type:null,outcome:null,value:null}),xd=()=>({w1:null,x:null,w2:null}),Nd=()=>({w1:null,w2:null}),Td=()=>({one_x_two:xd(),one_two:Nd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||kd(),prediction:(e==null?void 0:e.prediction)||wd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=b(e||{},`markets.${a}`,Td()[a||"one_two"]),i),{});ze(o,"markets",r)}return o},Od=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Cd=e=>!e&&e==null,H=e=>!Cd(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Sd=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Ad=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function se(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const b=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},ze=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Ld=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},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>ve(e,(n,r,i)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,b(t,i)],i)?b(t,i,r):r:b(t,i,r):r),Ed=(e,t)=>{try{ve(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return ve(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},C={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function s(e,t,o,n,r,i){var a,c,l={};for(c in t)c=="ref"?a=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)l[c]===void 0&&(l[c]=a[c]);return u.options.vnode&&u.options.vnode(d),d}const Ho=u.createContext(),_e=({children:e,value:t})=>s(Ho.Provider,{value:t,children:e}),ue=e=>a=>Fe(this,null,function*(){var c=a,{target:t,id:o,ref:n,state:r}=c,i=Ot(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>J_);window.ResizeObserver=l.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>kn(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&ve(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),se(r,"parent")):r}return n}),pe=(e,t)=>Md(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[m,$])=>v-$),_=((f=d.find(([p,v],m)=>{const[$,y]=d[m+1]||[];return l>=v&&l<y}))==null?void 0:f[0])||"desktop";i(_)};return Et(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>a(c)).observe(c),a(c))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},Fd="-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'",qd=["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"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{qd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Sd(a)&&(o[i]=Do(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),i==="innerText"&&(o.innerText=H(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=rt(a,"px")),i==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const c=Ld(o.backgroundColor);c&&(o.backgroundColor=Rd(`rgb(${c.r}, ${c.g}, ${c.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=Fd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,A=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=Ot(i,["children","typography","accentTypography"]);var l;const a=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Ad(_)}: ${f}; `)}),d},[o]),c=(l=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:l.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:c}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Ae=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",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"})}),$t=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=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`}),Fo=(e,t)=>{var _,f,p,v,m,$,y,j,B,S,z,P,W;const o=Ud(t),n=A(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,i={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(m=n==null?void 0:n.container)==null?void 0:m.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(j=n==null?void 0:n.container)==null?void 0:j.left},c=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(x=>o[x]).join(", "),l=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(W=n==null?void 0:n.icon)==null?void 0:W.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},fe=e=>{const t=new Set([]);ve(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Re(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);U(()=>{o.forEach($d)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],qo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=X(null),a=l=>{clearTimeout(i.current),i.current=null},c=()=>{a(i.current),r(l=>!l)};return U(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),U(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Wo=({ref:e,openDelay:t})=>{const o=X(nt()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),i=l=>o.current.on("autoOpen",l),{isOpen:a,toggle:c}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Ge(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),U(()=>o.current.reset,[]),{isOpen:a,toggle:c,click:(...l)=>o.current.emit("click",...l)}},Kd=de(({id:e},t)=>{var j,B,S,z,P,W,x,D,M;const o=X(null),[n,r]=at(),i=V(),a=be({targetRef:o,id:e}),c=pe(i,a),l=A(c),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=Fo(c,{fade:C.fadein,pulse:C.pulse,wiggle:C.wiggle,gradient:C.gradient}),{isOpen:v,toggle:m,click:$}=Wo({ref:t,openDelay:(j=c==null?void 0:c.container)==null?void 0:j.delay});fe(c);const y=n?te(l.container,...Xd):{};return s("div",{className:O(C.root,{[C.legalOpen]:n}),ref:o,children:[s("div",{className:C.icon,style:_,onClick:m,children:d&&s("div",{className:C.iconTarget,children:s($t,{})})}),s("div",{className:O(C.body,{[C.bodyOpen]:v}),style:f,children:[s("div",{className:C.arrow,style:p}),s("div",{className:C.close,style:l==null?void 0:l.close,onClick:m,children:s(Ae,{})}),s("div",{className:C.container,style:l==null?void 0:l.container,children:[s("a",{href:(B=l==null?void 0:l.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(l.id),children:[s("div",{className:C.inner,children:[s("div",{className:C.logo,style:l==null?void 0:l.logo}),s(J,{className:C.text,style:l==null?void 0:l.text,typography:(S=l.text)==null?void 0:S.typography,accentTypography:(z=l.text)==null?void 0:z.accentTypography,children:(P=l==null?void 0:l.text)==null?void 0:P.children})]}),s("div",{className:O(C.button,{[C.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(W=l==null?void 0:l.button)==null?void 0:W.children})]}),s("div",{className:C.legalGap}),s("div",{className:C.legal,style:g(g({},l==null?void 0:l.legal),y),children:s("span",{className:C.legalText,children:s("span",{children:[s("span",{children:(x=l==null?void 0:l.legal)==null?void 0:x.children}),s("span",{className:C.legalButton,onClick:r,children:n?(D=l==null?void 0:l.legal)==null?void 0:D.buttonOpenText:(M=l==null?void 0:l.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),L={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,i,a,c,l,d;const t=V(),o=A(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:O(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:oe.body,children:[s("div",{className:oe.line,style:o.line}),s("div",{className:oe.bodyInner,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.text,style:o.text,children:s(J,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(c=o.text)==null?void 0:c.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(l=o.button)==null?void 0:l.children})]})]}),s("div",{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Qd=de(({id:e},t)=>{var j,B,S,z;const o=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i),{isOpen:c,click:l,toggle:d}=Wo({ref:t,openDelay:(j=i==null?void 0:i.container)==null?void 0:j.delay});fe(i);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:v}=Fo(i,{fade:L.fadein,pulse:L.pulse,wiggle:L.wiggle,gradient:L.gradient}),m=(B=a==null?void 0:a.title)==null?void 0:B.hasIcon,$=te(a==null?void 0:a.title,...it),y=se(a==null?void 0:a.title,...it);return s("div",{ref:o,className:O(L.root,{[L.desktop]:r==="desktop",[L.laptop]:r==="laptop",[L.tablet]:r==="tablet"}),children:[s("div",{className:L.icon,style:f,onClick:d,children:_&&s("div",{className:L.iconTarget,children:s($t,{})})}),s("div",{className:O(L.body,{[L.bodyOpen]:c}),style:p,children:[s("div",{className:L.arrow,style:v}),s("div",{className:L.container,style:a.container,children:[s("div",{className:L.close,style:a.close,onClick:d,children:s(Ae,{})}),s("div",{className:L.head,style:$,children:[m&&s("div",{className:L.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:L.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:L.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:l})}))}),s("div",{className:L.promotion,style:a.promotion,children:(z=a.promotion)==null?void 0:z.children})]})]})]})}),e_=ue(s(Qd,{})),Z={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},me=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],t_={root:"_root_mj8hr_1"},o_=()=>{var o,n,r;const e=V(),t=A(e);return s("div",{className:t_.root,style:t.root,children:s(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=X(nt()),[r,i]=ie(!1),[a,c]=ie(),[l,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>Fe(this,null,function*(){yield Od(+t),i(!0)}),m=()=>i(!1),$=()=>{n.current.emit("clickHide"),m()};return U(()=>{l&&n.current.emit("visible",r)},[r,l]),Ge(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:m,setApiHost:c,resetListeners:n.current.reset})),U(()=>n.current.reset,[]),{isReady:l,isOpen:r,apiHost:a,show:v,hide:m,clickHide:$,setIsReady:d,click:(...y)=>{m(),n.current.emit("click",...y)}}};function n_(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const r_=de(({id:e,className:t},o)=>{var z,P,W,x,D,M;const n=X(null),r=X(null),i=be({targetRef:n,id:e}),a=V(),c=pe(a,i);fe(c),ze(c,"button.percent_width",(z=c==null?void 0:c.button)==null?void 0:z.width),ze(c,"legal.percent_width",(P=c==null?void 0:c.legal)==null?void 0:P.width);const l=A(c),d=b(l,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:m}=kt(o,d);U(()=>{const K=r.current;if(!K)return;if(n_(K)){p(!0);return}const ke=()=>p(!0);return K.addEventListener("load",ke),()=>{K.removeEventListener("load",ke)}},[l]);const $={alignItems:me((W=l.root)==null?void 0:W.align)},y=w(g({},l==null?void 0:l.button),{justifyContent:me((x=l.root)==null?void 0:x.textAlign)}),j=w(g({},l==null?void 0:l.legal),{justifyContent:me((D=l.root)==null?void 0:D.textAlign)}),B=se(l.root,...qo,...Y),S=te(l.root,...qo);return s("div",{className:O(Z.root,t,{[Z.desktop]:i==="desktop",[Z.tablet]:i==="tablet",[Z.laptop]:i==="laptop"}),ref:n,style:{display:_&&f?"flex":"none"},children:[s("div",{className:Z.overlay,style:l.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Me(l.close),onClick:v,children:s(Ae,{})}),s("a",{href:(M=l.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>m(l.id),children:[s("img",{ref:r,className:Z.background,src:S.imageSource,alt:"",style:S}),s("div",{className:Z.body,style:$,children:[s("div",{className:Z.logo,style:l.logo}),s("div",{className:Z.text,children:((l==null?void 0:l.children)||[]).map(K=>s(_e,{value:K,children:s(o_,{})}))}),s("div",{className:Z.button,style:y,children:y==null?void 0:y.children}),s("div",{className:Z.legal,style:j,children:j==null?void 0:j.children})]})]})]})]})}),a_=ue(s(r_,{})),ge={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},i_=({onClick:e})=>{var i,a,c,l,d,_;const t=V(),o=A(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:O(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:se(o.root,...it),onClick:()=>e(o.id),children:[s("div",{className:Q.header,style:o.header,children:s("div",{className:Q.logo,style:o.logo})}),s("div",{className:Q.container,style:te(o.root,...it),children:[s("div",{className:Q.body,children:[s("div",{className:Q.logoWrapper,style:r,children:s("div",{className:Q.logo,style:o.logo})}),s(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(c=o.text)==null?void 0:c.accentTypography,children:(l=o.text)==null?void 0:l.children})]}),s("div",{children:[s(J,{className:Q.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(J,{className:Q.legal,style:o.legal,children:(_=o.legal)==null?void 0:_.children})]})]})]})},s_=de(({id:e},t)=>{var f;const o=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n),a=A(i);fe(i);const c=b(a,"root.delay",0),{isOpen:l,clickHide:d,click:_}=kt(t,c,!0);return s("div",{className:ge.root,style:{display:l?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:O(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Me(a.close),onClick:d,children:s(Ae,{})}),s(J,{className:ge.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ge.wrapper,children:(a.children||[]).map(p=>s(_e,{value:w(g({},p),{device:n}),children:s(i_,{onClick:_})}))})]})]})}),l_=ue(s(s_,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={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"},c_=()=>{const e=V(),t=A(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:b(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:O(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[s("div",{className:I.left,children:[s("div",{className:I.teams,children:[s("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:I.logo,src:r.backgroundImage,style:r})]}),s("div",{className:I.body,children:[s("div",{className:I.league,style:t.league,children:b(t,"match.league.name")}),s("div",{className:I.name,style:t.teams,children:[b(t,"match.teams[0].name")," — ",b(t,"match.teams[1].name")]})]})]}),s("div",{className:I.right,children:[s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:b(t,"match.teams[0].name")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddLabel,style:t.oddLabel,children:b(t,"match.prediction.value")}),s("div",{className:I.oddValue,style:t.oddValue,children:b(t,"match.prediction.factor")})]}),s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:b(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),c=Re(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),l=$n(()=>Fe(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(_=>_.json());a(d.data)}),[c,t,n,r]);return U(()=>{t||l()},[c,t]),{data:i,execute:l}};function Uo(e){const t=X();return U(()=>{t.current=e},[e]),t.current}const d_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=Uo(r),{data:a,execute:c}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return U(()=>{zo(i,r)||c()},[r]),n.map(d=>{const _=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=jo(_),p=Po(f,d.root.customMatch,(v,[m,$])=>H($));return w(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,W,x,D,M,K,ke,De,gn,hn;const o=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n);ze(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),ze(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=A(i);fe(i);const c=b(a,"root.delay",0),{isOpen:l,apiHost:d,clickHide:_,click:f}=kt(t,c,!0),p=d_(i,d),v=w(g({},a.root),{alignItems:me((z=a.root)==null?void 0:z.align)}),m=w(g({},a.content),{alignItems:me((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(W=a.root)==null?void 0:W.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:me((x=a.root)==null?void 0:x.textAlign)}),j=w(g({},a==null?void 0:a.legal),{justifyContent:me((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:O(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Me(a.close),onClick:_,children:s(Ae,{})}),s("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:F.body,style:v,children:[s("div",{className:F.head,children:[s("div",{className:F.title,style:a.title,children:(K=a.title)==null?void 0:K.children}),s("div",{className:F.logo,style:a.logo})]}),s("div",{className:F.wrapper,style:m,children:(p||[]).map(Y_=>s(_e,{value:w(g({},Y_),{device:n}),children:s(c_,{})}))}),s(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(ke=a.text)==null?void 0:ke.children}),s("div",{className:F.button,style:a.buttonWrapper,children:[s("div",{className:F.buttonHead,style:a.buttonHead,children:(De=a.buttonHead)==null?void 0:De.children}),s("div",{className:F.buttonTarget,style:y,children:(gn=a.button)==null?void 0:gn.children})]}),s(J,{className:F.legal,style:j,children:(hn=a.legal)==null?void 0:hn.children})]})})]})]})}),u_=ue(s(__,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},p_=({onClick:e})=>{var i,a,c,l,d,_,f,p;const t=V(),o=A(t),[n,r]=at();return s("div",{className:ne.root,style:se(o.root,...Y),children:[s("div",{className:ne.background,style:te(o.root,...Y)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:O(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(_=o.legalInfo)==null?void 0:_.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},Xo=e=>{const t=X(nt()),o=n=>t.current.on("click",n);return Ge(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},f_=de((e,t)=>{const o=X(null),n=V(),i=pe(n,"mobile"),a=A(i);fe(i);const{click:c}=Xo(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(l=>s(_e,{value:l,children:s(p_,{onClick:c})}))})}),g_=ue(s(f_,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Zo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},h_=()=>{var o,n,r;const e=V(),t=A(e);return s("div",{className:O(Zo.root,{[Zo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:se(t.root,...Y),children:s(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},st=(e,t,o=1,n=!1)=>{var c;const[r,i]=[t[0],t[1]||t[0]].map(l=>l*o),a=`w${r}-h${i}${n?"-c":""}`;return(c=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?c:e},v_=()=>{var i,a;const e=V(),t=A(e),o=se(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:O(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:E.title,children:[s("div",{className:E.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:E.odds,children:[s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:E.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w1")})]}),s("div",{className:E.odd,children:[s("div",{className:E.oddX,style:t.coef,children:"X"}),s("div",{className:E.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.x")})]}),s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:E.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:E.teams,children:[s("div",{className:E.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:E.teamName,style:t.teamName,children:b(t,"match.teams[1].name")})]})]})},q={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},b_=()=>{var r,i;const e=V(),t=A(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[1].logo"),[120,120])});return s("div",{className:O(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",[q.national]:b(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:q.title,children:[s("div",{className:q.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:q.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},m_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return U(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},y_={matches:"one_x_two",matchesOneTwo:"one_two"},Ko=e=>[y_[e]],$_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>w(g({},d.root.targetMatch),{markets:Ko(d.name)})),i=Uo(r),{data:a,execute:c}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return U(()=>{zo(i,r)||c()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(m=>m.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Ko(d.name),p=jo(_,{markets:f}),v=Po(p,d.root.customMatch,(m,[$,y])=>H(y));return w(g({},d),{match:v})}return d}).filter(Boolean)},k_=e=>{const t=X(nt()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),c=p=>t.current.on("click",p),l=p=>t.current.on("clickHide",p),d=()=>Fe(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return U(()=>{t.current.emit("visible",o)},[o]),Ge(e,()=>({onVisible:a,onClick:c,onClickHide:l,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},w_=3700,x_=de(({id:e},t)=>{var B,S,z,P,W;const o=X(null),n=V(),r=be({id:e,targetRef:o}),i=pe(n,r),a=A(i);fe(i);const{apiHost:c,isOpen:l,click:d,clickHide:_}=k_(t),f=$_(a,c),p=x=>({text:s(h_,{}),matches:s(v_,{}),matchesOneTwo:s(b_,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||w_})}),m=m_(v),$=A(v[m]||{}),y=se(a.root,...Y),j=(B=$==null?void 0:$.root)!=null&&B.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return s("div",{ref:o,className:O(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:l?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:_,children:s(Ae,{})}),s("a",{href:(z=a.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:R.background,style:j}),s("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:a.logo})}),s("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,K;return s("div",{className:R.slide,style:{animationName:m===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(K=x.root)==null?void 0:K.animationDuration}ms`},children:s(_e,{value:w(g({},x),{device:r}),children:p(x.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:O(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(W=a.button)==null?void 0:W.children]})})]})]})]})]})}),N_=ue(s(x_,{})),Pe={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_10l51_1",content:"_content_10l51_8",textContent:"_textContent_10l51_15",backgroundLine:"_backgroundLine_10l51_21",button:"_button_10l51_27",link:"_link_10l51_33",legal:"_legal_10l51_39",legalText:"_legalText_10l51_48",open:"_open_10l51_57",legalMore:"_legalMore_10l51_62"},T_=(e,t,o,n,r=Mo)=>{const i=g({},e);return r.forEach(a=>{i[t]=w(g({},i[t]),{[a]:w(g({},i[t][a]),{[o]:typeof n=="function"?n(b(i,`${t}.${a}.${o}`)):n})})}),i},Me=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return se(o,"backgroundColor")},O_=()=>s("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),s("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),s("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),s("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),s("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),s("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),C_=({onClick:e})=>{var i,a,c,l,d,_,f,p,v;const t=V(),o=A(t),[n,r]=at();return s("div",{className:re.root,style:o.root,children:[s("div",{className:re.content,children:[s("div",{className:re.textContent,children:[s(J,{className:re.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(c=o.text)==null?void 0:c.children}),s("div",{style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:w(g({},Me(o.line)),{left:`calc(50% - ${(d=o.line)==null?void 0:d.left})`}),children:s(O_,{})}),s("a",{className:re.link,target:"_blank",href:(_=o.root)==null?void 0:_.offer,onClick:e,rel:"noreferrer"})]}),s("div",{className:O(re.legal,{[re.open]:n}),style:o.legalInfo,children:s("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,s("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(p=o.legalInfoButton)==null?void 0:p.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_160ab_1",content:"_content_160ab_8",backgroundLine:"_backgroundLine_160ab_15",link:"_link_160ab_21",button:"_button_160ab_27",logo:"_logo_160ab_32",legal:"_legal_160ab_38",open:"_open_160ab_50",legalText:"_legalText_160ab_54",legalMore:"_legalMore_160ab_64"},S_=({onClick:e})=>{var i,a,c,l,d,_,f,p;const t=V(),o=A(t),[n,r]=at();return s("div",{className:ae.root,style:o.root,children:[s("div",{className:ae.content,children:[s(J,{className:ae.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(c=o.text)==null?void 0:c.children}),s("div",{className:ae.button,style:o.button,children:[s("div",{className:ae.logo,style:o.logo}),o.button.children]}),s("a",{className:ae.link,href:(l=o.root)==null?void 0:l.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:e,rel:"noreferrer"}),s("div",{className:O(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[s("div",{className:ae.legalText,children:(_=o.legalInfo)==null?void 0:_.children}),s("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})]})},A_=de(({id:e},t)=>{const o=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i);fe(i);const{click:c}=Xo(t),l=d=>({cardVariant1:s(C_,{onClick:c}),cardVariant2:s(S_,{onClick:c})})[d];return s("div",{ref:o,className:O(Pe.root,{[Pe.desktop]:r==="desktop",[Pe.laptop]:r==="laptop",[Pe.tablet]:r==="tablet"}),children:s("div",{className:Pe.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:l(d.name)}))})})}),L_=ue(s(A_,{}));var ye=[],I_=function(){return ye.some(function(e){return e.activeTargets.length>0})},R_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Jo="ResizeObserver loop completed with undelivered notifications.",E_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Jo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Jo),window.dispatchEvent(e)},He;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(He||(He={}));var $e=function(e){return Object.freeze(e)},Yo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Qo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$e(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,i=t.right,a=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},en=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},tn=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)},j_=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},Ve=typeof window!="undefined"?window:{},lt=new WeakMap,on=/auto|scroll/,B_=/^tb|vertical/,z_=/msie|trident/i.test(Ve.navigator&&Ve.navigator.userAgent),le=function(e){return parseFloat(e||"0")},Le=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Yo((o?t:e)||0,(o?e:t)||0)},nn=$e({devicePixelContentBoxSize:Le(),borderBoxSize:Le(),contentBoxSize:Le(),contentRect:new Qo(0,0,0,0)}),rn=function(e,t){if(t===void 0&&(t=!1),lt.has(e)&&!t)return lt.get(e);if(en(e))return lt.set(e,nn),nn;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!z_&&o.boxSizing==="border-box",i=B_.test(o.writingMode||""),a=!n&&on.test(o.overflowY||""),c=!n&&on.test(o.overflowX||""),l=n?0:le(o.paddingTop),d=n?0:le(o.paddingRight),_=n?0:le(o.paddingBottom),f=n?0:le(o.paddingLeft),p=n?0:le(o.borderTopWidth),v=n?0:le(o.borderRightWidth),m=n?0:le(o.borderBottomWidth),$=n?0:le(o.borderLeftWidth),y=f+d,j=l+_,B=$+v,S=p+m,z=c?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,W=r?y+B:0,x=r?j+S:0,D=n?n.width:le(o.width)-W-P,M=n?n.height:le(o.height)-x-z,K=D+y+P+B,ke=M+j+z+S,De=$e({devicePixelContentBoxSize:Le(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Le(K,ke,i),contentBoxSize:Le(D,M,i),contentRect:new Qo(f,l,D,M)});return lt.set(e,De),De},an=function(e,t,o){var n=rn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case He.DEVICE_PIXEL_CONTENT_BOX:return a;case He.BORDER_BOX:return r;default:return i}},sn=function(){function e(t){var o=rn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=$e([o.borderBoxSize]),this.contentBoxSize=$e([o.contentBoxSize]),this.devicePixelContentBoxSize=$e([o.devicePixelContentBoxSize])}return e}(),ln=function(e){if(en(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},P_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var c=[];a.activeTargets.forEach(function(d){var _=new sn(d.target),f=ln(d.target);c.push(_),d.lastReportedSize=an(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,c,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){ye.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(ln(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},M_=function(){var e=0;for(cn(e);I_();)e=P_(),cn(e);return R_()&&E_(),e>0},xt,dn=[],H_=function(){return dn.splice(0).forEach(function(e){return e()})},V_=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return H_()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}dn.push(e),xt()},D_=function(e){V_(function(){requestAnimationFrame(e)})},ct=0,F_=function(){return!!ct},q_=250,W_={attributes:!0,characterData:!0,childList:!0,subtree:!0},_n=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],un=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,G_=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=q_),!Nt){Nt=!0;var n=un(t);D_(function(){var r=!1;try{r=M_()}finally{if(Nt=!1,t=n-un(),!F_())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():Ve.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_n.forEach(function(o){return Ve.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_n.forEach(function(o){return Ve.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new G_,pn=function(e){!ct&&e>0&&Tt.start(),ct+=e,!ct&&Tt.stop()},U_=function(e){return!wt(e)&&!j_(e)&&getComputedStyle(e).display==="inline"},X_=function(){function e(t,o){this.target=t,this.observedBox=o||He.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=an(this.target,this.observedBox,!0);return U_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,fn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},_t=function(){function e(){}return e.connect=function(t,o){var n=new Z_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;fn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new X_(o,n&&n.box)),pn(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=fn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),pn(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),K_=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.");_t.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(!tn(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.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(!tn(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.unobserve(this,t)},e.prototype.disconnect=function(){_t.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const J_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:K_,ResizeObserverEntry:sn,ResizeObserverSize:Yo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=g_,h.ComplexGift=e_,h.ComplexPopup=l_,h.ContentCards=L_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=N_,h.backgroundToColor=Me,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=T_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var l=o.apply(null,i);l&&n.push(l)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(qe);const O=G;var le,k,ee,xe,we=0,Ct=[],We=[],St=u.options.__b,At=u.options.__r,Lt=u.options.diffed,jt=u.options.__c,It=u.options.unmount;function je(e,t){u.options.__h&&u.options.__h(k,e,we||t),we=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:We}),o.__[e]}function ie(e){return we=1,yn(Bt,e)}function yn(e,t,o){var n=je(le++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!i||i.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!i||i.call(this,l,c,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,c,d){if(this.__e){var _=i;i=void 0,r(l,c,d),i=_}a&&a.call(this,l,c,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function U(e,t){var o=je(le++,3);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Rt(e,t){var o=je(le++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function X(e){return we=5,Ie(function(){return{current:e}},[])}function Ge(e,t,o){we=6,Rt(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 Ie(e,t){var o=je(le++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function $n(e,t){return we=8,Ie(function(){return e},t)}function kn(e){var t=k.context[e.__c],o=je(le++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function xn(){for(var e;e=Ct.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ue),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){k=null,St&&St(e)},u.options.__r=function(e){At&&At(e),le=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=We,o.__N=o.i=void 0})):(t.__h.forEach(Ue),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){Lt&&Lt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ct.push(t)!==1&&xe===u.options.requestAnimationFrame||((xe=u.options.requestAnimationFrame)||wn)(xn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==We&&(o.__=o.__V),o.i=void 0,o.__V=We})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ue),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),jt&&jt(e,t)},u.options.unmount=function(e){It&&It(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Ue(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var Et=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),Et&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Et&&(t=requestAnimationFrame(o))}function Ue(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(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 Mt(e){this.props=e}(Mt.prototype=new u.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var Nn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=Nn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Tn=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Tn(e,t,o,n)};var Vt=u.options.unmount;function Dt(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=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function Ft(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ft(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 gt(){this.__u=0,this.t=null,this.__b=null}function qt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xe(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=qt(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Ft(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.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]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Wt=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]}};(Xe.prototype=new u.Component).__a=function(e){var t=this,o=qt(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(i):i()}},Xe.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.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},Xe.prototype.componentDidUpdate=Xe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var On=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cn=/^(?: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]/,Sn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,An=/[A-Z0-9]/g,Ln=typeof document!="undefined",jn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.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 Gt=u.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var Bn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Ln&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||jn(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Sn.test(i)?i=l:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(An,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&r[i=l]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",Bn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=On,Ut&&Ut(e)};var Xt=u.options.__r;u.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=u.options.diffed;u.options.diffed=function(e){Zt&&Zt(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 zn(){this.__data__=[],this.size=0}var Pn=zn;function Mn(e,t){return e===t||e!==e&&t!==t}var Ze=Mn,Hn=Ze;function Vn(e,t){for(var o=e.length;o--;)if(Hn(e[o][0],t))return o;return-1}var Ke=Vn,Dn=Ke,Fn=Array.prototype,qn=Fn.splice;function Wn(e){var t=this.__data__,o=Dn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Gn=Wn,Un=Ke;function Xn(e){var t=this.__data__,o=Un(t,e);return o<0?void 0:t[o][1]}var Zn=Xn,Kn=Ke;function Jn(e){return Kn(this.__data__,e)>-1}var Yn=Jn,Qn=Ke;function er(e,t){var o=this.__data__,n=Qn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var tr=er,or=Pn,nr=Gn,rr=Zn,ar=Yn,ir=tr;function Ne(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])}}Ne.prototype.clear=or,Ne.prototype.delete=nr,Ne.prototype.get=rr,Ne.prototype.has=ar,Ne.prototype.set=ir;var Je=Ne,sr=Je;function cr(){this.__data__=new sr,this.size=0}var lr=cr;function dr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var _r=dr;function ur(e){return this.__data__.get(e)}var pr=ur;function fr(e){return this.__data__.has(e)}var gr=fr,hr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=hr,vr=Kt,br=typeof self=="object"&&self&&self.Object===Object&&self,mr=vr||br||Function("return this")(),Te=mr,yr=Te,$r=yr.Symbol,Jt=$r,Yt=Jt,Qt=Object.prototype,kr=Qt.hasOwnProperty,xr=Qt.toString,Re=Yt?Yt.toStringTag:void 0;function wr(e){var t=kr.call(e,Re),o=e[Re];try{e[Re]=void 0;var n=!0}catch(i){}var r=xr.call(e);return n&&(t?e[Re]=o:delete e[Re]),r}var Nr=wr,Tr=Object.prototype,Or=Tr.toString;function Cr(e){return Or.call(e)}var Sr=Cr,eo=Jt,Ar=Nr,Lr=Sr,jr="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:jr:to&&to in Object(e)?Ar(e):Lr(e)}var Ye=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=Er,Br=Ye,zr=he,Pr="[object AsyncFunction]",Mr="[object Function]",Hr="[object GeneratorFunction]",Vr="[object Proxy]";function Dr(e){if(!zr(e))return!1;var t=Br(e);return t==Mr||t==Hr||t==Pr||t==Vr}var ht=Dr,Fr=Te,qr=Fr["__core-js_shared__"],Wr=qr,vt=Wr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gr(e){return!!oo&&oo in e}var Ur=Gr,Xr=Function.prototype,Zr=Xr.toString;function Kr(e){if(e!=null){try{return Zr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Jr=Kr,Yr=ht,Qr=Ur,ea=he,ta=Jr,oa=/[\\^$.*+?()[\]{}|]/g,na=/^\[object .+?Constructor\]$/,ra=Function.prototype,aa=Object.prototype,ia=ra.toString,sa=aa.hasOwnProperty,ca=RegExp("^"+ia.call(sa).replace(oa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function la(e){if(!ea(e)||Qr(e))return!1;var t=Yr(e)?ca:na;return t.test(ta(e))}var da=la;function _a(e,t){return e==null?void 0:e[t]}var ua=_a,pa=da,fa=ua;function ga(e,t){var o=fa(e,t);return pa(o)?o:void 0}var bt=ga,ha=bt,va=Te,ba=ha(va,"Map"),no=ba,ma=bt,ya=ma(Object,"create"),Qe=ya,ro=Qe;function $a(){this.__data__=ro?ro(null):{},this.size=0}var ka=$a;function xa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=xa,Na=Qe,Ta="__lodash_hash_undefined__",Oa=Object.prototype,Ca=Oa.hasOwnProperty;function Sa(e){var t=this.__data__;if(Na){var o=t[e];return o===Ta?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Aa=Sa,La=Qe,ja=Object.prototype,Ia=ja.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,Ba=Qe,za="__lodash_hash_undefined__";function Pa(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Ba&&t===void 0?za:t,this}var Ma=Pa,Ha=ka,Va=wa,Da=Aa,Fa=Ea,qa=Ma;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=Ha,Oe.prototype.delete=Va,Oe.prototype.get=Da,Oe.prototype.has=Fa,Oe.prototype.set=qa;var Wa=Oe,ao=Wa,Ga=Je,Ua=no;function Xa(){this.size=0,this.__data__={hash:new ao,map:new(Ua||Ga),string:new ao}}var Za=Xa;function Ka(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ja=Ka,Ya=Ja;function Qa(e,t){var o=e.__data__;return Ya(t)?o[typeof t=="string"?"string":"hash"]:o.map}var et=Qa,ei=et;function ti(e){var t=ei(this,e).delete(e);return this.size-=t?1:0,t}var oi=ti,ni=et;function ri(e){return ni(this,e).get(e)}var ai=ri,ii=et;function si(e){return ii(this,e).has(e)}var ci=si,li=et;function di(e,t){var o=li(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var _i=di,ui=Za,pi=oi,fi=ai,gi=ci,hi=_i;function Ce(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])}}Ce.prototype.clear=ui,Ce.prototype.delete=pi,Ce.prototype.get=fi,Ce.prototype.has=gi,Ce.prototype.set=hi;var vi=Ce,bi=Je,mi=no,yi=vi,$i=200;function ki(e,t){var o=this.__data__;if(o instanceof bi){var n=o.__data__;if(!mi||n.length<$i-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new yi(n)}return o.set(e,t),this.size=o.size,this}var xi=ki,wi=Je,Ni=lr,Ti=_r,Oi=pr,Ci=gr,Si=xi;function Se(e){var t=this.__data__=new wi(e);this.size=t.size}Se.prototype.clear=Ni,Se.prototype.delete=Ti,Se.prototype.get=Oi,Se.prototype.has=Ci,Se.prototype.set=Si;var Ai=Se,Li=bt,ji=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=ji,so=io;function Ii(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var mt=Ii,Ri=mt,Ei=Ze;function Bi(e,t,o){(o!==void 0&&!Ei(e[t],o)||o===void 0&&!(t in e))&&Ri(e,t,o)}var co=Bi;function zi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++r];if(o(i[c],c,i)===!1)break}return t}}var Pi=zi,Mi=Pi,Hi=Mi(),Vi=Hi,tt={},Di={get exports(){return tt},set exports(e){tt=e}};(function(e,t){var o=Te,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Di,tt);var Fi=Te,qi=Fi.Uint8Array,Wi=qi,lo=Wi;function Gi(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Ui=Gi,Xi=Ui;function Zi(e,t){var o=t?Xi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ki=Zi;function Ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Yi=Ji,Qi=he,_o=Object.create,es=function(){function e(){}return function(t){if(!Qi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ts=es;function os(e,t){return function(o){return e(t(o))}}var ns=os,rs=ns,as=rs(Object.getPrototypeOf,Object),uo=as,is=Object.prototype;function ss(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||is;return e===o}var po=ss,cs=ts,ls=uo,ds=po;function _s(e){return typeof e.constructor=="function"&&!ds(e)?cs(ls(e)):{}}var us=_s;function ps(e){return e!=null&&typeof e=="object"}var Ee=ps,fs=Ye,gs=Ee,hs="[object Arguments]";function vs(e){return gs(e)&&fs(e)==hs}var bs=vs,fo=bs,ms=Ee,go=Object.prototype,ys=go.hasOwnProperty,$s=go.propertyIsEnumerable,ks=fo(function(){return arguments}())?fo:function(e){return ms(e)&&ys.call(e,"callee")&&!$s.call(e,"callee")},ho=ks,xs=Array.isArray,vo=xs,ws=9007199254740991;function Ns(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ws}var bo=Ns,Ts=ht,Os=bo;function Cs(e){return e!=null&&Os(e.length)&&!Ts(e)}var yt=Cs,Ss=yt,As=Ee;function Ls(e){return As(e)&&Ss(e)}var js=Ls,Be={},Is={get exports(){return Be},set exports(e){Be=e}};function Rs(){return!1}var Es=Rs;(function(e,t){var o=Te,n=Es,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Is,Be);var Bs=Ye,zs=uo,Ps=Ee,Ms="[object Object]",Hs=Function.prototype,Vs=Object.prototype,mo=Hs.toString,Ds=Vs.hasOwnProperty,Fs=mo.call(Object);function qs(e){if(!Ps(e)||Bs(e)!=Ms)return!1;var t=zs(e);if(t===null)return!0;var o=Ds.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&mo.call(o)==Fs}var Ws=qs,Gs=Ye,Us=bo,Xs=Ee,Zs="[object Arguments]",Ks="[object Array]",Js="[object Boolean]",Ys="[object Date]",Qs="[object Error]",ec="[object Function]",tc="[object Map]",oc="[object Number]",nc="[object Object]",rc="[object RegExp]",ac="[object Set]",ic="[object String]",sc="[object WeakMap]",cc="[object ArrayBuffer]",lc="[object DataView]",dc="[object Float32Array]",_c="[object Float64Array]",uc="[object Int8Array]",pc="[object Int16Array]",fc="[object Int32Array]",gc="[object Uint8Array]",hc="[object Uint8ClampedArray]",vc="[object Uint16Array]",bc="[object Uint32Array]",N={};N[dc]=N[_c]=N[uc]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=N[bc]=!0,N[Zs]=N[Ks]=N[cc]=N[Js]=N[lc]=N[Ys]=N[Qs]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[ic]=N[sc]=!1;function mc(e){return Xs(e)&&Us(e.length)&&!!N[Gs(e)]}var yc=mc;function $c(e){return function(t){return e(t)}}var kc=$c,ot={},xc={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=l})(xc,ot);var wc=yc,Nc=kc,yo=ot,$o=yo&&yo.isTypedArray,Tc=$o?Nc($o):wc,ko=Tc;function Oc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var xo=Oc,Cc=mt,Sc=Ze,Ac=Object.prototype,Lc=Ac.hasOwnProperty;function jc(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Sc(n,o))||o===void 0&&!(t in e))&&Cc(e,t,o)}var Ic=jc,Rc=Ic,Ec=mt;function Bc(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Ec(o,l,c):Rc(o,l,c)}return o}var zc=Bc;function Pc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Mc=Pc,Hc=9007199254740991,Vc=/^(?:0|[1-9]\d*)$/;function Dc(e,t){var o=typeof e;return t=t==null?Hc:t,!!t&&(o=="number"||o!="symbol"&&Vc.test(e))&&e>-1&&e%1==0&&e<t}var wo=Dc,Fc=Mc,qc=ho,Wc=vo,Gc=Be,Uc=wo,Xc=ko,Zc=Object.prototype,Kc=Zc.hasOwnProperty;function Jc(e,t){var o=Wc(e),n=!o&&qc(e),r=!o&&!n&&Gc(e),i=!o&&!n&&!r&&Xc(e),a=o||n||r||i,l=a?Fc(e.length,String):[],c=l.length;for(var d in e)(t||Kc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Uc(d,c)))&&l.push(d);return l}var Yc=Jc;function Qc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var el=Qc,tl=he,ol=po,nl=el,rl=Object.prototype,al=rl.hasOwnProperty;function il(e){if(!tl(e))return nl(e);var t=ol(e),o=[];for(var n in e)n=="constructor"&&(t||!al.call(e,n))||o.push(n);return o}var sl=il,cl=Yc,ll=sl,dl=yt;function _l(e){return dl(e)?cl(e,!0):ll(e)}var No=_l,ul=zc,pl=No;function fl(e){return ul(e,pl(e))}var gl=fl,To=co,hl=tt,vl=Ki,bl=Yi,ml=us,Oo=ho,Co=vo,yl=js,$l=Be,kl=ht,xl=he,wl=Ws,Nl=ko,So=xo,Tl=gl;function Ol(e,t,o,n,r,i,a){var l=So(e,o),c=So(t,o),d=a.get(c);if(d){To(e,o,d);return}var _=i?i(l,c,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Co(c),v=!p&&$l(c),m=!p&&!v&&Nl(c);_=c,p||v||m?Co(l)?_=l:yl(l)?_=bl(l):v?(f=!1,_=hl(c,!0)):m?(f=!1,_=vl(c,!0)):_=[]:wl(c)||Oo(c)?(_=l,Oo(l)?_=Tl(l):(!xl(l)||kl(l))&&(_=ml(c))):f=!1}f&&(a.set(c,_),r(_,c,n,i,a),a.delete(c)),To(e,o,_)}var Cl=Ol,Sl=Ai,Al=co,Ll=Vi,jl=Cl,Il=he,Rl=No,El=xo;function Ao(e,t,o,n,r){e!==t&&Ll(t,function(i,a){if(r||(r=new Sl),Il(i))jl(e,t,a,o,Ao,n,r);else{var l=n?n(El(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Al(e,a,l)}},Rl)}var Bl=Ao;function zl(e){return e}var Lo=zl;function Pl(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 Ml=Pl,Hl=Ml,jo=Math.max;function Vl(e,t,o){return t=jo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=jo(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Hl(e,this,l)}}var Dl=Vl;function Fl(e){return function(){return e}}var ql=Fl,Wl=ql,Io=io,Gl=Lo,Ul=Io?function(e,t){return Io(e,"toString",{configurable:!0,enumerable:!1,value:Wl(t),writable:!0})}:Gl,Xl=Ul,Zl=800,Kl=16,Jl=Date.now;function Yl(e){var t=0,o=0;return function(){var n=Jl(),r=Kl-(n-o);if(o=n,r>0){if(++t>=Zl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ql=Yl,ed=Xl,td=Ql,od=td(ed),nd=od,rd=Lo,ad=Dl,id=nd;function sd(e,t){return id(ad(e,t,rd),e+"")}var cd=sd,ld=Ze,dd=yt,_d=wo,ud=he;function pd(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?dd(o)&&_d(t,o.length):n=="string"&&t in o)?ld(o[t],e):!1}var fd=pd,gd=cd,hd=fd;function vd(e){return gd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&hd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,i)}return t})}var bd=vd,md=Bl,yd=bd;yd(function(e,t,o){md(e,t,o)});const ve=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ve(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(H).join(".");return n[r]=ve(t(r,i,a),t,a),n},{}):e,$d=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},nt=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},kd=()=>({name:null,logo:null}),Ro=()=>({name:null,logo:null}),xd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),Nd=()=>({w1:null,w2:null}),Td=()=>({one_x_two:wd(),one_two:Nd()}),Eo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Ro(),1:Ro()}),league:(e==null?void 0:e.unique_tournament)||kd(),prediction:(e==null?void 0:e.prediction)||xd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=b(e||{},`markets.${a}`,Td()[a||"one_two"]),i),{});ze(o,"markets",r)}return o},Od=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Cd=e=>!e&&e==null,H=e=>!Cd(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Sd=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Ad=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function se(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const b=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},ze=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Ld=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},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),jd=e=>"id"in e&&"root"in e,Id=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>ve(e,(n,r,i)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,b(t,i)],i)?b(t,i,r):r:b(t,i,r):r),Rd=(e,t)=>{try{ve(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},Ed=(e,t)=>{const o=[];return ve(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},C={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function s(e,t,o,n,r,i){var a,l,c={};for(l in t)l=="ref"?a=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[l]);return u.options.vnode&&u.options.vnode(d),d}const Ho=u.createContext(),_e=({children:e,value:t})=>s(Ho.Provider,{value:t,children:e}),ue=e=>a=>Fe(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=Ot(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>J_);window.ResizeObserver=c.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>kn(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&ve(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),se(r,"parent")):r}return n}),pe=(e,t)=>Md(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[m,$])=>v-$),_=((f=d.find(([p,v],m)=>{const[$,y]=d[m+1]||[];return c>=v&&c<y}))==null?void 0:f[0])||"desktop";i(_)};return Rt(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},Fd="-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'",qd=["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"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{qd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Sd(a)&&(o[i]=Do(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),i==="innerText"&&(o.innerText=H(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=rt(a,"px")),i==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ld(o.backgroundColor);l&&(o.backgroundColor=Id(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=Fd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,A=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=Ot(i,["children","typography","accentTypography"]);var c;const a=Ie(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Ad(_)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",x(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Ae=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",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"})}),$t=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=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`}),Fo=(e,t)=>{var _,f,p,v,m,$,y,E,B,S,z,P,W;const o=Ud(t),n=A(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,i={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(m=n==null?void 0:n.container)==null?void 0:m.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(E=n==null?void 0:n.container)==null?void 0:E.left},l=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(w=>o[w]).join(", "),c=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(W=n==null?void 0:n.icon)==null?void 0:W.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(x(g({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},fe=e=>{const t=new Set([]);ve(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ie(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);U(()=>{o.forEach($d)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],qo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=X(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return U(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),U(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Wo=({ref:e,openDelay:t})=>{const o=X(nt()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),i=c=>o.current.on("autoOpen",c),{isOpen:a,toggle:l}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Ge(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),U(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Kd=de(({id:e},t)=>{var E,B,S,z,P,W,w,D,M;const o=X(null),[n,r]=at(),i=V(),a=be({targetRef:o,id:e}),l=pe(i,a),c=A(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=Fo(l,{fade:C.fadein,pulse:C.pulse,wiggle:C.wiggle,gradient:C.gradient}),{isOpen:v,toggle:m,click:$}=Wo({ref:t,openDelay:(E=l==null?void 0:l.container)==null?void 0:E.delay});fe(l);const y=n?te(c.container,...Xd):{};return s("div",{className:O(C.root,{[C.legalOpen]:n}),ref:o,children:[s("div",{className:C.icon,style:_,onClick:m,children:d&&s("div",{className:C.iconTarget,children:s($t,{})})}),s("div",{className:O(C.body,{[C.bodyOpen]:v}),style:f,children:[s("div",{className:C.arrow,style:p}),s("div",{className:C.close,style:c==null?void 0:c.close,onClick:m,children:s(Ae,{})}),s("div",{className:C.container,style:c==null?void 0:c.container,children:[s("a",{href:(B=c==null?void 0:c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(c.id),children:[s("div",{className:C.inner,children:[s("div",{className:C.logo,style:c==null?void 0:c.logo}),s(J,{className:C.text,style:c==null?void 0:c.text,typography:(S=c.text)==null?void 0:S.typography,accentTypography:(z=c.text)==null?void 0:z.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:O(C.button,{[C.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(W=c==null?void 0:c.button)==null?void 0:W.children})]}),s("div",{className:C.legalGap}),s("div",{className:C.legal,style:g(g({},c==null?void 0:c.legal),y),children:s("span",{className:C.legalText,children:s("span",{children:[s("span",{children:(w=c==null?void 0:c.legal)==null?void 0:w.children}),s("span",{className:C.legalButton,onClick:r,children:n?(D=c==null?void 0:c.legal)==null?void 0:D.buttonOpenText:(M=c==null?void 0:c.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),L={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,i,a,l,c,d;const t=V(),o=A(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:O(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:oe.body,children:[s("div",{className:oe.line,style:o.line}),s("div",{className:oe.bodyInner,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.text,style:o.text,children:s(J,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Qd=de(({id:e},t)=>{var E,B,S,z;const o=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i),{isOpen:l,click:c,toggle:d}=Wo({ref:t,openDelay:(E=i==null?void 0:i.container)==null?void 0:E.delay});fe(i);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:v}=Fo(i,{fade:L.fadein,pulse:L.pulse,wiggle:L.wiggle,gradient:L.gradient}),m=(B=a==null?void 0:a.title)==null?void 0:B.hasIcon,$=te(a==null?void 0:a.title,...it),y=se(a==null?void 0:a.title,...it);return s("div",{ref:o,className:O(L.root,{[L.desktop]:r==="desktop",[L.laptop]:r==="laptop",[L.tablet]:r==="tablet"}),children:[s("div",{className:L.icon,style:f,onClick:d,children:_&&s("div",{className:L.iconTarget,children:s($t,{})})}),s("div",{className:O(L.body,{[L.bodyOpen]:l}),style:p,children:[s("div",{className:L.arrow,style:v}),s("div",{className:L.container,style:a.container,children:[s("div",{className:L.close,style:a.close,onClick:d,children:s(Ae,{})}),s("div",{className:L.head,style:$,children:[m&&s("div",{className:L.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:L.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:L.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:c})}))}),s("div",{className:L.promotion,style:a.promotion,children:(z=a.promotion)==null?void 0:z.children})]})]})]})}),e_=ue(s(Qd,{})),Z={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},me=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],t_={root:"_root_mj8hr_1"},o_=()=>{var o,n,r;const e=V(),t=A(e);return s("div",{className:t_.root,style:t.root,children:s(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=X(nt()),[r,i]=ie(!1),[a,l]=ie(),[c,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>Fe(this,null,function*(){yield Od(+t),i(!0)}),m=()=>i(!1),$=()=>{n.current.emit("clickHide"),m()};return U(()=>{c&&n.current.emit("visible",r)},[r,c]),Ge(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:m,setApiHost:l,resetListeners:n.current.reset})),U(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:v,hide:m,clickHide:$,setIsReady:d,click:(...y)=>{m(),n.current.emit("click",...y)}}};function n_(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const r_=de(({id:e,className:t},o)=>{var z,P,W,w,D,M;const n=X(null),r=X(null),i=be({targetRef:n,id:e}),a=V(),l=pe(a,i);fe(l),ze(l,"button.percent_width",(z=l==null?void 0:l.button)==null?void 0:z.width),ze(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=A(l),d=b(c,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:m}=kt(o,d);U(()=>{const K=r.current;if(!K)return;if(n_(K)){p(!0);return}const ke=()=>p(!0);return K.addEventListener("load",ke),()=>{K.removeEventListener("load",ke)}},[c]);const $={alignItems:me((W=c.root)==null?void 0:W.align)},y=x(g({},c==null?void 0:c.button),{justifyContent:me((w=c.root)==null?void 0:w.textAlign)}),E=x(g({},c==null?void 0:c.legal),{justifyContent:me((D=c.root)==null?void 0:D.textAlign)}),B=se(c.root,...qo,...Y),S=te(c.root,...qo);return s("div",{className:O(Z.root,t,{[Z.desktop]:i==="desktop",[Z.tablet]:i==="tablet",[Z.laptop]:i==="laptop"}),ref:n,style:{display:_&&f?"flex":"none"},children:[s("div",{className:Z.overlay,style:c.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Me(c.close),onClick:v,children:s(Ae,{})}),s("a",{href:(M=c.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>m(c.id),children:[s("img",{ref:r,className:Z.background,src:S.imageSource,alt:"",style:S}),s("div",{className:Z.body,style:$,children:[s("div",{className:Z.logo,style:c.logo}),s("div",{className:Z.text,children:((c==null?void 0:c.children)||[]).map(K=>s(_e,{value:K,children:s(o_,{})}))}),s("div",{className:Z.button,style:y,children:y==null?void 0:y.children}),s("div",{className:Z.legal,style:E,children:E==null?void 0:E.children})]})]})]})]})}),a_=ue(s(r_,{})),ge={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},i_=({onClick:e})=>{var i,a,l,c,d,_;const t=V(),o=A(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:O(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:se(o.root,...it),onClick:()=>e(o.id),children:[s("div",{className:Q.header,style:o.header,children:s("div",{className:Q.logo,style:o.logo})}),s("div",{className:Q.container,style:te(o.root,...it),children:[s("div",{className:Q.body,children:[s("div",{className:Q.logoWrapper,style:r,children:s("div",{className:Q.logo,style:o.logo})}),s(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(c=o.text)==null?void 0:c.children})]}),s("div",{children:[s(J,{className:Q.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(J,{className:Q.legal,style:o.legal,children:(_=o.legal)==null?void 0:_.children})]})]})]})},s_=de(({id:e},t)=>{var f;const o=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n),a=A(i);fe(i);const l=b(a,"root.delay",0),{isOpen:c,clickHide:d,click:_}=kt(t,l,!0);return s("div",{className:ge.root,style:{display:c?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:O(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Me(a.close),onClick:d,children:s(Ae,{})}),s(J,{className:ge.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ge.wrapper,children:(a.children||[]).map(p=>s(_e,{value:x(g({},p),{device:n}),children:s(i_,{onClick:_})}))})]})]})}),c_=ue(s(s_,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},j={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"},l_=()=>{const e=V(),t=A(e),o=(e==null?void 0:e.device)||"desktop",n=x(g({},t==null?void 0:t.teamALogo),{backgroundImage:b(t,"match.teams[0].logo")}),r=x(g({},t==null?void 0:t.teamBLogo),{backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:O(j.root,{[j.desktop]:o==="desktop",[j.laptop]:o==="laptop"}),children:[s("div",{className:j.left,children:[s("div",{className:j.teams,children:[s("img",{className:j.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:j.logo,src:r.backgroundImage,style:r})]}),s("div",{className:j.body,children:[s("div",{className:j.league,style:t.league,children:b(t,"match.league.name")}),s("div",{className:j.name,style:t.teams,children:[b(t,"match.teams[0].name")," — ",b(t,"match.teams[1].name")]})]})]}),s("div",{className:j.right,children:[s("div",{className:j.team,children:[s("img",{className:j.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:j.teamName,style:t.teams,children:b(t,"match.teams[0].name")})]}),s("div",{className:j.odd,children:[s("div",{className:j.oddLabel,style:t.oddLabel,children:b(t,"match.prediction.value")}),s("div",{className:j.oddValue,style:t.oddValue,children:b(t,"match.prediction.factor")})]}),s("div",{className:j.team,children:[s("img",{className:j.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:j.teamName,style:t.teams,children:b(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),l=Ie(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),c=$n(()=>Fe(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(_=>_.json());a(d.data)}),[l,t,n,r]);return U(()=>{t||c()},[l,t]),{data:i,execute:c}};function Uo(e){const t=X();return U(()=>{t.current=e},[e]),t.current}const d_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return U(()=>{zo(i,r)||l()},[r]),n.map(d=>{const _=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Eo(_),p=Po(f,d.root.customMatch,(v,[m,$])=>H($));return x(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,W,w,D,M,K,ke,De,gn,hn;const o=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n);ze(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),ze(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=A(i);fe(i);const l=b(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:_,click:f}=kt(t,l,!0),p=d_(i,d),v=x(g({},a.root),{alignItems:me((z=a.root)==null?void 0:z.align)}),m=x(g({},a.content),{alignItems:me((P=a.root)==null?void 0:P.align)}),$=x(g({},a.text),{textAlign:(W=a.root)==null?void 0:W.align}),y=x(g({},a==null?void 0:a.button),{justifyContent:me((w=a.root)==null?void 0:w.textAlign)}),E=x(g({},a==null?void 0:a.legal),{justifyContent:me((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:O(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Me(a.close),onClick:_,children:s(Ae,{})}),s("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:F.body,style:v,children:[s("div",{className:F.head,children:[s("div",{className:F.title,style:a.title,children:(K=a.title)==null?void 0:K.children}),s("div",{className:F.logo,style:a.logo})]}),s("div",{className:F.wrapper,style:m,children:(p||[]).map(Y_=>s(_e,{value:x(g({},Y_),{device:n}),children:s(l_,{})}))}),s(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(ke=a.text)==null?void 0:ke.children}),s("div",{className:F.button,style:a.buttonWrapper,children:[s("div",{className:F.buttonHead,style:a.buttonHead,children:(De=a.buttonHead)==null?void 0:De.children}),s("div",{className:F.buttonTarget,style:y,children:(gn=a.button)==null?void 0:gn.children})]}),s(J,{className:F.legal,style:E,children:(hn=a.legal)==null?void 0:hn.children})]})})]})]})}),u_=ue(s(__,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},p_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=A(t),[n,r]=at();return s("div",{className:ne.root,style:se(o.root,...Y),children:[s("div",{className:ne.background,style:te(o.root,...Y)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:O(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(_=o.legalInfo)==null?void 0:_.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},Xo=e=>{const t=X(nt()),o=n=>t.current.on("click",n);return Ge(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},f_=de((e,t)=>{const o=X(null),n=V(),i=pe(n,"mobile"),a=A(i);fe(i);const{click:l}=Xo(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(p_,{onClick:l})}))})}),g_=ue(s(f_,{})),I={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Zo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},h_=()=>{var o,n,r;const e=V(),t=A(e);return s("div",{className:O(Zo.root,{[Zo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:se(t.root,...Y),children:s(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},R={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},st=(e,t,o=1,n=!1)=>{var l;const[r,i]=[t[0],t[1]||t[0]].map(c=>c*o),a=`w${r}-h${i}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},v_=()=>{var i,a;const e=V(),t=A(e),o=se(t.root,...Y),n=x(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=x(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:O(R.root,{[R.desktop]:e.device==="desktop",[R.laptop]:e.device==="laptop",[R.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:R.title,children:[s("div",{className:R.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:R.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:R.odds,children:[s("div",{className:R.odd,children:[s("img",{className:R.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:R.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w1")})]}),s("div",{className:R.odd,children:[s("div",{className:R.oddX,style:t.coef,children:"X"}),s("div",{className:R.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.x")})]}),s("div",{className:R.odd,children:[s("img",{className:R.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:R.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:R.teams,children:[s("div",{className:R.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:R.teamName,style:t.teamName,children:b(t,"match.teams[1].name")})]})]})},q={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},b_=()=>{var r,i;const e=V(),t=A(e),o=x(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[0].logo"),[120,120])}),n=x(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[1].logo"),[120,120])});return s("div",{className:O(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",[q.national]:b(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:q.title,children:[s("div",{className:q.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:q.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},m_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return U(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},y_={matches:"one_x_two",matchesOneTwo:"one_two"},Ko=e=>[y_[e]],$_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>x(g({},d.root.targetMatch),{markets:Ko(d.name)})),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return U(()=>{zo(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(m=>m.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Ko(d.name),p=Eo(_,{markets:f}),v=Po(p,d.root.customMatch,(m,[$,y])=>H(y));return x(g({},d),{match:v})}return d}).filter(Boolean)},k_=e=>{const t=X(nt()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>Fe(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return U(()=>{t.current.emit("visible",o)},[o]),Ge(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},x_=3700,w_=de(({id:e},t)=>{var B,S,z,P,W;const o=X(null),n=V(),r=be({id:e,targetRef:o}),i=pe(n,r),a=A(i);fe(i);const{apiHost:l,isOpen:c,click:d,clickHide:_}=k_(t),f=$_(a,l),p=w=>({text:s(h_,{}),matches:s(v_,{}),matchesOneTwo:s(b_,{})})[w],v=f.filter(Boolean).map(w=>{var D,M;return x(g({},w),{animationName:(D=w==null?void 0:w.root)==null?void 0:D.animationName,animationDuration:((M=w==null?void 0:w.root)==null?void 0:M.animationDuration)||x_})}),m=m_(v),$=A(v[m]||{}),y=se(a.root,...Y),E=(B=$==null?void 0:$.root)!=null&&B.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return s("div",{ref:o,className:O(I.root,{[I.desktop]:r==="desktop",[I.laptop]:r==="laptop",[I.tablet]:r==="tablet",[I.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:x(g({},y),{display:c?"block":"none"}),children:[s("div",{className:I.close,style:a.close,onClick:_,children:s(Ae,{})}),s("a",{href:(z=a.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:I.background,style:E}),s("div",{className:I.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:I.content,children:[s("div",{className:I.left,children:s("div",{className:I.logo,style:a.logo})}),s("div",{className:I.center,children:(v||[]).map((w,D)=>{var M,K;return s("div",{className:I.slide,style:{animationName:m===D?I[((M=w.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(K=w.root)==null?void 0:K.animationDuration}ms`},children:s(_e,{value:x(g({},w),{device:r}),children:p(w.name)})})})}),s("div",{className:I.right,children:[s("div",{className:I.logo,style:a.logo}),s("div",{className:I.buttonWrapper,children:s("div",{className:O(I.button,{[I.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:I.logo,style:a.logo}),(W=a.button)==null?void 0:W.children]})})]})]})]})]})}),N_=ue(s(w_,{})),Pe={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_10ihj_1",content:"_content_10ihj_8",textContent:"_textContent_10ihj_15",backgroundLine:"_backgroundLine_10ihj_21",button:"_button_10ihj_27",link:"_link_10ihj_33",legal:"_legal_10ihj_39",legalText:"_legalText_10ihj_48",open:"_open_10ihj_57",legalMore:"_legalMore_10ihj_62"},T_=(e,t,o,n,r=Mo)=>{const i=g({},e);return r.forEach(a=>{i[t]=x(g({},i[t]),{[a]:x(g({},i[t][a]),{[o]:typeof n=="function"?n(b(i,`${t}.${a}.${o}`)):n})})}),i},Me=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=x(g({},e),{color:t});return se(o,"backgroundColor")},O_=()=>s("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),s("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),s("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),s("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),s("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),s("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),C_=({onClick:e})=>{var i,a,l,c,d,_,f,p,v;const t=V(),o=A(t),[n,r]=at();return s("div",{className:re.root,style:o.root,children:[s("div",{className:re.content,children:[s("div",{className:re.textContent,children:[s(J,{className:re.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:x(g({},Me(o.line)),{left:`calc(50% - ${(d=o.line)==null?void 0:d.left})`}),children:s(O_,{})}),s("a",{className:re.link,target:"_blank",href:(_=o.root)==null?void 0:_.offer,onClick:e,rel:"noreferrer"})]}),s("div",{className:O(re.legal,{[re.open]:n}),style:o.legalInfo,children:s("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,s("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(p=o.legalInfoButton)==null?void 0:p.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ox8ay_1",content:"_content_ox8ay_8",backgroundLine:"_backgroundLine_ox8ay_14",link:"_link_ox8ay_20",button:"_button_ox8ay_26",logo:"_logo_ox8ay_31",legal:"_legal_ox8ay_37",open:"_open_ox8ay_49",legalText:"_legalText_ox8ay_53",legalMore:"_legalMore_ox8ay_63"},S_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=A(t),[n,r]=at();return s("div",{className:ae.root,style:o.root,children:[s("div",{className:ae.content,children:[s(J,{className:ae.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{className:ae.button,style:o.button,children:[s("div",{className:ae.logo,style:o.logo}),o.button.children]}),s("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:e,rel:"noreferrer"}),s("div",{className:O(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[s("div",{className:ae.legalText,children:(_=o.legalInfo)==null?void 0:_.children}),s("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})]})},A_=de(({id:e},t)=>{const o=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i);fe(i);const{click:l}=Xo(t),c=d=>({cardVariant1:s(C_,{onClick:l}),cardVariant2:s(S_,{onClick:l})})[d];return s("div",{ref:o,className:O(Pe.root,{[Pe.desktop]:r==="desktop",[Pe.laptop]:r==="laptop",[Pe.tablet]:r==="tablet"}),children:s("div",{className:Pe.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:c(d.name)}))})})}),L_=ue(s(A_,{}));var ye=[],j_=function(){return ye.some(function(e){return e.activeTargets.length>0})},I_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Jo="ResizeObserver loop completed with undelivered notifications.",R_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Jo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Jo),window.dispatchEvent(e)},He;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(He||(He={}));var $e=function(e){return Object.freeze(e)},Yo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Qo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$e(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,i=t.right,a=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),xt=function(e){return e instanceof SVGElement&&"getBBox"in e},en=function(e){if(xt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},tn=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)},E_=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},Ve=typeof window!="undefined"?window:{},ct=new WeakMap,on=/auto|scroll/,B_=/^tb|vertical/,z_=/msie|trident/i.test(Ve.navigator&&Ve.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Le=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Yo((o?t:e)||0,(o?e:t)||0)},nn=$e({devicePixelContentBoxSize:Le(),borderBoxSize:Le(),contentBoxSize:Le(),contentRect:new Qo(0,0,0,0)}),rn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(en(e))return ct.set(e,nn),nn;var o=getComputedStyle(e),n=xt(e)&&e.ownerSVGElement&&e.getBBox(),r=!z_&&o.boxSizing==="border-box",i=B_.test(o.writingMode||""),a=!n&&on.test(o.overflowY||""),l=!n&&on.test(o.overflowX||""),c=n?0:ce(o.paddingTop),d=n?0:ce(o.paddingRight),_=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),p=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),m=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+d,E=c+_,B=$+v,S=p+m,z=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,W=r?y+B:0,w=r?E+S:0,D=n?n.width:ce(o.width)-W-P,M=n?n.height:ce(o.height)-w-z,K=D+y+P+B,ke=M+E+z+S,De=$e({devicePixelContentBoxSize:Le(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Le(K,ke,i),contentBoxSize:Le(D,M,i),contentRect:new Qo(f,c,D,M)});return ct.set(e,De),De},an=function(e,t,o){var n=rn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case He.DEVICE_PIXEL_CONTENT_BOX:return a;case He.BORDER_BOX:return r;default:return i}},sn=function(){function e(t){var o=rn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=$e([o.borderBoxSize]),this.contentBoxSize=$e([o.contentBoxSize]),this.devicePixelContentBoxSize=$e([o.devicePixelContentBoxSize])}return e}(),cn=function(e){if(en(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},P_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var _=new sn(d.target),f=cn(d.target);l.push(_),d.lastReportedSize=an(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},ln=function(e){ye.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(cn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},M_=function(){var e=0;for(ln(e);j_();)e=P_(),ln(e);return I_()&&R_(),e>0},wt,dn=[],H_=function(){return dn.splice(0).forEach(function(e){return e()})},V_=function(e){if(!wt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return H_()}).observe(o,n),wt=function(){o.textContent="".concat(t?t--:t++)}}dn.push(e),wt()},D_=function(e){V_(function(){requestAnimationFrame(e)})},lt=0,F_=function(){return!!lt},q_=250,W_={attributes:!0,characterData:!0,childList:!0,subtree:!0},_n=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],un=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,G_=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=q_),!Nt){Nt=!0;var n=un(t);D_(function(){var r=!1;try{r=M_()}finally{if(Nt=!1,t=n-un(),!F_())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():Ve.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_n.forEach(function(o){return Ve.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_n.forEach(function(o){return Ve.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new G_,pn=function(e){!lt&&e>0&&Tt.start(),lt+=e,!lt&&Tt.stop()},U_=function(e){return!xt(e)&&!E_(e)&&getComputedStyle(e).display==="inline"},X_=function(){function e(t,o){this.target=t,this.observedBox=o||He.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=an(this.target,this.observedBox,!0);return U_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,fn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},_t=function(){function e(){}return e.connect=function(t,o){var n=new Z_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;fn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new X_(o,n&&n.box)),pn(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=fn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),pn(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),K_=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.");_t.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(!tn(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.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(!tn(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.unobserve(this,t)},e.prototype.disconnect=function(){_t.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const J_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:K_,ResizeObserverEntry:sn,ResizeObserverSize:Yo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=g_,h.ComplexGift=e_,h.ComplexPopup=c_,h.ContentCards=L_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=N_,h.backgroundToColor=Me,h.filterDeep=Ed,h.findDeep=Rd,h.isValidTemplate=jd,h.modifyState=T_,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.6.2",
4
+ "version": "2.6.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"