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]="39e0c320-226f-f6f8-3c1a-7b2e7a250341")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,598229,e=>{"use strict";var t=e.i(245056),r=e.i(574488),n=e.i(150118);function i(){return false}function s(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function a(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function u(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!n.current){let r=function(e={},t){var r;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:n,src:s,dataset:u}=function(e,t){var r,n;let s=e;if(t)try{s={...null==(r=JSON.parse(t))?void 0:r.speedInsights,...e}}catch{}let u={sdkn:"@vercel/speed-insights"+(s.framework?`/${s.framework}`:""),sdkv:"2.0.0"};return s.sampleRate&&(u.sampleRate=s.sampleRate.toString()),s.route&&(u.route=s.route),i()&&!1===s.debug&&(u.debug="false"),s.dsn&&(u.dsn=s.dsn),s.endpoint?u.endpoint=a(s.endpoint):s.basePath&&(u.endpoint=a(`${s.basePath}/speed-insights/vitals`)),{src:(n=s).scriptSrc?a(n.scriptSrc):i()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":n.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":n.basePath?a(`${n.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:s.beforeSend,dataset:u}}(e,t);if(document.head.querySelector(`script[src*="${s}"]`))return null;n&&(null==(r=window.si)||r.call(window,"beforeSend",n));let o=document.createElement("script");for(let[e,t]of(o.src=s,o.defer=!0,Object.entries(u)))o.dataset[e]=t;return o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${s}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());r&&(n.current=r.setRoute)}},[e]),(0,r.useEffect)(()=>{n.current&&e.route&&n.current(e.route)},[e.route]),null}function o(e){let i=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let i=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!i)return r;let a=r;try{let e=Object.entries(i);for(let[t,r]of e)if(!Array.isArray(r)){let e=s(r);e.test(a)&&(a=a.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=s(r.join("/"));e.test(a)&&(a=a.replace(e,`/[...${t}]`))}return a}catch{return r}})();return r.default.createElement(u,{route:i,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
2(),configString:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_CLIENT_CONFIG}()})}e.s(["SpeedInsights",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(o,{...e}))}])},785071,e=>{"use strict";var t=e.i(820439),r=e.i(756958);e.s(["default",0,function({locale:e,...n}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...n})}])},758068,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(149144),i=e.i(44585),s=e.i(150118),a=e.i(884042),u=e.i(574488),o=e.i(579710),l=e.i(689467),c=e.i(737137);let d="shorta_banner_dismiss";function f(){try{let e=localStorage.getItem(d);if(!e)return!1;if(JSON.parse(e).dismissedAt+2592e5>Date.now())return!0;return localStorage.removeItem(d),!1}catch{return!1}}var h=e.i(889937),m=e.i(404576);let p=["/terms","/privacy","/status","/subscribe","/checkout","/premium"],g="smart-banner";function y(e){window.open(e,"_self")}function b(){y((0,c.getStoreUrl)("ios"))}e.s(["SmartAppBanner",0,function(){let e,v,w,S,E,_,P,q,x,A,k,C,I,O,j,L,T,Q,D=(0,r.c)(45),M=(0,o.useDevicePlatform)(),R=(0,s.usePathname)(),$=(0,a.useTranslations)("appBanner"),B=(0,l.useTrack)(),N=(0,u.useRef)(!1),[H,U]=(0,u.useState)(!0);D[0]!==M?(e="ios"===M&&!!c.APP_STORE_ID&&(0,o.detectIsSafari)(),D[0]=M,D[1]=e):e=D[1];let F=e;D[2]!==R||D[3]!==M||D[4]!==F||D[5]!==B?(v=()=>{N.current||"other"===M||F||f()||p.some(e=>R.startsWith(e))||(N.current=!0,B("app_banner_shown",{page:R,context:"global",platform:M}))},w=[M,R,F,B],D[2]=R,D[3]=M,D[4]=F,D[5]=B,D[6]=v,D[7]=w):(v=D[6],w=D[7]),(0,u.useEffect)(v,w),D[8]!==R||D[9]!==M||D[10]!==B?(S=()=>{try{let e={dismissedAt:Date.now()};localStorage.setItem(d,JSON.stringify(e))}catch{}U(!1),B("app_banner_dismissed",{page:R,context:"global",platform:M})},D[8]=R,D[9]=M,D[10]=B,D[11]=S):S=D[11];let K=S;D[12]!==R||D[13]!==M||D[14]!==B?(E=()=>{var e,t,r,n;let i,s=(0,c.getCurrentWebToAppPathname)(R),a=(0,m.getUtmParams)(),u=(0,c.isSingularLinkEnabled)()?"singular":"ios"===M?"app_store":"play_store";B("app_banner_clicked",{page:s,context:"global",platform:M,destination:u,campaign:g,...a}),(0,h.registerDeferredLink)({platform:M,destination:(0,h.deferredLinkDestination)(s),context:"global"});let o=(e=u,t=s,r=a,n=M,i={campaign:g,...(0,c.getWebToAppDeepLinkParams)(t),utmParams:r,fallbackPlatform:"ios"===n?"ios":"android"},"singular"===e?(0,c.buildSingularLinkUrl)(i):null);if(o)return void y(o);let l=(0,c.buildDeepLink)(s);"ios"===M?(y(l),setTimeout(b,1500)):y((0,c.buildStoreUrlWithFallback)("android",s))},D[12]=R,D[13]=M,D[14]=B,D[15]=E):E=D[15];let W=E;return"other"===M||F||!H||f()||p.some(e=>R.startsWith(e))?null:(D[16]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(n.X,{size:16,weight:"bold"}),D[16]=_):_=D[16],D[17]!==K?(P=(0,t.jsx)("button",{type:"button",onClick:K,"aria-label":"Close banner",className:"flex shrink-0 items-center justify-center rounded-full p-0.5 text-white/60 transition-colors hover:text-white",children:_}),D[17]=K,D[18]=P):P=D[18],D[19]===Symbol.for("react.memo_cache_sentinel")?(q=(0,t.jsx)(i.default,{src:"/web-app-manifest-192x192.png",alt:"Shorta",width:36,height:36,className:"shrink-0 rounded-xs border border-white/20"}),D[19]=q):q=D[19],D[20]!==$?(x=$("smartBanner.title"),D[20]=$,D[21]=x):x=D[21],D[22]!==x?(A=(0,t.jsx)("span",{className:"text-sm font-semibold text-white",children:x}),D[22]=x,D[23]=A):A=D[23],D[24]!==$?(k=$("smartBanner.subtitle"),D[24]=$,D[25]=k):k=D[25],D[26]!==k?(C=(0,t.jsx)("span",{className:"truncate text-xs text-white/60",children:k}),D[26]=k,D[27]=C):C=D[27],D[28]!==C||D[29]!==A?(I=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[A,C]}),D[28]=C,D[29]=A,D[30]=I):I=D[30],D[31]!==$?(O=$("smartBanner.ratingText"),D[31]=$,D[32]=O):O=D[32],D[33]!==O?(j=(0,t.jsx)("span",{className:"shrink-0 text-xs text-white/60",children:O}),D[33]=O,D[34]=j):j=D[34],D[35]!==$?(L=$("smartBanner.cta"),D[35]=$,D[36]=L):L=D[36],D[37]!==W||D[38]!==L?(T=(0,t.jsx)("button",{type:"button",onClick:W,className:"shrink-0 rounded-full bg-white px-4 py-1.5 text-xs font-semibold text-black transition-opacity hover:opacity-80",children:L}),D[37]=W,D[38]=L,D[39]=T):T=D[39],D[40]!==I||D[41]!==j||D[42]!==T||D[43]!==P?(Q=(0,t.jsxs)("div",{className:"fixed top-0 right-0 left-0 z-50 flex items-center gap-3 border-b border-white/10 bg-black/80 px-4 py-3 backdrop-blur-md",children:[P,q,I,j,T]}),D[40]=I,D[41]=j,D[42]=T,D[43]=P,D[44]=Q):Q=D[44],Q)}],758068)},670370,e=>{"use strict";var t=e.i(359485),r=e.i(574488),n=e.i(902050);function i(){return!!(0,n.shouldAutoReload)()&&((0,n.markReloadAttempt)(),window.location.reload(),!0)}function s(){return window.addEventListener("error",u),window.addEventListener("unhandledrejection",a),()=>{window.removeEventListener("error",u),window.removeEventListener("unhandledrejection",a)}}function a(e){(0,n.isChunkLoadError)(e.reason)&&i()&&e.preventDefault()}function u(e){(0,n.isChunkLoadError)(e.error)&&i()&&e.preventDefault()}e.s(["ChunkLoadErrorHandler",0,function(){let e,n=(0,t.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],n[0]=e):e=n[0],(0,r.useEffect)(s,e),null}])},525818,e=>{"use strict";var t=e.i(720772),r=e.i(551809),n=e.i(269264),i=e.i(574488),s=e.i(583025),a=e.i(172346),u=e.i(247870);e.s(["LocalProgressSync",0,function(){let{isAuthenticated:e,isLoading:o}=(0,s.useCurrentUser)(),l=(0,n.useQueryClient)(),c=(0,i.useRef)(null),d=(0,i.useRef)(!1),f=(0,i.useRef)(new Map),h=(0,i.useCallback)(async()=>
2{if(!e||o||d.current)return;let n=f.current,i=(e,t)=>`${e}:${t}`,s=(function(e){let t=[];for(let r of e)if(r.currentEpisodeId&&(t.push({showId:r.showId,episodeId:r.currentEpisodeId,timeSeconds:r.completedAt?r.episodeDurationSeconds??r.resumeTimeSeconds:r.resumeTimeSeconds,duration:r.episodeDurationSeconds??0,updatedAt:Math.max(r.updatedAt,r.completedAt??0)}),r.episodes))for(let[e,n]of Object.entries(r.episodes)){if(e===r.currentEpisodeId)continue;let i=n.completedAt?n.durationSeconds??n.resumeTimeSeconds:n.resumeTimeSeconds;t.push({showId:r.showId,episodeId:e,timeSeconds:i,duration:n.durationSeconds??0,updatedAt:Math.max(r.updatedAt,r.completedAt??0)})}return t})((0,a.getAllLocalProgress)()).filter(e=>e.timeSeconds!==n.get(i(e.showId,e.episodeId)));if(0!==s.length){d.current=!0;try{let e=await u.api.progress.bulkSync(s);if(!e.success)return;let o=new Set(e.results.filter(e=>e.synced).map(e=>e.showId));for(let e of s)o.has(e.showId)&&n.set(i(e.showId,e.episodeId),e.timeSeconds);for(let r of e.results)if("server"===r.source)try{let e=await u.api.shows.getProgress(r.showId);if(!e?.currentEpisodeId)continue;let s=e.resumeTimeSeconds??0;(0,a.setLocalProgress)(r.showId,{currentEpisodeId:e.currentEpisodeId,resumeTimeSeconds:s,updatedAt:(0,t.getServerProgressRecordTimestamp)(e)||Date.now()}),n.set(i(r.showId,e.currentEpisodeId),s)}catch{}l.invalidateQueries({queryKey:r.progressKeys.continueWatching()}),l.invalidateQueries({queryKey:r.progressKeys.all})}catch{}finally{d.current=!1}}},[e,o,l]);return(0,i.useEffect)(()=>{if(o)return;let t=c.current;(c.current=e,e)?t||h():f.current.clear()},[e,o,h]),(0,i.useEffect)(()=>{if(!e)return;let t=()=>{h()},r=()=>{"visible"===document.visibilityState&&h()};return window.addEventListener("focus",t),window.addEventListener("online",t),document.addEventListener("visibilitychange",r),()=>{window.removeEventListener("focus",t),window.removeEventListener("online",t),document.removeEventListener("visibilitychange",r)}},[e,h]),null}],525818)},134326,e=>{"use strict";var t=e.i(359485),r=e.i(474412),n=e.i(150118),i=e.i(820439),s=e.i(574488),a=e.i(37754),u=e.i(247870);e.i(245056);let o="NEXT_LOCALE";function l(){return"; Domain=.shorta.com"}let c=new Set(e.i(398877).languages.map(e=>e.code));function d(){}e.s(["LocaleSessionSync",0,function(){let e,f,h,m,p,g,y,b,v=(0,t.c)(28),w=(0,i.useLocale)(),S=(0,n.useRouter)(),E=(0,n.useSearchParams)(),{user:_,isAnonymous:P}=(0,a.useAuth)(),q=(0,s.useRef)(null),x=(0,s.useRef)(null),A=(0,s.useRef)(null),k=(0,s.useRef)(null);v[0]!==w?(e=()=>{null===A.current&&(A.current=document.cookie.split("; ").some(e=>e.startsWith(`${o}=`)&&e.length>o.length+1)),null===k.current&&(k.current=w)},f=[w],v[0]=w,v[1]=e,v[2]=f):(e=v[1],f=v[2]),(0,s.useEffect)(e,f),v[3]!==P||v[4]!==w||v[5]!==_?(h=()=>{if(!_?.id||P||!c.has(w)||_.lang===w||null!==_.lang)return;let e=`${_.id}:${w}`;q.current!==e&&u.api.users.updateCurrentPartial({lang:w}).then(()=>{q.current=e},d)},v[3]=P,v[4]=w,v[5]=_,v[6]=h):h=v[6];let C=_?.id,I=_?.lang;v[7]!==P||v[8]!==w||v[9]!==C||v[10]!==I?(m=[P,w,C,I],v[7]=P,v[8]=w,v[9]=C,v[10]=I,v[11]=m):m=v[11],(0,s.useEffect)(h,m),v[12]!==w?(p=()=>{c.has(w)&&(document.cookie=`${o}=${w}; Path=/; Max-Age=31536000; SameSite=Lax${l()}`)},g=[w],v[12]=w,v[13]=p,v[14]=g):(p=v[13],g=v[14]),(0,s.useEffect)(p,g),v[15]!==P||v[16]!==w||v[17]!==S||v[18]!==E||v[19]!==_?(y=()=>{if(!_?.id||P||!1!==A.current||null!==k.current&&w!==k.current||!_.lang||_.lang===r.DEFAULT_LOCALE)return;
2let e=(0,r.resolvePreferredLocale)(_.lang,r.SUPPORTED_LOCALES);if(!e||e===w)return;let t=E.get("lang");if(t&&(0,r.resolvePreferredLocale)(t,r.SUPPORTED_LOCALES))return;let n=`${_.id}:${e}`;x.current!==n&&(x.current=n,document.cookie=`${o}=${e}; Path=/; Max-Age=31536000; SameSite=Lax${l()}`,S.refresh())},v[15]=P,v[16]=w,v[17]=S,v[18]=E,v[19]=_,v[20]=y):y=v[20];let O=_?.id,j=_?.lang;return v[21]!==P||v[22]!==w||v[23]!==S||v[24]!==E||v[25]!==j||v[26]!==O?(b=[P,w,S,E,O,j],v[21]=P,v[22]=w,v[23]=S,v[24]=E,v[25]=j,v[26]=O,v[27]=b):b=v[27],(0,s.useEffect)(y,b),null}],134326)},443009,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(136132);e.s(["IconProvider",0,function(e){let i,s,a=(0,r.c)(3),{children:u}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(i={size:16,weight:"regular"},a[0]=i):i=a[0],a[1]!==u?(s=(0,t.jsx)(n.IconContext.Provider,{value:i,children:u}),a[1]=u,a[2]=s):s=a[2],s}])},170646,(e,t,r)=>{t.exports=e.r(422901)},982210,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(806211),i=e.i(460037),s=e.i(170646),a=e.i(574488),u=e.i(37754),o=e.i(247870),l=e.i(796862);function c(){return o.api.users.getIntercomJwt()}e.s(["IntercomProvider",0,function(){let e,o,d,f,h,m,p=(0,r.c)(17),{user:g}=(0,u.useAuth)(),[y,b]=(0,a.useState)(!1),v=(0,a.useRef)(null),w=!!g?.id&&!g.isAnonymous,S=g?.id;p[0]!==S?(e=["users","me","intercom-jwt",S],p[0]=S,p[1]=e):e=p[1],p[2]!==w||p[3]!==e?(o={queryKey:e,queryFn:c,enabled:w,staleTime:n.STALE_USER_ACTION},p[2]=w,p[3]=e,p[4]=o):o=p[4];let{data:E}=(0,i.useQuery)(o);p[5]!==w||p[6]!==E||p[7]!==y||p[8]!==g?(d=()=>{if(!y)return;if(!w||!E?.token||!g?.id){v.current&&((0,l.shutdownIntercom)(),v.current=null);return}let e=`${g.id}:${E.token}`;v.current!==e&&((0,l.shutdownIntercom)(),(0,l.bootIntercom)(E.token),v.current=e)},p[5]=w,p[6]=E,p[7]=y,p[8]=g,p[9]=d):d=p[9];let _=E?.token,P=g?.id;return(p[10]!==w||p[11]!==y||p[12]!==_||p[13]!==P?(f=[w,_,y,P],p[10]=w,p[11]=y,p[12]=_,p[13]=P,p[14]=f):f=p[14],(0,a.useEffect)(d,f),w)?(p[15]===Symbol.for("react.memo_cache_sentinel")?(h=(0,l.getIntercomAppId)(),p[15]=h):h=p[15],p[16]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(s.default,{id:"intercom-widget",src:`https://widget.intercom.io/widget/${h}`,strategy:"afterInteractive",onLoad:()=>b(!0)}),p[16]=m):m=p[16],m):null}])},148054,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(402759);e.s(["JotaiProvider",0,function(e){let i,s=(0,r.c)(2),{children:a}=e;return s[0]!==a?(i=(0,t.jsx)(n.Provider,{children:a}),s[0]=a,s[1]=i):i=s[1],i}])},795071,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(150118),i=e.i(289193),s=e.i(940659),a=e.i(574488),u=e.i(37754),o=e.i(586281);function l(){let e,t,n=(0,r.c)(4),{user:i}=(0,u.useAuth)(),l=(0,s.usePostHog)();return n[0]!==l||n[1]!==i?(e=()=>{if(l)if(i){let e=Object.fromEntries(Object.entries({email:i.email,name:i.name,createdAt:i.createdAt,lang:i.lang,country:i.country,birthdate:i.birthdate,gender:i.gender}).filter(c));(0,o.identifyPostHogUser)(i.id,e)}else(0,o.resetPostHogUserIfIdentified)()},t=[i,l],n[0]=l,n[1]=i,n[2]=e,n[3]=t):(e=n[2],t=n[3]),(0,a.useEffect)(e,t),null}function c(e){let[,t]=e;return null!=t}function d(e){let t,i,s=(0,r.c)(5),{isInitialized:u}=e,l=(0,n.usePathname)(),c=(0,n.useSearchParams)();return s[0]!==u||s[1]!==l||s[2]!==c?(t=()=>{if(l&&u){let e=window.origin+l,t=c.toString();t&&(e+=`?${t}`),(0,o.capturePostHogEvent)("$pageview",{$current_url:e})}},i=[l,c,u],s[0]=u,s[1]=l,s[2]=c,s[3]=t,s[4]=i):(t=s[3],i=s[4]),(0,a.useEffect)(t,i),null}function f(e){let n,i=(0,r.c)(2),{isInitialized:s}=e;return i[0]!==s?(n=(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(d,{isInitialized:s})}),i[0]=s,i[1]=n):n=i[1],n}e.s(["PostHogIdentityBridge",0,l,"PostHogProvider",0,function(e){let n,u,c,d,h,m=(0,r.c)(8),{children:p}=e,[g,y]=(0,a.useState)(!1);return m[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{i.default.init("phc_fvf7lyT2ULfD727WxBMoAEjPk9yEhcyLfpOWXU5X9ZD",{api_host:"/ingest",ui_host:"https://us.posthog.com",capture_pageview:!1,capture_pageleave:!0,loaded:e=>{y(!0),(0,o.markPostHogReady)()}})},u=[],m[0]=n,m[1]=u):(n=m[0],u=m[1]),(0,a.useEffect)(n,u),m[2]!==g?(c=(0,t.jsx)(f,{isInitialized:g}),m[2]=g,m[3]=c):c=m[3],m[4]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(l,{})}),m[4]=d):d=m[4],m[5]!==p||m[6]!==c?(h=(0,t.jsxs)(s.PostHogProvider,{client:i.default,children:[c,d,p]}
2),m[5]=p,m[6]=c,m[7]=h):h=m[7],h}])},589709,e=>{"use strict";let t;var r=e.i(756958),n=e.i(359485),i=e.i(806211),s=e.i(747080),a=e.i(592671),u=e.i(934031),o=e.i(31677),l=e.i(845149),c=e.i(638100),d=class extends l.Subscribable{#e;#t;#r;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#r=0}build(e,t,r){let n=new c.Mutation({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#e.add(e);let t=f(e);if("string"==typeof t){let r=this.#t.get(t);r?r.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){let t=f(e);if("string"==typeof t){let r=this.#t.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=f(e);if("string"!=typeof t)return!0;{let r=this.#t.get(t)?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=f(e);return"string"==typeof t?this.#t.get(t)?.find(t=>
2t!==e&&t.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){u.notifyManager.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,s.matchMutation)(e,t))}notify(e){u.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return u.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(s.noop))))}};function f(e){return e.options.scope?.id}var h=l,m=e.i(83777),p=class extends h.Subscribable{#n;constructor(e={}){super(),this.config=e,this.#n=new Map}build(e,t,r){let n=t.queryKey,i=t.queryHash??(0,s.hashQueryKeyByOptions)(n,t),a=this.get(i);return a||(a=new m.Query({client:e,queryKey:n,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(a)),a}add(e){this.#n.has(e.queryHash)||(this.#n.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#n.get(e.queryHash);t&&(e.destroy(),t===e&&this.#n.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){u.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#n.get(e)}getAll(){return[...this.#n.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,s.matchQuery)(e,t)):t}notify(e){u.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){u.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){u.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},g=class{#i;#s;#a;#u;#o;#l;#c;#d;constructor(e={}){this.#i=e.queryCache||new p,this.#s=e.mutationCache||new d,this.#a=e.defaultOptions||{},this.#u=new Map,this.#o=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#c=a.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onFocus())}),this.#d=o.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#i.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#i.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#i.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,s.resolveQueryValue)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#i.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),i=this.#i.get(n.queryHash)?.state.data,a=(0,s.functionalUpdate)(t,i);if(void 0!==a)return this.#i.build(this,n).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return u.notifyManager.batch(()=>this.#i.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#i.get(t.queryHash)?.state}removeQueries(e){let t=this.#i;u.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#i;return u.notifyManager.batch(()=>{let n=r.findAll(e),i=new Set(n);return n.forEach(e=>{e.reset()}),this.refetchQueries({type:"active",predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(u.notifyManager.batch(()=>this.#i.findAll(e).map(e=>e.cancel(r)))).then(s.noop).catch(s.noop)}invalidateQueries(e,t={}){return u.notifyManager.batch(()=>(this.#i.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(u.notifyManager.batch(()=>this.#i.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(s.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}
2))).then(s.noop)}async query(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#i.build(this,t),n=r.isStaleByTime((0,s.resolveQueryValue)(t.staleTime,r))?await r.fetch(t):r.state.data,i=t.select;return i?i(n):n}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#i.build(this,t);return r.isStaleByTime((0,s.resolveQueryValue)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s.noop).catch(s.noop)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s.noop).catch(s.noop)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return o.onlineManager.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#i}getMutationCache(){return this.#s}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#u.set((0,s.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#u.values()],r={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#o.set((0,s.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#o.values()],r={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,s.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===s.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#i.clear(),this.#s.clear()}},y=e.i(269264);function b(){return new g({defaultOptions:{queries:{staleTime:3e5,gcTime:(0,i.gcFromStale)(i.STALE_STATIC),refetchOnWindowFocus:!0},mutations:{retry:3,retryDelay:e=>Math.min(1e3*2**e,3e4)}}})}e.s(["default",0,function(e){let i,a,u=(0,n.c)(3),{children:o}=e;u[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.isServer?b():t??=b(),u[0]=i):i=u[0];let l=i;return u[1]!==o?(a=(0,r.jsx)(y.QueryClientProvider,{client:l,children:o}),u[1]=o,u[2]=a):a=u[2],a}],589709)},446896,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(150118),i=e.i(170646),s=e.i(574488),a=e.i(37754),u=e.i(586281),o=e.i(237037),l=e.i(215801);function c(){let e,t,i=(0,r.c)(5),a=(0,n.usePathname)(),u=(0,n.useSearchParams)();i[0]!==u?(e=u.toString(),i[0]=u,i[1]=e):e=i[1];let o=e;return i[2]!==a||i[3]!==o?(t=[a,o],i[2]=a,i[3]=o,i[4]=t):t=i[4],(0,s.useEffect)(d,t),null}function d(){(0,l.getSingularAttributionParams)()}function f(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(s.Suspense,{fallback:null,children:(0,t.jsx)(c,{})}),n[0]=e):e=n[0],e}function h(e){let t,i,a,u=(0,r.c)(7),{isReady:l}=e,c=(0,n.usePathname)(),d=(0,n.useSearchParams)();u[0]!==d?(t=d.toString(),u[0]=d,u[1]=t):t=u[1];let f=`${c}?${t}`,h=(0,s.useRef)(!1);return u[2]!==l?(i=()=>{if(l){if(!h.current){h.current=!0;return}(0,o.trackSingularPageVisit)()}},u[2]=l,u[3]=i):i=u[3],u[4]!==l||u[5]!==f?(a=[l,f],u[4]=l,u[5]=f,u[6]=a):a=u[6],(0,s.useEffect)(i,a),null}function m(e){let n,i=(0,r.c)(2),{isReady:a}=e;return i[0]!==a?(n=(0,t.jsx)(s.Suspense,{fallback:null,children:(0,t.jsx)(h,{isReady:a})}),i[0]=a,i[1]=n):n=i[1],n}function p(e){let t,n,i=(0,r.c)(4),{isReady:u}=e,{user:l}=(0,a.useAuth)();return i[0]!==u||i[1]!==l?(t=()=>{u&&(l?(0,o.setSingularUserId)(l.id):(0,o.resetSingularUserId)())},n=[l,u],i[0]=u,i[1]=l,i[2]=t,i[3]=n):(t=i[2],n=i[3]),(0,s.useEffect)(t,n),null}function g(e){let n,i=(0,r.c)(2),{isReady:a}=e;return i[0]!==a?(n=(0,t.jsx)(s.Suspense,{fallback:null,children:(0,t.jsx)(p,{isReady:a})}),i[0]=a,i[1]=n):n=i[1],n}function y(e){(0,u.registerPostHogSuperProperties)({singular_device_id:e})}function b(){return(0,o.isSingularWebInitialized)()}e.s(["SingularWebProvider",0,function(e){let n,a,u,l,c,d,h=(0,r.c)(13),{children:p}
2=e,[v,w]=(0,s.useState)(b),S=(0,o.isSingularWebConfigured)();h[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{(0,o.initializeSingularWebSdk)(y)&&w(!0)},h[0]=n):n=h[0];let E=n;if(!S){let e,r;return h[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(f,{}),h[1]=e):e=h[1],h[2]!==p?(r=(0,t.jsxs)(t.Fragment,{children:[e,p]}),h[2]=p,h[3]=r):r=h[3],r}return h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(i.default,{id:"singular-web-sdk",src:"https://web-sdk-cdn.singular.net/singular-sdk/latest/singular-sdk.js",strategy:"afterInteractive",onReady:E}),u=(0,t.jsx)(f,{}),h[4]=a,h[5]=u):(a=h[4],u=h[5]),h[6]!==v?(l=(0,t.jsx)(m,{isReady:v}),c=(0,t.jsx)(g,{isReady:v}),h[6]=v,h[7]=l,h[8]=c):(l=h[7],c=h[8]),h[9]!==p||h[10]!==l||h[11]!==c?(d=(0,t.jsxs)(t.Fragment,{children:[a,u,l,c,p]}),h[9]=p,h[10]=l,h[11]=c,h[12]=d):d=h[12],d}])},557223,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(968291);e.s(["ThemeProvider",0,function(e){let i,s,a,u=(0,r.c)(6);return u[0]!==e?({children:i,...s}=e,u[0]=e,u[1]=i,u[2]=s):(i=u[1],s=u[2]),u[3]!==i||u[4]!==s?(a=(0,t.jsx)(n.ThemeProvider,{...s,children:i}),u[3]=i,u[4]=s,u[5]=a):a=u[5],a}])},488343,e=>{"use strict";var t=e.i(756958),r=e.i(359485),n=e.i(150118),i=e.i(170646),s=e.i(574488),a=e.i(858031);let u="1531509134984027",o="D6NCHABC77UET383QDA0",l="AW-18122715251",c="G-BQEYX1663Q";function d(){let e=(0,n.usePathname)(),t=(0,n.useSearchParams)(),r=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{if(e){if(!r.current){r.current=!0;return}(0,a.trackMetaStandard)("PageView");try{window.ttq?.page()}catch{}(0,a.trackGoogle)("page_view",{page_path:e})}},[e,t]),null}function f(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(s.Suspense,{fallback:null,children:(0,t.jsx)(d,{})}),n[0]=e):e=n[0],e}e.s(["TrackingPixelsProvider",0,function(e){let n,s,a,d,h,m=(0,r.c)(8),{children:p}=e,g=c||l;return m[2]===Symbol.for("react.memo_cache_sentinel")?(n=u&&(0,t.jsx)(i.default,{id:"meta-pixel",strategy:"afterInteractive",children:` 3 !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? 4 n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; 5 n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; 6 t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)} 7 (window,document,'script','https://connect.facebook.net/en_US/fbevents.js'); 8 fbq('init','${u}'); 9 fbq('track','PageView'); 10 `}),s=o&&(0,t.jsx)(i.default,{id:"tiktok-pixel",strategy:"afterInteractive",children:` 11 !function(w,d,t){w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[]; 12 ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"]; 13 ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}; 14 for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]); 15 ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e}; 16 ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner; 17 ttq._i=ttq._i||{};ttq._i[e]=[];ttq._i[e]._u=r;ttq._t=ttq._t||{};ttq._t[e+""]=+new Date; 18 ttq._o=ttq._o||{};ttq._o[e+""]=n||{}; 19 var a=d.createElement("script");a.type="text/javascript";a.async=!0;a.src=r+"?sdkid="+e+"&lib="+t; 20 var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(a,s)}; 21 ttq.load('${o}');ttq.page(); 22 }(window,document,'ttq'); 23 `}),a=g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{src:`https://www.googletagmanager.com/gtag/js?id=${g}`,strategy:"afterInteractive"}),(0,t.jsx)(i.default,{id:"google-gtag",strategy:"afterInteractive",children:` 24 window.dataLayer=window.dataLayer||[]; 25 function gtag(){dataLayer.push(arguments);} 26 gtag('js',new Date()); 27 gtag('config','${c}'); 28 gtag('config','${l}'); 29 `})]}),d=(0,t.jsx)(f,{}),m[2]=n,m[3]=s,m[4]=a,m[5]=d):(n=m[2],s=m[3],a=m[4],d=m[5]),m[6]!==p?(h=(0,t.jsxs)(t.Fragment,{children:[n,s,a,d,p]}),m[6]=p,m[7]=h):h=m[7],h}])}]); 30 31//# debugId=39e0c320-226f-f6f8-3c1a-7b2e7a250341
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.