@adstore/templates 2.1.9 → 2.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- (function(R,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],u):(R=typeof globalThis<"u"?globalThis:R||self,u(R["@adstore/templates"]={},R.preact))})(this,function(R,u){"use strict";var Ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ke={},Wo={get exports(){return Ke},set exports(e){Ke=e}};/*!
1
+ (function(p,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(p=typeof globalThis!="undefined"?globalThis:p||self,_(p["@adstore/templates"]={},p.preact))})(this,function(p,_){"use strict";var p_=Object.defineProperty,h_=Object.defineProperties;var g_=Object.getOwnPropertyDescriptors;var et=Object.getOwnPropertySymbols;var Zo=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable;var Yo=(p,_,$)=>_ in p?p_(p,_,{enumerable:!0,configurable:!0,writable:!0,value:$}):p[_]=$,m=(p,_)=>{for(var $ in _||(_={}))Zo.call(_,$)&&Yo(p,$,_[$]);if(et)for(var $ of et(_))Qo.call(_,$)&&Yo(p,$,_[$]);return p},I=(p,_)=>h_(p,g_(_));var ht=(p,_)=>{var $={};for(var P in p)Zo.call(p,P)&&_.indexOf(P)<0&&($[P]=p[P]);if(p!=null&&et)for(var P of et(p))_.indexOf(P)<0&&Qo.call(p,P)&&($[P]=p[P]);return $};var en=(p,_,$)=>new Promise((P,Ie)=>{var S=M=>{try{g($.next(M))}catch(ce){Ie(ce)}},Y=M=>{try{g($.throw(M))}catch(ce){Ie(ce)}},g=M=>M.done?P(M.value):Promise.resolve(M.value).then(S,Y);g(($=$.apply(p,_)).next())});var $=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},P={},Ie={get exports(){return P},set exports(e){P=e}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var s=typeof a;if(s==="string"||s==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(s==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Wo);const C=Ke;var oe,b,Xe,_t,ue=0,ut=[],Se=[],ft=u.options.__b,pt=u.options.__r,vt=u.options.diffed,ht=u.options.__c,gt=u.options.unmount;function fe(e,t){u.options.__h&&u.options.__h(b,e,ue||t),ue=0;var o=b.__H||(b.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Se}),o.__[e]}function pe(e){return ue=1,Uo(wt,e)}function Uo(e,t,o){var n=fe(oe++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):wt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=b,!b.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!a||a.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};b.u=!0;var a=b.shouldComponentUpdate,s=b.componentWillUpdate;b.componentWillUpdate=function(l,c,d){if(this.__e){var _=a;a=void 0,r(l,c,d),a=_}s&&s.call(this,l,c,d)},b.shouldComponentUpdate=r}return n.__N||n.__}function ne(e,t){var o=fe(oe++,3);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__H.__h.push(o))}function bt(e,t){var o=fe(oe++,4);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__h.push(o))}function z(e){return ue=5,yt(function(){return{current:e}},[])}function mt(e,t,o){ue=6,bt(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 yt(e,t){var o=fe(oe++,7);return Ye(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function Ko(e){var t=b.context[e.__c],o=fe(oe++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(b)),t.props.value):e.__}function Xo(){for(var e;e=ut.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ae),e.__H.__h.forEach(Je),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){b=null,ft&&ft(e)},u.options.__r=function(e){pt&&pt(e),oe=0;var t=(b=e.__c).__H;t&&(Xe===b?(t.__h=[],b.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Se,o.__N=o.i=void 0})):(t.__h.forEach(Ae),t.__h.forEach(Je),t.__h=[])),Xe=b},u.options.diffed=function(e){vt&&vt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ut.push(t)!==1&&_t===u.options.requestAnimationFrame||((_t=u.options.requestAnimationFrame)||Jo)(Xo)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Se&&(o.__=o.__V),o.i=void 0,o.__V=Se})),Xe=b=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ae),o.__h=o.__h.filter(function(n){return!n.__||Je(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),ht&&ht(e,t)},u.options.unmount=function(e){gt&&gt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Ae(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var $t=typeof requestAnimationFrame=="function";function Jo(e){var t,o=function(){clearTimeout(n),$t&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);$t&&(t=requestAnimationFrame(o))}function Ae(e){var t=b,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),b=t}function Je(e){var t=b;e.__c=e.__(),b=t}function Ye(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function wt(e,t){return typeof t=="function"?t(e):t}function xt(e,t){for(var o in t)e[o]=t[o];return e}function Ot(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 Tt(e){this.props=e}(Tt.prototype=new u.Component).isPureReactComponent=!0,Tt.prototype.shouldComponentUpdate=function(e,t){return Ot(this.props,e)||Ot(this.state,t)};var kt=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),kt&&kt(e)};var Yo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ve(e){function t(o){var n=xt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=Yo,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zo=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Zo(e,t,o,n)};var Nt=u.options.unmount;function Ct(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=xt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Ct(n,t,o)})),e}function St(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return St(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 Ze(){this.__u=0,this.t=null,this.__b=null}function At(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(){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),Nt&&Nt(e)},(Ze.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=At(n.__v),a=!1,s=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=s;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=St(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(s,s)},Ze.prototype.componentWillUnmount=function(){this.t=[]},Ze.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]=Ct(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 Rt=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]}};(Re.prototype=new u.Component).__a=function(e){var t=this,o=At(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Rt(t,e,n)):r()};o?o(a):a()}},Re.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},Re.prototype.componentDidUpdate=Re.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Rt(e,o,t)})};var Qo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,en=/^(?: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]/,tn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,on=/[A-Z0-9]/g,nn=typeof document<"u",rn=function(e){return(typeof Symbol<"u"&&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 jt=u.options.event;function an(){}function sn(){return this.cancelBubble}function cn(){return this.defaultPrevented}u.options.event=function(e){return jt&&(e=jt(e)),e.persist=an,e.isPropagationStopped=sn,e.isDefaultPrevented=cn,e.nativeEvent=e};var ln={enumerable:!1,configurable:!0,get:function(){return this.class}},Et=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||nn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||rn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":tn.test(a)?a=l:n.indexOf("-")===-1&&en.test(a)?a=a.replace(on,"-$&").toLowerCase():s===null&&(s=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=s}}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",ln)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Qo,Et&&Et(e)};var It=u.options.__r;u.options.__r=function(e){It&&It(e),e.__c};var Pt=u.options.diffed;u.options.diffed=function(e){Pt&&Pt(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 dn(){this.__data__=[],this.size=0}var _n=dn;function un(e,t){return e===t||e!==e&&t!==t}var je=un,fn=je;function pn(e,t){for(var o=e.length;o--;)if(fn(e[o][0],t))return o;return-1}var Ee=pn,vn=Ee,hn=Array.prototype,gn=hn.splice;function bn(e){var t=this.__data__,o=vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():gn.call(t,o,1),--this.size,!0}var mn=bn,yn=Ee;function $n(e){var t=this.__data__,o=yn(t,e);return o<0?void 0:t[o][1]}var wn=$n,xn=Ee;function On(e){return xn(this.__data__,e)>-1}var Tn=On,kn=Ee;function Nn(e,t){var o=this.__data__,n=kn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Cn=Nn,Sn=_n,An=mn,Rn=wn,jn=Tn,En=Cn;function re(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])}}re.prototype.clear=Sn,re.prototype.delete=An,re.prototype.get=Rn,re.prototype.has=jn,re.prototype.set=En;var Ie=re,In=Ie;function Pn(){this.__data__=new In,this.size=0}var Bn=Pn;function Ln(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var zn=Ln;function qn(e){return this.__data__.get(e)}var Hn=qn;function Dn(e){return this.__data__.has(e)}var Mn=Dn,Vn=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,Bt=Vn,Fn=Bt,Gn=typeof self=="object"&&self&&self.Object===Object&&self,Wn=Fn||Gn||Function("return this")(),ae=Wn,Un=ae,Kn=Un.Symbol,Lt=Kn,zt=Lt,qt=Object.prototype,Xn=qt.hasOwnProperty,Jn=qt.toString,he=zt?zt.toStringTag:void 0;function Yn(e){var t=Xn.call(e,he),o=e[he];try{e[he]=void 0;var n=!0}catch{}var r=Jn.call(e);return n&&(t?e[he]=o:delete e[he]),r}var Zn=Yn,Qn=Object.prototype,er=Qn.toString;function tr(e){return er.call(e)}var or=tr,Ht=Lt,nr=Zn,rr=or,ar="[object Null]",ir="[object Undefined]",Dt=Ht?Ht.toStringTag:void 0;function sr(e){return e==null?e===void 0?ir:ar:Dt&&Dt in Object(e)?nr(e):rr(e)}var Pe=sr;function cr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var W=cr,lr=Pe,dr=W,_r="[object AsyncFunction]",ur="[object Function]",fr="[object GeneratorFunction]",pr="[object Proxy]";function vr(e){if(!dr(e))return!1;var t=lr(e);return t==ur||t==fr||t==_r||t==pr}var Qe=vr,hr=ae,gr=hr["__core-js_shared__"],br=gr,et=br,Mt=function(){var e=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function mr(e){return!!Mt&&Mt in e}var yr=mr,$r=Function.prototype,wr=$r.toString;function xr(e){if(e!=null){try{return wr.call(e)}catch{}try{return e+""}catch{}}return""}var Or=xr,Tr=Qe,kr=yr,Nr=W,Cr=Or,Sr=/[\\^$.*+?()[\]{}|]/g,Ar=/^\[object .+?Constructor\]$/,Rr=Function.prototype,jr=Object.prototype,Er=Rr.toString,Ir=jr.hasOwnProperty,Pr=RegExp("^"+Er.call(Ir).replace(Sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Br(e){if(!Nr(e)||kr(e))return!1;var t=Tr(e)?Pr:Ar;return t.test(Cr(e))}var Lr=Br;function zr(e,t){return e==null?void 0:e[t]}var qr=zr,Hr=Lr,Dr=qr;function Mr(e,t){var o=Dr(e,t);return Hr(o)?o:void 0}var tt=Mr,Vr=tt,Fr=ae,Gr=Vr(Fr,"Map"),Vt=Gr,Wr=tt,Ur=Wr(Object,"create"),Be=Ur,Ft=Be;function Kr(){this.__data__=Ft?Ft(null):{},this.size=0}var Xr=Kr;function Jr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Yr=Jr,Zr=Be,Qr="__lodash_hash_undefined__",ea=Object.prototype,ta=ea.hasOwnProperty;function oa(e){var t=this.__data__;if(Zr){var o=t[e];return o===Qr?void 0:o}return ta.call(t,e)?t[e]:void 0}var na=oa,ra=Be,aa=Object.prototype,ia=aa.hasOwnProperty;function sa(e){var t=this.__data__;return ra?t[e]!==void 0:ia.call(t,e)}var ca=sa,la=Be,da="__lodash_hash_undefined__";function _a(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=la&&t===void 0?da:t,this}var ua=_a,fa=Xr,pa=Yr,va=na,ha=ca,ga=ua;function ie(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])}}ie.prototype.clear=fa,ie.prototype.delete=pa,ie.prototype.get=va,ie.prototype.has=ha,ie.prototype.set=ga;var ba=ie,Gt=ba,ma=Ie,ya=Vt;function $a(){this.size=0,this.__data__={hash:new Gt,map:new(ya||ma),string:new Gt}}var wa=$a;function xa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Oa=xa,Ta=Oa;function ka(e,t){var o=e.__data__;return Ta(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Le=ka,Na=Le;function Ca(e){var t=Na(this,e).delete(e);return this.size-=t?1:0,t}var Sa=Ca,Aa=Le;function Ra(e){return Aa(this,e).get(e)}var ja=Ra,Ea=Le;function Ia(e){return Ea(this,e).has(e)}var Pa=Ia,Ba=Le;function La(e,t){var o=Ba(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var za=La,qa=wa,Ha=Sa,Da=ja,Ma=Pa,Va=za;function se(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])}}se.prototype.clear=qa,se.prototype.delete=Ha,se.prototype.get=Da,se.prototype.has=Ma,se.prototype.set=Va;var Fa=se,Ga=Ie,Wa=Vt,Ua=Fa,Ka=200;function Xa(e,t){var o=this.__data__;if(o instanceof Ga){var n=o.__data__;if(!Wa||n.length<Ka-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new Ua(n)}return o.set(e,t),this.size=o.size,this}var Ja=Xa,Ya=Ie,Za=Bn,Qa=zn,ei=Hn,ti=Mn,oi=Ja;function ce(e){var t=this.__data__=new Ya(e);this.size=t.size}ce.prototype.clear=Za,ce.prototype.delete=Qa,ce.prototype.get=ei,ce.prototype.has=ti,ce.prototype.set=oi;var ni=ce,ri=tt,ai=function(){try{var e=ri(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Wt=ai,Ut=Wt;function ii(e,t,o){t=="__proto__"&&Ut?Ut(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ot=ii,si=ot,ci=je;function li(e,t,o){(o!==void 0&&!ci(e[t],o)||o===void 0&&!(t in e))&&si(e,t,o)}var Kt=li;function di(e){return function(t,o,n){for(var r=-1,a=Object(t),s=n(t),l=s.length;l--;){var c=s[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var _i=di,ui=_i,fi=ui(),pi=fi,ze={},vi={get exports(){return ze},set exports(e){ze=e}};(function(e,t){var o=ae,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a?o.Buffer:void 0,l=s?s.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})(vi,ze);var hi=ae,gi=hi.Uint8Array,bi=gi,Xt=bi;function mi(e){var t=new e.constructor(e.byteLength);return new Xt(t).set(new Xt(e)),t}var yi=mi,$i=yi;function wi(e,t){var o=t?$i(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var xi=wi;function Oi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ti=Oi,ki=W,Jt=Object.create,Ni=function(){function e(){}return function(t){if(!ki(t))return{};if(Jt)return Jt(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ci=Ni;function Si(e,t){return function(o){return e(t(o))}}var Ai=Si,Ri=Ai,ji=Ri(Object.getPrototypeOf,Object),Yt=ji,Ei=Object.prototype;function Ii(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Ei;return e===o}var Zt=Ii,Pi=Ci,Bi=Yt,Li=Zt;function zi(e){return typeof e.constructor=="function"&&!Li(e)?Pi(Bi(e)):{}}var qi=zi;function Hi(e){return e!=null&&typeof e=="object"}var ge=Hi,Di=Pe,Mi=ge,Vi="[object Arguments]";function Fi(e){return Mi(e)&&Di(e)==Vi}var Gi=Fi,Qt=Gi,Wi=ge,eo=Object.prototype,Ui=eo.hasOwnProperty,Ki=eo.propertyIsEnumerable,Xi=Qt(function(){return arguments}())?Qt:function(e){return Wi(e)&&Ui.call(e,"callee")&&!Ki.call(e,"callee")},to=Xi,Ji=Array.isArray,oo=Ji,Yi=9007199254740991;function Zi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yi}var no=Zi,Qi=Qe,es=no;function ts(e){return e!=null&&es(e.length)&&!Qi(e)}var nt=ts,os=nt,ns=ge;function rs(e){return ns(e)&&os(e)}var as=rs,be={},is={get exports(){return be},set exports(e){be=e}};function ss(){return!1}var cs=ss;(function(e,t){var o=ae,n=cs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===r,l=s?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(is,be);var ls=Pe,ds=Yt,_s=ge,us="[object Object]",fs=Function.prototype,ps=Object.prototype,ro=fs.toString,vs=ps.hasOwnProperty,hs=ro.call(Object);function gs(e){if(!_s(e)||ls(e)!=us)return!1;var t=ds(e);if(t===null)return!0;var o=vs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&ro.call(o)==hs}var bs=gs,ms=Pe,ys=no,$s=ge,ws="[object Arguments]",xs="[object Array]",Os="[object Boolean]",Ts="[object Date]",ks="[object Error]",Ns="[object Function]",Cs="[object Map]",Ss="[object Number]",As="[object Object]",Rs="[object RegExp]",js="[object Set]",Es="[object String]",Is="[object WeakMap]",Ps="[object ArrayBuffer]",Bs="[object DataView]",Ls="[object Float32Array]",zs="[object Float64Array]",qs="[object Int8Array]",Hs="[object Int16Array]",Ds="[object Int32Array]",Ms="[object Uint8Array]",Vs="[object Uint8ClampedArray]",Fs="[object Uint16Array]",Gs="[object Uint32Array]",g={};g[Ls]=g[zs]=g[qs]=g[Hs]=g[Ds]=g[Ms]=g[Vs]=g[Fs]=g[Gs]=!0,g[ws]=g[xs]=g[Ps]=g[Os]=g[Bs]=g[Ts]=g[ks]=g[Ns]=g[Cs]=g[Ss]=g[As]=g[Rs]=g[js]=g[Es]=g[Is]=!1;function Ws(e){return $s(e)&&ys(e.length)&&!!g[ms(e)]}var Us=Ws;function Ks(e){return function(t){return e(t)}}var Xs=Ks,qe={},Js={get exports(){return qe},set exports(e){qe=e}};(function(e,t){var o=Bt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Js,qe);var Ys=Us,Zs=Xs,ao=qe,io=ao&&ao.isTypedArray,Qs=io?Zs(io):Ys,so=Qs;function ec(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var co=ec,tc=ot,oc=je,nc=Object.prototype,rc=nc.hasOwnProperty;function ac(e,t,o){var n=e[t];(!(rc.call(e,t)&&oc(n,o))||o===void 0&&!(t in e))&&tc(e,t,o)}var ic=ac,sc=ic,cc=ot;function lc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?cc(o,l,c):sc(o,l,c)}return o}var dc=lc;function _c(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var uc=_c,fc=9007199254740991,pc=/^(?:0|[1-9]\d*)$/;function vc(e,t){var o=typeof e;return t=t??fc,!!t&&(o=="number"||o!="symbol"&&pc.test(e))&&e>-1&&e%1==0&&e<t}var lo=vc,hc=uc,gc=to,bc=oo,mc=be,yc=lo,$c=so,wc=Object.prototype,xc=wc.hasOwnProperty;function Oc(e,t){var o=bc(e),n=!o&&gc(e),r=!o&&!n&&mc(e),a=!o&&!n&&!r&&$c(e),s=o||n||r||a,l=s?hc(e.length,String):[],c=l.length;for(var d in e)(t||xc.call(e,d))&&!(s&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||yc(d,c)))&&l.push(d);return l}var Tc=Oc;function kc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Nc=kc,Cc=W,Sc=Zt,Ac=Nc,Rc=Object.prototype,jc=Rc.hasOwnProperty;function Ec(e){if(!Cc(e))return Ac(e);var t=Sc(e),o=[];for(var n in e)n=="constructor"&&(t||!jc.call(e,n))||o.push(n);return o}var Ic=Ec,Pc=Tc,Bc=Ic,Lc=nt;function zc(e){return Lc(e)?Pc(e,!0):Bc(e)}var _o=zc,qc=dc,Hc=_o;function Dc(e){return qc(e,Hc(e))}var Mc=Dc,uo=Kt,Vc=ze,Fc=xi,Gc=Ti,Wc=qi,fo=to,po=oo,Uc=as,Kc=be,Xc=Qe,Jc=W,Yc=bs,Zc=so,vo=co,Qc=Mc;function el(e,t,o,n,r,a,s){var l=vo(e,o),c=vo(t,o),d=s.get(c);if(d){uo(e,o,d);return}var _=a?a(l,c,o+"",e,t,s):void 0,f=_===void 0;if(f){var p=po(c),h=!p&&Kc(c),y=!p&&!h&&Zc(c);_=c,p||h||y?po(l)?_=l:Uc(l)?_=Gc(l):h?(f=!1,_=Vc(c,!0)):y?(f=!1,_=Fc(c,!0)):_=[]:Yc(c)||fo(c)?(_=l,fo(l)?_=Qc(l):(!Jc(l)||Xc(l))&&(_=Wc(c))):f=!1}f&&(s.set(c,_),r(_,c,n,a,s),s.delete(c)),uo(e,o,_)}var tl=el,ol=ni,nl=Kt,rl=pi,al=tl,il=W,sl=_o,cl=co;function ho(e,t,o,n,r){e!==t&&rl(t,function(a,s){if(r||(r=new ol),il(a))al(e,t,s,o,ho,n,r);else{var l=n?n(cl(e,s),a,s+"",e,t,r):void 0;l===void 0&&(l=a),nl(e,s,l)}},sl)}var ll=ho;function dl(e){return e}var go=dl;function _l(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 ul=_l,fl=ul,bo=Math.max;function pl(e,t,o){return t=bo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=bo(n.length-t,0),s=Array(a);++r<a;)s[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(s),fl(e,this,l)}}var vl=pl;function hl(e){return function(){return e}}var gl=hl,bl=gl,mo=Wt,ml=go,yl=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:bl(t),writable:!0})}:ml,$l=yl,wl=800,xl=16,Ol=Date.now;function Tl(e){var t=0,o=0;return function(){var n=Ol(),r=xl-(n-o);if(o=n,r>0){if(++t>=wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var kl=Tl,Nl=$l,Cl=kl,Sl=Cl(Nl),Al=Sl,Rl=go,jl=vl,El=Al;function Il(e,t){return El(jl(e,t,Rl),e+"")}var Pl=Il,Bl=je,Ll=nt,zl=lo,ql=W;function Hl(e,t,o){if(!ql(o))return!1;var n=typeof t;return(n=="number"?Ll(o)&&zl(t,o.length):n=="string"&&t in o)?Bl(o[t],e):!1}var Dl=Hl,Ml=Pl,Vl=Dl;function Fl(e){return Ml(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,s=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,s&&Vl(o[0],o[1],s)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var Gl=Fl,Wl=ll,Ul=Gl;Ul(function(e,t,o){Wl(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(P).join(".");return me(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const s=[o,r].filter(P).join(".");return n[r]=me(t(r,a,s),t,s),n},{}):e,Kl=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},yo=()=>{let e={};return{on:(s,l)=>{s in e?e[s].push(l):e[s]=[l]},has:s=>s in e,get:s=>e[s],emit:(s,...l)=>s in e?e[s].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$o=e=>!e&&e==null,P=e=>!$o(e),le=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ye(e,...t){const o={...e};return t.forEach(n=>{delete o[n]}),o}const Xl=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,s)=>a&&a[s],e);return r===void 0?o:r},He=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,s)=>(r[a]===void 0&&(r[a]={}),s===n.length-1&&(r[a]=o),r[a]),e)},Jl=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},Yl=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Zl=e=>"id"in e&&"root"in e,Ql=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},wo=["desktop","laptop","tablet","mobile"],td={mobile:320,tablet:768,laptop:1024,desktop:1920},$={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var od=0;function i(e,t,o,n,r,a){var s,l,c={};for(l in t)l=="ref"?s=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--od,__source:r,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)c[l]===void 0&&(c[l]=s[l]);return u.options.vnode&&u.options.vnode(d),d}const xo=u.createContext(),U=({children:e,value:t})=>i(xo.Provider,{value:t,children:e}),K=e=>async({target:t,id:o,ref:n,state:r,...a})=>{if(!("ResizeObserver"in window)){const s=await Promise.resolve().then(()=>a_);window.ResizeObserver=s.ResizeObserver}return u.render(i(U,{value:r,children:u.cloneElement(e,{ref:n,id:o,...a})}),t)},j=()=>Ko(xo),nd=(e={})=>typeof e=="object"&&P(e)&&wo.every(t=>t in e),rd=(e,t)=>e&&me(e,(o,n)=>{if(nd(n)){const r=n[t];return"parent"in r&&P(r.parent)?{...n[r.parent],...ye(r,"parent")}:r}return n}),X=(e,t)=>rd(e,t),de=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=td})=>{const[r,a]=pe("desktop"),s=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries({...n}).sort(([p,h],[y,x])=>h-x),_=((f=d.find(([p,h],y)=>{const[x,v]=d[y+1]||[];return c>=h&&c<v}))==null?void 0:f[0])||"desktop";a(_)};return bt(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>s(l)).observe(l),s(l))},[]),r},De=(e,t)=>`${e}${t}`,ad=e=>e.startsWith("px_"),id=e=>e.startsWith("percent_"),sd=(e,t)=>{let o=e,n=t;return ad(o)&&(o=o.replace("px_",""),n=De(t,"px")),id(o)&&(o=o.replace("percent_",""),n=De(t,"%")),{key:o,value:n}},cd=["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"],ld=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e={...e,...n,"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize}}return Object.entries(e).reduce((n,[r,a])=>{cd.includes(r)&&(a=De(a,"px"));const{key:s,value:l}=sd(r,a);if(n[s]=l,s==="innerHTML"&&(n.innerHTML=P(l)?`${l}`:""),s==="innerText"&&(n.innerText=P(l)?`${l}`:""),s==="children"&&(n.children=typeof l=="string"?P(l)?`${l}`:"":l),(s==="innerHTML"||s==="innerText"||s==="children")&&(typeof l=="string"&&l.length===0||$o(l))&&(n.display="none"),s.includes("borderWidth")&&(n.borderStyle="solid"),s==="corner"&&(n.borderRadius=De(l,"px")),s==="backgroundFit"&&(n.backgroundSize=l),s==="backgroundImage"&&P(l)&&(n.backgroundImage=`url(${l})`,n.backgroundRepeat="no-repeat"),s==="backgroundColorOpacity"&&P(n.backgroundColorOpacity)&&P(n.backgroundColor)){const c=Jl(n.backgroundColor);c&&(n.backgroundColor=Ql(`rgb(${c.r}, ${c.g}, ${c.b})`,+n.backgroundColorOpacity/100))}return s==="isBold"&&(n.fontWeight=l?"bold":"initial"),s==="isItalic"&&(n.fontStyle=l?"italic":"initial"),s==="isThrough"&&(n.textDecoration=l?"line-through":"initial"),n},e)},dd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,S=e=>P(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=dd(n)?ld({...e[o]},o):n,t),{}):e,$e=({children:e,...t})=>{var n;const o=(n=e==null?void 0:e.replace("script",""))==null?void 0:n.replace(/{{(.*?)}}/g,"<span>$1</span>");return i("div",{...t,dangerouslySetInnerHTML:{__html:o}})},Oo=()=>{const[e,t]=pe(!1);return[e,()=>t(o=>!o)]},we=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:i("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"})}),rt=()=>i("svg",{viewBox:"0 0 16 16",children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),_d=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`}),To=(e,t)=>{var _,f,p,h,y,x,v,w,m,T,I,L,F;const o=_d(t),n=S(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(h=n==null?void 0:n.container)==null?void 0:h.borderWidth,borderTopColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderTopStyle:"solid",borderLeftWidth:(x=n==null?void 0:n.container)==null?void 0:x.borderWidth,borderLeftColor:(v=n==null?void 0:n.container)==null?void 0:v.borderColor,borderLeftStyle:"solid"},s={left:(w=n==null?void 0:n.container)==null?void 0:w.left},l=(((m=n==null?void 0:n.icon)==null?void 0:m.animations)||[]).map(G=>o[G]).join(", "),c=P((T=n==null?void 0:n.icon)==null?void 0:T.gradientColor)&&((I=n==null?void 0:n.icon)!=null&&I.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(L=n.icon)==null?void 0:L.backgroundColor} 0%, ${(F=n==null?void 0:n.icon)==null?void 0:F.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d={...(n==null?void 0:n.icon)||{},animation:l,...c};return{hasIcon:r,arrowRules:a,bodyRules:s,iconRules:d}},xe=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=yt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);ne(()=>{o.forEach(n=>Kl(n))},[o])},Oe=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],ud=["borderWidth","borderColor","borderStyle"],ko=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),pd=e=>console.log(`Noop AdFox reach goal: ${e}`),vd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=pe(!1),a=z(null),s=c=>{clearTimeout(a.current),a.current=null},l=()=>{s(a.current),r(c=>!c)};return ne(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>s(a.current)),[e]),ne(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},No=({ref:e,openDelay:t})=>{const o=z(yo()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:s,toggle:l}=vd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return mt(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:s,toggle:l,click:()=>o.current.emit("click")}},hd=ve(({id:e},t)=>{var w,m,T,I,L,F,G;const o=z(null),[n,r]=Oo(),a=j(),s=de({targetRef:o,id:e}),l=X(a,s),c=S(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=To(l,{fade:$.fadein,pulse:$.pulse,wiggle:$.wiggle,gradient:$.gradient}),{isOpen:h,toggle:y,click:x}=No({ref:t,openDelay:(w=l==null?void 0:l.container)==null?void 0:w.delay});xe(l);const v=n?le(c.container,...ud):{};return i("div",{className:C($.root,{[$.legalOpen]:n}),ref:o,children:[i("div",{className:$.icon,style:_,onClick:y,children:d&&i("div",{className:$.iconTarget,children:i(rt,{})})}),i("div",{className:C($.body,{[$.bodyOpen]:h}),style:f,children:[i("div",{className:$.arrow,style:p}),i("div",{className:$.close,style:c==null?void 0:c.close,onClick:y,children:i(we,{})}),i("div",{className:$.container,style:c==null?void 0:c.container,children:[i("a",{href:(m=c==null?void 0:c.root)==null?void 0:m.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:x,children:[i("div",{className:$.inner,children:[i("div",{className:$.logo,style:c==null?void 0:c.logo}),i($e,{className:$.text,style:c==null?void 0:c.text,children:(T=c==null?void 0:c.text)==null?void 0:T.children})]}),i("div",{className:C($.button,{[$.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(I=c==null?void 0:c.button)==null?void 0:I.children})]}),i("div",{className:$.legalGap}),i("div",{className:$.legal,style:{...c==null?void 0:c.legal,...v},children:i("span",{className:$.legalText,children:i("span",{children:[i("span",{children:(L=c==null?void 0:c.legal)==null?void 0:L.children}),i("span",{className:$.legalButton,onClick:r,children:n?(F=c==null?void 0:c.legal)==null?void 0:F.buttonOpenText:(G=c==null?void 0:c.legal)==null?void 0:G.buttonHideText})]})})})]})]})]})}),gd=K(i(hd,{})),O={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},q={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},at=(e,t="root")=>{const o=z(),n=(e==null?void 0:e.yaReachGoal)||fd,r=(e==null?void 0:e.adfoxReachGoal)||pd,a=P(e)?le(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return ne(()=>{Yl(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},bd=()=>{var n,r,a,s,l;const e=j(),t=S(e),o=at(e);return i("a",{href:(n=t.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(q.root,{[q.variant2]:((r=t.root)==null?void 0:r.variant)==="variant2"}),style:t.root,onClick:o,children:[i("div",{className:q.body,children:[i("div",{className:q.line,style:t.line}),i("div",{className:q.bodyInner,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.text,style:t.text,children:i($e,{children:(a=t.text)==null?void 0:a.children})})]}),i("div",{className:q.button,style:t.button,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.buttonText,children:(s=t.button)==null?void 0:s.children})]})]}),i("div",{className:q.legal,style:t.legal,children:(l=t.legal)==null?void 0:l.children})]})},md=ve(({id:e},t)=>{var x,v,w,m;const o=z(null),n=j(),r=de({targetRef:o,id:e}),a=X(n,r),s=S(a),{isOpen:l,click:c,toggle:d}=No({ref:t,openDelay:(x=a==null?void 0:a.container)==null?void 0:x.delay});xe(a);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:h}=To(a,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),y=(v=s==null?void 0:s.title)==null?void 0:v.hasIcon;return i("div",{ref:o,className:C(O.root,{[O.desktop]:r==="desktop",[O.laptop]:r==="laptop",[O.tablet]:r==="tablet"}),children:[i("div",{className:O.icon,style:f,onClick:d,children:_&&i("div",{className:O.iconTarget,children:i(rt,{})})}),i("div",{className:C(O.body,{[O.bodyOpen]:l}),style:p,children:[i("div",{className:O.arrow,style:h}),i("div",{className:O.container,style:s.container,children:[i("div",{className:O.close,style:s.close,onClick:d,children:i(we,{})}),i("div",{className:O.promotion,style:s.promotion,children:(w=s.promotion)==null?void 0:w.children}),i("div",{className:O.head,children:[y&&i("div",{className:O.headIcon,style:le(s.title,"color"),children:i(rt,{})}),i("div",{className:O.headTitle,style:s.title,children:(m=s.title)==null?void 0:m.children})]}),i("div",{className:O.inner,onClick:c,children:(s.children||[]).map(T=>i(U,{value:T,children:i(bd,{})}))})]})]})]})}),yd=K(i(md,{})),B={root:"_root_1f2tm_1",content:"_content_1f2tm_11",laptop:"_laptop_1f2tm_20",tablet:"_tablet_1f2tm_24",desktop:"_desktop_1f2tm_28",wrapper:"_wrapper_1f2tm_32",overlay:"_overlay_1f2tm_36",close:"_close_1f2tm_42",body:"_body_1f2tm_50",logo:"_logo_1f2tm_62",text:"_text_1f2tm_68",button:"_button_1f2tm_72",legal:"_legal_1f2tm_87"},J=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],$d={root:"_root_2ic16_1"},wd=()=>{var o;const e=j(),t=S(e);return i("div",{className:$d.root,style:t.root,children:i($e,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},it=e=>{const t=z(yo()),[o,n]=pe(!1),r=c=>t.current.on("visible",c),a=c=>t.current.on("click",c),s=()=>n(!0),l=()=>n(!1);return ne(()=>{t.current.emit("visible",o)},[o]),mt(e,()=>({onVisible:r,onClick:a,show:s,hide:l})),{isOpen:o,show:s,hide:l,click:()=>t.current.emit("click")}},xd=ve(({id:e,className:t},o)=>{var y,x,v,w,m,T,I;const n=z(null),{isOpen:r,hide:a,click:s}=it(o),l=de({targetRef:n,id:e}),c=j(),d=X(c,l);xe(d),He(d,"button.percent_width",(y=d==null?void 0:d.button)==null?void 0:y.width),He(d,"legal.percent_width",(x=d==null?void 0:d.legal)==null?void 0:x.width);const _=S(d),f={alignItems:J((v=_.root)==null?void 0:v.align)},p={..._==null?void 0:_.button,justifyContent:J((w=_.root)==null?void 0:w.textAlign)},h={..._==null?void 0:_.legal,justifyContent:J((m=_.root)==null?void 0:m.textAlign)};return i("div",{className:C(B.root,t),ref:n,style:{display:r?"flex":"none"},children:[i("div",{className:B.overlay,style:_.overlay,onClick:a}),i("div",{className:B.wrapper,children:[i("div",{className:B.close,style:{color:(T=_.close)==null?void 0:T.backgroundColor},onClick:a,children:i(we,{})}),i("a",{href:(I=_.root)==null?void 0:I.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(B.content,{[B.desktop]:l==="desktop",[B.tablet]:l==="tablet",[B.laptop]:l==="laptop"}),style:_.root,onClick:s,children:i("div",{className:B.body,style:f,children:[i("div",{className:B.logo,style:_.logo}),i("div",{className:B.text,children:((_==null?void 0:_.children)||[]).map(L=>i(U,{value:L,children:i(wd,{})}))}),i("div",{className:B.button,style:p,children:p==null?void 0:p.children}),i("div",{className:B.legal,style:h,children:h==null?void 0:h.children})]})})]})]})}),Od=K(i(xd,{})),Y={root:"_root_1momy_1",content:"_content_1momy_11",desktop:"_desktop_1momy_23",overlay:"_overlay_1momy_28",close:"_close_1momy_34",title:"_title_1momy_41",wrapper:"_wrapper_1momy_56"},M={root:"_root_1ska4_1",desktop:"_desktop_1ska4_10",header:"_header_1ska4_15",logo:"_logo_1ska4_26",container:"_container_1ska4_33",body:"_body_1ska4_44",text:"_text_1ska4_61",button:"_button_1ska4_84",legal:"_legal_1ska4_102"},Td=({onClick:e})=>{var r,a,s,l;const t=j(),o=S(t),n=(t==null?void 0:t.device)||"desktop";return i("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(M.root,{[M.desktop]:n==="desktop"}),style:ye(o.root,...ko),onClick:e,children:[i("div",{className:M.header,style:o.header,children:i("div",{className:M.logo,style:o.logo})}),i("div",{className:M.container,style:le(o.root,...ko),children:[i("div",{className:M.body,children:[i("div",{className:M.logo}),i($e,{className:M.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),i("div",{children:[i("div",{className:M.button,style:o.button,children:(s=o.button)==null?void 0:s.children}),i("div",{className:M.legal,style:o.legal,children:(l=o.legal)==null?void 0:l.children})]})]})]})},kd=ve(({id:e},t)=>{var _,f;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s),d=S(c);return xe(c),i("div",{className:Y.root,style:{display:n?"flex":"none"},children:[i("div",{className:Y.overlay,style:d.overlay,onClick:r}),i("div",{ref:o,className:C(Y.content,{[Y.desktop]:s==="desktop"}),style:d.root,children:[i("div",{className:Y.close,style:{color:(_=d.close)==null?void 0:_.backgroundColor},onClick:r,children:i(we,{})}),i("div",{className:Y.title,style:d.title,children:(f=d.title)==null?void 0:f.children}),i("div",{className:Y.wrapper,children:(d.children||[]).map(p=>i(U,{value:{...p,device:s},children:i(Td,{onClick:a})}))})]})]})}),Nd=K(i(kd,{})),A={root:"_root_14xbh_1",content:"_content_14xbh_11",close:"_close_14xbh_19",overlay:"_overlay_14xbh_27",body:"_body_14xbh_33",desktop:"_desktop_14xbh_43",laptop:"_laptop_14xbh_48",tablet:"_tablet_14xbh_48",head:"_head_14xbh_53",title:"_title_14xbh_63",logo:"_logo_14xbh_76",wrapper:"_wrapper_14xbh_82",text:"_text_14xbh_89",button:"_button_14xbh_104",buttonHead:"_buttonHead_14xbh_119",buttonTarget:"_buttonTarget_14xbh_138",legal:"_legal_14xbh_154"},k={root:"_root_14sq5_1",left:"_left_14sq5_8",desktop:"_desktop_14sq5_15",teams:"_teams_14sq5_19",logo:"_logo_14sq5_25",league:"_league_14sq5_32",name:"_name_14sq5_37",right:"_right_14sq5_43",odd:"_odd_14sq5_54",oddLabel:"_oddLabel_14sq5_67",oddValue:"_oddValue_14sq5_76",team:"_team_14sq5_19",teamLogo:"_teamLogo_14sq5_100",teamName:"_teamName_14sq5_106"},Cd=()=>{var n,r,a,s,l,c,d;const e=j(),t=S(e),o=(e==null?void 0:e.device)||"desktop";return i("div",{className:C(k.root,{[k.desktop]:o==="desktop"}),children:[i("div",{className:k.left,children:[i("div",{className:k.teams,children:[i("div",{className:k.logo}),i("div",{className:k.logo})]}),i("div",{className:k.body,children:[i("div",{className:k.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),i("div",{className:k.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),i("div",{className:k.right,children:[i("div",{className:k.team,children:[i("div",{className:k.teamLogo}),i("div",{className:k.teamName,style:t.teams,children:(s=t.teams)==null?void 0:s.teamA})]}),i("div",{className:k.odd,children:[i("div",{className:k.oddLabel,style:t.oddLabel,children:(l=t.oddLabel)==null?void 0:l.children}),i("div",{className:k.oddValue,style:t.oddValue,children:(c=t.oddValue)==null?void 0:c.children})]}),i("div",{className:k.team,children:[i("div",{className:k.teamLogo}),i("div",{className:k.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Sd=ve(({id:e},t)=>{var x,v,w,m,T,I,L,F,G,ee,te,We,Ue,Ne;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s);He(c,"buttonWrapper.percent_width",(x=c==null?void 0:c.buttonWrapper)==null?void 0:x.width),He(c,"legal.percent_width",(v=c==null?void 0:c.legal)==null?void 0:v.width);const d=S(c);xe(c);const _={...d.root,alignItems:J((w=d.root)==null?void 0:w.align)},f={...d.content,alignItems:J((m=d.root)==null?void 0:m.align)},p={...d.text,textAlign:(T=d.root)==null?void 0:T.align},h={...d==null?void 0:d.button,justifyContent:J((I=d.root)==null?void 0:I.textAlign)},y={...d==null?void 0:d.legal,justifyContent:J((L=d.root)==null?void 0:L.textAlign)};return i("div",{className:A.root,ref:o,style:{display:n?"flex":"none"},children:[i("div",{className:A.overlay,style:d.overlay,onClick:r}),i("div",{className:C(A.content,{[A.desktop]:s==="desktop",[A.laptop]:s==="laptop",[A.tablet]:s==="tablet"}),children:[i("div",{className:A.close,style:{color:(F=d.close)==null?void 0:F.backgroundColor},onClick:r,children:i(we,{})}),i("a",{ref:o,href:(G=d.root)==null?void 0:G.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:a,children:i("div",{className:A.body,style:_,children:[i("div",{className:A.head,children:[i("div",{className:A.title,style:d.title,children:(ee=d.title)==null?void 0:ee.children}),i("div",{className:A.logo,style:d.logo})]}),i("div",{className:A.wrapper,style:f,children:(d.children||[]).map(i_=>i(U,{value:{...i_,device:s},children:i(Cd,{})}))}),i($e,{className:A.text,style:p,children:(te=d.text)==null?void 0:te.children}),i("div",{className:A.button,style:d.buttonWrapper,children:[i("div",{className:A.buttonHead,style:d.buttonHead,children:(We=d.buttonHead)==null?void 0:We.children}),i("div",{className:A.buttonTarget,style:h,children:(Ue=d.button)==null?void 0:Ue.children})]}),i("div",{className:A.legal,style:y,children:(Ne=d.legal)==null?void 0:Ne.children})]})})]})]})}),Ad=K(i(Sd,{})),H={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},Rd=()=>{var a,s,l,c,d,_,f;const e=j(),t=S(e),[o,n]=Oo(),r=at(e);return i("div",{className:H.root,style:t.root,children:[i("div",{className:H.background,style:t.background}),i("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:H.body,onClick:r,children:[i("div",{children:[i("div",{className:H.rowFirst,style:t.rowFirst,children:(s=t.rowFirst)==null?void 0:s.children}),i("div",{className:H.rowSecond,style:t.rowSecond,children:(l=t.rowSecond)==null?void 0:l.children}),i("div",{className:H.bookmaker,children:"winline"})]}),i("div",{className:H.button,style:t.button,children:(c=t.button)==null?void 0:c.children})]}),i("div",{className:C(H.legal,{[H.legalOpen]:o}),style:t.legalInfo,children:i("span",{className:H.legalText,children:[i("span",{children:(d=t.legalInfo)==null?void 0:d.children}),i("span",{className:H.legalButton,style:t.legalInfoButton,onClick:n,children:o?(_=t.legalInfoButton)==null?void 0:_.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},jd=K(i(()=>{const e=z(null),t=j(),n=X(t,"desktop"),r=S(n);return i("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>i(U,{value:a,children:i(Rd,{})}))})},{})),N={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Co={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Ed=()=>{var o;const e=j(),t=S(e);return i("div",{className:C(Co.root,{[Co.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ye(t.root,...Oe),children:(o=t.root)==null?void 0:o.children})},D={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Id=()=>{var n,r,a;const e=j(),t=S(e),o=ye(t.root,...Oe);return i("div",{className:D.root,children:[i("div",{className:D.odd,children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),i("div",{className:D.coef,children:[i("div",{className:D.coefHead,style:t.coef,children:"X"}),i("div",{className:D.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),i("div",{className:C(D.odd,D.oddReverse),children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},E={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Pd=()=>{const e=j(),t=S(e);return i("div",{className:C(E.root,{[E.desktop]:(e==null?void 0:e.device)==="desktop",[E.laptop]:(e==null?void 0:e.device)==="laptop",[E.tablet]:(e==null?void 0:e.device)==="tablet"}),style:ye(t.root,...Oe),children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),i("div",{className:E.titleValue,style:t.titleValue,children:t.titleValue.children})]}),i("div",{children:[i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team1Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value1.children})]}),i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team2Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value2.children})]})]})]})},Bd=(e=[])=>{var a;const t=e.length,[o,n]=pe(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return ne(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},Ld=3700,zd=K(i(()=>{var f,p,h,y,x;const e=z(null),t=j(),o=de({targetRef:e}),n=X(t,o),r=S(n),a=at(n),s=v=>({text:i(Ed,{}),matches:i(Id,{}),matchesOneTwo:i(Pd,{})})[v],l=(r.children||[]).filter(Boolean).map(v=>{var w,m;return{...v,animationName:(w=v==null?void 0:v.root)==null?void 0:w.animationName,animationDuration:((m=v==null?void 0:v.root)==null?void 0:m.animationDuration)||Ld}}),c=Bd(l),d=S(l[c]||{}),_=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?le((d==null?void 0:d.root)||{},...Oe):le(r.background,...Oe);return i("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop",[N.tablet]:o==="tablet",[N.variant2]:((h=r.root)==null?void 0:h.variant)==="variant2"}),style:r.root,onClick:a,children:[i("div",{className:N.background,style:_}),i("div",{className:N.promotion,style:r.promotion,children:(y=r.promotion)==null?void 0:y.children}),i("div",{className:N.content,children:[i("div",{className:N.left,children:i("div",{className:N.logo,style:r.logo})}),i("div",{className:N.center,children:(r.children||[]).map((v,w)=>{var m,T;return i("div",{className:N.slide,style:{animationName:c===w?N[((m=v.root)==null?void 0:m.animationName)||"fade-in-out"]:"none",animationDuration:`${(T=v.root)==null?void 0:T.animationDuration}ms`},children:i(U,{value:{...v,device:o},children:s(v.name)})})})}),i("div",{className:N.right,children:[i("div",{className:N.logo,style:r.logo}),i("div",{className:N.buttonWrapper,children:i("div",{className:N.button,style:r.button,children:[i("div",{className:N.logo,style:r.logo}),(x=r.button)==null?void 0:x.children]})})]})]})]})},{})),qd=(e,t,o,n,r=wo)=>{const a={...e};return r.forEach(s=>{a[t]={...a[t],[s]:{...a[t][s],[o]:typeof n=="function"?n(Xl(a,`${t}.${s}.${o}`)):n}}}),a};var Z=[],Hd=function(){return Z.some(function(e){return e.activeTargets.length>0})},Dd=function(){return Z.some(function(e){return e.skippedTargets.length>0})},So="ResizeObserver loop completed with undelivered notifications.",Md=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:So}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=So),window.dispatchEvent(e)},Te;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Te||(Te={}));var Q=function(e){return Object.freeze(e)},Ao=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,Q(this)}return e}(),Ro=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,Q(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,s=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:s,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),st=function(e){return e instanceof SVGElement&&"getBBox"in e},jo=function(e){if(st(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,s=r.offsetHeight;return!(a||s||e.getClientRects().length)},Eo=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)},Vd=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},ke=typeof window<"u"?window:{},Me=new WeakMap,Io=/auto|scroll/,Fd=/^tb|vertical/,Gd=/msie|trident/i.test(ke.navigator&&ke.navigator.userAgent),V=function(e){return parseFloat(e||"0")},_e=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Ao((o?t:e)||0,(o?e:t)||0)},Po=Q({devicePixelContentBoxSize:_e(),borderBoxSize:_e(),contentBoxSize:_e(),contentRect:new Ro(0,0,0,0)}),Bo=function(e,t){if(t===void 0&&(t=!1),Me.has(e)&&!t)return Me.get(e);if(jo(e))return Me.set(e,Po),Po;var o=getComputedStyle(e),n=st(e)&&e.ownerSVGElement&&e.getBBox(),r=!Gd&&o.boxSizing==="border-box",a=Fd.test(o.writingMode||""),s=!n&&Io.test(o.overflowY||""),l=!n&&Io.test(o.overflowX||""),c=n?0:V(o.paddingTop),d=n?0:V(o.paddingRight),_=n?0:V(o.paddingBottom),f=n?0:V(o.paddingLeft),p=n?0:V(o.borderTopWidth),h=n?0:V(o.borderRightWidth),y=n?0:V(o.borderBottomWidth),x=n?0:V(o.borderLeftWidth),v=f+d,w=c+_,m=x+h,T=p+y,I=l?e.offsetHeight-T-e.clientHeight:0,L=s?e.offsetWidth-m-e.clientWidth:0,F=r?v+m:0,G=r?w+T:0,ee=n?n.width:V(o.width)-F-L,te=n?n.height:V(o.height)-G-I,We=ee+v+L+m,Ue=te+w+I+T,Ne=Q({devicePixelContentBoxSize:_e(Math.round(ee*devicePixelRatio),Math.round(te*devicePixelRatio),a),borderBoxSize:_e(We,Ue,a),contentBoxSize:_e(ee,te,a),contentRect:new Ro(f,c,ee,te)});return Me.set(e,Ne),Ne},Lo=function(e,t,o){var n=Bo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Te.DEVICE_PIXEL_CONTENT_BOX:return s;case Te.BORDER_BOX:return r;default:return a}},zo=function(){function e(t){var o=Bo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=Q([o.borderBoxSize]),this.contentBoxSize=Q([o.contentBoxSize]),this.devicePixelContentBoxSize=Q([o.devicePixelContentBoxSize])}return e}(),qo=function(e){if(jo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Wd=function(){var e=1/0,t=[];Z.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(d){var _=new zo(d.target),f=qo(d.target);l.push(_),d.lastReportedSize=Lo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Ho=function(e){Z.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(qo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Ud=function(){var e=0;for(Ho(e);Hd();)e=Wd(),Ho(e);return Dd()&&Md(),e>0},ct,Do=[],Kd=function(){return Do.splice(0).forEach(function(e){return e()})},Xd=function(e){if(!ct){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Kd()}).observe(o,n),ct=function(){o.textContent="".concat(t?t--:t++)}}Do.push(e),ct()},Jd=function(e){Xd(function(){requestAnimationFrame(e)})},Ve=0,Yd=function(){return!!Ve},Zd=250,Qd={attributes:!0,characterData:!0,childList:!0,subtree:!0},Mo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Vo=function(e){return e===void 0&&(e=0),Date.now()+e},lt=!1,e_=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=Zd),!lt){lt=!0;var n=Vo(t);Jd(function(){var r=!1;try{r=Ud()}finally{if(lt=!1,t=n-Vo(),!Yd())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,Qd)};document.body?o():ke.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Mo.forEach(function(o){return ke.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Mo.forEach(function(o){return ke.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),dt=new e_,Fo=function(e){!Ve&&e>0&&dt.start(),Ve+=e,!Ve&&dt.stop()},t_=function(e){return!st(e)&&!Vd(e)&&getComputedStyle(e).display==="inline"},o_=function(){function e(t,o){this.target=t,this.observedBox=o||Te.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Lo(this.target,this.observedBox,!0);return t_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),n_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Fe=new WeakMap,Go=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ge=function(){function e(){}return e.connect=function(t,o){var n=new n_(t,o);Fe.set(t,n)},e.observe=function(t,o,n){var r=Fe.get(t),a=r.observationTargets.length===0;Go(r.observationTargets,o)<0&&(a&&Z.push(r),r.observationTargets.push(new o_(o,n&&n.box)),Fo(1),dt.schedule())},e.unobserve=function(t,o){var n=Fe.get(t),r=Go(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&Z.splice(Z.indexOf(n),1),n.observationTargets.splice(r,1),Fo(-1))},e.disconnect=function(t){var o=this,n=Fe.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),r_=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.");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.unobserve(this,t)},e.prototype.disconnect=function(){Ge.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const a_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:r_,ResizeObserverEntry:zo,ResizeObserverSize:Ao},Symbol.toStringTag,{value:"Module"}));R.BonusCard=jd,R.ComplexGift=yd,R.ComplexPopup=Nd,R.ExpressPopup=Ad,R.SimpleGift=gd,R.SimplePopup=Od,R.WideCard=zd,R.findDeep=ed,R.isValidTemplate=Zl,R.modifyState=qd,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var s=typeof a;if(s==="string"||s==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(s==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ie);const S=P;var Y,g,M,ce,be=0,gt=[],Pe=[],bt=_.options.__b,mt=_.options.__r,yt=_.options.diffed,$t=_.options.__c,wt=_.options.unmount;function me(e,t){_.options.__h&&_.options.__h(g,e,be||t),be=0;var o=g.__H||(g.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Pe}),o.__[e]}function ye(e){return be=1,tn(kt,e)}function tn(e,t,o){var n=me(Y++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):kt(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=g,!g.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(v){return v.__c});if(u.every(function(v){return!v.__N}))return!a||a.call(this,l,c,d);var f=!1;return u.forEach(function(v){if(v.__N){var b=v.__[0];v.__=v.__N,v.__N=void 0,b!==v.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};g.u=!0;var a=g.shouldComponentUpdate,s=g.componentWillUpdate;g.componentWillUpdate=function(l,c,d){if(this.__e){var u=a;a=void 0,r(l,c,d),a=u}s&&s.call(this,l,c,d)},g.shouldComponentUpdate=r}return n.__N||n.__}function le(e,t){var o=me(Y++,3);!_.options.__s&&ot(o.__H,t)&&(o.__=e,o.i=t,g.__H.__h.push(o))}function Ot(e,t){var o=me(Y++,4);!_.options.__s&&ot(o.__H,t)&&(o.__=e,o.i=t,g.__h.push(o))}function V(e){return be=5,Nt(function(){return{current:e}},[])}function Tt(e,t,o){be=6,Ot(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 Nt(e,t){var o=me(Y++,7);return ot(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function on(e){var t=g.context[e.__c],o=me(Y++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(g)),t.props.value):e.__}function nn(){for(var e;e=gt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(tt),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){g=null,bt&&bt(e)},_.options.__r=function(e){mt&&mt(e),Y=0;var t=(g=e.__c).__H;t&&(M===g?(t.__h=[],g.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Pe,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(tt),t.__h=[])),M=g},_.options.diffed=function(e){yt&&yt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(gt.push(t)!==1&&ce===_.options.requestAnimationFrame||((ce=_.options.requestAnimationFrame)||rn)(nn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Pe&&(o.__=o.__V),o.i=void 0,o.__V=Pe})),M=g=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||tt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),$t&&$t(e,t)},_.options.unmount=function(e){wt&&wt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var xt=typeof requestAnimationFrame=="function";function rn(e){var t,o=function(){clearTimeout(n),xt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);xt&&(t=requestAnimationFrame(o))}function Be(e){var t=g,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),g=t}function tt(e){var t=g;e.__c=e.__(),g=t}function ot(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function kt(e,t){return typeof t=="function"?t(e):t}function Ct(e,t){for(var o in t)e[o]=t[o];return e}function St(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 At(e){this.props=e}(At.prototype=new _.Component).isPureReactComponent=!0,At.prototype.shouldComponentUpdate=function(e,t){return St(this.props,e)||St(this.state,t)};var Rt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Rt&&Rt(e)};var an=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function $e(e){function t(o){var n=Ct({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=an,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}sn(e,t,o,n)};var jt=_.options.unmount;function Et(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=Ct({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Et(n,t,o)})),e}function It(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return It(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 nt(){this.__u=0,this.t=null,this.__b=null}function Pt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Le(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),jt&&jt(e)},(nt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Pt(n.__v),a=!1,s=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=s;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=It(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},nt.prototype.componentWillUnmount=function(){this.t=[]},nt.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]=Et(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Bt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Le.prototype=new _.Component).__a=function(e){var t=this,o=Pt(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Bt(t,e,n)):r()};o?o(a):a()}},Le.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Le.prototype.componentDidUpdate=Le.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Bt(e,o,t)})};var cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ln=/^(?: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]/,dn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_n=/[A-Z0-9]/g,un=typeof document!="undefined",fn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Lt=_.options.event;function vn(){}function pn(){return this.cancelBubble}function hn(){return this.defaultPrevented}_.options.event=function(e){return Lt&&(e=Lt(e)),e.persist=vn,e.isPropagationStopped=pn,e.isDefaultPrevented=hn,e.nativeEvent=e};var gn={enumerable:!1,configurable:!0,get:function(){return this.class}},zt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||un&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||fn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":dn.test(a)?a=l:n.indexOf("-")===-1&&ln.test(a)?a=a.replace(_n,"-$&").toLowerCase():s===null&&(s=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=s}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",gn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=cn,zt&&zt(e)};var qt=_.options.__r;_.options.__r=function(e){qt&&qt(e),e.__c};var Ht=_.options.diffed;_.options.diffed=function(e){Ht&&Ht(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 bn(){this.__data__=[],this.size=0}var mn=bn;function yn(e,t){return e===t||e!==e&&t!==t}var ze=yn,$n=ze;function wn(e,t){for(var o=e.length;o--;)if($n(e[o][0],t))return o;return-1}var qe=wn,On=qe,Tn=Array.prototype,Nn=Tn.splice;function xn(e){var t=this.__data__,o=On(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Nn.call(t,o,1),--this.size,!0}var kn=xn,Cn=qe;function Sn(e){var t=this.__data__,o=Cn(t,e);return o<0?void 0:t[o][1]}var An=Sn,Rn=qe;function jn(e){return Rn(this.__data__,e)>-1}var En=jn,In=qe;function Pn(e,t){var o=this.__data__,n=In(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Bn=Pn,Ln=mn,zn=kn,qn=An,Hn=En,Dn=Bn;function de(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])}}de.prototype.clear=Ln,de.prototype.delete=zn,de.prototype.get=qn,de.prototype.has=Hn,de.prototype.set=Dn;var He=de,Mn=He;function Vn(){this.__data__=new Mn,this.size=0}var Fn=Vn;function Gn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Wn=Gn;function Un(e){return this.__data__.get(e)}var Kn=Un;function Xn(e){return this.__data__.has(e)}var Jn=Xn,Yn=typeof $=="object"&&$&&$.Object===Object&&$,Dt=Yn,Zn=Dt,Qn=typeof self=="object"&&self&&self.Object===Object&&self,er=Zn||Qn||Function("return this")(),_e=er,tr=_e,or=tr.Symbol,Mt=or,Vt=Mt,Ft=Object.prototype,nr=Ft.hasOwnProperty,rr=Ft.toString,we=Vt?Vt.toStringTag:void 0;function ar(e){var t=nr.call(e,we),o=e[we];try{e[we]=void 0;var n=!0}catch(a){}var r=rr.call(e);return n&&(t?e[we]=o:delete e[we]),r}var ir=ar,sr=Object.prototype,cr=sr.toString;function lr(e){return cr.call(e)}var dr=lr,Gt=Mt,_r=ir,ur=dr,fr="[object Null]",vr="[object Undefined]",Wt=Gt?Gt.toStringTag:void 0;function pr(e){return e==null?e===void 0?vr:fr:Wt&&Wt in Object(e)?_r(e):ur(e)}var De=pr;function hr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Z=hr,gr=De,br=Z,mr="[object AsyncFunction]",yr="[object Function]",$r="[object GeneratorFunction]",wr="[object Proxy]";function Or(e){if(!br(e))return!1;var t=gr(e);return t==yr||t==$r||t==mr||t==wr}var rt=Or,Tr=_e,Nr=Tr["__core-js_shared__"],xr=Nr,at=xr,Ut=function(){var e=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function kr(e){return!!Ut&&Ut in e}var Cr=kr,Sr=Function.prototype,Ar=Sr.toString;function Rr(e){if(e!=null){try{return Ar.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var jr=Rr,Er=rt,Ir=Cr,Pr=Z,Br=jr,Lr=/[\\^$.*+?()[\]{}|]/g,zr=/^\[object .+?Constructor\]$/,qr=Function.prototype,Hr=Object.prototype,Dr=qr.toString,Mr=Hr.hasOwnProperty,Vr=RegExp("^"+Dr.call(Mr).replace(Lr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fr(e){if(!Pr(e)||Ir(e))return!1;var t=Er(e)?Vr:zr;return t.test(Br(e))}var Gr=Fr;function Wr(e,t){return e==null?void 0:e[t]}var Ur=Wr,Kr=Gr,Xr=Ur;function Jr(e,t){var o=Xr(e,t);return Kr(o)?o:void 0}var it=Jr,Yr=it,Zr=_e,Qr=Yr(Zr,"Map"),Kt=Qr,ea=it,ta=ea(Object,"create"),Me=ta,Xt=Me;function oa(){this.__data__=Xt?Xt(null):{},this.size=0}var na=oa;function ra(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aa=ra,ia=Me,sa="__lodash_hash_undefined__",ca=Object.prototype,la=ca.hasOwnProperty;function da(e){var t=this.__data__;if(ia){var o=t[e];return o===sa?void 0:o}return la.call(t,e)?t[e]:void 0}var _a=da,ua=Me,fa=Object.prototype,va=fa.hasOwnProperty;function pa(e){var t=this.__data__;return ua?t[e]!==void 0:va.call(t,e)}var ha=pa,ga=Me,ba="__lodash_hash_undefined__";function ma(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ga&&t===void 0?ba:t,this}var ya=ma,$a=na,wa=aa,Oa=_a,Ta=ha,Na=ya;function ue(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])}}ue.prototype.clear=$a,ue.prototype.delete=wa,ue.prototype.get=Oa,ue.prototype.has=Ta,ue.prototype.set=Na;var xa=ue,Jt=xa,ka=He,Ca=Kt;function Sa(){this.size=0,this.__data__={hash:new Jt,map:new(Ca||ka),string:new Jt}}var Aa=Sa;function Ra(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ja=Ra,Ea=ja;function Ia(e,t){var o=e.__data__;return Ea(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=Ia,Pa=Ve;function Ba(e){var t=Pa(this,e).delete(e);return this.size-=t?1:0,t}var La=Ba,za=Ve;function qa(e){return za(this,e).get(e)}var Ha=qa,Da=Ve;function Ma(e){return Da(this,e).has(e)}var Va=Ma,Fa=Ve;function Ga(e,t){var o=Fa(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Wa=Ga,Ua=Aa,Ka=La,Xa=Ha,Ja=Va,Ya=Wa;function fe(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])}}fe.prototype.clear=Ua,fe.prototype.delete=Ka,fe.prototype.get=Xa,fe.prototype.has=Ja,fe.prototype.set=Ya;var Za=fe,Qa=He,ei=Kt,ti=Za,oi=200;function ni(e,t){var o=this.__data__;if(o instanceof Qa){var n=o.__data__;if(!ei||n.length<oi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ti(n)}return o.set(e,t),this.size=o.size,this}var ri=ni,ai=He,ii=Fn,si=Wn,ci=Kn,li=Jn,di=ri;function ve(e){var t=this.__data__=new ai(e);this.size=t.size}ve.prototype.clear=ii,ve.prototype.delete=si,ve.prototype.get=ci,ve.prototype.has=li,ve.prototype.set=di;var _i=ve,ui=it,fi=function(){try{var e=ui(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Yt=fi,Zt=Yt;function vi(e,t,o){t=="__proto__"&&Zt?Zt(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var st=vi,pi=st,hi=ze;function gi(e,t,o){(o!==void 0&&!hi(e[t],o)||o===void 0&&!(t in e))&&pi(e,t,o)}var Qt=gi;function bi(e){return function(t,o,n){for(var r=-1,a=Object(t),s=n(t),l=s.length;l--;){var c=s[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var mi=bi,yi=mi,$i=yi(),wi=$i,Fe={},Oi={get exports(){return Fe},set exports(e){Fe=e}};(function(e,t){var o=_e,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(d,u){if(u)return d.slice();var f=d.length,v=l?l(f):new d.constructor(f);return d.copy(v),v}e.exports=c})(Oi,Fe);var Ti=_e,Ni=Ti.Uint8Array,xi=Ni,eo=xi;function ki(e){var t=new e.constructor(e.byteLength);return new eo(t).set(new eo(e)),t}var Ci=ki,Si=Ci;function Ai(e,t){var o=t?Si(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ri=Ai;function ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ei=ji,Ii=Z,to=Object.create,Pi=function(){function e(){}return function(t){if(!Ii(t))return{};if(to)return to(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Bi=Pi;function Li(e,t){return function(o){return e(t(o))}}var zi=Li,qi=zi,Hi=qi(Object.getPrototypeOf,Object),oo=Hi,Di=Object.prototype;function Mi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Di;return e===o}var no=Mi,Vi=Bi,Fi=oo,Gi=no;function Wi(e){return typeof e.constructor=="function"&&!Gi(e)?Vi(Fi(e)):{}}var Ui=Wi;function Ki(e){return e!=null&&typeof e=="object"}var Oe=Ki,Xi=De,Ji=Oe,Yi="[object Arguments]";function Zi(e){return Ji(e)&&Xi(e)==Yi}var Qi=Zi,ro=Qi,es=Oe,ao=Object.prototype,ts=ao.hasOwnProperty,os=ao.propertyIsEnumerable,ns=ro(function(){return arguments}())?ro:function(e){return es(e)&&ts.call(e,"callee")&&!os.call(e,"callee")},io=ns,rs=Array.isArray,so=rs,as=9007199254740991;function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=as}var co=is,ss=rt,cs=co;function ls(e){return e!=null&&cs(e.length)&&!ss(e)}var ct=ls,ds=ct,_s=Oe;function us(e){return _s(e)&&ds(e)}var fs=us,Te={},vs={get exports(){return Te},set exports(e){Te=e}};function ps(){return!1}var hs=ps;(function(e,t){var o=_e,n=hs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===r,l=s?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(vs,Te);var gs=De,bs=oo,ms=Oe,ys="[object Object]",$s=Function.prototype,ws=Object.prototype,lo=$s.toString,Os=ws.hasOwnProperty,Ts=lo.call(Object);function Ns(e){if(!ms(e)||gs(e)!=ys)return!1;var t=bs(e);if(t===null)return!0;var o=Os.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&lo.call(o)==Ts}var xs=Ns,ks=De,Cs=co,Ss=Oe,As="[object Arguments]",Rs="[object Array]",js="[object Boolean]",Es="[object Date]",Is="[object Error]",Ps="[object Function]",Bs="[object Map]",Ls="[object Number]",zs="[object Object]",qs="[object RegExp]",Hs="[object Set]",Ds="[object String]",Ms="[object WeakMap]",Vs="[object ArrayBuffer]",Fs="[object DataView]",Gs="[object Float32Array]",Ws="[object Float64Array]",Us="[object Int8Array]",Ks="[object Int16Array]",Xs="[object Int32Array]",Js="[object Uint8Array]",Ys="[object Uint8ClampedArray]",Zs="[object Uint16Array]",Qs="[object Uint32Array]",y={};y[Gs]=y[Ws]=y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=!0,y[As]=y[Rs]=y[Vs]=y[js]=y[Fs]=y[Es]=y[Is]=y[Ps]=y[Bs]=y[Ls]=y[zs]=y[qs]=y[Hs]=y[Ds]=y[Ms]=!1;function ec(e){return Ss(e)&&Cs(e.length)&&!!y[ks(e)]}var tc=ec;function oc(e){return function(t){return e(t)}}var nc=oc,Ge={},rc={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Dt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||s&&s.binding&&s.binding("util")}catch(d){}}();e.exports=l})(rc,Ge);var ac=tc,ic=nc,_o=Ge,uo=_o&&_o.isTypedArray,sc=uo?ic(uo):ac,fo=sc;function cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var vo=cc,lc=st,dc=ze,_c=Object.prototype,uc=_c.hasOwnProperty;function fc(e,t,o){var n=e[t];(!(uc.call(e,t)&&dc(n,o))||o===void 0&&!(t in e))&&lc(e,t,o)}var vc=fc,pc=vc,hc=st;function gc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?hc(o,l,c):pc(o,l,c)}return o}var bc=gc;function mc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var yc=mc,$c=9007199254740991,wc=/^(?:0|[1-9]\d*)$/;function Oc(e,t){var o=typeof e;return t=t==null?$c:t,!!t&&(o=="number"||o!="symbol"&&wc.test(e))&&e>-1&&e%1==0&&e<t}var po=Oc,Tc=yc,Nc=io,xc=so,kc=Te,Cc=po,Sc=fo,Ac=Object.prototype,Rc=Ac.hasOwnProperty;function jc(e,t){var o=xc(e),n=!o&&Nc(e),r=!o&&!n&&kc(e),a=!o&&!n&&!r&&Sc(e),s=o||n||r||a,l=s?Tc(e.length,String):[],c=l.length;for(var d in e)(t||Rc.call(e,d))&&!(s&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Cc(d,c)))&&l.push(d);return l}var Ec=jc;function Ic(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Pc=Ic,Bc=Z,Lc=no,zc=Pc,qc=Object.prototype,Hc=qc.hasOwnProperty;function Dc(e){if(!Bc(e))return zc(e);var t=Lc(e),o=[];for(var n in e)n=="constructor"&&(t||!Hc.call(e,n))||o.push(n);return o}var Mc=Dc,Vc=Ec,Fc=Mc,Gc=ct;function Wc(e){return Gc(e)?Vc(e,!0):Fc(e)}var ho=Wc,Uc=bc,Kc=ho;function Xc(e){return Uc(e,Kc(e))}var Jc=Xc,go=Qt,Yc=Fe,Zc=Ri,Qc=Ei,el=Ui,bo=io,mo=so,tl=fs,ol=Te,nl=rt,rl=Z,al=xs,il=fo,yo=vo,sl=Jc;function cl(e,t,o,n,r,a,s){var l=yo(e,o),c=yo(t,o),d=s.get(c);if(d){go(e,o,d);return}var u=a?a(l,c,o+"",e,t,s):void 0,f=u===void 0;if(f){var v=mo(c),b=!v&&ol(c),O=!v&&!b&&il(c);u=c,v||b||O?mo(l)?u=l:tl(l)?u=Qc(l):b?(f=!1,u=Yc(c,!0)):O?(f=!1,u=Zc(c,!0)):u=[]:al(c)||bo(c)?(u=l,bo(l)?u=sl(l):(!rl(l)||nl(l))&&(u=el(c))):f=!1}f&&(s.set(c,u),r(u,c,n,a,s),s.delete(c)),go(e,o,u)}var ll=cl,dl=_i,_l=Qt,ul=wi,fl=ll,vl=Z,pl=ho,hl=vo;function $o(e,t,o,n,r){e!==t&&ul(t,function(a,s){if(r||(r=new dl),vl(a))fl(e,t,s,o,$o,n,r);else{var l=n?n(hl(e,s),a,s+"",e,t,r):void 0;l===void 0&&(l=a),_l(e,s,l)}},pl)}var gl=$o;function bl(e){return e}var wo=bl;function ml(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 yl=ml,$l=yl,Oo=Math.max;function wl(e,t,o){return t=Oo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=Oo(n.length-t,0),s=Array(a);++r<a;)s[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(s),$l(e,this,l)}}var Ol=wl;function Tl(e){return function(){return e}}var Nl=Tl,xl=Nl,To=Yt,kl=wo,Cl=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:xl(t),writable:!0})}:kl,Sl=Cl,Al=800,Rl=16,jl=Date.now;function El(e){var t=0,o=0;return function(){var n=jl(),r=Rl-(n-o);if(o=n,r>0){if(++t>=Al)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Il=El,Pl=Sl,Bl=Il,Ll=Bl(Pl),zl=Ll,ql=wo,Hl=Ol,Dl=zl;function Ml(e,t){return Dl(Hl(e,t,ql),e+"")}var Vl=Ml,Fl=ze,Gl=ct,Wl=po,Ul=Z;function Kl(e,t,o){if(!Ul(o))return!1;var n=typeof t;return(n=="number"?Gl(o)&&Wl(t,o.length):n=="string"&&t in o)?Fl(o[t],e):!1}var Xl=Kl,Jl=Vl,Yl=Xl;function Zl(e){return Jl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,s=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,s&&Yl(o[0],o[1],s)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var Ql=Zl,ed=gl,td=Ql;td(function(e,t,o){ed(e,t,o)});const Ne=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(q).join(".");return Ne(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const s=[o,r].filter(q).join(".");return n[r]=Ne(t(r,a,s),t,s),n},{}):e,od=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},No=()=>{let e={};return{on:(s,l)=>{s in e?e[s].push(l):e[s]=[l]},has:s=>s in e,get:s=>e[s],emit:(s,...l)=>s in e?e[s].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},xo=e=>!e&&e==null,q=e=>!xo(e),pe=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function xe(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const nd=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,s)=>a&&a[s],e);return r===void 0?o:r},We=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,s)=>(r[a]===void 0&&(r[a]={}),s===n.length-1&&(r[a]=o),r[a]),e)},rd=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},ad=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),id=e=>"id"in e&&"root"in e,sd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),cd=(e,t)=>{try{Ne(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},ko=["desktop","laptop","tablet","mobile"],ld={mobile:320,tablet:768,laptop:1024,desktop:1920},T={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var dd=0;function i(e,t,o,n,r,a){var s,l,c={};for(l in t)l=="ref"?s=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--dd,__source:r,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)c[l]===void 0&&(c[l]=s[l]);return _.options.vnode&&_.options.vnode(d),d}const Co=_.createContext(),Q=({children:e,value:t})=>i(Co.Provider,{value:t,children:e}),ee=e=>s=>en(this,null,function*(){var l=s,{target:t,id:o,ref:n,state:r}=l,a=ht(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>f_);window.ResizeObserver=c.ResizeObserver}return _.render(i(Q,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>on(Co),_d=(e={})=>typeof e=="object"&&q(e)&&ko.every(t=>t in e),ud=(e,t)=>e&&Ne(e,(o,n)=>{if(_d(n)){const r=n[t];return"parent"in r&&q(r.parent)?m(m({},n[r.parent]),xe(r,"parent")):r}return n}),te=(e,t)=>ud(e,t),he=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=ld})=>{const[r,a]=ye("desktop"),s=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([v,b],[O,x])=>b-x),u=((f=d.find(([v,b],O)=>{const[x,h]=d[O+1]||[];return c>=b&&c<h}))==null?void 0:f[0])||"desktop";a(u)};return Ot(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>s(l)).observe(l),s(l))},[]),r},Ue=(e,t)=>`${e}${t}`,fd=e=>e.startsWith("px_"),vd=e=>e.startsWith("percent_"),pd=(e,t)=>{let o=e,n=t;return fd(o)&&(o=o.replace("px_",""),n=Ue(t,"px")),vd(o)&&(o=o.replace("percent_",""),n=Ue(t,"%")),{key:o,value:n}},hd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],gd=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e=I(m(m({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{hd.includes(r)&&(a=Ue(a,"px"));const{key:s,value:l}=pd(r,a);if(n[s]=l,s==="innerHTML"&&(n.innerHTML=q(l)?`${l}`:""),s==="innerText"&&(n.innerText=q(l)?`${l}`:""),s==="children"&&(n.children=typeof l=="string"?q(l)?`${l}`:"":l),(s==="innerHTML"||s==="innerText"||s==="children")&&(typeof l=="string"&&l.length===0||xo(l))&&(n.display="none"),s.includes("borderWidth")&&(n.borderStyle="solid"),s==="corner"&&(n.borderRadius=Ue(l,"px")),s==="backgroundFit"&&(n.backgroundSize=l),s==="backgroundImage"&&q(l)&&(n.backgroundImage=`url(${l})`,n.backgroundRepeat="no-repeat"),s==="backgroundColorOpacity"&&q(n.backgroundColorOpacity)&&q(n.backgroundColor)){const c=rd(n.backgroundColor);c&&(n.backgroundColor=sd(`rgb(${c.r}, ${c.g}, ${c.b})`,+n.backgroundColorOpacity/100))}return s==="isBold"&&(n.fontWeight=l?"bold":"initial"),s==="isItalic"&&(n.fontStyle=l?"italic":"initial"),s==="isThrough"&&(n.textDecoration=l?"line-through":"initial"),n},e)},bd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>q(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=bd(n)?gd(m({},e[o]),o):n,t),{}):e,ke=o=>{var n=o,{children:e}=n,t=ht(n,["children"]);var a;const r=(a=e==null?void 0:e.replace("script",""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return i("div",I(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},So=()=>{const[e,t]=ye(!1);return[e,()=>t(o=>!o)]},Ce=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:i("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"})}),lt=()=>i("svg",{viewBox:"0 0 16 16",children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),md=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`}),Ao=(e,t)=>{var u,f,v,b,O,x,h,N,w,C,z,D,X;const o=md(t),n=j(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(v=n==null?void 0:n.container)==null?void 0:v.backgroundColor,borderTopWidth:(b=n==null?void 0:n.container)==null?void 0:b.borderWidth,borderTopColor:(O=n==null?void 0:n.container)==null?void 0:O.borderColor,borderTopStyle:"solid",borderLeftWidth:(x=n==null?void 0:n.container)==null?void 0:x.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},s={left:(N=n==null?void 0:n.container)==null?void 0:N.left},l=(((w=n==null?void 0:n.icon)==null?void 0:w.animations)||[]).map(J=>o[J]).join(", "),c=q((C=n==null?void 0:n.icon)==null?void 0:C.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.backgroundColor} 0%, ${(X=n==null?void 0:n.icon)==null?void 0:X.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=m(I(m({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:a,bodyRules:s,iconRules:d}},Se=e=>{const t=new Set([]);Ne(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Nt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);le(()=>{o.forEach(n=>od(n))},[o])},Ae=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],yd=["borderWidth","borderColor","borderStyle"],Ro=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],$d=e=>console.log(`Noop YaMektika reach goal: ${e}`),wd=e=>console.log(`Noop AdFox reach goal: ${e}`),Od=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ye(!1),a=V(null),s=c=>{clearTimeout(a.current),a.current=null},l=()=>{s(a.current),r(c=>!c)};return le(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>s(a.current)),[e]),le(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},jo=({ref:e,openDelay:t})=>{const o=V(No()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:s,toggle:l}=Od({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Tt(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:s,toggle:l,click:()=>o.current.emit("click")}},Td=$e(({id:e},t)=>{var N,w,C,z,D,X,J;const o=V(null),[n,r]=So(),a=B(),s=he({targetRef:o,id:e}),l=te(a,s),c=j(l),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:v}=Ao(l,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),{isOpen:b,toggle:O,click:x}=jo({ref:t,openDelay:(N=l==null?void 0:l.container)==null?void 0:N.delay});Se(l);const h=n?pe(c.container,...yd):{};return i("div",{className:S(T.root,{[T.legalOpen]:n}),ref:o,children:[i("div",{className:T.icon,style:u,onClick:O,children:d&&i("div",{className:T.iconTarget,children:i(lt,{})})}),i("div",{className:S(T.body,{[T.bodyOpen]:b}),style:f,children:[i("div",{className:T.arrow,style:v}),i("div",{className:T.close,style:c==null?void 0:c.close,onClick:O,children:i(Ce,{})}),i("div",{className:T.container,style:c==null?void 0:c.container,children:[i("a",{href:(w=c==null?void 0:c.root)==null?void 0:w.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:x,children:[i("div",{className:T.inner,children:[i("div",{className:T.logo,style:c==null?void 0:c.logo}),i(ke,{className:T.text,style:c==null?void 0:c.text,children:(C=c==null?void 0:c.text)==null?void 0:C.children})]}),i("div",{className:S(T.button,{[T.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(z=c==null?void 0:c.button)==null?void 0:z.children})]}),i("div",{className:T.legalGap}),i("div",{className:T.legal,style:m(m({},c==null?void 0:c.legal),h),children:i("span",{className:T.legalText,children:i("span",{children:[i("span",{children:(D=c==null?void 0:c.legal)==null?void 0:D.children}),i("span",{className:T.legalButton,onClick:r,children:n?(X=c==null?void 0:c.legal)==null?void 0:X.buttonOpenText:(J=c==null?void 0:c.legal)==null?void 0:J.buttonHideText})]})})})]})]})]})}),Nd=ee(i(Td,{})),k={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},F={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},dt=(e,t="root")=>{const o=V(),n=(e==null?void 0:e.yaReachGoal)||$d,r=(e==null?void 0:e.adfoxReachGoal)||wd,a=q(e)?pe(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return le(()=>{ad(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},xd=()=>{var n,r,a,s,l;const e=B(),t=j(e),o=dt(e);return i("a",{href:(n=t.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(F.root,{[F.variant2]:((r=t.root)==null?void 0:r.variant)==="variant2"}),style:t.root,onClick:o,children:[i("div",{className:F.body,children:[i("div",{className:F.line,style:t.line}),i("div",{className:F.bodyInner,children:[i("div",{className:F.logo,style:t.logo}),i("div",{className:F.text,style:t.text,children:i(ke,{children:(a=t.text)==null?void 0:a.children})})]}),i("div",{className:F.button,style:t.button,children:[i("div",{className:F.logo,style:t.logo}),i("div",{className:F.buttonText,children:(s=t.button)==null?void 0:s.children})]})]}),i("div",{className:F.legal,style:t.legal,children:(l=t.legal)==null?void 0:l.children})]})},kd=$e(({id:e},t)=>{var x,h,N,w;const o=V(null),n=B(),r=he({targetRef:o,id:e}),a=te(n,r),s=j(a),{isOpen:l,click:c,toggle:d}=jo({ref:t,openDelay:(x=a==null?void 0:a.container)==null?void 0:x.delay});Se(a);const{hasIcon:u,iconRules:f,bodyRules:v,arrowRules:b}=Ao(a,{fade:k.fadein,pulse:k.pulse,wiggle:k.wiggle,gradient:k.gradient}),O=(h=s==null?void 0:s.title)==null?void 0:h.hasIcon;return i("div",{ref:o,className:S(k.root,{[k.desktop]:r==="desktop",[k.laptop]:r==="laptop",[k.tablet]:r==="tablet"}),children:[i("div",{className:k.icon,style:f,onClick:d,children:u&&i("div",{className:k.iconTarget,children:i(lt,{})})}),i("div",{className:S(k.body,{[k.bodyOpen]:l}),style:v,children:[i("div",{className:k.arrow,style:b}),i("div",{className:k.container,style:s.container,children:[i("div",{className:k.close,style:s.close,onClick:d,children:i(Ce,{})}),i("div",{className:k.promotion,style:s.promotion,children:(N=s.promotion)==null?void 0:N.children}),i("div",{className:k.head,children:[O&&i("div",{className:k.headIcon,style:pe(s.title,"color"),children:i(lt,{})}),i("div",{className:k.headTitle,style:s.title,children:(w=s.title)==null?void 0:w.children})]}),i("div",{className:k.inner,onClick:c,children:(s.children||[]).map(C=>i(Q,{value:C,children:i(xd,{})}))})]})]})]})}),Cd=ee(i(kd,{})),H={root:"_root_t83ci_1",content:"_content_t83ci_11",laptop:"_laptop_t83ci_20",tablet:"_tablet_t83ci_24",desktop:"_desktop_t83ci_28",wrapper:"_wrapper_t83ci_32",overlay:"_overlay_t83ci_36",close:"_close_t83ci_42",body:"_body_t83ci_50",logo:"_logo_t83ci_58",text:"_text_t83ci_64",button:"_button_t83ci_68",legal:"_legal_t83ci_83"},oe=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Sd={root:"_root_2ic16_1"},Ad=()=>{var o;const e=B(),t=j(e);return i("div",{className:Sd.root,style:t.root,children:i(ke,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},_t=e=>{const t=V(No()),[o,n]=ye(!1),r=c=>t.current.on("visible",c),a=c=>t.current.on("click",c),s=()=>n(!0),l=()=>n(!1);return le(()=>{t.current.emit("visible",o)},[o]),Tt(e,()=>({onVisible:r,onClick:a,show:s,hide:l})),{isOpen:o,show:s,hide:l,click:()=>t.current.emit("click")}},Rd=$e(({id:e,className:t},o)=>{var O,x,h,N,w,C,z;const n=V(null),{isOpen:r,hide:a,click:s}=_t(o),l=he({targetRef:n,id:e}),c=B(),d=te(c,l);Se(d),We(d,"button.percent_width",(O=d==null?void 0:d.button)==null?void 0:O.width),We(d,"legal.percent_width",(x=d==null?void 0:d.legal)==null?void 0:x.width);const u=j(d),f={alignItems:oe((h=u.root)==null?void 0:h.align)},v=I(m({},u==null?void 0:u.button),{justifyContent:oe((N=u.root)==null?void 0:N.textAlign)}),b=I(m({},u==null?void 0:u.legal),{justifyContent:oe((w=u.root)==null?void 0:w.textAlign)});return i("div",{className:S(H.root,t),ref:n,style:{display:r?"flex":"none"},children:[i("div",{className:H.overlay,style:u.overlay,onClick:a}),i("div",{className:H.wrapper,children:[i("div",{className:H.close,style:{color:(C=u.close)==null?void 0:C.backgroundColor},onClick:a,children:i(Ce,{})}),i("a",{href:(z=u.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(H.content,{[H.desktop]:l==="desktop",[H.tablet]:l==="tablet",[H.laptop]:l==="laptop"}),style:u.root,onClick:s,children:i("div",{className:H.body,style:f,children:[i("div",{className:H.logo,style:u.logo}),i("div",{className:H.text,children:((u==null?void 0:u.children)||[]).map(D=>i(Q,{value:D,children:i(Ad,{})}))}),i("div",{className:H.button,style:v,children:v==null?void 0:v.children}),i("div",{className:H.legal,style:b,children:b==null?void 0:b.children})]})})]})]})}),jd=ee(i(Rd,{})),ne={root:"_root_1wc0c_1",content:"_content_1wc0c_11",desktop:"_desktop_1wc0c_23",overlay:"_overlay_1wc0c_28",close:"_close_1wc0c_34",title:"_title_1wc0c_42",wrapper:"_wrapper_1wc0c_57"},U={root:"_root_1dwcj_1",desktop:"_desktop_1dwcj_9",header:"_header_1dwcj_14",logo:"_logo_1dwcj_25",container:"_container_1dwcj_32",body:"_body_1dwcj_43",text:"_text_1dwcj_60",button:"_button_1dwcj_83",legal:"_legal_1dwcj_101"},Ed=({onClick:e})=>{var r,a,s,l;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return i("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(U.root,{[U.desktop]:n==="desktop"}),style:xe(o.root,...Ro),onClick:e,children:[i("div",{className:U.header,style:o.header,children:i("div",{className:U.logo,style:o.logo})}),i("div",{className:U.container,style:pe(o.root,...Ro),children:[i("div",{className:U.body,children:[i("div",{className:U.logo}),i(ke,{className:U.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),i("div",{children:[i("div",{className:U.button,style:o.button,children:(s=o.button)==null?void 0:s.children}),i("div",{className:U.legal,style:o.legal,children:(l=o.legal)==null?void 0:l.children})]})]})]})},Id=$e(({id:e},t)=>{var u,f;const o=V(null),{isOpen:n,hide:r,click:a}=_t(t),s=he({targetRef:o,id:e}),l=B(),c=te(l,s),d=j(c);return Se(c),i("div",{className:ne.root,style:{display:n?"flex":"none"},children:[i("div",{className:ne.overlay,style:d.overlay,onClick:r}),i("div",{ref:o,className:S(ne.content,{[ne.desktop]:s==="desktop"}),style:d.root,children:[i("div",{className:ne.close,style:{color:(u=d.close)==null?void 0:u.backgroundColor},onClick:r,children:i(Ce,{})}),i("div",{className:ne.title,style:d.title,children:(f=d.title)==null?void 0:f.children}),i("div",{className:ne.wrapper,children:(d.children||[]).map(v=>i(Q,{value:I(m({},v),{device:s}),children:i(Ed,{onClick:a})}))})]})]})}),Pd=ee(i(Id,{})),E={root:"_root_1v7ce_1",content:"_content_1v7ce_11",close:"_close_1v7ce_19",overlay:"_overlay_1v7ce_27",body:"_body_1v7ce_33",desktop:"_desktop_1v7ce_41",laptop:"_laptop_1v7ce_45",tablet:"_tablet_1v7ce_45",head:"_head_1v7ce_50",title:"_title_1v7ce_60",logo:"_logo_1v7ce_73",wrapper:"_wrapper_1v7ce_79",text:"_text_1v7ce_86",button:"_button_1v7ce_101",buttonHead:"_buttonHead_1v7ce_116",buttonTarget:"_buttonTarget_1v7ce_135",legal:"_legal_1v7ce_151"},A={root:"_root_14sq5_1",left:"_left_14sq5_8",desktop:"_desktop_14sq5_15",teams:"_teams_14sq5_19",logo:"_logo_14sq5_25",league:"_league_14sq5_32",name:"_name_14sq5_37",right:"_right_14sq5_43",odd:"_odd_14sq5_54",oddLabel:"_oddLabel_14sq5_67",oddValue:"_oddValue_14sq5_76",team:"_team_14sq5_19",teamLogo:"_teamLogo_14sq5_100",teamName:"_teamName_14sq5_106"},Bd=()=>{var n,r,a,s,l,c,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return i("div",{className:S(A.root,{[A.desktop]:o==="desktop"}),children:[i("div",{className:A.left,children:[i("div",{className:A.teams,children:[i("div",{className:A.logo}),i("div",{className:A.logo})]}),i("div",{className:A.body,children:[i("div",{className:A.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),i("div",{className:A.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),i("div",{className:A.right,children:[i("div",{className:A.team,children:[i("div",{className:A.teamLogo}),i("div",{className:A.teamName,style:t.teams,children:(s=t.teams)==null?void 0:s.teamA})]}),i("div",{className:A.odd,children:[i("div",{className:A.oddLabel,style:t.oddLabel,children:(l=t.oddLabel)==null?void 0:l.children}),i("div",{className:A.oddValue,style:t.oddValue,children:(c=t.oddValue)==null?void 0:c.children})]}),i("div",{className:A.team,children:[i("div",{className:A.teamLogo}),i("div",{className:A.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Ld=$e(({id:e},t)=>{var x,h,N,w,C,z,D,X,J,ie,se,Ze,Qe,Ee;const o=V(null),{isOpen:n,hide:r,click:a}=_t(t),s=he({targetRef:o,id:e}),l=B(),c=te(l,s);We(c,"buttonWrapper.percent_width",(x=c==null?void 0:c.buttonWrapper)==null?void 0:x.width),We(c,"legal.percent_width",(h=c==null?void 0:c.legal)==null?void 0:h.width);const d=j(c);Se(c);const u=I(m({},d.root),{alignItems:oe((N=d.root)==null?void 0:N.align)}),f=I(m({},d.content),{alignItems:oe((w=d.root)==null?void 0:w.align)}),v=I(m({},d.text),{textAlign:(C=d.root)==null?void 0:C.align}),b=I(m({},d==null?void 0:d.button),{justifyContent:oe((z=d.root)==null?void 0:z.textAlign)}),O=I(m({},d==null?void 0:d.legal),{justifyContent:oe((D=d.root)==null?void 0:D.textAlign)});return i("div",{className:S(E.root,{[E.desktop]:s==="desktop",[E.laptop]:s==="laptop",[E.tablet]:s==="tablet"}),ref:o,style:{display:n?"flex":"none"},children:[i("div",{className:E.overlay,style:d.overlay,onClick:r}),i("div",{className:E.content,children:[i("div",{className:E.close,style:{color:(X=d.close)==null?void 0:X.backgroundColor},onClick:r,children:i(Ce,{})}),i("a",{ref:o,href:(J=d.root)==null?void 0:J.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:a,children:i("div",{className:E.body,style:u,children:[i("div",{className:E.head,children:[i("div",{className:E.title,style:d.title,children:(ie=d.title)==null?void 0:ie.children}),i("div",{className:E.logo,style:d.logo})]}),i("div",{className:E.wrapper,style:f,children:(d.children||[]).map(v_=>i(Q,{value:I(m({},v_),{device:s}),children:i(Bd,{})}))}),i(ke,{className:E.text,style:v,children:(se=d.text)==null?void 0:se.children}),i("div",{className:E.button,style:d.buttonWrapper,children:[i("div",{className:E.buttonHead,style:d.buttonHead,children:(Ze=d.buttonHead)==null?void 0:Ze.children}),i("div",{className:E.buttonTarget,style:b,children:(Qe=d.button)==null?void 0:Qe.children})]}),i("div",{className:E.legal,style:O,children:(Ee=d.legal)==null?void 0:Ee.children})]})})]})]})}),zd=ee(i(Ld,{})),G={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},qd=()=>{var a,s,l,c,d,u,f;const e=B(),t=j(e),[o,n]=So(),r=dt(e);return i("div",{className:G.root,style:t.root,children:[i("div",{className:G.background,style:t.background}),i("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:G.body,onClick:r,children:[i("div",{children:[i("div",{className:G.rowFirst,style:t.rowFirst,children:(s=t.rowFirst)==null?void 0:s.children}),i("div",{className:G.rowSecond,style:t.rowSecond,children:(l=t.rowSecond)==null?void 0:l.children}),i("div",{className:G.bookmaker,children:"winline"})]}),i("div",{className:G.button,style:t.button,children:(c=t.button)==null?void 0:c.children})]}),i("div",{className:S(G.legal,{[G.legalOpen]:o}),style:t.legalInfo,children:i("span",{className:G.legalText,children:[i("span",{children:(d=t.legalInfo)==null?void 0:d.children}),i("span",{className:G.legalButton,style:t.legalInfoButton,onClick:n,children:o?(u=t.legalInfoButton)==null?void 0:u.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},Hd=ee(i(()=>{const e=V(null),t=B(),n=te(t,"desktop"),r=j(n);return i("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>i(Q,{value:a,children:i(qd,{})}))})},{})),R={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Eo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Dd=()=>{var o;const e=B(),t=j(e);return i("div",{className:S(Eo.root,{[Eo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:xe(t.root,...Ae),children:(o=t.root)==null?void 0:o.children})},W={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Md=()=>{var n,r,a;const e=B(),t=j(e),o=xe(t.root,...Ae);return i("div",{className:W.root,children:[i("div",{className:W.odd,children:[i("div",{className:W.oddLogo,style:o}),i("div",{className:W.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),i("div",{className:W.coef,children:[i("div",{className:W.coefHead,style:t.coef,children:"X"}),i("div",{className:W.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),i("div",{className:S(W.odd,W.oddReverse),children:[i("div",{className:W.oddLogo,style:o}),i("div",{className:W.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},L={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Vd=()=>{const e=B(),t=j(e);return i("div",{className:S(L.root,{[L.desktop]:(e==null?void 0:e.device)==="desktop",[L.laptop]:(e==null?void 0:e.device)==="laptop",[L.tablet]:(e==null?void 0:e.device)==="tablet"}),style:xe(t.root,...Ae),children:[i("div",{className:L.title,children:[i("div",{className:L.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),i("div",{className:L.titleValue,style:t.titleValue,children:t.titleValue.children})]}),i("div",{children:[i("div",{className:L.team,children:[i("div",{className:L.teamLogo,style:t.logo}),i("div",{className:L.teamName,style:t.teamName,children:t.team1Name.children}),i("div",{className:L.teamValue,style:t.value,children:t.value1.children})]}),i("div",{className:L.team,children:[i("div",{className:L.teamLogo,style:t.logo}),i("div",{className:L.teamName,style:t.teamName,children:t.team2Name.children}),i("div",{className:L.teamValue,style:t.value,children:t.value2.children})]})]})]})},Fd=(e=[])=>{var a;const t=e.length,[o,n]=ye(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return le(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},Gd=3700,Wd=ee(i(()=>{var f,v,b,O,x;const e=V(null),t=B(),o=he({targetRef:e}),n=te(t,o),r=j(n),a=dt(n),s=h=>({text:i(Dd,{}),matches:i(Md,{}),matchesOneTwo:i(Vd,{})})[h],l=(r.children||[]).filter(Boolean).map(h=>{var N,w;return I(m({},h),{animationName:(N=h==null?void 0:h.root)==null?void 0:N.animationName,animationDuration:((w=h==null?void 0:h.root)==null?void 0:w.animationDuration)||Gd})}),c=Fd(l),d=j(l[c]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?pe((d==null?void 0:d.root)||{},...Ae):pe(r.background,...Ae);return i("a",{ref:e,href:(v=r.root)==null?void 0:v.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:S(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((b=r.root)==null?void 0:b.variant)==="variant2"}),style:r.root,onClick:a,children:[i("div",{className:R.background,style:u}),i("div",{className:R.promotion,style:r.promotion,children:(O=r.promotion)==null?void 0:O.children}),i("div",{className:R.content,children:[i("div",{className:R.left,children:i("div",{className:R.logo,style:r.logo})}),i("div",{className:R.center,children:(r.children||[]).map((h,N)=>{var w,C;return i("div",{className:R.slide,style:{animationName:c===N?R[((w=h.root)==null?void 0:w.animationName)||"fade-in-out"]:"none",animationDuration:`${(C=h.root)==null?void 0:C.animationDuration}ms`},children:i(Q,{value:I(m({},h),{device:o}),children:s(h.name)})})})}),i("div",{className:R.right,children:[i("div",{className:R.logo,style:r.logo}),i("div",{className:R.buttonWrapper,children:i("div",{className:R.button,style:r.button,children:[i("div",{className:R.logo,style:r.logo}),(x=r.button)==null?void 0:x.children]})})]})]})]})},{})),Ud=(e,t,o,n,r=ko)=>{const a=m({},e);return r.forEach(s=>{a[t]=I(m({},a[t]),{[s]:I(m({},a[t][s]),{[o]:typeof n=="function"?n(nd(a,`${t}.${s}.${o}`)):n})})}),a};var re=[],Kd=function(){return re.some(function(e){return e.activeTargets.length>0})},Xd=function(){return re.some(function(e){return e.skippedTargets.length>0})},Io="ResizeObserver loop completed with undelivered notifications.",Jd=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Io}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Io),window.dispatchEvent(e)},Re;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var ae=function(e){return Object.freeze(e)},Po=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ae(this)}return e}(),Bo=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,ae(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,s=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:s,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ut=function(e){return e instanceof SVGElement&&"getBBox"in e},Lo=function(e){if(ut(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,s=r.offsetHeight;return!(a||s||e.getClientRects().length)},zo=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Yd=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},je=typeof window!="undefined"?window:{},Ke=new WeakMap,qo=/auto|scroll/,Zd=/^tb|vertical/,Qd=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),K=function(e){return parseFloat(e||"0")},ge=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Po((o?t:e)||0,(o?e:t)||0)},Ho=ae({devicePixelContentBoxSize:ge(),borderBoxSize:ge(),contentBoxSize:ge(),contentRect:new Bo(0,0,0,0)}),Do=function(e,t){if(t===void 0&&(t=!1),Ke.has(e)&&!t)return Ke.get(e);if(Lo(e))return Ke.set(e,Ho),Ho;var o=getComputedStyle(e),n=ut(e)&&e.ownerSVGElement&&e.getBBox(),r=!Qd&&o.boxSizing==="border-box",a=Zd.test(o.writingMode||""),s=!n&&qo.test(o.overflowY||""),l=!n&&qo.test(o.overflowX||""),c=n?0:K(o.paddingTop),d=n?0:K(o.paddingRight),u=n?0:K(o.paddingBottom),f=n?0:K(o.paddingLeft),v=n?0:K(o.borderTopWidth),b=n?0:K(o.borderRightWidth),O=n?0:K(o.borderBottomWidth),x=n?0:K(o.borderLeftWidth),h=f+d,N=c+u,w=x+b,C=v+O,z=l?e.offsetHeight-C-e.clientHeight:0,D=s?e.offsetWidth-w-e.clientWidth:0,X=r?h+w:0,J=r?N+C:0,ie=n?n.width:K(o.width)-X-D,se=n?n.height:K(o.height)-J-z,Ze=ie+h+D+w,Qe=se+N+z+C,Ee=ae({devicePixelContentBoxSize:ge(Math.round(ie*devicePixelRatio),Math.round(se*devicePixelRatio),a),borderBoxSize:ge(Ze,Qe,a),contentBoxSize:ge(ie,se,a),contentRect:new Bo(f,c,ie,se)});return Ke.set(e,Ee),Ee},Mo=function(e,t,o){var n=Do(e,o),r=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return s;case Re.BORDER_BOX:return r;default:return a}},Vo=function(){function e(t){var o=Do(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ae([o.borderBoxSize]),this.contentBoxSize=ae([o.contentBoxSize]),this.devicePixelContentBoxSize=ae([o.devicePixelContentBoxSize])}return e}(),Fo=function(e){if(Lo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},e_=function(){var e=1/0,t=[];re.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(d){var u=new Vo(d.target),f=Fo(d.target);l.push(u),d.lastReportedSize=Mo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Go=function(e){re.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Fo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},t_=function(){var e=0;for(Go(e);Kd();)e=e_(),Go(e);return Xd()&&Jd(),e>0},ft,Wo=[],o_=function(){return Wo.splice(0).forEach(function(e){return e()})},n_=function(e){if(!ft){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return o_()}).observe(o,n),ft=function(){o.textContent="".concat(t?t--:t++)}}Wo.push(e),ft()},r_=function(e){n_(function(){requestAnimationFrame(e)})},Xe=0,a_=function(){return!!Xe},i_=250,s_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Uo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ko=function(e){return e===void 0&&(e=0),Date.now()+e},vt=!1,c_=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=i_),!vt){vt=!0;var n=Ko(t);r_(function(){var r=!1;try{r=t_()}finally{if(vt=!1,t=n-Ko(),!a_())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,s_)};document.body?o():je.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Uo.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Uo.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),pt=new c_,Xo=function(e){!Xe&&e>0&&pt.start(),Xe+=e,!Xe&&pt.stop()},l_=function(e){return!ut(e)&&!Yd(e)&&getComputedStyle(e).display==="inline"},d_=function(){function e(t,o){this.target=t,this.observedBox=o||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Mo(this.target,this.observedBox,!0);return l_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),__=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Je=new WeakMap,Jo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ye=function(){function e(){}return e.connect=function(t,o){var n=new __(t,o);Je.set(t,n)},e.observe=function(t,o,n){var r=Je.get(t),a=r.observationTargets.length===0;Jo(r.observationTargets,o)<0&&(a&&re.push(r),r.observationTargets.push(new d_(o,n&&n.box)),Xo(1),pt.schedule())},e.unobserve=function(t,o){var n=Je.get(t),r=Jo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&re.splice(re.indexOf(n),1),n.observationTargets.splice(r,1),Xo(-1))},e.disconnect=function(t){var o=this,n=Je.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),u_=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.");Ye.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!zo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ye.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!zo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ye.unobserve(this,t)},e.prototype.disconnect=function(){Ye.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const f_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:u_,ResizeObserverEntry:Vo,ResizeObserverSize:Po},Symbol.toStringTag,{value:"Module"}));p.BonusCard=Hd,p.ComplexGift=Cd,p.ComplexPopup=Pd,p.ExpressPopup=zd,p.SimpleGift=Nd,p.SimplePopup=jd,p.WideCard=Wd,p.findDeep=cd,p.isValidTemplate=id,p.modifyState=Ud,Object.defineProperty(p,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.1.9",
4
+ "version": "2.1.11",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"