PageSourceSearch

https://www.brightics.ai/static/js/38.a39ccd47.chunk.js

js brightics.ai collected 2026-10-02 20:49:57 UTC 9,188 bytes, 1 lines download raw bytes

1(this.webpackJsonpbrightics_ai=this.webpackJsonpbrightics_ai||[]).push([[38],{1185:function(e,t,c){"use strict";c.r(t),c.d(t,"default",(function(){return m}));var n=c(103),a=c(0),s=c(66),i=c(632),l=c(1),r=c(599),o=c(45),d=c(265),j=c(628),b=c(32),u=c(90),O=c(10),p=c(2);function m(){var e=Object(r.a)(),t=e.t,c=e.i18n,m=Object(o.d)(),x=Object(o.e)((function(e){return e.authReducer})),h="ADMIN"===(Object(o.e)((function(e){return e.authReducer.isAuth}))?x.role:"ALL"),g=Object(l.useState)({orderBy:"lastest",pageNo:1,pageSize:10}),f=Object(s.a)(g,2),v=f[0],N=f[1];Object(l.useEffect)((function(){m(Object(b.C)(v))}),[m,v,c.language]),Object(l.useEffect)((function(){return function(){m(Object(b.u)())}}),[]);var y=Object(o.e)((function(e){return e.partnerRRReducer.partnerRRList})),R=function(e,t){N((function(c){return Object(a.a)(Object(a.a)({},c),{},Object(n.a)({},e,t))}))},w=Object(l.useMemo)((function(){var e;return null===y||void 0===y||null===(e=y.data)||void 0===e?void 0:e.map((function(e,t){var c,n,a;return Object(p.jsxs)("tr",{children:[Object(p.jsx)("td",{className:"txtC",children:Object(O.f)(null===y||void 0===y?void 0:y.pageNo,v.pageSize,t)}),Object(p.jsx)("td",{className:"txtR",children:(null===e||void 0===e||null===(c=e.attachments)||void 0===c?void 0:c.length)>0&&Object(p.jsx)("i",{className:"icoDownloadFile"})}),Object(p.jsx)("td",{children:Object(p.jsx)("span",{className:"tooltipArea",children:Object(p.jsx)(u.a,{to:"/partner/partner-reference-room-detail?id=".concat(null===e||void 0===e?void 0:e.id),className:"txtUnderline",children:e.titleEn})})}),Object(p.jsx)("td",{children:Object(p.jsx)("span",{className:"tooltipArea",children:Object(O.R)(null!==e&&void 0!==e&&e.writtenByName?null===e||void 0===e?void 0:e.writtenByName:null!==e&&void 0!==e&&null!==(n=e.writtenByUserDeleted)&&void 0!==n&&n.name?null===e||void 0===e||null===(a=e.writtenByName)||void 0===a?void 0:a.name:"")})}),Object(p.jsx)("td",{children:Object(p.jsx)("span",{className:"tooltipArea",children:Object(O.m)(e.createdDate)})}),Object(p.jsx)("td",{children:Object(p.jsx)("span",{className:"tooltipArea",children:e.view})})]},"par_"+t+1)}))}),[y]);return Object(p.jsx)("div",{className:"contW",children:Object(p.jsxs)("main",{role:"main",id:"contents",className:"mainContW bgGray02 pB80",style:{minHeight:"300px"},children:[Object(p.jsxs)("section",{className:"subTitWrap bgDarkGray01",children:[Object(p.jsxs)("div",{className:"container boxRelative subTit",children:[Object(p.jsx)("h2",{className:"subTit01",children:t("partners.Reference")}),Object(p.jsx)("div",{className:"locationW",children:Object(p.jsxs)("ul",{className:"location",children:[Object(p.jsx)("li",{children:Object(p.jsx)(u.a,{to:"/",className:"txtGray03",children:"Home >\xa0"})}),Object(p.jsx)("li",{children:"Partners >\xa0"}),Object(p.jsx)("li",{children:t("partners.Reference")})]})}),Object(p.jsx)("div",{className:"subTxt01 height103 mT6",children:t("partners.ContentRR")})]}),Object(p.jsx)("div",{className:"imgBox",style:{backgroundImage:"url('../../img/bg/bgSubPartnerRefer.png')"}})]}),Object(p.jsx)("div",{id:"scrollIntoView"}),Object(p.jsxs)("section",{className:"container boxRelative mT60",children:[Object(p.jsxs)("div",{className:"contBox01 mT25 pL80 pR80",children:[Object(p.jsxs)("div",{className:"clearfix",children:[Object(p.jsx)("div",{className:"floatL",children:Object(p.jsx)("div",{className:"tableOption mT6",children:Object(p.jsxs)("div",{className:"tblControl clearfix",children:[Object(p.jsxs)("p",{className:"total floatL",children:["Total ",Object(p.jsx)("strong",{children:null===y||void 0===y?void 0:y.totalResult})]}),Object(p.jsx)("i",{className:"barControl floatL"}),Object(p.jsx)(i.a,{itemSelected:v.pageSize,name:"pageSize",libSelect:[{id:10,name:"<strong>10 </strong>per page"},{id:20,name:"<strong>20 </strong>per page"},{id:30,name:"<strong>30 </strong>per page"}],handleChange:function(e,t){N(Object(a.a)(Object(a.a)({},v),{},{pageSize:t,pageNo:1}))}})]})})}),Object(p.jsx)("div",{className:"floatR",children:Object(p.jsx)("div",{className:"selectW disInBlock vAlignMiddle",children:Object(p.jsx)(d.a,{libSelect:[{id:"lastest",name:"".concat(t("partners.NewestOldest"))},{id:"viewnum",name:"".concat(t("partners.NumberOfViews"))}],itemSelected:v.orderBy,name:"orderBy",classWrap:"tblCell sliderSelectCommon partner-select",handleChange:R})})})]}),Object(p.jsxs)("table",{className:"table01 mT16",children:[Object(p.jsx)("caption",{children:t("partners.PartnerQAList")}),Object(p.jsxs)("colgroup",{children:[Object(p.jsx)("col",{style:{width:"48px"}}),Object(p.jsx)("col",{style:{width:"26px"}}),Object(p.jsx)("col",{}),Object(p.jsx)("col",{style:{width:"150px"}}),Object(p.jsx)("col",{style:{width:"150px"}}),Object(p.jsx)("col",{style:{width:"150px"}})]}),Object(p.jsx)("thead",{children:Object(p.jsxs)("tr",{children:[Object(p.jsx)("th",{scope:"col",className:"txtC",children:t("partners.No")}),Object(p.jsx)("th",{scope:"col"}),Object(p.jsx)("th",{scope:"col",className:"txtL",children:t("partners.Title")}),Object(p.jsx)("th",{scope:"col",className:"txtL",children:t("partners.Writer")}),Object(p.jsx)("th",{scope:"col",className:"txtL",children:t("partners.Date")}),Object(p.jsx)("th",{scope:"col",className:"txtL",children:t("partners.Views")})]})}),Object(p.jsx)("tbody",{children:w})]}),Object(p.jsx)("div",{className:"txtC",children:Object(p.jsx)("div",{className:"pager clearfix",children:Object(p.jsx)(j.a,{page:null!==y&&void 0!==y&&y.pageNo?null===y||void 0===y?void 0:y.pageNo:1,totalPages:null!==y&&void 0!==y&&y.totalPage?null===y||void 0===y?void 0:y.totalPage:0,getPageFnc:function(e){R("pageNo",e),Object(O.N)("scrollIntoView")}})})})]}),Object(p.jsx)("div",{className:"clearfix mT24",children:Object(p.jsx)("div",{className:"floatR",children:h&&Object(p.jsx)(u.a,{to:"/partner/partner-reference-room-register",className:"btnPrimary btnSize01",children:t("partners.Add")})})})]})]})})}},628:function(e,t,c){"use strict";c.d(t,"a",(function(){return i}));var n=c(66),a=c(1),s=(c(631),c(2));function i(e){var t=function(t){return e.getPageFnc(t)},c=Object(a.useState)(1),i=Object(n.a)(c,2),l=i[0],r=i[1],o=Object(a.useState)(e.totalPages),d=Object(n.a)(o,2),j=d[0],b=d[1];Object(a.useEffect)((function(){var t;t=e.totalPages,b(t%10===0?(t-t%10)/10:(t-t%10)/10+1)}),[e.totalPages]),Object(a.useEffect)((function(){var t;t=e.page,r(t%10===0?(t-t%10)/10:(t-t%10)/10+1)}),[e.page]);var u=function(e,c){r(e),t(c)};return Object(s.jsx)(s.Fragment,{children:j>0&&e.totalPages>1&&Object(s.jsx)("div",{className:"pagination_permission",children:Object(s.jsxs)("div",{className:e.classWrap?"pagenation_content":void 0,children:[Object(s.jsx)("button",{className:" ".concat(1===l?"pagination--disable":""),type:"button",disabled:1===l,onClick:function(){u(1,1)},children:Object(s.jsx)("span",{className:"first ".concat(1===l?"off":""),children:"\xa0"})}),Object(s.jsx)("button",{className:" ".concat(1===l?"pagination--disable":""),type:"button",disabled:1===l,onClick:function(){r(l-1)},children:Object(s.jsx)("span",{className:"prev ".concat(1===l?"off":""),children:"\xa0"})}),function(e,t){for(var c=[],n=e;n<=t;n++)c.push(n);return c}(l>1?10*l-9:1,l<j?10*l:e.totalPages).map((function(c,n){return Object(s.jsx)("button",{type:"button",onClick:function(){t(c)},children:Object(s.jsx)("span",{className:c===e.page?"on":"",children:c})},"page".concat(n))})),Object(s.jsx)("button",{className:" ".concat(l===j?"pagination--disable":""),type:"button",disabled:l===j,onClick:function(){r(l+1)},children:Object(s.jsx)("span",{className:"next ".concat(l===j?"off":""),children:"\xa0"})}),Object(s.jsx)("button",{className:" ".concat(l===j?"pagination--disable":""),type:"button",disabled:l===j,onClick:function(){u(j,e.totalPages)},children:Object(s.jsx)("span",{className:"last ".concat(l===j?"off":""),children:"\xa0"})})]})})})}},631:function(e,t,c){},632:function(e,t,c){"use strict";c.d(t,"a",(function(){return o}
1));var n=c(66),a=c(1),s=c(118),i=(c(634),c(10)),l=c(2),r=[{id:10,name:"<strong>10 </strong>per page"},{id:20,name:"<strong>20 </strong>per page"},{id:50,name:"<strong>50 </strong>per page"}];function o(e){var t=e.libSelect,c=void 0===t?r:t,o=e.itemSelected,d=e.name,j=e.classWrap,b=e.handleChange,u=Object(a.useState)(!1),O=Object(n.a)(u,2),p=O[0],m=O[1],x=Object(a.useRef)(null);Object(s.a)(x,(function(){m(!1)}));var h=Object(a.useMemo)((function(){return c.map((function(e,t){return Object(l.jsx)("li",{"data-period":e.id,onClick:function(){var t;t=e.id,b(d,t),m(!1)},className:e.id===o?"list-selected":"",children:Object(l.jsx)("span",{dangerouslySetInnerHTML:{__html:Object(i.a)(e.name)}})},"".concat(e.id))}))}),[c,o]),g=p?"on-common down-common":"on-common",f=p?{display:"block"}:{display:"none"},v=c.find((function(e){return e.id===o}));return Object(l.jsxs)("div",{className:j?"".concat(j,"quantity-person-custom"):"text_account select quantity-person-custom",ref:x,style:{position:"relative"},children:[Object(l.jsx)("span",{className:g,onClick:function(){m(!p)},dangerouslySetInnerHTML:{__html:Object(i.a)(null===v||void 0===v?void 0:v.name)}}),Object(l.jsx)("ul",{className:"list-select",style:f,children:h})]})}},634:function(e,t,c){}}]);

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.