1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79104],{4952:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/demos/edge",function(){return l(98461)}])},98461:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>b,default:()=>w});var n=l(38536),r=l(28270),a=l(40561),o=l(1950);function i(e){return"string"==typeof e&&/^https?:\/\//i.test(e)}function u(e){if(!e)return null;let t=e["og-title"]||e.title||"",l=e.url||e.click_url||"";if(!t||!i(l))return null;let n=e.dominantimage||e.dominantthumbnail||"";return{id:e.id||l,title:t,url:l,image:i(n)?n:""}}function s(e){return Array.isArray(e)?e.map(u).filter(Boolean):[]}var d=l(9954);let p=(0,n.A)("div",{target:"e196r1n95"})((0,r.Ay)("edge-page-wrapper",{margin:"0 auto",maxWidth:"maxContentWidth",p:{_:"0 {mobileOuterGutter} {m} {mobileOuterGutter}",md:"0 {tabletOuterGutter} {l} {tabletOuterGutter}"}}),""),m=(0,n.A)("p",{target:"e196r1n94"})({name:"13mprvb",styles:"font-family:monospace;overflow-wrap:anywhere"}),c=(0,n.A)("ul",{target:"e196r1n93"})({name:"w7y0i6",styles:"display:grid;gap:1rem;grid-template-columns:repeat(auto-fill, minmax(12rem, 1fr));list-style:none;margin:0 0 1.5rem;padding:0"}),g=(0,n.A)("a",{target:"e196r1n92"})({name:"1wv0yd6",styles:"color:inherit;display:block;text-decoration:none"}),Y=(0,n.A)("div",{target:"e196r1n91"})({name:"pmoum8",styles:"aspect-ratio:16/9;background-color:#eee;background-position:center;background-repeat:no-repeat;background-size:cover;margin-bottom:0.5rem"}),h=(0,n.A)("table",{target:"e196r1n90"})({name:"1q2ffaa",styles:"border-collapse:collapse;font-family:monospace;table-layout:fixed;width:100%;th,td{border:1px solid #ccc;padding:0.25rem 0.5rem;text-align:left;vertical-align:top;}td:first-of-type{width:18rem;}td:nth-of-type(2){overflow-wrap:anywhere;}td:last-of-type{text-align:right;width:6rem;}"});function y({cards:e,provider:t}){return 0===e.length?null:(0,d.Y)("section",null,(0,d.Y)("h2",null,t," cards"),(0,d.Y)(c,null,e.map(e=>(0,d.Y)("li",{key:e.id},(0,d.Y)(g,{href:e.url},e.image?(0,d.Y)(Y,{style:{backgroundImage:`url(${e.image})`}}):null,(0,d.Y)("strong",null,e.title))))))}function f({status:e}){return(0,d.Y)("ul",null,(0,d.Y)("li",null,(0,d.Y)("strong",null,"items forwarded:")," ",e.count),(0,d.Y)("li",null,(0,d.Y)("strong",null,"cache:")," ",e.cache||"(none)"),(0,d.Y)("li",null,(0,d.Y)("strong",null,"timing:")," ",e.timing||"(none)"),(0,d.Y)("li",null,(0,d.Y)("strong",null,"error:")," ",e.error||"(none)"))}var b=!0;let w=function({edge:e,edgeItems:t,headerBytes:l,headerList:n,layoutContextProps:r,query:i,ssr:u,theme:c}){var g;let Y,b,w=s(t?.piano),v=s(t?.parsely);return(0,d.Y)(o.A,{theme:c,layoutContextProps:r,ssr:u},(0,d.Y)(a.A,null,(0,d.Y)("title",null,"fre-edge"),(0,d.Y)("meta",{name:"robots",content:"noindex, nofollow"})),(0,d.Y)(p,null,(0,d.Y)("h1",null,"fre-edge"),(0,d.Y)("p",null,"This page renders items forwarded on ",(0,d.Y)("code",null,"x-piano-data")," and"," ",(0,d.Y)("code",null,"x-parsely-data"),". Add ?app:piano= and/or ?app:parsely= so Compute fetches them. Article Transporters are not modified."),0===w.length&&0===v.length?(0,d.Y)("p",null,"No cards. Add ?app:piano=<widget-id> and/or ?app:parsely=<site-id>."):null,(0,d.Y)(y,{cards:w,provider:"Piano"}),(0,d.Y)(y,{cards:v,provider:"Parse.ly"}),(0,d.Y)("section",null,(0,d.Y)("h2",null,"Query"),(0,d.Y)("p",null,(0,d.Y)("strong",null,"app:piano:")," ",i.piano||"(none)"),(0,d.Y)("p",null,(0,d.Y)("strong",null,"app:parsely:")," ",i.parsely||"(none)")),(0,d.Y)("section",null,(0,d.Y)("h2",null,"Parse.ly provider"),(0,d.Y)("p",null,"Serves ",(0,d.Y)("strong",null,"everyone")," from:"),(0,d.Y)(m,null,(g=i.parsely,Y=`apikey=${g||"<type>"}&tag=locale%3A+US&tag=content-type%3A+News&limit=4&pub_date_start=2026-01-01`,`GET https://api.parsely.com/v2/top/posts?${Y}`)),(0,d.Y)(f,{status:e.parsely}),0===e.parsely.count?(0,d.Y)("p",null,"Nothing rendered. Add ?app:parsely=<site-id> (for example ?app:parsely=delish.com)."):null),(0,d.Y)("section",null,(0,d.Y)("h2",null,"Piano provider"),(0,d.Y)("p",null,"Serves ",(0,d.Y)("strong",null,"everyone")," from:"),(0,d.Y)(m,null,(b=JSON.stringify({widgetId:i.piano||"<id>"}),`POST https://api.cxense.com/public/widget/data ${b}`)),(0,d.Y)(f,{status:e.piano}),0===e.piano.count?(0,d.Y)("p",null,"Nothing rendered. Add ?app:piano=<widget-id>."):null),(0,d.Y)("section",null,(0,d.Y)("h2",null,"Request headers"),(0,d.Y)("p",null,n.length," headers, ",l," of ",16384," bytes",l>16384?" â over the origin limit":""),(0,d.Y)("p",null,"The total includes the request target and fixed request-line overhead. Only edge and routing header values are printed; the rest are withheld because this page is cacheable. Byte cost is measured from the real value either way."),(0,d.Y)(h,null,(0,d.Y)("thead",null,(0,d.Y)("tr",null,(0,d.Y)("th",null,"name"),(0,d.Y)("th",null,"value"),(0,d.Y)("th",null,"bytes"))),(0,d.Y)("tbody",null,n.map(e=>(0,d.Y)("tr",{key:e.name},(0,d.Y)("td",null,(0,d.Y)("strong",null,e.name)),(0,d.Y)("td",null,e.value),(0,d.Y)("td",null,e.bytes))))))))}}},e=>{e.O(0,[46593,31947,31237,23254,60718,98756,15452,96609,66188,48392,43992,25065,41403,9131,28268,41793,90636,38792],()=>e(e.s=4952)),_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.