PageSourceSearch

https://www.firstround.com/_next/static/immutable/chunks/12o3xxbr2xbug.js

js firstround.com collected 2026-09-24 08:24:11 UTC 7,865 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,989955,e=>{"use strict";let t,r,a,s;var n,i=e.i(216024);let u={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function o(e){return e||t?{lang:e?.lang??t?.lang,message:e?.message,abortEarly:e?.abortEarly??t?.abortEarly,abortPipeEarly:e?.abortPipeEarly??t?.abortPipeEarly}:u}function l(e,t,n,i,u){var o,l,p,c;let d,f=u&&"input"in u?u.input:n.value,y=u?.expected??e.expects??null,h=u?.received??("string"==(d=typeof f)?`"${f}"`:"number"===d||"bigint"===d||"boolean"===d?`${f}`:"object"===d||"function"===d?(f&&Object.getPrototypeOf(f)?.constructor?.name)??"null":d),b={kind:e.kind,type:e.type,input:f,expected:y,received:h,message:`Invalid ${t}: ${y?`Expected ${y} but r`:"R"}eceived ${h}`,requirement:e.requirement,path:u?.path,issues:u?.issues,lang:i.lang,abortEarly:i.abortEarly,abortPipeEarly:i.abortPipeEarly},v="schema"===e.kind,g=u?.message??e.message??(o=e.reference,l=b.lang,s?.get(o)?.get(l))??(v?(p=b.lang,a?.get(p)):null)??i.message??(c=b.lang,r?.get(c));void 0!==g&&(b.message="function"==typeof g?g(b):g),v&&(n.typed=!1),n.issues?n.issues.push(b):n.issues=[b]}let p=new WeakMap;function c(e){let t=p.get(e);return t||(t={version:1,vendor:"valibot",validate:t=>e["~run"]({value:t},o())},p.set(e,t)),t}var d=class extends Error{constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function f(e,t){return{kind:"validation",type:"min_length",reference:f,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&l(this,"length",e,t,{received:`${e.value.length}`}),e}}}let y={abortEarly:!0};function h(e,t,r){return"function"==typeof e.fallback?e.fallback(t,r):e.fallback}function b(e,t,r){return"function"==typeof e.default?e.default(t,r):e.default}function v(e,t){return{kind:"schema",type:"object",reference:v,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return c(this)},"~run"(e,t){let r=e.value;if(r&&"object"==typeof r)for(let a in e.typed=!0,e.value={},this.entries){let s=this.entries[a];if(a in r||("exact_optional"===s.type||"optional"===s.type||"nullish"===s.type)&&void 0!==s.default){let n=a in r?r[a]:b(s),i=s["~run"]({value:n},t);if(i.issues){let s={type:"object",origin:"value",input:r,key:a,value:n};for(let t of i.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=i.issues),t.abortEarly){e.typed=!1;break}}i.typed||(e.typed=!1),e.value[a]=i.value}else if(void 0!==s.fallback)e.value[a]=h(s);else if("exact_optional"!==s.type&&"optional"!==s.type&&"nullish"!==s.type&&(l(this,"key",e,t,{input:void 0,expected:`"${a}"`,path:[{type:"object",origin:"key",input:r,key:a,value:r[a]}]}),t.abortEarly))break}else l(this,"type",e,t);return e}}}function g(e,t){return{kind:"schema",type:"optional",reference:g,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return c(this)},"~run"(e,t){return void 0===e.value&&(void 0!==this.default&&(e.value=b(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped["~run"](e,t)}}}function k(e){return{kind:"schema",type:"string",reference:k,expects:"string",async:!1,message:e,get"~standard"(){return c(this)},"~run"(e,t){return"string"==typeof e.value?e.typed=!0:l(this,"type",e,t),e}}}function m(...e){return{...e[0],pipe:e,get"~standard"(){return c(this)},"~run"(t,r){for(let a of e)if("metadata"!==a.kind){if(t.issues&&("schema"===a.kind||"transformation"===a.kind)){t.typed=!1;break}t.issues&&(r.abortEarly||r.abortPipeEarly)||(t=a["~run"](t,r))}return t}}}function E(e,t,r){let a=e["~run"]({value:t},o(r));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}let w=m(k(),f(1)),j=g(w),x=v({baseUrl:w,dataset:j,id:w,path:w,projectId:j,tool:j,type:j,workspace:j,perspective:{...n=k(),fallback:"drafts",get"~standard"(){return c(this)},"~run"(e,t){let r=n["~run"](e,t);return r.issues?{typed:!0,value:h(this,r,t)}:r}}});function P(e){return!x["~run"]({value:e},y).issues}function $(e){let t="";for(let r of e){if("string"==typeof r){t&&(t+="."),t+=r;continue}if("number"==typeof r){t&&(t+=":"),t+=`${r}`;continue}if(null!==r&&Array.isArray(r)){t&&(t+=":"),t+=`${r.join(",")}}`;continue}if(r._key){t&&(t+=":"),t+=`${r._key}`;continue}}return t}function O(e){let{id:t,path:r,baseUrl:a,tool:s,workspace:n,type:u}=e;return P(e)?[["id",(0,i.getPublishedId)(t)],["type",u],["path",$(i.studioPath.fromString(r))],["base",encodeURIComponent(a)],["workspace",n],["tool",s]].filter(([,e])=>!!e).map(e=>e.join("=")).join(";"):void 0}let S=/^([\w-]+):(0|[1-9][0-9]*)$/,U=/^([\w-]+):([0-9]+),([0-9]+)$/,_=/^([\w-]+):([\w-]+)$/,I=m(k(),f(1)),q=v({origin:I,href:I,data:g(function e(t,r,a){return{kind:"schema",type:"record",reference:e,expects:"Object",async:!1,key:t,value:r,message:a,get"~standard"(){return c(this)},"~run"(e,t){let r=e.value;if(r&&"object"==typeof r){for(let a in e.typed=!0,e.value={},r)if(Object.prototype.hasOwnProperty.call(r,a)&&"__proto__"!==a&&"prototype"!==a&&"constructor"!==a){let s=r[a],n=this.key["~run"]({value:a},t);
1if(n.issues){let i={type:"object",origin:"key",input:r,key:a,value:s};for(let t of n.issues)t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=n.issues),t.abortEarly){e.typed=!1;break}}let i=this.value["~run"]({value:s},t);if(i.issues){let n={type:"object",origin:"value",input:r,key:a,value:s};for(let t of i.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=i.issues),t.abortEarly){e.typed=!1;break}}n.typed&&i.typed||(e.typed=!1),n.typed&&(e.value[n.value]=i.value)}}else l(this,"type",e,t);return e}}}(k(),function e(){return{kind:"schema",type:"unknown",reference:e,expects:"unknown",async:!1,get"~standard"(){return c(this)},"~run":e=>(e.typed=!0,e)}}()))});function N(e){let t=E(x,e);if(t.success)return t.output;let r=E(q,e);if(r.success)try{let e=new URL(r.output.href,typeof document>"u"?"https://example.com":location.origin);return e.searchParams.size>0?function(e,t){let r=e["~run"]({value:t},o(void 0));if(r.issues)throw new d(r.issues);return r.value}(x,Object.fromEntries(e.searchParams.entries())):r.output}catch(e){return console.error("Failed to parse sanity node",e),r.output}}e.s(["createDataAttribute",0,function e(t){function r(e){return e?"string"==typeof e?i.studioPath.fromString(e):e:[]}function a(e){if(!e.id)throw Error("`id` is required to create a data attribute");if(!e.type)throw Error("`type` is required to create a data attribute");if(!e.path||!e.path.length)throw Error("`path` is required to create a data attribute");return O({baseUrl:e.baseUrl||"/",workspace:e.workspace,tool:e.tool,type:e.type,id:e.id,path:"string"==typeof e.path?e.path:i.studioPath.toString(e.path),perspective:e.perspective})}let s=e=>a({...t,path:[...r(t.path),...r(e)]});return s.toString=function(){return a(t)},s.combine=function(r){return e({...t,...r})},s.scope=function(a){return e({...t,path:[...r(t.path),...r(a)]})},s},"decodeSanityNodeData",0,function(e){if("object"==typeof e&&null!==e)return N(e);try{let t=JSON.parse(e);return N(t)}catch{let t=e.split(";").reduce((e,t)=>{let[r,a]=t.split("=");if(!r||t.includes("=")&&!a)return e;switch(r){case"id":e.id=a;break;case"type":e.type=a;break;case"path":e.path=i.studioPath.toString(function(e){let t=[];for(let r of e.split(".")){let e=S.exec(r);if(e){t.push(e[1],Number(e[2]));continue}let a=U.exec(r);if(a){t.push(a[1],[Number(a[2]),Number(a[3])]);continue}let s=_.exec(r);if(s){t.push(s[1],{_key:s[2]});continue}t.push(r)}return t}(a));break;case"base":e.baseUrl=decodeURIComponent(a);break;case"perspective":e.perspective=a;break;case"tool":e.tool=a;break;case"workspace":e.workspace=a;break;case"projectId":e.projectId=a;break;case"dataset":e.dataset=a}return e},{});if(P(t))return t;return}},"encodeSanityNodeData",0,O,"pathToUrlString",0,$],989955)}]);

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.