PageSourceSearch

https://www.rockefeller.no/_next/static/chunks/pages/archive-admin/[id]-1c1139af10ad20d7.js

js rockefeller.no collected 2026-10-02 10:44:48 UTC 6,266 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[794],{8998:function(e,a,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/archive-admin/[id]",function(){return l(5219)}])},789:function(e,a,l){"use strict";l.d(a,{Z:function(){return s}});var t=l(5893);function s(e){let{children:a}=e;return(0,t.jsx)("h1",{className:"pb-4 font-heading text-3xl font-bold  text-primary sm:text-5xl",children:a})}l(7294)},5219:function(e,a,l){"use strict";l.r(a),l.d(a,{__N_SSP:function(){return c},default:function(){return i}});var t=l(5893),s=l(1664),r=l.n(s),n=l(4142),d=l(789),c=!0;function i(e){let{venueData:a,event:l,id:s,editorEmail:c,warning:i}=e;return l?(0,t.jsx)(n.Z,{venueData:a,children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl px-4 pb-10 pt-12 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d.Z,{children:"Edit Archive Record"}),(0,t.jsxs)("p",{className:"mt-2 text-sm text-neutral-400",children:["Signed in as ",c]})]}),(0,t.jsxs)("div",{className:"flex gap-4 text-sm",children:[(0,t.jsx)(r(),{href:"/archive-admin",className:"underline text-neutral-300",children:"Back to admin"}),(0,t.jsx)(r(),{href:"/archive/event/".concat(encodeURIComponent(s)),className:"underline text-neutral-300",children:"View public page"}),(0,t.jsx)("form",{action:"/api/archive-admin/auth/sign-out",method:"post",children:(0,t.jsx)("button",{type:"submit",className:"underline text-neutral-300",children:"Sign out"})})]})]}),"revalidation-failed"===i?(0,t.jsx)("p",{className:"mt-4 rounded border border-amber-700 bg-amber-950/40 px-4 py-3 text-sm text-amber-200",children:"The public archive page update could not be revalidated immediately. The edit was saved, but the public page may stay stale until the next ISR refresh."}):null,(0,t.jsxs)("form",{action:"/api/archive-admin/update",method:"post",className:"mt-8 space-y-6",children:[(0,t.jsx)("input",{type:"hidden",name:"id",value:s}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Date"}),(0,t.jsx)("input",{type:"text",name:"eventDate",defaultValue:l.idato||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Scene"}),(0,t.jsx)("input",{type:"text",name:"scene",defaultValue:l.scene||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Heading"}),(0,t.jsx)("input",{type:"text",name:"heading",defaultValue:l.heading||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Ingress"}),(0,t.jsx)("textarea",{name:"ingress",defaultValue:l.ingress||"",rows:4,className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Body"}),(0,t.jsx)("textarea",{name:"body",defaultValue:l.data||"",rows:18,className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2 font-mono text-xs"})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-3",children:[(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Body format"}),(0,t.jsxs)("select",{name:"bodyFormat",defaultValue:l.bodyFormat||"legacy",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2",children:[(0,t.jsx)("option",{value:"legacy",children:"legacy"}),(0,t.jsx)("option",{value:"markdown",children:"markdown"}),(0,t.jsx)("option",{value:"plain",children:"plain"})]})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Author"}),(0,t.jsx)("input",{type:"text",name:"authorName",defaultValue:l.navn||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Ticket URL"}),(0,t.jsx)("input",{type:"text",name:"ticketUrl",defaultValue:l.billett||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]})]}),(0,t.jsxs)("label",{className:"block text-sm",children:[(0,t.jsx)("span",{className:"mb-1 block text-neutral-300",children:"Image URL"}),(0,t.jsx)("input",{type:"text",name:"imageUrl",defaultValue:l.bilde_ressurs||"",className:"w-full rounded border border-neutral-800 bg-neutral-950 px-3 py-2"})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-3 rounded border border-neutral-800 px-3 py-3 text-sm text-neutral-200",children:[(0,t.jsx)("input",{type:"checkbox",name:"hasDetail",defaultChecked:!1!==l.hasDetail}),"Has detail page"]}),(0,t.jsxs)("label",{className:"flex items-center gap-3 rounded border border-neutral-800 px-3 py-3 text-sm text-neutral-200",children:[(0,t.jsx)("input",{type:"checkbox",name:"isPublished",defaultChecked:!1!==l.isPublished}),"Published"]})]}),(0,t.jsxs)("div",{className:"rounded border border-neutral-800 bg-neutral-950/70 p-4 text-sm text-neutral-400",children:[(0,t.jsxs)("div",{children:["Legacy source: ",l.source]}),(0,t.jsxs)("div",{children:["Legacy source ID: ",l.legacySourceId||"n/a"]})]}),(0,t.jsx)("button",{type:"submit",className:"rounded border border-neutral-700 bg-neutral-100 px-4 py-2 text-sm font-medium text-neutral-900",children:"Save changes"})]})]})}):(0,t.jsx)(n.Z,{venueData:a,children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl px-4 pb-10 pt-12 sm:px-6 lg:px-8",children:[(0,t.jsx)(d.Z,{children:"Archive Admin"}),(0,t.jsxs)("p",{className:"mt-4 text-neutral-300",children:["Record not found: ",s]})]})})}}},function(e){e.O(0,[153,142,888,774,179],function(){return e(e.s=8998)}),_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.