PageSourceSearch

https://www.dede.go.th/_next/static/chunks/pages/summary/SummaryBody-fbb1044edc0cf9c9.js

js dede.go.th collected 2026-09-24 09:31:12 UTC 5,689 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[172],{48498:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/summary/SummaryBody",function(){return n(94982)}])},94982:function(e,t,n){"use strict";n.r(t);var i=n(85893),s=n(67294),c=n(70594),o=n(11163),r=n(84433),l=n(20840),a=n(50747),d=n(33683),m=n(81811),x=n(86986),h=n(56108);let u=n(30488),p=()=>{let e=(0,o.useRouter)(),{id:t,datatype:n}=e.query,[p,j]=(0,s.useState)(null),[_,f]=(0,s.useState)((0,h.mW)()),[w,g]=(0,s.useState)("");if((0,s.useEffect)(()=>{if(t){let e=async()=>{try{let e=await c.Z.get("".concat(r.UW,"/api/auction-summaries/").concat(t,"?populate=*")),n=e.data.data;if(console.log("data",n),n){j(n);let i=(0,x.hh)(n);console.log("title",i),g(i),f((0,h.ob)({title:i,description:i}))}}catch(s){console.error("Error fetching summary:",s)}};e()}},[t]),!p)return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{id:"canvas",children:(0,i.jsxs)("div",{id:"box_wrapper",children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)("section",{className:"ls section_padding_top_100 section_padding_bottom_100",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col-sm-12 text-center",children:(0,i.jsx)("p",{children:"กำลังโหลดข้อมูล..."})})})})}),(0,i.jsx)(a.Z,{})]})})});let v=p.attributes,b=(0,m.r)(v.main_content);b&&(b=u(b));let y=(0,x.xP)(v.publish_date)||(0,x.xP)(v.publishedAt),N=(0,x.xP)(v.updatedAt);return(0,i.jsxs)(i.Fragment,{children:[_,(0,i.jsx)("div",{id:"canvas",children:(0,i.jsxs)("div",{id:"box_wrapper",children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)(d.Z,{pageTitle:w,menuId:"auction"==n?31:65}),(0,i.jsx)("section",{className:"ls section_padding_top_50 section_padding_bottom_50",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row columns_padding_25 columns_margin_bottom_20",children:(0,i.jsx)("div",{className:"col-sm-12",children:(0,i.jsx)("article",{className:"event-single vertical-item content-padding",children:(0,i.jsxs)("div",{className:"item-content",children:[(0,i.jsx)("h4",{children:p&&(0,x.hh)(p)}),(0,i.jsx)("div",{className:"entry-content",children:(0,i.jsx)("div",{style:{overflowX:"auto",width:"100%"},children:b})}),(0,i.jsxs)("footer",{className:"entry-footer",style:{marginTop:"30px"},children:[(0,i.jsxs)("p",{style:{textAlign:"right"},children:["เผยแพร่เมื่อ ",y," ",y!==N?" ปรับปรุงเมื่อ "+N:""]}),(0,i.jsx)("div",{style:{marginTop:"20px"},children:(0,i.jsx)("button",{onClick:()=>e.back(),className:"theme_button color1",style:{minWidth:"150px"},children:"ย้อนกลับ"})})]})]})})})})})}),(0,i.jsx)(a.Z,{})]})})]})};t.default=p},56108:function(e,t,n){"use strict";n.d(t,{mW:function(){return l},ob:function(){return r},vI:function(){return o}});var i=n(85893),s=n(9008),c=n.n(s);let o=async(e,t,n)=>{let s=e.main_content,o="กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน",r=e.title;if(r&&(o=r+" | "+o),"string"==typeof s||s instanceof String){s=(s=(s=s.replace(/<[^>]+>/g,"")).replace(/\&nbsp;/g,"")).trim();let l=s.length;s=s.slice(0,150),l>=150&&(s+="...")}else s="กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน";return n||(n="index, follow"),(0,i.jsxs)(c(),{children:[(0,i.jsx)("title",{children:o}),(0,i.jsx)("meta",{name:"description",content:s}),(0,i.jsx)("meta",{name:"keywords",content:t}),(0,i.jsx)("meta",{name:"robots",content:n}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/uploads/dede_b439269179.ico"})]})},r=e=>{let t="กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน",n=e.title?e.title+" | "+t:t,s=e.description?e.description:"กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน";if("string"==typeof s||s instanceof String){s=(s=(s=s.replace(/<[^>]+>/g,"")).replace(/\&nbsp;/g,"")).trim();let o=s.length;s=s.slice(0,150),o>=150&&(s+="...")}else s=null;
1s||(s=n?n+" "+t:t);let r=e.keywords?e.keywords:"",l=e.robotKeywords?e.robotKeywords:"index, follow";return(0,i.jsxs)(c(),{children:[(0,i.jsx)("title",{children:n}),(0,i.jsx)("meta",{name:"description",content:s}),(0,i.jsx)("meta",{name:"keywords",content:r}),(0,i.jsx)("meta",{name:"robots",content:l}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/uploads/dede_b439269179.ico"})]})},l=()=>(0,i.jsxs)(c(),{children:[(0,i.jsx)("title",{children:"กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน"}),(0,i.jsx)("meta",{name:"description",content:"กรมพัฒนาพลังงานทดแทนและอนุรักษ์พลังงาน (พพ.) กระทรวงพลังงาน"}),(0,i.jsx)("meta",{name:"robots",content:"index, follow"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/uploads/dede_b439269179.ico"})]})}},function(e){e.O(0,[4885,1876,1664,594,5675,3539,488,3166,3683,9774,2888,179],function(){return e(e.s=48498)}),_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.