PageSourceSearch

https://nano-gpt.com/_next/static/chunks/70416-fbed5e4b362eef07.js?dpl=dpl_8FwabnhEqknKHZ2oe6HmkRWcMUcP

js nano-gpt.com collected 2026-10-02 04:04:47 UTC 9,511 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[70416],{73825:(e,a,s)=>{s.d(a,{IS:()=>w,Lv:()=>o,O$:()=>t,Oh:()=>r,XO:()=>l,h9:()=>c,k8:()=>i,os:()=>n,r$:()=>u,wm:()=>d,yr:()=>h}),s(773969);var t="gficgh6",n="gficgh1",l="gficgha",c="gficgh3",o="gficgh7",i="gficgh8",r="gficgh9",d="gficgh5",u="gficgh4",h="gficgh0",w="gficgh2"},114259:(e,a,s)=>{s.d(a,{R:()=>u,_:()=>d});var t=s(695155),n=s(361915),l=s(231184),c=s(46460),o=s(831883),i=s(73825),r=s(923830);function d(e){let{placement:a,state:s="shown"}=e;return(0,t.jsx)(n.Text,{className:"".concat(i.Lv," ").concat("above"===a?i.k8:i.Oh),"data-intro-state":s,"data-intro-placement":a,"aria-hidden":"hidden"===s||void 0,children:r.C4})}function u(e){let{heading:a=r.C,intro:s="shown"}=e;return(0,t.jsxs)(l.Stack,{align:"center",className:i.IS,children:[(0,t.jsxs)(c.Box,{className:i.h9,children:[(0,t.jsx)(c.Box,{className:i.r$,children:(0,t.jsx)("img",{src:"/logo.png",alt:"NanoGPT logo",width:48,height:48,className:i.wm,loading:"eager",decoding:"async"})}),(0,t.jsx)(o.Title,{order:1,className:i.O$,"aria-live":"polite","aria-atomic":"true",children:a})]}),"none"!==s?(0,t.jsx)(d,{placement:"above",state:s}):null]})}},646632:(e,a,s)=>{s.d(a,{$H:()=>v,F1:()=>w,N4:()=>m,NT:()=>i,Sg:()=>n,au:()=>c,kL:()=>f,sT:()=>t,wY:()=>g,xc:()=>x,yK:()=>l});let t={ownerId:void 0,pending:!1,generation:0},n=()=>t.pending,l=e=>{t.generation+=1,void 0!==t.ownerId&&t.ownerId!==e&&o(),t.ownerId=e,t.pending=!1},c=()=>(t.pending=!0,++t.generation),o=()=>{d(),h(),"undefined"!=typeof document&&document.querySelectorAll("[data-shell-composer-input]").forEach(e=>{e.value=""})},i=()=>window.location.pathname,r={value:"",focused:!1,path:""},d=()=>{r.value="",r.focused=!1,r.path=""},u=()=>{let e=window.__shellComposerDraftCapture;if(!e)return;let a=e.path||r.path||i();e.value&&e.value!==r.value&&(r.value=e.value,r.path=a),e.focused&&(r.focused=!0,r.path=a)},h=()=>{let e=window.__shellComposerDraftCapture;e&&(e.value="",e.focused=!1,e.path="")},w=e=>{r.value=e,r.path=i();{let a=window.__shellComposerDraftCapture;a&&(a.value=e,a.path=r.path)}},m=(e,a)=>{if(e!==a){u(),r.path===e&&(r.path=a);{let s=window.__shellComposerDraftCapture;(null==s?void 0:s.path)===e&&(s.path=a)}}},x=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i();r.focused=e,e&&(r.path=a);{let a=window.__shellComposerDraftCapture;a&&(a.focused=e,e&&(a.path=r.path))}},p=()=>{let e=i();u(),(r.value||r.focused)&&r.path&&r.path!==e&&(d(),h())},v=()=>(p(),{...r}),f=()=>(u(),{...r}),g=()=>{p();let e={...r};return d(),h(),e}},776960:(e,a,s)=>{s.d(a,{q:()=>t.Y});var t=s(814306)},779949:(e,a,s)=>{s.d(a,{N:()=>n});var t=s(695155);let n=()=>(0,t.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(){\n  if (window.__shellComposerCaptureInstalled) return;\n  window.__shellComposerCaptureInstalled = true;\n  var state = window.__shellComposerDraftCapture = window.__shellComposerDraftCapture || { value: '', focused: false, path: '' };\n  var isShellInput = function (el) {\n    return el && el.tagName === 'TEXTAREA' && el.hasAttribute('data-shell-composer-input');\n  };\n  document.addEventListener('input', function (event) {\n    if (!isShellInput(event.target)) return;\n    state.value = event.target.value;\n    state.path = window.location.pathname;\n  }, true);\n  document.addEventListener('focusin', function (event) {\n    if (!isShellInput(event.target)) return;\n    state.focused = true;\n    state.path = window.location.pathname;\n  }, true);\n  document.addEventListener('focusout', function (event) {\n    if (!isShellInput(event.target)) return;\n    // A focusout fired while the node is leaving the DOM is a hydration/phase\n    // swap, not the user dismissing the input - keep the focus intent.\n    setTimeout(function () {\n      if (!event.target.isConnected) return;\n      if (document.activeElement === event.target) return;\n      state.focused = false;\n    }, 0);\n  }, true);\n})();"}})},814306:(e,a,s)=>{s.d(a,{Y:()=>u});var t=s(695155),n=s(46460),l=s(231184),c=s(482954),o=s(779949),i=s(952379),r=s(114259),d=s(73825);function u(){return(0,t.jsx)(n.Box,{className:"ad55ie0",children:(0,t.jsxs)(l.Stack,{className:d.yr,gap:0,children:[(0,t.jsx)(c.VisuallyHidden,{role:"status","aria-live":"polite","aria-label":"Loading new conversation",children:"Loading new conversation"}),(0,t.jsxs)(l.Stack,{className:d.os,gap:0,children:[(0,t.jsx)(r.R,{}),(0,t.jsx)(o.N,{}),(0,t.jsxs)(n.Box,{className:"ad55ie1",children:[(0,t.jsx)(n.Box,{className:"ad55ie2",children:(0,t.jsx)(i.N,{className:"ad55ie6"})}),(0,t.jsx)(n.Box,{className:"ad55ie4","aria-hidden":"true"})]}),(0,t.jsx)(r._,{placement:"below"})]})]})})}s(919172),s(107246),s(193080)},831697:(e,a,s)=>{s.d(a,{X:()=>t.h});var t=s(884392)},884392:(e,a,s)=>{s.d(a,{h:()=>f});var t=s(695155),n=s(482954),l=s(46460),c=s(901626);s(919172),s(107246),s(221658);var o="_1cw0wa2e _1h1i7h3",i="_1cw0wa2f _1h1i7h3",r="_1cw0wa2g _1h1i7h3",d="_1cw0wa2v _1h1i7h3",u="_1cw0wa2n",h="_1cw0wa23 _1h1i7h3",w="_1cw0wa29",m=s(779949),x=s(952379);let p=[{userBubbleClass:"_1cw0wa2i",assistantLineWidths:["92%","84%","88%","55%"]},{userBubbleClass:"_1cw0wa2j",assistantLineWidths:["76%","40%"]},{userBubbleClass:"_1cw0wa2k",assistantLineWidths:["94%","86%","90%","78%","58%"]}];
1function v(e){let{statusLabel:a="Loading conversation messages"}=e;return(0,t.jsxs)(t.Fragment,{children:[a?(0,t.jsx)(n.VisuallyHidden,{role:"status","aria-live":"polite","aria-label":a,children:a}):null,(0,t.jsx)(l.Box,{className:"_1cw0wa26","aria-hidden":"true","data-conversation-messages-skeleton":!0,"data-conversation-message-viewport":!0,children:(0,t.jsx)(l.Box,{className:"_1cw0wa27 _1h1i7h2","data-conversation-message-column":!0,children:p.map((e,a)=>(0,t.jsxs)(l.Box,{className:"_1cw0wa28","data-conversation-skeleton-exchange":!0,children:[(0,t.jsxs)(l.Box,{className:"".concat(w," ").concat("_1cw0wa2a"),children:[(0,t.jsxs)(l.Box,{className:"_1cw0wa2c",children:[(0,t.jsx)(l.Box,{className:i}),(0,t.jsx)(l.Box,{className:r}),(0,t.jsx)(l.Box,{className:o})]}),(0,t.jsx)(l.Box,{className:"".concat("_1cw0wa2h _1h1i7h4"," ").concat(e.userBubbleClass)})]}),(0,t.jsxs)(l.Box,{className:"".concat(w," ").concat("_1cw0wa2b"),children:[(0,t.jsxs)(l.Box,{className:"_1cw0wa2d",children:[(0,t.jsx)(l.Box,{className:o}),(0,t.jsx)(l.Box,{className:i}),(0,t.jsx)(l.Box,{className:r})]}),(0,t.jsx)(l.Box,{className:"_1cw0wa2l",children:e.assistantLineWidths.map((e,a)=>(0,t.jsx)(l.Box,{className:"_1cw0wa2m _1h1i7h3",style:{width:e}},a))})]})]},a))})})]})}function f(e){let{statusLabel:a="Loading conversation",insetBottomHandledByParent:s=!1}=e;return(0,t.jsxs)(l.Box,{className:"_1cw0wa20","data-conversation-existing-loading-shell":!0,"data-conversation-top-offset-rem":c.Tc,"data-conversation-composer-reserve":"shared",children:[(0,t.jsx)(n.VisuallyHidden,{role:"status","aria-live":"polite","aria-label":a,children:a}),(0,t.jsx)(l.Box,{className:"_1cw0wa21","aria-hidden":"true","data-conversation-title-geometry":!0,children:(0,t.jsxs)(l.Box,{className:"_1cw0wa22 _1h1i7h2",children:[(0,t.jsx)(l.Box,{className:"".concat(h," ").concat("_1cw0wa24")}),(0,t.jsx)(l.Box,{className:"".concat(h," ").concat("_1cw0wa25")})]})}),(0,t.jsx)(v,{statusLabel:null}),(0,t.jsx)(m.N,{}),(0,t.jsx)(l.Box,{className:s?"".concat(u," ").concat("_1cw0wa2o"):u,"data-conversation-input-region":!0,children:(0,t.jsxs)(l.Box,{className:"_1cw0wa2p",children:[(0,t.jsxs)(l.Box,{className:"_1cw0wa2q","data-conversation-composer-shell":!0,children:[(0,t.jsxs)(l.Box,{className:"_1cw0wa2r",children:[(0,t.jsx)(x.N,{className:"_1cw0wa2x"}),(0,t.jsx)(l.Box,{className:"_1cw0wa2t","aria-hidden":"true"})]}),(0,t.jsxs)(l.Box,{className:"_1cw0wa2u _1h1i7h2","aria-hidden":"true",children:[(0,t.jsx)(l.Box,{className:d}),(0,t.jsx)(l.Box,{className:d}),(0,t.jsx)(l.Box,{className:d}),(0,t.jsx)(l.Box,{className:d})]})]}),(0,t.jsx)(l.Box,{className:"_1cw0wa2w _1i7uhwe3","data-conversation-composer-status-reserve":!0})]})})]})}},901626:(e,a,s)=>{s.d(a,{Tc:()=>l,a2:()=>n,dz:()=>t});let t=1200,n=750,l=5},923830:(e,a,s)=>{s.d(a,{BO:()=>o,C:()=>t,C4:()=>n,ix:()=>c});let t="How can I help you?",n="ChatGPT, Claude, Gemini and hundreds more AI models in one place. Pay less, stay private, and always access the newest models.",l=e=>e?e.charAt(0).toLocaleUpperCase()+e.slice(1):"",c=(e,a)=>{var s,t,n,c,o;let i=null!=(t=null==e?void 0:e.trim())?t:"";if(i&&!i.includes("@"))return null!=(n=i.split(/\s+/)[0])?n:"";let r=null!=(c=null==a||null==(s=a.trim().split("@")[0])?void 0:s.trim())?c:"";if(!r)return"";let d=r.replace(/\+.*/,"").trim();if(!d||!RegExp("^\\p{L}","u").test(d))return"";let u=null!=(o=d.replace(/[._]+/g," ").trim().split(/\s+/)[0])?o:"";return RegExp("\\p{L}","u").test(u)?u.split("-").map(l).join("-"):""},o=e=>e?"Welcome back, ".concat(e,"!"):t},952379:(e,a,s)=>{s.d(a,{N:()=>c});var t=s(695155),n=s(212115),l=s(646632);let c=e=>{let{className:a}=e,s=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=s.current;if(!e)return;let a=(0,l.NT)(),t=(0,l.$H)();return e.value!==t.value&&(e.value=t.value),t.focused&&document.activeElement!==e&&e.focus({preventScroll:!0}),()=>{"undefined"!=typeof document&&document.activeElement===e&&(0,l.xc)(!0,a)}},[]),(0,t.jsx)("textarea",{ref:s,className:a,defaultValue:(0,l.$H)().value,rows:1,placeholder:"Ask anything","aria-label":"Message input",autoComplete:"off","data-shell-composer-input":!0,onChange:e=>{(0,l.F1)(e.target.value)},onFocus:()=>(0,l.xc)(!0),onBlur:()=>(0,l.xc)(!1)})}}}]);

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.