1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9472],{72652:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"}},5085:function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(a=n(76720))&&a.__esModule?a:{default:a};t.default=r,e.exports=r},59505:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}]},name:"facebook",theme:"outlined"},c=n(47833),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="FacebookOutlined";var i=r.forwardRef(l)},76720:function(e,t,n){"use strict";var a=n(75263),r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42122)),c=a(n(67294)),l=r(n(72652)),i=r(n(92074)),s=function(e,t){return c.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};s.displayName="DownOutlined";var u=c.forwardRef(s);t.default=u},58492:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var a=n(87462),r=n(4942),o=n(74902),c=n(67294),l=n(94184),i=n.n(l),s=n(50344),u=n(5085),d=n.n(u),m=n(18562),f=n(59844),p=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},h=function(e){var t,n,r=e.prefixCls,o=e.separator,l=void 0===o?"/":o,i=e.children,s=e.overlay,u=e.dropdownProps,h=p(e,["prefixCls","separator","children","overlay","dropdownProps"]),v=(0,c.useContext(f.E_).getPrefixCls)("breadcrumb",r);return t="href"in h?c.createElement("a",(0,a.Z)({className:"".concat(v,"-link")},h),i):c.createElement("span",(0,a.Z)({className:"".concat(v,"-link")},h),i),n=t,t=s?c.createElement(m.Z,(0,a.Z)({overlay:s,placement:"bottomCenter"},u),c.createElement("span",{className:"".concat(v,"-overlay-link")},n,c.createElement(d(),null))):n,i?c.createElement("span",null,t,l&&""!==l&&c.createElement("span",{className:"".concat(v,"-separator")},l)):null};h.__ANT_BREADCRUMB_ITEM=!0;var v=h,y=function(e){var t=e.children,n=(0,c.useContext(f.E_).getPrefixCls)("breadcrumb");return c.createElement("span",{className:"".concat(n,"-separator")},t||"/")};y.__ANT_BREADCRUMB_SEPARATOR=!0;var g=y,x=n(96583),_=n(21687),b=n(96159),w=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};function j(e,t,n,a){var r=n.indexOf(e)===n.length-1,o=function(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(":(".concat(n,")"),"g"),(function(e,n){return t[n]||e}))}(e,t);return r?c.createElement("span",null,o):c.createElement("a",{href:"#/".concat(a.join("/"))},o)}var k=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach((function(n){e=e.replace(":".concat(n),t[n])})),e},N=function(e){var t,n=e.prefixCls,l=e.separator,u=void 0===l?"/":l,d=e.style,m=e.className,p=e.routes,h=e.children,y=e.itemRender,g=void 0===y?j:y,N=e.params,E=void 0===N?{}:N,F=w(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),O=c.useContext(f.E_),Z=O.getPrefixCls,T=O.direction,C=Z("breadcrumb",n);if(p&&p.length>0){var P=[];t=p.map((function(e){var t,n=k(e.path,E);return n&&P.push(n),e.children&&e.children.length&&(t=c.createElement(x.Z,null,e.children.map((function(e){return c.createElement(x.Z.Item,{key:e.path||e.breadcrumbName},g(e,E,p,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,a=(0,o.Z)(e),r=k(t,n);return r&&a.push(r),a}(P,e.path,E)))}
1)))),c.createElement(v,{overlay:t,separator:u,key:n||e.breadcrumbName},g(e,E,p,P))}))}else h&&(t=(0,s.Z)(h).map((function(e,t){return e?((0,_.Z)(e.type&&(!0===e.type.__ANT_BREADCRUMB_ITEM||!0===e.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),(0,b.Tm)(e,{separator:u,key:t})):e})));var R=i()(C,(0,r.Z)({},"".concat(C,"-rtl"),"rtl"===T),m);return c.createElement("div",(0,a.Z)({className:R,style:d},F),t)};N.Item=v,N.Separator=g;var E=N},44330:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/donate/view/[donateCode]",function(){return n(63119)}])},18587:function(e,t,n){"use strict";n(85893),n(67294)},79451:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(51438),r=n(52951),o=n(26042),c=n(69396),l=n(16420),i=n(28908),s=function(){function e(){(0,a.Z)(this,e)}return(0,r.Z)(e,null,[{key:"convertFileBeanToFileAnt",value:function(e,t,n){var a=n.groupType,r=n.id,c=t.originalFilename;return{uid:e,name:c,status:"done",url:this.getDownloadFileUrl(a,r,c),response:{bean:(0,o.Z)({},t)}}}},{key:"composeUrlInFileList",value:function(t){return t.map((function(t){if("done"==t.status){var n=e.getResponseFile(t);if(n.tempFilename)return(0,c.Z)((0,o.Z)({},t),{url:e.getDownloadTempFileUrl(n.tempFilename,n.type)})}return t}))}},{key:"getDownloadTempFileUrl",value:function(e,t){return"".concat(l._d,"/render/temp?tempFilename=").concat(e,"&type=").concat(t)}},{key:"getDownloadFileUrl",value:function(e,t,n){return"".concat(l._d,"/render/attach/").concat(e,"/").concat(t,"/").concat(n)}},{key:"getDownloadFileTemplateUrl",value:function(e,t){return"".concat(l._d,"/render/attach/").concat(i.kW.TEMPLATE,"/").concat(e,"/").concat(t)}},{key:"getDownloadFileUrlByTypeAndIdAndFileName",value:function(e,t,n){return"".concat(l._d,"/render/attach/").concat(e,"/").concat(t,"/").concat(n)}},{key:"getFileUrl",value:function(e,t,n){return"".concat(l._d,"/render/gallery/").concat(e,"?filename=").concat(t,"&path=").concat(n)}},{key:"getFileStaffUrl",value:function(e,t,n,a){return"".concat(l._d,"/render/gallery/").concat(e,"?filename=").concat(t,"&path=").concat(n,"&department=").concat(a)}},{key:"getFixFileUrl",value:function(e,t){return"".concat(l._d,"/render/fixedPdf?filename=").concat(e,"&department=").concat(t)}},{key:"getFileDownloadUrl",value:function(e,t,n){return"".concat(l._d,"/render/download/").concat(e,"?filename=").concat(t,"&path=").concat(n)}},{key:"getFilePaymentSlip",value:function(e,t){return"".concat(l._d,"/render/slipPayment?transactionId=").concat(t,"&type=").concat(e)}},{key:"getDownloadFilePaymentSlip",value:function(e,t,n){return"".concat(l._d,"/render/downloadSlipPayment/").concat(e,"/").concat(t,"/").concat(n)}},{key:"getResponseFileList",value:function(e){var t=this;return null===e||void 0===e?void 0:e.filter((function(e){return"done"===e.status})).map((function(e){return t.getResponseFile(e)}))}},{key:"getResponseFile",value:function(e){return"done"===e.status?e.response.bean:null}},{key:"floatPrecision",value:function(e,t){if(e=parseFloat(e),isNaN(e))return parseFloat("0").toFixed(t);var n=Math.pow(10,t);return(e=(Math.round(e*n)/n).toFixed(t)).toString()}},{key:"fileSize",value:function(e){if(e>1024){var t=e/1024;if(t>1024){var n=t/1024;return"".concat(this.floatPrecision(n,2)," MB")}return"".concat(Math.round(t)," kB")}return"".concat(e," B")}}]),e}()},63119:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return h}});var a=n(85893),r=(n(67294),n(66865),n(79451)),o=n(40742),c=n(14416),l=n(58492),i=n(71230),s=n(15746),u=n(71577),d=(n(18587),n(28908)),m=n(26793),f=n(59505),p=n(11163),h=(n(61608),!0);t.default=function(e){var t=e.data,n=e.relationLink,h=(0,m.$)([d.uD.FRONT,d.uD.COMMON]).t,v=(0,c.v9)((function(e){return e.CommonReducer.language})),y=(0,p.useRouter)(),g=y.query.donateCode,x=((0,c.I0)(),function(e,t){return y.push({pathname:e,query:t})});if(t){var _,b=o.Z.parseDateToMoment(t.updateTime);return(0,a.jsxs)("div",{className:"container pt-3 pt-sm-4 pb-5",children:[(0,a.jsxs)(l.Z,{className:"mb-3",children:[(0,a.jsx)(l.Z.Item,{children:(0,a.jsx)("a",{href:"",onClick:function(e){e.preventDefault(),x("/home")},children:h("front:menu.home")})}),(0,a.jsx)(l.Z.Item,{children:(0,a.jsx)("a",{href:"",onClick:function(e){e.preventDefault(),x("/donate")},children:h("front:donate.title")})}),(0,a.jsx)(l.Z.Item,{className:"thispage",children:d.dK.th_TH===v?t.title:t.titleEn})]}
1),(0,a.jsxs)(i.Z,{children:[(0,a.jsxs)(s.Z,{xs:24,sm:16,children:[(0,a.jsx)("div",{className:"position-relative mb-3",children:(0,a.jsx)("img",{height:"0",width:"0",sizes:"100vw",src:r.Z.getDownloadFileUrlByTypeAndIdAndFileName(d.kW.DONATE,t.refCode,t.attachImage.originalFilename),priority:!0,alt:t.attachImage.originalFilename,className:"img-fluid w-100"})}),(0,a.jsx)("h1",{className:"mb-2 head-news",children:d.dK.th_TH===v?t.title:t.titleEn}),(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-sm-12 col-md-12",children:[(0,a.jsxs)("small",{className:"news-detail mb-3",children:[(0,a.jsx)("i",{className:"feather icon-calendar"})," ",h("common:format_date_th",{day:b.date(),month:h("common:month.".concat(b.month())),year:b.year()}),(0,a.jsx)("i",{className:"feather icon-eye ml-4"})," ",h("common:read_total",{total:t.totalView?t.totalView:0})]}),(0,a.jsx)(u.Z,{disabled:!t.facebookLink,onClick:function(){window.open(t.facebookLink)},type:"primary",style:{marginLeft:20},icon:(0,a.jsx)(f.Z,{}),size:"small"})]})})]}),(0,a.jsxs)(s.Z,{xs:24,sm:8,className:"link-aside",children:[(0,a.jsxs)("h1",{children:[(0,a.jsx)("i",{className:"feather icon-link"})," ",h("front:relatedLinks")]}),(0,a.jsx)("ul",{children:null===n||void 0===n?void 0:n.map((function(e){var t=e.donateId,n=e.refCode,r=e.title,o=e.titleEn,c=e.hasChild;return(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"",onClick:function(e){e.preventDefault(),c?window.open("/donate/"+n):window.open("/donate/view/"+n)},children:d.dK.th_TH===v?r:o})},t)}))})]})]}),(0,a.jsx)("div",{style:{marginTop:10,marginBottom:10},dangerouslySetInnerHTML:{__html:d.dK.th_TH===v?t.content:t.contentEn}}),t.keywordList?t.keywordList.map((function(e,t){return(0,a.jsx)("a",{className:"keyword-tag",children:(0,a.jsx)("span",{children:"#".concat(e)})},t)})):null,t.documentList&&t.documentList.length>0?(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{children:(0,a.jsx)("b",{children:h("front:attachment")})}),null===(_=t.documentList)||void 0===_?void 0:_.map((function(e,n){var o=e.originalFilename;return(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:r.Z.getDownloadFileUrl(d.kW.NEWS,t.donateId,o),children:n+1+". "+o})},o)}))]}):null,(0,a.jsx)("div",{className:"text-center",children:(0,a.jsxs)(u.Z,{type:"primary",className:"mt-4 mb-2",onClick:function(){x("/donate/step/1/"+g)},children:[(0,a.jsx)("i",{className:"feather icon-heart mr-1"})," ",h("common:button.donate")]})})]})}}}},function(e){e.O(0,[9774,2888,179],(function(){return t=44330,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.