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]="bd3a76c2-0699-41ce-934d-e765b190dc2f",e._sentryDebugIdIdentifier="sentry-dbid-bd3a76c2-0699-41ce-934d-e765b190dc2f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8334],{92606:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/inviting",function(){return n(82052)}])},66409:function(e,t,n){"use strict";n.d(t,{g:function(){return use100vh}});var i=n(67294),__assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},r=!1,a=(0,i.forwardRef)(function(e,t){var n=e.style,a=__rest(e,["style"]),o=use100vh();!r&&(null==n?void 0:n.height)&&(r=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var s=__assign(__assign({},n),{height:o?o+"px":"100vh"});return i.createElement("div",__assign({ref:t,style:s},a))});function use100vh(){var e,t,n,r=(0,i.useState)(measureHeight),a=r[0],o=r[1],s=(t=(e=(0,i.useState)(!1))[0],n=e[1],(0,i.useEffect)(function(){isClient()&&n(!0)},[]),t);return(0,i.useEffect)(function(){if(s)return window.addEventListener("resize",setMeasuredHeight),function(){return window.removeEventListener("resize",setMeasuredHeight)};function setMeasuredHeight(){o(measureHeight())}},[s]),s?a:null}function measureHeight(){return isClient()?window.innerHeight:null}function isClient(){return"undefined"!=typeof window&&"undefined"!=typeof document}a.displayName="Div100vh",t.ZP=a},82052:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return C},default:function(){return inviting}});var i=n(85893),r=n(57119),a=n(11163),o=n(24043),s=n(82729),d=n(57680),l=n(67294),c=n(70714),u=n(78358),f=n(19964),m=n(55619),p=n(75637);function _templateObject(){var e=(0,s._)(["\n background: url(",") no-repeat center center;\n background-size: cover;\n\n @media (max-width: 768px) {\n background: url(",") no-repeat center center;\n background-size: cover;\n }\n\n @media (min-width: 1240px) {\n width: ",";\n }\n\n @media (min-width: 1536px) {\n width: ",";\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,s._)(["\n background: ",";\n\n @media (min-width: 1240px) {\n width: ",";\n }\n\n @media (min-width: 1536px) {\n width: ",";\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,s._)(["\n /* display: flex; */\n width: ",";\n\n @media (min-width: 905px) {\n width: auto;\n }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){var e=(0,s._)(["\n @media (max-width: 320px) {\n font-size: 1.6rem;\n }\n"]);return _templateObject3=function(){return e},e}var x=c.ZP.div.withConfig({displayName:"Main__BGStyled",componentId:"sc-1bc4afb-0"})(_templateObject(),"".concat(u.gp,"/bg/bg-100-20.png"),"".concat(u.gp,"/bg/bg-375-130.png"),function(e){return e.desktopBGWidth},function(e){return e.desktopLargeBGWidth}),h=c.ZP.div.withConfig({displayName:"Main__BGDiv",componentId:"sc-1bc4afb-1"})(_templateObject1(),function(e){return e.bgColor},function(e){return e.desktopBGWidth},function(e){return e.desktopLargeBGWidth}),b=c.ZP.div.withConfig({displayName:"Main__ContentContainer",componentId:"sc-1bc4afb-2"})(_templateObject2(),function(e){return e.mobileContentWidth}),g=c.ZP.div.withConfig({displayName:"Main__InviteText",componentId:"sc-1bc4afb-3"})(_templateObject3()),getCurrentDomainUrl=function(){var e=window.location.href.split("/")[2];return"https://".concat(e)},Main=function(){var e,t,r,a,s,c,u,y,v,w=(0,l.useContext)(m.J),_=(0,o._)((0,l.useState)(""),2),j=_[0],C=_[1],k=(null==w?void 0:null===(v=w.profile)||void 0===v?void 0:v.customer_code)||"",N=(0,l.useRef)(null),scrollToTop=function(){window&&window.scrollTo({top:0})};(0,l.useEffect)(function(){C("".concat(getCurrentDomainUrl(),"/login?ref=").concat(k))},[w]),(0,l.useEffect)(function(){scrollToTop()},[]);var handleClickCopy=function(e){Promise.all([n.e(9687),n.e(4897)]).then(n.bind(n,39687)).then(function(e){(0,e.toastSuccess)({title:"à¸à¸±à¸à¸¥à¸à¸à¸ªà¸³à¹à¸£à¹à¸"})}),(0,p.vQ)(e)};return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"text-center bg-[#E6EFF8] mt-0 md:-mt-[2.4rem] pt-[1.6rem] md:pt-24 pb-20 relative",ref:N,id:"main-container",children:(0,i.jsxs)("div",{className:"w-full md:w-7/12 mx-auto",children:[(0,i.jsx)("h2",{className:"text-[#333333] text-[2.8rem] leading-[2.8rem] font-[700] tablet:text-[3.8rem] tablet:leading-[3.8rem]",children:"à¸à¸§à¸à¹à¸à¸·à¹à¸à¸à¸ªà¸¡à¸±à¸à¸£à¸ªà¸¡à¸²à¸à¸´à¸ 116Lotto"}),(0,i.jsx)("p",{className:"font-[400] text-[#333333] text-[20px] tablet:text-[22px] leading-[1] max-w-[530px] mx-auto text-center px-[16px] mt-[4px]",children:"à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹à¸à¸§à¸à¹à¸à¸·à¹à¸à¸à¸«à¸£à¸·à¸à¸£à¸«à¸±à¸ªà¸à¸¹à¹à¹à¸à¸°à¸à¸³à¸à¸à¸à¸à¸¸à¸à¸ªà¹à¸à¹à¸«à¹à¹à¸à¸·à¹à¸à¸ à¹à¸à¸·à¹à¸à¸£à¸±à¸à¸ªà¸´à¸à¸à¸´à¸à¸´à¹à¸¨à¸©à¸à¸²à¸à¹à¸à¸£à¹à¸¡à¸à¸±à¹à¸à¸à¸§à¸à¹à¸à¸·à¹à¸à¸à¸à¸²à¸¡à¹à¸à¸·à¹à¸à¸à¹à¸à¹à¸¥à¸°à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¸à¸à¹à¸§à¹à¸à¹à¸à¸à¹ 116Lottto"}),(t=(e={mobileContentWidth:"90%",desktopBGWidth:"66.66%",desktopLargeBGWidth:"50%"}).mobileContentWidth,r=e.desktopBGWidth,a=e.desktopLargeBGWidth,(0,i.jsxs)(x,{className:"flex flex-col items-center justify-center text-center mt-12 pb-8 rounded-lg w-11/12 mx-auto",desktopBGWidth:void 0===r?"60.66%":r,desktopLargeBGWidth:void 0===a?"50%":a,"data-sentry-element":"BGStyled","data-sentry-component":"colorfulContent","data-sentry-source-file":"Main.tsx",children:[(0,i.jsx)("h3",{className:"text-4xl text-white mt-8 font-bold",children:"ลิà¸à¸à¹à¸à¸§à¸à¹à¸à¸·à¹à¸à¸à¸à¸à¸à¸à¸¸à¸"}),(0,i.jsxs)(b,{className:"flex items-center text-[2rem] leading-[2rem] rounded-full bg-[#00000033]\n pl-8 pr-[14px] py-4 tablet-large:py-2 tablet-large:pr-2 mt-4 w-[".concat(t,"] tablet-large:w-[auto] text-left justify-between"),mobileContentWidth:t,"data-sentry-element":"ContentContainer","data-sentry-source-file":"Main.tsx",children:[(0,i.jsx)(g,{className:"text-white font-normal break-all","data-sentry-element":"InviteText","data-sentry-source-file":"Main.tsx",children:j}),(0,i.jsx)("div",{className:"ml-[6px] drop-shadow-md",children:(0,i.jsx)(f.ZP,{variant:"PRIMARY",size:"S",onClick:function(){return handleClickCopy(j)},className:"font-bold","data-sentry-element":"Button","data-sentry-source-file":"Main.tsx",children:"à¸à¸±à¸à¸¥à¸à¸"})})]})]})),(c=(s={mobileContentWidth:"90%",desktopBGWidth:"66.66%"}).mobileContentWidth,u=s.desktopBGWidth,y=s.desktopLargeBGWidth,(0,i.jsxs)(h,{className:"flex flex-col items-center justify-center text-center mt-12 pb-8 rounded-lg w-11/12 mx-auto",bgColor:"#FFFFFF",desktopBGWidth:void 0===u?"60.66%":u,desktopLargeBGWidth:void 0===y?"50%":y,"data-sentry-element":"BGDiv","data-sentry-component":"grayContent","data-sentry-source-file":"Main.tsx",children:[(0,i.jsx)("h4",{className:"text-4xl text-black mt-8 font-bold",children:"รหัสà¸à¸¹à¹à¹à¸à¸°à¸à¸³à¸à¸à¸à¸à¸¸à¸"}),(0,i.jsxs)("div",{className:"flex items-center text-[2rem] leading-[2rem rounded-full bg-gray-200\n pl-8 pr-[14px] py-4 tablet-large:pr-2 tablet-large:py-2 mt-4 w-[".concat(void 0===c?"90%":c,"] tablet-large:w-[auto] justify-between"),children:[(0,i.jsx)(g,{className:"text-black font-bold","data-sentry-element":"InviteText","data-sentry-source-file":"Main.tsx",children:k}),(0,i.jsx)("div",{className:"ml-4 drop-shadow-md",children:(0,i.jsx)(f.ZP,{variant:"SECONDARY_COLOR",size:"S",onClick:function(){handleClickCopy(k)},className:"font-bold","data-sentry-element":"Button","data-sentry-source-file":"Main.tsx",children:"à¸à¸±à¸à¸¥à¸à¸"})})]})]})),(0,i.jsx)("div",{className:"mt-16 flex flex-col justify-center",children:(0,i.jsx)(d.Z,{href:"/promotion/affiliate-program",passHref:!0,"data-sentry-element":"NextLink","data-sentry-source-file":"Main.tsx",children:(0,i.jsx)(f.ZP,{variant:"TEXT","data-sentry-element":"Button","data-sentry-source-file":"Main.tsx",children:"à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¹à¸à¸£à¹à¸¡à¸à¸±à¹à¸ ยิà¹à¸à¸à¸§à¸ ยิà¹à¸à¸£à¸§à¸¢"})})})]})})})},y=n(97575),v=n(6635),w=n(81785),_=n(99269),j=n(80331),C=!0,inviting=function(e){var t=e.meta,n=(0,a.useRouter)().push,o=(0,_.ZP)().isLogin;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v.V,{meta:t,"data-sentry-element":"PageMeta","data-sentry-source-file":"index.tsx"}),(0,i.jsxs)(y.Z,{"data-sentry-element":"PageLayout","data-sentry-source-file":"index.tsx",children:[(0,i.jsx)(Main,{"data-sentry-element":"InvitingMain","data-sentry-source-file":"index.tsx"}),(0,i.jsx)(j.Z,{"data-sentry-element":"BackToTopButton","data-sentry-source-file":"index.tsx"}),(0,i.jsxs)(w.Dialog,{action:{primary:{href:"/login?from=inviting",title:"สมัà¸à¸£/à¹à¸à¹à¸²à¸ªà¸¹à¹à¸£à¸°à¸à¸"}},emoji:w.Emoji.CAUTION,title:"สมัà¸à¸£/à¹à¸à¹à¸²à¸ªà¸¹à¹à¸£à¸°à¸à¸à¸à¹à¸à¸à¸à¸°",visible:!o,onClose:function(){n("/login?from=inviting")},"data-sentry-element":"Dialog","data-sentry-source-file":"index.tsx",children:["หาà¸à¸à¹à¸à¸à¸à¸²à¸£à¸à¸¹à¸¥à¸´à¸à¸à¹à¹à¸¥à¸°à¸£à¸«à¸±à¸ªà¸à¸§à¸à¹à¸à¸·à¹à¸à¸à¸à¸à¸à¸à¸¸à¸",(0,i.jsx)("br",{}),"หรืà¸à¸à¸¥à¸à¸à¸à¹à¸à¸à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸",(0,i.jsx)("br",{}),"à¸à¸£à¸¸à¸à¸²à¸ªà¸¡à¸±à¸à¸£à¸ªà¸¡à¸²à¸à¸´à¸à¸«à¸£à¸·à¸à¹à¸à¹à¸²à¸ªà¸¹à¹à¸£à¸°à¸à¸"]}),(0,i.jsx)(r.Z,{"data-sentry-element":"BottomNavigationBarV2","data-sentry-source-file":"index.tsx"})]})]})}},75637:function(e,t,n){"use strict";n.d(t,{vQ:function(){return copyToClipboard}}),n(67294);var copyToClipboard=function(e,t){var n=document.createElement("textarea");n.innerHTML=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),null==t||t()}}},function(e){e.O(0,[9774,8307,5518,1664,7911,3393,4599,4962,1276,9964,7746,2888,179],function(){return e(e.s=92606)}),_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.