1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85880,9008],{51969:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]/result-togel",function(){return a(97243)}])},97243:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return _}});var l=a(85893),i=a(66306),r=a(24836),n=a(63330),s=a(55939),o=a(98778),d=a(64908),c=a(85225),u=a(34599),x=a(99037),p=a(89285),m=a(4971),v=a(11163),h=a(63543),f=a(67294);let g=e=>{var t,a,s;let{openModal:g,setModalView:_,lobbyUrl:j,isPinVerified:b,isAuthorized:y,hasPin:N,checkPinStatus:w,setModalData:E,modalData:k}=(0,u.l8)(),P=(0,v.useRouter)(),{data:T,isLoading:A}=(0,m.t)({authorized:b}),{data:I,isLoading:R}=(0,p.z)({authorized:b}),z=null==T?void 0:null===(t=T.market)||void 0===t?void 0:t.data,S=null==I?void 0:null===(a=I.market)||void 0===a?void 0:a.data,Z=(0,f.useMemo)(()=>{let e=[];return null==z||z.map(t=>{var a,l,i,r,n,s,o,d,c;let u=null==S?void 0:S.filter(e=>e.code===t.real_market);if(u&&(null===(a=u[0])||void 0===a?void 0:a.close_hours.length)>1){let a=null===(l=u[0])||void 0===l?void 0:l.close_date.substring(11,19),d=0;for(let e=0;e<(null===(r=u[0])||void 0===r?void 0:null===(i=r.close_hours)||void 0===i?void 0:i.length);e++)(null===(o=u[0])||void 0===o?void 0:o.close_hours[e].includes(a))&&(d=e);e.push({created_at:t.created_at,main_prize:t.main_prize,market_name:t.market_name,real_market:t.real_market,period:t.period,open_hours:[null==u?void 0:null===(n=u[0])||void 0===n?void 0:n.open_hours[d]],close_hours:[null==u?void 0:null===(s=u[0])||void 0===s?void 0:s.close_hours[d]]})}else e.push({created_at:t.created_at,main_prize:t.main_prize,market_name:t.market_name,real_market:t.real_market,period:t.period,open_hours:null==u?void 0:null===(d=u[0])||void 0===d?void 0:d.open_hours,close_hours:null==u?void 0:null===(c=u[0])||void 0===c?void 0:c.close_hours})}),e},[A,R]),L=e=>{window.open(e,"_blank","noopener,noreferrer")},{data:M,isLoading:D}=(0,x.E)({category:"banner-lottery"}),C=(0,c.F)();return(0,l.jsxs)("div",{className:"container mx-auto px-mobile lg:mt-10 relative",children:[(0,l.jsx)(d.Z,{title:"hasil pasaran",subtitle:"hasil pasaran togel"}),(0,l.jsx)("div",{className:"w-full lg:hidden flex justify-center",children:(0,l.jsxs)(o.Z,{type:"button",variant:"loadmore",onClick:()=>{!0===b?j?L(j):L("#"):y?y&&w&&(N?E({...k,pin:{ui:"modal",type:"authPin"}}):E({...k,pin:{ui:"modal",type:"newPin"}}),_("PIN_VERIFICATION"),g()):P.push("/login")},className:"flex items-center justify-center gap-[10px] w-fit h-11 mx-auto mt-[30px] px-5 md:mt-[60px] uppercase",children:[(0,l.jsx)("span",{children:"lobby togel"}),(0,l.jsx)(h.Z,{className:"w-4 h-3"})]})}),(0,l.jsxs)("div",{className:"text_loading_fetch_data grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-[12px] gap-y-[19px] lg:gap-x-[15px] lg:gap-y-[22px] mt-[35px] lg:mt-[50px] mb-[18px] lg:mb-0",children:[A?"Loading":null,!C.isTabDevice&&(null==Z?void 0:Z.map(e=>(0,l.jsx)(i.default,{data:e},e.market))),C.isTabDevice&&(null==Z?void 0:Z.map(e=>(0,l.jsx)(r.default,{data:e},e.market)))]}),(0,l.jsx)("div",{className:"w-full hidden lg:flex justify-center",children:(0,l.jsxs)(o.Z,{type:"button",variant:"loadmore",onClick:()=>{!0===b?j?L(j):L("#"):y?y&&w&&(N?E({...k,pin:{ui:"modal",type:"authPin"}}):E({...k,pin:{ui:"modal",type:"newPin"}}),_("PIN_VERIFICATION"),g()):P.push("/login")},className:"flex items-center justify-center gap-[10px] w-fit h-11 mx-auto mt-10 px-5 md:mt-[60px] uppercase",children:[(0,l.jsx)("span",{children:"lobby togel"}),(0,l.jsx)(h.Z,{className:"w-4 h-3"})]})}),!y&&(0,l.jsx)(n.Z,{props:null==e?void 0:null===(s=e.dataSEO)||void 0===s?void 0:s.footer,footerIndex:null==e?void 0:e.dataPages})]})};var _=!0;t.default=g,g.Layout=s.default},24836:function(e,t,a){"use strict";a.r(t);var l=a(85893);a(67294);var i=a(25675),r=a.n(i),n=a(94929),s=a(96606),o=a(67204),d=a(67744),c=a(34599),u=a(85225),x=a(11163),p=a(63543),m=a(56399);t.default=e=>{var t,a,i,v,h,f,g,_,j,b;let{t:y}=(0,n.$G)("common"),N=(0,x.useRouter)(),{openModal:w,setModalView:E,lobbyResultUrl:k,isPinVerified:P,isAuthorized:T,hasPin:A,template:I,checkPinStatus:R,setModalData:z,modalData:S}=(0,c.l8)(),Z=(null===(t=e.data.main_prize)||void 0===t?void 0:t[0])?null===(a=e.data.main_prize)||void 0===a?void 0:a[0].split(""):[],L=(null===(i=e.data.main_prize)||void 0===i?void 0:i[1])?null===(v=e.data.main_prize)||void 0===v?void 0:v[1].split(""):[],M=(null===(h=e.data.main_prize)||void 0===h?void 0:h[2])?null===(f=e.data.main_prize)||void 0===f?void 0:f[2].split(""):[],D=e=>{window.open(e,"_blank","noopener,noreferrer")},C=(0,u.F)(),O=e=>e?(0,o.default)(new Date(e),"HH:mm"):"--:--";return(0,l.jsxs)("div",{onClick:()=>{"/result-togel"===N.asPath||P?"/result-togel"!==N.asPath&&P?D(k):!0===P?D(k):T?T&&R&&(A?z({...S,pin:{ui:"modal",type:"authPin"}}):z({...S,pin:{ui:"modal",type:"newPin"}}),E("PIN_VERIFICATION"),w()):N.push("/login"):N.push("/result-togel")},className:(0,m.cn)("border border-[rgba(249,250,251,0.10)] rounded-md cursor-pointer w-full md:aspect-auto relative",5!==I?"bg-[rgba(249,250,251,0.10)]":"bg_card_togel_custom"),"market-name":null==e?void 0:e.data.market_display,children:[(0,l.jsxs)("div",{className:"absolute z-[2] right-[22px] -top-[4px] w-[62px] h-[56px]",children:[C.isMobileDevice?(0,l.jsx)(r(),{alt:"ribbon",src:"/images/theme/"+I+"/ribbon_mobile.png",width:62,height:84,quality:100,style:{objectFit:"cover"}}):(0,l.jsx)(r(),{alt:"ribbon",src:"/images/theme/"+I+"/ribbon_mobile.png",width:62,height:84,quality:100,style:{objectFit:"contain"}}),(0,l.jsx)("span",{className:"font-bold uppercase lg:text-lg flex items-center justify-center px-[6px] w-[62px] h-[56px] absolute left-0 top-5 text-base",children:null==e?void 0:e.data.real_market})]}),(0,l.jsxs)("div",{className:"p-5",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-[6px] text-[var(--text--secondary)] text-10 font-medium mb-4 lg:text-xs",children:[(0,l.jsx)(s.s3B,{}),(0,l.jsx)("span",{children:(0,o.default)(new Date(e.data.created_at),"eeee, dd MMM yyyy - HH:mm",{locale:d.Z})})]}),(0,l.jsxs)("div",{className:"flex flex-col justify-start items-start gap-[10px] lg:gap-3",children:[(0,l.jsx)("div",{className:"text-[var(--text--primary)] text-10 font-semibold uppercase",style:{lineHeight:"10px"},children:e.data.market_name}),(0,l.jsxs)("div",{className:"text-[var(--text--primary)] text-lg leading-[18px] font-bold uppercase",children:[e.data.real_market," - ",e.data.period]})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 text-[var(--text--secondary)] text-xs mt-3",children:[(0,l.jsxs)("label",{children:["Open : ",(0,l.jsx)("span",{className:"text-white",children:O(null==e?void 0:null===(_=e.data)||void 0===_?void 0:null===(g=_.open_hours)||void 0===g?void 0:g[0])})]}),(0,l.jsx)(p.Z,{className:"text-[var(--text--secondary)] arrowColor w-3 h-2 cursor-text"}),(0,l.jsxs)("label",{children:["Close : ",(0,l.jsx)("span",{className:"text-white",children:O(null==e?void 0:null===(b=e.data)||void 0===b?void 0:null===(j=b.close_hours)||void 0===j?void 0:j[0])})]})]}),(0,l.jsxs)("div",{className:"flex flex-row items-center justify-between mt-[27px]",children:[(0,l.jsxs)("div",{className:"flex flex-row items-center justify-center gap-[11px]",children:[(0,l.jsx)("span",{className:"text-[var(--text--secondary)] font-bold uppercase text-10 lg:text-xs",children:"Prize 1"}),(0,l.jsx)("div",{className:"flex flex-row gap-[3px]",children:0!==Z.length?Z.map((e,t)=>(0,l.jsx)("div",{className:"bg-[var(--togel-prize-background)] border border-[var(--togel-prize-border)] flex items-center justify-center rounded-full w-[34px] h-[34px] text-base font-medium",children:e},t)):"-"})]}),(0,l.jsxs)("div",{className:"".concat(0==L.length&&0==M.length?"hidden":"flex"," flex-col gap-[4px]"),children:[(0,l.jsxs)("div",{className:"flex flex-row items-center justify-center gap-[6px]",children:[(0,l.jsx)("span",{className:"text-[var(--text--secondary)] font-bold uppercase text-10 lg:text-xs",children:"Prize 2"}),(0,l.jsx)("div",{className:"text-[var(--text--primary)] text-xs font-normal flex flex-row flex-wrap justify-center gap-[2px]",children:0!==L.length?L.map((e,t)=>(0,l.jsx)("div",{children:e},t)):["-","-","-","-"].map((e,t)=>(0,l.jsx)("div",{children:e},t))})]}),(0,l.jsxs)("div",{className:"flex flex-row items-center justify-center gap-[6px]",children:[(0,l.jsx)("span",{className:"text-[var(--text--secondary)] font-bold uppercase text-10 lg:text-xs",children:"Prize 3"}),(0,l.jsx)("div",{className:"text-[var(--text--primary)] text-xs font-normal flex flex-row flex-wrap justify-center gap-[2px]",children:0!==M.length?M.map((e,t)=>(0,l.jsx)("div",{children:e},t)):["-","-","-","-"].map((e,t)=>(0,l.jsx)("div",{children:e},t))})]})]})]})]})]})}},63330:function(e,t,a){"use strict";var l=a(85893),i=a(98778),r=a(34599),n=a(56399),s=a(94929),o=a(67294),d=a(30303);t.Z=e=>{var t;
1let{t:a}=(0,s.$G)(),[c,u]=(0,o.useState)(!0),{groupName:x}=(0,r.l8)(),p=null!==(t=e.props)&&void 0!==t?t:void 0;return(0,l.jsx)("div",{className:(0,n.cn)("",!p&&"hidden",e.containerPadding?null:" p-0","titan"===x&&"container mx-auto","lx"===x&&"pb-[20px]"),children:(0,l.jsx)("section",{className:(0,n.cn)(e.containerPadding?"px-[18px] ":null,"titan"===x&&"grid gap-3 md:px-0 mb-[21px] md:mb-0","lx"===x&&"mt-0 mb-0"),children:(0,l.jsxs)("div",{className:(0,n.cn)("bg_footer_cms ql-editor relative",!c&&"close","titan"===x&&"text-[var(--text--secondary)] rounded-[10px] p-[30px] md:p-[50px]","lx"===x&&"bg-lx-background-500 text-lx-text-color/50 px-lx-mobile py-6"),children:[(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:p},className:(0,n.cn)("overflow-hidden",!c&&"max-h-40","titan"===x&&"md:columns-2 md:gap-[30px]","lx"===x&&"")}),(0,l.jsx)("div",{className:"".concat(c?"block mt-5":"absolute bottom-10 left-0 right-0 z-10 "," flex justify-center"),children:"button"===e.variantButton?(0,l.jsx)(i.Z,{"aria-label":"button read more",onClick:()=>{c?u(!1):u(!0)},type:"button",width:"w-fit",className:"btn_footer_readmore rounded mt-2 px-5 h-[38px] font-extrabold uppercase animate-transationNormal active:translate-y-1 cursor-pointer",children:a(c?"common:text-read-less":"common:text-read-more")}):(0,l.jsxs)("div",{className:(0,n.cn)("flex flex-col items-center cursor-pointer","titan"===x&&"","lx"===x&&"hidden"),onClick:()=>{c?u(!1):u(!0)},children:[(0,l.jsx)("span",{className:"text-[10px] font-bold",children:a("text-see-all")}),(0,l.jsx)(d.OId,{className:(0,n.cn)({"rotate-180":c})})]})})]})})})}},64908:function(e,t,a){"use strict";var l=a(85893),i=a(25675),r=a.n(i),n=a(11163),s=a(67294);t.Z=e=>{let{title:t,subtitle:a}=e,i=(0,n.useRouter)().asPath,[o,d]=(0,s.useState)("");function c(e){var t,a;let l=null==e?void 0:e.toLowerCase().split("/"),i=null==l?void 0:null===(t=l[1])||void 0===t?void 0:t.split("?");switch(null==i?void 0:null===(a=i[0])||void 0===a?void 0:a.toString()){case"userinformation":return"user";case"wallet":return"deposit";case"referral":return"referral";case"promo":return"promotion";case"transaction":return"transaction";case"live-events":return"event";case"register":return"register";case"login":return"login";case"notification":return"notification";case"provider":case"provider-profile":return"provider";case"result-togel":return"togel"}}return(0,s.useEffect)(()=>{null!==i&&d(c(i))},[i]),(0,l.jsxs)("div",{className:"cont_heading flex flex-col lg:items-start items-center",children:[(0,l.jsxs)("div",{className:"flex flex-row gap-3 items-center",children:[(0,l.jsx)("div",{className:"icon_heading relative",children:""!==o&&(0,l.jsx)(r(),{alt:"",src:"/images/iconSet1/".concat(c(i),".webp"),fill:!0,sizes:"100vw",style:{objectFit:"cover"}})}),(0,l.jsx)("h1",{className:"heading_title",children:t})]}),a?(0,l.jsx)("p",{className:"heading_subtitle",children:a}):null]})}},99037:function(e,t,a){"use strict";a.d(t,{E:function(){return o},e:function(){return s}});var l=a(96986),i=a(76554),r=a(88767),n=a(78444);let s=async e=>{if(Array.isArray(null==e?void 0:e.category))try{let t=[];for(let a=0;a<(null==e?void 0:e.category.length);a++){let r=null==e?void 0:e.category[a];t.push(l.Z.get("".concat(i.P.SETTINGS,"?category=banner-").concat(r,"&api_key=").concat((0,n.Pi)(),"&limit=20")))}let a=await Promise.allSettled(t),r=[];for(let e=0;e<a.length;e++){let{status:t,value:l}=a[e];t&&r.push(...l.data.data)}return r}catch(e){return[]}let{data:t}=await l.Z.get("".concat(i.P.SETTINGS,"?category=")+e.category+"&api_key=".concat((0,n.Pi)(),"&limit=20"));return t.data},o=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],(0,r.useQuery)([i.P.SETTINGS,e],()=>s(e),{keepPreviousData:!0,enabled:!!(0,n.Pi)()})}},89285:function(e,t,a){"use strict";a.d(t,{z:function(){return o}});var l=a(96986),i=a(76554),r=a(88767),n=a(78444);let s=async e=>{let{queryKey:t}=e,[a,r]=t;if(r.authorized){let{data:{data:e}}=await l.Z.get(i.P.MARKET_DETAIL_AUTHORIZED,{params:r});return{market:{data:e||[]}}}{let{data:{data:e}}=await l.Z.get(i.P.MARKET_DETAIL,{params:{...r,api_key:(0,n.Pi)()}});return{market:{data:e||[]}}}},o=e=>(0,r.useQuery)([e?i.P.MARKET_DETAIL_AUTHORIZED:i.P.MARKET_DETAIL,e],s)},4971:function(e,t,a){"use strict";a.d(t,{t:function(){return o}});var l=a(96986),i=a(76554),r=a(88767),n=a(78444);let s=async e=>{let{queryKey:t}=e,[a,r]=t;if(r.authorized){let{data:{data:e}}=await l.Z.get(i.P.GAMES_RESULT_REAL_MARKET_AUTHORIZED+"?limit=100");return{market:{data:e||[],total_items:null==e?void 0:e.total_items,total_page:null==e?void 0:e.total_page}}}{let{data:{data:e}}=await l.Z.get(i.P.GAMES_RESULT_REAL_MARKET+"?limit=100&api_key=".concat((0,n.Pi)()));return{market:{data:e||[],total_items:null==e?void 0:e.total_items,total_page:null==e?void 0:e.total_page}}}},o=e=>e?(0,r.useQuery)([i.P.GAMES_RESULT_REAL_MARKET_AUTHORIZED,e],s):(0,r.useQuery)([i.P.GAMES_RESULT_REAL_MARKET,e],s)},9008:function(e,t,a){e.exports=a(23867)}},function(e){e.O(0,[60509,54817,55939,66306,92888,49774,40179],function(){return e(e.s=51969)}),_N_E=e.O()}]);
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.