PageSourceSearch

https://suno.com/_next/static/immutable/chunks/08p6xk46bh0se.js

js suno.com collected 2026-09-24 08:03:31 UTC 15,974 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5871539d-46a8-5b33-95af-b01a8283603f")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,351853,(e,t,r)=>{var n=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt,c=e.g&&e.g.Object===Object&&e.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),d=Object.prototype.toString,v=Math.max,g=Math.min,h=function(){return f.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return n;if(p(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=p(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var c=s.test(e);return c||a.test(e)?u(e.slice(2),c?2:8):o.test(e)?n:+e}t.exports=function(e,t,r){var n,i,o,s,a,u,c=0,l=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var r=n,o=i;return n=i=void 0,c=t,s=e.apply(o,r)}function y(e){var r=e-u,n=e-c;return void 0===u||r>=t||r<0||f&&n>=o}function E(){var e,r,n,i=h();if(y(i))return S(i);a=setTimeout(E,(e=i-u,r=i-c,n=t-e,f?g(n,o-r):n))}function S(e){return(a=void 0,d&&n)?w(e):(n=i=void 0,s)}function b(){var e,r=h(),o=y(r);if(n=arguments,i=this,u=r,o){if(void 0===a)return c=e=u,a=setTimeout(E,t),l?w(e):s;if(f)return a=setTimeout(E,t),w(u)}return void 0===a&&(a=setTimeout(E,t)),s}return t=m(t)||0,p(r)&&(l=!!r.leading,o=(f="maxWait"in r)?v(m(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d),b.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=u=i=a=void 0},b.flush=function(){return void 0===a?s:S(h())},b}},707089,e=>{"use strict";var t=e.i(554907);let r=(0,t.createContext)(null),n={didCatch:!1,error:null};class i extends t.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=n}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];null==(t=(r=this.props).onReset)||t.call(r,{args:o,reason:"imperative-api"}),this.setState(n)}}componentDidCatch(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:i}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,i)){var o,s;null==(o=(s=this.props).onReset)||o.call(s,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(n)}}render(){let{children:e,fallbackRender:n,FallbackComponent:i,fallback:o}=this.props,{didCatch:s,error:a}=this.state,u=e;if(s){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof n)u=n(e);else if(i)u=(0,t.createElement)(i,e);else if(void 0!==o)u=o;else throw a}return(0,t.createElement)(r.Provider,{value:{didCatch:s,error:a,resetErrorBoundary:this.resetErrorBoundary}},u)}}e.s(["ErrorBoundary",0,i])},551283,e=>{"use strict";var t=e.i(554907),r=e.i(351853),n="u">typeof window?t.useLayoutEffect:t.useEffect;function i(e,r,i,o){let s=(0,t.useRef)(r);n(()=>{s.current=r},[r]),(0,t.useEffect)(()=>{let t=(null==i?void 0:i.current)??window;if(!(t&&t.addEventListener))return;let r=e=>{s.current(e)};return t.addEventListener(e,r,o),()=>{t.removeEventListener(e,r,o)}},[e,i,o])}function o(e){let r=(0,t.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return n(()=>{r.current=e},[e]),(0,t.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},[r])}var s="u"<typeof window,a="u"<typeof window,u={width:void 0,height:void 0};function c(e,t,r){return e[t]?Array.isArray(e[t])?e[t][0][r]:e[t][r]:"contentBoxSize"===t?e.contentRect["inlineSize"===r?"width":"height"]:void 0}var l="u"<typeof window;e.s(["useDebounceValue",0,function(e,n,i){let o=(null==i?void 0:i.equalityFn)??((e,t)=>e===t),s=e instanceof Function?e():e,[a,u]=(0,t.useState)(s),c=(0,t.useRef)(s),l=function(e,n=500,i){var o;let s,a=(0,t.useRef)();o=()=>{a.current&&a.current.cancel()},(s=(0,t.useRef)(o)).current=o,(0,t.useEffect)(()=>()=>{s.current()},[]);let u=(0,t.useMemo)(()=>{let t=(0,r.default)(e,n,i),o=(...e)=>t(...e);return o.cancel=()=>{t.cancel()},o.isPending=()=>!!a.current,o.flush=()=>t.flush(),o},[e,n,i]);return(0,t.useEffect)(()=>()=>u.cancel(),[u]),(0,t.useEffect)(()=>{a.current=(0,r.default)(e,n,i)},[e,n,i]),u}(u,n,i);return o(c.current,s)||(l(s),c.current=s),[a,l]},"useEventCallback",0,o,"useEventListener",0,i,"useIntersectionObserver",0,function({threshold:e=0,root:r=null,rootMargin:n="0%",freezeOnceVisible:i=!1,initialIsIntersecting:o=!1,onChange:s}={}){var a;let[u,c]=(0,t.useState)(null),[l,f]=(0,t.useState)(()=>({isIntersecting:o,entry:void 0})),d=(0,t.useRef)();d.current=s;let v=(null==(a=l.entry)?void 0:a.isIntersecting)&&i;(0,t.useEffect)(()=>{let t;if(!u||!("IntersectionObserver"in window)||v)return;let o=new IntersectionObserver(e=>{let r=Array.isArray(o.thresholds)?o.thresholds:[o.thresholds];
3e.forEach(e=>{let n=e.isIntersecting&&r.some(t=>e.intersectionRatio>=t);f({isIntersecting:n,entry:e}),d.current&&d.current(n,e),n&&i&&t&&(t(),t=void 0)})},{threshold:e,root:r,rootMargin:n});return o.observe(u),()=>{o.disconnect()}},[u,JSON.stringify(e),r,n,v,i]);let g=(0,t.useRef)(null);(0,t.useEffect)(()=>{var e;u||null==(e=l.entry)||!e.target||i||v||g.current===l.entry.target||(g.current=l.entry.target,f({isIntersecting:o,entry:void 0}))},[u,l.entry,i,v,o]);let h=[c,!!l.isIntersecting,l.entry];return h.ref=h[0],h.isIntersecting=h[1],h.entry=h[2],h},"useInterval",0,function(e,r){let i=(0,t.useRef)(e);n(()=>{i.current=e},[e]),(0,t.useEffect)(()=>{if(null===r)return;let e=setInterval(()=>{i.current()},r);return()=>{clearInterval(e)}},[r])},"useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e},"useIsomorphicLayoutEffect",0,n,"useLocalStorage",0,function(e,r,n={}){let{initializeWithValue:a=!0}=n,u=(0,t.useCallback)(e=>n.serializer?n.serializer(e):JSON.stringify(e),[n]),c=(0,t.useCallback)(e=>{let t;if(n.deserializer)return n.deserializer(e);if("undefined"===e)return;let i=r instanceof Function?r():r;try{t=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),i}return t},[n,r]),l=(0,t.useCallback)(()=>{let t=r instanceof Function?r():r;if(s)return t;try{let r=window.localStorage.getItem(e);return r?c(r):t}catch(r){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,r),t}},[r,e,c]),[f,d]=(0,t.useState)(()=>a?l():r instanceof Function?r():r),v=o(t=>{s&&console.warn(`Tried setting localStorage key \u201C${e}\u201D even though environment is not a client`);try{let r=t instanceof Function?t(l()):t;window.localStorage.setItem(e,u(r)),d(r),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(t){console.warn(`Error setting localStorage key \u201C${e}\u201D:`,t)}}),g=o(()=>{s&&console.warn(`Tried removing localStorage key \u201C${e}\u201D even though environment is not a client`);let t=r instanceof Function?r():r;window.localStorage.removeItem(e),d(t),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))});(0,t.useEffect)(()=>{d(l())},[e]);let h=(0,t.useCallback)(t=>{t.key&&t.key!==e||d(l())},[e,l]);return i("storage",h),i("local-storage",h),[f,v,g]},"useMediaQuery",0,function(e,{defaultValue:r=!1,initializeWithValue:i=!0}={}){let o=e=>a?r:window.matchMedia(e).matches,[s,u]=(0,t.useState)(()=>i?o(e):r);function c(){u(o(e))}return n(()=>{let t=window.matchMedia(e);return c(),t.addListener?t.addListener(c):t.addEventListener("change",c),()=>{t.removeListener?t.removeListener(c):t.removeEventListener("change",c)}},[e]),s},"useOnClickOutside",0,function(e,t,r="mousedown",n={}){i(r,r=>{let n=r.target;n&&n.isConnected&&(Array.isArray(e)?e.filter(e=>!!e.current).every(e=>e.current&&!e.current.contains(n)):e.current&&!e.current.contains(n))&&t(r)},void 0,n)},"useResizeObserver",0,function(e){let r,{ref:n,box:i="content-box"}=e,[{width:o,height:s},a]=(0,t.useState)(u),l=(r=(0,t.useRef)(!1),(0,t.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,t.useCallback)(()=>r.current,[])),f=(0,t.useRef)({...u}),d=(0,t.useRef)(void 0);return d.current=e.onResize,(0,t.useEffect)(()=>{if(!n.current||"u"<typeof window||!("ResizeObserver"in window))return;let e=new ResizeObserver(([e])=>{let t="border-box"===i?"borderBoxSize":"device-pixel-content-box"===i?"devicePixelContentBoxSize":"contentBoxSize",r=c(e,t,"inlineSize"),n=c(e,t,"blockSize");if(f.current.width!==r||f.current.height!==n){let e={width:r,height:n};f.current.width=r,f.current.height=n,d.current?d.current(e):l()&&a(e)}});return e.observe(n.current,{box:i}),()=>{e.disconnect()}},[i,n,l]),{width:o,height:s}},"useSessionStorage",0,function(e,r,n={}){let{initializeWithValue:s=!0}=n,a=(0,t.useCallback)(e=>n.serializer?n.serializer(e):JSON.stringify(e),[n]),u=(0,t.useCallback)(e=>{let t;if(n.deserializer)return n.deserializer(e);if("undefined"===e)return;let i=r instanceof Function?r():r;try{t=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),i}return t},[n,r]),c=(0,t.useCallback)(()=>{let t=r instanceof Function?r():r;if(l)return t;try{let r=window.sessionStorage.getItem(e);return r?u(r):t}catch(r){return console.warn(`Error reading sessionStorage key \u201C${e}\u201D:`,r),t}},[r,e,u]),[f,d]=(0,t.useState)(()=>s?c():r instanceof Function?r():r),v=o(t=>{l&&console.warn(`Tried setting sessionStorage key \u201C${e}\u201D even though environment is not a client`);try{let r=t instanceof Function?t(c()):t;window.sessionStorage.setItem(e,a(r)),d(r),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))}catch(t){console.warn(`Error setting sessionStorage key \u201C${e}\u201D:`,t)}}),g=o(()=>{l&&console.warn(`Tried removing sessionStorage key \u201C${e}\u201D even though environment is not a client`);let t=r instanceof Function?r():r;window.sessionStorage.removeItem(e),d(t),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))});(0,t.useEffect)(()=>{d(c())},[e]);let h=(0,t.useCallback)(t=>{t.key&&t.key!==e||d(c())},[e,c]);return i("storage",h),i("session-storage",h),[f,v,g]},"useTimeout",0,function(e,r){let i=(0,t.useRef)(e);n(()=>{i.current=e},[e]),(0,t.useEffect)(()=>
3{if(!r&&0!==r)return;let e=setTimeout(()=>{i.current()},r);return()=>{clearTimeout(e)}},[r])}])},328062,e=>{"use strict";var t=e.i(673157),r=e.i(554907),n=e.i(877130);let i=(0,r.forwardRef)((e,r)=>(0,t.jsx)("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",...e,className:(0,n.twMerge)("h-5 w-5 animate-spin",e.className),children:(0,t.jsx)("path",{d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10-10-4.48-10-10c0-.41.34-.75.75-.75s.75.34.75.75c0 4.41 3.59 8 8 8s8-3.59 8-8-3.59-8-8-8c-.41 0-.75-.34-.75-.75S11.59 2 12 2z"})}));i.displayName="SpinnerSVG",e.s(["default",0,i])},964977,e=>{"use strict";var t=e.i(673157),r=e.i(554907);e.i(481045);var n=e.i(687328),i=e.i(103929);e.i(459217),e.i(948312),e.i(725516),e.i(610177);let o=(0,r.createContext)(null);function s(){return(0,r.useContext)(o)}e.s(["AppI18nProvider",0,function({effectiveLocale:e,children:s,i18nInstance:a,initialI18nResources:u}){let c,[l]=(0,r.useState)(()=>a??(0,i.initializeClientI18n)({initialResources:u}));return c=(0,r.useRef)(void 0),e&&(c.current?.instance!==l||c.current.locale!==e)&&(c.current={instance:l,locale:e},l.language!==e&&l.changeLanguage(e)),(0,t.jsx)(o.Provider,{value:l,children:(0,t.jsx)(n.I18nextProvider,{i18n:l,children:s})})},"useAppI18n",0,function(){let e=s();if(!e)throw Error("useAppI18n must be used within AppI18nProvider");return e},"useOptionalAppI18n",0,s],964977)},548004,e=>{"use strict";var t=e.i(551283),r=e.i(725516);function n(e,r=!1){return(0,t.useMediaQuery)(`(min-width: ${e}px)`,{initializeWithValue:r})}
3e.s(["default",0,n,"useBreakpointLg",0,function(e=!1){return n(r.TAILWIND_LARGE_MIN_WIDTH,e)},"useBreakpointMd",0,function(e=!1){return n(r.TAILWIND_MEDIUM_MIN_WIDTH,e)},"useBreakpointXl",0,function(e=!1){return n(r.TAILWIND_XL_MIN_WIDTH,e)}])},157348,e=>{"use strict";var t=e.i(673157),r=e.i(7284),n=e.i(463984),i=e.i(554907),o=e.i(707089);e.i(481045);var s=e.i(536952),a=e.i(248949),u=e.i(180219),c=e.i(427988);e.i(179395);var l=e.i(73605),f=e.i(274918),d=e.i(725516);function v({error:e,instance:t,resetErrorBoundary:r}){let[n,o]=(0,i.useState)(e),[s,l]=(0,i.useState)(!1),[f,g]=(0,i.useState)(null),h=(0,i.useRef)(!1),p=(0,i.useRef)("u">typeof navigator&&!navigator.onLine),m=(0,i.useRef)(0),w=(0,i.useRef)(!1),y=(0,i.useCallback)(()=>{w.current||(w.current=!0,r())},[r]);if((0,i.useEffect)(()=>()=>{m.current+=1,h.current=!1},[]),(0,i.useEffect)(()=>{let e=()=>{(0,c.hasUsableNamespaceResource)({instance:t,language:n.language,namespace:n.namespace})&&y()},r=t=>{(function({error:e,loaded:t}){return Object.entries(t).some(([t,r])=>(function({error:e,language:t}){return t===e.language||t===d.DEFAULT_LOCALE})({error:e,language:t})&&!0===r[e.namespace])})({error:n,loaded:t})&&e()};return t.on("loaded",r),e(),()=>{t.off("loaded",r)}},[t,y,n]),f)throw f.error;let E=(0,i.useCallback)(()=>{if(h.current)return;h.current=!0,l(!0);let e=++m.current;(async()=>{try{if(await (0,a.retryNamespaceLoad)({instance:t,error:n}),m.current!==e)return;y()}catch(t){if(m.current!==e)return;if(t instanceof u.NamespaceLoadError){h.current=!1,o(t),l(!1);return}g({error:t})}})()},[t,y,n]);return(0,i.useEffect)(()=>{if((0,u.getTerminalNamespaceLoadCause)(n)!==u.TerminalNamespaceLoadCause.TransientNetwork)return;let e=()=>{p.current=!0},t=()=>{p.current&&!h.current&&(p.current=!1,E())};return window.addEventListener("offline",e),window.addEventListener("online",t),navigator.onLine?t():e(),()=>{window.removeEventListener("offline",e),window.removeEventListener("online",t)}},[E,n]),{error:n,isRetrying:s,retry:E}}class g extends o.ErrorBoundary{static getDerivedStateFromError(e){if((0,n.unstable_rethrow)(e),!(e instanceof u.NamespaceLoadError))throw e;return o.ErrorBoundary.getDerivedStateFromError(e)}}function h({fillViewport:e=!1,isRetrying:n,onDismiss:i,retry:o,retryButtonRef:a}){let{t:u}=(0,s.useTranslation)("common");return(0,t.jsxs)("div",{className:(0,r.default)("flex w-full flex-col items-center justify-center gap-4 p-6 text-center",e?"min-h-dvh":"min-h-full"),children:[(0,t.jsx)("p",{role:"alert",className:"text-foreground-secondary",children:u("fallbacks.contentUnavailable")}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.Button,{ref:a,size:f.ButtonSize.Medium,variant:f.ButtonVariant.Standard,disabled:n,onClick:o,children:u(n?"actions.retrying":"actions.retry")}),i?(0,t.jsx)(l.Button,{size:f.ButtonSize.Medium,variant:f.ButtonVariant.Standard,onClick:i,children:u("cta.close")}):null]})]})}function p({error:e,renderFallback:r,resetErrorBoundary:n}){let{i18n:i}=(0,s.useTranslation)("common"),o=v({error:e,instance:i,resetErrorBoundary:n});return r?r(o):(0,t.jsx)(h,{...o})}function m({error:e,expectedNamespace:r,renderFallback:n,resetErrorBoundary:i}){if(r&&e.namespace!==r)throw e;return(0,t.jsx)(p,{error:e,renderFallback:n,resetErrorBoundary:i})}e.s(["ContentUnavailableRetryView",0,h,"NamespaceLoadErrorBoundary",0,function({children:e,expectedNamespace:r,renderFallback:n}){let{i18n:i}=(0,s.useTranslation)("common");return(0,t.jsx)(g,{fallbackRender:e=>(0,t.jsx)(m,{...e,expectedNamespace:r,renderFallback:n}),resetKeys:[i.language],children:e})},"useNamespaceLoadRecovery",0,v])}]);
4
5//# sourceMappingURL=0fi6kfxhc8xv0.js.map
6//# debugId=5871539d-46a8-5b33-95af-b01a8283603f

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.