PageSourceSearch

https://www.veritone.com/_next/static/chunks/8644.ee975657070ef010.js

js veritone.com collected 2026-09-24 15:18:39 UTC 3,916 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8644],{88644:function(e,t,l){l.r(t),l.d(t,{default:function(){return DocumentLayout}});var a=l(85893),s=l(67294),n=l(25675),i=l.n(n),d=l(30381),o=l.n(d);function DocumentLayout(e){var t,l,n,d,r,c,m;let[u,p]=(0,s.useState)([]),[x,h]=(0,s.useState)(""),[v,g]=(0,s.useState)(!0),imgReplace=e=>{let t=e.querySelectorAll("img");return t.forEach(e=>{e.src.includes("https://dev-veritone-wp-decoupled.pantheonsite.io")&&(e.src="/_next/image/?url=".concat(e.src,"&w=100%&q=100%"))}),e.innerHTML},contentToggle=e=>{let t=u.find(t=>t.dataDate===e.target.dataset.date);t&&(g(t.latest),h(t.content),window.scrollTo({top:0,behavior:"smooth"}))};return(0,s.useEffect)(()=>{var t;if(null==e?void 0:null===(t=e.items)||void 0===t?void 0:t.documentVersions){let t=e.items.documentVersions.map(e=>{let t=(null==e?void 0:e.documentDate)||"",l=t?o()(t).format("MM-DD-YYYY"):"";return{dataDate:l,date:null==e?void 0:e.documentDate,content:null==e?void 0:e.documentContent,latest:!1}});if(t.length>0){let e=t[t.length-1];e.latest=!0,t.splice(-1,1,e);let l=function(e){let t=new DOMParser,l=t.parseFromString(e,"text/html");return l.body}(e.content),a=imgReplace(l);h(a),p(t)}}},[null==e?void 0:null===(t=e.items)||void 0===t?void 0:t.documentVersions]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{id:(null==e?void 0:null===(l=e.items)||void 0===l?void 0:l.documentId)||"",className:"details__banner archive md-up:bg-cosmos pb-0 laptop-landscape:!pt-28 md:pt-16",children:[(0,a.jsx)("div",{className:"container z-[1]",children:(0,a.jsxs)("div",{className:"wrapper relative md-up:banner-shadow bg-white max-w-[1250px] mx-auto px-[52px] xl:px-7 md:px-2",children:[(0,a.jsx)("div",{className:"bg-img absolute -left-0.5 bottom-0 w-[calc(100%+3.5px)] xl:w-[calc(100%+3px)] h-full -z-[1] md:hidden",children:(0,a.jsx)(i(),{src:"/images/text-detail/gradient-border.png",alt:"bg gradient",width:1346,height:589,className:"w-full h-full"})}),(0,a.jsx)("div",{className:"banner__text mt-11 md:mt-14",children:(null===(n=e.items)||void 0===n?void 0:n.documentTitle)&&(0,a.jsx)("h1",{className:"h2 mt-[20px] pt-12 md:mt-2.5 md:text-[32px] !font-light",children:e.items.documentTitle})})]})}),(0,a.jsx)("div",{className:"bg-overlay absolute left-0 bottom-0 w-full h-[20%] bg-white"})]}),(0,a.jsx)("section",{className:"text__detail pt-[20px] padding-bottom-120 ".concat((null==e?void 0:null===(d=e.items)||void 0===d?void 0:d.documentClasses)||""),children:(null==e?void 0:null===(r=e.items)||void 0===r?void 0:r.documentVersions)&&(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"wrapper max-w-[1250px] mx-auto px-[52px] xl:px-7 md:px-2",children:[!v&&u.length>0&&(0,a.jsx)("span",{onClick:contentToggle,"data-date":null===(c=u[u.length-1])||void 0===c?void 0:c.dataDate,className:"text-link-black pb-4 cursor-pointer",children:"View Latest Version Here"}),(0,a.jsx)("article",{children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:x}})})]})})}),u.length>1&&(0,a.jsx)("section",{className:"versions-block md-up:py-0",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"wrapper max-w-[1155px] mx-auto pt-6 border-t border-black owners-font",children:[(0,a.jsxs)("small",{className:"text-base",children:[(0,a.jsx)("span",{className:"font-normal",children:"Previous versions"})," ",(0,a.jsxs)("span",{className:"font-light italic",children:["(Last modified"," ",(0,a.jsx)("span",{className:"inline-block",children:null===(m=u[u.length-1])||void 0===m?void 0:m.date}),")"]})]}),(0,a.jsx)("div",{className:"btn-wrap mt-7 md:flex md:flex-wrap md:gap-6",children:[...u.slice(0,-1)].reverse().map(e=>(0,a.jsx)("span",{onClick:contentToggle,"data-date":e.dataDate,className:"last:mr-0 mr-[20px] black-border-btn sm-up:mr-10 sm:mr-0 !border sm:w-full cursor-pointer",children:e.date},e.dataDate))})]})})})]})}}}]);

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.