PageSourceSearch

https://www.ditp.go.th/_next/static/chunks/pages/e-survey-public-participation/history-55cadbc27240ef7c.js

js ditp.go.th collected 2026-10-02 04:03:50 UTC 8,064 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8345],{68225:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/e-survey-public-participation/history",function(){return s(61561)}])},3632:function(e,t,s){"use strict";s.d(t,{Z:function(){return r}});var l=s(85893),n=s(41664),i=s.n(n),a=s(11163);function r(e){let{paths:t}=e,s=(0,a.useRouter)();return(0,l.jsx)("nav",{className:"text-gray-500 text-sm overflow-x-auto whitespace-nowrap custom-scroll",children:(0,l.jsx)("div",{className:"max-w-screen-xl mx-auto px-4",children:(0,l.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,l.jsx)("img",{src:"/icons/home.png",alt:"Profile",className:"w-4 h-4"}),t.filter(e=>e.label).map((e,n)=>(0,l.jsxs)("div",{className:"flex items-center space-x-2 mt-2",children:[n>0&&(0,l.jsx)("span",{className:"text-gray-400",children:"/"}),n===t.length-1?(0,l.jsx)("span",{className:"text-black font-semibold",children:e.label}):e.link?(0,l.jsx)(i(),{href:e.link,legacyBehavior:!0,locale:s.locale,children:(0,l.jsx)("a",{className:"text-gray-400 hover:text-gray-600",children:e.label})}):(0,l.jsx)("div",{className:"text-gray-400 line-clamp-1",children:e.label})]},n))]})})})}},89138:function(e,t,s){"use strict";s.d(t,{$:function(){return o}});var l=s(85893);s(67294);var n=s(66308),i=s(3632);s(42547);var a=s(11163),r=s.n(a),c=s(63805);let o=e=>{let{title:t,breadcrumb:s,type:a,history:o,header:d,ssoAccount:x,description:m,isError:u,errorMessage:h}=e;return(0,l.jsxs)("div",{className:"pt-14 mb-16",children:[(0,l.jsxs)("div",{className:"relative flex items-center justify-center bg-cover",style:{backgroundImage:"url(/images/banner.jpg)",backgroundRepeat:"no-repeat",backgroundPosition:"center 80%",height:"200px"},children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-black bg-opacity-30"}),(0,l.jsx)("h1",{className:"relative text-white text-center text-xl md:text-[40px] w-[727px] leading-[1.6]",children:t})]}),(0,l.jsx)("div",{className:"sticky top-[60px] bg-white",children:(0,l.jsx)(i.Z,{paths:s})}),(0,l.jsx)(n.Z,{title:t,description:m,breadcrumbs:s}),(0,l.jsxs)("div",{className:"max-w-screen-xl mx-auto mt-12 px-4 lg:px-14",children:[(0,l.jsx)("div",{className:"text-[24px] lg:text-[40px] font-semibold text-gradient",children:d}),(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"mt-3 mb-7",children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center md:gap-2",children:[(0,l.jsx)("span",{children:"ดูประวัติการทำแบบประเมินและแบบสำรวจทั้งหมดของ :"}),(0,l.jsxs)("span",{className:"flex items-center gap-1 text-[#0094A9] font-medium mt-2 md:mt-0",children:[(0,l.jsx)("img",{src:"/icons/group_login.png",alt:"user icon",className:"w-5 h-5"}),"".concat(null==x?void 0:x.nameEn," ").concat((null==x?void 0:x.lastnameEn)||"")||"Guest"]})]})})}),null==o?void 0:o.map((e,t)=>{var s,n;return(0,l.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between p-4 border rounded-2xl shadow-sm bg-white mb-6 gap-4",children:[(0,l.jsxs)("div",{className:"w-full md:w-[60%] min-w-0",children:[(0,l.jsxs)("div",{className:"flex items-center gap-5",children:[(0,l.jsx)("div",{className:"flex-shrink-0 self-start",children:(0,l.jsx)("img",{className:"w-[46px] h-[46px] lg:w-[60px] lg:h-[60px] object-contain",src:"/icons/question.jpg",alt:"survey icon"})}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{className:"font-semibold text-[16px] md:text-[18px] text-[#1D1D1F] leading-snug break-words md:whitespace-normal",children:e.survey_name||"-"}),(0,l.jsxs)("div",{className:"text-sm text-[#1A1C49] hidden md:flex md:flex-row",children:[(0,l.jsx)("span",{children:"วันที่ทำแบบสำรวจ :"}),(0,l.jsx)("span",{className:"font-semibold text-[#1A1C49] md:ml-1",children:(0,c.sb)(e.date)})]})]})]}),(0,l.jsxs)("div",{className:"text-sm text-[#1A1C49] mt-3 block md:hidden",children:[(0,l.jsx)("div",{children:"วันที่ทำแบบสำรวจ :"}),(0,l.jsx)("div",{className:"font-semibold text-[#1A1C49]",children:(0,c.sb)(e.date)})]})]}),"question"!==a&&(0,l.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4 w-full md:w-[40%] flex-shrink-0",children:[(0,l.jsxs)("div",{className:"w-full md:w-auto",children:[(0,l.jsxs)("div",{className:"block md:hidden",children:[(0,l.jsx)("div",{className:"w-12 h-[2px] bg-gradient-to-r from-[#0062D5] to-[#27C4CA] mb-2"}),(0,l.jsxs)("div",{className:"text-[17px] font-semibold bg-gradient-to-r from-[#0062D5] to-[#27C4CA] bg-clip-text text-transparent",children:[null!==(s=e.totalScore)&&void 0!==s?s:"-"," คะแนน"]}),(0,l.jsx)("div",{className:"text-[#1A1C49] text-[15px] font-semibold mt-1",children:e.level_name||"-"})]}),(0,l.jsxs)("div",{className:"hidden md:flex items-center pl-2 min-h-[60
1px] text-center",children:[(0,l.jsx)("div",{className:"w-[2px] h-[60px] bg-gradient-to-b from-[#0062D5] to-[#27C4CA] rounded-full mr-6"}),(0,l.jsxs)("div",{className:"flex flex-col text-left",children:[(0,l.jsxs)("div",{className:"text-[17px] font-semibold leading-snug bg-gradient-to-r from-[#0062D5] to-[#27C4CA] bg-clip-text text-transparent",children:[null!==(n=e.totalScore)&&void 0!==n?n:"-"," คะแนน"]}),(0,l.jsx)("div",{className:"text-[#1A1C49] text-[15px] leading-snug",children:e.level_name||"-"})]})]})]}),(0,l.jsx)("button",{onClick:()=>{r().push("/e-survey-from/[id]/[answerID]/result","/e-survey-from/".concat(e.surveyId,"/").concat(e.resultId,"/result"))},className:"w-full md:w-auto text-center border-2 border-[#1A1C49] text-[#1A1C49] rounded-full px-6 py-[8px] text-[15px] font-medium transition-colors duration-300 ease-in-out hover:bg-[#1A1C49] hover:text-white",children:"ดูผลลัพธ์"})]})]},e.documentId)})]})]})}},42547:function(e,t,s){"use strict";s.d(t,{Wo:function(){return c}});var l=s(67294),n=s(11163),i=s(76809),a=s(10814),r=s(24985);let c=e=>{let t="".concat(window.location.protocol,"//").concat(window.location.hostname,"/login?redirectUrl=").concat(e);return"https://sso.ditp.go.th/auth?response_type=code&client_id=".concat(r.By,"&redirect_uri=").concat(encodeURIComponent(t),"&state=123&switch_account=false")};t.ZP=()=>{let e=(0,n.useRouter)(),[t,s]=(0,l.useState)(null);(0,l.useEffect)(()=>{let t=e.query.code,l=e.query.redirectUrl;if(t)r(t,l);else{let e=(0,a.Q5)();e&&s(e)}},[e.query.code]);let r=(e,t)=>{i.hi.loginWithSSOCode({token:e}).then(e=>{var l,n,i,r,c;if(null===(l=e.data)||void 0===l?void 0:l.data){let l=null===(n=e.data)||void 0===n?void 0:n.data,o=(0,a.zS)(null===(c=e.data)||void 0===c?void 0:null===(r=c.raw)||void 0===r?void 0:null===(i=r.res_result)||void 0===i?void 0:i.sub_member);o&&(l.email=o),(0,a.Zh)(l),s(l),t?window.location.href=t:window.location.href="/"}})};return{ssoAccount:t,loginDITPSSO:r}}},61561:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return i},default:function(){return a}});var l=s(85893);s(66308),s(67294);var n=s(89138),i=!0;function a(e){return(null==e?void 0:e.notFound)?null:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(n.$,{title:"ประวัติการทำแบบสอบถาม / questionnaire completion history",description:"ประวัติการทำแบบสอบถามของคุณ และผลการตอบแบบสอบถามที่ผ่านมา",header:"ประวัติการทำแบบสอบถาม",type:"question",breadcrumb:[{label:"หน้าหลัก",link:"/"},{label:"แบบสอบถามประชาชน / Public Participation (e-Form / e-Survey)",link:"/e-survey-public-participation"},{label:"ประวัติการทำแบบสอบถาม / Questionnaire completion history"}],messages:e.message,history:e.history,ssoAccount:e.ssoAccount,isError:e.isError,errorMessage:e.errorMessage})})}},9008:function(e,t,s){e.exports=s(23867)}},function(e){e.O(0,[6308,2888,9774,179],function(){return e(e.s=68225)}),_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.