/*! For license information please see 4139.c19ba61d8b49a22467d1.js.LICENSE.txt */ "use strict";(self.webpackChunkengine=self.webpackChunkengine||[]).push([[4139,5893,8521],{24139:(e,t,o)=>{o.r(t),o.d(t,{default:()=>W});var r=o(28416),n=o(9411),i=o.n(n),c=o(31454),s=o.n(c),l=o(35775),a=o.n(l),m=o(62071),d=o.n(m),u=o(90875),g=o.n(u),b=o(53804),h=o(5439),f=o.n(h),p={styles:f().shape({container:f().object,content:f().object,header:f().object,headerTxt:f().object,headerRow:f().object,headerCell:f().object,textBlock:f().object,iconBig:f().object,title:f().object,amountBox:f().object,desc:f().object,row:f().object,cell:f().object,cellItem:f().object,cellTxt:f().object,number:f().object,numberTxt:f().object,iconBtn:f().object,infoRow:f().object,infoItem:f().object,count:f().object}),resources:f().object,culture:f().string,data:f().object},y=o(85893);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function v(e){for(var t=1;t div{padding:0 0.5em 0.5em;}"])),_=(0,r.memo)(i().div.withConfig({componentId:"sc-1j5s8go-7"})(["border-radius:0.9375em 0.9375em 0 0;background:rgba(var(--white),0.06);display:flex;align-items:center;justify-content:center;text-align:center;padding:",";cursor:pointer;"],x?"0.5em":"0.9375em")),R=(0,r.memo)(i().p.withConfig({componentId:"sc-1j5s8go-8"})(["font:0.75em var(--mainFont);text-transform:capitalize;margin:0 0.7em 0 0;color:rgb(var(--white));"])),S=i().div.withConfig({componentId:"sc-1j5s8go-9"})(["display:flex;justify-content:space-between;align-items:center;padding:0.5em;border-bottom:1px solid rgba(var(--white),0.05);"]),E=i().div.withConfig({componentId:"sc-1j5s8go-10"})(["font:0.75em/1.2 var(--mainFont);color:rgba(var(--white),0.6);text-align:left;&:last-child{text-align:right;}"]),F={container:{display:"inline-flex"},amount:{font:"0.75em var(--mainFontMedium)",color:"rgb(var(--white))"},currency:{color:"rgba(var(--white), 0.6)",font:"0.75em var(--mainFont)",padding:0}},D=i().span.withConfig({componentId:"sc-1j5s8go-11"})(["color:rgb(var(--white));text-align:right;",";"],x?"font-size: 1em":""),A=(0,r.memo)(i().span.withConfig({componentId:"sc-1j5s8go-12"})(["width:1.5em;height:1.5em;display:flex;align-items:center;justify-content:center;cursor:pointer;position:absolute;right:0;font-size:1em !important;",";"],(function(e){return e.static&&(0,n.css)(["position:static;"])})));function H(e){var t,o=e.data,r=e.culture,n=e.resources,i=e.styles,c=n.strHistory,l=n.strYouDontHaveHistory,m=n.strRepeatAllBets,u=n.strRoundId,b=n.strTotalWin,h=n.strTotalBetCount,f=n.strTotalBetAmount;return(0,y.jsx)(I,{style:i.container,children:null!==(t=o.body)&&void 0!==t&&t.length?o.body.map((function(e){var t,c=e.key,l=e.totalBet,g=e.totalWin,p=e.stakes,j=e.onClick;return(0,y.jsxs)(T,{style:i.content,children:[(0,y.jsxs)(_,{style:i.header,onClick:j,children:[(0,y.jsx)(R,{style:i.headerTxt,children:m}),(0,y.jsx)(A,{style:i.iconBtn,static:!0,children:(0,y.jsx)(d(),{color:"rgba(var(--white), 0.8)"})})]}),(0,y.jsxs)(S,{style:i.infoRow,children:[(0,y.jsx)(E,{style:i.infoItem,children:u||"Round Id"}),(0,y.jsx)(E,{style:i.infoItem,children:(0,y.jsx)(D,{style:i.count,children:c})})]}),(0,y.jsxs)(S,{style:i.infoRow,children:[(0,y.jsx)(E,{style:i.infoItem,children:h||"Total Bet Count"}),(0,y.jsx)(E,{style:i.infoItem,children:(0,y.jsx)(D,{style:i.count,children:null==p||null===(t=p.body)||void 0===t?void 0:t.length})})]}),(0,y.jsxs)(S,{style:i.infoRow,children:[(0,y.jsx)(E,{style:i.infoItem,children:f||"Total Bet Amount"}),(0,y.jsx)(a(),{isVisibleCurrency:!0,currencyId:o.headers.strCurrency,culture:r,text:l,styles:v(v({},i.amountBox),F)},"")]}),(0,y.jsxs)(S,{style:i.infoRow,children:[(0,y.jsx)(E,{style:i.infoItem,children:b||"Total Win"}),(0,y.jsx)(a(),{isVisibleCurrency:!0,currencyId:o.headers.strCurrency,culture:r,text:g,styles:v(v({},i.amountBox),F)},"")]}),(0,y.jsx)(P,{children:(0,y.jsx)(s(),{forHistory:!0,data:p,resources:n,styles:i,culture:r})})]},c)})):(0,y.jsxs)(C,{style:i.textBlock,children:[(0,y.jsx)(O,{style:i.iconBig,children:(0,y.jsx)(g(),{})}),(0,y.jsx)(k,{style:i.title,children:c}),(0,y.jsx)(B,{style:i.desc,children:l})]})})}H.defaultProps={culture:"",styles:{container:{},content:{},header:{},headerTxt:{},headerRow:{},headerCell:{},textBlock:{},iconBig:{},title:{},amountBox:{},desc:{},row:{},cell:{},cellItem:{},cellTxt:{},number:{},numberTxt:{},iconBtn:{}},resources:{},data:{headers:{},body:{}}},H.propTypes=p;const W=(0,r.memo)(H)},75251:(e,t,o)=>{var r=o(28416),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,o){var r,i={},a=null,m=null;for(r in void 0!==o&&(a=""+o),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(m=t.ref),t)c.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:n,type:e,key:a,ref:m,props:i,_owner:s.current}}t.Fragment=i,t.jsx=a,t.jsxs=a},85893:(e,t,o)=>{e.exports=o(75251)}}]);