PageSourceSearch

https://116lotto.tv/_next/static/chunks/pages/lottery/[slug]/how-to-buy-dedb5aa662bff165.js

js 116lotto.tv collected 2026-10-09 21:55:38 UTC 41,850 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a8252f6-a8ee-4328-96ce-fe947ae63d7d",e._sentryDebugIdIdentifier="sentry-dbid-3a8252f6-a8ee-4328-96ce-fe947ae63d7d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5634],{70813:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/lottery/[slug]/how-to-buy",function(){return r(94983)}])},66409:function(e,t,r){"use strict";r.d(t,{g:function(){return use100vh}});var n=r(67294),__assign=function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},__rest=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},a=!1,i=(0,n.forwardRef)(function(e,t){var r=e.style,i=__rest(e,["style"]),s=use100vh();!a&&(null==r?void 0:r.height)&&(a=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var o=__assign(__assign({},r),{height:s?s+"px":"100vh"});return n.createElement("div",__assign({ref:t,style:o},i))});function use100vh(){var e,t,r,a=(0,n.useState)(measureHeight),i=a[0],s=a[1],o=(t=(e=(0,n.useState)(!1))[0],r=e[1],(0,n.useEffect)(function(){isClient()&&r(!0)},[]),t);return(0,n.useEffect)(function(){if(o)return window.addEventListener("resize",setMeasuredHeight),function(){return window.removeEventListener("resize",setMeasuredHeight)};function setMeasuredHeight(){s(measureHeight())}},[o]),o?i:null}function measureHeight(){return isClient()?window.innerHeight:null}function isClient(){return"undefined"!=typeof window&&"undefined"!=typeof document}i.displayName="Div100vh",t.ZP=i},77113:function(e,t,r){"use strict";r.d(t,{Cb:function(){return n.Cb},Jv:function(){return n.Jv}});var n=r(92848)},6745:function(e,t,r){"use strict";r.d(t,{t:function(){return n.InactiveUserDialog},W:function(){return InactiveUserDialogDetector}});var n=r(27848),a=r(85893),i=r(5152),s=r.n(i),o=r(67294),l=r(55619),d=s()(function(){return Promise.resolve().then(r.bind(r,27848))},{loadableGenerated:{webpack:function(){return[27848]}},ssr:!1}),InactiveUserDialogDetector=function(){var e=(0,o.useContext)(l.J);return(null==e?void 0:e.isInactive)?(0,a.jsx)(d,{visible:!0,"data-sentry-element":"InactiveUserDialog","data-sentry-component":"InactiveUserDialogDetector","data-sentry-source-file":"InactiveUserDialogDetector.tsx"}):null}},6635:function(e,t,r){"use strict";r.d(t,{V:function(){return PageMeta}});var n=r(85893),a=r(9008),i=r.n(a),s=r(11163),o=r(34155),PageMeta=function(e){var t=e.meta;e.preventZoom;var r=(0,s.useRouter)().asPath.substring(1).split("?")[0],a="".concat("https://116lotto.tv","/").concat(r),l=null!=t?t:{},d=l.description,c=void 0===d?"":d,u=l.image,m=void 0===u?"":u,x=l.title,p=void 0===x?"":x;return l.url,(0,n.jsxs)(i(),{"data-sentry-element":"Head","data-sentry-component":"PageMeta","data-sentry-source-file":"PageMeta.tsx",children:[(0,n.jsx)("title",{children:p}),a&&(0,n.jsx)("link",{rel:"canonical",href:a}),"development"===o.env.ENV_TYPE&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,n.jsx)("meta",{name:"googlebot",content:"noindex,nofollow"})]}),"production"===o.env.ENV_TYPE&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"robots",content:"index,follow"}),(0,n.jsx)("meta",{name:"googlebot",content:"index,follow"})]}),(0,n.jsx)("meta",{name:"description",content:c,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"og:type",content:"website","data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"og:title",content:p,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"og:description",content:c,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"og:image",content:m,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"og:url",content:a,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"twitter:card",content:"summary_large_image","data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"twitter:title",content:p,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"twitter:description",content:c,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"twitter:image",content:m,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{property:"twitter:url",content:a,"data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no","data-sentry-element":"meta","data-sentry-source-file":"PageMeta.tsx"})]})}},51538:function(e,t,r){"use strict";r.d(t,{C:function(){return useScrollDirection},I:function(){return a}});var n,a,i=r(24043),s=r(67294),getScrollY=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},hasAction=function(e){var t=document.body.style;return"fixed"===t.position&&"hidden"===t.overflow||!!document.querySelector('[data-modal-visible="true"]')||document.body.getAttribute("data-scroll-direction")===e};
1function useScrollDirection(){var e=(0,i._)((0,s.useState)(0),2),t=e[0],r=e[1];return(0,s.useEffect)(function(){var e=getScrollY(),handleScroll=function(){if(hasAction("skip")){e=getScrollY();return}if(hasAction("down")){e=getScrollY(),r(2);return}var t=getScrollY(),n=t-e;0===t||n<=-50?(e=t,r(1)):n>=100&&(e=t,r(2))};return window.addEventListener("scroll",handleScroll),function(){window.removeEventListener("scroll",handleScroll)}},[]),t}(n=a||(a={}))[n.NONE=0]="NONE",n[n.UP=1]="UP",n[n.DOWN=2]="DOWN"},27848:function(e,t,r){"use strict";r.r(t),r.d(t,{InactiveUserDialog:function(){return InactiveUserDialog}});var n=r(85893),a=r(11163),i=r(99269),s=r(78358),o=r(77113),l=r(81785),InactiveUserDialog=function(e){var t=e.visible,r=e.setVisible,d=e.bankDisabled,c=(0,a.useRouter)().push,u=(0,i.ZP)(),m=u.isLogin,x=u.logout;return(0,n.jsx)(l.Dialog,{id:"inactive-user-dialog",dataTestid:"inactive-user-dialog",action:{primary:{href:s.pq,title:"ติดต่อเจ้าหน้าที่"}},backdropClickable:!!d,emoji:l.Emoji.CAUTION,title:"ไม่สามารถทำรายการได้",visible:t,onClose:function(){d||(m&&x(),c("/")),r&&r(!1)},"data-sentry-element":"Dialog","data-sentry-component":"InactiveUserDialog","data-sentry-source-file":"InactiveUserDialog.tsx",children:(0,n.jsx)(o.Jv,{value:'คุณสามารถติดต่อเจ้าหน้าที่ทาง <strong style="color:#25c98d">LINE</strong> <br/>เพื่อสอบถามเพิ่มเติมได้ตลอด 24 ชม.',"data-sentry-element":"HTMLText","data-sentry-source-file":"InactiveUserDialog.tsx"})})};t.default=InactiveUserDialog},20618:function(e,t,r){"use strict";r.d(t,{Z:function(){return Layout_Layout}});var n=r(72253),a=r(14932),i=r(85893);r(67294);var s=r(58770),o=r(6745),l=r(66409);function Layout100vh(e){var t=e.children,r=(0,l.g)();return(0,i.jsx)(s.ZP,{id:"layout",style:{minHeight:r?"".concat(r,"px"):"100vh"},"data-sentry-element":"Layout","data-sentry-component":"Layout100vh","data-sentry-source-file":"Layout100vh.tsx",children:t})}var d=r(39422),c=r(23944);function LayoutNormal(e){var t=e.children;return(0,i.jsx)(s.ZP,{id:"layout","data-sentry-element":"Layout","data-sentry-component":"LayoutNormal","data-sentry-source-file":"LayoutNormal.tsx",children:t})}var Layout_Layout=function(e){var t=e.children,r=e.contentProps,l=e.fluid,u=e.fitHeight,m=e.enableFooterMargin,x=e.hideFooter,p=e.innerHTML,h=void 0===u||u?Layout100vh:LayoutNormal;return(0,i.jsxs)(h,{"data-sentry-element":"LayoutComponent","data-sentry-component":"LottoLayout","data-sentry-source-file":"Layout.tsx",children:[(0,i.jsx)(c.Z,{useIsolatedLogo:!1,"data-sentry-element":"LayoutHeader","data-sentry-source-file":"Layout.tsx"}),(0,i.jsx)(s.VY,(0,a._)((0,n._)({},r),{"data-sentry-element":"Content","data-sentry-source-file":"Layout.tsx",children:p?(0,i.jsx)(s.W2,{fluid:l,id:"layout-container",dangerouslySetInnerHTML:{__html:p}}):(0,i.jsx)(s.W2,{fluid:l,id:"layout-container",children:t})})),void 0!==x&&x?null:(0,i.jsx)(d.Z,{margin:void 0!==m&&m}),(0,i.jsx)(o.W,{"data-sentry-element":"InactiveUserDialogDetector","data-sentry-source-file":"Layout.tsx"})]})}},85409:function(e,t,r){"use strict";r.d(t,{i:function(){return Wrapper}});var n=r(85893),a=r(67294),i=r(29360),s=r(7311),o=r(54767),l=r(94710),d={header:{background:{backgroundColor:"#005EB8"},foreground:{},title:{color:"#FFFFFF"}},content:{background:{backgroundColor:"#F0F6FB"}}},c=r(32161),u=r(24551),m=r(91831),x=r(32122),p=r(51538),h=r(52207),y=r(11163),MobileHeader=function(e){var t=e.previous,r=e.theme,a=e.title,i=(0,y.useRouter)().push;return(0,n.jsxs)("div",{className:"h-[48px] font-[500] text-[24px] md:text-[34px] leading-[1] flex items-center justify-center relative",style:r.background,"data-sentry-component":"MobileHeader","data-sentry-source-file":"MobileHeader.tsx",children:[t?(0,n.jsx)("button",{id:"btn-lottery-thai-header-back-1","data-testid":"btn-lottery-thai-header-back-1",className:"w-[4.8rem] h-[4.8rem] mx-[0.4rem] flex items-center justify-center absolute top-[50%] left-0 -translate-y-[50%]",onClick:function(){return i(t)},children:(0,n.jsx)(h.Z,{id:"img-lottery-thai-header-back-1","data-testid":"img-lottery-thai-header-back-1",src:"/underground-v2/arrow_left.svg",width:23,height:16,alt:"back-icon"})}):null,(0,n.jsx)("h1",{id:"label-lottery-thai-header-title-1","data-testid":"label-lottery-thai-header-title-1",className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",style:r.t
1itle,children:a})]})},MobileView=function(e){var t=e.menu,r=e.menuKey,i=e.theme,s=e.title,o=(0,p.C)(),l=(0,a.useMemo)(function(){return"calc(".concat(u.r.header.heightMobile," - ").concat(o===p.I.DOWN?"4.8":"0","rem)")},[o]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"h-[126px]"}),(0,n.jsxs)("div",{id:"title-header",className:"fixed left-0 w-full z-[10] transition-[top] duration-[300ms]",style:{top:l,paddingTop:"env(safe-area-inset-top)"},children:[(0,n.jsx)(MobileHeader,{previous:"/",theme:i.header,title:s,"data-sentry-element":"MobileHeader","data-sentry-source-file":"MobileView.tsx"}),(0,n.jsx)(m.n,{"data-sentry-element":"MobileMenu","data-sentry-source-file":"MobileView.tsx",children:null==t?void 0:t.map(function(e){var t=e.key===r;return(0,n.jsx)(x.k,{icon:"/".concat(e.icon).concat(t?"--active":""),isActive:t,name:e.name,url:e.url},e.name)})})]})]})},f=r(97106),g=r(35501),TabletHeader=function(e){var t=e.previous,r=e.theme,a=e.title,i=(0,y.useRouter)().push;return(0,n.jsx)("div",{style:r.background,"data-sentry-component":"TabletHeader","data-sentry-source-file":"TabletHeader.tsx",children:(0,n.jsx)("div",{className:"w-full h-[11.2rem] flex items-center justify-center",style:r.foreground,children:(0,n.jsxs)("div",{className:"w-full max-w-[69.6rem] lg:max-w-[93.6rem] mb-[2.4rem] px-[4px] grid items-center grid-cols-[48px_auto_48px]",children:[t?(0,n.jsx)("button",{id:"btn-lottery-thai-header-back-1","data-testid":"btn-lottery-thai-header-back-1",className:"w-[4.8rem] h-[4.8rem] flex items-center justify-center",onClick:function(){return i(t)},children:(0,n.jsx)(h.Z,{id:"img-lottery-thai-header-back-1","data-testid":"img-lottery-thai-header-back-1",src:"/underground-v2/arrow_left.svg",width:25,height:25,alt:"back-icon"})}):(0,n.jsx)("span",{}),(0,n.jsx)("div",{className:"font-[700] text-[3.8rem] leading-[1] text-center",style:r.title,children:(0,n.jsx)("h1",{id:"label-lottery-thai-header-title-1","data-testid":"label-lottery-thai-header-title-1",children:a})})]})})})},TabletView=function(e){var t=e.menu,r=e.menuKey,a=e.theme,i=e.title;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(TabletHeader,{previous:"/",theme:a.header,title:i,"data-sentry-element":"TabletHeader","data-sentry-source-file":"TabletView.tsx"}),(0,n.jsx)(f.e,{"data-sentry-element":"TabletMenu","data-sentry-source-file":"TabletView.tsx",children:null==t?void 0:t.map(function(e){return(0,n.jsx)(g.T,{isActive:e.key===r,name:e.name,url:e.url},e.name)})})]})},Wrapper=function(e){var t=e.children,r=e.contentProps,u=e.lotteryKey,m=e.menuKey,x=(0,i.Z)(s.y.TABLET_STANDARD-1),p=(0,a.useMemo)(function(){return{name:l.O8[u],theme:d}},[u]),h=p.name,y=p.theme,f=(0,a.useMemo)(function(){var e=l.F0[u];return{mobile:[{icon:"lottery/tab-game",name:"ซื้อสลาก",key:c.bu.GAME,url:e},{icon:"underground-v2/tab-history",name:"สลากของฉัน",key:c.bu.HISTORY,url:"".concat(e,"/history")},{icon:"underground-v2/tab-winning-number",name:"ผลรางวัล",key:c.bu.WINNING_NUMBER,url:"".concat(e,"/winning-number")},{icon:"underground-v2/tab-how-to-play",name:"กติกา/วิธีซื้อ",key:c.bu.HOW_TO,url:"".concat(e,"/how-to-buy")}],tablet:[{name:"ซื้อสลาก",key:c.bu.GAME,url:e},{name:"สลากของฉัน",key:c.bu.HISTORY,url:"".concat(e,"/history")},{name:"ผลรางวัลย้อนหลัง",key:c.bu.WINNING_NUMBER,url:"".concat(e,"/winning-number")},{name:"กติกา/วิธีซื้อ",key:c.bu.HOW_TO,url:"".concat(e,"/how-to-buy")}]}},[x,u]),g=(0,a.useMemo)(function(){return x?!f.mobile.find(function(e){return e.key===m}):!f.tablet.find(function(e){return e.key===m})},[x,f,m]);return(0,n.jsxs)(n.Fragment,{children:[g?null:(0,n.jsx)(n.Fragment,{children:x?(0,n.jsx)(MobileView,{menu:f.mobile,menuKey:m,theme:y,title:h}):(0,n.jsx)(TabletView,{menu:f.tablet,menuKey:m,theme:y,title:h})}),(0,n.jsx)(o.V,{className:null==r?void 0:r.className,isHeadless:g,theme:y.content,"data-sentry-element":"Content","data-sentry-source-file":"Wrapper.tsx",children:t})]})}},50901:function(e,t,r){"use strict";r.d(t,{h:function(){return Header}});var n=r(82729),a=r(85893),i=r(70714),s=r(51950);
1function _templateObject(){var e=(0,n._)(["\n  color: #666666;\n\n  font-weight: 400;\n  font-size: 18px;\n\n  line-height: 18px;\n\n  strong {\n    color: #000000;\n    font-weight: 700;\n  }\n"]);return _templateObject=function(){return e},e}var o=i.ZP.div.withConfig({displayName:"Header__Description",componentId:"sc-d9b73db1-0"})(_templateObject()),Header=function(e){var t=e.description,r=e.order,n=e.title;return(0,a.jsxs)("div",{id:"div-lottery-thai-how-to-play-step-header-".concat(r),"data-testid":"div-lottery-thai-how-to-play-step-header-".concat(r),className:"grid grid-cols-[36px_1fr] gap-x-[16px]","data-sentry-component":"Header","data-sentry-source-file":"Header.tsx",children:[(0,a.jsx)(s.M,{isActive:!0,value:r,"data-sentry-element":"Number","data-sentry-source-file":"Header.tsx"}),(0,a.jsxs)("div",{className:"pt-[8px]",children:[(0,a.jsx)("h3",{id:"label-lottery-thai-how-to-play-step-title-".concat(r),"data-testid":"label-lottery-thai-how-to-play-step-title-".concat(r),className:"font-[700] text-[#005EB8] text-[22px] leading-[22px]",children:n}),(0,a.jsx)(o,{id:"label-lottery-thai-how-to-play-step-description-".concat(r),"data-testid":"label-lottery-thai-how-to-play-step-description-".concat(r),"data-sentry-element":"Description","data-sentry-source-file":"Header.tsx",children:t})]})]})}},48198:function(e,t,r){"use strict";r.d(t,{B:function(){return PrizePrimary}});var n=r(85893),a=r(77113),PrizePrimary=function(e){var t=e.label,r=e.value,i=e.slug,s=void 0===i?"first":i;return(0,n.jsx)("div",{id:"div-lottery-thai-how-to-rules-prize-".concat(s),"data-testid":"div-lottery-thai-how-to-rules-prize-".concat(s),className:"bg-[#FFEC9E] rounded-[4px] h-[72px] md:h-[104px] flex justify-center pt-[8px] md:pt-[6px] pb-[4px] md:pb-[6px]","data-sentry-component":"PrizePrimary","data-sentry-source-file":"PrizePrimary.tsx",children:(0,n.jsxs)("div",{className:"grid gap-x-[8px] grid-cols-[58px_1fr] md:grid-cols-[92px_1fr] items-start md:items-center",children:[(0,n.jsx)("img",{id:"img-lottery-thai-how-to-rules-prize-".concat(s),"data-testid":"img-lottery-thai-how-to-rules-prize-".concat(s),className:"w-full h-[58px] md:h-[92px]",src:"/static/lottery-no1.5kjb5z.webp",alt:"first-prize",width:80,height:80,loading:"lazy"}),(0,n.jsxs)("div",{className:"md:pt-[5px]",children:[(0,n.jsx)("div",{id:"label-lottery-thai-how-to-rules-prize-".concat(s,"-label"),"data-testid":"label-lottery-thai-how-to-rules-prize-".concat(s,"-label"),className:"font-[700] text-[#005EB8] text-[26px] md:text-[28px] lg:text-[34px] leading-[1]",children:(0,n.jsx)(a.Jv,{value:t,"data-sentry-element":"HTMLText","data-sentry-source-file":"PrizePrimary.tsx"})}),(0,n.jsxs)("div",{className:"-mt-[4px] text-[#BE1F2C]",children:[(0,n.jsx)("div",{id:"label-lottery-thai-how-to-rules-prize-".concat(s,"-value"),"data-testid":"label-lottery-thai-how-to-rules-prize-".concat(s,"-value"),className:"inline-block font-[700] text-[38px] md:text-[42px] leading-[1]",children:r}),(0,n.jsx)("div",{className:"inline-block ml-[4px] text-[20px] md:text-[28px] leading-[38px] md:leading-[42px]",children:"บาทต่อใบ"})]})]})]})})}},24222:function(e,t,r){"use strict";r.d(t,{R:function(){return PrizeSecondary}});var n=r(85893),a=r(77113),PrizeSecondary=function(e){var t=e.background,r=e.label,i=e.value,s=e.slug,o=void 0===s?"prize":s;return(0,n.jsxs)("div",{id:"div-lottery-thai-how-to-rules-prize-".concat(o),"data-testid":"div-lottery-thai-how-to-rules-prize-".concat(o),className:"rounded-[4px] h-[54px] md:h-[48px] px-[16px] flex items-center justify-between text-[#333333]",style:{backgroundColor:void 0===t?"#F0F6FB":t},"data-sentry-component":"PrizeSecondary","data-sentry-source-file":"PrizeSecondary.tsx",children:[(0,n.jsxs)("div",{className:"grid gap-x-[16px] grid-cols-[32px_1fr] items-center",children:[(0,n.jsx)("img",{id:"img-lottery-thai-how-to-rules-prize-".concat(o),"data-testid":"img-lottery-thai-how-to-rules-prize-".concat(o),src:"/static/lottery-ticket.1gzzx92.webp",alt:"normal-prize",width:32,height:32,loading:"lazy"}),(0,n.jsx)("span",{id:"label-lottery-thai-how-to-rules-prize-".concat(o,"-label"),"data-testid":"label-lottery-thai-how-to-rules-prize-".concat(o,"-label"),className:"font-[500] text-[22px] leading-[1] flex flex-row flex-wrap",children:(0,n.jsx)(a.Jv,{value:r,"data-sentry-element":"HTMLText","data-sentry-source-file":"PrizeSecondary.tsx"})})]}),(0,n.jsxs)("span",{className:"flex flex-col shrink-0 items-end md:flex-row md:items-center",children:[(0,n.jsx)("span",{id:"label-lottery-thai-how-to-rules-prize-".concat(o,"-value"),"data-testid":"label-lottery-thai-how-to-rules-prize-".concat(o,"-value"),className:"font-[700] text-[30px] md:text-[34px] leading-[1]",children:i}),(0,n.jsx)("span",{className:"ml-[4px] -mt-[2px] md:mt-0 md:pt-[5px] font-[400] text-[16px] md:text-[22px] leading-[1] md:leading-[34px]",children:"บาทต่อใบ"})]})]})}},68139:function(e,t,r){"use strict";r.d(t,{P:function(){return Schedule},z:function(){return ScheduleTimeTable}});var n=r(85893),a=r(78358),Schedule=function(e){var t=e.description,r=e.image,i=e.title,s=e.index,o=void 0===s?1:s;return(0,n.jsxs)("div",{id:"div-lottery-thai-how-to-rules-schedule-".concat(o),"data-testid":"div-lottery-thai-how-to-rules-schedule-".concat(o),className:"bg-[#F0F6FB] rounded-[0.4rem] grid grid-cols-[48px_1fr] mobile-sm:grid-cols-[70px_1fr] mobile:grid-cols-[78px_1fr] gap-x-[8px] p-[8px_8px_12px]","data-sentry-component":"Schedule","data-sentry-source-file":"Schedule.tsx",children:[(0,n.jsx)("img",{id:"img-lottery-thai-how-to-rules-schedule-".concat(o),"data-testid":"img-lottery-thai-how-to-rules-schedule-".concat(o),className:"w-[48px] h-[48px] mobile-sm:w-[70px] mobile-sm:h-[70px] mobile:w-[78px] mobile:h-[78px]",src:"".concat(a.gp,"/").concat(r),alt:"schedule",width:78,height:78}),(0,n.jsxs)("div",{className:"grid gap-y-[2px] content-start leading-[1] text-[18px] mobile-sm:text-[20px] tablet-standard:text-[22px] pt-[4px]",children:[(0,n.jsx)("div",{id:"label-lottery-thai-how-to-rules-schedule-title-".concat(o),"data-testid":"label-lottery-thai-how-to-rules-schedule-title-".concat(o),className:"font-[700]",children:i}),(0,n.jsx)("div",{id:"label-lottery-thai-how-to-rules-schedule-description-".concat(o),"data-testid":"label-lottery-thai-how-to-rules-schedule-description-".concat(o),className:"font-[400]",children:t})]})]})},ScheduleTimeTable=function(e){var t=e.children;return(0,n.jsx)("div",{className:"grid grid-cols-[51px_1fr] mobile-sm:grid-cols-[55px_1fr] tablet-standard:grid-cols-[60px_1fr]","data-sentry-component":"ScheduleTimeTable","data-sentry-source-file":"Schedule.tsx",children:t})}},43944:function(e,t,r){"use strict";r.d(t,{Gj:function(){return d},Ke:function(){return c},yA:function(){return l}});var n=r(85893),a=r(79365),i=r(94710),s=r(32161),o=r(68139),l=[{image:"lottery/rules/open.svg",title:(0,n.jsx)("h3",{className:"text-[#1BA271]",children:"เปิดขายสลาก"}),description:"เปิดขายสลากออนไลน์ทุกวัน"},{image:"lottery/rules/close.svg",title:(0,n.jsx)("h3",{className:"text-[#EE2737]",children:"ปิดขายสลาก"}),description:(0,n.jsxs)(o.z,{children:[(0,n.jsx)("strong",{children:"".concat((0,a.xY)(i.P2[s.XI.THAI])," น.")}
1),(0,n.jsx)("span",{children:"ปิดขายสลากในวันออกรางวัล"}),(0,n.jsx)("strong",{children:"".concat((0,a.xY)(i.hr[s.XI.THAI])," น.")}),(0,n.jsxs)("span",{children:["ประกาศผล/จ่ายเงินรางวัล",(0,n.jsx)("br",{}),"ในวันออกรางวัล"]})]})}],d=[{title:"สลากออนไลน์ 116Lotto",description:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-[#005EB8]",children:"เราจำหน่ายเฉพาะเลขสลากเท่านั้น ไม่มีใบจริง"})," โดยมีเลข 6 ตัวต่อใบ คือ 000000 - 999999 ทั้งหมด 20 ชุด อ้างอิงจากสลากกินแบ่งรัฐบาล"]})},{title:"จ่ายจริง จ่ายเต็ม",description:(0,n.jsxs)(n.Fragment,{children:["เมื่อถูกรางวัลรับเงินจริงเต็มจำนวนเข้ากระเป๋าเงินของคุณทันที ไม่ต้องรอ ไม่หักภาษีหรือค่าบริการใดๆ ",(0,n.jsx)("span",{className:"text-[#005EB8]",children:"รับเงินรางวัลที่ 116Lotto เท่านั้น"})]})},{title:"เพียงใบละ 79 บาท เท่านั้น",description:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-[#005EB8]",children:"ขายสลากราคาเดียว ไม่บวกเพิ่ม"})," ทางเว็บไซต์ 116Lotto ไม่มีนโยบายบวกค่าบริการ หรือค่าธรรมเนียมใดๆ กับลูกค้า"]})}],c=[[s.sZ.FIRST,s.sZ.THREE_FRONT,s.sZ.THREE_BACK,s.sZ.TWO_BACK],[s.sZ.NEARLY_FIRST,s.sZ.SECOND,s.sZ.THIRD,s.sZ.FOURTH,s.sZ.FIFTH]]},54767:function(e,t,r){"use strict";r.d(t,{V:function(){return Content}});var n=r(85893);r(67294);var a=r(40907),Content=function(e){var t=e.className,r=e.children,i=e.isHeadless,s=e.theme;return(0,n.jsx)("div",{className:(0,a.A)({"min-h-[15rem] md:-mt-[2.4rem]":!i,"min-h-[22rem]":!!i},t),style:null==s?void 0:s.background,"data-sentry-component":"Content","data-sentry-source-file":"Content.tsx",children:(0,n.jsx)("div",{className:(0,a.A)({"md:pt-[2.4rem]":!i}),children:r})})}},91831:function(e,t,r){"use strict";r.d(t,{n:function(){return MobileMenu}});var n=r(85893);r(67294);var MobileMenu=function(e){var t=e.children;return(0,n.jsx)("div",{id:"mobile-menu",className:"h-[7.8rem] font-[400] text-[1.8rem] leading-[1] bg-white border-b-[0.1rem] border-b-solid border-[#E6E6E6] flex flex-row items-center justify-between","data-sentry-component":"MobileMenu","data-sentry-source-file":"MobileMenu.tsx",children:t})}},32122:function(e,t,r){"use strict";r.d(t,{k:function(){return MobileMenuItem}});var n=r(85893),a=r(52207),i=r(57680);r(67294);var s=r(40907),MobileMenuItem=function(e){var t=e.icon,r=e.isActive,o=e.isDisabled,l=e.name,d=e.url;return(0,n.jsxs)(i.Z,{className:(0,s.A)("w-full h-full flex flex-col items-center justify-center shrink",{"pointer-events-none":r||!!o}),href:d,passHref:!0,"data-sentry-element":"NextLink","data-sentry-component":"MobileMenuItem","data-sentry-source-file":"MobileMenuItem.tsx",children:[(0,n.jsx)("div",{className:(0,s.A)({"drop-shadow-[0_3px_10px_rgba(0,94,184,0.15)]":r}),children:(0,n.jsx)(a.Z,{src:"".concat(t,".svg"),alt:"menu-icon",width:40,height:40,"data-sentry-element":"Svg","data-sentry-source-file":"MobileMenuItem.tsx"})}),(0,n.jsx)("span",{className:(0,s.A)("mt-[0.5rem]",{"text-[#005EB8] font-[700]":r,"text-[#666666]":!r}),children:l})]},l)}},97106:function(e,t,r){"use strict";r.d(t,{e:function(){return TabletMenu}});var n=r(85893);r(67294);var TabletMenu=function(e){var t=e.children;return(0,n.jsx)("div",{className:"relative z-[1]","data-sentry-component":"TabletMenu","data-sentry-source-file":"TabletMenu.tsx",children:(0,n.jsx)("div",{className:"flex flex-row items-center justify-center w-full max-w-[69.6rem] lg:max-w-[93.6rem] h-[4.8rem] mx-auto -mt-[2.4rem] bg-white shadow-[0_4px_4px_rgba(0,0,0,0.1)] rounded-[0.4rem] transition-[max-width] duration-[300ms]",children:t})})}},35501:function(e,t,r){"use strict";r.d(t,{T:function(){return TabletMenuItem}});var n=r(85893),a=r(57680);r(67294);var i=r(40907),TabletMenuItem=function(e){var t=e.isActive,r=e.isDisabled,s=e.name,o=e.url;return(0,n.jsx)(a.Z,{className:(0,i.A)("h-full flex flex-col items-center justify-center\n      w-full max-w-[15rem] lg:max-w-[16rem] mx-[0.8rem] lg:mx-[1.2rem]\n      pt-[1.3rem] pb-[1rem] border-b-[0.3rem] border-solid\n      transition-[all] duration-[300ms]",{"pointer-events-none":t||!!r,"border-[#005EB8]":t,"border-[transparent]":!t}),href:o,passHref:!0,"data-sentry-element":"NextLink","data-sentry-component":"TabletMenuItem","data-sentry-source-file":"TabletMenuItem.tsx",children:(0,n.jsx)("span",{className:(0,i.A)("text-[2.4rem] leading-[1]",{"text-[#005EB8] font-[700]":t,"text-[#000000] font-[400]":!t}),children:s})})}},51950:function(e,t,r){"use strict";r.d(t,{M:function(){return Number}});var n=r(85893);r(67294);var a=r(40907),Number=function(e){var t=e.isActive,r=e.value;return(0,n.jsx)("div",{className:(0,a.A)("flex items-center justify-center","font-[700] leading-[1] text-[2.4rem]","rounded-full border-solid transition-all",{"text-[#95AEC6] border-[0.1rem] border-[#95AEC6] m-[0.4rem] w-[2.8rem] h-[2.8rem]":!t,"text-[#FFFFFF] border-[0.4rem] border-[#
1E6EFF8] bg-[#005EB8] w-[3.6rem] h-[3.6rem]":t}),"data-sentry-component":"Number","data-sentry-source-file":"Number.tsx",children:r})}},48897:function(e,t,r){"use strict";r.d(t,{O:function(){return Tab},m:function(){return Tabs}});var n=r(85893);r(67294);var a=r(40907),Tab=function(e){var t=e.isActive,r=e.title,i=e.id,s=e.dataTestid,o=e.onClick;return(0,n.jsx)("button",{id:i,"data-testid":null!=s?s:i,className:(0,a.A)("transition-all rounded-[0.4rem] border-[0.1rem] border-solid","h-[3.9rem] text-[2rem] md:h-[3.1rem]",{"bg-white border-[#E6E6E6] text-[#333333] font-[400]":!t,"hover:bg-[#E6EFF8] hover:border-[#BACEE1] hover:text-[#005EB8]":!t,"bg-[#E6EFF8] border-[#BACEE1] text-[#005EB8] font-[700] pointer-events-none":t}),onClick:o,"data-sentry-component":"Tab","data-sentry-source-file":"Tab.tsx",children:r})},Tabs=function(e){var t=e.children,r=e.className,i=e.columnCount,s=void 0===i?2:i,o=e.style;return(0,n.jsx)("div",{className:(0,a.A)("grid gap-x-[0.9rem] w-full max-w-[34.3rem]",{"grid-cols-2":2===s,"grid-cols-3":3===s},r),style:o,"data-sentry-component":"Tabs","data-sentry-source-file":"Tabs.tsx",children:t})}},94983:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return E},default:function(){return how_to_buy}});var n,a,i=r(85893),s=r(20618),o=r(24043),l=r(11163),d=r(67294),c=r(48897),u=r(85409),m=r(32161);(n=a||(a={})).RULES="rules",n.HOW_TO_PLAY="howToPlay",n.MYSTERY_BOX="mysteryBox";var x=[{key:a.RULES,title:"กติกา"},{key:a.HOW_TO_PLAY,title:"วิธีซื้อสลาก"},{key:a.MYSTERY_BOX,title:"วิธีซื้อกล่องสุ่ม"}],p=r(78358),h=r(40907),Paper=function(e){var t=e.children,r=e.className,n=e.id,a=e.dataTestid;return(0,i.jsx)("div",{id:n,"data-testid":null!=a?a:n,className:(0,h.A)("bg-white rounded-[8px]",r),"data-sentry-component":"Paper","data-sentry-source-file":"Paper.tsx",children:t})},y=[{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"กดปุ่ม"}),(0,i.jsx)("strong",{children:"ซื้อ กล่องสุ่มสลาก"}),(0,i.jsx)("span",{children:"ที่หน้าซื้อสลาก"})]}),image:"step-1",order:1,title:"ซื้อ “กล่องสุ่มสลาก”"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"ใส่จำนวนสลากที่ต้องการ แล้วกดปุ่ม"}),(0,i.jsx)("strong",{children:"ตกลง"})]}),image:"step-2",order:2,title:"ใส่จำนวนสลาก"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{children:["ตรวจสอบจำนวนสลากและจำนวนเงิน",(0,i.jsx)("br",{}),"แล้วกดปุ่ม"]}),(0,i.jsx)("strong",{children:"ชำระเงิน"})]}),image:"step-3",order:3,title:"ชำระเงิน"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{children:["เมื่อชำระสำเร็จ สามารถดูเลขสลาก",(0,i.jsx)("br",{}),"โดยกดปุ่ม"]}),(0,i.jsx)("strong",{children:"ดูเลขสลากของฉัน"})]}),image:"step-4",order:4,title:"ซื้อสลากสำเร็จ"}],f=[{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"ใส่เลขตามตำแหน่งที่ต้องการค้นหาและกดปุ่ม "}),(0,i.jsx)("strong",{children:"ตกลง"})]}),image:"search",order:1,title:"ค้นหาเลขสลาก"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"ต้องการเลขสลากใดให้กดปุ่ม "}),(0,i.jsx)("strong",{children:"เลือก"})]}),image:"lottery",order:2,title:"เลือกสลาก"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"กดปุ่ม "}),(0,i.jsx)("strong",{children:"ตรวจสอบสลาก"}),(0,i.jsx)("span",{children:" เพื่อดูสลากที่ต้องการซื้อ"})]}),image:"cart",order:3,title:"ตรวจสอบสลาก"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"เมื่อตรวจสอบเลขสลากแล้วกดปุ่ม "}),(0,i.jsx)("strong",{children:"ซื้อสลาก"})]}),image:"checking",order:4,title:"ซื้อสลาก"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"ตรวจสอบจำนวนเงินและจำนวนเลขสลากเมื่อตรงกับที่ต้องการแล้วกดปุ่ม "}),(0,i.jsx)("strong",{children:"ซื้อสลาก"})]}),image:"sum",order:5,title:"ชำระเงิน"},{description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"เมื่อชำระเงินภายในเวลาที่กำหนด จะแสดงหน้าซื้อสลากสำเร็จ สามารถดูสลากที่ซื้อได้ที่เมนู "}),(0,i.jsx)("strong",{children:"สลากของฉัน"})]}),image:"success",order:6,title:"ซื้อสลากสำเร็จ"}],g=r(50901),TabHowTo=function(){return(0,i.jsx)("div",{id:"div-lottery-thai-how-to-play-1","data-testid":"div-lottery-thai-how-to-play-1",className:"grid gap-y-[16px] md:gap-x-[32px] md:gap-y-[32px] grid-cols-1 md:grid-cols-2 w-full max-w-[750px] px-[16px] pt-[8px] md:pt-[16px]","data-sentry-component":"TabHowTo","data-sentry-source-file":"TabHowTo.tsx",children:null==f?void 0:f.map(function(e){return(0,i.jsxs)(Paper,{className:"grid grid-cols-1 gap-y-[8px] p-[16px] content-start",id:"div-lottery-thai-how-to-play-step-".concat(e.order),dataTestid:"div-lottery-thai-how-to-play-step-".concat(e.order),children:[(0,i.jsx)(g.h,{description:e.description,order:e.order,title:e.title}),(0,i.jsx)("img",{id:"img-lottery-thai-how-to-play-step-".concat(e.order),"data-testid":"img-lottery-thai-how-to-play-step-".concat(e.order),className:"w-full",src:"".concat(p.gp,"/lottery/how-to-play/").concat(e.image,".png"),alt:"how-to-play-".concat(e.order),width:288})]},e.order)})})},b=r(51526),v=r(94710),About=function(e){var t=e.item;return(0,i.jsxs)("div",{className:"grid gap-x-[8px] grid-cols-[24px_1fr] md:grid-cols-[28px_1fr] p-[8px] bg-[#E9FAF4]","data-sentry-component":"About","data-sentry-source-file":"About.tsx",children:[(0,i.jsx)("img",{className:"w-full h-[24px] md:h-[28px]",src:"".concat(p.gp,"/lottery/icon-safe.svg"),alt:"about",width:28,height:28}),(0,i.jsxs)("div",{className:"pt-[5px] leading-[1]",children:[(0,i.jsx)("div",{className:"font-[700] text-[#333333] text-[18px] md:text-[22px]",children:t.title}),(0,i.jsx)("div",{className:"font-[400] text-[#666666] text-[20px] md:text-[22px]",children:t.description})]})]})},j=r(43944),Header_Header=function(e){var t=e.description,r=e.title,n=e.idSuffix,a=void 0===n?"section":n;return(0,i.jsxs)("div",{id:"div-lottery-thai-how-to-rules-".concat(a,"-header-1"),"data-testid":"div-lottery-thai-how-to-rules-".concat(a,"-header-1"),className:"pt-[8px] text-[#333333] flex flex-col items-center text-center","data-sentry-component":"Header","data-sentry-source-file":"Header.tsx",children:[(0,i.jsx)("h3",{id:"label-lottery-thai-how-to-rules-".concat(a,"-title-1"),"data-testid":"label-lottery-thai-how-to-rules-".concat(a,"-title-1"),className:"font-[700] text-[24px] md:text-[28px] leading-[1]",children:r}),t?(0,i.jsx)("div",{id:"label-lottery-thai-how-to-rules-".concat(a,"-description-1"),"data-testid":"label-lottery-thai-how-to-rules-".concat(a,"-description-1"),className:"font-[400] text-[16px] md:text-[18px] leading-[1]",children:t}):null]})},w=r(48198),N=r(24222),T=r(68139),TabRules=function(){return(0,i.jsxs)("div",{id:"div-lottery-thai-how-to-rules-1","data-testid":"div-lottery-thai-how-to-rules-1",className:"grid gap-y-[24px] grid-cols-1 w-full max-w-[784px] px-[16px] pt-[8px] md:pt-[16px]","data-sentry-component":"TabRules","data-sentry-source-file":"TabRules.tsx",children:[(0,i.jsxs)(Paper,{className:"grid p-[16px]","data-sentry-element":"Paper","data-sentry-source-file":"TabRules.tsx",children:[(0,i.jsx)(Header_Header,{title:"เวลาเปิดและปิดขายสลาก",idSuffix:"schedule","data-sentry-element":"Header","data-sentry-source-file":"TabRules.tsx"}),(0,i.jsx)("div",{id:"div-lottery-thai-how-to-rules-schedule-list-1","data-testid":"div-lottery-thai-how-to-rules-schedule-list-1",className:"grid grid-cols-1 md:grid-cols-2 gap-[16px] pt-[16px]",children:null===j.yA||void 0===j.yA?void 0:j.yA.map(function(e,t){return(0,i.jsx)(T.P,{description:e.description,image:e.image,title:e.title,index:t+1}
1,"schedule-".concat(t))})})]}),(0,i.jsxs)(Paper,{className:"grid p-[16px] gap-y-[16px]","data-sentry-element":"Paper","data-sentry-source-file":"TabRules.tsx",children:[(0,i.jsx)(Header_Header,{description:"จำหน่ายเลขสลากออนไลน์ ได้เงินจริง มั่นใจ ไม่ต้องมีใบจริง",title:"เกี่ยวกับสลากออนไลน์",idSuffix:"about","data-sentry-element":"Header","data-sentry-source-file":"TabRules.tsx"}),(0,i.jsx)("div",{id:"div-lottery-thai-how-to-rules-about-list-1","data-testid":"div-lottery-thai-how-to-rules-about-list-1",className:"grid grid-cols-1 gap-[16px]",children:null===j.Gj||void 0===j.Gj?void 0:j.Gj.map(function(e){return(0,i.jsx)(About,{item:e},e.title)})})]}),(0,i.jsxs)(Paper,{className:"p-[16px]","data-sentry-element":"Paper","data-sentry-source-file":"TabRules.tsx",children:[(0,i.jsx)(Header_Header,{description:"เงินรางวัลนี้เฉพาะการซื้อสลากออนไลน์กับ 116Lotto เท่านั้น",title:"เงินรางวัลเมื่อถูกรางวัลสลากออนไลน์",idSuffix:"prize","data-sentry-element":"Header","data-sentry-source-file":"TabRules.tsx"}),(0,i.jsx)("div",{id:"div-lottery-thai-how-to-rules-prize-grid-1","data-testid":"div-lottery-thai-how-to-rules-prize-grid-1",className:"grid gap-x-[16px] gap-y-[8px] grid-cols-1 md:grid-cols-2 pt-[16px] md:pt-[12px]",children:null===j.Ke||void 0===j.Ke?void 0:j.Ke.map(function(e,t){return(0,i.jsx)("div",{className:"grid gap-y-[8px] grid-cols-1",children:null==e?void 0:e.map(function(e,r){var n=v.EK[e],a=(0,b.OD)(v.LN[e]),s=String(e).toLowerCase();return e===m.sZ.FIRST?(0,i.jsx)(w.B,{label:n,value:a,slug:s},"prize-".concat(t,"-").concat(r)):(0,i.jsx)(N.R,{label:n,value:a,slug:s},"prize-".concat(t,"-").concat(r))})},"prize-".concat(t))})})]})]})},_=["สามารถซื้อได้ตั้งแต่ 1 - 55 ใบ/ครั้ง","สลากจำหน่ายใบละ 79 บาท","ไม่สามารถจองสลากในกล่องสุ่มได้ หากยังไม่ชำระเงิน ระบบจะยกเลิกโดยอัตโนมัติ","รายการสั่งซื้อกล่องสุ่มสลาก จะแยกกับสลากที่เลือกเลขเอง","สามารถดูเลขสลากได้ เมื่อชำระเงินเรียบร้อยแล้วเท่านั้น"],TabMysteryBox=function(){return(0,i.jsxs)("div",{className:"grid gap-y-[16px] grid-cols-1 w-full max-w-[343px] md:max-w-[750px] px-[16px] pt-[8px] md:pt-[16px]","data-sentry-component":"TabMysteryBox","data-sentry-source-file":"TabMysteryBox.tsx",children:[(0,i.jsxs)("div",{className:"p-[16px] overflow-hidden",children:[(0,i.jsx)("h3",{className:"font-[700] text-[22px] md:text-[24px] text-[#333333] leading-[24px] mb-[8px]",children:"การซื้อกล่องสุ่มสลาก"}),(0,i.jsx)("ul",{className:"list-disc pl-[20px] text-[20px] md:text-[22px] text-[#000000] leading-[24px]",children:_.map(function(e,t){return(0,i.jsx)("li",{children:e},"rule-".concat(t))})})]}),(0,i.jsx)("div",{className:"grid gap-y-[16px] md:gap-x-[32px] md:gap-y-[32px] grid-cols-1 md:grid-cols-2",children:null==y?void 0:y.map(function(e){return(0,i.jsxs)(Paper,{className:"grid grid-cols-1 gap-y-[8px] p-[16px] content-start",children:[(0,i.jsx)(g.h,{description:e.description,order:e.order,title:e.title}),(0,i.jsx)("img",{className:"w-full",src:"".concat(p.gp,"/lottery/how-to-play-mystery-box/").concat(e.image,".png"),alt:"how-to-play-mystery-box-".concat(e.order),width:288})]},e.order)})})]})},HowTo=function(e){var t=e.lotteryKey,r=(0,l.useRouter)().query,n=(0,o._)((0,d.useState)(function(){var e;return"string"==typeof(e=r.tab)&&Object.values(a).includes(e)?e:a.RULES}),2),s=n[0],p=n[1];return(0,i.jsx)(u.i,{lotteryKey:t,menuKey:m.bu.HOW_TO,"data-sentry-element":"Wrapper","data-sentry-component":"HowTo","data-sentry-source-file":"HowTo.tsx",children:(0,i.jsxs)("div",{id:"div-lottery-thai-how-to-1","data-testid":"div-lottery-thai-how-to-1",className:"flex flex-col items-center pb-[7.2rem] md:pb-[8.6rem]",children:[(0,i.jsx)(c.m,{className:"mt-[2.4rem] mb-[0.8rem]",columnCount:3,"data-sentry-element":"Tabs","data-sentry-source-file":"HowTo.tsx",children:null==x?void 0:x.map(function(e){var t=e.key,r=e.title;return(0,i.jsx)(c.O,{id:"btn-lottery-thai-how-to-tab-".concat(t),dataTestid:"bt
1n-lottery-thai-how-to-tab-".concat(t),isActive:t===s,title:r,onClick:function(){return p(t)}},"tab-".concat(t))})}),s===a.RULES?(0,i.jsx)(TabRules,{}):null,s===a.HOW_TO_PLAY?(0,i.jsx)(TabHowTo,{}):null,s===a.MYSTERY_BOX?(0,i.jsx)(TabMysteryBox,{}):null]})})},M=r(6635),E=!0,how_to_buy=function(e){var t=e.lotteryKey,r=e.meta;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(M.V,{meta:r,"data-sentry-element":"PageMeta","data-sentry-source-file":"how-to-buy.tsx"}),(0,i.jsx)(s.Z,{fluid:!0,enableFooterMargin:!1,"data-sentry-element":"Layout","data-sentry-source-file":"how-to-buy.tsx",children:(0,i.jsx)(HowTo,{lotteryKey:t,"data-sentry-element":"HowTo","data-sentry-source-file":"how-to-buy.tsx"})})]})}}},function(e){e.O(0,[9774,8307,5518,1664,7911,3393,4599,4962,2888,179],function(){return e(e.s=70813)}),_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.