PageSourceSearch

https://www.ttbbank.com/_next/static/chunks/pages/e-ncb/check-email-build-1789371932-3b67030b1b00a7d1.js

js ttbbank.com collected 2026-09-24 09:12:24 UTC 8,286 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87174],{28862:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/e-ncb/check-email",function(){return n(91797)}])},87754:function(e,t,n){"use strict";var i=n(85893);n(67294);var c=n(11163),a=n(33522),r=n.n(a),o=n(79722),l=n(15046);t.Z=e=>{let{email:t,subject:n,clickBack:a,children:s}=e,{locale:d="th"}=(0,c.useRouter)(),u={title:"th"===d?"สมัครรับหนังสือแจ้งข้อมูลเครดิต":"Received e-NCB letter",description:"th"===d?"หนังสือแจ้งข้อมูลเครดิตจะถูกจัดส่งไปตามอีเมลที่ระบุไว้ด้านล่างนี้":"e-NCB letter will be sent to the email address listed below.",email:{title:"th"===d?"อีเมล":"Email",confirm:"th"===d?"ยืนยันแล้ว":"Verified"},alert:"th"===d?"คุณสามารถเปลี่ยนอีเมลได้ที่ ทีทีบี ทัช หรือติดต่อสาขา ทีทีบี":"You may update email via ttb touch application or contact ttb branch."};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"".concat(r()["encb-group-title"]," mb-4"),children:[(0,i.jsx)("div",{className:"".concat(r()["encb-icon-back"]),onClick:a,children:(0,i.jsx)(o.Z,{})}),(0,i.jsx)("div",{className:"".concat(r()["encb-title-div"]),children:(0,i.jsx)("h1",{className:"".concat(r()["encb-title"]),children:u.title})})]}),(0,i.jsxs)("div",{className:"".concat(r()["encb-group-title-description"]),children:[(0,i.jsx)("div",{className:"pb-2",children:(0,i.jsx)("label",{className:"".concat(r()["encb-title-description-main"]),children:n})}),(0,i.jsx)("div",{className:"pb-5",children:(0,i.jsx)("label",{className:"".concat(r()["encb-title-description-sub"]),children:u.description})}),(0,i.jsxs)("div",{className:"pb-5 ".concat(r()["encb-group-mail"]),children:[(0,i.jsx)("div",{className:"".concat(r()["encb-mail-title"]),children:u.email.title}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"".concat(r()["encb-mail-email"]),children:t}),(0,i.jsx)("div",{className:"".concat(r()["encb-mail-confirm"]),children:u.email.confirm})]})]}),(0,i.jsx)("div",{className:"pb-5",children:(0,i.jsx)(l.Z,{severity:"info",variant:"outlined",className:r()["encb-alert-info"],children:u.alert})}),s]})]})}},69621:function(e,t,n){"use strict";var i=n(85893);n(67294);var c=n(13426),a=n.n(c);t.Z=e=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"".concat(a().layout),children:(0,i.jsx)("div",{className:"".concat(a().content),children:e.children})})})},73919:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});let i=async()=>{try{if(!(await fetch("/api/encb/clear-cookies",{method:"POST",credentials:"same-origin"})).ok)throw Error("Failed to clear cookies")}catch(e){throw console.error("Error clearing cookies:",e),e}}},42890:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var i=n(67294),c=i.createContext();function a(){return i.useContext(c)}t.Z=c},77563:function(e,t,n){"use strict";var i=n(87462),c=n(45987),a=n(67294),r=n(86010),o=n(21540),l=n(53432),s=n(73802),d=n(53676),u=a.forwardRef(function(e,t){var n=e.edge,o=e.children,l=e.classes,u=e.className,m=e.color,b=void 0===m?"default":m,p=e.disabled,h=void 0!==p&&p,_=e.disableFocusRipple,f=e.size,v=void 0===f?"medium":f,y=(0,c.Z)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return a.createElement(s.Z,(0,i.Z)({className:(0,r.Z)(l.root,u,"default"!==b&&l["color".concat((0,d.Z)(b))],h&&l.disabled,"small"===v&&l["size".concat((0,d.Z)(v))],{start:l.edgeStart,end:l.edgeEnd}[void 0!==n&&n]),centerRipple:!0,focusRipple:!(void 0!==_&&_),disabled:h,ref:t},y),a.createElement("span",{className:l.label},o))});t.Z=(0,o.Z)(function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,l.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}},{name:"MuiIconButton"})(u)},22224:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(87462),c=n(67294),a=n(98615);function r(e,t){var n=function(t,n){return c.createElement(a.Z,(0,i.Z)({ref:n},t),e)};return n.muiName=a.Z.muiName,c.memo(c.forwardRef(n))}},46807:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(67294);function c(e){var t=e.controlled,n=e.default;e.name,e.state;var c=i.useRef(void 0!==t).current,a=i.useState(n),r=a[0],o=a[1],l=i.useCallback(function(e){c||o(e)},[]);return[c?t:r,l]}},91797:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return v},default:function(){return y}});var i=n(85893),c=n(11163),a=n(67294),r=n(29187),o=n(41852),l=n(96486),s=n.n(l),d=n(87536),u=n(87754),m=n(69621),b=n(370),p=n(73919),h=n(55135),_=n(78978),f=n.n(_),v=!0;function y(e){let{data:t}=e,n=t.email,l=t.isValid,_=(0,c.useRouter)(),{locale:v="th"}=_;(0,a.useEffect)(()=>{let e=sessionStorage.getItem(b.w7),t=sessionStorage.getItem(b.KN),i=sessionStorage.getItem(b.br);if(s().isEmpty(e)||"Y"===e||s().isEmpty(n)||s().isEmpty(t)||"N"===t||!l||"Y"!==i){(0,h.Z)(),_.push({pathname:"/".concat(v,"/e-ncb")});return}let c=setTimeout(()=>{(0,h.Z)(),_.push({pathname:"/".concat(v,"/e-ncb")})},b.Qm);return()=>clearTimeout(c)},[]);let y={subject:"th"===v?"รับหนังสือแจ้งข้อมูลเครดิตทางอีเมล":"Received via email",btn_title:"th"===v?"ถัดไป":"Next"},g=async()=>{(0,h.Z)("otp"),await (0,p.K)(),await _.push({pathname:"/".concat(v,"/e-ncb/otp")})},{handleSubmit:x}=(0,d.cI)(),N=()=>{_.push({pathname:"/".concat(v,"/e-ncb/consent")})};return(0,i.jsx)(m.Z,{children:(0,i.jsx)("div",{className:"container px-4",children:(0,i.jsx)(u.Z,{email:n,subject:y.subject,clickBack:()=>{g()},children:(0,i.jsx)("div",{children:(0,i.jsx)("form",{className:f()["encb-form"],onSubmit:e=>{x(N)(e)},children:(0,i.jsx)(r.Z,{className:f()["encb-btn-wrapper"],children:(0,i.jsx)(o.Z,{variant:"contained",className:f()["encb-btn"],type:"submit",disableRipple:!0,children:y.btn_title})})})})})})})}},33522:function(e){e.exports={"encb-icon-back":"style_encb-icon-back__ThzOS","encb-group-title":"style_encb-group-title__EhDsN","encb-title-div":"style_encb-title-div__eCyaI","encb-title":"style_encb-title__ToWZs","encb-group-title-description":"style_encb-group-title-description__ZvMTG","encb-title-description-main":"style_encb-title-description-main__egNob","encb-title-description-sub":"style_encb-title-description-sub__zv_Vs","encb-group-mail":"style_encb-group-mail__yoDvu","encb-mail-title":"style_encb-mail-title__h88oF","encb-mail-email":"style_encb-mail-email__BeTgm","encb-mail-confirm":"style_encb-mail-confirm__KO91G","encb-alert-info":"style_encb-alert-info__Yq42y"}},13426:function(e){e.exports={layout:"style_layout__yA_Wx",content:"style_content__TVGmS"}},78978:function(e){e.exports={"encb-btn-wrapper":"style_encb-btn-wrapper__J64uz","encb-btn":"style_encb-btn__gU5Ga","encb-btn__close":"style_encb-btn__close__2IFDh","encb-form":"style_encb-form__sveNw","encb-form__divider":"style_encb-form__divider__7ys3e"}}},function(e){e.O(0,[40744,94050,33373,92888,49774,40179],function(){return e(e.s=28862)}),_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.