@adstore/templates 2.1.10 → 2.2.1

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(v,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(v=typeof globalThis!="undefined"?globalThis:v||self,_(v["@adstore/templates"]={},v.preact))})(this,function(v,_){"use strict";var g_=Object.defineProperty,b_=Object.defineProperties;var m_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var tn=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable;var en=(v,_,w)=>_ in v?g_(v,_,{enumerable:!0,configurable:!0,writable:!0,value:w}):v[_]=w,m=(v,_)=>{for(var w in _||(_={}))tn.call(_,w)&&en(v,w,_[w]);if(tt)for(var w of tt(_))on.call(_,w)&&en(v,w,_[w]);return v},L=(v,_)=>b_(v,m_(_));var gt=(v,_)=>{var w={};for(var z in v)tn.call(v,z)&&_.indexOf(z)<0&&(w[z]=v[z]);if(v!=null&&tt)for(var z of tt(v))_.indexOf(z)<0&&on.call(v,z)&&(w[z]=v[z]);return w};var bt=(v,_,w)=>new Promise((z,Le)=>{var A=V=>{try{b(w.next(V))}catch(ce){Le(ce)}},Y=V=>{try{b(w.throw(V))}catch(ce){Le(ce)}},b=V=>V.done?z(V.value):Promise.resolve(V.value).then(A,Y);b((w=w.apply(v,_)).next())});var w=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Le={get exports(){return z},set exports(e){z=e}};/*!
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,vt=u.options.__r,pt=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 ve(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(v){return v.__c});if(_.every(function(v){return!v.__N}))return!a||a.call(this,l,c,d);var f=!1;return _.forEach(function(v){if(v.__N){var h=v.__[0];v.__=v.__N,v.__N=void 0,h!==v.__[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){vt&&vt(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){pt&&pt(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 Ot(e,t){for(var o in t)e[o]=t[o];return e}function Tt(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 Nt(e){this.props=e}(Nt.prototype=new u.Component).isPureReactComponent=!0,Nt.prototype.shouldComponentUpdate=function(e,t){return Tt(this.props,e)||Tt(this.state,t)};var xt=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xt&&xt(e)};var Yo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(o){var n=Ot({},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 kt=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=Ot({},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),kt&&kt(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 vn(e,t){for(var o=e.length;o--;)if(fn(e[o][0],t))return o;return-1}var Ee=vn,pn=Ee,hn=Array.prototype,gn=hn.splice;function bn(e){var t=this.__data__,o=pn(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,On=Ee;function Tn(e){return On(this.__data__,e)>-1}var Nn=Tn,xn=Ee;function kn(e,t){var o=this.__data__,n=xn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Cn=kn,Sn=_n,An=mn,Rn=wn,jn=Nn,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]",vr="[object Proxy]";function pr(e){if(!dr(e))return!1;var t=lr(e);return t==ur||t==fr||t==_r||t==vr}var Qe=pr,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 Or(e){if(e!=null){try{return wr.call(e)}catch{}try{return e+""}catch{}}return""}var Tr=Or,Nr=Qe,xr=yr,kr=W,Cr=Tr,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(!kr(e)||xr(e))return!1;var t=Nr(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,va=Yr,pa=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=va,ie.prototype.get=pa,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 Oa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ta=Oa,Na=Ta;function xa(e,t){var o=e.__data__;return Na(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Le=xa,ka=Le;function Ca(e){var t=ka(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(),vi=fi,ze={},pi={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,v=l?l(f):new d.constructor(f);return d.copy(v),v}e.exports=c})(pi,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 Oi=wi;function Ti(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ni=Ti,xi=W,Jt=Object.create,ki=function(){function e(){}return function(t){if(!xi(t))return{};if(Jt)return Jt(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ci=ki;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,vs=Object.prototype,ro=fs.toString,ps=vs.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=ps.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]",Os="[object Array]",Ts="[object Boolean]",Ns="[object Date]",xs="[object Error]",ks="[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[Os]=g[Ps]=g[Ts]=g[Bs]=g[Ns]=g[xs]=g[ks]=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,vc=/^(?:0|[1-9]\d*)$/;function pc(e,t){var o=typeof e;return t=t??fc,!!t&&(o=="number"||o!="symbol"&&vc.test(e))&&e>-1&&e%1==0&&e<t}var lo=pc,hc=uc,gc=to,bc=oo,mc=be,yc=lo,$c=so,wc=Object.prototype,Oc=wc.hasOwnProperty;function Tc(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||Oc.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 Nc=Tc;function xc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var kc=xc,Cc=W,Sc=Zt,Ac=kc,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=Nc,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=Oi,Gc=Ni,Wc=qi,fo=to,vo=oo,Uc=as,Kc=be,Xc=Qe,Jc=W,Yc=bs,Zc=so,po=co,Qc=Mc;function el(e,t,o,n,r,a,s){var l=po(e,o),c=po(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 v=vo(c),h=!v&&Kc(c),y=!v&&!h&&Zc(c);_=c,v||h||y?vo(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=vi,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 vl(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 pl=vl;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,Ol=16,Tl=Date.now;function Nl(e){var t=0,o=0;return function(){var n=Tl(),r=Ol-(n-o);if(o=n,r>0){if(++t>=wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var xl=Nl,kl=$l,Cl=xl,Sl=Cl(kl),Al=Sl,Rl=go,jl=pl,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 Oo=u.createContext(),U=({children:e,value:t})=>i(Oo.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(Oo),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]=ve("desktop"),s=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries({...n}).sort(([v,h],[y,O])=>h-O),_=((f=d.find(([v,h],y)=>{const[O,p]=d[y+1]||[];return c>=h&&c<p}))==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}})},To=()=>{const[e,t]=ve(!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`}),No=(e,t)=>{var _,f,v,h,y,O,p,w,m,N,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:(v=n==null?void 0:n.container)==null?void 0:v.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:(O=n==null?void 0:n.container)==null?void 0:O.borderWidth,borderLeftColor:(p=n==null?void 0:n.container)==null?void 0:p.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((N=n==null?void 0:n.icon)==null?void 0:N.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}},Oe=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])},Te=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],ud=["borderWidth","borderColor","borderStyle"],xo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),vd=e=>console.log(`Noop AdFox reach goal: ${e}`),pd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ve(!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}},ko=({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}=pd({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=pe(({id:e},t)=>{var w,m,N,I,L,F,G;const o=z(null),[n,r]=To(),a=j(),s=de({targetRef:o,id:e}),l=X(a,s),c=S(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:v}=No(l,{fade:$.fadein,pulse:$.pulse,wiggle:$.wiggle,gradient:$.gradient}),{isOpen:h,toggle:y,click:O}=ko({ref:t,openDelay:(w=l==null?void 0:l.container)==null?void 0:w.delay});Oe(l);const p=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:v}),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:O,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:(N=c==null?void 0:c.text)==null?void 0:N.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,...p},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,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},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)||vd,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=pe(({id:e},t)=>{var O,p,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}=ko({ref:t,openDelay:(O=a==null?void 0:a.container)==null?void 0:O.delay});Oe(a);const{hasIcon:_,iconRules:f,bodyRules:v,arrowRules:h}=No(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),y=(p=s==null?void 0:s.title)==null?void 0:p.hasIcon;return i("div",{ref:o,className:C(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[i("div",{className:T.icon,style:f,onClick:d,children:_&&i("div",{className:T.iconTarget,children:i(rt,{})})}),i("div",{className:C(T.body,{[T.bodyOpen]:l}),style:v,children:[i("div",{className:T.arrow,style:h}),i("div",{className:T.container,style:s.container,children:[i("div",{className:T.close,style:s.close,onClick:d,children:i(we,{})}),i("div",{className:T.promotion,style:s.promotion,children:(w=s.promotion)==null?void 0:w.children}),i("div",{className:T.head,children:[y&&i("div",{className:T.headIcon,style:le(s.title,"color"),children:i(rt,{})}),i("div",{className:T.headTitle,style:s.title,children:(m=s.title)==null?void 0:m.children})]}),i("div",{className:T.inner,onClick:c,children:(s.children||[]).map(N=>i(U,{value:N,children:i(bd,{})}))})]})]})]})}),yd=K(i(md,{})),B={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"},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]=ve(!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")}},Od=pe(({id:e,className:t},o)=>{var y,O,p,w,m,N,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);Oe(d),He(d,"button.percent_width",(y=d==null?void 0:d.button)==null?void 0:y.width),He(d,"legal.percent_width",(O=d==null?void 0:d.legal)==null?void 0:O.width);const _=S(d),f={alignItems:J((p=_.root)==null?void 0:p.align)},v={..._==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:(N=_.close)==null?void 0:N.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:v,children:v==null?void 0:v.children}),i("div",{className:B.legal,style:h,children:h==null?void 0:h.children})]})})]})]})}),Td=K(i(Od,{})),Y={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"},M={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"},Nd=({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,...xo),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,...xo),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})]})]})]})},xd=pe(({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 Oe(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(v=>i(U,{value:{...v,device:s},children:i(Nd,{onClick:a})}))})]})]})}),kd=K(i(xd,{})),A={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"},x={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(x.root,{[x.desktop]:o==="desktop"}),children:[i("div",{className:x.left,children:[i("div",{className:x.teams,children:[i("div",{className:x.logo}),i("div",{className:x.logo})]}),i("div",{className:x.body,children:[i("div",{className:x.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),i("div",{className:x.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),i("div",{className:x.right,children:[i("div",{className:x.team,children:[i("div",{className:x.teamLogo}),i("div",{className:x.teamName,style:t.teams,children:(s=t.teams)==null?void 0:s.teamA})]}),i("div",{className:x.odd,children:[i("div",{className:x.oddLabel,style:t.oddLabel,children:(l=t.oddLabel)==null?void 0:l.children}),i("div",{className:x.oddValue,style:t.oddValue,children:(c=t.oddValue)==null?void 0:c.children})]}),i("div",{className:x.team,children:[i("div",{className:x.teamLogo}),i("div",{className:x.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Sd=pe(({id:e},t)=>{var O,p,w,m,N,I,L,F,G,ee,te,We,Ue,ke;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",(O=c==null?void 0:c.buttonWrapper)==null?void 0:O.width),He(c,"legal.percent_width",(p=c==null?void 0:c.legal)==null?void 0:p.width);const d=S(c);Oe(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)},v={...d.text,textAlign:(N=d.root)==null?void 0:N.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:C(A.root,{[A.desktop]:s==="desktop",[A.laptop]:s==="laptop",[A.tablet]:s==="tablet"}),ref:o,style:{display:n?"flex":"none"},children:[i("div",{className:A.overlay,style:d.overlay,onClick:r}),i("div",{className:A.content,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:v,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:(ke=d.legal)==null?void 0:ke.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]=To(),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,{})}))})},{})),k={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,...Te),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,...Te);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,...Te),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]=ve(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,v,h,y,O;const e=z(null),t=j(),o=de({targetRef:e}),n=X(t,o),r=S(n),a=at(n),s=p=>({text:i(Ed,{}),matches:i(Id,{}),matchesOneTwo:i(Pd,{})})[p],l=(r.children||[]).filter(Boolean).map(p=>{var w,m;return{...p,animationName:(w=p==null?void 0:p.root)==null?void 0:w.animationName,animationDuration:((m=p==null?void 0:p.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)||{},...Te):le(r.background,...Te);return i("a",{ref:e,href:(v=r.root)==null?void 0:v.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(k.root,{[k.desktop]:o==="desktop",[k.laptop]:o==="laptop",[k.tablet]:o==="tablet",[k.variant2]:((h=r.root)==null?void 0:h.variant)==="variant2"}),style:r.root,onClick:a,children:[i("div",{className:k.background,style:_}),i("div",{className:k.promotion,style:r.promotion,children:(y=r.promotion)==null?void 0:y.children}),i("div",{className:k.content,children:[i("div",{className:k.left,children:i("div",{className:k.logo,style:r.logo})}),i("div",{className:k.center,children:(r.children||[]).map((p,w)=>{var m,N;return i("div",{className:k.slide,style:{animationName:c===w?k[((m=p.root)==null?void 0:m.animationName)||"fade-in-out"]:"none",animationDuration:`${(N=p.root)==null?void 0:N.animationDuration}ms`},children:i(U,{value:{...p,device:o},children:s(p.name)})})})}),i("div",{className:k.right,children:[i("div",{className:k.logo,style:r.logo}),i("div",{className:k.buttonWrapper,children:i("div",{className:k.button,style:r.button,children:[i("div",{className:k.logo,style:r.logo}),(O=r.button)==null?void 0:O.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)},Ne;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ne||(Ne={}));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},xe=typeof window<"u"?window:{},Me=new WeakMap,Io=/auto|scroll/,Fd=/^tb|vertical/,Gd=/msie|trident/i.test(xe.navigator&&xe.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),v=n?0:V(o.borderTopWidth),h=n?0:V(o.borderRightWidth),y=n?0:V(o.borderBottomWidth),O=n?0:V(o.borderLeftWidth),p=f+d,w=c+_,m=O+h,N=v+y,I=l?e.offsetHeight-N-e.clientHeight:0,L=s?e.offsetWidth-m-e.clientWidth:0,F=r?p+m:0,G=r?w+N:0,ee=n?n.width:V(o.width)-F-L,te=n?n.height:V(o.height)-G-I,We=ee+p+L+m,Ue=te+w+I+N,ke=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,ke),ke},Lo=function(e,t,o){var n=Bo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Ne.DEVICE_PIXEL_CONTENT_BOX:return s;case Ne.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():xe.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 xe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Mo.forEach(function(o){return xe.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||Ne.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=kd,R.ExpressPopup=Ad,R.SimpleGift=gd,R.SimplePopup=Td,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 i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=o.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var Y,b,V,ce,be=0,mt=[],ze=[],yt=_.options.__b,$t=_.options.__r,wt=_.options.diffed,xt=_.options.__c,kt=_.options.unmount;function me(e,t){_.options.__h&&_.options.__h(b,e,be||t),be=0;var o=b.__H||(b.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:ze}),o.__[e]}function ye(e){return be=1,nn(St,e)}function nn(e,t,o){var n=me(Y++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):St(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=b,!b.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,c,l,d);var f=!1;return u.forEach(function(p){if(p.__N){var g=p.__[0];p.__=p.__N,p.__N=void 0,g!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===c)&&(!a||a.call(this,c,l,d))};b.u=!0;var a=b.shouldComponentUpdate,i=b.componentWillUpdate;b.componentWillUpdate=function(c,l,d){if(this.__e){var u=a;a=void 0,r(c,l,d),a=u}i&&i.call(this,c,l,d)},b.shouldComponentUpdate=r}return n.__N||n.__}function le(e,t){var o=me(Y++,3);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,b.__H.__h.push(o))}function Ot(e,t){var o=me(Y++,4);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,b.__h.push(o))}function F(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 nt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function rn(e){var t=b.context[e.__c],o=me(Y++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(b)),t.props.value):e.__}function an(){for(var e;e=mt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(ot),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){b=null,yt&&yt(e)},_.options.__r=function(e){$t&&$t(e),Y=0;var t=(b=e.__c).__H;t&&(V===b?(t.__h=[],b.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=ze,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(ot),t.__h=[])),V=b},_.options.diffed=function(e){wt&&wt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(mt.push(t)!==1&&ce===_.options.requestAnimationFrame||((ce=_.options.requestAnimationFrame)||sn)(an)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==ze&&(o.__=o.__V),o.i=void 0,o.__V=ze})),V=b=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||ot(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),xt&&xt(e,t)},_.options.unmount=function(e){kt&&kt(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 Ct=typeof requestAnimationFrame=="function";function sn(e){var t,o=function(){clearTimeout(n),Ct&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Ct&&(t=requestAnimationFrame(o))}function Be(e){var t=b,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),b=t}function ot(e){var t=b;e.__c=e.__(),b=t}function nt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function St(e,t){return typeof t=="function"?t(e):t}function At(e,t){for(var o in t)e[o]=t[o];return e}function Rt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function jt(e){this.props=e}(jt.prototype=new _.Component).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Rt(this.props,e)||Rt(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function $e(e){function t(o){var n=At({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=cn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ln=_.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)}ln(e,t,o,n)};var Lt=_.options.unmount;function zt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=At({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return zt(n,t,o)})),e}function Bt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Bt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function rt(){this.__u=0,this.t=null,this.__b=null}function It(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){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),Lt&&Lt(e)},(rt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=It(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Bt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},rt.prototype.componentWillUnmount=function(){this.t=[]},rt.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]=zt(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 Pt=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]}};(Ie.prototype=new _.Component).__a=function(e){var t=this,o=It(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Pt(t,e,n)):r()};o?o(a):a()}},Ie.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},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Pt(e,o,t)})};var dn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,_n=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,un=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fn=/[A-Z0-9]/g,pn=typeof document!="undefined",vn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var qt=_.options.event;function hn(){}function gn(){return this.cancelBubble}function bn(){return this.defaultPrevented}_.options.event=function(e){return qt&&(e=qt(e)),e.persist=hn,e.isPropagationStopped=gn,e.isDefaultPrevented=bn,e.nativeEvent=e};var mn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ht=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||pn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":c==="ondoubleclick"?a="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||vn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":un.test(a)?a=c:n.indexOf("-")===-1&&_n.test(a)?a=a.replace(fn,"-$&").toLowerCase():i===null&&(i=void 0):c=a="oninput",c==="oninput"&&r[a=c]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",mn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=dn,Ht&&Ht(e)};var Dt=_.options.__r;_.options.__r=function(e){Dt&&Dt(e),e.__c};var Mt=_.options.diffed;_.options.diffed=function(e){Mt&&Mt(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 yn(){this.__data__=[],this.size=0}var $n=yn;function wn(e,t){return e===t||e!==e&&t!==t}var Pe=wn,xn=Pe;function kn(e,t){for(var o=e.length;o--;)if(xn(e[o][0],t))return o;return-1}var qe=kn,On=qe,Tn=Array.prototype,Nn=Tn.splice;function Cn(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 Sn=Cn,An=qe;function Rn(e){var t=this.__data__,o=An(t,e);return o<0?void 0:t[o][1]}var jn=Rn,En=qe;function Ln(e){return En(this.__data__,e)>-1}var zn=Ln,Bn=qe;function In(e,t){var o=this.__data__,n=Bn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Pn=In,qn=$n,Hn=Sn,Dn=jn,Mn=zn,Vn=Pn;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=qn,de.prototype.delete=Hn,de.prototype.get=Dn,de.prototype.has=Mn,de.prototype.set=Vn;var He=de,Fn=He;function Gn(){this.__data__=new Fn,this.size=0}var Wn=Gn;function Un(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Kn=Un;function Xn(e){return this.__data__.get(e)}var Jn=Xn;function Yn(e){return this.__data__.has(e)}var Zn=Yn,Qn=typeof w=="object"&&w&&w.Object===Object&&w,Vt=Qn,er=Vt,tr=typeof self=="object"&&self&&self.Object===Object&&self,or=er||tr||Function("return this")(),_e=or,nr=_e,rr=nr.Symbol,Ft=rr,Gt=Ft,Wt=Object.prototype,ar=Wt.hasOwnProperty,ir=Wt.toString,we=Gt?Gt.toStringTag:void 0;function sr(e){var t=ar.call(e,we),o=e[we];try{e[we]=void 0;var n=!0}catch(a){}var r=ir.call(e);return n&&(t?e[we]=o:delete e[we]),r}var cr=sr,lr=Object.prototype,dr=lr.toString;function _r(e){return dr.call(e)}var ur=_r,Ut=Ft,fr=cr,pr=ur,vr="[object Null]",hr="[object Undefined]",Kt=Ut?Ut.toStringTag:void 0;function gr(e){return e==null?e===void 0?hr:vr:Kt&&Kt in Object(e)?fr(e):pr(e)}var De=gr;function br(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Q=br,mr=De,yr=Q,$r="[object AsyncFunction]",wr="[object Function]",xr="[object GeneratorFunction]",kr="[object Proxy]";function Or(e){if(!yr(e))return!1;var t=mr(e);return t==wr||t==xr||t==$r||t==kr}var at=Or,Tr=_e,Nr=Tr["__core-js_shared__"],Cr=Nr,it=Cr,Xt=function(){var e=/[^.]+$/.exec(it&&it.keys&&it.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Sr(e){return!!Xt&&Xt in e}var Ar=Sr,Rr=Function.prototype,jr=Rr.toString;function Er(e){if(e!=null){try{return jr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Lr=Er,zr=at,Br=Ar,Ir=Q,Pr=Lr,qr=/[\\^$.*+?()[\]{}|]/g,Hr=/^\[object .+?Constructor\]$/,Dr=Function.prototype,Mr=Object.prototype,Vr=Dr.toString,Fr=Mr.hasOwnProperty,Gr=RegExp("^"+Vr.call(Fr).replace(qr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wr(e){if(!Ir(e)||Br(e))return!1;var t=zr(e)?Gr:Hr;return t.test(Pr(e))}var Ur=Wr;function Kr(e,t){return e==null?void 0:e[t]}var Xr=Kr,Jr=Ur,Yr=Xr;function Zr(e,t){var o=Yr(e,t);return Jr(o)?o:void 0}var st=Zr,Qr=st,ea=_e,ta=Qr(ea,"Map"),Jt=ta,oa=st,na=oa(Object,"create"),Me=na,Yt=Me;function ra(){this.__data__=Yt?Yt(null):{},this.size=0}var aa=ra;function ia(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var sa=ia,ca=Me,la="__lodash_hash_undefined__",da=Object.prototype,_a=da.hasOwnProperty;function ua(e){var t=this.__data__;if(ca){var o=t[e];return o===la?void 0:o}return _a.call(t,e)?t[e]:void 0}var fa=ua,pa=Me,va=Object.prototype,ha=va.hasOwnProperty;function ga(e){var t=this.__data__;return pa?t[e]!==void 0:ha.call(t,e)}var ba=ga,ma=Me,ya="__lodash_hash_undefined__";function $a(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ma&&t===void 0?ya:t,this}var wa=$a,xa=aa,ka=sa,Oa=fa,Ta=ba,Na=wa;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=xa,ue.prototype.delete=ka,ue.prototype.get=Oa,ue.prototype.has=Ta,ue.prototype.set=Na;var Ca=ue,Zt=Ca,Sa=He,Aa=Jt;function Ra(){this.size=0,this.__data__={hash:new Zt,map:new(Aa||Sa),string:new Zt}}var ja=Ra;function Ea(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var La=Ea,za=La;function Ba(e,t){var o=e.__data__;return za(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=Ba,Ia=Ve;function Pa(e){var t=Ia(this,e).delete(e);return this.size-=t?1:0,t}var qa=Pa,Ha=Ve;function Da(e){return Ha(this,e).get(e)}var Ma=Da,Va=Ve;function Fa(e){return Va(this,e).has(e)}var Ga=Fa,Wa=Ve;function Ua(e,t){var o=Wa(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Ka=Ua,Xa=ja,Ja=qa,Ya=Ma,Za=Ga,Qa=Ka;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=Xa,fe.prototype.delete=Ja,fe.prototype.get=Ya,fe.prototype.has=Za,fe.prototype.set=Qa;var ei=fe,ti=He,oi=Jt,ni=ei,ri=200;function ai(e,t){var o=this.__data__;if(o instanceof ti){var n=o.__data__;if(!oi||n.length<ri-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ni(n)}return o.set(e,t),this.size=o.size,this}var ii=ai,si=He,ci=Wn,li=Kn,di=Jn,_i=Zn,ui=ii;function pe(e){var t=this.__data__=new si(e);this.size=t.size}pe.prototype.clear=ci,pe.prototype.delete=li,pe.prototype.get=di,pe.prototype.has=_i,pe.prototype.set=ui;var fi=pe,pi=st,vi=function(){try{var e=pi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Qt=vi,eo=Qt;function hi(e,t,o){t=="__proto__"&&eo?eo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ct=hi,gi=ct,bi=Pe;function mi(e,t,o){(o!==void 0&&!bi(e[t],o)||o===void 0&&!(t in e))&&gi(e,t,o)}var to=mi;function yi(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++r];if(o(a[l],l,a)===!1)break}return t}}var $i=yi,wi=$i,xi=wi(),ki=xi,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,i=a?o.Buffer:void 0,c=i?i.allocUnsafe:void 0;function l(d,u){if(u)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(Oi,Fe);var Ti=_e,Ni=Ti.Uint8Array,Ci=Ni,oo=Ci;function Si(e){var t=new e.constructor(e.byteLength);return new oo(t).set(new oo(e)),t}var Ai=Si,Ri=Ai;function ji(e,t){var o=t?Ri(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ei=ji;function Li(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var zi=Li,Bi=Q,no=Object.create,Ii=function(){function e(){}return function(t){if(!Bi(t))return{};if(no)return no(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Pi=Ii;function qi(e,t){return function(o){return e(t(o))}}var Hi=qi,Di=Hi,Mi=Di(Object.getPrototypeOf,Object),ro=Mi,Vi=Object.prototype;function Fi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Vi;return e===o}var ao=Fi,Gi=Pi,Wi=ro,Ui=ao;function Ki(e){return typeof e.constructor=="function"&&!Ui(e)?Gi(Wi(e)):{}}var Xi=Ki;function Ji(e){return e!=null&&typeof e=="object"}var xe=Ji,Yi=De,Zi=xe,Qi="[object Arguments]";function es(e){return Zi(e)&&Yi(e)==Qi}var ts=es,io=ts,os=xe,so=Object.prototype,ns=so.hasOwnProperty,rs=so.propertyIsEnumerable,as=io(function(){return arguments}())?io:function(e){return os(e)&&ns.call(e,"callee")&&!rs.call(e,"callee")},co=as,is=Array.isArray,lo=is,ss=9007199254740991;function cs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ss}var _o=cs,ls=at,ds=_o;function _s(e){return e!=null&&ds(e.length)&&!ls(e)}var lt=_s,us=lt,fs=xe;function ps(e){return fs(e)&&us(e)}var vs=ps,ke={},hs={get exports(){return ke},set exports(e){ke=e}};function gs(){return!1}var bs=gs;(function(e,t){var o=_e,n=bs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(hs,ke);var ms=De,ys=ro,$s=xe,ws="[object Object]",xs=Function.prototype,ks=Object.prototype,uo=xs.toString,Os=ks.hasOwnProperty,Ts=uo.call(Object);function Ns(e){if(!$s(e)||ms(e)!=ws)return!1;var t=ys(e);if(t===null)return!0;var o=Os.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&uo.call(o)==Ts}var Cs=Ns,Ss=De,As=_o,Rs=xe,js="[object Arguments]",Es="[object Array]",Ls="[object Boolean]",zs="[object Date]",Bs="[object Error]",Is="[object Function]",Ps="[object Map]",qs="[object Number]",Hs="[object Object]",Ds="[object RegExp]",Ms="[object Set]",Vs="[object String]",Fs="[object WeakMap]",Gs="[object ArrayBuffer]",Ws="[object DataView]",Us="[object Float32Array]",Ks="[object Float64Array]",Xs="[object Int8Array]",Js="[object Int16Array]",Ys="[object Int32Array]",Zs="[object Uint8Array]",Qs="[object Uint8ClampedArray]",ec="[object Uint16Array]",tc="[object Uint32Array]",y={};y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=y[ec]=y[tc]=!0,y[js]=y[Es]=y[Gs]=y[Ls]=y[Ws]=y[zs]=y[Bs]=y[Is]=y[Ps]=y[qs]=y[Hs]=y[Ds]=y[Ms]=y[Vs]=y[Fs]=!1;function oc(e){return Rs(e)&&As(e.length)&&!!y[Ss(e)]}var nc=oc;function rc(e){return function(t){return e(t)}}var ac=rc,Ge={},ic={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Vt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(ic,Ge);var sc=nc,cc=ac,fo=Ge,po=fo&&fo.isTypedArray,lc=po?cc(po):sc,vo=lc;function dc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ho=dc,_c=ct,uc=Pe,fc=Object.prototype,pc=fc.hasOwnProperty;function vc(e,t,o){var n=e[t];(!(pc.call(e,t)&&uc(n,o))||o===void 0&&!(t in e))&&_c(e,t,o)}var hc=vc,gc=hc,bc=ct;function mc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var c=t[a],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?bc(o,c,l):gc(o,c,l)}return o}var yc=mc;function $c(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var wc=$c,xc=9007199254740991,kc=/^(?:0|[1-9]\d*)$/;function Oc(e,t){var o=typeof e;return t=t==null?xc:t,!!t&&(o=="number"||o!="symbol"&&kc.test(e))&&e>-1&&e%1==0&&e<t}var go=Oc,Tc=wc,Nc=co,Cc=lo,Sc=ke,Ac=go,Rc=vo,jc=Object.prototype,Ec=jc.hasOwnProperty;function Lc(e,t){var o=Cc(e),n=!o&&Nc(e),r=!o&&!n&&Sc(e),a=!o&&!n&&!r&&Rc(e),i=o||n||r||a,c=i?Tc(e.length,String):[],l=c.length;for(var d in e)(t||Ec.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Ac(d,l)))&&c.push(d);return c}var zc=Lc;function Bc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Ic=Bc,Pc=Q,qc=ao,Hc=Ic,Dc=Object.prototype,Mc=Dc.hasOwnProperty;function Vc(e){if(!Pc(e))return Hc(e);var t=qc(e),o=[];for(var n in e)n=="constructor"&&(t||!Mc.call(e,n))||o.push(n);return o}var Fc=Vc,Gc=zc,Wc=Fc,Uc=lt;function Kc(e){return Uc(e)?Gc(e,!0):Wc(e)}var bo=Kc,Xc=yc,Jc=bo;function Yc(e){return Xc(e,Jc(e))}var Zc=Yc,mo=to,Qc=Fe,el=Ei,tl=zi,ol=Xi,yo=co,$o=lo,nl=vs,rl=ke,al=at,il=Q,sl=Cs,cl=vo,wo=ho,ll=Zc;function dl(e,t,o,n,r,a,i){var c=wo(e,o),l=wo(t,o),d=i.get(l);if(d){mo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=$o(l),g=!p&&rl(l),$=!p&&!g&&cl(l);u=l,p||g||$?$o(c)?u=c:nl(c)?u=tl(c):g?(f=!1,u=Qc(l,!0)):$?(f=!1,u=el(l,!0)):u=[]:sl(l)||yo(l)?(u=c,yo(c)?u=ll(c):(!il(c)||al(c))&&(u=ol(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),mo(e,o,u)}var _l=dl,ul=fi,fl=to,pl=ki,vl=_l,hl=Q,gl=bo,bl=ho;function xo(e,t,o,n,r){e!==t&&pl(t,function(a,i){if(r||(r=new ul),hl(a))vl(e,t,i,o,xo,n,r);else{var c=n?n(bl(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),fl(e,i,c)}},gl)}var ml=xo;function yl(e){return e}var ko=yl;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 wl=$l,xl=wl,Oo=Math.max;function kl(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),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),xl(e,this,c)}}var Ol=kl;function Tl(e){return function(){return e}}var Nl=Tl,Cl=Nl,To=Qt,Sl=ko,Al=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:Cl(t),writable:!0})}:Sl,Rl=Al,jl=800,El=16,Ll=Date.now;function zl(e){var t=0,o=0;return function(){var n=Ll(),r=El-(n-o);if(o=n,r>0){if(++t>=jl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Bl=zl,Il=Rl,Pl=Bl,ql=Pl(Il),Hl=ql,Dl=ko,Ml=Ol,Vl=Hl;function Fl(e,t){return Vl(Ml(e,t,Dl),e+"")}var Gl=Fl,Wl=Pe,Ul=lt,Kl=go,Xl=Q;function Jl(e,t,o){if(!Xl(o))return!1;var n=typeof t;return(n=="number"?Ul(o)&&Kl(t,o.length):n=="string"&&t in o)?Wl(o[t],e):!1}var Yl=Jl,Zl=Gl,Ql=Yl;function ed(e){return Zl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&Ql(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,a)}return t})}var td=ed,od=ml,nd=td;nd(function(e,t,o){od(e,t,o)});const Oe=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(H).join(".");return Oe(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(H).join(".");return n[r]=Oe(t(r,a,i),t,i),n},{}):e,rd=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:(i,c)=>{i in e?e[i].push(c):e[i]=[c]},has:i=>i in e,get:i=>e[i],emit:(i,...c)=>i in e?e[i].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},ad=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Co=e=>!e&&e==null,H=e=>!Co(e),ve=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Te(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const We=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},id=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},sd=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),cd=e=>"id"in e&&"root"in e,ld=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),dd=(e,t)=>{try{Oe(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},So=["desktop","laptop","tablet","mobile"],_d={mobile:320,tablet:768,laptop:1024,desktop:1920},k={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 ud=0;function s(e,t,o,n,r,a){var i,c,l={};for(c in t)c=="ref"?i=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--ud,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)l[c]===void 0&&(l[c]=i[c]);return _.options.vnode&&_.options.vnode(d),d}const Ao=_.createContext(),ee=({children:e,value:t})=>s(Ao.Provider,{value:t,children:e}),te=e=>i=>bt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=gt(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>v_);window.ResizeObserver=l.ResizeObserver}return _.render(s(ee,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>rn(Ao),fd=(e={})=>typeof e=="object"&&H(e)&&So.every(t=>t in e),pd=(e,t)=>e&&Oe(e,(o,n)=>{if(fd(n)){const r=n[t];return"parent"in r&&H(r.parent)?m(m({},n[r.parent]),Te(r,"parent")):r}return n}),oe=(e,t)=>pd(e,t),he=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=_d})=>{const[r,a]=ye("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([p,g],[$,C])=>g-C),u=((f=d.find(([p,g],$)=>{const[C,h]=d[$+1]||[];return l>=g&&l<h}))==null?void 0:f[0])||"desktop";a(u)};return Ot(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Ke=(e,t)=>`${e}${t}`,vd=e=>e.startsWith("px_"),hd=e=>e.startsWith("percent_"),gd=(e,t)=>{let o=e,n=t;return vd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),hd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},bd=["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"],md=(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=L(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])=>{bd.includes(r)&&(a=Ke(a,"px"));const{key:i,value:c}=gd(r,a);if(n[i]=c,i==="innerHTML"&&(n.innerHTML=H(c)?`${c}`:""),i==="innerText"&&(n.innerText=H(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?H(c)?`${c}`:"":c),(i==="innerHTML"||i==="innerText"||i==="children")&&(typeof c=="string"&&c.length===0||Co(c))&&(n.display="none"),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&H(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&H(n.backgroundColorOpacity)&&H(n.backgroundColor)){const l=id(n.backgroundColor);l&&(n.backgroundColor=ld(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},yd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=yd(n)?md(m({},e[o]),o):n,t),{}):e,Ne=o=>{var n=o,{children:e}=n,t=gt(n,["children"]);var a;const r=(a=e==null?void 0:e.replace("script",""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",L(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},Ro=()=>{const[e,t]=ye(!1);return[e,()=>t(o=>!o)]},Ce=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),dt=()=>s("svg",{viewBox:"0 0 16 16",children:s("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),$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`}),jo=(e,t)=>{var u,f,p,g,$,C,h,O,x,S,P,q,M;const o=$d(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:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(g=n==null?void 0:n.container)==null?void 0:g.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},i={left:(O=n==null?void 0:n.container)==null?void 0:O.left},c=(((x=n==null?void 0:n.icon)==null?void 0:x.animations)||[]).map(J=>o[J]).join(", "),l=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(q=n.icon)==null?void 0:q.backgroundColor} 0%, ${(M=n==null?void 0:n.icon)==null?void 0:M.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=m(L(m({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},Se=e=>{const t=new Set([]);Oe(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=>rd(n))},[o])},Ae=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],wd=["borderWidth","borderColor","borderStyle"],Eo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],xd=e=>console.log(`Noop YaMektika reach goal: ${e}`),kd=e=>console.log(`Noop AdFox reach goal: ${e}`),Od=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ye(!1),a=F(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};return le(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),le(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Lo=({ref:e,openDelay:t})=>{const o=F(No()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),a=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=Od({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Tt(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:i,toggle:c,click:()=>o.current.emit("click")}},Td=$e(({id:e},t)=>{var O,x,S,P,q,M,J;const o=F(null),[n,r]=Ro(),a=B(),i=he({targetRef:o,id:e}),c=oe(a,i),l=j(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=jo(c,{fade:k.fadein,pulse:k.pulse,wiggle:k.wiggle,gradient:k.gradient}),{isOpen:g,toggle:$,click:C}=Lo({ref:t,openDelay:(O=c==null?void 0:c.container)==null?void 0:O.delay});Se(c);const h=n?ve(l.container,...wd):{};return s("div",{className:A(k.root,{[k.legalOpen]:n}),ref:o,children:[s("div",{className:k.icon,style:u,onClick:$,children:d&&s("div",{className:k.iconTarget,children:s(dt,{})})}),s("div",{className:A(k.body,{[k.bodyOpen]:g}),style:f,children:[s("div",{className:k.arrow,style:p}),s("div",{className:k.close,style:l==null?void 0:l.close,onClick:$,children:s(Ce,{})}),s("div",{className:k.container,style:l==null?void 0:l.container,children:[s("a",{href:(x=l==null?void 0:l.root)==null?void 0:x.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:C,children:[s("div",{className:k.inner,children:[s("div",{className:k.logo,style:l==null?void 0:l.logo}),s(Ne,{className:k.text,style:l==null?void 0:l.text,children:(S=l==null?void 0:l.text)==null?void 0:S.children})]}),s("div",{className:A(k.button,{[k.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(P=l==null?void 0:l.button)==null?void 0:P.children})]}),s("div",{className:k.legalGap}),s("div",{className:k.legal,style:m(m({},l==null?void 0:l.legal),h),children:s("span",{className:k.legalText,children:s("span",{children:[s("span",{children:(q=l==null?void 0:l.legal)==null?void 0:q.children}),s("span",{className:k.legalButton,onClick:r,children:n?(M=l==null?void 0:l.legal)==null?void 0:M.buttonOpenText:(J=l==null?void 0:l.legal)==null?void 0:J.buttonHideText})]})})})]})]})]})}),Nd=te(s(Td,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},G={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},_t=(e,t="root")=>{const o=F(),n=(e==null?void 0:e.yaReachGoal)||xd,r=(e==null?void 0:e.adfoxReachGoal)||kd,a=H(e)?ve(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return le(()=>{sd(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)}},Cd=()=>{var n,r,a,i,c;const e=B(),t=j(e),o=_t(e);return s("a",{href:(n=t.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.variant2]:((r=t.root)==null?void 0:r.variant)==="variant2"}),style:t.root,onClick:o,children:[s("div",{className:G.body,children:[s("div",{className:G.line,style:t.line}),s("div",{className:G.bodyInner,children:[s("div",{className:G.logo,style:t.logo}),s("div",{className:G.text,style:t.text,children:s(Ne,{children:(a=t.text)==null?void 0:a.children})})]}),s("div",{className:G.button,style:t.button,children:[s("div",{className:G.logo,style:t.logo}),s("div",{className:G.buttonText,children:(i=t.button)==null?void 0:i.children})]})]}),s("div",{className:G.legal,style:t.legal,children:(c=t.legal)==null?void 0:c.children})]})},Sd=$e(({id:e},t)=>{var C,h,O,x;const o=F(null),n=B(),r=he({targetRef:o,id:e}),a=oe(n,r),i=j(a),{isOpen:c,click:l,toggle:d}=Lo({ref:t,openDelay:(C=a==null?void 0:a.container)==null?void 0:C.delay});Se(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:g}=jo(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(h=i==null?void 0:i.title)==null?void 0:h.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(dt,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:p,children:[s("div",{className:T.arrow,style:g}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Ce,{})}),s("div",{className:T.promotion,style:i.promotion,children:(O=i.promotion)==null?void 0:O.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:ve(i.title,"color"),children:s(dt,{})}),s("div",{className:T.headTitle,style:i.title,children:(x=i.title)==null?void 0:x.children})]}),s("div",{className:T.inner,onClick:l,children:(i.children||[]).map(S=>s(ee,{value:S,children:s(Cd,{})}))})]})]})]})}),Ad=te(s(Sd,{})),D={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},ne=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Rd={root:"_root_2ic16_1"},jd=()=>{var o;const e=B(),t=j(e);return s("div",{className:Rd.root,style:t.root,children:s(Ne,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},ut=(e,t=0)=>{const o=F(No()),[n,r]=ye(!1),a=d=>o.current.on("visible",d),i=d=>o.current.on("click",d),c=()=>bt(this,null,function*(){yield ad(+t),r(!0)}),l=()=>r(!1);return le(()=>{o.current.emit("visible",n)},[n]),Tt(e,()=>({onVisible:a,onClick:i,show:c,hide:l})),{isOpen:n,show:c,hide:l,click:()=>o.current.emit("click")}},Ed=$e(({id:e,className:t},o)=>{var C,h,O,x,S,P,q;const n=F(null),r=he({targetRef:n,id:e}),a=B(),i=oe(a,r);Se(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(h=i==null?void 0:i.legal)==null?void 0:h.width);const c=j(i),l=We(c,"root.delay",0),{isOpen:d,hide:u,click:f}=ut(o,l),p={alignItems:ne((O=c.root)==null?void 0:O.align)},g=L(m({},c==null?void 0:c.button),{justifyContent:ne((x=c.root)==null?void 0:x.textAlign)}),$=L(m({},c==null?void 0:c.legal),{justifyContent:ne((S=c.root)==null?void 0:S.textAlign)});return s("div",{className:A(D.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:D.overlay,style:c.overlay,onClick:u}),s("div",{className:D.wrapper,children:[s("div",{className:D.close,style:{color:(P=c.close)==null?void 0:P.backgroundColor},onClick:u,children:s(Ce,{})}),s("a",{href:(q=c.root)==null?void 0:q.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(D.content,{[D.desktop]:r==="desktop",[D.tablet]:r==="tablet",[D.laptop]:r==="laptop"}),style:c.root,onClick:f,children:s("div",{className:D.body,style:p,children:[s("div",{className:D.logo,style:c.logo}),s("div",{className:D.text,children:((c==null?void 0:c.children)||[]).map(M=>s(ee,{value:M,children:s(jd,{})}))}),s("div",{className:D.button,style:g,children:g==null?void 0:g.children}),s("div",{className:D.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Ld=te(s(Ed,{})),Z={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},W={root:"_root_1oxkc_1",desktop:"_desktop_1oxkc_9",laptop:"_laptop_1oxkc_9",header:"_header_1oxkc_14",logo:"_logo_1oxkc_25",container:"_container_1oxkc_32",body:"_body_1oxkc_43",text:"_text_1oxkc_60",button:"_button_1oxkc_83",legal:"_legal_1oxkc_101"},zd=({onClick:e})=>{var r,a,i,c;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(W.root,{[W.desktop]:n==="desktop",[W.laptop]:n==="laptop"}),style:Te(o.root,...Eo),onClick:e,children:[s("div",{className:W.header,style:o.header,children:s("div",{className:W.logo,style:o.logo})}),s("div",{className:W.container,style:ve(o.root,...Eo),children:[s("div",{className:W.body,children:[s("div",{className:W.logo}),s(Ne,{className:W.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:W.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s("div",{className:W.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},Bd=$e(({id:e},t)=>{var f,p;const o=F(null),n=he({targetRef:o,id:e}),r=B(),a=oe(r,n),i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=ut(t,c);return s("div",{className:Z.root,style:{display:l?"flex":"none"},children:[s("div",{className:Z.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(Z.content,{[Z.desktop]:n==="desktop",[Z.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:Z.close,style:{color:(f=i.close)==null?void 0:f.backgroundColor},onClick:d,children:s(Ce,{})}),s("div",{className:Z.title,style:i.title,children:(p=i.title)==null?void 0:p.children}),s("div",{className:Z.wrapper,children:(i.children||[]).map(g=>s(ee,{value:L(m({},g),{device:n}),children:s(zd,{onClick:u})}))})]})]})}),Id=te(s(Bd,{})),E={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1qxck_1",left:"_left_1qxck_8",desktop:"_desktop_1qxck_15",laptop:"_laptop_1qxck_15",teams:"_teams_1qxck_19",logo:"_logo_1qxck_25",league:"_league_1qxck_32",name:"_name_1qxck_37",right:"_right_1qxck_43",odd:"_odd_1qxck_54",oddLabel:"_oddLabel_1qxck_67",oddValue:"_oddValue_1qxck_76",team:"_team_1qxck_19",teamLogo:"_teamLogo_1qxck_102",teamName:"_teamName_1qxck_109"},Pd=()=>{var n,r,a,i,c,l,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("div",{className:N.logo,style:t.teamALogo}),s("div",{className:N.logo,style:t.teamBLogo})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),s("div",{className:N.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamALogo}),s("div",{className:N.teamName,style:t.teams,children:(i=t.teams)==null?void 0:i.teamA})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:(c=t.oddLabel)==null?void 0:c.children}),s("div",{className:N.oddValue,style:t.oddValue,children:(l=t.oddValue)==null?void 0:l.children})]}),s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamBLogo}),s("div",{className:N.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},qd=$e(({id:e},t)=>{var h,O,x,S,P,q,M,J,ie,se,Qe,et,Ee,Qo;const o=F(null),n=he({targetRef:o,id:e}),r=B(),a=oe(r,n);Ue(a,"buttonWrapper.percent_width",(h=a==null?void 0:a.buttonWrapper)==null?void 0:h.width),Ue(a,"legal.percent_width",(O=a==null?void 0:a.legal)==null?void 0:O.width);const i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=ut(t,c),f=L(m({},i.root),{alignItems:ne((x=i.root)==null?void 0:x.align)}),p=L(m({},i.content),{alignItems:ne((S=i.root)==null?void 0:S.align)}),g=L(m({},i.text),{textAlign:(P=i.root)==null?void 0:P.align}),$=L(m({},i==null?void 0:i.button),{justifyContent:ne((q=i.root)==null?void 0:q.textAlign)}),C=L(m({},i==null?void 0:i.legal),{justifyContent:ne((M=i.root)==null?void 0:M.textAlign)});return s("div",{className:A(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:E.overlay,style:i.overlay,onClick:d}),s("div",{className:E.content,children:[s("div",{className:E.close,style:{color:(J=i.close)==null?void 0:J.backgroundColor},onClick:d,children:s(Ce,{})}),s("a",{ref:o,href:(ie=i.root)==null?void 0:ie.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:u,children:s("div",{className:E.body,style:f,children:[s("div",{className:E.head,children:[s("div",{className:E.title,style:i.title,children:(se=i.title)==null?void 0:se.children}),s("div",{className:E.logo,style:i.logo})]}),s("div",{className:E.wrapper,style:p,children:(i.children||[]).map(h_=>s(ee,{value:L(m({},h_),{device:n}),children:s(Pd,{})}))}),s(Ne,{className:E.text,style:g,children:(Qe=i.text)==null?void 0:Qe.children}),s("div",{className:E.button,style:i.buttonWrapper,children:[s("div",{className:E.buttonHead,style:i.buttonHead,children:(et=i.buttonHead)==null?void 0:et.children}),s("div",{className:E.buttonTarget,style:$,children:(Ee=i.button)==null?void 0:Ee.children})]}),s("div",{className:E.legal,style:C,children:(Qo=i.legal)==null?void 0:Qo.children})]})})]})]})}),Hd=te(s(qd,{})),U={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"},Dd=()=>{var a,i,c,l,d,u,f;const e=B(),t=j(e),[o,n]=Ro(),r=_t(e);return s("div",{className:U.root,style:t.root,children:[s("div",{className:U.background,style:t.background}),s("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:U.body,onClick:r,children:[s("div",{children:[s("div",{className:U.rowFirst,style:t.rowFirst,children:(i=t.rowFirst)==null?void 0:i.children}),s("div",{className:U.rowSecond,style:t.rowSecond,children:(c=t.rowSecond)==null?void 0:c.children}),s("div",{className:U.bookmaker,children:"winline"})]}),s("div",{className:U.button,style:t.button,children:(l=t.button)==null?void 0:l.children})]}),s("div",{className:A(U.legal,{[U.legalOpen]:o}),style:t.legalInfo,children:s("span",{className:U.legalText,children:[s("span",{children:(d=t.legalInfo)==null?void 0:d.children}),s("span",{className:U.legalButton,style:t.legalInfoButton,onClick:n,children:o?(u=t.legalInfoButton)==null?void 0:u.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},Md=te(s(()=>{const e=F(null),t=B(),n=oe(t,"desktop"),r=j(n);return s("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>s(ee,{value:a,children:s(Dd,{})}))})},{})),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"},zo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Vd=()=>{var o;const e=B(),t=j(e);return s("div",{className:A(zo.root,{[zo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Te(t.root,...Ae),children:(o=t.root)==null?void 0:o.children})},K={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Fd=()=>{var n,r,a;const e=B(),t=j(e),o=Te(t.root,...Ae);return s("div",{className:K.root,children:[s("div",{className:K.odd,children:[s("div",{className:K.oddLogo,style:o}),s("div",{className:K.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:K.coef,children:[s("div",{className:K.coefHead,style:t.coef,children:"X"}),s("div",{className:K.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:A(K.odd,K.oddReverse),children:[s("div",{className:K.oddLogo,style:o}),s("div",{className:K.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},I={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"},Gd=()=>{const e=B(),t=j(e);return s("div",{className:A(I.root,{[I.desktop]:(e==null?void 0:e.device)==="desktop",[I.laptop]:(e==null?void 0:e.device)==="laptop",[I.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Te(t.root,...Ae),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:I.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value2.children})]})]})]})},Wd=(e=[])=>{var a;const t=e.length,[o,n]=ye(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return le(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},Ud=3700,Kd=te(s(()=>{var f,p,g,$,C;const e=F(null),t=B(),o=he({targetRef:e}),n=oe(t,o),r=j(n),a=_t(n),i=h=>({text:s(Vd,{}),matches:s(Fd,{}),matchesOneTwo:s(Gd,{})})[h],c=(r.children||[]).filter(Boolean).map(h=>{var O,x;return L(m({},h),{animationName:(O=h==null?void 0:h.root)==null?void 0:O.animationName,animationDuration:((x=h==null?void 0:h.root)==null?void 0:x.animationDuration)||Ud})}),l=Wd(c),d=j(c[l]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?ve((d==null?void 0:d.root)||{},...Ae):ve(r.background,...Ae);return s("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((g=r.root)==null?void 0:g.variant)==="variant2"}),style:r.root,onClick:a,children:[s("div",{className:R.background,style:u}),s("div",{className:R.promotion,style:r.promotion,children:($=r.promotion)==null?void 0:$.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:r.logo})}),s("div",{className:R.center,children:(r.children||[]).map((h,O)=>{var x,S;return s("div",{className:R.slide,style:{animationName:l===O?R[((x=h.root)==null?void 0:x.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=h.root)==null?void 0:S.animationDuration}ms`},children:s(ee,{value:L(m({},h),{device:o}),children:i(h.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:r.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:R.button,style:r.button,children:[s("div",{className:R.logo,style:r.logo}),(C=r.button)==null?void 0:C.children]})})]})]})]})},{})),Xd=(e,t,o,n,r=So)=>{const a=m({},e);return r.forEach(i=>{a[t]=L(m({},a[t]),{[i]:L(m({},a[t][i]),{[o]:typeof n=="function"?n(We(a,`${t}.${i}.${o}`)):n})})}),a};var re=[],Jd=function(){return re.some(function(e){return e.activeTargets.length>0})},Yd=function(){return re.some(function(e){return e.skippedTargets.length>0})},Bo="ResizeObserver loop completed with undelivered notifications.",Zd=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Bo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Bo),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)},Io=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ae(this)}return e}(),Po=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,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ft=function(e){return e instanceof SVGElement&&"getBBox"in e},qo=function(e){if(ft(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ho=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Qd=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:{},Xe=new WeakMap,Do=/auto|scroll/,e_=/^tb|vertical/,t_=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),X=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 Io((o?t:e)||0,(o?e:t)||0)},Mo=ae({devicePixelContentBoxSize:ge(),borderBoxSize:ge(),contentBoxSize:ge(),contentRect:new Po(0,0,0,0)}),Vo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(qo(e))return Xe.set(e,Mo),Mo;var o=getComputedStyle(e),n=ft(e)&&e.ownerSVGElement&&e.getBBox(),r=!t_&&o.boxSizing==="border-box",a=e_.test(o.writingMode||""),i=!n&&Do.test(o.overflowY||""),c=!n&&Do.test(o.overflowX||""),l=n?0:X(o.paddingTop),d=n?0:X(o.paddingRight),u=n?0:X(o.paddingBottom),f=n?0:X(o.paddingLeft),p=n?0:X(o.borderTopWidth),g=n?0:X(o.borderRightWidth),$=n?0:X(o.borderBottomWidth),C=n?0:X(o.borderLeftWidth),h=f+d,O=l+u,x=C+g,S=p+$,P=c?e.offsetHeight-S-e.clientHeight:0,q=i?e.offsetWidth-x-e.clientWidth:0,M=r?h+x:0,J=r?O+S:0,ie=n?n.width:X(o.width)-M-q,se=n?n.height:X(o.height)-J-P,Qe=ie+h+q+x,et=se+O+P+S,Ee=ae({devicePixelContentBoxSize:ge(Math.round(ie*devicePixelRatio),Math.round(se*devicePixelRatio),a),borderBoxSize:ge(Qe,et,a),contentBoxSize:ge(ie,se,a),contentRect:new Po(f,l,ie,se)});return Xe.set(e,Ee),Ee},Fo=function(e,t,o){var n=Vo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return i;case Re.BORDER_BOX:return r;default:return a}},Go=function(){function e(t){var o=Vo(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}(),Wo=function(e){if(qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},o_=function(){var e=1/0,t=[];re.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Go(d.target),f=Wo(d.target);c.push(u),d.lastReportedSize=Fo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,c,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Uo=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()&&(Wo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},n_=function(){var e=0;for(Uo(e);Jd();)e=o_(),Uo(e);return Yd()&&Zd(),e>0},pt,Ko=[],r_=function(){return Ko.splice(0).forEach(function(e){return e()})},a_=function(e){if(!pt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return r_()}).observe(o,n),pt=function(){o.textContent="".concat(t?t--:t++)}}Ko.push(e),pt()},i_=function(e){a_(function(){requestAnimationFrame(e)})},Je=0,s_=function(){return!!Je},c_=250,l_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Xo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Jo=function(e){return e===void 0&&(e=0),Date.now()+e},vt=!1,d_=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=c_),!vt){vt=!0;var n=Jo(t);i_(function(){var r=!1;try{r=n_()}finally{if(vt=!1,t=n-Jo(),!s_())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,l_)};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(),Xo.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Xo.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),ht=new d_,Yo=function(e){!Je&&e>0&&ht.start(),Je+=e,!Je&&ht.stop()},__=function(e){return!ft(e)&&!Qd(e)&&getComputedStyle(e).display==="inline"},u_=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=Fo(this.target,this.observedBox,!0);return __(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),f_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Zo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new f_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var r=Ye.get(t),a=r.observationTargets.length===0;Zo(r.observationTargets,o)<0&&(a&&re.push(r),r.observationTargets.push(new u_(o,n&&n.box)),Yo(1),ht.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),r=Zo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&re.splice(re.indexOf(n),1),n.observationTargets.splice(r,1),Yo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),p_=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ze.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ho(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ho(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const v_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:p_,ResizeObserverEntry:Go,ResizeObserverSize:Io},Symbol.toStringTag,{value:"Module"}));v.BonusCard=Md,v.ComplexGift=Ad,v.ComplexPopup=Id,v.ExpressPopup=Hd,v.SimpleGift=Nd,v.SimplePopup=Ld,v.WideCard=Kd,v.findDeep=dd,v.isValidTemplate=cd,v.modifyState=Xd,Object.defineProperty(v,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.10",
4
+ "version": "2.2.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"