PageSourceSearch

https://1print.one/_next/static/chunks/0dqcpg6n5ni9l.js

js 1print.one collected 2026-10-04 11:03:42 UTC 30,995 bytes, 22 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,618566,(e,t,n)=>{t.exports=e.r(976562)},639372,180046,e=>{"use strict";let t,n,o={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla/internals.mjs")}`}};function a(e){return!!e.write}function r(e){return"v"in e||"e"in e}function i(e){if("e"in e)throw e.e;if((o.env?o.env.MODE:void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}function l(e){return"function"==typeof(null==e?void 0:e.then)}function s(e,t,n){if(!n.p.has(e)){n.p.add(e);let o=()=>n.p.delete(e);t.then(o,o)}}function u(e,t,n){let o=n.get(e),a=null==o?void 0:o.t,r=t.p;if(!(null==a?void 0:a.size))return r;if(!r.size)return a;let i=new Set(a);for(let e of r)i.add(e);return i}let d=(e,t,...n)=>t.read(...n),_=(e,t,...n)=>t.write(...n),c=(e,t)=>{var n;return null==(n=t.INTERNAL_onInit)?void 0:n.call(t,e)},E=(e,t,n)=>{var o;return null==(o=t.onMount)?void 0:o.call(t,n)},p=(e,t)=>{var n;let a=M(e),r=a[0],i=a[6],l=a[9];if((o.env?o.env.MODE:void 0)!=="production"&&!t)throw Error("Atom is undefined or null");let s=r.get(t);return s||(s={d:new Map,p:new Set,n:0},r.set(t,s),null==(n=i.i)||n.call(i,t),null==l||l(e,t)),s},A=e=>{var t;let n=M(e),o=n[1],a=n[3],r=n[4],i=n[5],l=n[6],s=n[13];if(!l.f&&!a.size&&!r.size&&!i.size)return;let u=[],d=e=>{try{e()}catch(e){u.push(e)}};do{l.f&&d(l.f);let n=new Set;for(let e of a){let a=null==(t=o.get(e))?void 0:t.l;if(a)for(let e of a)n.add(e)}for(let e of(a.clear(),i))n.add(e);for(let e of(i.clear(),r))n.add(e);for(let e of(r.clear(),n))d(e);a.size&&s(e)}while(a.size||i.size||r.size)if(u.length)throw AggregateError(u)},S=e=>{let t=M(e),n=t[1],a=t[2],r=t[3],i=t[11],l=t[14],s=t[17];if(!r.size)return;let d=[],_=[],c=new WeakSet,E=new WeakSet,p=[],A=[];for(let t of r)p.push(t),A.push(i(e,t));for(;p.length;){let t=p.length-1,r=p[t],l=A[t];if(E.has(r)){p.pop(),A.pop();continue}if(c.has(r)){if(a.get(r)===l.n)d.push(r),_.push(l);else if((o.env?o.env.MODE:void 0)!=="production"&&a.has(r))throw Error("[Bug] invalidated atom exists");E.add(r),p.pop(),A.pop();continue}for(let t of(c.add(r),u(r,l,n)))c.has(t)||(p.push(t),A.push(i(e,t)))}for(let t=d.length-1;t>=0;--t){let n=d[t],o=_[t],i=!1;for(let e of o.d.keys())if(e!==n&&r.has(e)){i=!0;break}i&&(a.set(n,o.n),l(e,n),s(e,n)),a.delete(n)}},m=new WeakSet,I=(e,t)=>{var n,u;let d,_,c=M(e),E=c[1],p=c[2],A=c[3],S=c[6],I=c[7],g=c[11],T=c[12],f=c[13],h=c[14],P=c[16],v=c[17],N=c[20],O=c[26],L=c[28],D=g(e,t),C=L[0];if(r(D)){if(E.has(t)&&p.get(t)!==D.n||D.m===C)return D.m=C,D;let n=!1;for(let[t,o]of D.d)if(h(e,t).n!==o){n=!0;break}if(!n)return D.m=C,D}let R=!0,b=new Set(D.d.keys()),w=()=>{for(let e of b)D.d.delete(e)},y=()=>{if(E.has(t)){let n=!A.size;v(e,t),n&&(f(e),T(e))}},G=D.n,U=p.get(t)===G;try{(o.env?o.env.MODE:void 0)!=="production"&&m.delete(e);let u=I(e,t,n=>{var o;if(n===t){let t=g(e,n);if(!r(t))if("init"in n)N(e,n,n.init);else throw Error("no atom init");return i(t)}let a=h(e,n);try{return i(a)}finally{b.delete(n),D.d.set(n,a.n),l(D.v)&&s(t,D.v,a),E.has(t)&&(null==(o=E.get(n))||o.t.add(t)),R||y()}},{get signal(){return d||(d=new AbortController),d.signal},get setSelf(){return(o.env?o.env.MODE:void 0)!=="production"&&console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),(o.env?o.env.MODE:void 0)==="production"||a(t)||console.warn("setSelf function cannot be used with read-only atom"),!_&&a(t)&&(_=(...n)=>{if((o.env?o.env.MODE:void 0)!=="production"&&R&&console.warn("setSelf function cannot be called in sync"),!R)try{return P(e,t,...n)}finally{f(e),T(e)}}),_}});if((o.env?o.env.MODE:void 0)!=="production"&&m.has(e)&&console.warn("Detected store mutation during atom read. This is not supported."),N(e,t,u),l(u)){O(e,u,()=>null==d?void 0:d.abort());let t=()=>{w(),y()};u.then(t,t)}else w();return null==(n=S.r)||n.call(S,t),D.m=C,D}catch(e){return delete D.v,D.e=e,++D.n,D.m=C,D}finally{R=!1,D.n!==G&&U&&(p.set(t,D.n),A.add(t),null==(u=S.c)||u.call(S,t))}},g=(e,t)=>{let n=M(e),o=n[1],a=n[2],r=n[11],i=[t];for(;i.length;){let t=i.pop(),n=r(e,t);for(let l of u(t,n,o)){let t=r(e,l);a.get(l)!==t.n&&(a.set(l,t.n),i.push(l))}}},T=(e,t,...n)=>
1{let a=M(e),r=a[3],l=a[6],s=a[8],u=a[11],d=a[12],_=a[13],c=a[14],E=a[15],p=a[16],A=a[17],S=a[20],I=a[28],g=!0;try{return s(e,t,t=>i(c(e,t)),(n,...a)=>{var i;let s=u(e,n);try{if(n!==t)return p(e,n,...a);{if(!("init"in n))throw Error("atom not writable");(o.env?o.env.MODE:void 0)!=="production"&&m.add(e);let t=s.n,u=a[0];S(e,n,u),A(e,n),t!==s.n&&(++I[0],r.add(n),E(e,n),null==(i=l.c)||i.call(l,n));return}}finally{g||(_(e),d(e))}},...n)}finally{g=!1}},f=(e,t)=>{var n;let o=M(e),a=o[1],r=o[3],i=o[6],l=o[11],s=o[15],u=o[18],d=o[19],_=l(e,t),c=a.get(t);if(c&&_.d.size>0){for(let[o,a]of _.d)if(!c.d.has(o)){let d=l(e,o);u(e,o).t.add(t),c.d.add(o),a!==d.n&&(r.add(o),s(e,o),null==(n=i.c)||n.call(i,o))}for(let n of c.d)if(!_.d.has(n)){c.d.delete(n);let o=d(e,n);null==o||o.t.delete(t)}}},h=(e,t)=>{var n;let o=M(e),r=o[1],i=o[4],l=o[6],s=o[10],u=o[11],d=o[12],_=o[13],c=o[14],E=o[16],p=o[18],A=u(e,t),S=r.get(t);if(!S){for(let n of(c(e,t),A.d.keys()))p(e,n).t.add(t);S={l:new Set,d:new Set(A.d.keys()),t:new Set},r.set(t,S),a(t)&&t.onMount&&i.add(()=>{let n=!0;try{let o=s(e,t,(...o)=>{try{return E(e,t,...o)}finally{n||(_(e),d(e))}});o&&(S.u=()=>{n=!0;try{o()}finally{n=!1}})}finally{n=!1}}),null==(n=l.m)||n.call(l,t)}return S},P=(e,t)=>{var n,o;let a=M(e),r=a[1],i=a[5],l=a[6],s=a[11],u=a[19],d=s(e,t),_=r.get(t);if(!_||_.l.size)return _;let c=!1;for(let e of _.t)if(null==(n=r.get(e))?void 0:n.d.has(t)){c=!0;break}if(!c){for(let n of(_.u&&i.add(_.u),_=void 0,r.delete(t),d.d.keys())){let o=u(e,n);null==o||o.t.delete(t)}null==(o=l.u)||o.call(l,t);return}return _},v=(e,t,n)=>{let o=M(e),a=o[11],r=o[27],i=a(e,t),u="v"in i,d=i.v;if(l(n))for(let o of i.d.keys())s(t,n,a(e,o));i.v=n,delete i.e,u&&Object.is(d,i.v)||(++i.n,l(d)&&r(e,d))},N=(e,t)=>i((0,M(e)[14])(e,t)),O=(e,t,...n)=>{let o=M(e),a=o[3],r=o[12],i=o[13],l=o[16],s=a.size;try{return l(e,t,...n)}finally{a.size!==s&&(i(e),r(e))}},L=(e,t,n)=>{let o=M(e),a=o[12],r=o[18],i=o[19],l=r(e,t).l;return l.add(n),a(e),()=>{l.delete(n),i(e,t),a(e)}},D=(e,t,n)=>{let o=M(e)[25],a=o.get(t);if(!a){a=new Set,o.set(t,a);let e=()=>
1o.delete(t);t.then(e,e)}a.add(n)},C=(e,t)=>{let n=M(e)[25].get(t);null==n||n.forEach(e=>e())},R=new WeakMap,M=e=>{let t=R.get(e);if((o.env?o.env.MODE:void 0)!=="production"&&!t)throw Error("Store must be created by buildStore to read its building blocks");return t};function b(...e){let t={get:e=>(0,M(t)[21])(t,e),set:(e,...n)=>(0,M(t)[22])(t,e,...n),sub:(e,n)=>(0,M(t)[23])(t,e,n)},n=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},d,_,c,E,p,A,S,I,g,T,f,h,P,v,N,O,L,void 0,new WeakMap,D,C,[0]].map((t,n)=>e[n]||t);return R.set(t,Object.freeze(n)),t}e.s(["INTERNAL_buildStoreRev2",0,b,"INTERNAL_getBuildingBlocksRev2",0,function(e){let t=M(e),n=t[24];return n?n(t):t}],180046);let w={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla.mjs")}`}},y=0;function G(e){return e(this)}function U(e,t,n){return t(this,"function"==typeof n?n(e(this)):n)}function B(){return t?t():b()}e.s(["atom",0,function(e,t){let n=`atom${++y}`,o={toString(){return(w.env?w.env.MODE:void 0)!=="production"&&this.debugLabel?n+":"+this.debugLabel:n}};return"function"==typeof e?o.read=e:(o.init=e,o.read=G,o.write=U),t&&(o.write=t),o},"createStore",0,B,"getDefaultStore",0,function(){return n||(n=B(),(w.env?w.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=n),globalThis.__JOTAI_DEFAULT_STORE__!==n&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),n}],639372)},672464,e=>{"use strict";var t=e.i(271645),n=e.i(639372),o=e.i(180046);let a={get url(){return`file://${e.P("node_modules/jotai/esm/react.mjs")}`}},r=(0,t.createContext)(void 0);function i(e){let o=(0,t.useContext)(r);return(null==e?void 0:e.store)||o||(0,n.getDefaultStore)()}let l=e=>"function"==typeof(null==e?void 0:e.then),s=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},u=t.default.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw s(e),e}),d=new WeakMap,_=(e,t,n)=>{let a=(0,o.INTERNAL_getBuildingBlocksRev2)(e)[26],r=d.get(t);return r||(r=new Promise((o,i)=>{let s=t,u=e=>t=>{s===e&&o(t)},_=e=>t=>{s===e&&i(t)},c=()=>{try{let t=n();l(t)?(d.set(t,r),s=t,t.then(u(t),_(t)),a(e,t,c)):o(t)}catch(e){i(e)}};t.then(u(t),_(t)),a(e,t,c)}),d.set(t,r)),r};function c(e,n){let{delay:o,unstable_promiseStatus:a=!t.default.use}=n||{},r=i(n),[[d,c,E],p]=(0,t.useReducer)(t=>{let n=r.get(e);return Object.is(t[0],n)&&t[1]===r&&t[2]===e?t:[n,r,e]},void 0,()=>[r.get(e),r,e]),A=d;if((c!==r||E!==e)&&(p(),A=r.get(e)),(0,t.useEffect)(()=>{let t=r.sub(e,()=>{if(a)try{let t=r.get(e);l(t)&&s(_(r,t,()=>r.get(e)))}catch(e){}if("number"==typeof o){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3.
2
3Migration guide:
4
5Create a custom hook like the following.
6
7function useAtomValueWithDelay<Value>(
8  atom: Atom<Value>,
9  options: { delay: number },
10): Value {
11  const { delay } = options
12  const store = useStore(options)
13  const [value, setValue] = useState(() => store.get(atom))
14  useEffect(() => {
15    const unsub = store.sub(atom, () => {
16      setTimeout(() => setValue(store.get(atom)), delay)
17    })
18    return unsub
19  }, [store, atom, delay])
20  return value
21}
22`),setTimeout(p,o);return}p()});return p(),t},[r,e,o,a]),(0,t.useDebugValue)(A),l(A)){let t=_(r,A,()=>r.get(e));return a&&s(t),u(t)}return A}function E(e,n){let o=i(n);return(0,t.useCallback)((...t)=>{if((a.env?a.env.MODE:void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return o.set(e,...t)},[o,e])}e.s(["Provider",0,function({children:e,store:o}){let a=(0,t.useRef)(null);return o?(0,t.createElement)(r.Provider,{value:o},e):(null===a.current&&(a.current=(0,n.createStore)()),(0,t.createElement)(r.Provider,{value:a.current},e))},"useAtom",0,function(e,t){return[c(e,t),E(e,t)]},"useAtomValue",0,c,"useSetAtom",0,E,"useStore",0,i])},65328,e=>{"use strict";var t,n,o,a,r,i,l,s,u,d,_,c,E,p,A,S,m,I,g,T,f,h,P=((t={}).GEN_APP="gen_app",t.AI_APP="ai_app",t.AI_TOOL="tool",t.AI_CHAT="chat",t.SPACE_APP="space_app",t.AGENT="agent",t),v=((n={}).BUILDER="builder",n.APP_USER="app_user",n),N=((o={}).LITE="lite",o.ROCKET="rocket",o.MOON="moon",o.SPACESHIP="spaceship",o.GALAXY="galaxy",o.BASIC="basic",o.BUSINESS="business",o.MASTER="master",o.EXPLORER="explorer",o.BUILDER="builder",o.MONETIZER="monetizer",o.ONETIME_EXPLORER="onetime_explorer",o),O=((a={}).OPEN_LINK="open_link",a.GENERATE_FOLLOWUP="generate_followup",a.CHANGE_SOMETHING_ELSE="change_something_else",a.DOWNLOAD_PDF="DOWNLOAD_PDF",a.SHARE_OUTPUT="SHARE_OUTPUT",a.SAVE_OUTPUT="SAVE_OUTPUT",a.STOP_GENERATING="STOP_GENERATING",a.CTA_CLICK="CTA_CLICK",a.SAVE_APP="SAVE_APP",a.UPDATE_BLOCKS="UPDATE_BLOCKS",a.EDIT_BLOCKS="EDIT_BLOCKS",a.TOGGLE_PIN="TOGGLE_PIN",a.EDIT_PINNED_ITEM="EDIT_PINNED_ITEM",a.RESULT_FEEDBACK="RESULT_FEEDBACK",a.FEEDBACK_COMMENT="FEEDBACK_COMMENT",a.REGENERATE="REGENERATE",a),L=((r={}).User="user",r.App="assistant",r),D=((i={}).NONE="none",i.PRE_RUN="pre_run",i.IN_RUN="in_run",i.POST_RUN="post_run",i.APPEND_INSTRUCTION_ONLY="append_instruction_only",i),C=((l={}).UNSYNCED="unsynced",l.PENDING="pending",l.RUNNING="running",l.SYNCED="synced",l.ERROR="error",l.USAGE_LIMIT_REACHED="usage_limit_reached",l),R=((s={}).UNRECOGNIZED="unrecognized",s.LOCAL_FILES="local_files",s.WEB_SCRAPER="web_scraper",s.GOOGLE_DRIVE="google_drive",s.NOTION="notion",s),M=((u={}).UNRECOGNIZED="unrecognized",u.PDF="pdf",u.DOC="doc",u.TXT="txt",u.CSV="csv",u.GOOGLE_DOC="google_doc",u.GOOGLE_SLIDE="google_slide",u.GOOGLE_SHEET="google_sheet",u.NOTION_PAGE="notion_page",u.NOTION_DATABASE="notion_database",u.WEB_PAGE="web_page",u),b=((d={}).BUILDAI="buildai",d.CARBON="carbon",d),w=((_={}).Field="field",_),y=((c={}).MAIN="main",c.DATABASE="database",c.USERS="users",c.ANALYTICS="analytics",c.CODE_EDITOR="code_editor",c.MEDIA_LIBRARY="media_library",c.SPACE_APP_BRA
22NDING="space_app_branding",c.SPACE_APP_SETTINGS="space_app_settings",c.INTEGRATIONS="integrations",c.SCHEDULED_TASKS="scheduled_tasks",c.GEN_APP_TEXTS="gen_app_texts",c.GEN_APP_BRANDING="gen_app_branding",c.GEN_APP_TOOLS="gen_app_tools",c.GEN_APP_SETTINGS="gen_app_settings",c.CHAT="chat",c.BRANDING="branding",c.TEXTS="texts",c.FIELDS="fields",c.CALL_TO_ACTION="call_to_action",c.DATA_SOURCES="data_sources",c.CUSTOM_DATA_SOURCE="custom_data_source",c.SETTINGS="settings",c),G=((E={}).AIContent="ai_content",E.AITable="ai_table",E.AICards="ai_cards",E.AICalculator="ai_calculator",E.AIImage="ai_image",E.CustomCode="custom_code",E.Header="header",E.Paragraph="paragraph",E),U=((p={}).Table="table",p.Cards="cards",p.CardsMobileOnly="cards_mobile_only",p),B=((A={}).DragAndDrop="drag_and_drop",A.Delete="delete",A),k=((S={}).File="file",S.Api="api",S.Search="search",S),W=((m={})[m.SearchSimilarItem=0]="SearchSimilarItem",m[m.QueryContextItems=1]="QueryContextItems",m[m.Generate=2]="Generate",m[m.Continue=3]="Continue",m[m.Validate=4]="Validate",m[m.Cancel=5]="Cancel",m[m.Success=6]="Success",m[m.Error=7]="Error",m[m.Reset=8]="Reset",m),F=((I={})[I.Idle=0]="Idle",I[I.Loading=1]="Loading",I[I.Success=2]="Success",I[I.Error=3]="Error",I),H=((g={})[g.Pending=0]="Pending",g[g.Validated=1]="Validated",g[g.Failed=2]="Failed",g),x=((T={}).NONE="none",T.DEFAULT="default",T.BUILDER_CHAT_MESSAGES_LIMIT_REACHED="builder_chat_messages_limit_reached",T.BUILDER_CHAT_MESSAGES_DAILY_LIMIT_REACHED="builder_chat_messages_daily_limit_reached",T.APP_RUNS_LIMIT_REACHED="app_runs_limit_reached",T.NEW_TOOL_GENERATIONS_LIMIT_REACHED="new_tool_generations_limit_reached",T.ACTIVATED_TOOL_PER_APP_LIMIT_REACHED="activated_tool_per_app_limit_reached",T.DATA_PROCESSING_LIMIT_REACHED="data_processing_limit_reached",T.FREE_DATA_ITEMS_LIMIT_REACHED="free_data_items_limit_reached",T.CUSTOM_DOMAIN="custom_domain",T.BUY_DOMAIN="buy_domain",T.WATERMARK="watermark",T.PUBLISH_AI="publish_ai",T.EMBED_APP="embed_app",T.MAX_SPACE_APPS="max_space_apps",T.PRO_TOOLS_ACCESS="pro_tools_access",T.PRO_SUGGESTION="pro_suggestion",T.PAYMENT_SYSTEM="payment_system",T.INVITE_ADMIN="invite_admin",T),V=((f={}).PAGES="pages",f.COMPONENTS="components",f.SERVICES="services",f.FUNCTIONS="functions",f.ENTITIES="entities",f.LAYOUT="layout",f.GLOBALS_CSS="globalsCss",f.CONFIGS="configs",f),z=((h={}).DRAFT="draft",h.ACTIVE="active",h.INACTIVE="inactive",h.PENDING_REVIEW="pending_review",h);e.s(["AIAppType",()=>P,"AccountPlan",()=>N,"AccountType",()=>v,"AppBlockType",()=>G,"AppFeatureTriggerType",()=>D,"BlockValidationStatus",()=>H,"CardActions",()=>B,"ContextItemProvider",()=>b,"ContextItemSource",()=>R,"ContextItemStatus",()=>C,"ContextItemType",()=>M,"CurrentRunAction",()=>W,"CurrentRunState",()=>F,"DisplayLayout",()=>U,"EnrichmentType",()=>k,"FileTypes",()=>V,"IntegrationStatus",()=>z,"MagicGenerateType",()=>w,"OutputAction",()=>O,"OutputRole",()=>L,"PanelState",()=>y,"UpgradePlanMessage",()=>x,"accountPlanToNumber",0,{onetime_explorer:0,lite:0,explorer:10,rocket:11,basic:12,builder:13,moon:20,business:21,spaceship:30,monetizer:31,galaxy:32,master:33},"embedStringToType",0,{"popup-blank":"popup","popup-widget":"widget","popup-slider":"slider","popup-popover":"popover","popup-side-panel":"sidetab"}])},331495,e=>{"use strict";var t=e.i(639372);let n={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla/utils.mjs")}`}},o=Symbol((n.env?n.env.MODE:void 0)!=="production"?"RESET":""),a=e=>"function"==typeof(null==e?void 0:e.then);function r(e=()=>{try{return window.localStorage}catch(e){(n.env?n.env.MODE:void 0)!=="production"&&"u">typeof window&&console.warn(e);return}},t){var o;let i,l,s,u,d={getItem:(n,o)=>{var r,s;let u=e=>{if(i!==(e=e||"")){try{l=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return o}i=e}return l},d=null!=(s=null==(r=e())?void 0:r.getItem(n))?s:null;return a(d)?d.then(u):u(d)},setItem:(n,o)=>{var a;return null==(a=e())?void 0:a.setItem(n,JSON.stringify(o,null==t?void 0:t.replacer))},removeItem:t=>{var n;return null==(n=e())?void 0:n.removeItem(t)}};try{s=null==(o=e())?void 0:o.subscribe}catch(e){}return!s&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(s=(t,n)=>{if(!(e()instanceof window.Storage))return()=>{};let o=o=>{o.storageArea===e()&&o.key===t&&n(o.newValue)};return window.addEventListener("storage",o),()=>{window.removeEventListener("storage",o)}}
22),s&&(u=s,d.subscribe=(e,t,n)=>u(e,e=>{let o;try{o=JSON.parse(e||"")}catch(e){o=n}t(o)})),d}let i=r();function l(e,r,s=i,u){let d=null==u?void 0:u.getOnInit,_=(0,t.atom)(d?s.getItem(e,r):r);return(n.env?n.env.MODE:void 0)!=="production"&&(_.debugPrivate=!0),_.onMount=t=>{var n;return t(s.getItem(e,r)),null==(n=s.subscribe)?void 0:n.call(s,e,t,r)},(0,t.atom)(e=>e(_),(t,n,i)=>{let l="function"==typeof i?i(t(_)):i;return l===o?(n(_,r),s.removeItem(e)):a(l)?l.then(t=>(n(_,t),s.setItem(e,t))):(n(_,l),s.setItem(e,l))})}let s=function(){try{return window.sessionStorage}catch(e){console.warn("sessionStorage is not accessible:",e);return}}(),u=function(){try{return window.localStorage}catch(e){console.warn("localStorage is not accessible:",e);return}}(),d=r(()=>s||{getItem:()=>null,setItem:()=>{},removeItem:()=>{}}),_=r(()=>u||{getItem:()=>null,setItem:()=>{},removeItem:()=>{}}),c="buildai_";e.s(["atomWithLocalStorage",0,function(e,t){return l(`${c}${e}`,t,_,{getOnInit:!0})},"atomWithSessionStorage",0,function(e,t){return l(`${c}${e}`,t,d,{getOnInit:!0})}],331495)},417420,e=>{"use strict";var t,n,o=e.i(167225),a=e.i(65328);a.AccountPlan.LITE,a.AccountPlan.ONETIME_EXPLORER,a.AccountPlan.ROCKET,a.AccountPlan.EXPLORER,a.AccountPlan.BASIC,a.AccountPlan.BUILDER,a.AccountPlan.MOON,a.AccountPlan.BUSINESS,a.AccountPlan.SPACESHIP,a.AccountPlan.MONETIZER,a.AccountPlan.GALAXY,a.AccountPlan.MASTER;let r=new Date("2026-05-11T00:00:00.000Z"),i={[a.AccountPlan.MOON]:10,[a.AccountPlan.BUILDER]:10,[a.AccountPlan.SPACESHIP]:20,[a.AccountPlan.MONETIZER]:20,[a.AccountPlan.GALAXY]:40},l=parseInt(o.default.env.NEXT_PUBLIC_NEW_BUILDER_CHAT_MESSAGES_DAILY||"5"),s=parseInt("20");parseInt(o.default.env.NEXT_PUBLIC_NEW_BUILDER_CHAT_MESSAGES_MONTHLY||"20");var u=((t={}).GPT_4="gpt-4",t.GPT_4_1106="gpt-4-1106-preview",t.GPT_4_0125="gpt-4-0125-preview",t.GPT_4o="gpt-4o",t.GPT_4o_20240513="gpt-4o-2024-05-13",t.GPT_4o_20240806="gpt-4o-2024-08-06",t.GPT_4o_mini="gpt-4o-mini",t.GPT_4o_mini_2024_07_18="gpt-4o-mini-2024-07-18",t.GPT_4o_64k="gpt-4o-64k-output-alpha",t.GPT_o1_preview="o1-preview",t.GPT_o1_20240912="o1-preview-2024-09-12",t.GPT_o1_mini="o1-mini",t.GPT_o1_mini_20240912="o1-mini-2024-09-12",t.GPT_4_1_MINI="gpt-4.1-mini-2025-04-14",t.GPT_4_1="gpt-4.1-2025-04-14",t),d=((n={}).DEFAULT="default",n.SMART_ITEMS_FILTERING="smart-items-filtering",n);e.s(["AGENTS_NAV_VISIBLE",0,!0,"AIModels",()=>u,"AIQueryMethods",()=>d,"API_BASE_URL",0,"/api","APPS_COLLECTION",0,"apps","APPS_SUB_DOMAIN",0,"buildaispace.app","APP_TOKEN_COOKIE_NAME",0,"app_user_token","BUILDER_CHATS_COLLECTION",0,"builder_chats","BUILDER_MESSAGES_COLLECTION",0,"builder_messages","BUILDER_TOKEN_COOKIE_NAME",0,"token","BUILDER_TOKEN_PARAM",0,"__builderToken","BUILT_IN_ENV_VARS",0,["BUILDAI_APP_ID","BUILDAI_APP_LINK","BUILDAI_APP_INTERNAL_ADMIN_TOKEN","BUILDAI_CRON_SECRET","BUILDAI_API_URL"],"CHARACTERS_PER_TOKEN",0,3.5,"CONTEXT_ITEM_INDEX_PROP",0,"contextItemIndex","DEFAULT_AGENT_CONVERSATION_ID",0,"default","DEFAULT_BUILDER_CONVERSATION_ID",0,"default","DEFAULT_CHAT_PAGE_SIZE",0,20,"DEFAULT_LANDING_PAGE_NAME",0,"landing","DEFAULT_MAIN_PAGE_NAMES",0,["home","dashboard"],"DEFAULT_MAX_CUSTOM_DOMAINS_PER_ACCOUNT",0,5,"DEV_PREVIEW_APP_ID",0,"__dev_preview__","DISCUSS_MODE_CREDITS",0,.3,"HTML_TAG_DISPLAY_NAMES",0,{h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",p:"Text",span:"Span",a:"Link",label:"Label",strong:"Bold",em:"Italic",b:"Bold",i:"Italic",u:"Under",div:"Box",section:"Section",article:"Article",header:"Header",footer:"Footer",nav:"Nav",aside:"Aside",main:"Main",ul:"List",ol:"List",li:"Item",dl:"List",dt:"Term",dd:"Desc",form:"Form",input:"Input",button:"Button",select:"Select",textarea:"Text",option:"Option",img:"Image",video:"Video",audio:"Audio",svg:"SVG",canvas:"Canvas",table:"Table",thead:"Head",tbody:"Body",tfoot:"Footer",tr:"Row",td:"Cell",th:"Header",path:"Path",circle:"Circle",rect:"Rect",line:"Line",polygon:"Poly",polyline:"Line",ellipse:"Oval",g:"Group"},"LANDING_PAGE_NAMES",0,["/pricing","/terms-of-service","/privacy-policy","/templates","/website-to-app","/instagram-to-app","/affiliate","/ai-tools","/use-cases","/product/digital-employees","/industries"],"LATEST_MESSAGE_VERSION",0,"v2","MAX_AI_BLOCKS_FREE_PLAN",0,5,"MAX_AI_BLOCKS_PAID_PLAN",0,15,"MAX_AI_TOOLS_P
22ER_APP_HARD_LIMIT",0,15,"MAX_AUTOFIX_ITERATION_ATTEMPTS",0,1,"MAX_CHARS_APP_GENERATION",0,1e3,"MAX_CHARS_USER_INPUT",0,12e3,"MAX_FIELDS_HARD_LIMIT",0,15,"MAX_FIELD_NAME_LENGTH",0,100,"MAX_FIELD_OPTION_NAME_LENGTH",0,255,"MAX_FILE_SIZE_IN_BYTES_FREE_PLAN",0,5e5,"MAX_FILE_SIZE_IN_BYTES_PAID_PLAN",0,5e6,"MAX_SPACE_APPS_FREE_PLAN",0,5,"MAX_TOKEN_REACHED_INDICATION",0,"[DONE]___max_tokens","MAX_USER_FOLLOWUPS",0,3,"NEW_BUILDER_APP_RUNS",0,s,"NEW_BUILDER_CHAT_MESSAGES_DAILY",0,l,"PAID_PLAN_TO_MAX_CUSTOM_DOMAINS_PER_ACCOUNT",0,i,"PREVIEW_SUBDOMAIN_PREFIX",0,"preview--","ROCKET_LEGACY_MONTHLY_PRICE",0,20,"ROCKET_LEGACY_YEARLY_PRICE",0,192,"ROCKET_PRICE_INCREASE_DATE",0,r,"TEST_LOGIN_PARAM",0,"testLogin","UNSUPPORTED_APP_KEYWORDS",0,["game","delivery","shop","manage","uber","video","image","picture","photo","map","upload","search","scheduale","store","ios","android","system","qr","price","barcode","gps","track","crypto","news","billing","notification","notify","database","reservation","program","voice","whatsapp","find","similar","record","platform","button","tinder","logo","chat","credit","software","mobile","uploading","import","sms","interface","audio"],"VERSION_ID_HEADER",0,"X-BuildAI-Version-Id","WORKSPACE_EMBED_PARAM",0,"__embed","WORKSPACE_EMBED_VALUE",0,"workspace"])},17508,e=>{"use strict";var t=e.i(417420);function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}async function o(e,t=!0){let n,a={};return t&&(a["Content-Type"]="application/json"),e&&(n=await e.getIdToken()),n&&(a.Authorization=`Bearer ${n}`),a}let a={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5},r=/^(?:[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\.)*[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](?:\.[a-zA-Z]{2,})+$/,i=new Set(["co","com","gov","edu","org","net","ac","sch","ltd","plc","me","ne","or","priv","mil","mod","nhs","police","nic","sch","ac"]),l=new Set(["uk","au","il","za","nz","jp","kr","in","br","mx","ar","cl","co","pe","ve","ec","uy","py","bo","cr","pa","gt","hn","ni","sv","do","cu","jm","tt","bb","gd","lc","vc","ag","bs","bz","ky","dm","fk","gi","ms","pn","sh","tc","vg","ae","bh","kw","om","qa","sa","ye","iq","ir","jo","lb","ps","sy","am","az","ge","kz","kg","tj","tm","uz","af","bd","bt","lk","mv","np","pk","mm","kh","la","vn","ph","id","my","sg","th","bn","tl","pg","fj","nc","pf","ws","to","vu","sb","ki","nr","pw","fm","mh","ck","nu","tk","tv","wf","as","gu","mp","pr","vi","ai","ag","aw","bm","vg","ky","ms","tc","vg","io","cx","cc","nf","hm","aq","gs","tf","bv","sj","um","eh","ax","fo","gl","je","gg","im","mt","ad","al","at","be","ba","bg","hr","cy","cz","dk","ee","fi","fr","de","gr","hu","ie","it","lv","li","lt","lu","mk","mt","md","mc","me","nl","no","pl","pt","ro","rs","sk","si","es","se","ch","ua","va","by","ru","is","ie","ie"]);function s(e){if(!e)return"";let t=e.toLowerCase().split(".");if(t.length<=2)return e;let n=t[t.length-1],o=t[t.length-2];return i.has(o)&&l.has(n)?3===t.length?e:t.slice(-3).join("."):t.slice(-2).join(".")}e.s(["camelCaseToWords",0,function(e){return n(e.replace(/([A-Z])/g," $1").trim())},"capitalizeFirstLetter",0,n,"classNames",0,function(...e){return e.filter(Boolean).join(" ")},"copyElementsToClipboard",0,function(e,t){let n=document.createRange();console.log(t.current),n.selectNodeContents(t.current);let o=e.getSelection();o.removeAllRanges(),o.addRange(n);try{return document.execCommand("copy")}finally{e.getSelection().removeAllRanges()}},"copyToClipboard",0,function(e){let t=document.createElement("textarea");t.setAttribute("style","position: absolute; left: -9999px;"),t.setAttribute("readonly",""),t.textContent=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},"customStringify",0,function(e){let t="{\n";for(let n in e)e.hasOwnProperty(n)&&(t+="	"+n+":"+JSON.stringify(e[n],null,2)+",\n");return t.slice(0,-1)+"\n}"},"extractRootDomain",0,s,"extractSubdomain",0,function(e){if(!e)return"";let t=s(e);return e.toLowerCase()===t.toLowerCase()?"":e.toLowerCase().replace(RegExp(`\\.?${t.replace(/\./g,"\\.")}$`,"i"),"")||""},"formatCount",0,function(e){return void 0===e?"-":e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()},"formatDomain",0,function(e){let t=(e||"").trim().toLowerCase();return t.startsWith("http://")&&(t=t.replace("http://","")),t.startsWith("https://")&&(t=t.replace("https://","")),t.startsWith("www.")&&(t=t.replace("www.","")),t.endsWith("buildai.space")&&(t=t.replace("buildai.space","")),t},"formatDurationMs",0,function(e){if(e<1e3)return`${Math.round(e)}ms`;if(e<6e4){let t=e/1e3;return`${t<10?t.toFixed(1):Math.round(t)}s`}let t=Math.floor(e/6e4),n=Math.round(e%6e4/1e3);return`${t}m ${n}s`},"formatFloatingNumber",0,function(e,t=1){let n=Number(e);return isNaN(n)?"Invalid input":parseFloat(n.toFixed(t))}
22,"formatNumber",0,function(e){return e.toLocaleString()},"getAuthorizationHeaders",0,o,"getCurrentAppResultLink",0,function(e,t,n,o=""){return n?`${e}${e.endsWith("/")?"":"/"}item/${n}`:`${e}${o&&o.startsWith("/")?"":"/"}${o}?resultId=${t}`},"isOutputOverflow",0,function(e){let n=e?.split("\n").pop();return n?.trim()===t.MAX_TOKEN_REACHED_INDICATION},"isValidDomain",0,function(e){return r.test(e)},"openLinkInNewTab",0,function(e){e.includes("http")||(e="https://"+e),window.open(e,"_blank")},"parseDurationMs",0,function(e){if("string"!=typeof e)return null;let t=e.trim().replace(/^\+/,"").replace(/\s+/g,"").toLowerCase();if(!t||!/^(\d+(?:s|m|h|d|w))+$/.test(t))return null;let n=0;for(let e of t.matchAll(/(\d+)(s|m|h|d|w)/g))n+=parseInt(e[1],10)*a[e[2]];return n>0?n:null},"shortFormatNumber",0,function(e){let t=e=>Math.round(10*e)/10;return e<1e3?e:e<1e6?t(e/1e3)+"K":e<1e9?t(e/1e6)+"M":t(e/1e9)+"B"},"timer",0,(e=1e3)=>new Promise(t=>setTimeout(t,e)),"truncateLink",0,(e,t=100)=>{if(e.length<=t)return e;let n=e.lastIndexOf("/"),o=e.split("/",5).join("/").length;if(n<=o||-1===n)return e.slice(0,t-3)+"...";let a=e.slice(0,o),r=e.slice(n);if(a.length+r.length+5<=t)return`${a}/[...]${r}`;let i=t-5-r.length;return`${e.slice(0,i)}[...]my-10${r}`}])},715429,e=>{"use strict";var t=e.i(639372),n=e.i(65328),o=e.i(331495);let a=(0,t.atom)(!1),r=(0,t.atom)(null),i=(0,t.atom)(null),l=(0,t.atom)(""),s=(0,t.atom)(!1),u=(0,t.atom)(null);(0,t.atom)(!1);let d=(0,t.atom)(!1),_=(0,t.atom)(!1),c=(0,t.atom)(!1),E=(0,t.atom)(!1),p=(0,t.atom)(!1),A=(0,t.atom)(null),S=(0,t.atom)(!1),m=(0,t.atom)(!1),I=(0,o.atomWithLocalStorage)("hasFinishedAppBuildingTour",!1),g=(0,o.atomWithLocalStorage)("hasClosedGenAppBanner",!1),T=(0,o.atomWithLocalStorage)("notificationBannerDismissed",!1),f=(0,t.atom)(!1),h=(0,t.atom)(""),P=(0,t.atom)(void 0),v=(0,t.atom)(n.PanelState.MAIN),N=(0,t.atom)(null),O=(0,t.atom)(void 0),L=(0,t.atom)(void 0),D=(0,o.atomWithSessionStorage)("pendingAppPrompt",null),C=(0,o.atomWithSessionStorage)("pendingIdeationRequestId",null),R=(0,o.atomWithSessionStorage)("pendingRequestMetadata",null),M=(0,t.atom)({isLoggedIn:!0,currentAccountPlan:n.AccountPlan.LITE}),b=(0,t.atom)({shouldRefresh:!1,refreshTimestamp:0,urlPath:void 0}),w=(0,t.atom)(!1),y=(0,t.atom)(!1),G=(0,t.atom)(!1),U=(0,t.atom)(!1),B=(0,t.atom)(!1),k=(0,t.atom)(!1),W=(0,t.atom)(null),F=(0,t.atom)({}),H=(0,t.atom)(!1),x=(0,t.atom)([]),V=(0,t.atom)({}),z=(0,o.atomWithSessionStorage)("selectedModel",void 0),K=(0,o.atomWithSessionStorage)("selectedIntegrations",[]),X=(0,o.atomWithSessionStorage)("integrationsData",{}),$=(0,o.atomWithLocalStorage)("debugMode",!1),j=(0,o.atomWithSessionStorage)("supressAdminMode",!1),Y=(0,o.atomWithLocalStorage)("preferredAppLanguage",""),Z=(0,t.atom)(null),Q=(0,t.atom)(null),q=(0,t.atom)(!1),J=(0,o.atomWithLocalStorage)("builderMode","chat"),ee=(0,o.atomWithLocalStorage)("talkModeMicMuted",!1),et=(0,o.atomWithLocalStorage)("talkModeSpeakersMuted",null),en=(0,o.atomWithLocalStorage)("taskQueueMode","auto");function eo(e,t,n){let o=new Map;return a=>{let r=o.get(a);if(r)return r;let i=n(`${e}_${a}`,t);return o.set(a,i),i}}let ea=eo("builderQueue",[],o.atomWithSessionStorage),er=eo("builderChatQueuePaused",!1,o.atomWithLocalStorage),ei=(0,o.atomWithLocalStorage)("sidebarWidth",480),el=(0,o.atomWithLocalStorage)("talkModeLanguage",""),es=(0,o.atomWithSessionStorage)("agentMode",!0),eu=(0,t.atom)("");e.s(["SIDEBAR_WIDTH_DEFAULT",0,480,"SIDEBAR_WIDTH_MAX",0,700,"SIDEBAR_WIDTH_MIN",0,400,"agentModeState",0,es,"annotationModeState",0,H,"annotationScreenshotsState",0,V,"annotationsState",0,x,"appContextItemsState",0,u,"appInputState",0,h,"appLinkState",0,l,"appOutputState",0,P,"builderChatQueuePausedAtomFamily",0,er,"builderModeState",0,J,"builderQueueAtomFamily",0,ea,"chatInputState",0,eu,"christmasModeState",0,q,"customDomainState",0,O,"dataSourcesDialogOptionsState",0,A,"debugModeState",0,$,"hasAppContextState",0,s,"hasClosedGenAppBannerState",0,g,"hasClosedItemsListTipState",0,f,"hasFinishedAppBuildingTour",0,I,"iframeControlState",0,b,"integrationDetailModalState",0,Q,"integrationWizardState",0,Z,"integrationsDataState",0,X,"isPreviewAppLoadedState",0,B,"isPreviewReadyToReceiveMessagesState",0,U,"isPublishedState",0,a,"isResultsInEditModeState",0,p,"lastPublishedAtState",0,i,"mobileChatOpenState",0,w,"notificationBannerDismissedState",0,T,"pendingAppPromptState",0,D,"pendingIdeationRequestIdState",0,C,"pendingRequestMetadataState",0,R,"preferredAppLanguageState",0,Y,"publishedVersionIdState",0,r,"selectedElementState",0,W,"selectedIntegrationsState",0,K,"selectedModelState",0,z,"selectedPanelState",0,v,"showBuilderChatState",0,_,"showBuilderPanelState",0,d,"showChatActivationDialogState",0,m,"showDataSourcesDialogState",0,E,"showToolActivationDialogState",0,S,"showVersionSliderState",0,y,"sidebarDockedState",0,c,"sidebarWidthState",0,ei,"simulateGeneratingState",0,G,"subdomainState",0,L,"supressAdminModeState",0,j,"talkModeLanguageState",0,el,"talkModeMicMutedState",0,ee,"talkModeSpeakersMutedState",0,et,"taskQueueModeState",0,en,"unsyncedContextItemsState",0,N,"userStateOverrideState",0,M,"visualEditModeState",0,k,"visualPendingChangesState",0,F])}]);

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.