1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26039,e=>{"use strict";var t=e.i(75120),a=e.i(64645);function n(){return"u">typeof window}function r(){return"production"}function o(){return(n()?window.vam:r())||"production"}function s(){return"production"===o()}function i(){return"development"===o()}e.s(["Analytics",0,function(e){return(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,a.useEffect)(()=>{!function(e={debug:!0}){var t;if(!n())return;!function(e="auto"){if("auto"===e){window.vam=r();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let a=e.scriptSrc?e.scriptSrc:i()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${a}"]`))return;let o=document.createElement("script");o.src=a,o.defer=!0,o.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),o.dataset.sdkv="1.6.1",e.disableAutoTrack&&(o.dataset.disableAutoTrack="1"),e.endpoint?o.dataset.endpoint=e.endpoint:e.basePath&&(o.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(o.dataset.dsn=e.dsn),o.onerror=()=>{let e=i()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${a}. ${e}`)},i()&&!1===e.debug&&(o.dataset.debug="false"),document.head.appendChild(o)}({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}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,a.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var a;null==(a=window.va)||a.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null},"track",0,function(e,t,a){var r,o;if(!n()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(s())console.warn(e);else throw Error(e);return}if(!t){null==(r=window.va)||r.call(window,"event",{name:e,options:a});return}try{let n=function(e,t){if(!e)return;let a=e,n=[];for(let[r,o]of Object.entries(e))"object"==typeof o&&null!==o&&(t.strip?a=function(e,{[e]:t,...a}){return a}(r,a):n.push(r));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return a}(t,{strip:s()});null==(o=window.va)||o.call(window,"event",{name:e,data:n,options:a})}catch(e){e instanceof Error&&i()&&console.error(e)}}])},73689,e=>{"use strict";var t=e.i(75120),a=e.i(64645),n=e.i(35339);function r(){return false}function o(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function s(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(n.current)e.route&&n.current(e.route);else{let a=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let a=e.scriptSrc?e.scriptSrc:r()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${a}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let n=document.createElement("script");return n.src=a,n.defer=!0,n.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.3.1",e.sampleRate&&(n.dataset.sampleRate=e.sampleRate.toString()),e.route&&(n.dataset.route=e.route),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(n.dataset.dsn=e.dsn),r()&&!1===e.debug&&(n.dataset.debug="false"),n.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(n),{setRoute:e=>{n.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});a&&(n.current=a.setRoute)}},[e.route]),null}function i(e){let r=(()=>
1{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,a=(0,n.usePathname)();if(!e)return null;let r=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!r)return a;let s=a;try{let e=Object.entries(r);for(let[t,a]of e)if(!Array.isArray(a)){let e=o(a);e.test(s)&&(s=s.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=o(a.join("/"));e.test(s)&&(s=s.replace(e,`/[...${t}]`))}return s}catch(e){return a}})();return a.default.createElement(s,{route:r,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(i,{...e}))}])},71227,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({html:e,height:t=null,width:a=null,children:o,dataNtpc:s=""}){return(0,r.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${s}`}})},[s]),(0,n.jsxs)(n.Fragment,{children:[o,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=a?`${a}px`:"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=e.r(63705),r=e.r(64645)},98120,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return o}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let o="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},41221,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return s},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let o={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},s=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},l=/[&"'<>]/g;function c(e){return e.replace(s,e=>o[e])}function u(e){return e.replace(l,e=>i[e])}},88765,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return w},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return b}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let o=e.r(75514),s=e.r(52341),i=e.r(63705),l=o._(e.r(12797)),c=s._(e.r(64645)),u=e.r(67762),d=e.r(65680),p=e.r(98120),m=e.r(41221),h=new Map,g=new Set,f=e=>{let{src:t,id:a,onLoad:n=()=>{},onReady:r=null,dangerouslySetInnerHTML:o,children:s="",strategy:i="afterInteractive",onError:c,stylesheets:u}=e,p=a||t;if(p&&g.has(p))return;if(h.has(t)){g.add(p),h.get(t).then(n,c);return}let m=()=>{r&&r(),g.add(p)},f=document.createElement("script"),x=new Promise((e,t)=>{f.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),f.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(f.innerHTML=o.__html||"",m()):s?(f.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(f.src=t,h.set(t,x)),(0,d.setAttributesFromProps)(f,e),"w
1orker"===i&&f.setAttribute("type","text/partytown"),f.setAttribute("data-nscript",i),u&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=e,t.appendChild(a)})}})(u),document.body.appendChild(f)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>f(e))}):f(e)}function b(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function v(e){let{id:t,src:a="",onLoad:n=()=>{},onReady:r=null,strategy:o="afterInteractive",onError:s,stylesheets:d,...h}=e,{updateScripts:x,scripts:b,getIsSsr:v,appDir:w,nonce:y}=(0,c.useContext)(u.HeadManagerContext);y=h.nonce||y;let j=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||a;j.current||(r&&e&&g.has(e)&&r(),j.current=!0)},[r,t,a]);let k=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!k.current){if("afterInteractive"===o)f(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>f(e))}));k.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(x?(b[o]=(b[o]||[]).concat([{id:t,src:a,onLoad:n,onReady:r,onError:s,...h,nonce:y}]),x(b)):v&&v()?g.add(t||a):v&&!v()&&f({...e,nonce:y})),w){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!a)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return l.default.preload(a,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin}),(0,i.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([a,{...h,id:t}]))})`}});"afterInteractive"===o&&a&&l.default.preload(a,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let w=v;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},46239,(e,t,a)=>{t.exports=e.r(88765)},87213,(e,t,a)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.sendGTMEvent=void 0,a.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:a,dataLayerName:n="dataLayer",auth:l,preview:c,dataLayer:u,nonce:d}=e;i=n;let p=new URL(a||"https://www.googletagmanager.com/gtm.js");return t&&p.searchParams.set("id",t),"dataLayer"!==n&&p.searchParams.set("l",n),l&&p.searchParams.set("gtm_auth",l),c&&(p.searchParams.set("gtm_preview",c),p.searchParams.set("gtm_cookies_win","x")),(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 2 (function(w,l){ 3 w[l]=w[l]||[]; 4 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 5 ${u?`w[l].push(${JSON.stringify(u)})`:""} 6 })(window,'${n}');`},nonce:d}),(0,r.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:p.href,nonce:d})]})};let r=e.r(63705),o=e.r(64645),s=n(e.r(46239)),i="dataLayer";a.sendGTMEvent=(e,t)=>{let a=t||i;window[a]=window[a]||[],window[a].push(e)}},9189,(e,t,a)=>{"use strict";let n;var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.GoogleAnalytics=function(e){let{gaId:t,debugMode:a,dataLayerName:r="dataLayer",nonce:l}=e;return void 0===n&&(n=r),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 7 window['${r}'] = window['${r}'] || []; 8 function gtag(){window['${r}'].push(arguments);} 9 gtag('js', new Date()); 10 11 gtag('config', '${t}' ${a?",{ 'debug_mode': true }":""});`},nonce:l}),(0,o.jsx)(i.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?i
11d=${t}`,nonce:l})]})},a.sendGAEvent=function(){void 0===n?console.warn("@next/third-parties: GA has not been initialized"):window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let o=e.r(63705),s=e.r(64645),i=r(e.r(46239))},15554,e=>{"use strict";var t=e.i(84408),a=e.i(63705);e.s(["default",0,function({locale:e,...n}){if(!e)throw Error(void 0);return(0,a.jsx)(t.IntlProvider,{locale:e,...n})}])},91084,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},32048,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},88684,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle")},15708,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout")},46637,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login")},384,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove")},71029,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"}),"VpnKey")},59490,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home")},11703,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M11.29 8.71 6.7 13.3c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 10.83l3.88 3.88c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 8.71c-.38-.39-1.02-.39-1.41 0"}),"ExpandLessRounded")},1423,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11"}),"Reply")},92462,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School")},28737,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal")},40870,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},23084,(e,t,a)=>{"use strict";var n=e.r(96271);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(e.r(71079)),o=e.r(63705);a.default=(0,r.default)((0,o.jsx)("path",{d:"M17.5 4.5c-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .65.73.45.75.45C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.41.21.75-.19.75-.45V6c-1.49-1.12-3.63-1.5-5.5-1.5m3.5 14c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"}),"ImportContacts")}
11,78995,e=>{e.v({background:"notificationBanner-module-scss-module__rSBGyW__background",message:"notificationBanner-module-scss-module__rSBGyW__message"})},40951,e=>{"use strict";e.i(75120);var t,a,n,r,o,s,i=e.i(63705),l=e.i(64645),c=e.i(35339),u=e.i(38411),d=e.i(80749),p=e.i(55131),m=e.i(99628);function h(){let e=(0,d.useRouter)(),t=(0,d.usePathname)(),a=(0,c.useSearchParams)(),n=(0,u.useTranslations)("global");function r(n){let r=a.toString(),o=r?`${t}?${r}`:t;e.replace(o,{locale:n,scroll:!1})}let o="flex place-content-center place-items-center w-[24px] h-[24px] hover:scale-90 duration-300";return(0,i.jsxs)("div",{className:"flex flex-row gap-[9px]",children:[(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("de")},"aria-label":"You have selected the German translation button. Click this button to translate the website into German.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/germany.svg",alt:n("deFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("en")},"aria-label":"You have selected the English translation button. Click this button to translate the website into English.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/united_kingdom.svg",alt:n("ukFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("es")},"aria-label":"You have selected the Spanish translation button. Click this button to translate the website into Spanish.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/spain.svg",alt:n("esFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("fr")},"aria-label":"You have selected the French translation button. Click this button to translate the website into French.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/france.svg",alt:n("frFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("it")},"aria-label":"You have selected the Italian translation button. Click this button to translate the website into Italian.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/italy.svg",alt:n("itFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("ja")},"aria-label":"You have selected the Japanese translation button. Click this button to translate the website into Japanese.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/japan.svg",alt:n("jaFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("ko")},"aria-label":"You have selected the Korean translation button. Click this button to translate the website into Korean.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/south_korea.svg",alt:n("koFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("pt")},"aria-label":"You have selected the Portuguese translation button. Click this button to translate the website into Portuguese.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/portugal.svg",alt:n("ptFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("ru")},"aria-label":"You have selected the Russian translation button. Click this button to translate the website into Russian.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/russia.svg",alt:n("ruFlag"),width:24,height:24})}),(0,i.jsx)("button",{className:o,type:"button",onClick:()=>{r("zh")},"aria-label":"You have selected the Chinese translation button. Click this button to translate the website into Chinese.",children:(0,i.jsx)(p.default,{src:"/global/country_flags/china.svg",alt:n("zhFlag"),width:24,height:24})})]})}var g=e.i(32912),f=e.i(91084),x=e.i(26039);function b({spinLogo:e,setSpinLogo:t}){let a=(0,u.useTranslations)("radio"),[n,r]=(0,l.useState)(!1),[o,s]=(0,l.useState)(null),d=(0,c.usePathname)();async function p(){let a=function(){if(o)return o;let e=new Audio("/global/soundbridge-music.mp3");return e.preload="none",s(e),e}();try{n?a.pause():await a.play(),r(!n),t(!e),(0,x.track)("Play Button",{location:d,widget:"Nav"})}catch(e){console.log(e)}}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"lap:flex hidden flex-col text-white",children:[(0,i.jsx)(h,{}),(0,i.jsx)("strong",{className:"font-bold text-text",children:a("radioTitle")}),(0,i.jsx)("p",{className:"text-[12px]",children:a("radioParagraph")})]}),(0,i.jsx)("button",{className:"flex items-center rounded-[50%] p-[9px] w-[42px] h-[42px] bg-purple-grad ease-in duration-300 hover:scale-90 animate-pulse",type:"button",onClick:p,"aria-label":"This is the nav's play button. Use it to play or pause the SoundBridge Radio.",children:n?(0,i.jsx)(f.default,{className:"text-white text-[32px]",style:{transition:"300ms",transitionTimingFunction:"ease-in-out"}}):(0,i.jsx)(g.default,{className:"text-white text-[32px]",style:{transition:"300ms",transitionTimingFunction:"ease-in-out"}})})]})}var v=e.i(32048);function w({id:e,title:t,buttons:a}){return(0,i.jsx)("div",{id:e,className:"fixed hidden tl:flex mt-[5px] border-purple-grad rounded-[24px]",children:(0,i.jsxs)("div",{className:"flex flex-col items-center p-[24px] gap-[16px] w-[483px] bg-black_trans rounded-[24px]",children:[(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("p",{className:"text-white font-black text-[24px]",children:t})}),a.map((e,t)=>(0,i.jsx)("div",{children:e},t))]})})}var y=e.i(76922),j=e.i(68209);function k({title:e,src:t,width:a,height:n,alt:r,setOpenModal:o}){let s=(0,c.usePathname)();return(0,i.jsx)("button",{type:"button",onClick:function(){(0,y.track)(`${e} Payment List Button`,{location:s,widget:"Payment List Buttonl"}),o(e=>!e)},className:"relative tl:w-auto w-full border-purple-grad rounded-[16px] slide-right",children:(0,i.jsxs)("div",{className:"flex flex-row tl:w-[435px] w-full tl:h-[92px] h-[56px] items-center tl:py-[16px] py-[8px] tl:px-[24px] px-[16px] gap-[16px] rounded-[16px] bg-white_trans tl:text-[20px] text-[16px] text-white font-bold ",children:[(0,i.jsx)(p.default,{src:t,width:a,height:n,alt:r}),e,(0,i.jsx)(j.default,{className:"ml-auto"})]})})}var _=e.i(88684),S=e.i(15708);async function N(e,t,a,n){e("Logout",{location:t,widget:a});try{let e=await fetch("/api/session",{method:"DELETE"}),a=await e.json();"Cookie destroyed."===a.message&&(n.replace("/blog/search"===t?"/blog?login=false":"/?login=false",{scroll:!1}),n.refresh())}catch(e){console.error("Logout failed:",e)}}async function C(e,t,a,n,r){e&&(t("My Account Button",{location:a,widget:n}),r.replace(`/account/${e.id}`))}var T=e.i(81862);function P({user:e}){let t=(0,u.useTranslations)("global"),a=(0,u.useTranslations)("nav"),[n,r]=(0,l.useState)(!1),o=(0,c.useRouter)(),s=(0,c.usePathname)(),{openLogin:d,setOpenLogin:h,signUp:g,setSignUp:f,setOpenMobileMenu:x,setOpenEverythingBundleModal:j,setOpenSoundBridgeModal:A,setOpenRitMixModal:E,setOpenReChordModal:M,setOpenHouseBootCampModal:L,setOpenTrapBootC
11ampModal:O,setOpenAmbientBootCampModal:I,setOpenComputerActivationModal:B,setOpenVCModal:D,openMobileMenu:R,openSoftwareList:$,openEducationList:F,openActivationList:z,closeAllLists:U,showList:V}=(0,T.useUI)(),H=[(0,i.jsx)(k,{title:a("everythingBundleActivationListButton"),src:"/global/everything_bundle_logo.jpeg",width:60,height:60,alt:t("everythingBundleLogoAltText"),setOpenModal:j},"software-list-button-everything-bundle"),(0,i.jsx)(k,{title:a("sbDAWListButton"),src:"/global/soundbridge-product-logo.svg",width:60,height:60,alt:t("sbLogoAltText"),setOpenModal:A},"software-list-button-soundbridge"),(0,i.jsx)(k,{title:a("ritmixDrumMachineListButton"),src:"/global/ritmix-product-logo.svg",width:60,height:60,alt:t("ritmixLogoAltText"),setOpenModal:E},"software-list-button-ritmix"),(0,i.jsx)(k,{title:a("rechordArpeggiatorListButton"),src:"/global/rechord-product-logo.svg",width:60,height:60,alt:t("rechordLogoAltText"),setOpenModal:M},"software-list-button-rechord")],q=[(0,i.jsx)(k,{title:a("everythingBundleActivationListButton"),src:"/global/everything_bundle_logo.jpeg",width:60,height:60,alt:t("everythingBundleLogoAltText"),setOpenModal:j},"software-list-button-everything-bundle"),(0,i.jsx)(k,{title:a("houseBootCampListButton"),src:"/global/house-boot-camp-product-thumbnail.webp",width:60,height:60,alt:t("houseBootCampLogoAltText"),setOpenModal:L},"education-list-button-house-boot-camp"),(0,i.jsx)(k,{title:a("trapBootC
11ampListButton"),src:"/global/trap-boot-camp-product-thumbnail.webp",width:60,height:60,alt:t("trapBootCampLogoAltText"),setOpenModal:O},"education-list-button-trap-boot-camp"),(0,i.jsx)(k,{title:a("ambientBootCampListButton"),src:"/global/ambient-boot-camp-product-thumbnail.webp",width:60,height:60,alt:t("ambientBootCampLogoAltText"),setOpenModal:I},"education-list-button-ambient-boot-camp")],W=[(0,i.jsx)(k,{title:a("virtualCollaborationListButton"),src:"/global/vc-icon.svg",width:60,height:60,alt:t("virtualCollaborationLogoAltText"),setOpenModal:D},"activation-list-button-vc"),(0,i.jsx)(k,{title:a("computerActivationListButton"),src:"/global/computer_activation_product_logo.svg",width:60,height:60,alt:t("computerActivationLogoAltText"),setOpenModal:B},"activation-list-button-computer-activation")],G=[(0,i.jsx)(k,{title:a("virtualCollaborationListButton"),src:"/global/vc-icon.svg",width:60,height:60,alt:t("computerActivationLogoAltText"),setOpenModal:D},"activation-list-button-computer-activation")];function J(e,t){let a=document.getElementsByTagName("nav")[0],n=document.getElementById(e),r=document.getElementById(t);if(!a||!n||!r)return;let o=a.getBoundingClientRect(),s=n.getBoundingClientRect(),i=s.left+s.width/2-r.offsetWidth/2,l=o.bottom;r.style.left=`${i}px`,r.style.top=`${l}px`}async function Y(){await N(y.track,s,"Nav",o),U()}async function K(){await C(e,y.track,s,"Nav",o),U()}(0,l.useEffect)(()=>{function e(){$&&J("nav-software-list-button","nav-software-list"),F&&J("nav-education-list-button","nav-education-list"),z&&J("nav-activation-list-button","nav-activation-list")}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[$,F,z]);let X="flex flex-row justify-center items-center py-[8px] px-[24px] rounded-[8px] h-[36px] text-white gap-[4px]",Z="flex flex-row justify-center items-center py-[10px] px-[40px] rounded-full w-[148px] h-[50px] border-[1px] font-black transition";return(0,i.jsxs)("nav",{className:"z-[3] nav-footer-border-purple-grad w-full fixed",children:[(0,i.jsx)("div",{className:"flex place-content-center w-full bg-black",children:(0,i.jsxs)("div",{className:"relative flex flex-row w-full justify-center items-center h-[116px] backdrop-blur-[12px]",children:[(0,i.jsx)(p.default,{src:"/global/nav_background.jpg",fill:!0,priority:!0,className:"object-cover",alt:a("backgroundAltText")}),(0,i.jsxs)("div",{id:"nav",className:"flex flex-row w-full content-margin z-[1]",children:[(0,i.jsxs)("div",{className:"flex flex-row items-center gap-[16px]",children:[(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("button",{onClick:function(){o.push("/"),U()},className:"logo-area scale",children:[(0,i.jsx)(p.default,{src:"/global/sb-logo-light.svg",width:40,height:40,className:n?"animate-spin":"",alt:a("soundbridgeLogoAltText")}),(0,i.jsx)(p.default,{src:"/global/sb-brand-light.svg",width:136,height:20,className:"hidden hd:flex logo-mt",alt:a("soundbridgeBrandAltText")})]})}),(0,i.jsxs)("div",{className:"hidden tl:flex flex-row items-center",children:[(0,i.jsx)("div",{className:"relative border-purple-grad rounded-[8px] scale",children:(0,i.jsx)("button",{onClick:function(){o.push("/blog"),U()},className:"flex justify-center items-center w-[95px] h-[35px] rounded-[8px] text-white font-bold bg-[linear-gradient(219.99deg,_rgba(255,255,255,0.224)_-2.04%,_rgba(255,255,255,0)_94.94%)]",children:t("blog")})}),(0,i.jsxs)("button",{id:"nav-software-list-button",className:X,onClick:function(){V("software")},children:[a("software"),(0,i.jsx)(m.default,{style:{transition:"transform 300ms ease-in-out",transform:$?"rotate(-180deg)":"rotate(0deg)"}})]}),(0,i.jsxs)("button",{id:"nav-education-list-button",className:X,onClick:function(){V("education")},children:[a("education"),(0,i.jsx)(m.default,{style:{transition:"transform 300ms ease-in-out",transform:F?"rotate(-180deg)":"rotate(0deg)"}})]}),(0,i.jsxs)("button",{id:"nav-activation-list-button",className:X,onClick:function(){V("activation")},children:[a("activation"),(0,i.jsx)(m.default,{style:{transition:"transform 300ms ease-in-out",transform:z?"rotate(-180deg)":"rotate(0deg)"}})]})]})]}),(0,i.jsxs)("div",{className:"flex flex-row h-[68px] ml-auto items-center gap-[12px]",children:[(0,i.jsx)(b,{spinLogo:n,setSpinLogo:r}),e?(0,i.jsxs)("div",{className:"hidden tl:flex flex-row gap-[12px]",children:[(0,i.jsxs)("button",{className:`${Z} passive-action-btn gap-1`,onClick:K,children:[(0,i.jsx)(_.default,{})," ",a("account")]}),(0,i.jsxs)("button",{className:`${Z} aggressive-action-btn gap-1`,onClick:Y,children:[(0,i.jsx)(S.default,{})," ",a("logout")]})]}):(0,i.jsxs)("div",{className:"hidden tl:flex flex-row gap-[12px]",children:[(0,i.jsx)("button",{className:`${Z} passive-action-btn`,onClick:function(){!g&&d?h(!1):(h(!0),f(!1))},children:t("signInLowerCase")}),(0,i.jsx)("button",{id:"nav-sign-up-button",className:`${Z} aggressive-action-btn`,onClick:function(){g&&d?h(!1):(h(!0),f(!0))},children:t("signUpLowerCase")})]}),(0,i.jsx)("button",{className:"flex tl:hidden text-white scale p-[1p]","aria-label":R?"Close the mobile menu.":"Open the mobile menu.","aria-expanded":R,"aria-controls":"mobile-navigation",onClick:function(){x(e=>!e)},children:(0,i.jsx)(v.default,{fontSize:"large"})})]})]})]})}),$?(0,i.jsx)(w,{id:"nav-software-list",title:a("softwareListTitle"),buttons:H}):null,F?(0,i.jsx)(w,{id:"nav-education-list",title:a("educationListTitle"),buttons:q}):null,z?(0,i.jsx)(w,{id:"nav-activation-list",title:a("activationListTitle"),buttons:e?W:G}):null]})}var A=e.i(46637),E=e.i(384),M=e.i(47579),L=e.i(1844),O=e.i(38649),I=e.i(71029);function B({openForm:e,close:t,signUp:a,setSignUp:n,setOpenForgotPassword:r}){let o=(0,u.useTranslations)("global"),s=(0,u.useTranslations)("loginSignUpForm"),[d,p]=(0,l.useState)(""),[m,h]=(0,l.useState)(""),[g,f]=(0,l.useState)(""),x=(0,M.useTurnstile)(),[b,v]=(0,l.useState)(!1),[w,k]=(0,l.useState)(!1),[_,S]=(0,l.useState)(!1),[N,C]=(0,l.useState)(""),T=(0,c.useRouter)(),P=(0,c.usePathname)(),E="flex flex-row w-full justify-center items-center py-[10px] px-[32px] gap-[10px] rounded-[16px] font-black scale";function D(){p(""),h(""),v(!1),k(!1),x?.reset(),f("")}async function R(e){e.preventDefault(),(0,y.track)("Sign Up Form",{location:P,widget:"Sign Up Modal"}),C(""),S(!0);try{let e=await fetch("/api/users?action=createUser",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:d,password:m,legalCheck:b,newsletterCheck:w,token:g})}),t=await e.json();if(!e.ok||!t.id){C(t.message||"Something went wrong. Please try again."),D();return}n(!1),(0,L.handleSignUpDatalayer)(d),D()}catch(e){console.error(e),C("Something went wrong. Please try again."),x?.reset(),f("")}finally{S(!1)}}async function $(e){e.preventDefault(),(0,y.track)("Login Form",{location:P,widget:"Login Modal"}),C(""),S(!0);try{let e=await fetch("/api/session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:d,password:m,token:g})}),a=await e.json();if(!e.ok||a.message){C(a.message||"Something went wrong. Please try again."),D();return}T.replace(`${P}?login=true`,{scroll:!1}),T.refresh(),D(),t()}catch(e){console.error(e),C("Something went wrong. Please try again."),x?.reset(),f("")}finally{S(!1)}}return(0,i.jsxs)("form",{id:a?"signup-form":"login-form",name:a?"signup-form":"login-form",onSubmit:a?R:$,className:"flex flex-col justify-center items-start gap-[24px]",children:[(0,i.jsx)("p",{id:"login-signup-title",className:"w-full text-white text-[24px] font-black",children:a?(0,i.jsxs)(i.Fragment,{children:[s("createAn")," ",(0,i.jsx)("span",{className:"text-purple-grad text-[24px] font-black",children:s("account")}
11)]}):(0,i.jsxs)(i.Fragment,{children:[s("loginToYour")," ",(0,i.jsx)("span",{className:"text-purple-grad text-[24px] font-black",children:s("account")})]})}),_?(0,i.jsx)("div",{className:"flex w-full justify-center items-center",children:(0,i.jsx)(O.default,{})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"relative w-full border-purple-grad rounded-[16px]",children:(0,i.jsx)("input",{id:a?"signup-email":"login-email",name:"email",type:"email",className:"input rounded-[16px]",placeholder:o("emailAddressPlaceHolder"),value:d,onChange:function(e){p(e.target.value)},autoComplete:a?"email":"username","aria-label":"Email Address",required:!0})}),(0,i.jsx)("div",{className:"relative w-full border-purple-grad rounded-[16px]",children:(0,i.jsx)("input",{id:a?"signup-password":"login-password",name:"password",type:"password",className:"input",placeholder:o("passwordPlaceHolder"),value:m,onChange:function(e){h(e.target.value)},autoComplete:a?"new-password":"current-password","aria-label":"Password",required:!0})})]}),N?(0,i.jsx)("p",{className:"error",role:"alert","aria-live":"assertive",children:N}):null,(0,i.jsx)("div",{className:"w-full justify-center items-center",children:(0,i.jsxs)("button",{type:"button",className:"flex flex-row items-center gap-2 text-yellow text-[12px] scale",onClick:function(){r(e=>!e)},children:[(0,i.jsx)(I.default,{fontSize:"small"})," ",s("forgotYourPW")]})}),(0,i.jsx)("div",{className:"w-full",children:e?(0,i.jsx)(M.default,{sitekey:"0x4AAAAAABAc6ZJrkCnScsrr",onVerify:e=>{f(e)}}):null}),(0,i.jsxs)("label",{className:"flex flex-row justify-end items-start gap-[10px]",children:[a?(0,i.jsx)("div",{className:"relative inline-flex border-purple-grad p-[2px] rounded-[4px]",children:(0,i.jsx)("input",{id:"legal-checkbox",name:"legal-checkbox",type:"checkbox",required:!0,className:"checkbox",checked:b,onChange:function(){v(!b)}})}):null,(0,i.jsxs)("p",{className:"text-[14px] text-white",children:[s(a?"byCreatingAnAccount":"byLoggingIn")," ",(0,i.jsx)("a",{className:"text-purple-grad",href:"/terms-of-service",onClick:()=>{(0,y.track)("Privacy Policy Link",{location:P,widget:"Sign Up Modal "})},children:o("termsOfService")}),","," ",(0,i.jsx)("a",{className:"text-purple-grad",href:"/privacy-policy",onClick:()=>{(0,y.track)("Privacy Policy Link",{location:P,widget:"Sign Up Modal"})},children:o("privacyPolicy")}),o("comma")," ",o("and")," ",(0,i.jsx)("a",{className:"text-purple-grad",href:"/eula",onClick:()=>{(0,y.track)("EULA Link",{location:P,widget:"Sign Up Modal"})},children:o("eula")}),o("period")]})]}),a?(0,i.jsxs)("label",{className:"flex flex-row justify-end items-start gap-[10px]",children:[(0,i.jsx)("div",{className:"relative inline-flex border-purple-grad p-[2px] rounded-[4px]",children:(0,i.jsx)("input",{id:"newsletter-checkbox",name:"newsletter-checkbox",type:"checkbox",className:"checkbox",checked:w,onChange:function(){k(!w)}})}),(0,i.jsxs)("p",{className:"text-[14px] text-white",children:[s("newsletterLegalStatement")," ",(0,i.jsx)("strong",{className:"text-purple-grad",children:s("youMayUnsubscribe")})]})]}):null,a?(0,i.jsxs)("button",{type:"submit",className:`${E} aggressive-action-btn`,disabled:_,children:[o("signUp"),(0,i.jsx)(j.default,{})]}):(0,i.jsxs)("button",{type:"submit",className:`${E} aggressive-action-btn`,disabled:_,children:[(0,i.jsx)(A.default,{})," ",o("login")]})]})}var D=e.i(84408);function R(){let e=(0,D.useTranslations)("global"),t=(0,D.useTranslations)("loginSignUp"),{openLogin:a,setOpenLogin:n,signUp:r,setSignUp:o,setOpenForgotPassword:s}=(0,T.useUI)();function l(){o(e=>!e)}function c(){n(e=>!e)}return(0,i.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"login-signup-title","aria-hidden":!a,className:` ${a?"right-[40px]":"right-[-433px]"} z-[3] fixed hidden tl:inline-flex bottom-[40px] border-purple-grad transition rounded-[24px]`,children:(0,i.jsxs)("div",{className:"flex flex-col w-[433px] items-center p-[24px] gap-[24px] bg-black_trans rounded-[24px] backdrop-blur-[12px]",children:[(0,i.jsx)("div",{className:"flex flex-row-reverse w-full",children:(0,i.jsx)("button",{className:"text-yellow scale",onClick:c,"aria-label":e("closeAria"),children:(0,i.jsx)(E.default,{})})}),(0,i.jsxs)("div",{className:" w-full logo-area",children:[(0,i.jsx)(p.default,{src:"/global/sb-logo-light.svg",width:52,height:52,alt:"The SoundBridge logo."}),(0,i.jsx)(p.default,{src:"/global/sb-brand-light.svg",width:174,height:26,className:"logo-mt",alt:"The SoundBridge logo."}),r?(0,i.jsxs)("div",{className:"flex flex-col w-full justify-center items-end",children:[(0,i.jsx)("p",{className:"w-max text-white font-light",children:t("haveAnAccount")}
11),(0,i.jsxs)("button",{className:"text-yellow font-bold scale",onClick:l,children:[(0,i.jsx)(A.default,{})," ",e("loginLowerCase")]})]}):(0,i.jsxs)("div",{className:"flex flex-col w-full justify-end items-end",children:[(0,i.jsxs)("p",{className:"w-max text-white font-light",children:[" ",t("noAccount")]}),(0,i.jsxs)("button",{className:"text-yellow font-bold scale",onClick:l,children:[e("signUpLowerCase")," ",(0,i.jsx)(j.default,{})]})]})]}),(0,i.jsx)(B,{openForm:a,close:c,signUp:r,setSignUp:o,setOpenForgotPassword:s,setOpenLoginSignModal:n})]})})}var $=e.i(11686),F=e.i(84948),z=e.i(59490),U=e.i(11703),V=e.i(1423),H=e.i(92462),q=e.i(28737),W=e.i(40870),G=e.i(23084);function J({user:e}){let t=(0,u.useTranslations)("global"),a=(0,u.useTranslations)("nav"),[n,r]=(0,l.useState)(!1),[o,s]=(0,l.useState)(!1),[d,p]=(0,l.useState)(!1),m=(0,c.usePathname)(),g=(0,c.useRouter)(),{setOpenMobileMenu:f,signUp:x,setSignUp:b,openMobileMenuSignUpForm:v,setOpenForgotPassword:w,setOpenMobileMenuSignUpForm:P,setOpenEverythingBundleModal:A,setOpenSoundBridgeModal:E,setOpenRitMixModal:M,setOpenReChordModal:L,setOpenHouseBootCampModal:O,setOpenTrapBootCampModal:I,setOpenAmbientBootCampModal:D,setOpenComputerActivationModal:R,setOpenVCModal:Y}=(0,T.useUI)(),K=[(0,i.jsx)(k,{title:a("everythingBundleActivationListButton"),src:"/global/everything_bundle_logo.jpeg",width:45,height:45,alt:t("everythingBundleLogoAltText"),setOpenModal:A},"software-list-button-everything-bundle"),(0,i.jsx)(k,{title:a("sbDAWListButton"),src:"/global/soundbridge-product-logo.svg",width:45,height:45,alt:t("sbLogoAltText"),setOpenModal:E},"software-list-button-soundbridge"),(0,i.jsx)(k,{title:a("ritmixDrumMachineListButton"),src:"/global/ritmix-product-logo.svg",width:45,height:45,alt:t("ritmixLogoAltText"),setOpenModal:M},"software-list-button-ritmix"),(0,i.jsx)(k,{title:a("rechordArpeggiatorListButton"),src:"/global/rechord-product-logo.svg",width:45,height:45,alt:t("rechordLogoAltText"),setOpenModal:L},"software-list-button-rechord")],X=[(0,i.jsx)(k,{title:a("everythingBundleActivationListButton"),src:"/global/everything_bundle_logo.jpeg",width:45,height:45,alt:t("everythingBundleLogoAltText"),setOpenModal:A},"software-list-button-everything-bundle"),(0,i.jsx)(k,{title:a("houseBootCampListButton"),src:"/global/house-boot-camp-product-thumbnail.webp",width:45,height:45,alt:t("houseBootCampLogoAltText"),setOpenModal:O},"education-list-button-house-boot-camp"),(0,i.jsx)(k,{title:a("trapBootC
11ampListButton"),src:"/global/trap-boot-camp-product-thumbnail.webp",width:45,height:45,alt:t("trapBootCampLogoAltText"),setOpenModal:I},"education-list-button-trap-boot-camp"),(0,i.jsx)(k,{title:a("ambientBootCampListButton"),src:"/global/ambient-boot-camp-product-thumbnail.webp",width:45,height:45,alt:t("ambientBootCampLogoAltText"),setOpenModal:D},"education-list-button-ambient-boot-camp")],Z=[(0,i.jsx)(k,{title:a("virtualCollaborationListButton"),src:"/global/vc-icon.svg",width:45,height:45,alt:t("virtualCollaborationLogoAltText"),setOpenModal:Y},"activation-list-button-vc"),(0,i.jsx)(k,{title:a("computerActivationListButton"),src:"/global/computer_activation_product_logo.svg",width:45,height:45,alt:t("computerActivationLogoAltText"),setOpenModal:R},"activation-list-button-computer-activation")],Q=[(0,i.jsx)(k,{title:a("virtualCollaborationListButton"),src:"/global/vc-icon.svg",width:45,height:45,alt:t("virtualCollaborationLogoAltText"),setOpenModal:Y},"activation-list-button-computer-activation")];function ee(){f(e=>!e)}function et(e){r("software"===e),s("education"===e),p("activation"===e)}async function ea(){await N(y.track,m,"Mobile Menu",g),ee()}async function en(){await C(e,y.track,m,"Nav",g),ee()}let er="relative w-full border-purple-grad rounded-[12px] slide-right",eo="flex flex-row w-full items-center p-[16px] gap-[8px] bg-[linear-gradient(219.99deg,rgba(255,255,255,0.224)_-2.04%,rgba(255,255,255,0)_94.94%)] rounded-[12px] text-[14px] text-white",es="flex flex-row w-full h-[50px] justify-center items-center py-[10px] px-[32px] rounded-[16px] gap-[10px] border-[1px] font-black transition";return(0,i.jsxs)("div",{className:"fixed z-[5] w-screen h-full bg-black_trans backdrop-blur-[6px] overflow-y-scroll",children:[(0,i.jsxs)("div",{className:"flex flex-row justify-center items-center py-[24px] px-[40px] gap-[10px]",children:[(0,i.jsx)("p",{className:"text-white text-[32px] font-black",children:a("menu")}),v?(0,i.jsxs)("button",{className:"text-white ml-auto scale","aria-label":"Go back.",onClick:function(){P(e=>!e)},children:[(0,i.jsx)(V.default,{fontSize:"large"})," "]}):(0,i.jsx)("button",{className:"text-white ml-auto scale",onClick:ee,"aria-label":t("closeAria"),children:(0,i.jsx)($.default,{fontSize:"large"})})]}),v?(0,i.jsx)("div",{className:"p-[20px]",children:(0,i.jsx)(B,{openForm:v,setOpenLoginSignModal:P,close:function(){P(!1)},signUp:x,setOpenForgotPassword:w,setSignUp:b})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"flex flex-col w-full h-auto items-start p-[40px] gap-[24px]",children:(0,i.jsxs)("div",{className:"flex flex-col w-full items-center gap-[8px]",children:[(0,i.jsx)(h,{}),(0,i.jsx)("div",{className:er,children:(0,i.jsxs)(F.default,{href:"/",className:eo,onClick:ee,children:[(0,i.jsx)(z.default,{fontSize:"small"})," ",t("home")]})}),(0,i.jsx)("div",{className:er,children:(0,i.jsxs)(F.default,{href:"/blog",className:eo,onClick:ee,children:[(0,i.jsx)(G.default,{fontSize:"small"})," ",t("blog")]})}),(0,i.jsxs)("button",{className:`${eo} slide-right`,onClick:function(){n?r(!1):(r(e=>!e),et("software"))},children:[(0,i.jsx)(q.default,{fontSize:"small"})," ",a("software"),(0,i.jsx)(U.default,{fontSize:"small",className:"ml-auto",style:{transition:"transform 300ms ease-in-out",transform:n?"rotate(-180deg)":"rotate(0deg)"}})]}),n?K:null,(0,i.jsxs)("button",{className:`${eo} slide-right`,onClick:function(){o?s(!1):(s(e=>!e),et("education"))},children:[(0,i.jsx)(H.default,{fontSize:"small"})," ",a("education"),(0,i.jsx)(U.default,{fontSize:"small",className:"ml-auto",style:{transition:"transform 300ms ease-in-out",transform:o?"rotate(-180deg)":"rotate(0deg)"}})]}),o?X:null,(0,i.jsxs)("button",{className:`${eo} slide-right`,onClick:function(){d?p(!1):(p(e=>!e),et("activation"))},children:[(0,i.jsx)(W.default,{fontSize:"small"})," ",a("activation"),(0,i.jsx)(U.default,{fontSize:"small",className:"ml-auto",style:{transition:"transform 300ms ease-in-out",transform:d?"rotate(-180deg)":"rotate(0deg)"}})]}),d?e?Z:Q:null,e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{className:`${es} passive-action-btn`,onClick:en,children:[(0,i.jsx)(_.default,{})," ",a("account")]}),(0,i.jsxs)("button",{className:`${es} passive-action-btn`,onClick:ea,children:[(0,i.jsx)(S.default,{})," ",a("logout")]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{className:`${es} aggressive-action-btn`,onClick:function(){v&&x?P(!1):(P(!0),b(!0))},children:[t("signUpLowerCase")," ",(0,i.jsx)(j.default,{})]}),(0,i.jsxs)("button",{className:`${es} passive-action-btn`,onClick:function(){v&&!x?P(!1):(P(!0),b(!1))},children:[t("signInLowerCase")," ",(0,i.jsx)(j.default,{})]})]})]})})})]})}var Y=e.i(64338);function K({setOpenForgotPassword:e}){let t=(0,D.useTranslations)("forgotPWModal"),[a,n]=(0,l.useState)(""),r=(0,M.useTurnstile)(),[o,s]=(0,l.useState)(""),u=(0,c.usePathname)(),[d,p]=(0,l.useState)(""),[m,h]=(0,l.useState)(!1),[g,f]=(0,l.useState)(!0);function x(){e(e=>!e)}async function b(e){e.preventDefault(),(0,y.track)("Forgot Password Form",{location:u,widget:"Forgot Password Modal"}),f(!1),p("");try{let e=await fetch("/api/users?action=forgotPassword",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o,token:a})}
11),t=await e.json();if(!e.ok||t?.message){p(t?.message||"Something went wrong. Please try again."),r.reset(),n("");return}s(""),f(!0),h(!0)}catch(e){console.error(e),p("Something went wrong. Please try again."),r.reset(),n("")}finally{f(!0)}}return(0,i.jsx)("div",{className:"z-[5] fixed inset-0 flex items-center justify-center w-full h-full bg-black_trans backdrop-blur-[6px]",onClick:x,children:(0,i.jsx)("div",{className:"relative border-purple-grad rounded-[24px]",children:(0,i.jsxs)("div",{className:"flex flex-col flex-end tl:w-[648px] tl:h-auto ml:h-[90vh] w-[90vw] h-auto pt-[80px] tl:px-[40px] px-[10px] pb-[40px] gap-[24px] bg-black_trans_2 backdrop-blur-[12px] rounded-[24px]",onClick:e=>e.stopPropagation(),children:[(0,i.jsx)("button",{className:"absolute top-[24px] right-[24px] border-purple-grad rounded-full scale",onClick:x,children:(0,i.jsx)("div",{className:"close-button",children:(0,i.jsx)($.default,{fontSize:"medium"})})}),(0,i.jsx)("p",{className:"w-full text-left text-white text-[24px] font-black",children:t("forgotYourPWHeadline")}),g?(0,i.jsxs)("form",{className:"flex flex-col w-full h-auto gap-[24px] tl:overflow-hidden ml:overflow-scroll overflow-hidden ",onSubmit:b,children:[(0,i.jsx)("p",{className:"w-full text-left text-gray text-[18px] font-bold",children:t("paragraph")}),(0,i.jsx)("div",{className:"relative border-purple-grad w-full rounded-[16px]",children:(0,i.jsx)("input",{type:"email",className:"input w-full",placeholder:"Email",required:!0,onChange:function(e){s(e.target.value)},value:o})}),(0,i.jsx)(M.default,{sitekey:"0x4AAAAAABAc6ZJrkCnScsrr",onVerify:e=>{n(e)}}),d?(0,i.jsx)("p",{className:"error",children:d}):null,m?(0,i.jsx)("p",{className:"success",children:t("successMessage")}):null,(0,i.jsxs)("button",{type:"submit",className:"flex flex-row w-full h-[50px] justify-center items-center py-[10px] px-[32px] gap-[10px] aggressive-action-btn text-black text-[20px] font-black rounded-[16px] scale",children:[t("send")," ",(0,i.jsx)(Y.default,{})]})]}):(0,i.jsx)(O.default,{})]})})})}function X({id:e,src:t,title:a,width:n,height:r,setOpenAd:o}){let s=(0,l.useRef)(null),[c,u]=(0,l.useState)(""),[d,p]=(0,l.useState)((0,i.jsx)("p",{className:"error"}));async function m(){await fetch("/api/r2",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,key:t})}).then(e=>e.json()).then(e=>{e.signedURL?u(e.signedURL):p((0,i.jsx)("p",{className:"error",children:e.message}))})}return(0,l.useEffect)(()=>{m()},[]),(0,l.useEffect)(()=>{if(!c)return;let e=s.current;e&&e.play().catch(()=>{})},[c]),(0,i.jsxs)("div",{id:e,className:"fixed z-[6] top-0 left-0 flex justify-center items-center w-screen h-screen",style:{background:"rgba(22, 22, 21, 0.5)"},onClick:function(){o(!1)},children:[(0,i.jsx)("video",{ref:s,id:`${e}_video`,title:a,width:n,height:r,controls:!0,controlsList:"nodownload",onClick:e=>e.stopPropagation(),children:c?(0,i.jsx)("source",{src:c,type:"video/mp4"}):null}),d||null]})}function Z({id:e,nameURLArray:t,width:a,height:n,downloadURL:r,setOpenCourse:o}){let s=(0,u.useTranslations)("global"),d=(0,u.useTranslations)("coursePlayer"),m=(0,u.useTranslations)("nav"),[h,g]=(0,l.useState)(""),f=(0,c.usePathname)(),[x,b]=(0,l.useState)(""),[v,w]=(0,l.useState)(""),[j,k]=(0,l.useState)(""),_=(0,l.useRef)(null);async function S(t,a){(0,y.track)(`${t} Course Button`,{location:f,widget:`${e} Course Player`}),b("");let n=await fetch("/api/r2",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t,key:a})}),r=await n.json();r.signedURL?(g(r.signedURL),k(t)):b(r.message)}async function N(e){let t=e.currentTarget.id,a=e.currentTarget.value;await S(t,a)}async function C(t){(0,y.track)(`${e} Download Button`,{location:f,widget:`${e} Course Player`}),b("");let a=await fetch("/api/r2",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t.currentTarget.id,key:r})}),n=await a.json();n.signedURL?(w(n.signedURL),setTimeout(()=>document.getElementById(`${e}-course-player-download`)?.click(),100)):b(n.message)}return(0,l.useEffect)(()=>
11{if(!t.length)return;let[e="",a=""]=t[0].split("_");S(e,a)},[t]),(0,l.useEffect)(()=>{let e=_.current;e&&h&&(e.load(),e.play().catch(()=>{}))},[h]),(0,i.jsxs)("div",{id:e,className:"fixed z-[3] flex flex-col w-full h-full items-center bg-black",children:[(0,i.jsxs)("div",{className:"relative z-[4] flex flex-row w-full content-margin h-[116px] justify-between items-center py-[24px] backdrop-blur-[12px]",children:[(0,i.jsx)(p.default,{src:"/global/nav_background.jpg",fill:!0,priority:!0,className:"object-cover",alt:m("backgroundAltText")}),(0,i.jsxs)("div",{className:"z-[4] logo-area scale ",children:[(0,i.jsx)(p.default,{src:"/global/sb-logo-light.svg",width:40,height:40,alt:m("sbLogoAltText")}),(0,i.jsx)(p.default,{src:"/global/sb-brand-light.svg",width:136,height:20,className:" hd:flex hidden logo-mt",alt:s("sbLogoAltText")})]}),(0,i.jsx)("button",{className:"relative border-purple-grad rounded-full scale ml-auto",onClick:function(){let e;(e=_.current)&&(e.pause(),e.currentTime=0),o(e=>!e)},children:(0,i.jsx)("div",{className:"close-button",children:(0,i.jsx)($.default,{fontSize:"medium"})})})]}),(0,i.jsxs)("div",{className:"flex flex-col landscape:flex-row tl:flex-row w-full content-margin h-full",children:[(0,i.jsx)("div",{className:" flex ml:flex-col flex-row items-center tl:w-1/4 w-full ml:h-full h-1/4 ltl:overflow-y-auto overflow-x-auto",children:t.map((e,t)=>{let[a="",n=""]=e.split("_"),r=j===a;return(0,i.jsx)("button",{id:a,type:"button",value:n,onClick:N,className:` 12 flex ml:w-full min-w-[300px] tl:items-center items-start text-left tl:h-[67px] h-auto p-[24px] 13 rounded-[16px] text-[16px] text-white font-semibold 14 scale 15 ${r?"bg-purple":"bg-black"} 16 `,children:`${t+1}. ${a}`},`${a}-${t}`)})}),(0,i.jsxs)("div",{className:"flex flex-col w-full h-full ml:h-[90%]",children:[" ",(0,i.jsx)("video",{ref:_,src:h||void 0,className:"w-full h-3/4",id:`${e}_video`,width:a,height:n,controls:!0,controlsList:"nodownload"}),x?(0,i.jsx)("p",{className:"error",children:x}):null,(0,i.jsxs)("div",{className:"flex flex-row gap-1 w-full text-[16px] text-white font-bold",children:[d("downloadCourseAssets"),(0,i.jsx)("button",{className:"text-purple",id:`${e}_downloadURL`,type:"button",value:r,onClick:C,"aria-label":"You have selected the download button for the course assets. Click it to download the asset zip folder.",children:d("here")}),s("period"),(0,i.jsx)("a",{id:`${e}-course-player-download`,className:"hidden",href:v,download:!0,"aria-hidden":!0,children:"Hidden Course Player Link"})]})]})]})]})}e.i(78995),(t=r||(r={})).INITIAL="initial",t.PENDING="pending",t.REJECTED="rejected",t.RESOLVED="resolved",(a=o||(o={})).LOADING_STATUS="setLoadingStatus",a.RESET_OPTIONS="resetOptions",a.SET_BRAINTREE_INSTANCE="braintreeInstance",(n=s||(s={})).NUMBER="number",n.CVV="cvv",n.EXPIRATION_DATE="expirationDate",n.EXPIRATION_MONTH="expirationMonth",n.EXPIRATION_YEAR="expirationYear",n.POSTAL_CODE="postalCode";var Q=function(){return(Q=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function ee(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a}function et(e,t,a){if(a||2==arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var ea="data-react-paypal-script-id",en="react-paypal-js",er="dataNamespace",eo="dataSdkIntegrationSource",es="paypal";function ei(e){return void 0===e&&(e=es),window[e]}function el(e){var t=e.reactComponentName,a=e.sdkComponentKey,n=e.sdkRequestedComponents,r=void 0===n?"":n,o=e.sdkDataNamespace,s=a.charAt(0).toUpperCase().concat(a.substring(1)),i="Unable to render <".concat(t," /> because window.").concat(void 0===o?es:o,".").concat(s," is undefined."),l="string"==typeof r?r:r.join(",");
16if(!l.includes(a)){var c=[l,a].filter(Boolean).join();i+="\nTo fix the issue, add '".concat(a,"' to the list of components passed to the parent PayPalScriptProvider:")+"\n`<PayPalScriptProvider options={{ components: '".concat(c,"'}}>`.")}return i}function ec(e){e[ea];var t=ee(e,[ea+""]);return"react-paypal-js-".concat(function(e){for(var t="",a=0;a<e.length;a++){var n=e[a].charCodeAt(0)*a;e[a+1]&&(n+=e[a+1].charCodeAt(0)*(a-1)),t+=String.fromCharCode(97+Math.abs(n)%26)}return t}(JSON.stringify(t)))}function eu(e,t){var a,n,s,i;switch(t.type){case o.LOADING_STATUS:if("object"==typeof t.value)return Q(Q({},e),{loadingStatus:t.value.state,loadingStatusErrorMessage:t.value.message});return Q(Q({},e),{loadingStatus:t.value});case o.RESET_OPTIONS:return s=e.options[ea],(null==(i=self.document.querySelector("script[".concat(ea,'="').concat(s,'"]')))?void 0:i.parentNode)&&i.parentNode.removeChild(i),Q(Q({},e),{loadingStatus:r.PENDING,options:Q(Q(((a={})[eo]=en,a),t.value),((n={})[ea]="".concat(ec(t.value)),n))});case o.SET_BRAINTREE_INSTANCE:return Q(Q({},e),{braintreePayPalCheckoutInstance:t.value});default:return e}}var ed=(0,l.createContext)(null);function ep(){var e=function(e){if("function"==typeof(null==e?void 0:e.dispatch)&&0!==e.dispatch.length)return e;throw Error("usePayPalScriptReducer must be used within a PayPalScriptProvider")}((0,l.useContext)(ed));return[Q(Q({},e),{isInitial:e.loadingStatus===r.INITIAL,isPending:e.loadingStatus===r.PENDING,isResolved:e.loadingStatus===r.RESOLVED,isRejected:e.loadingStatus===r.REJECTED}),e.dispatch]}(0,l.createContext)({});var em=function(e){var t,a,n=e.className,r=e.disabled,o=void 0!==r&&r,s=e.children,i=e.forceReRender,c=ee(e,["className","disabled","children","forceReRender"]),u="".concat(void 0===n?"":n," ").concat(o?"paypal-buttons-disabled":"").trim(),d=(0,l.useRef)(null),p=(0,l.useRef)(null),m=((t=(0,l.useRef)(new Proxy({},{get:function(e,t,a){return"function"==typeof e[t]?function(){for(var a=[],n=0;n<arguments.length;n++)a[n]=arguments[n];return e[t].apply(e,a)}:Reflect.get(e,t,a)}}))).current=Object.assign(t.current,c),t.current),h=ep()[0],g=h.isResolved,f=h.options,x=(0,l.useState)(null),b=x[0],v=x[1],w=(0,l.useState)(!0),y=w[0],j=w[1],k=(0,l.useState)(null)[1];function _(){null!==p.current&&p.current.close().catch(function(){})}return(null==(a=p.current)?void 0:a.updateProps)&&p.current.updateProps({message:c.message}),(0,l.useEffect)(function(){if(!1===g)return _;var e=ei(f.dataNamespace);if(void 0===e||void 0===e.Buttons)return k(function(){throw Error(el({reactComponentName:em.displayName,sdkComponentKey:"buttons",sdkRequestedComponents:f.components,sdkDataNamespace:f[er]}))}),_;try{p.current=e.Buttons(Q(Q({},m),{onInit:function(e,t){v(t),"function"==typeof c.onInit&&c.onInit(e,t)}}))}catch(e){return k(function(){throw Error("Failed to render <PayPalButtons /> component. Failed to initialize: ".concat(e))})}return!1===p.current.isEligible()?j(!1):d.current&&p.current.render(d.current).catch(function(e){null!==d.current&&0!==d.current.children.length&&k(function(){throw Error("Failed to render <PayPalButtons /> component. ".concat(e))})}),_},et(et([g],void 0===i?[]:i,!0),[c.fundingSource],!1)),(0,l.useEffect)(function(){null!==b&&(!0===o?b.disable().catch(function(){}):b.enable().catch(function(){}))},[o,b]),l.default.createElement(l.default.Fragment,null,y?l.default.createElement("div",{ref:d,style:o?{opacity:.38}:{},className:u}):s)};function eh(e,t){void 0===t&&(t={});var a=document.createElement("script");return a.src=e,Object.keys(t).forEach(function(e){a.setAttribute(e,t[e]),"data-csp-nonce"===e&&a.setAttribute("nonce",t["data-csp-nonce"])}),a}em.displayName="PayPalButtons","function"==typeof SuppressedError&&SuppressedError;function eg(e,t){if("object"!=typeof e||null===e)throw Error("Expected an options object.");var a=e.environment;if(a&&"production"!==a&&"sandbox"!==a)throw Error('The `environment` option must be either "production" or "sandbox".');if(void 0!==t&&"function"!=typeof t)throw Error("Expected PromisePonyfill to be a function.")}var ef=function(e){var t=e.className,a=e.children,n=ee(e,["className","children"]),r=ep()[0],o=r.isResolved,s=r.options,i=(0,l.useRef)(null),c=(0,l.useState)(!0),u=c[0],d=c[1],p=(0,l.useState)(null)[1],m=function(e){var t=i.current;if(!t||!e.isEligible())return d(!1);t.firstChild&&t.removeChild(t.firstChild),e.render(t).catch(function(e){null!==t&&0!==t.children.length&&p(function(){throw Error("Failed to render <PayPalMarks /> component. ".concat(e))})})};return(0,l.useEffect)(function(){if(!1!==o){var e=ei(s[er]);if(void 0===e||void 0===e.Marks)return p(function(){throw Error(el({reactComponentName:ef.displayName,sdkComponentKey:"marks",sdkRequestedComponents:s.components,sdkDataNamespace:s[er]}))});
16m(e.Marks(Q({},n)))}},[o,n.fundingSource]),l.default.createElement(l.default.Fragment,null,u?l.default.createElement("div",{ref:i,className:void 0===t?"":t}):a)};ef.displayName="PayPalMarks";var ex=function(e){var t=e.className,a=e.forceReRender,n=ee(e,["className","forceReRender"]),r=ep()[0],o=r.isResolved,s=r.options,i=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useState)(null)[1];return(0,l.useEffect)(function(){if(!1!==o){var e=ei(s[er]);if(void 0===e||void 0===e.Messages)return u(function(){throw Error(el({reactComponentName:ex.displayName,sdkComponentKey:"messages",sdkRequestedComponents:s.components,sdkDataNamespace:s[er]}))});c.current=e.Messages(Q({},n)),c.current.render(i.current).catch(function(e){null!==i.current&&0!==i.current.children.length&&u(function(){throw Error("Failed to render <PayPalMessages /> component. ".concat(e))})})}},et([o],void 0===a?[]:a,!0)),l.default.createElement("div",{ref:i,className:void 0===t?"":t})};ex.displayName="PayPalMessages";var eb=function(e){var t,a=e.options,n=void 0===a?{clientId:"test"}:a,s=e.children,i=e.deferLoading,c=void 0!==i&&i,u=(0,l.useReducer)(eu,{options:Q(Q({},n),((t={}).dataJsSdkLibrary=en,t[eo]=en,t[ea]="".concat(ec(n)),t)),loadingStatus:c?r.INITIAL:r.PENDING}),d=u[0],p=u[1];return(0,l.useEffect)(function(){if(!1===c&&d.loadingStatus===r.INITIAL)return p({type:o.LOADING_STATUS,value:r.PENDING});if(d.loadingStatus===r.PENDING){var e=!0;return(function(e,t){if(void 0===t&&(t=Promise),eg(e,t),"u"<typeof document)return t.resolve(null);var a,n,r,o,s,i,l,c,u,d,p=(o=e.sdkBaseUrl,s=e.environment,i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a}(e,["sdkBaseUrl","environment"]),l=o||("sandbox"===s?"https://www.sandbox.paypal.com/sdk/js":"https://www.paypal.com/sdk/js"),u=(c=Object.keys(i).filter(function(e){return void 0!==i[e]&&null!==i[e]&&""!==i[e]}).reduce(function(e,t){var a=i[t].toString();return"data"===(t=t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()})).substring(0,4)||"crossorigin"===t?e.attributes[t]=a:e.queryParams[t]=a,e},{queryParams:{},attributes:{}})).queryParams,d=c.attributes,u["merchant-id"]&&-1!==u["merchant-id"].indexOf(",")&&(d["data-merchant-id"]=u["merchant-id"],u["merchant-id"]="*"),{url:"".concat(l,"?").concat((n="",Object.keys(a=u).forEach(function(e){0!==n.length&&(n+="&"),n+=e+"="+a[e]}),n)),attributes:d}),m=p.url,h=p.attributes,g=h["data-namespace"]||"paypal",f=(r=g,window[r]);return(h["data-js-sdk-library"]||(h["data-js-sdk-library"]="paypal-js"),function(e,t){var a=document.querySelector('script[src="'.concat(e,'"]'));if(null===a)return null;var n=eh(e,t),r=a.cloneNode();if(delete r.dataset.uidAuto,Object.keys(r.dataset).length!==Object.keys(n.dataset).length)return null;var o=!0;return Object.keys(r.dataset).forEach(function(e){r.dataset[e]!==n.dataset[e]&&(o=!1)}),o?a:null}(m,h)&&f)?t.resolve(f):(function(e,t){void 0===t&&(t=Promise),eg(e,t);var a=e.url,n=e.attributes;if("string"!=typeof a||0===a.length)throw Error("Invalid url.");if(void 0!==n&&"object"!=typeof n)throw Error("Expected attributes to be an object.");return new t(function(e,t){var r,o,s,i,l,c;if("u"<typeof document)return e();o=(r={url:a,attributes:n,onSuccess:function(){return e()},onError:function(){return t(Error('The script "'.concat(a,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.')))}}).url,s=r.attributes,i=r.onSuccess,l=r.onError,(c=eh(o,s)).onerror=l,c.onload=i,document.head.insertBefore(c,document.head.firstElementChild)})})({url:m,attributes:h},t).then(function(){var e,t=(e=g,window[e]);if(t)return t;throw Error("The window.".concat(g," global variable is not available."))})})(d.options).then(function(){e&&p({type:o.LOADING_STATUS,value:r.RESOLVED})}).catch(function(t){console.error("".concat("Failed to load the PayPal JS SDK script."," ").concat(t)),e&&p({type:o.LOADING_STATUS,value:{state:r.REJECTED,message:String(t)}})}),function(){e=!1}}},[d.options,c,d.loadingStatus]),l.default.createElement(ed.Provider,{value:Q(Q({},d),{dispatch:p})},s)};function ev(){}(0,l.createContext)({cardFieldsForm:null,fields:{},registerField:ev,unregisterField:ev});var ew=e.i(48423);function ey(e,t){return t===ew.productIDs.EverythingBundleMonthly&&(!e||!e.recordFound&&!e.everything_bundle_license)}var ej=e.i(27209);function ek({licenseType:e,productID:t,checkmarkStrings:a,user:n,coupon:r,close:o,retailValue:s}){let d=(0,u.useTranslations)("global"),p=(0,u.useTranslations)("productTile"),[m,h]=(0,l.useState)(""),[g,f]=(0,l.useState)(!1),[x,b]=(0,l.useState)(0),[v,w]=(0,l.useState)(null),[k,_]=(0,l.useState)(!1),S=(0,c.useRouter)(),N=(0,c.usePathname)(),{setOpenLogin:C,setSignUp:P,closeAllLists:E}=(0,T.useUI)();function M(){f(e=>!e)}function L(e,t){o(),E(),n&&(0,ej.handleDatalayer)(e,t,x,S,r,n.email),(0,y.track)(`${e.split("_")[0]} Payment Success Modal Opened`,{location:N,widget:`${e.split("_")[0]} Payment Success Modal`})}function O(){switch(t){case ew.productIDs.EverythingBundleMonthly:return ew.productIDs.EverythingBundleAnnual;case ew.productIDs.VCMonthly:return ew.productIDs.VCAnnual;default:return t}}(0,l.useEffect)(()=>{!async function(){try{let e=await fetch(`/api/paypal?productID=${t}`),a=await e.json();if(console.log(a),!e.ok)return void h(a.message||"Something went wrong. Please try again.");a.lifetimePrice?b(a.lifetimePrice):w({introSubID:a.introSubID,monthlySubID:a.monthlySubID,annualSubID:a.annualSubID,monthlyPrice:a.monthlyPrice,annualPrice:a.annualPrice,amountSaved:a.amountSaved})}catch(e){console.error(e),h("Something went wrong. Please try again.")}}()},[t]);let I="flex flex-row w-full h-[54px] justify-center items-center py-[12px] px-[32px] rounded-[16px] gap-[10px] border-[1px] font-black transition",B="text-yellow text-[18px] font-bold scale";return(0,i.jsx)("div",{className:"relative border-purple-grad rounded-[12px]",onClick:e=>e.stopPropagation(),children:(0,i.jsxs)("div",{className:"flex flex-col tl:w-[421.59px] w-full h-auto items-center tl:p-[24px] p-[12px] gap-[6px] rounded-[12px] bg-[linear-gradient(219.99deg,rgba(255,255,255,0.224)_-2.04%,rgba(255,255,255,0)_94.94%)] ",children:[(0,i.jsx)("div",{className:"relative w-full border-purple-grad rounded-[16px]",children:(0,i.jsxs)("div",{className:"flex flex-col tl:w-[373.59px] w-full h-[124px] p-[16px] gap-[2px] bg-[linear-gradient(219.99deg,rgba(0,0,0,0.288)_-2.04%,rgba(0,0,0,0.144)_94.94%)] rounded-[16px]",children:[(0,i.jsx)("p",{className:"text-[16px] text-white font-black",children:e}),s?(0,i.jsxs)("div",{className:"flex flex-row text-white font-thin gap-1",children:[" ",p("retailValue"),(0,i.jsxs)("p",{className:" line-through",children:[" $",s]})]}):null,(0,i.jsx)("div",{className:"text-[36px] text-yellow font-black",children:v?g?(0,i.jsx)(i.Fragment,{children:`$${v.annualPrice.toFixed(2)} / ${p("year")}`}):(0,i.jsx)(i.Fragment,{children:ey(n,t)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"text-[30px]",children:p("freeFor14Days")}),(0,i.jsx)("p",{className:"text-[12px]",children:`${p("continueAt")} $${v.monthlyPrice.toFixed(2)} / ${p("month")}`})]}):(0,i.jsx)("p",{className:"tl:text-[40px] text-[39px]",children:`$${v.monthlyPrice.toFixed(2)} / ${p("month")}`})}):`$${(0,ej.returnCouponPrice)(r?.product_identifier==t?r:null,x).toFixed(2)}`})]})}),v?(0,i.jsx)("div",{className:"flex flex-col w-full items-end",children:g?(0,i.jsxs)("button",{className:B,onClick:M,children:[p("payMonthly")," ",(0,i.jsx)(j.default,{fontSize:"small"})]}):(0,i.jsxs)("div",{className:"text-left",children:[(0,i.jsx)("p",{className:"text-green text-[18px] font-bold",children:`${p("save")} $${v.amountSaved}/${p("year")}`}),(0,i.jsxs)("button",{className:B,onClick:M,children:[p("payAnnually")," ",(0,i.jsx)(j.default,{fontSize:"small"})]})]})}):null,m?(0,i.jsx)("p",{className:"error",children:m}):null,(0,i.jsx)("div",{className:"flex flex-col tl:w-[373.59px] w-full h-auto p-[20px] gap-[8px] bg-[rgba(187,123,255,0.08)] rounded-[12px] ",children:a.map((a,n)=>(0,i.jsxs)("div",{className:"flex flex-row w-full gap-[10px] text-white text-[12px]",children:[(0,i.jsx)(W.default,{className:"text-green"}),(0,i.jsx)("p",{children:a})]},`${e}_${t}_${n}`))}),(0,i.jsx)("div",{className:"text-white hd:text-[14px] text-[9px] font-bold",children:n?(0,i.jsxs)(i.Fragment,{children:[p("byPurchasingText"),(0,i.jsx)("a",{className:"text-purple-grad",href:"/terms-of-service",children:d("termsOfService")}),d("comma")," ",(0,i.jsx)("a",{className:"text-purple-grad",href:"/terms-of-service",children:d("privacyPolicy")}),d("comma")," ",d("and")," ",(0,i.jsx)("a",{className:"text-purple-grad",href:"/terms-of-service",children:d("eula")}),d("period")]}):p("loginToAccessFreeTrial")}),k?v?(0,i.jsx)(i.Fragment,{children:!function(){if(!n)return!1;let e=t===ew.productIDs.EverythingBundleMonthly||t===ew.productIDs.EverythingBundleAnnual,a=t===ew.productIDs.VCMonthly||t===ew.productIDs.VCAnnual,r=e=>!e||new Date().getTime()>
16new Date(e.expiration_date).getTime(),o=!r(n.everything_bundle_license),s=!r(n.vc_license);return e?!o:!a||!o&&!s}()?(0,i.jsx)("p",{className:"success",children:p("yourSubIsActive")}):(0,i.jsx)(eb,{options:{clientId:"AdQ3nsiKyTLnTntPj45V_-bNS1BqrofYioqty7cAkqCL3mQDK-WI9cakUxBa4cnyM3NnIJh3XeqAUzTZ",components:"buttons",intent:"subscription",vault:!0},children:(0,i.jsx)(em,{createSubscription:(e,a)=>{let r=ey(n,t);console.log(r);let o=g?v.annualSubID:r?v.introSubID:v.monthlySubID,s=g?`${n?n.id:""}_${O()}`:`${n?n.id:""}_${t}`;return a.subscription.create({custom_id:s,plan_id:o||""}).then(e=>e)},onApprove:async e=>{L(g?O():t,e.orderID)},style:{label:"subscribe"}})})}):(0,i.jsx)(i.Fragment,{children:!function(){if(!n)return!1;let e=!1;switch(t){case ew.productIDs.SoundBridge:(!n.soundbridge_lifetime_license||n.soundbridge_lifetime_license&&n.soundbridge_lifetime_license.locked)&&(e=!0);break;case ew.productIDs.RitMix:(!n.ritmix_lifetime_license||n.ritmix_lifetime_license&&n.ritmix_lifetime_license.locked)&&(e=!0);break;case ew.productIDs.reChord:(!n.rechord_lifetime_license||n.rechord_lifetime_license&&n.rechord_lifetime_license.locked)&&(e=!0);break;case ew.productIDs.HouseBootCamp:n.house_boot_camp_locked&&(e=!0);break;case ew.productIDs.TrapBootCamp:n.trap_boot_camp_locked&&(e=!0);break;case ew.productIDs.AmbientBootCamp:n.ambient_boot_camp_locked&&(e=!0);break;case ew.productIDs.ComputerActivation:e=!0;break;default:e=!1}return e}()?(0,i.jsx)("p",{className:"text-green text-[16px]",children:p("alreadyOwnLicense")}):(0,i.jsx)(eb,{options:{clientId:"AdQ3nsiKyTLnTntPj45V_-bNS1BqrofYioqty7cAkqCL3mQDK-WI9cakUxBa4cnyM3NnIJh3XeqAUzTZ",components:"buttons",currency:"USD"},children:(0,i.jsx)(em,{createOrder:(e,a)=>a.order.create({intent:"CAPTURE",purchase_units:[{custom_id:`${n?n.id:""}_${t}`,amount:{currency_code:"USD",value:r&&r.product_identifier===t.split("_")[0]?(0,ej.returnCouponPrice)(r?.product_identifier==t?r:null,x).toString():x.toString()}}]}).then(e=>e),onApprove:async(e,a)=>{try{let n=await a?.order?.capture();console.log("Capture result:",n),L(t,e.orderID)}catch(e){console.error("PayPal capture failed:",e),h("Payment capture failed. Please try again.")}},style:{label:"buynow"}})})}):n?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("button",{className:`${I} aggressive-action-btn`,onClick:function(){_(e=>!e)},children:[d(v?"subscribe":"purchase")," ",(0,i.jsx)(j.default,{})]})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{className:`${I} aggressive-action-btn`,onClick:function(){C(!0),P(!0),o()},children:[d("signUp")," ",(0,i.jsx)(j.default,{})]}),(0,i.jsxs)("button",{className:`${I} passive-action-btn`,onClick:function(){C(!0),P(!1),o()},children:[(0,i.jsx)(A.default,{})," ",d("login")]})]})]})})}var e_=e.i(85630),eS=e.i(26838);function eN({productID:e,licenseType:t,imageSrc:a,imageAlt:n,imageWidth:r,imageHeight:o,headline:s,accent:d,subText:m,checkmarkStrings:h,user:g,coupon:f,setCoupon:x,setOpenModal:b,hasCookie:v,isSubscription:w,retailValue:j}){let k=(0,u.useTranslations)("global"),[_,S]=(0,l.useState)(""),N=(0,c.usePathname)(),[C,P]=(0,l.useState)(""),{closeAllLists:A}=(0,T.useUI)(),E=(0,c.useRouter)();function M(){b(e=>!e)}async function L(t){if(t.preventDefault(),(0,y.track)(`${e} Coupon Form`,{location:N,widget:"Product Modal"}),P(""),!v)return void P(k("pleaseLoginToUseThisFeature"));try{let e=await fetch(`/api/coupons?code=${_}`,{method:"GET",headers:{"Content-Type":"application/json"}}),t=await e.json();if(!e.ok||t.message)return void P(t.message||"Something went wrong. Please try again.");console.log(t),x(t)}catch(e){P("Something went wrong. Please try again.")}}return(0,i.jsx)("div",{className:"z-[5] fixed flex w-full h-full justify-center items-center bg-black_trans",onClick:M,children:(0,i.jsxs)("div",{className:"relative border-purple-grad rounded-[24px]",children:[(0,i.jsx)("button",{className:"z-[5] absolute top-[12px] right-[11.78px] border-purple-grad rounded-full scale","aria-label":k("closeAria"),children:(0,i.jsx)("div",{className:"close-button",children:(0,i.jsx)($.default,{fontSize:"medium"})})}),(0,i.jsxs)("div",{className:"flex flex-col tl:justify-center ml:justify-start justify-start items-center tl:p-[20px] p-[10px] gap-[6px] tl:w-full tl:h-full w-screen h-screen bg-black_trans_2 backdrop-blur-[12px] tl:overflow-y-hidden overflow-y-scroll",children:[(0,i.jsx)(p.default,{src:a,width:r,height:o,alt:n}),(0,i.jsxs)("p",{className:"hd:flex hidden gap-2 text-center text-white text-[32px] font-bold",children:[s," ",(0,i.jsx)("br",{className:"lap:hidden inline-flex"}),(0,i.jsx)("span",{className:"text-purple-grad text-[32px] font-black",children:d})]}),(0,i.jsx)("p",{className:"hd:flex hidden text-white text-[16px]",children:m}),(0,i.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[24px]",children:[w?null:(0,i.jsxs)("div",{className:"flex flex-col w-full gap-[24px]",children:[(0,i.jsx)(e_.default,{setValue:S,value:_,buttonIcon:eS.default,placeholder:k("enterCodePlaceholder"),submitFunction:L,buttonAriaLabel:"Coupon code submit button."}),C?(0,i.jsx)("p",{className:"error",children:C}):null,f&&f.product_identifier===e?(0,i.jsx)("p",{className:"text-green",children:`${100*Number(f.percentage_saved)}% Off 17 ${f.product_identifier}`}):null]}),(0,i.jsx)(ek,{licenseType:t,productID:e,checkmarkStrings:h,user:g,coupon:f,close:M,retailValue:j}),!w&&g?(0,i.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[6px]",children:[(0,i.jsx)("p",{className:"text-white hd:text-[14px] text-[12px] font-medium",children:k("clickBelowForMorePaymentOptions")}),(0,i.jsx)("button",{onClick:function(){(0,y.track)(`${e} Payment Options`,{location:N,widget:"Product Modal"}),A(),E.push("/payment-options")},className:"scale text-purple-grad animate-pulse","aria-label":"An image of accepted payment options",children:(0,i.jsx)(p.default,{src:"/global/cards.webp",alt:k("cardsAltText"),width:384,height:32})})]}):null]})]})]})})}e.s(["default",0,function({hasCookie:e}
17){let[t,a]=(0,l.useState)(null),[n,r]=(0,l.useState)(null),o=(0,d.usePathname)(),s=(0,c.useSearchParams)(),p=(0,c.useRouter)(),m=(0,u.useTranslations)("global"),h=(0,u.useTranslations)("everythingBundleProductModal"),g=(0,u.useTranslations)("sbProductModal"),f=(0,u.useTranslations)("ritmixProductModal"),x=(0,u.useTranslations)("rechordProductModal"),b=(0,u.useTranslations)("houseBootCampProductModal"),v=(0,u.useTranslations)("trapBootCampProductModal"),w=(0,u.useTranslations)("ambientBootCampProductModal"),y=(0,u.useTranslations)("computerActivationProductModal"),j=(0,u.useTranslations)("vcProductModal"),{openMobileMenu:k,openForgotPassword:_,setOpenForgotPassword:S,openEverythingBundle:N,setOpenEverythingBundleModal:C,openSoundBridgeModal:A,setOpenSoundBridgeModal:E,openRitMixModal:M,setOpenRitMixModal:L,openReChordModal:O,setOpenReChordModal:I,openHouseBootCampModal:B,setOpenHouseBootCampModal:D,openTrapBootCampModal:$,setOpenTrapBootCampModal:F,openAmbientBootCampModal:z,setOpenAmbientBootCampModal:U,openComputerActivationModal:V,setOpenComputerActivationModal:H,openVCModal:q,setOpenVCModal:W,openHouseBootCampAd:G,setOpenHouseBootCampAd:Y,openTrapBootCampAd:Q,setOpenTrapBootCampAd:ee,openAmbientBootCampAd:et,setOpenAmbientBootCampAd:ea,openHouseBootCampCourse:en,setOpenHouseBootCampCourse:er,openTrapBootCampCourse:eo,setOpenTrapBootCampCourse:es,openAmbientBootCampCourse:ei,setOpenAmbientBootCampCourse:el}=(0,T.useUI)();async function ec(){await fetch("/api/session",{method:"GET",mode:"cors"}).then(e=>e.json()).then(e=>{e.id?a(e):(a(null),"account"===o.split("/")[1]&&p.push("/?login=false"))})}return(0,l.useEffect)(()=>{ec(),document.addEventListener("contextmenu",e=>e.preventDefault()),s.has("openSoundBridge")?E(!0):s.has("openRitMix")?L(!0):s.has("openReChord")?I(!0):s.has("openHouseBootCamp")?D(!0):s.has("openTrapBootCamp")?F(!0):s.has("openAmbientBootCamp")?U(!0):s.has("openVC")?W(!0):s.has("openEverythingBundle")&&C(!0)},[o,s]),(0,i.jsxs)("div",{children:[(0,i.jsx)("header",{children:(0,i.jsx)(P,{user:t})}),k?(0,i.jsx)(J,{user:t}):null,null,(0,i.jsx)(R,{}),_?(0,i.jsx)(K,{setOpenForgotPassword:S}):null,N?(0,i.jsx)(eN,{productID:ew.productIDs.EverythingBundleMonthly,licenseType:h("licenseType"),imageSrc:"/global/everything_bundle_logo.jpeg",imageAlt:m("everythingBundleLogoAltText"),imageWidth:122,imageHeight:122,headline:h("headline"),accent:h("accent"),subText:h("subText"),checkmarkStrings:[h("check1"),h("check2"),h("check3")],user:t,coupon:null,setCoupon:r,setOpenModal:C,hasCookie:e,isSubscription:!0,retailValue:null}):null,A?(0,i.jsx)(eN,{productID:ew.productIDs.SoundBridge,licenseType:g("licenseType"),imageSrc:"/global/soundbridge-product-logo.svg",imageAlt:m("sbLogoAltText"),imageWidth:122,imageHeight:122,headline:g("headline"),accent:g("accent"),subText:g("subText"),checkmarkStrings:[g("check1"),g("check2"),g("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:E,hasCookie:e,isSubscription:!1,retailValue:299.99}):null,M?(0,i.jsx)(eN,{productID:ew.productIDs.RitMix,licenseType:f("licenseType"),imageSrc:"/global/ritmix-product-logo.svg",imageAlt:m("ritmixLogoAltText"),imageWidth:122,imageHeight:122,headline:f("headline"),accent:f("accent"),subText:f("subText"),checkmarkStrings:[f("check1"),f("check2"),f("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:L,hasCookie:e,isSubscription:!1,retailValue:249.99}):null,O?(0,i.jsx)(eN,{productID:ew.productIDs.reChord,licenseType:x("licenseType"),imageSrc:"/global/rechord-product-logo.svg",imageAlt:m("rechordLogoAltText"),imageWidth:280,imageHeight:122,headline:x("headline"),accent:x("accent"),subText:x("subText"),checkmarkStrings:[x("check1"),x("check2"),x("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:I,hasCookie:e,isSubscription:!1,retailValue:199.99}):null,B?(0,i.jsx)(eN,{productID:ew.productIDs.HouseBootCamp,licenseType:b("licenseType"),imageSrc:"/global/house-boot-camp-product-full.webp",imageAlt:m("houseBootCampLogoAltText"),imageWidth:122,imageHeight:122,headline:b("headline"),accent:b("accent"),subText:b("subText"),checkmarkStrings:[b("check1"),b("check2"),b("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:D,hasCookie:e,isSubscription:!1,retailValue:99.99}
17):null,$?(0,i.jsx)(eN,{productID:ew.productIDs.TrapBootCamp,licenseType:v("licenseType"),imageSrc:"/global/trap-boot-camp-product-full.webp",imageAlt:m("trapBootCampLogoAltText"),imageWidth:122,imageHeight:122,headline:v("headline"),accent:v("accent"),subText:v("subText"),checkmarkStrings:[v("check1"),v("check2"),v("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:F,hasCookie:e,isSubscription:!1,retailValue:99.99}):null,z?(0,i.jsx)(eN,{productID:ew.productIDs.AmbientBootCamp,licenseType:w("licenseType"),imageSrc:"/global/ambient-boot-camp-product-full.webp",imageAlt:m("ambientBootCampLogoAltText"),imageWidth:122,imageHeight:122,headline:w("headline"),accent:w("accent"),subText:w("subText"),checkmarkStrings:[w("check1"),w("check2"),w("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:U,hasCookie:e,isSubscription:!1,retailValue:99.99}):null,V?(0,i.jsx)(eN,{productID:ew.productIDs.ComputerActivation,licenseType:y("licenseType"),imageSrc:"/global/vc-icon.svg",imageAlt:m("computerActivationLogoAltText"),imageWidth:122,imageHeight:122,headline:y("headline"),accent:y("accent"),subText:y("subText"),checkmarkStrings:[y("check1"),y("check2"),y("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:H,hasCookie:e,isSubscription:!1,retailValue:99.99}):null,q?(0,i.jsx)(eN,{productID:ew.productIDs.VCMonthly,licenseType:j("licenseType"),imageSrc:"/global/vc-icon.svg",imageAlt:m("virtualCollaborationLogoAltText"),imageWidth:122,imageHeight:122,headline:j("headline"),accent:j("accent"),subText:j("subText"),checkmarkStrings:[j("check1"),j("check2"),j("check3")],user:t,coupon:n,setCoupon:r,setOpenModal:W,hasCookie:e,isSubscription:!0,retailValue:null}):null,G?(0,i.jsx)(X,{id:"house-boot-camp-ad",title:"House Boot Camp",src:"private/products/courses/house-music-boot-camp/house-music-boot-camp-ad.mp4",width:854,height:480,setOpenAd:Y}):null,Q?(0,i.jsx)(X,{id:"trap-boot-camp-ad",title:"Trap Boot Camp",src:"private/products/courses/trap-boot-camp/trap-boot-camp-ad.mp4",width:854,height:480,setOpenAd:ee}):null,et?(0,i.jsx)(X,{id:"ambient-boot-camp-ad",title:"Ambient Boot Camp",src:"private/products/courses/ambient-boot-camp/ambient_boot_camp_ad_intro.mp4",width:854,height:480,setOpenAd:ea}):null,en?(0,i.jsx)(Z,{id:"house-boot-camp-course-player",width:854,height:480,setOpenCourse:er,nameURLArray:["Welcome to Composition and Arrangement_private/products/courses/house-music-boot-camp/1-welcome-to-composition-and-arrangement/1-welcome-to-composition-and-arrangement.mp4","Making a Drum Beat_private/products/courses/house-music-boot-camp/2-making-a-drum-beat/2-making-a-drum-beat.mp4","Add the Bassline_private/products/courses/house-music-boot-camp/3-add-the-bassline/3-add-the-bassline.mp4","Intro to Loopcloud_private/products/courses/house-music-boot-camp/4-intro-to-loopcloud/4-intro-to-loopcloud.mp4","Creating a Sidechain Pumping Effect_private/products/courses/house-music-boot-camp/5-creating-a-sidechain-pumping-effect/5-creating-a-sidechain-pumping-effect.mp4","Filling up the Drum Section_private/products/courses/house-music-boot-camp/6-filling-up-the-drum-section/6-filling-up-the-drum-section.mp4","Making Melodies p.1_private/products/courses/house-music-boot-camp/7-making-melodies-p.1/7-making-melodies-p.1.mp4","Making Melodies p.2_private/products/courses/house-music-boot-camp/8-making-melodies-p.2/8-making-melodies-p.2.mp4","Starting the Arrangement_private/products/courses/house-music-boot-camp/9-starting-the-arrangement/9-starting-the-arrangement.mp4","Recording Vocals_private/products/courses/house-music-boot-camp/10-recording-vocals/10-recording-vocals.mp4","Finishing up the Arrangement_private/products/courses/house-music-boot-camp/11-finishing-up-the-arrangement/11-finishing-up-the-arrangement.mp4","Filling up the Arrangement_private/products/courses/house-music-boot-camp/12-filling-up-the-ararngement/12-filling-up-the-ararngement.mp4","Welcome to Mixing and Mastering_private/products/courses/house-music-boot-camp/13-welcome-to-mixing-and-mastering/13-welcome-to-mixing-and-mastering.mp4","Starting the Mixing Process_private/products/courses/house-music-boot-camp/14-starting-the-mixing-process/14-starting-the-mixing-process.mp4","EQ and Filters_private/products/courses/house-music-boot-camp/15-eq-and-filters/15-eq-and-filters.mp4","Creative Mixing Decisions_private/products/courses/house-music-boot-camp/16-creative-mixing-decisions/16-creative-mixing-decisions.mp4","Saturation and Returns_private/products/courses/house-music-boot-camp/17-saturation-and-returns/17-saturation-and-returns.mp4","Mastering_private/products/courses/house-music-boot-camp/18-mastering/18-mastering.mp4","Welcome to Sound Design_private/products/courses/house-music-boot-camp/19-welcome-to-sound-design/19-welcome-to-sound-design.mp4","Creating the Bass Sound_private/products/courses/house-music-boot-camp/20-creating-the-bass-sound/20-creating-the-bass-sound.mp4","Organ Lead and Fall_private/products/courses/house-music-boot-camp/21-organ-lead-and-fall/21-organ-lead-and-fall.mp4","Strings and Arpeggio_private/products/courses/house-music-boot-camp/22-strings-and-arpeggio/22-strings-and-arpeggio.mp4","Riser and Reverse Riser_private/products/courses/house-music-boot-camp/23-riser-and-reverse-risers/23-riser-and-reverse-risers.mp4","Outro to House Boot Camp_private/products/courses/house-music-boot-camp/24-
17outro-to-house-boot-camp/24-outro-to-house-boot-camp.mp4"],downloadURL:"private/products/courses/house-music-boot-camp/house-music-boot-camp-assets/house-music-boot-camp-assets.zip"}):null,eo?(0,i.jsx)(Z,{id:"trap-boot-camp-course-player",width:854,height:480,setOpenCourse:es,nameURLArray:["Welcome to Composition and Arrangement_private/products/courses/trap-boot-camp/1-welcome-to-composition-and-arrangement/1-welcome-to-composition-and-arrangement.mp4","Making a Drum Beat_private/products/courses/trap-boot-camp/2-making-a-drum-beat/2-making-a-drum-beat.mp4","Adding More Percussion_private/products/courses/trap-boot-camp/3-adding-more-percussion/3-adding-more-percussion.mp4","Plugging in the Melody_private/products/courses/trap-boot-camp/4-plugging-in-the-melody/4-plugging-in-the-melody.mp4","Add the Bassline_private/products/courses/trap-boot-camp/5-add-the-bassline/5-add-the-bassline.mp4","Starting the Arrangement_private/products/courses/trap-boot-camp/6-starting-the-arrangement/6-starting-the-arrangement.mp4","Adding Some Ambiences and FX_private/products/courses/trap-boot-camp/7-adding-some-ambiances-and-fx/7-adding-some-ambiances-and-fx.mp4","Creating a B Part_private/products/courses/trap-boot-camp/8-creating-a-b-part/8-creating-a-b-part.mp4","Adding a Bass Pad to the Intro_private/products/courses/trap-boot-camp/9-adding-a-bass-pad-to-the-intro/9-adding-a-bass-pad-to-the-intro.mp4","Transitioning Into the B Part p.1_private/products/courses/trap-boot-camp/10-transitioning-into-the-b-part-p.1/10-transitioning-into-the-b-part-p.1.mp4","Transitioning Into the B Part p.2_private/products/courses/trap-boot-camp/11-transitioning-into-the-b-part-p.2/11-transitioning-into-the-b-part-p.2.mp4","Wrapping up the Arrangement_private/products/courses/trap-boot-camp/12-wrapping-up-the-arrangement/12-wrapping-up-the-arrangement.mp4","Creative Processing_private/products/courses/trap-boot-camp/13-creative-processing/13-creative-processing.mp4","Welcome to Mixing and Mastering_private/products/courses/trap-boot-camp/14-welcome-to-mixing-&-mastering/14-welcome-to-mixing-&-mastering.mp4","Mixing the Lows_private/products/courses/trap-boot-camp/15-mixing-the-lows/15-mixing-the-lows.mp4","Mixing the Drums_private/products/courses/trap-boot-camp/16-mixing-the-drums/16-mixing-the-drums.mp4","Mixing the Melodies_private/products/courses/trap-boot-camp/17-mixing-the-melodies/17-mixing-the-melodies.mp4","Mixing the FX_private/products/courses/trap-boot-camp/18-mixing-the-fx/18-mixing-the-fx.mp4","Creatively Mixing the Vocals_private/products/courses/trap-boot-camp/19-creatively-mixing-the-vocals/19-creatively-mixing-the-vocals.mp4","Mastering p.1_private/products/courses/trap-boot-camp/20-mastering-p.1/20-mastering-p.1.mp4","Mastering p.2_private/products/courses/trap-boot-camp/21-mastering-p.2/21-mastering-p.2.mp4","Outro to Trap Boot Camp_private/products/courses/trap-boot-camp/22-outro-to-trap-boot-camp/22-outro-to-trap-boot-camp.mp4"],downloadURL:"private/products/courses/trap-boot-camp/trap-boot-camp-assets/trap-boot-camp-assets.zip"}):null,ei?(0,i.jsx)(Z,{id:"ambient-boot-camp-course-player",width:854,height:480,setOpenCourse:el,nameURLArray:["Welcome to Composition and Arrangement_private/products/courses/ambient-boot-camp/1-welcome-to-composition-and-arrangement/1-welcome-to-composition-and-arrangement.mp4","Installing the Dependencies_private/products/courses/ambient-boot-camp/2-installing-the-dependencies/2-installing-the-dependencies-v2.mp4","Creating a Simple Beat p.1_private/products/courses/ambient-boot-camp/3-creating-a-simple-beat-p.1/3-creating-a-simple-beat-p.1.mp4","Creating a Simple Beat p.2_private/products/courses/ambient-boot-camp/4-creating-a-simple-beat-p.2/4-creating-a-simple-beat-p.2.mp4","Add the Bassline_private/products/courses/ambient-boot-camp/5-add-the-bassline/5-add-the-bassline.mp4","Chords and Guitar_private/products/courses/ambient-boot-camp/6-chords-and-guitar/6-chords-and-guitar.mp4","Main Lead and Bell_private/products/courses/ambient-boot-camp/7-main-lead-and-bell/7-main-lead-and-bell.mp4","Adding Some Ear Candy_private/products/courses/ambient-boot-camp/8-adding-some-ear-candy/8-adding-some-ear-candy.mp4","Intro Elements_private/products/courses/ambient-boot-camp/9-intro-elements/9-intro-elements.mp4","Starting the Arrangement_private/products/courses/ambient-boot-camp/10-starting-the-arrangement/10-starting-the-arrangement.mp4","Continuing the Arrangement p.1_private/products/courses/ambient-boot-camp/11-continuing-the-arrangement-p.1/11-continuing-the-arrangement-p.1.mp4","Continuing the Arrangement p.2_private/products/courses/ambient-boot-camp/12-continuing-the-arrangement-p.2/12-continuing-the-arrangement-p.2.mp4","Welcome to Mixing and Mastering_private/products/courses/ambient-boot-camp/13-welcome-to-mixing-&-mastering/13-welcome-to-mixing-&-mastering.mp4","Mixing the Drums_private/products/courses/ambient-boot-camp/14-mixing-the-drums/14-mixing-the-drums.mp4","Mixing the Bass and
17Synths_private/products/courses/ambient-boot-camp/15-mixing-the-bass-and-synths/15-mixing-the-bass-and-synths.mp4","Mixing the Lead Lines_private/products/courses/ambient-boot-camp/16-mixing-the-lead-lines/16-mixing-the-lead-lines.mp4","Mixing the Intro Elements_private/products/courses/ambient-boot-camp/17-mixing-the-intro-elements/17-mixing-the-intro-elements.mp4","Mixing the FX_private/products/courses/ambient-boot-camp/18-mixing-the-fx/18-mixing-the-fx-v2.mp4","Preparing for the Mastering Process_private/products/courses/ambient-boot-camp/19-preparing-for-the-mastering-process/19-preparing-for-the-mastering-process.mp4","Mastering EQ_private/products/courses/ambient-boot-camp/20-mastering-eq/20-mastering-eq.mp4","Mastering Dynamics_private/products/courses/ambient-boot-camp/21-mastering-dynamics/21-mastering-dynamics.mp4","Applying the Final Touches and Overview_private/products/courses/ambient-boot-camp/22-applying-the-final-touches-and-overview/22-applying-the-final-touches-and-overview.mp4","Outro to Ambient Boot Camp_private/products/courses/ambient-boot-camp/23-outro-to-ambient-boot-camp/23-outro-to-ambient-boot-camp.mp4"],downloadURL:"private/products/courses/ambient-boot-camp/ambient-boot-camp-assets/ambient-boot-camp-assets-v2.zip"}):null]})}],40951)},28510,e=>{"use strict";var t=e.i(63705),a=e.i(55131),n=e.i(84948),r=e.i(38411),o=e.i(81862);e.s(["default",0,function(){let e=(0,r.useTranslations)("global"),s=(0,r.useTranslations)("footer"),i="flex flex-col hd:w-[400.67px] lap:w-[240.67px] tl:w-[328.67px] w-full mb-[40px] hd:px-[24px] px-0 gap-[16px]",l="text-white text-[16px] font-bold",c="flex flex-row gap-1 text-white scale",{closeAllLists:u}=(0,o.useUI)();return(0,t.jsx)("footer",{className:"relative nav-footer-border-purple-grad w-full max-w-screen",children:(0,t.jsx)("div",{className:"flex place-content-center w-full max-w-screen bg-black",children:(0,t.jsxs)("div",{className:"relative flex flex-col w-full items-center pt-[24px] tl:px-[80px] overflow-hidden",children:[(0,t.jsx)(a.default,{src:"/global/footer_background.jpg",fill:!0,priority:!0,className:"object-cover",alt:"The nav background."}),(0,t.jsx)("div",{className:"relative border-purple-grad rounded-[24px]",children:(0,t.jsxs)("div",{className:"flex lap:flex-row flex-col hd:w-[1760px] lap:w-[1280] tl:w-[1114px] ml:w-[570px] w-[330px] content-margin h-auto items-start content-start p-[24px] bg-[rgba(0,0,0,0.08)] backdrop-blur-[12px] rounded-[24px]",children:[(0,t.jsxs)("div",{className:"flex flex-col lap:w-[510px] tl:w-[1070px] w-full hd:py-[24px] hd:px-[40px] px-[0px] py-[0px] gap-[24px]",children:[(0,t.jsx)(a.default,{src:"/global/soundbridge_footer.svg",width:234,height:40.85,alt:"The SoundBridge logo."}),(0,t.jsx)("p",{className:"text-white text-[16px] font-medium tl:w-[340px] w-full",children:s("paragraph")}),(0,t.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,t.jsx)("p",{className:"text-white text-[16px] font-bold",children:s("developedAndMaintainedBy")}),(0,t.jsx)("a",{href:"https://www.cyberbyteforge.com",target:"_blank",rel:"noopener noreferrer","aria-label":"The CyberByte Forge website.",className:"scale",children:(0,t.jsx)(a.default,{src:"/global/cyber_byte_logo.svg",width:32,height:32,className:"logo-mt",alt:"The Cyber Byte Forge logo."})})]})]}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`${i} tl:mt-[0px] mt-[40px]`,children:[(0,t.jsx)("p",{className:l,children:s("quickLinks")}),(0,t.jsx)(n.default,{className:c,href:"/",onClick:u,children:e("home")}),(0,t.jsx)(n.default,{className:c,href:"/blog",onClick:u,children:e("blog")}),(0,t.jsx)(n.default,{className:c,href:"/redeem-serial-number",onClick:u,children:e("redeemSerialNumber")})]}),(0,t.jsxs)("div",{className:i,children:[(0,t.jsx)("p",{className:l,children:s("legal")}),(0,t.jsx)("a",{className:c,rel:"noopener noreferrer",href:"/terms-of-service",onClick:u,children:e("termsOfService")}),(0,t.jsx)("a",{className:c,rel:"noopener noreferrer",href:"/privacy-policy",onClick:u,children:e("privacyPolicy")}),(0,t.jsx)("a",{className:c,rel:"noopener noreferrer",href:"/eula",onClick:u,children:e("eula")}),(0,t.jsx)("a",{className:c,target:"_blank",rel:"noopener noreferrer",href:"/copyright-notices",children:s("copyrightNotices")})]}),(0,t.jsxs)("div",{className:i,children:[(0,t.jsx)("p",{className:l,children:s("insights")}),(0,t.jsx)(n.default,{className:c,href:"/resources",onClick:u,children:s("resources")}),(0,t.jsx)(n.default,{className:c,href:"/how-to-articles",onClick:u,children:s("howToArticles")}),(0,t.jsx)(n.default,{className:c,href:"/faq",onClick:u,children:s("faq")}),(0,t.jsxs)("a",{className:c,href:"https://discord.com/invite/XFHgq4z6ZH",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(a.default,{className:"text-white",src:"/footer/discord.svg",width:16,height:16,alt:s("discordAltText")})," ",s("discordText")]})]})]})]})}),(0,t.jsxs)("p",{className:"flex w-full tl:h-full h-[100px] items-center justify-center py-[24px] tl:px-[80px] px-0 z-[1] text-white font-bold text-center",children:[s("copyrightSymbol")," ",new Date().getFullYear(),e("comma")," ",s("copyrightStatement1")," ",(0,t.jsx)("br",{className:"tl:hidden flex "}),s("copyrightStatement2")]})]})})})}])}]);
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.