PageSourceSearch

https://www.spinandwin.com/build/_shared/chunk-OER5664X.js

js spinandwin.com collected 2026-09-26 06:50:57 UTC 4,205 bytes, 1 lines download raw bytes

1import{a as y,b as R}from"/build/_shared/chunk-DOJH6AOT.js";import{b as M}from"/build/_shared/chunk-VZXFVSJ3.js";import{h as I}from"/build/_shared/chunk-HQKYMZTK.js";import{a as L}from"/build/_shared/chunk-ZWOE6ERH.js";import{a as p}from"/build/_shared/chunk-2G3BUNAD.js";import{a as v}from"/build/_shared/chunk-LWRH4PUZ.js";import{e as T}from"/build/_shared/chunk-6XX3ATVP.js";import{b as w}from"/build/_shared/chunk-TQS5E2SK.js";import{e as N,v as k}from"/build/_shared/chunk-RBFCHJWR.js";import{a as _}from"/build/_shared/chunk-JUM7J4TY.js";import{a as B}from"/build/_shared/chunk-RW7BUM27.js";import{e as u}from"/build/_shared/chunk-ADMCF34Z.js";var o=u(_());var t=u(B());function K({isPokerApp:s,onCloseClick:S,onBackClick:O,profile:E}){let F=N(),{siteConfig:a,isNewBalanceUI:A}=k("root");(0,o.useEffect)(()=>{let e="react-datepicker-css";if(document.getElementById(e))return;let H=Object.assign(document.createElement("link"),{id:e,rel:"stylesheet",href:R});document.head.appendChild(H)},[]);let r=new Date,l=new Date(r.getFullYear(),r.getMonth()-1,r.getDate());l.setHours(0,0,0,0);let c=new Date(r);c.setHours(23,59,59,999);let[C,g]=(0,o.useState)(l),[f,x]=(0,o.useState)(c),D=a.transHistoryCategories.map(e=>e.content),[n,P]=(0,o.useState)(D[0]),[d,h]=(0,o.useState)(!1),[m,U]=(0,o.useState)(!0),i=(0,o.useRef)(null),b=()=>{g(l),x(c),h(!d)};return(0,t.jsx)(M,{profile:E,menuTitle:"TRANSACTION HISTORY",menuUserClasses:"text-transactionHistoryAccountMenuHeaderTextTopColor",menuTitleClasses:"text-transactionHistoryAccountMenuHeaderTextBottomColor",onBackIconClick:()=>{s?O():(T({event:"back_click"}),F(A?p.menu_default:p.menu_cashier))},onCloseIconClick:s?null:()=>{S()},children:(0,t.jsxs)("div",{id:`transactionHistoryContainer${s?"PokerApp":""}`,className:"h-full m-4 overflow-y-auto pr-4",onScroll:()=>{var e;(e=i==null?void 0:i.current)==null||e.onScroll()},children:[(0,t.jsx)("p",{className:"text-transactionHistoryColor pb-4",children:a.transHistoryNote}),(0,t.jsx)("p",{className:"text-transactionHistoryColor pb-4",children:"Filter by activity:"}),(0,t.jsx)(I,{styles:{option:(e,H)=>({...e,minHeight:"56px",maxHeight:"auto",overflowY:"auto",display:"flex",alignItems:"center"})},classNames:{control:e=>"pl-2 h-14 border border-textBoxBorderColor bg-textBoxBackgroundColor text-textBoxColor",option:e=>"pl-2 h-8 text-textBoxColor bg-dropdownOptionEvenBackgroundColor odd:bg-dropdownOptionOddBackgroundColor",menu:e=>"bg-textBoxBackgroundColor border border-textBoxFocusedBorderColor"},className:"pb-4",defaultValue:n,onChange:P,options:D,unstyled:!0}),n.label!=="Net Deposits"&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid grid-flow-col items-center",children:[(0,t.jsx)("p",{className:"text-transactionHistoryColor",children:"Filter by date range:"}),(0,t.jsx)("div",{className:"text-transactionHistoryLinkColor underline justify-self-end cursor-pointer",onClick:b,role:"button",tabIndex:0,onKeyDown:e=>{e.key==="Enter"&&b()},children:"Reset"})]}),(0,t.jsxs)("div",{className:"flex items-center py-4",children:[(0,t.jsx)(y,{selected:C,onChange:e=>{e.setHours(0,0,0,0),g(e)},wrapperClassName:"grow",className:"h-14 w-full text-sm border border-datePickerBorderColor bg-datePickerBackgroundColor text-datePickerColor",minDate:new Date().setMonth(r.getMonth()-a.transHistoryDateRangeLimitInMonths),maxDate:new Date().setDate(r.getDate()-1),dateFormat:"dd/MM/yyyy"}),(0,t.jsx)("p",{className:"px-[15px] sm:px-[25px]",children:"to"}),(0,t.jsx)(y,{selected:f,onChange:e=>{e.setHours(23,59,59,999),x(e)},minDate:new Date().setMonth(r.getMonth()-a.transHistoryDateRangeLimitInMonths),maxDate:new Date().setDate(r.getDate()),wrapperClassName:"grow",className:"h-14 w-full text-sm border border-datePickerBorderColor bg-datePickerBackgroundColor text-datePickerColor",dateFormat:"dd/MM/yyyy"})]}),(0,t.jsx)(w,{type:"primary",label:a.transHistoryCTAText,size:"large",className:"w-full mb-4",onClick:()=>h(!d),disabled:m,loading:m,svgSource:a.spinnerSVG.Url})]}),(0,t.jsx)(v,{children:()=>(0,t.jsx)(L,{startDate:C,endDate:f,tranType:n.label,category:n.value,refresh:d,loading:m,setLoading:U,noResultsText:a.transHistoryNoResultsText,isPokerApp:s,ref:i}
1)})]})})}export{K as a};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.