/*! For license information please see 1787.c7dd5e6c7e1f56b6d990.js.LICENSE.txt */ "use strict";(self.webpackChunkengine=self.webpackChunkengine||[]).push([[1787,5971,219,5893,8521,6607,946],{21787:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var r,o,i,l,a,s=t(28416),d=t(5439),c=t.n(d),u=t(9411),f=t.n(u),m=t(38150),p=t.n(m),b=t(85893);function h(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var y=(0,s.memo)(f().div(r||(r=h(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tborder-radius: 1em;\n\tmargin-top: 1em;\n\tz-index: 3;\n\tborder: 1px solid;\n\tborder-color: rgba(var(--white), 0.1) rgba(var(--white), 0.2) rgba(var(--white), 0.34);\n"])))),g=(0,s.memo)(f().div(o||(o=h(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\twidth: 100%;\n\tbackground: rgba(var(--white), 0.08);\n\tbackdrop-filter: blur(37px);\n\tborder-radius: 1em 1em 0 0;\n\tpadding: 0.5em 0.75em;\n"])))),v=(0,s.memo)(f().h3(i||(i=h(["\n\tfont: 0.875em/1.21 var(--mainFontMedium);\n\tcolor: rgba(var(--white), 0.9);\n\tmargin: 0;\n"])))),w=(0,s.memo)(f().button(l||(l=h(["\n\twidth: 1em;\n\tborder: 0 none;\n\toutline: 0 none;\n\tbackground: transparent;\n\tpadding: 0;\n\tcursor: pointer;\n"])))),x=(0,s.memo)(f().div(a||(a=h(["\n\twidth: 100%;\n\theight: 36.625em;\n\tpadding: 1em;\n\tbackground: rgba(var(--white), 0.02);\n\tbackdrop-filter: blur(37px);\n\tborder-radius: 0 0 1em 1em;\n"]))));function _(e){var n=e.title,t=e.styles,r=e.onClose,o=e.children;return(0,b.jsxs)(y,{style:t.container,children:[(0,b.jsxs)(g,{style:t.header,children:[(0,b.jsx)(v,{style:t.title,children:n||"_Bets"}),(0,b.jsx)(w,{style:t.closeBtn,onClick:r,children:(0,b.jsx)(p(),{color:"rgba(var(--white), 0.8)"})})]}),(0,b.jsx)(x,{style:t.block,children:o})]})}_.defaultProps={title:"",styles:{},children:null,onClose:function(){}},_.propTypes={title:c().string,styles:c().object,children:c().node,onClose:c().func};const j=_},75251:(e,n,t)=>{var r=t(28416),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function d(e,n,t){var r,i={},d=null,c=null;for(r in void 0!==t&&(d=""+t),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(c=n.ref),n)l.call(n,r)&&!s.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===i[r]&&(i[r]=n[r]);return{$$typeof:o,type:e,key:d,ref:c,props:i,_owner:a.current}}n.Fragment=i,n.jsx=d,n.jsxs=d},85893:(e,n,t)=>{e.exports=t(75251)}}]);