PageSourceSearch

https://img.solidstarts.com/_next/static/chunks/2--_en5y6u7xg.js

js solidstarts.com collected 2026-10-01 12:17:37 UTC 41,982 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="3ecea2b9-31c8-6713-9813-d41315ab91e4")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,732538,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(478252),a=e.r(78997),l=e.r(208054)},531935,e=>{"use strict";var t=e.i(569414),r=e.i(668573);let n=Object.prototype.toString,i=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"]),o=[500,2e3],a=(0,r.createContext)(void 0),l=(0,r.createContext)(void 0),s=(0,r.createContext)(null),c="__convexAuthOAuthVerifier",u="__convexAuthJWT",d="__convexAuthRefreshToken",f="__convexAuthServerStateFetchTime";async function m(e,t){let r=window?.navigator?.locks;return void 0!==r?await r.request(e,t):await y(e,t)}function p(e){void 0===globalThis.__convexAuthMutexes&&(globalThis.__convexAuthMutexes={});let t=globalThis.__convexAuthMutexes[e];return void 0===t&&(globalThis.__convexAuthMutexes[e]={currentlyRunning:null,waiting:[]}),t=globalThis.__convexAuthMutexes[e]}function g(e,t){globalThis.__convexAuthMutexes[e]=t}async function h(e,t){let r=p(e);null===r.currentlyRunning?g(e,{currentlyRunning:t().finally(()=>{let t=p(e).waiting.shift();p(e).currentlyRunning=null,g(e,{...p(e),currentlyRunning:void 0===t?null:h(e,t)})}),waiting:[]}):g(e,{...r,waiting:[...r.waiting,t]})}async function y(e,t){return new Promise((r,n)=>{h(e,()=>t().then(e=>r(e)).catch(e=>n(e)))})}function v(e,t,r){"u">typeof window&&window.addEventListener?.(e,t,r)}function w(e,t,r){"u">typeof window&&window.removeEventListener?.(e,t,r)}e.s(["AuthProvider",0,function({client:e,serverState:p,onChange:g,shouldHandleCode:h,storage:y,storageNamespace:b,replaceURL:_,children:S}){var E,k;let C,I,P,x,T=(0,r.useRef)(p?._state.token??null),[A,R]=(0,r.useState)(null===T.current),[O,z]=(0,r.useState)(T.current),j=e.verbose??!1,N=(0,r.useCallback)(t=>{j&&(console.debug(`${new Date().toISOString()} ${t}`),e.logger?.logVerbose(t))},[j]),{storageSet:L,storageGet:M,storageRemove:U,storageKey:$}=(E=y,k=b,C=function(){let[e,t]=(0,r.useState)({});return()=>({getItem:t=>e[t],setItem:(e,r)=>{t(t=>({...t,[e]:r}))},removeItem:e=>{t(t=>{let{[e]:r,...n}=t;return n})}})}(),I=(0,r.useMemo)(()=>E??C(),[E]),P=k.replace(/[^a-zA-Z0-9]/g,""),x=(0,r.useCallback)(e=>`${e}_${P}`,[k]),{storageSet:(0,r.useCallback)((e,t)=>I.setItem(x(e),t),[I,x]),storageGet:(0,r.useCallback)(e=>I.getItem(x(e)),[I,x]),storageRemove:(0,r.useCallback)(e=>I.removeItem(x(e)),[I,x]),storageKey:x}),[B,D]=(0,r.useState)(!1),W=(0,r.useCallback)(async e=>{let t,r=null!==T.current;if(null===e.tokens)T.current=null,e.shouldStore&&(await U(u),await U(d)),t=null;else{let{token:r}=e.tokens;if(T.current=r,e.shouldStore){let{refreshToken:t}=e.tokens;await L(u,r),await L(d,t)}t=r}r!==(null!==t)&&await g?.(),z(t),R(!1)},[L,U]);(0,r.useEffect)(()=>{let e=async e=>{if(B)return e.preventDefault(),e.returnValue=!0,"Are you sure you want to leave? Your changes may not be saved."};return v("beforeunload",e),()=>{w("beforeunload",e)}}),(0,r.useEffect)(()=>{let e=e=>{(async()=>{if(e.storageArea===y&&e.key===$(u)){let t=e.newValue;N(`synced access token, is null: ${null===t}`),await W({shouldStore:!1,tokens:null===t?null:{token:t}})}})()};return v("storage",e),()=>w("storage",e)},[W]);let F=(0,r.useCallback)(async t=>{let r,a=0;for(;a<o.length;)try{return await e.unauthenticatedCall("auth:signIn","code"in t?{params:{code:t.code},verifier:t.verifier}:t)}catch(t){if(r=t,!function(e){if(!(e&&"[object Error]"===n.call(e)&&"TypeError"===e.name&&"string"==typeof e.message))return!1;let{message:t,stack:r}=e;return"Load failed"===t||t.startsWith("Load failed (")&&t.endsWith(")")?void 0===r||"__sentry_captured__"in e:!!(t.startsWith("error sending request for url")||"Failed to fetch"===t||t.startsWith("Failed to fetch (")&&t.endsWith(")"))||i.has(t)}(t))break;let e=o[a]+100*Math.random();a++,N(`verifyCode failed with network error, retry ${a} of ${o.length} in ${e}ms`),await new Promise(t=>setTimeout(t,e))}throw r},[e]),J=(0,r.useCallback)(async e=>{let{tokens:t}=await F(e);return N(`retrieved tokens, is null: ${null===t}`),await W({shouldStore:!0,tokens:t??null}),null!==t},[e,W]),V=(0,r.useCallback)(async(t,r)=>{let n=r instanceof FormData?Array.from(r.entries()).reduce((e,[t,r])=>(e[t]=r,e),{}):r??{},i=await M(c)??void 0;await U(c);let o=await e.authenticatedCall("auth:signIn",{provider:t,params:n,verifier:i});if(void 0!==o.redirect){let e=new URL(o.redirect);return await L(c,o.verifier),"ReactNative"!==navigator.product&&(window.location.href=e.toString()),{signingIn:!1,redirect:e}}if(void 0!==o.tokens){let{tokens:e}=o;return N(`signed in and got tokens, is null: ${null===e}`),await W({shouldStore:!0,tokens:e}),{signingIn:null!==o.tokens}}return{signingIn:!1}},[e,W,M]),q=(0,r.useCallback)(async()=>{try{await e.authenticatedCall("auth:signOut")}catch(e){}N("signed out, erasing tokens"),await W({shouldStore:!0,tokens:null})},[W,e]),K=(0,r.useCallback)(async({forceRefreshToken:e})=>
2{if(e){let e=T.current;return await m(d,async()=>{let t=T.current;if(t!==e)return N(`returning synced token, is null: ${null===t}`),t;let r=await M(d)??null;return null!==r?(D(!0),await J({refreshToken:r}).finally(()=>{D(!1)}),N(`returning retrieved token, is null: ${null===t}`),T.current):(D(!1),N("returning null, there is no refresh token"),null)})}return T.current},[J,q,M]),G=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(void 0===y)throw Error("`localStorage` is not available in this environment, set the `storage` prop on `ConvexAuthProvider`!");let e=async()=>{let e=await M(u)??null;N(`retrieved token from storage, is null: ${null===e}`),await W({shouldStore:!1,tokens:null===e?null:{token:e}})};if(void 0!==p){let t=M(f),r=t=>{if(!t||p._timeFetched>+t){let{token:e,refreshToken:t}=p._state;L(f,p._timeFetched.toString()),W({tokens:null===e||null===t?null:{token:e,refreshToken:t},shouldStore:!0})}else e()};t instanceof Promise?t.then(r):r(t);return}let t=void 0!==window?.location?.search?new URLSearchParams(window.location.search).get("code"):null;if(G.current);else if(t&&(void 0===h||("function"==typeof h?h():h))){G.current=!0;let e=new URL(window.location.href);e.searchParams.delete("code"),(async()=>{await _(e.pathname+e.search+e.hash),await V(void 0,{code:t}),G.current=!1})()}else e()},[e,M]);let H=(0,r.useMemo)(()=>({signIn:V,signOut:q}),[V,q]),X=null!==O,Y=(0,r.useMemo)(()=>({isLoading:A,isAuthenticated:X,fetchAccessToken:K}),[K,A,X]);return(0,t.jsx)(l.Provider,{value:Y,children:(0,t.jsx)(a.Provider,{value:H,children:(0,t.jsx)(s.Provider,{value:O,children:S})})})},"ConvexAuthActionsContext",0,a,"useAuth",0,function(){return(0,r.useContext)(l)}],531935)},167337,e=>{"use strict";e.i(86916);var t=e.i(569414),r=e.i(668573),n=e.i(531935),i=e.i(732538);let o=(0,i.createServerReference)("005fa6574ae8b75c99f6e1e8d909b8f1dc58163178",i.callServer,void 0,i.findSourceMapURL,"invalidateCache");e.s(["ConvexAuthNextjsClientProvider",0,function({apiRoute:e,serverState:i,storage:a,storageNamespace:l,shouldHandleCode:s,verbose:c,children:u}){let d=(0,r.useCallback)(async(t,r)=>{let n=await fetch(e??"/api/auth",{body:JSON.stringify({action:t,args:r}),method:"POST"});if(n.status>=400)throw Error((await n.json()).error);return await n.json()},[e]),f=(0,r.useMemo)(()=>({authenticatedCall:d,unauthenticatedCall:d,verbose:c}),[d,c]);return(0,t.jsx)(n.AuthProvider,{client:f,serverState:i,onChange:o,storage:"u"<typeof window?void 0:"inMemory"===a?null:window.localStorage,storageNamespace:l??function(e,t){if(void 0===e)throw Error(`Missing environment variable \`${t}\``);return e}("https://jupiter.solidstarts.com","NEXT_PUBLIC_CONVEX_URL"),replaceURL:e=>{window.history.replaceState({},"",e)},shouldHandleCode:s,children:u})}],167337)},425066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},634240,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},342555,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return _},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return w},SP:function(){return g},ST:function(){return h},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return p}
2,normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return S}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>l.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function m(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let g="u">typeof performance,h=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class w extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},542558,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=e.r(342555),i=e.r(634240);function o(e,t,r=!0){let a=new URL("u"<typeof window?"http://n":(0,n.getLocationOrigin)()),l=t?new URL(t,a):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):a,{pathname:s,searchParams:c,search:u,hash:d,href:f,origin:m}=e.startsWith("/")?new URL(`${l.protocol}//${l.host}${e}`):new URL(e,l);if(m!==a.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:s,port:null,protocol:null,query:r?(0,i.searchParamsToUrlQuery)(c):void 0,search:u,hash:d,href:f.slice(m.length),slashes:null}}},165239,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return s},getSegmentParam:function(){return a},isCatchAll:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(803947);function a(e){let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function l(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function s(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},952006,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let i=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),e.r(425066)},859683,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},480682,e=>{"use strict";var t=e.i(129840);e.i(195183);var r=e.i(844267),n=e.i(682723);e.s(["ecommerceCurrency",0,function(e){return e[0]?.currency??"USD"},"ecommerceItemsTotal",0,function(e){return Number(e.reduce((e,t)=>e+t.price*t.quantity,0).toFixed(2))},"pushEcommerce",0,function(e,i,o={},a="analytics"){((0,n.trackAdvertisingEcommerce)(e,i,a),(0,r.isBrowserPurposeAllowed)(a))?((0,t.sendGTMEvent)({ecommerce:null}),(0,t.sendGTMEvent)({event:e,...o,ecommerce:i})):(0,t.sendGTMEvent)({ecommerce:null})},"toEcommerceItem",0,function(e){let t,r;return{item_id:(t=e.productId.replace("gid://shopify/Product/",""),r=e.variantId.replace("gid://shopify/ProductVariant/",""),`shopify_US_${t}_${r}`),item_name:e.name,item_brand:"Solid Starts",item_category:e.category,currency:e.currency,price:e.price,quantity:e.quantity??1,...void 0===e.index?{}:{index:e.index}}}])},306225,e=>{"use strict";let t="junoCartId",r="persist:root",n="cart";function i(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}e.s(["clearStoredCartId",0,function(){try{localStorage.removeItem(t)}catch{}},"dropLegacyCartSlice",0,function(){try{let e=localStorage.getItem(r);if(!e)return;let t=JSON.parse(e);if(!i(t))return;let o={...t};if(!(n in o))return;delete o[n],localStorage.setItem(r,JSON.stringify(o))}catch{}},"getStoredCartId",0,function(){try{return localStorage.getItem(t)}catch{return null}},"readLegacyCartId",0,function(){try{let e=localStorage.getItem(r);if(!e)return null;let t=JSON.parse(e);if(!i(t))return null;let o=t[n];if("string"!=typeof o)return null;let a=JSON.parse(o);if(!i(a))return null;let l=a.id;return"string"==typeof l&&l.startsWith("gid://shopify/Cart/")?l:null}catch{return null}},"setStoredCartId",0,function(e){try{localStorage.setItem(t,e)}catch{}}])},929003,842854,e=>{"use strict";var t=e.i(569414),r=e.i(668573),n=e.i(732538);let i=(0,n.createServerReference)("40ea217d9f543db20fd873e6032ee9593af865e083",n.callServer,void 0,n.findSourceMapURL,"addCartLine"),o=(0,n.createServerReference)("40ae9708c12bc7e44719c35f560d333e5473beaaff",n.callServer,void 0,n.findSourceMapURL,"fetchCart"),a=(0,n.createServerReference)("40ebf3fcc9c3464a444c7e26a322cfdbbf4856ea4d",n.callServer,void 0,n.findSourceMapURL,"removeCartLine");var l=e.i(105108),s=e.i(480682);function c(e){return(0,s.toEcommerceItem)({productId:e.merchandise.product.id,variantId:e.merchandise.id,name:e.merchandise.product.title,category:e.merchandise.product.productType,currency:e.merchandise.price.currencyCode,price:Number.parseFloat(e.merchandise.price.amount),quantity:e.quantity})}function u(e){(0,l.captureEvent)("cart-legacy_cart-added",{lineCount:e.lineCount})}e.s(["trackCartCheckoutClicked",0,function(e){let t=e.lines.map(c),r=(0,s.ecommerceItemsTotal)(t),n=(0,s.ecommerceCurrency)(t);(0,l.captureEvent)("cart-checkout-clicked",{lineCount:e.lines.length,cartTotal:r,currency:n}),(0,s.pushEcommerce)("begin_checkout",{currency:n,value:r,items:t})},"trackCartDonationAdded",0,function(e){(0,l.captureEvent)("cart-donation-added",{variantId:e.variantId,amount:e.amount,from:e.from})},"trackCartLineRemoved",0,function(e){let t=c(e.line);(0,l.captureEvent)("cart-line-removed",{productId:e.line.merchandise.product.id,variantId:e.line.merchandise.id,productTitle:e.line.merchandise.product.title,productType:e.line.merchandise.product.productType,quantity:e.line.quantity,lineTotal:Number((t.price*t.quantity).toFixed(2)),currency:t.currency}),(0,s.pushEcommerce)("remove_from_cart",{currency:t.currency,value:(0,s.ecommerceItemsTotal)([t]),items:[t]})},"trackCartViewed",0,function(e){let t=e.lines.map(c),r=(0,s.ecommerceItemsTotal)(t);(0,l.captureEvent)("cart-page-viewed",{lineCount:e.lines.length,itemCount:t.reduce((e,t)=>e+t.quantity,0),cartTotal:r,currency:(0,s.ecommerceCurrency)(t)}),(0,s.pushEcommerce)("view_cart",{currency:(0,s.ecommerceCurrency)(t),value:r,items:t})},"trackLegacyCartAdopted",0,u],842854);var d=e.i(306225);let f=(0,r.createContext)(null);function m(e){return(e?.lines?.edges??[]).map(e=>e?.node).filter(e=>!!e)}e.s(["CartProvider",0,function({children:e}){let[n,l]=(0,r.useState)(null),[s,c]=(0,r.useState)("loading"),[p,g]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=!1;return async function(){let t=(0,d.getStoredCartId)();if(t){let r=await o(t);if(e)return;if(!r.ok)return c("error");
2if(r.cart){l(r.cart),c("ready");return}(0,d.clearStoredCartId)()}let r=(0,d.readLegacyCartId)();if(r){let t=await o(r);if(e)return;if(!t.ok)return c("error");if(t.cart){(0,d.setStoredCartId)(r),(0,d.dropLegacyCartSlice)(),l(t.cart),c("ready"),u({lineCount:m(t.cart).length});return}}l(null),c("ready")}(),()=>{e=!0}},[]);let h=(0,r.useRef)(Promise.resolve()),y=(0,r.useRef)(0),v=(0,r.useCallback)(e=>{y.current+=1,g(!0);let t=h.current.then(e);return h.current=t.then(()=>void 0,()=>void 0),t.then(e=>!!e.ok&&((0,d.setStoredCartId)(e.cart.id),l(e.cart),c("ready"),!0)).finally(()=>{y.current-=1,0===y.current&&g(!1)})},[]),w=(0,r.useCallback)(({variantId:e,quantity:t=1,attributes:r})=>v(()=>i({cartId:(0,d.getStoredCartId)(),variantId:e,quantity:t,...r?{attributes:r}:{}})),[v]),b=(0,r.useCallback)(e=>v(()=>{let t=(0,d.getStoredCartId)();return t?a({cartId:t,lineId:e}):Promise.resolve({ok:!1,error:"not_found"})}),[v]),_=(0,r.useMemo)(()=>{let e=m(n),t=new Set(e.map(e=>e.merchandise.id));return{cart:n,lines:e,itemCount:n?.totalQuantity??0,status:s,isMutating:p,addLine:w,removeLine:b,hasVariant:e=>t.has(e)}},[n,s,p,w,b]);return(0,t.jsx)(f.Provider,{value:_,children:e})},"useCart",0,function(){let e=(0,r.useContext)(f);if(!e)throw Error("useCart must be used inside <CartProvider>");return e}],929003)},439389,e=>{"use strict";let t;var r=e.i(105108);e.s(["clearPageviewProperties",0,function(e){t?.pathname===e&&(t=void 0)},"pageviewPropertiesFor",0,function(e){return t?.pathname===e?t.properties:void 0},"setPageviewProperties",0,function(e,n){t={pathname:e,properties:(0,r.compactEventProperties)(n)}}])},258626,e=>{"use strict";let t,r,n,i;var o=e.i(208701),a=e.i(105108),l=e.i(439389),s=e.i(95288),c=e.i(995534);let u="phc_oZVuFPUeroePr7ZBuAUPsojZdfiZLFmkSdbdti5LQYcu",d=!1,f=new Set;function m(e){for(let t of(d=e,f))t()}function p(e){let t,r=`ph_${e}_posthog`,n="https:"===location.protocol?"; Secure":"",i=e=>{try{e()}catch(e){t??=e}};if(i(()=>localStorage.removeItem(r)),i(()=>sessionStorage.removeItem(r)),i(()=>{document.cookie=`${r}=; Max-Age=0; Path=/; SameSite=Lax${n}`}),c.privacyConsentConfig.cookieDomain&&i(()=>{document.cookie=`${r}=; Max-Age=0; Path=/; Domain=.${c.privacyConsentConfig.cookieDomain}; SameSite=Lax${n}`}),void 0!==t)throw t}let g=(n=!1,i=!1,{initialize(){!n&&(0,s.isJunoAnalyticsAllowed)()&&(o.default.init(u,{api_host:"/ingest",ui_host:"https://us.posthog.com",defaults:"2026-01-30",capture_exceptions:!1,opt_out_capturing_by_default:!0,debug:!1,respect_dnt:!0,person_profiles:"identified_only",before_send:e=>{if(void 0===t||"disabled"===t||t!==(0,s.getBrowserPrivacyPolicy)())return e?.event==="$pageview"&&(r=void 0),null;if(e?.event==="$pageview"){i=!0,r=window.location.href;let t=(0,l.pageviewPropertiesFor)(window.location.pathname);t&&(e.properties={...e.properties,...t})}return e}}),n=!0)},optIn(){if(!(0,s.isJunoAnalyticsAllowed)())return;t=(0,s.getBrowserPrivacyPolicy)(),o.default.opt_in_capturing();let e=!o.default.has_opted_out_capturing();e&&i&&r!==window.location.href&&(0,a.captureEvent)("$pageview"),m(e)},optOut(){t=void 0,r!==window.location.href&&(r=void 0),m(!1),o.default.opt_out_capturing()},reset:()=>o.default.reset(),clearPersistence:()=>p(u)});e.s(["identifyUser",0,function(e){if((0,s.isJunoAnalyticsAllowed)()){if(o.default._isIdentified()){if(o.default.get_distinct_id()===e)return;o.default.reset()}o.default.identify(e)}},"isPostHogReady",0,function(){return d},"junoPostHogLifecycle",0,g,"resetIdentity",0,function(){o.default.reset(),!(0,s.isJunoAnalyticsAllowed)()&&u&&p(u)},"subscribePostHogReadiness",0,function(e){return f.add(e),()=>{f.delete(e)}}])},835057,(e,t,r)=>{t.exports=e.r(878797)},193208,464675,e=>{"use strict";let t,r;var n=e.i(817422);function i(e){return e.metrics.some(e=>"browser"!==e.source)}let o="testAAWebsite",a="testWebsiteBannerDesktop",l="chrome-app_download-clicked",s="testWebsiteBannerMobile",c="chrome-app_download-clicked",u="chrome-app_download-shown",d={key:a,version:"1",paths:"sitewide",variants:["control","start_free"],metrics:[{event:l,source:"browser",semantics:"binary",properties:n.z.object({from:n.z.literal("chrome.header")}
2).strict()}]},f={key:s,version:"1",paths:"sitewide",variants:["control","top_nav_cta","bottom_toast"],metrics:[{event:c,source:"browser",semantics:"binary",properties:n.z.object({from:n.z.enum(["chrome.header","chrome.toast"])}).strict()},{event:u,source:"browser",semantics:"binary",properties:n.z.object({from:n.z.literal("chrome.toast")}).strict()}]},m=Object.freeze([{key:o,version:"1",paths:["/","/es/"],variants:["control","test"],metrics:[{event:"website_aa_measurement_received",source:"browser",semantics:"binary",properties:n.z.object({}).strict()}]},d,f]);function p(e,t,r=m){return r.find(r=>r.key===e&&(void 0===t||t.startsWith("/")&&!t.startsWith("//")&&("sitewide"===r.paths||r.paths.includes(t))))}let g=n.z.object({id:n.z.string().uuid(),key:n.z.string().min(1).max(100),version:n.z.string().min(1).max(100),variant:n.z.string().min(1).max(100),endsAt:n.z.number().finite().nullable(),active:n.z.boolean().optional()}).strict();function h(e){return null===e.endsAt||e.endsAt>Date.now()}let y="ss_experiment_objection",v="ss_experiment_assignments";n.z.discriminatedUnion("kind",[n.z.object({kind:n.z.literal("enroll"),assignment:g,projectToken:n.z.string(),country:n.z.string().nullable()}),n.z.object({kind:n.z.literal("get"),ids:n.z.array(n.z.string().uuid()).max(20)}),n.z.object({kind:n.z.literal("expose"),id:n.z.string().uuid()}),n.z.object({kind:n.z.literal("event"),id:n.z.string().uuid(),event:n.z.string().max(100),expose:n.z.literal(!0).optional(),deliveryId:n.z.string().uuid(),properties:n.z.record(n.z.string(),n.z.union([n.z.string(),n.z.number().finite(),n.z.boolean()]))}),n.z.object({kind:n.z.literal("checkout"),ids:n.z.array(n.z.string().uuid()).max(20),reference:n.z.string().uuid()}),n.z.object({kind:n.z.literal("outcome"),reference:n.z.string().uuid(),outcome:n.z.enum(["checkout_completed","first_payment"]),occurredAt:n.z.number().finite()}),n.z.object({kind:n.z.literal("revoke"),ids:n.z.array(n.z.string().uuid()).max(20)})]),n.z.object({assignments:n.z.array(g),accepted:n.z.boolean()}),e.s(["DESKTOP_HEADER_CTA_EVENT",0,l,"DESKTOP_HEADER_CTA_KEY",0,a,"EXPERIMENTS",0,m,"EXPERIMENT_OBJ
2ECTION_COOKIE",0,y,"EXPERIMENT_STORAGE_KEY",0,v,"MOBILE_WEBSITE_BANNER_EVENT",0,c,"MOBILE_WEBSITE_BANNER_IMPRESSION_EVENT",0,u,"MOBILE_WEBSITE_BANNER_KEY",0,s,"WEBSITE_AA_KEY",0,o,"experimentAssignmentSchema",0,g,"findExperiment",0,p,"hasCheckoutMetrics",0,i,"isExperimentAssignmentRetained",0,h],464675);let w="ss-website-banner-experiment";function b(){try{var e=window.localStorage.getItem(w);if(null===e)return null;try{let t=JSON.parse(e);if(null===t||"object"!=typeof t||!("owner"in t)||"desktop"!==t.owner&&"mobile"!==t.owner)return null;let r="variant"in t?t.variant:void 0;if(void 0!==r&&"string"!=typeof r)return null;return void 0===r?{owner:t.owner}:{owner:t.owner,variant:r}}catch{return null}}catch{return null}}let _=n.z.array(g).max(20),S=n.z.object({allowed:n.z.boolean(),automatic:n.z.boolean(),visit:n.z.string(),assignments:_}),E=n.z.object({accepted:n.z.boolean(),assignments:_}),k=new Set,C=new Map,I=null,P=!1,x=0,T=Promise.resolve(),A=new Set,R="ss_experiment_pending_revocations",O=[{key:a,owner:"desktop"},{key:s,owner:"mobile"}];function z(){for(let e of k)e()}function j(e){return N(e)?C.get(e):void 0}function N(e){let t=O.find(t=>t.key===e)?.owner,r=b()?.owner;return!t||!r||t===r}function L(){try{return _.parse(JSON.parse(localStorage.getItem(v)??"[]"))}catch{return[]}}function M(e){let t=L();for(let{key:r,owner:n}of(e.length?localStorage.setItem(v,JSON.stringify(e)):localStorage.removeItem(v),O))t.some(e=>e.key===r)&&!e.some(e=>e.key===r)&&b()?.owner===n&&window.localStorage.removeItem(w)}function U(e){let t=T.then(()=>navigator.locks?navigator.locks.request("ss-experiment-assignments",e):e());return T=t.then(()=>void 0,()=>void 0),t}function $(e){return h(e)&&m.some(t=>t.key===e.key&&t.version===e.version)}function B(){return document.cookie.split(";").some(e=>e.trim()===`${y}=1`)}async function D(e){let t=await fetch("/api/experiments/",{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json"},body:JSON.stringify(e),signal:AbortSignal.timeout(8e3),keepalive:!0});if(!t.ok)throw Error("Experiment unavailable");return await t.json()}async function W(e){for(let t of e)A.add(t);try{for(let e of n.z.array(n.z.string().uuid()).max(20).parse(JSON.parse(localStorage.getItem(R)??"[]")))A.add(e)}catch{}let t=[...A];if(!t.length)return;for(let[e,r]of C)t.includes(r.id)&&C.delete(e);z();try{localStorage.setItem(R,JSON.stringify(t)),M(L().filter(e=>!t.includes(e.id)))}catch{}let r=await D({kind:"revoke",ids:t});if(!n.z.object({accepted:n.z.boolean()}).parse(r).accepted)throw Error("Experiment revocation unavailable");try{M(L().filter(e=>!t.includes(e.id))),localStorage.removeItem(R)}catch{}for(let e of t)A.delete(e)}function F(){return t||(t=J(x))}async function J(e){try{if(P||e!==x)return null;let t=await U(async()=>{await W(L().filter(e=>!N(e.key)).map(e=>e.id));let e=L();if(B())return e;let t=e.filter($);return t.length!==e.length&&M(t),t});if(P||e!==x||!m.length&&!t.length)return null;let n=S.safeParse(await D({kind:"visit",ids:t.map(e=>e.id)}));if(!n.success)return null;return await U(async()=>{if(P||e!==x)return null;if(I=n.data,!n.data.automatic&&!1===r&&n.data.allowed){let e=L().map(e=>e.id);return await W(e),C.clear(),z(),I}if(!n.data.allowed||B())return C.clear(),M([]),z(),I;let i=L().flatMap(e=>{if(!$(e))return[];if(!t.some(t=>t.id===e.id))return[e];let r=n.data.assignments.find(t=>t.id===e.id&&$(t));return r?[r]:[]});for(let e of(M(i),C.clear(),i))!1!==e.active&&C.set(e.key,e);return z(),I})}catch{return null}}async function V(e,t,n){let i=x,o=await F();if(!o?.allowed||P||B()||i!==x||!o.automatic&&!1===r)return;let a=async()=>{if(P||B()||i!==x||(await W(L().filter(e=>!N(e.key)).map(e=>e.id)),P||B()||i!==x))return;if(!N(e)){C.delete(e),z();return}let r=L().find(t=>t.key===e&&h(t));if(r){let t=E.parse(await D({kind:"get",visit:o.visit,ids:[r.id]}));if(P||B()||i!==x)return;let n=t.assignments.find(e=>e.id===r.id&&$(e)),a=L();if(!a.some(e=>e.id===r.id)){C.delete(e),z();return}M(a.flatMap(e=>e.id===r.id?n?[n]:[]:[e])),C.delete(e),n&&!1!==n.active&&C.set(e,n),z();return}if(n){C.delete(e),z();return}if(!p(e,t,m))return;let a=E.safeParse(await D({kind:"enroll",visit:o.visit,key:e,path:t})),l=a.success&&a.data.accepted?a.data.assignments[0]:void 0;if(!l)return;if(P||B()||i!==x||!N(e))return void await W([l.id]);M([...L().filter(t=>t.key!==e&&h(t)),l]);let s=O.find(t=>t.key===e)?.owner;s&&(b()??function(e){try{return window.localStorage.setItem(w,JSON.stringify(e)),e}catch{return null}}({owner:s}))?.owner!==s?await W([l.id]):(C.set(e,l),z())};try{await U(a)}catch{if(i!==x)return;C.delete(e),z()}}function q(e){let t=j(e);return!P&&!B()&&I?.allowed&&(I.automatic||!1!==r)&&t&&h(t)?t:void 0}let K=new Map;async function G(e){let t=q(e);if(!t||!I)return!1;let r=K.get(t.id);if(r)return r;let i=D({kind:"expose",visit:I.visit,id:t.id}).then(e=>n.z.object({accepted:n.z.boolean()}).parse(e).accepted).catch(()=>!1);return K.set(t.id,i),await i||K.delete(t.id),i}async function H(e,t,r={},{expose:i}={}){i||await F();let o=q(e),a=m.find(t=>t.key===e)?.metrics.find(e=>"browser"===e.source&&e.event===t);if(!o||!a||!a.properties.safeParse(r).success||!I)return!1;let l=K.get(o.id);if(!i&&l&&!await l||!I)return!1;let s={kind:"event",visit:I.visit,id:o.id,event:t,properties:r,...i?{expose:i}:{},deliveryId:crypto.randomUUID()};for(let t=0;t<2&&q(e)?.id===o.id;t++)try{return n.z.object({accepted:n.z.boolean()}).parse(await D(s)).accepted}catch{}return!1}async function X(){if(await F(),P||B()||!I?.allowed)return;let e=[...C.values()].filter(e=>h(e)&&m.some(t=>t.key===e.key&&t.version===e.version&&i(t))).map(e=>e.id);if(e.length)return await Promise.all(K.values()),{visit:I.visit,ids:e}}async function Y(){P=!0,x++,C.clear(),z();let e=L().map(e=>e.id);if(!(await fetch("/api/experiments/objection/",{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json"},body:JSON.stringify({ids:e}),signal:AbortSignal.timeout(8e3)})).ok)throw Error("Experiment preference could not be saved");M([])}e.s(["enrollExperiment",0,function(e,t){return V(e,t,!1)}
2,"exposeExperiment",0,G,"getExperimentAssignment",0,j,"getExperimentCheckoutContext",0,X,"getExperimentRevision",0,function(){return x},"initializeExperiments",0,F,"objectToExperiments",0,Y,"refreshExperimentConsent",0,function(e){if(r===e||P||B()||(r=e,I?.automatic||I?.allowed&&e))return;let n=t,i=!e&&I?.allowed?[...L(),...C.values()].map(e=>e.id):[],o=++x;I=null,C.clear(),t=(async()=>{if(await n,i.length)try{await U(()=>W(i))}catch{return null}return J(o)})(),z()},"refreshExperimentStorage",0,function(){if(B()){P=!0,x++,C.clear(),z();return}if(!I?.allowed||P)return;let e=L().filter($);for(let[t,r]of C)e.some(e=>e.id===r.id)||C.delete(t);for(let t of(z(),e))V(t.key,window.location.pathname,!0)},"subscribeExperiments",0,function(e){return k.add(e),()=>{k.delete(e)}},"trackExperimentEvent",0,H],193208)},423970,e=>{"use strict";let t="juno.clientId",r=null;function n(){let e,t=globalThis.crypto;if("function"==typeof t?.randomUUID)return t.randomUUID();let r=new Uint8Array(16);if("function"==typeof t?.getRandomValues)t.getRandomValues(r);else for(let e=0;e<r.length;e+=1)r[e]=Math.floor(256*Math.random());return r[6]=(r[6]??0)&15|64,r[8]=(r[8]??0)&63|128,[(e=Array.from(r,e=>e.toString(16).padStart(2,"0")).join("")).slice(0,8),e.slice(8,12),e.slice(12,16),e.slice(16,20),e.slice(20)].join("-")}e.s(["getClientId",0,function(){try{let e=window.localStorage.getItem(t);if(e)return e;let r=n();return window.localStorage.setItem(t,r),r}catch{return r||(r=n()),r}}])},820985,e=>{"use strict";var t=e.i(423970);e.s(["getUserQueryArgs",0,function(){return{clientId:"u">typeof document?(0,t.getClientId)():"",locale:"u">typeof document&&document.documentElement.lang||"en"}}])},300822,e=>{"use strict";e.i(659526);let t=new(e.i(435346)).ConvexReactClient("https://jupiter.solidstarts.com",{unsavedChangesWarning:!1});e.s(["convexClient",0,t])},242092,e=>{"use strict";var t=e.i(668573),r=(e,t,r,n,i,o,a,l)=>{let s=document.documentElement,c=["light","dark"];function u(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&o?i.map(e=>o[e]||e):i;r?(s.classList.remove(...n),s.classList.add(o&&o[t]?o[t]:t)):s.setAttribute(e,t)}),r=t,l&&c.includes(r)&&(s.style.colorScheme=r)}if(n)u(n);else try{let e=localStorage.getItem(t)||r,n=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(n)}catch(e){}},n=["light","dark"],i="(prefers-color-scheme: dark)",o="u"<typeof window,a=t.createContext(void 0),l={setTheme:e=>{},themes:[]},s=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:o=!0,enableColorScheme:l=!0,storageKey:c="theme",themes:p=s,defaultTheme:g=o?"system":"light",attribute:h="data-theme",value:y,children:v,nonce:w,scriptProps:b})=>{let[_,S]=t.useState(()=>d(c,g)),[E,k]=t.useState(()=>"system"===_?m():_),C=y?Object.values(y):p,I=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=m());let i=y?y[t]:t,a=r?f(w):null,s=document.documentElement,c=e=>{"class"===e?(s.classList.remove(...C),i&&s.classList.add(i)):e.startsWith("data-")&&(i?s.setAttribute(e,i):s.removeAttribute(e))};if(Array.isArray(h)?h.forEach(c):c(h),l){let e=n.includes(g)?g:null,r=n.includes(t)?t:e;s.style.colorScheme=r}null==a||a()},[w]),P=t.useCallback(e=>{let t="function"==typeof e?e(_):e;S(t);try{localStorage.setItem(c,t)}catch(e){}},[_]),x=t.useCallback(t=>{k(m(t)),"system"===_&&o&&!e&&I("system")},[_,e]);t.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(x),x(e),()=>e.removeListener(x)},[x]),t.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?S(e.newValue):P(g))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[P]),t.useEffect(()=>{I(null!=e?e:_)},[e,_]);let T=t.useMemo(()=>({theme:_,setTheme:P,forcedTheme:e,resolvedTheme:"system"===_?E:_,themes:o?[...p,"system"]:p,systemTheme:o?E:void 0}),[_,P,e,E,o,p]);return t.createElement(a.Provider,{value:T},t.createElement(u,{forcedTheme:e,storageKey:c,attribute:h,enableSystem:o,enableColorScheme:l,defaultTheme:g,value:y,themes:p,nonce:w,scriptProps:b}),v)},u=t.memo(({forcedTheme:e,storageKey:n,attribute:i,enableSystem:o,enableColorScheme:a,defaultTheme:l,value:s,themes:c,nonce:u,scriptProps:d})=>{let f=JSON.stringify([i,n,l,e,c,s,o,a]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?u:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${f})`}})}),d=(e,t)=>{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},f=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},m=e=>
2(e||(e=window.matchMedia(i)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(a)?t.createElement(t.Fragment,null,e.children):t.createElement(c,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(a))?e:l}])},382482,e=>{"use strict";let t="/app#subscription",r="ss_attribution_fallback",n="homepage-get-started",i={utm_source:"website",utm_medium:"hp-hero-cta",utm_campaign:"get-started",cw_p2:"hp-hero-cta",cw_p3:"get-started"},o=["utm_source","utm_campaign","adset_id","campaign_name","utm_medium","utm_content","utm_term"];function a(e){if("string"!=typeof e)return;let t=e.trim();return t?t.slice(0,500):void 0}function l(e){return o.reduce((t,r)=>{let n=a(e.get(r));return n&&(t[r]=n),t},{})}function s(e){let r=new URLSearchParams(e).toString();return r?`/app?${r}#subscription`:t}e.s(["DEFAULT_APP_SUBSCRIPTION_PATH",0,t,"STRIPE_ATTRIBUTION_COOKIE",0,"solid-starts-stripe-attribution","STRIPE_ATTRIBUTION_COOKIE_MAX_AGE_DAYS",0,7,"readCookie",0,function(e){if("u"<typeof document)return;let t=document.cookie.split("; ").find(t=>t.startsWith(`${e}=`));if(t)try{return decodeURIComponent(t.slice(e.length+1))}catch{return}},"resolveAttributionCookieWrite",0,function(e){let t=new URLSearchParams(e);if(a(t.get(r))===n)return null;let i=l(t);return 0===Object.keys(i).length?null:JSON.stringify(i)},"resolveHomepageGetStartedHref",0,function(e,t){let c=l(e);if(Object.keys(c).length>0)return s(c);let u=function(e){if(!e)return{};try{let t=JSON.parse(e);if("object"!=typeof t||null===t||Array.isArray(t))return{};return o.reduce((e,r)=>{let n=a(t[r]);return n&&(e[r]=n),e},{})}catch{return{}}}(t);return Object.keys(u).length>0?s(u):s({...i,[r]:n})}])},325390,e=>{"use strict";var t=e.i(569414);e.i(659526);var r=e.i(918508),n=e.i(531935);function i(e){let{client:i,children:o}=e;return(0,t.jsx)(r.ConvexProviderWithAuth,{client:i,useAuth:n.useAuth,children:o})}var o=e.i(668573);function a(){return(0,o.useEffect)(()=>{let e=e=>{window.__junoIntentionalUnload&&(window.__junoIntentionalUnload=!1,e.stopImmediatePropagation())},t={capture:!0};return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[]),null}var l=e.i(300822);e.s(["ConvexClientProvider",0,function({children:e}){return(0,t.jsxs)(i,{client:l.convexClient,children:[(0,t.jsx)(a,{}),e]})}],325390)},834619,e=>{"use strict";var t=e.i(569414),r=e.i(242092);e.s(["ThemeProvider",0,function({children:e}){return(0,t.jsx)(r.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:e})}])},814623,900675,151816,e=>{"use strict";let t;var r=e.i(204566),n=e.i(330826),i=e.i(666041),o=e.i(245859),a=e.i(730950),l=e.i(627784),s=e.i(136598),c=e.i(121492),u=e.i(720994);let d=0;function f(e){let r=Math.floor(1e3*e);void 0!==t&&r!==t&&(d=0);let n=d;return d++,t=r,{key:"sentry.timestamp.sequence",value:{value:n,type:"integer"}}}e.s(["getSequenceAttribute",0,f],900675);var m=e.i(743064),p=e.i(310559);function g(e,t){return t?(0,i.withScope)(t,()=>{let r=(0,p.getActiveSpan)(),n=r?(0,p.spanToTraceContext)(r):(0,i.getTraceContextFromScope)(t);return[r?(0,m.getDynamicSamplingContextFromSpan)(r):(0,m.getDynamicSamplingContextFromScope)(e,t),n]}):[void 0,void 0]}e.s(["_getTraceInfoFromScope",0,g],151816);let h={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};var y=e.i(787331),v=e.i(59429),w=e.i(372607);function b(e,t,r,n=!0){r&&(!e[t]||n)&&(e[t]=r)}function _(e,t){var r;let n=E(),i=(r=e,E().get(r));void 0===i?n.set(e,[t]):i.length>=100?(S(e,i),n.set(e,[t])):n.set(e,[...i,t])}function S(e,t){var r,n,i,o,a;let l,s,c=t??(a=e,E().get(a))??[];if(0===c.length)return;let u=e.getOptions(),d=(r=u._metadata,n=u.tunnel,i=e.getDsn(),o=u.sendDefaultPii,l={},r?.sdk&&(l.sdk={name:r.sdk.name,version:r.sdk.version}),n&&i&&(l.dsn=(0,y.dsnToString)(i)),(0,v.createEnvelope)(l,[(s=o?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...(0,w.isBrowser)()&&{ingest_settings:{infer_ip:s,infer_user_agent:s}},items:c}])]));E().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(d)}function E(){return(0,n.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}e.s(["_INTERNAL_captureLog",0,function(e,t=(0,i.getCurrentScope)(),n=_){let d=t?.getClient()??(0,i.getClient)();if(!d){o.DEBUG_BUILD&&a.debug.warn("No client available to capture log.");return}let{release:m,environment:p,enableLogs:y=!1,beforeSendLog:v}=d.getOptions();if(!y){o.DEBUG_BUILD&&a.debug.warn("logging option not enabled, log will not be captured.");return}let[,w]=g(d,t),S={...e.attributes},{user:{id:E,email:k,username:C},attributes:I={}}=(0,s.getCombinedScopeData)((0,i.getIsolationScope)(),t);b(S,"user.id",E,!1),b(S,"user.email",k,!1),b(S,"user.name",C,!1),b(S,"sentry.release",m),b(S,"sentry.environment",p);let{name:P,version:x}=d.getSdkMetadata()?.sdk??{};b(S,"sentry.sdk.name",P),b(S,"sentry.sdk.version",x);let T=d.getIntegrationByName("Replay"),A=T?.getReplayId(!0);b(S,"sentry.replay_id",A),A&&T?.getRecordingMode()==="buffer"&&b(S,"sentry._internal.replay_is_buffering",!0);let R=e.message;
2if((0,l.isParameterizedString)(R)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=R;t?.length&&(S["sentry.message.template"]=e),t.forEach((e,t)=>{S[`sentry.message.parameter.${t}`]=e})}let O=(0,c._getSpanForScope)(t);b(S,"sentry.trace.parent_span_id",O?.spanContext().spanId);let z={...e,attributes:S};d.emit("beforeCaptureLog",z);let j=v?(0,a.consoleSandbox)(()=>v(z)):z;if(!j){d.recordDroppedEvent("before_send","log_item",1),o.DEBUG_BUILD&&a.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:N,message:L,attributes:M={},severityNumber:U}=j,$=(0,u.timestampInSeconds)(),B=f($);n(d,{timestamp:$,level:N,body:L,trace_id:w?.trace_id,severity_number:U??h[N],attributes:{...(0,r.serializeAttributes)(I),...(0,r.serializeAttributes)(M,!0),[B.key]:B.value}}),d.emit("afterCaptureLog",j)},"_INTERNAL_flushLogsBuffer",0,S],814623)}]);
3
4//# debugId=3ecea2b9-31c8-6713-9813-d41315ab91e4

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.