PageSourceSearch

https://www.azerlotereya.com/_next/static/chunks/8935-b8d9f98cce7d0eac.js

js azerlotereya.com collected 2026-09-28 09:31:40 UTC 9,501 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8935],{78935:function(e,t,l){l.r(t),l.d(t,{default:function(){return m}});var s=l(85893),a=l(67294),n=l(2502),o=l(11163),i=l(10152),x=e=>{let{row:t,AppClient:l}=e;(0,o.useRouter)(),null==l||l.CreateService();let[x,d]=(0,a.useState)(!1),c=()=>{navigator.clipboard.writeText((null==t?void 0:t.operatorBetId)||"").then(()=>{d(!0),setTimeout(()=>d(!1),2e3)})},r=(0,a.useCallback)(async e=>{let{gameType:t}=e;null==l||l.PushUrl("/game-category/".concat(t.toLowerCase(),"/play"))},[t]),m=(0,n.ach)("(min-width: 1100px)");return(0,s.jsx)(s.Fragment,{children:m?(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex items-center bg-sky text-xxs/[14px] font-medium sm:font-semibold py-2 pl-[38px] -ml-[38px]",children:[(0,s.jsx)("p",{className:"w-3/4",children:null==l?void 0:l.Translate("GameName")}),(0,s.jsx)("p",{children:null==l?void 0:l.Translate("Date")})]}),(0,s.jsxs)("div",{className:"flex items-center text-sm/[17px] font-medium mt-[22px] pb-[68px]",children:[(0,s.jsx)("p",{className:"w-3/4",children:"".concat(t.gameName,"-").concat(t.transactionType)}),(0,s.jsx)("p",{children:(0,n.SoN)(t.createdDate)})]}),(0,s.jsx)("div",{className:"h-[1px] bg-pastelBlue -ml-[38px]"}),(0,s.jsxs)("div",{className:"flex items-center pt-[15px] mb-1.5",children:[(0,s.jsxs)("p",{className:"w-3/4 text-sm/[17px] font-bold",children:[null==l?void 0:l.Translate("CouponNumber:"),(0,s.jsx)("span",{className:"text-xxs/4 font-medium ml-1",children:t.operatorBetId}),(0,s.jsxs)("button",{id:"clipboardCouponNumber",type:"button",onClick:c,className:"align-text-bottom ml-[9px] relative",children:[(0,s.jsx)(n.JO$,{name:"copyToClipboard",size:18,ext2:"#333333"}),x&&(0,s.jsx)(i.Z,{AppClient:l,id:"copiedCouponNumber"})]})]}),(0,s.jsx)("button",{id:"playAgainBtn",type:"button",className:"bg-white text-azBlue border border-pastelBlue rounded-[5px] text-sm/[17px] font-semibold px-[27px] py-[9px]",onClick:()=>r(t),children:null==l?void 0:l.Translate("Replay")})]})]}):(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-2 border-b border-[#D0D1D4]",children:[(0,s.jsx)("p",{className:"text-xxs/[14px] font-semibold text-black",children:"".concat(t.gameName,"-").concat(t.transactionType)}),(0,s.jsxs)("p",{className:"text-[10px]/[12px] font-semibold",children:[null==l?void 0:l.Translate("DateAndTime:"),(0,s.jsx)("span",{className:"text-xxs/[14px] font-semibold text-black",children:(0,n.SoN)(t.createdDate)})]})]}),(0,s.jsxs)("p",{className:"flex items-center pt-3 gap-x-1.5 text-[10px]/3 font-bold text-black",children:[null==l?void 0:l.Translate("CouponNumber:"),(0,s.jsx)("span",{className:"text-[10px]/3 font-medium ml-1",children:t.operatorBetId}),(0,s.jsxs)("button",{id:"clipboardcouponNumberEks",type:"button",onClick:c,className:"relative",children:[(0,s.jsx)(n.JO$,{name:"copyToClipboard",size:18,ext2:"#333333"}),x&&(0,s.jsx)(i.Z,{AppClient:l,id:"copiedCouponNumber"})]})]}),(0,s.jsxs)("p",{className:"flex justify-end pt-3 text-[11px]/[14px] text-black font-bold",children:[null==l?void 0:l.Translate("CouponAmount:")," ","".concat(t.stake.toFixed(2)," AZN")]}),t.netWinnings>0&&(0,s.jsx)("div",{className:"text-white bg-[#00A400] text-xxs/[14px] text-end mt-6 py-1.5 pr-7.5 -mx-4",children:(0,s.jsxs)("p",{className:"font-semibold",children:[null==l?void 0:l.Translate("WinningAmount"),":",(0,s.jsx)("span",{className:"ml-1",children:t.netWinnings?"".concat(t.netWinnings," AZN"):"-"})]})}),(0,s.jsx)("div",{className:"mt-[15px]",children:(0,s.jsx)("button",{id:"playAgainEks",type:"button",className:"bg-white text-azBlack w-full h-[34px] border border-pastelBlue rounded-[5px] text-sm/[17px] font-semibold hover:bg-azBlue hover:text-white transition-all ease-in-out duration-300",onClick:()=>r(t),children:null==l?void 0:l.Translate("Replay")})})]})})},d=l(96601),c=l(45007),r=l(87658),m=function(e){var t;let{data:l,AppClient:o,defaultOpen:i=!1}=e,m=[{text:null==o?void 0:o.Translate("Last24Hours"),value:1},{text:null==o?void 0:o.Translate("Last48Hours"),value:2},{text:null==o?void 0:o.Translate("LastWeek"),value:7},{text:null==o?void 0:o.Translate("LastMonth"),value:30},{text:null==o?void 0:o.Translate("Last3Months"),value:90}],p=(0,c.I0)(),u=(0,c.v9)(e=>e.ticketMobileVersion.isMobile),[b,h]=(0,a.useState)(null),[N,f]=(0,a.useState)("All"),[v,j]=(0,a.useState)(30),g=e=>{h(b===e?null:e)},y=e=>{let[t,l,s,a,n]=e.match(/\d+/g).map(Number);return new Date(s,l-1,t,a,n)},w=null===(t=(e=>{let t=new Date,s=new Date;switch(e){case 1:t.setDate(s.getDate()-1);break;case 2:t.setDate(s.getDate()-2);break;case 7:default:t.setDate(s.getDate()-7);break;case 30:t.setMonth(s.getMonth()-1);break;case 90:t.setMonth(s.getMonth()-3)}return t?null==l?void 0:l.filter(e=>y((0,n.SoN)(e.createdDate))>t):l})(v))||void 0===t?void 0:t.filter(e=>"All"===N||("Won"===N?"Uduşlu Oyun"===e.transactionType:"Lost"!==N||"Oyun"===e.transactionType)),k=(0,n.ach)("(min-width: 1100px)");return(0,s.jsxs)("div",{className:"flex flex-col min-h-[800px] ".concat(!k&&u?"":"xl:border"," border-pastelBlue rounded-[5px] w-full pb-[42px] sm:pb-12 mt-1"),children:[(0,s.jsx)("div",{className:"max-xl:hidden text-white text-sm/[17px] font-semibold bg-azBlack w-full rounded-t-[5px] pl-7.5 py-[9px] ".concat(!k&&u?"hidden":""),children:null==o?void 0:o.Translate("DigitalGames")}),(0,s.jsx)("div",{className:"flex flex-col gap-y-[25px] xl:px-7.5 xl:pt-8 sm-xl:mx-auto w-full",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-x-1.5 mb-7 xl:mb-12.5 ".concat(!k&&u?"hidden":""),children:[(0,s.jsx)("button",{id:"filterAllBtnLot",onClick:()=>f("All"),className:"bg-lightSky p-3 max-sm:py-2 max-sm:w-[78px] max-sm:h-9 text-xxs xl:text-base font-medium rounded-lg ".concat("All"===N?"text-azBlue border border-pastelBlue !bg-[#ECF8FF]":""),children:null==o?void 0:o.Translate("All")}),(0,s.jsx)("button",{id:"filterWonBtnLot",onClick:()=>f("Won"),className:"bg-lightSky p-3 max-sm:py-2 max-sm:w-[78px] max-sm:h-9 text-xxs xl:text-base font-medium rounded-lg ".concat("Won"===N?"text-azBlue border border-pastelBlue !bg-[#ECF8FF]":""),children:null==o?void 0:o.Translate("Won")}),(0,s.jsx)("button",{id:"filterLostBtnLot",onClick:()=>f("Lost"),className:"bg-lightSky p-3 max-sm:py-2 max-sm:w-[78px] max-sm:h-9 text-xxs xl:text-base font-medium rounded-lg ".concat("Lost"===N?"text-azBlue border border-pastelBlue !bg-[#ECF8FF]":""),children:null==o?void 0:o.Translate("Lost")})]}),k?(0,s.jsx)(d.Z,{options:m,onChange:e=>j(e),value:v,className:"w-[213px] h-[38px] !text-azBlue font-semibold rounded-[5px] py-2.5 px-2.5 sm:py-2 sm:px-5  mb-6 ".concat(!k&&u?"hidden":""),iconColor:"#41A8E4",openableBoxClass:"!w-[213px]",theme:"primary","data-testid":"datesOptionLot"}):(0,s.jsxs)("div",{className:"flex items-center justify-between bg-sky border border-pastelBlue px-5 py-2 -mx-3 ".concat(!k&&u?"hidden":""),children:[(0,s.jsx)("p",{className:"text-sm/[17px] font-semibold",children:null==o?void 0:o.Translate("MyTickets")}),(0,s.jsx)(d.Z,{options:m,onChange:e=>j(e),value:v,className:"bg-white w-[156px] h-[38px] !text-cyan font-semibold rounded-[5px] py-2.5 px-2.5 sm:py-2 sm:px-5",iconColor:"#41A8E4",openableBoxClass:"!w-[156px]",theme:"primary","data-testid":"datesOptionLot",containerClassName:"!w-auto"})]}),(0,s.jsxs)("ul",{className:"bg-sky flex items-center justify-between pl-4.5 py-2 text-xxs/[14px] font-medium sm:font-semibold rounded-[5px] mb-3 max-xl:hidden ".concat(!k&&u?"hidden":""),children:[(0,s.jsx)("li",{className:"w-[25%]",children:null==o?void 0:o.Translate("Date")}),(0,s.jsx)("li",{className:"w-[30%]",children:null==o?void 0:o.Translate("GameOrCouponType")}),(0,s.jsx)("li",{className:"w-[20%]",children:null==o?void 0:o.Translate("Amount")}),(0,s.jsx)("li",{className:"w-[25%]",children:null==o?void 0:o.Translate("Profit")})]}),null==w?void 0:w.map((e,t)=>{var l;return(0,s.jsxs)("details",{id:"virtualGamesAccordion",className:"".concat(!k&&u?"":"max-xl:border-b"," ").concat(!k&&u?"":"xl:border","  border-pastelBlue max-xl:px-3 xl:pl-[38px] pt-3 xl:pt-[25px] pb-5 mb-1 xl:rounded-[5px] cursor-pointer ").concat(!k&&u&&b!==t?"hidden":""),open:k?i:t===b&&u,onToggle:e=>{p((0,r.yo)(e.currentTarget.open)),g(t)},children:[(0,s.jsxs)("summary",{className:"relative ".concat(!k&&u?"hidden":""),children:[(0,s.jsxs)("ul",{className:"flex items-center justify-between text-sm/[17px]",children:[(0,s.jsx)("li",{className:"w-[25%] text-black font-semibold xl:font-normal",children:(0,n.SoN)(e.createdDate)}),(0,s.jsx)("li",{className:"w-[30%] font-semibold max-xl:hidden",children:"".concat(e.gameName,"-").concat(e.transactionType)}),(0,s.jsxs)("li",{className:"w-[30%] text-black xl:hidden",children:[(0,s.jsx)("div",{className:"font-semibold",children:e.gameName}),(0,s.jsx)("div",{className:"font-medium",children:e.transactionType})]}),(0,s.jsx)("li",{className:"w-[20%] max-xl:hidden",children:"".concat((0,n.lt1)(e.stake)," AZN")}),(0,s.jsx)("li",{className:"w-[25%] font-medium text-[11px]/3 sm:text-xxs/[14px] ".concat((null===(l=e.netWinnings)||void 0===l?void 0:l.toFixed(2))>0?"text-[#31D265]":"text-black"),children:e.netWinnings?"".concat(e.netWinnings," AZN"):"-"})]}),(0,s.jsx)(n.JO$,{name:b===t&&u?"chevronUp":"chevronDown",size:24,fill:"black",className:"absolute right-5 top-0 max-xl:hidden"})]}),(0,s.jsx)("div",{className:"xl:mt-5.5",children:(0,s.jsx)(x,{row:e,AppClient:o})})]},t)})]})})]})}}}]);

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.