PageSourceSearch

https://trest.ai/_next/static/chunks/pages/blog-details/[slug]-a2968e27a7ba87bb.js

js trest.ai collected 2026-10-05 13:07:53 UTC 4,483 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[329],{8178:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog-details/[slug]",function(){return s(1595)}])},8195:function(e,t,s){"use strict";s(5893),s(5675),s(1664),s(7294),s(7704)},5764:function(e,t,s){"use strict";s.r(t);var a=s(5893),n=s(7294);t.default=()=>{let e=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var t,s;let a=null===(t=e.current)||void 0===t?void 0:t.querySelector("path");if(!a)return;let n=a.getTotalLength();a.style.transition="none",a.style.strokeDasharray="".concat(n," ").concat(n),a.style.strokeDashoffset=n,a.getBoundingClientRect(),a.style.transition="stroke-dashoffset 10ms linear";let r=()=>{let t=window.pageYOffset||document.documentElement.scrollTop,s=n-t*n/(document.documentElement.scrollHeight-document.documentElement.clientHeight);a.style.strokeDashoffset=s;let r=e.current;r&&(t>50?r.classList.add("rn-backto-top-active"):r.classList.remove("rn-backto-top-active"))};return r(),window.addEventListener("scroll",r),null===(s=e.current)||void 0===s||s.addEventListener("click",e=>{e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}),()=>{window.removeEventListener("scroll",r)}},[]),(0,a.jsx)("div",{className:"rn-progress-parent",ref:e,children:(0,a.jsx)("svg",{className:"rn-back-circle svg-inner",width:"100%",height:"100%",viewBox:"-1 -1 102 102",children:(0,a.jsx)("path",{d:"M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98"})})})}},1595:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return p}});var a=s(5893),n=s(7294),r=s(3493),i=s(5725),l=s(5103),c=s(8277),o=s(4513);s(8195);var d=s(5764),h=s(5675),u=s.n(h),m=s(1163),g=s(17),x=s(7066),j=s(2424),v=e=>{let{content:t}=e,s=j.Z.sanitize(t);return(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})},f=()=>{let e=(0,m.useRouter)(),t=e.query.slug,[s,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(e.isReady&&t&&null===s){let e={Authorization:g.Z.authorization};(async()=>{await x.Z.get("".concat(g.Z.baseURL,"/article/get?slug=").concat(t),{headers:e}).then(e=>{!e.data.status&&e.data.errors.length>0&&alert(e.data.errors[0].message),r(e.data.article)}).catch(e=>{console.error(e)})})()}},[t,s,e.isReady]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{title:s&&s.title,metaDescription:s&&s.meta_description,metaKeywords:s&&s.meta_keywords,canonical:s&&s.slug&&"https://trest.ai/blog-details/".concat(s.slug),ogTitle:s&&s.og_title,ogDescription:s&&s.og_description,ogImage:s&&s.og_image}),(0,a.jsx)("div",{className:"rainbow-blog-section rainbow-section-gap-big bg-color-1",children:s&&(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row row--30",children:(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("div",{className:"rainbow-blog-details-area",children:(0,a.jsx)("div",{className:"blog-details-content",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsxs)("div",{className:"content",children:[(0,a.jsx)("h2",{className:"title",children:s.title}),(0,a.jsx)("div",{className:"post-page-banner",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsxs)("div",{className:"content text-center",children:[(0,a.jsx)("div",{className:"thumbnail",children:(0,a.jsx)(u(),{className:"radius",src:s.cover_image,width:1024,height:768,maxheight:"768px",maxwidth:"1024px",alt:s.title})}),(0,a.jsxs)("ul",{className:"rainbow-meta-list",children:[(0,a.jsxs)("li",{style:{margin:15,marginLeft:0},children:[(0,a.jsx)("i",{className:"feather-user me-2"}),"Trest.AI"]}),(0,a.jsxs)("li",{style:{margin:15,marginLeft:0},children:[(0,a.jsx)("i",{className:"feather-calendar me-2"}),new Date(s.create_time).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"})]})]})]})})})})}),(0,a.jsx)(v,{content:s.content})]})})})})})})})})})})]})};s(4319);var w=s(9617),p=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{title:"Blog Details"}),(0,a.jsx)("main",{className:"page-wrapper",children:(0,a.jsxs)(r.ZP,{children:[(0,a.jsx)(l.Z,{headerTransparent:"header-not-transparent",headerSticky:"header-sticky",btnClass:"btn-small roun
1d"}),(0,a.jsx)(w.Z,{}),(0,a.jsx)(f,{}),(0,a.jsx)(d.default,{}),(0,a.jsx)(c.Z,{}),(0,a.jsx)(o.Z,{})]})})]})}},function(e){e.O(0,[151,675,983,424,374,888,774,179],function(){return e(e.s=8178)}),_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.