PageSourceSearch

https://ai-songgenerator.com/_next/static/chunks/7ceb2a25ee65d3ab.js

js ai-songgenerator.com collected 2026-10-07 03:20:04 UTC 53,491 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,76768,e=>{"use strict";let t=(0,e.i(592583).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],76768)},885878,e=>{"use strict";let t=(0,e.i(592583).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],885878)},868246,e=>{"use strict";let t=(0,e.i(592583).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",()=>t],868246)},345372,e=>{"use strict";var t=e.i(126313);function s(e){let{id:s}=e;return(0,t.useLayoutEffect)(()=>{var e;let t=document.getElementById(s);if(!t)return;let r=[...document.querySelectorAll("footer")].filter(e=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING).pop();if(!(null==r?void 0:r.parentNode))return;let a=t.cloneNode(!0);return a.id=`${s}-placed`,null==(e=a.querySelector(`[id="${s}-title"]`))||e.setAttribute("id",`${s}-placed-title`),a.setAttribute("aria-labelledby",`${s}-placed-title`),r.parentNode.insertBefore(a,r),t.hidden=!0,()=>{a.remove(),t.hidden=!1}},[s]),null}e.s(["default",()=>s])},960029,e=>{"use strict";let t=(0,e.i(592583).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",()=>t],960029)},781061,e=>{"use strict";let t=(0,e.i(592583).default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);e.s(["default",()=>t])},937980,e=>{"use strict";var t=e.i(781061);e.s(["Wand2",()=>t.default])},219668,e=>{"use strict";let t=(0,e.i(592583).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",()=>t],219668)},24905,(e,t,s)=>{},474923,(e,t,s)=>{var r=e.i(537345);e.r(24905);var a=e.r(126313),i=a&&"object"==typeof a&&"default"in a?a:{default:a},l=void 0!==r.default&&r.default.env&&!0,n=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,s=t.name,r=void 0===s?"stylesheet":s,a=t.optimizeForSpeed,i=void 0===a?l:a;c(n(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,s=e.prototype;return s.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},s.isOptimizeForSpeed=function(){return this._optimizeForSpeed},s.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,s){return"number"==typeof s?e._serverSheet.cssRules[s]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),s},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},s.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},s.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},s.insertRule=function(e,t){if(c(n(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var s=this.getSheet();"number"!=typeof t&&(t=s.cssRules.length);try{s.insertRule(e,t)}catch(t){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},s.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var s="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!s.cssRules[e])return e;s.deleteRule(e);try{s.insertRule(t,e)}catch(r){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),s.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},s.deleteRule=function(e){if("undefined"==typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},s.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},s.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,s){return s?t=t.concat(Array.prototype.map.call(e.getSheetForTag(s).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},s.makeStyleTag=function(e,t,s){t&&c(n(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return s?a.insertBefore(r,s):a.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,s=e.length;s;)t=33*t^e.charCodeAt(--s);return t>>>0},h={};function u(e,t){if(!t)return"jsx-"+e;var s=String(t),r=e+s;return h[r]||(h[r]="jsx-"+d(e+"-"+s)),h[r]}function x(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var s=e+t;return h[s]||(h[s]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[s]}var m=function(){function e(e){var t=void 0===e?{}:e,s=t.styleSheet,r=void 0===s?null:s,a=t.optimizeForSpeed,i=void 0!==a&&a;this._sheet=r||new o({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),r&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var s=this.getIdAndRules(e),r=s.styleId,a=s.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var i=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=i,this._instancesCounts[r]=1},t.remove=function(e){var t=this,s=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(s in this._instancesCounts,"styleId: `"+s+"` not found"),this._instancesCounts[s]-=1,this._instancesCounts[s]<1){var r=this._fromServer&&this._fromServer[s];r?(r.parentNode.removeChild(r),delete this._fromServer[s]):(this._indices[s].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[s]),delete this._instancesCounts[s]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],s=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return s[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,s;return t=this.cssRules(),void 0===(s=e)&&(s={}),t.map(function(e){var t=e[0],r=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:s.nonce?s.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,s=e.dynamic,r=e.id;if(s){var a=u(r,s);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return x(a,e)}):[x(a,t)]}}return{styleId:u(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=a.createContext(null);function p(){return new m}function g(){return a.useContext(f)}f.displayName="StyleSheetContext";var b=i.default.useInsertionEffect||i.default.useLayoutEffect,j="undefined"!=typeof window?p():void 0;function v(e){var t=j||g();return t&&("undefined"==typeof window?t.add(e):b(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return u(e[0],e[1])}).join(" ")},s.StyleRegistry=function(e){var t=e.registry,s=e.children,r=a.useContext(f),l=a.useState(function(){return r||t||p()})[0];return i.default.createElement(f.Provider,{value:l},s)},s.createStyleRegistry=p,s.style=v,s.useStyleRegistry=g},952563,(e,t,s)=>{t.exports=e.r(474923).style},47838,e=>{"use strict";let t=(0,e.i(592583).default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["Heart",()=>t],47838)},701400,e=>{"use strict";let t=(0,e.i(592583).default)("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]);e.s(["Megaphone",()=>t],701400)},495849,e=>{"use strict";let t=(0,e.i(592583).default)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);e.s(["GraduationCap",()=>t],495849)},887552,e=>{"use strict";let t=(0,e.i(592583).default)("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);e.s(["Music",()=>t],887552)},405763,e=>{"use strict";let t=(0,e.i(592583).default)("disc-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]]);e.s(["Disc3",()=>t],405763)},6179,e=>{"use strict";let t=(0,e.i(592583).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",()=>t],6179)},898450,740895,e=>{"use strict";var t=e.i(592583);let s=(0,t.default)("mic-vocal",[["path",{d:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]]);e.s(["Mic2",()=>s],898450);let r=(0,t.default)("arrow-right-left",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);e.s(["ArrowRightLeft",()=>r],740895)},720570,e=>{"use strict";let t=(0,e.i(592583).default)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}
1],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);e.s(["SlidersHorizontal",()=>t],720570)},213290,e=>{"use strict";let t=(0,e.i(592583).default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);e.s(["Gamepad2",()=>t],213290)},113237,e=>{"use strict";let t=(0,e.i(592583).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",()=>t],113237)},591744,e=>{"use strict";let t=(0,e.i(592583).default)("music-4",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["path",{d:"m9 9 12-2",key:"1e64n2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);e.s(["Music4",()=>t],591744)},643570,e=>{"use strict";var t=e.i(887552),s=e.i(213290),r=e.i(495849),a=e.i(701400),i=e.i(47838),l=e.i(898450),n=e.i(6179),o=e.i(937980),c=e.i(740895),d=e.i(405763),h=e.i(960029),u=e.i(720570),x=e.i(445346);let m="https://cdn.ai-songgenerator.com/2026-06-27",f=(0,x.getTenantCta)("ai-songgenerator"),p={brand:"AI Song Generator",supportEmail:"[email protected]",heroAnchor:"#generator",umamiSrc:"https://visit.ai-songgenerator.com/script.js",umamiWebsiteId:"3d3e9adc-ae05-46d8-b0d2-757f71471a5f"},g={logo:`${m}/ai-songgenerator-logo.webp`,feature1:`${m}/ai-songgenerator-feature-1-01.webp`,feature2:`${m}/ai-songgenerator-feature-2-01.webp`,step:`${m}/ai-songgenerator-step-01-01.webp`,avatar1:`${m}/ai-songgenerator-avatar-1.webp`,avatar2:`${m}/ai-songgenerator-avatar-2.webp`,avatar3:`${m}/ai-songgenerator-avatar-3.webp`},b=[{links:[{href:"#generator"},{href:"#community"},{href:"#how-it-works"},{href:`mailto:${p.supportEmail}`,external:!0}]},{links:[{href:"#generator"},{href:"/ai-music-video-generator"},{href:"/vocal-remover"},{href:"/voice-changer"},{href:"/instrumental-song-maker"},{href:"/ai-rap-song-maker"},{href:"/ai-rock-music-generator"},{href:"/piano-song-generator"},{href:"/theme-song-generator"}]},{links:[{href:"/privacy"},{href:"/terms"},{href:"/refund-policy"},{href:"/commercial-license"}]}],j=[{duration:"2:47",cover:`${m}/ai-songgenerator-showcase-01-01.webp`},{duration:"3:12",cover:`${m}/ai-songgenerator-showcase-02-01.webp`},{duration:"4:05",cover:`${m}/ai-songgenerator-showcase-03-01.webp`},{duration:"2:58",cover:`${m}/ai-songgenerator-showcase-04-01.webp`},{duration:"3:36",cover:`${m}/ai-songgenerator-showcase-05-01.webp`},{duration:"2:31",cover:`${m}/ai-songgenerator-showcase-06-01.webp`},{duration:"4:18",cover:`${m}/ai-songgenerator-showcase-07-01.webp`},{duration:"3:49",cover:`${m}/ai-songgenerator-showcase-08-01.webp`},{duration:"2:44",cover:`${m}/ai-songgenerator-showcase-09-01.webp`}],v=[{icon:t.Music,accent:"blue"},{icon:s.Gamepad2,accent:"purple"},{icon:r.GraduationCap,accent:"pink"},{icon:a.Megaphone,accent:"indigo"},{icon:i.Heart,accent:"teal"},{icon:l.Mic2,accent:"orange"}],y=[{icon:n.Pencil},{icon:o.Wand2},{icon:c.ArrowRightLeft},{icon:d.Disc3},{icon:h.Upload},{icon:u.SlidersHorizontal}],w=[{number:"01",image:g.feature1,reverse:!0},{number:"02",image:g.feature2,reverse:!1},{number:"03",image:g.feature1,reverse:!1},{number:"04",image:g.feature2,reverse:!0}],N=[{avatar:g.avatar1,stars:5},{avatar:g.avatar2,stars:4},{avatar:g.avatar3,stars:5}];e.s(["ASSETS",0,g,"COMMUNITY_SONGS",0,j,"FEATURE_BLOCKS",0,w,"FOOTER_COLUMNS",0,b,"FUNCTIONAL_VALUE",0,y,"HOW_STEPS",0,[{step:1,accent:"blue"},{step:2,accent:"purple"},{step:3,accent:"pink"}],"METADATA",0,p,"NAV_ITEMS",0,[{href:"#generator"},{href:"#community"},{href:"#how-it-works"},{href:"#features",isNew:!0},{href:"#faq"}],"PROMO_CTA_TARGET_URL",0,f,"TESTIMONIALS",0,N,"TOOLS",0,[{href:"#generator"},{href:"/vocal-remover"},{href:"/voice-changer"},{href:"/ai-music-video-generator",isNew:!0},{href:"/instrumental-song-maker"},{href:"/ai-rap-song-maker"},{href:"/ai-rock-music-generator"},{href:"/piano-song-generator"},{href:"/theme-song-generator"}],"USE_CASES",0,v])},463061,e=>{"use strict";var t=e.i(193685),s=e.i(126313),r=e.i(948183),a=e.i(789100),i=e.i(662023),l=e.i(305084),n=e.i(344861),o=e.i(104971),c=e.i(811574),d=e.i(885878),h=e.i(965550),u=e.i(643570);let x=[{code:"en",label:"English",flag:"🇺🇸"},{code:"fr",label:"Français",flag:"🇫🇷"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"es",label:"Español",flag:"🇪🇸"},{code:"pt",label:"Português",flag:"🇵🇹"},{code:"pl",label:"Polski",flag:"🇵🇱"}];
1function m(){let e=(0,i.useLocale)(),[r,l]=(0,s.useState)(!1),n=x.find(t=>t.code===e)??x[0];return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>l(!r),className:"flex items-center gap-2 px-3 py-2 text-sm font-medium text-white/80 hover:text-white transition-colors rounded-lg hover:bg-white/5","aria-label":"Switch language",children:[(0,t.jsx)("span",{className:"text-lg leading-none",children:n.flag}),(0,t.jsx)("span",{className:"hidden sm:inline text-xs uppercase font-semibold",children:n.code}),(0,t.jsx)(c.ChevronDown,{className:`w-4 h-4 transition-transform ${r?"rotate-180":""}`})]}),r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>l(!1)}),(0,t.jsx)("div",{className:"absolute right-0 top-full mt-2 w-40 bg-[#14141f] rounded-lg shadow-xl border border-white/10 py-1 z-50",children:x.map(s=>(0,t.jsxs)(a.default,{href:"en"===s.code?"/":`/${s.code}`,onClick:()=>l(!1),className:`flex items-center gap-3 px-4 py-2 text-sm hover:bg-white/5 transition-colors ${e===s.code?"text-fuchsia-400 font-medium":"text-white/80"}`,children:[(0,t.jsx)("span",{className:"text-lg leading-none",children:s.flag}),(0,t.jsx)("span",{children:s.label}),e===s.code&&(0,t.jsx)(d.Check,{className:"w-4 h-4 ml-auto text-fuchsia-400"})]},s.code))})]})]})}function f(){let e=(0,l.useTranslations)("aiSongGenerator"),[a,i]=(0,s.useState)(!1),[d,x]=(0,s.useState)(!1),f=e.raw("nav.items"),p=e.raw("nav.toolsMenu");return(0,t.jsxs)("nav",{className:"sticky top-0 z-50 px-4 py-3 bg-[#0b0b12]/85 backdrop-blur-md border-b border-white/10",children:[(0,t.jsxs)("div",{className:"max-w-7xl mx-auto flex justify-between items-center",children:[(0,t.jsxs)("a",{href:"#generator",className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{src:u.ASSETS.logo,alt:"AI Song Generator logo",width:32,height:32,className:"w-8 h-8 rounded-md",unoptimized:!0,priority:!0}),(0,t.jsx)("span",{className:"font-bold text-lg hidden sm:block text-white",children:u.METADATA.brand})]}),(0,t.jsxs)("div",{className:"hidden lg:flex items-center gap-6 text-sm text-gray-300",children:[u.NAV_ITEMS.map((e,s)=>(0,t.jsxs)("a",{href:e.href,className:"relative hover:text-white transition",children:[f[s],e.isNew&&(0,t.jsx)("span",{className:"absolute -top-2 -right-7 text-[9px] bg-gradient-to-r from-pink-500 to-purple-600 text-white px-1.5 py-0.5 rounded-full",children:"NEW"})]},e.href)),(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),children:[(0,t.jsxs)("button",{className:"flex items-center gap-1 hover:text-white transition",children:[e("nav.toolsLabel")," ",(0,t.jsx)(c.ChevronDown,{className:"w-4 h-4"})]}),d&&(0,t.jsx)("div",{className:"absolute left-0 top-full pt-2 w-60 z-50",children:(0,t.jsx)("div",{className:"bg-[#14141f] rounded-lg shadow-xl border border-white/10 py-1",children:u.TOOLS.map((e,s)=>(0,t.jsxs)("a",{href:e.href,className:"flex items-center justify-between px-4 py-2 text-sm text-white/80 hover:bg-white/5 hover:text-white transition",children:[p[s],e.isNew&&(0,t.jsx)("span",{className:"text-[9px] bg-gradient-to-r from-pink-500 to-purple-600 text-white px-1.5 py-0.5 rounded-full",children:"NEW"})]},e.href))})})]}),(0,t.jsx)("a",{href:`mailto:${u.METADATA.supportEmail}`,className:"hover:text-white transition",children:e("nav.contact")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(m,{}),(0,t.jsx)(h.PromoCtaLink,{fallbackHref:"/#generator",tenantSlug:"ai-songgenerator",content:"nav-try-free",promoTargetUrl:u.PROMO_CTA_TARGET_URL,"data-umami-event":"cta_click","data-umami-event-content":"nav-try-free",className:"hidden sm:inline-flex bg-gradient-to-r from-blue-500 to-purple-500 hover:from-blue-600 hover:to-purple-600 text-white px-4 py-2 rounded-lg text-sm font-semibold transition",children:e("nav.tryFree")}),(0,t.jsx)("button",{onClick:()=>i(!a),className:"lg:hidden p-2 text-white","aria-label":"Toggle menu",children:a?(0,t.jsx)(o.X,{size:22}):(0,t.jsx)(n.Menu,{size:22})})]})]}),a&&(0,t.jsxs)("div",{className:"lg:hidden mt-3 border-t border-white/10 pt-3 space-y-1",children:[u.NAV_ITEMS.map((e,s)=>(0,t.jsx)("a",{href:e.href,onClick:()=>i(!1),className:"block px-3 py-2 text-sm text-white/90 hover:bg-white/5 rounded",children:f[s]},e.href)),(0,t.jsx)("div",{className:"px-3 pt-2 text-xs uppercase tracking-wide text-gray-500",children:e("nav.toolsLabel")}),u.TOOLS.map((e,s)=>(0,t.jsx)("a",{href:e.href,onClick:()=>i(!1),className:"block px-3 py-2 text-sm text-white/80 hover:bg-white/5 rounded",children:p[s]},e.href)),(0,t.jsx)("a",{href:`mailto:${u.METADATA.supportEmail}`,className:"block px-3 py-2 text-sm text-white/80 hover:bg-white/5 rounded",children:e("nav.contact")}),(0,t.jsx)(h.PromoCtaLink,{fallbackHref:"/#generator",tenantSlug:"ai-songgenerator",content:"nav-mobile-try-free",promoTargetUrl:u.PROMO_CTA_TARGET_URL,onClick:()=>i(!1),"data-umami-event":"cta_click","data-umami-event-content":"nav-mobile-try-free",className:"block mt-2 mx-3 text-center bg-gradient-to-r from-blue-500 to-purple-500 text-white px-4 py-2 rounded-lg text-sm font-semibold",children:e("nav.tryFree")})]})]})}e.s(["default",()=>f])},225088,e=>{"use strict";var t=e.i(193685),s=e.i(948183),r=e.i(789100),a=e.i(662023),i=e.i(305084),l=e.i(643570);
1let n=[{code:"en",label:"English"},{code:"fr",label:"Français"},{code:"ja",label:"日本語"},{code:"es",label:"Español"},{code:"pt",label:"Português"},{code:"pl",label:"Polski"}];function o(){let e=(0,a.useLocale)(),o=(0,i.useTranslations)("aiSongGenerator"),c=o.raw("footer.columns");return(0,t.jsxs)("footer",{className:"bg-[#0b0b12] pt-16 pb-8 px-4 border-t border-white/10 text-sm text-gray-400",children:[(0,t.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-10 mb-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("a",{href:"#generator",className:"flex items-center gap-2 mb-6",children:[(0,t.jsx)(s.default,{src:l.ASSETS.logo,alt:"AI Song Generator logo",width:32,height:32,className:"w-8 h-8 rounded-md",unoptimized:!0}),(0,t.jsx)("span",{className:"font-bold text-lg text-white",children:l.METADATA.brand})]}),(0,t.jsx)("p",{className:"mb-4 max-w-xs",children:o("footer.blurb")}),(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("a",{href:`mailto:${l.METADATA.supportEmail}`,className:"hover:text-white transition",children:l.METADATA.supportEmail})}),(0,t.jsx)("div",{children:o("footer.worldwide")})]}),l.FOOTER_COLUMNS.map((e,s)=>{var r;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-white font-semibold mb-6 uppercase text-xs tracking-wider",children:null==(r=c[s])?void 0:r.title}),(0,t.jsx)("ul",{className:"space-y-3",children:e.links.map((e,r)=>{var a;return(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.href,className:"hover:text-white transition",children:null==(a=c[s])?void 0:a.links[r]})},e.href)})})]},s)})]}),(0,t.jsx)("div",{className:"max-w-7xl mx-auto flex flex-wrap gap-4 pt-8 border-t border-white/10 mb-8",children:n.map(s=>(0,t.jsx)(r.default,{href:"en"===s.code?"/":`/${s.code}`,className:`text-xs transition ${e===s.code?"text-fuchsia-400":"hover:text-white"}`,children:s.label},s.code))}),(0,t.jsx)("div",{className:"text-center text-xs text-gray-500",children:o("footer.copyright")})]})}e.s(["default",()=>o])},744256,670831,e=>{"use strict";var t=e.i(193685),s=e.i(126313),r=e.i(811574);function a(e){let{items:a}=e,[i,l]=(0,s.useState)(0);return(0,t.jsx)("div",{className:"space-y-4",children:a.map((e,s)=>{let a=i===s;return(0,t.jsxs)("div",{className:"glass-card rounded-xl border border-white/10 overflow-hidden",children:[(0,t.jsxs)("button",{onClick:()=>l(a?null:s),className:"w-full text-left px-6 py-4 flex justify-between items-center font-semibold text-white gap-4","aria-expanded":a,children:[e.question,(0,t.jsx)(r.ChevronDown,{className:`w-5 h-5 shrink-0 text-fuchsia-400 transition-transform ${a?"rotate-180":""}`})]}),a&&(0,t.jsx)("div",{className:"px-6 pb-4 text-gray-400 leading-relaxed",children:e.answer})]},e.question)})})}e.s(["default",()=>a],744256);var i=e.i(952563),l=e.i(643570),n=e.i(305084),o=e.i(76768),c=e.i(287848),d=e.i(135662),h=e.i(868246),u=e.i(113237),x=e.i(259630),m=e.i(591744),f=e.i(937980),p=e.i(707887);function g(e,t){var s;null==(s=window.umami)||s.track(e,t)}function b(e){let{turnstileSiteKey:r,defaultPrompt:a="",defaultStyleHint:b="Pop / Upbeat"}=e,j=(0,n.useTranslations)("aiSongGenerator"),v=j.raw("heroTool.progressStages"),[y,w]=(0,s.useState)(a),[N,k]=(0,s.useState)(b),[S,_]=(0,s.useState)(!1),[T,A]=(0,s.useState)(!1),[C,M]=(0,s.useState)("idle"),[E,z]=(0,s.useState)(0),[R,O]=(0,s.useState)(0),[F,L]=(0,s.useState)(null),[$,P]=(0,s.useState)(""),[I,q]=(0,s.useState)(""),[U,H]=(0,s.use
1State)(!1),G=(0,s.useRef)(null),D=T||"verifying"===C||"generating"===C,V=(0,s.useCallback)(()=>{G.current&&(clearInterval(G.current),G.current=null)},[]);(0,s.useEffect)(()=>()=>V(),[V]);let W=(0,s.useCallback)(async()=>{if(D)return;let e=y.trim()||N.trim();if(!e)return void L(j("heroTool.errors.noTheme"));L(null),A(!0),g("ai_lyrics_click",{source:"ai-songgenerator"});try{let t=await fetch("/api/ai-songgenerator-lyrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:e})}),s=await t.json().catch(()=>null);if(!t.ok){let e=s&&"string"==typeof s.error?s.error:j("heroTool.errors.lyricsFailed");L(e);return}if(!s||"string"!=typeof s.lyrics)return void L(j("heroTool.errors.lyricsFailed"));w(s.lyrics),g("ai_lyrics_success",{source:"ai-songgenerator"})}catch{L(j("heroTool.errors.lyricsNetwork"))}finally{A(!1)}},[D,y,N,j]),B=(0,s.useCallback)(async e=>{try{let t=await fetch("/api/ai-songgenerator-lyrics",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:e})}),s=await t.json().catch(()=>null);if(!t.ok||!s||"string"!=typeof s.lyrics)return null;return s.lyrics}catch{return null}},[]),K=(0,s.useCallback)(()=>{M("generating"),z(0),O(0),q(""),V();let e=y.trim(),t=e||N.trim(),s=!S,r=e,a=!s||e.length>0;s&&!e&&B(t).then(e=>{e&&(r=e,w(e)),a=!0});let i=Date.now();G.current=setInterval(()=>{let e=Math.min(100,Math.round((Date.now()-i)/6e3*100));if(!a&&e>92&&(e=92),z(e),O(Math.min(3,Math.floor(e/100*4))),e>=100&&a){var l,n;let e;V();let a=s?r.trim():"";q(a),P((l=a||t,n=j("heroTool.untitled"),0===(e=(l.split("\n").map(e=>e.replace(/\[.*?\]/g,"").trim()).find(e=>e.length>0)??"").split(/\s+/).filter(Boolean).slice(0,4)).length?n:e.map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ").replace(/[^a-zA-Z0-9 ]/g,""))),M("completed"),H(!0),g("generate_success",{source:"ai-songgenerator"})}},80)},[y,N,S,V,B,j]),Y=(0,s.useCallback)(()=>{L(j("heroTool.errors.verificationFailed")),M("idle")},[j]),{execute:J,reset:Q}=(0,p.useTurnstile)({promoTargetUrl:l.PROMO_CTA_TARGET_URL,promoTenant:"ai-songgenerator",promoContent:"hero-generate",onVerify:K,onError:Y,onExpired:Y,siteKey:r}),X=(0,s.useCallback)(()=>{D||(y.trim()||N.trim()?(L(null),M("verifying"),g("generate_click",{source:"ai-songgenerator"}),Q(),J()):L(j("heroTool.errors.noTheme")))},[D,y,N,J,Q,j]),Z=[{label:j("heroTool.lyricsChip"),active:!S,onClick:()=>_(!1),accent:"text-blue-400"},{label:j("heroTool.instrumentalChip"),active:S,onClick:()=>_(!0),accent:"text-purple-400"}];return(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 glass-card rounded-2xl w-full max-w-3xl mx-auto text-left p-1 relative overflow-hidden shadow-2xl",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 p-6 bg-black/40 rounded-xl relative",children:[(0,t.jsx)("div",{className:"jsx-947c2c2eac6e39b7 flex justify-between items-center mb-4",children:(0,t.jsxs)("h2",{className:"jsx-947c2c2eac6e39b7 text-xl font-semibold flex items-center gap-2 text-white",children:[j("heroTool.title"),(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 bg-blue-500/20 text-blue-400 text-xs px-2 py-0.5 rounded border border-blue-500/30",children:"V4.0"})]})}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 space-y-4",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7",children:[(0,t.jsx)("label",{className:"jsx-947c2c2eac6e39b7 block text-sm mb-2 text-gray-400",children:j("heroTool.styleLabel")}),(0,t.jsx)("input",{type:"text",value:N,onChange:e=>k(e.target.value),disabled:D,placeholder:j("heroTool.stylePlaceholder"),className:"jsx-947c2c2eac6e39b7 w-full bg-black/40 border border-white/10 rounded-xl p-3 text-white text-sm focus:outline-none focus:border-blue-500/50 disabled:opacity-60"})]}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7",children:[(0,t.jsx)("label",{className:"jsx-947c2c2eac6e39b7 block text-sm mb-2 text-gray-400",children:S?j("heroTool.lyricsInstrumentalLabel"):j("heroTool.lyricsLabel")}),(0,t.jsx)("textarea",{value:y,onChange:e=>w(e.target.value),disabled:D,placeholder:j("heroTool.lyricsPlaceholder"),className:"jsx-947c2c2eac6e39b7 w-full h-36 bg-black/40 border border-white/10 rounded-xl p-4 text-white focus:outline-none focus:border-blue-500/50 resize-none disabled:opacity-60"})]}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex flex-wrap gap-2 items-center",children:[Z.map(e=>(0,t.jsx)("button",{type:"button",onClick:e.onClick,disabled:D,className:`jsx-947c2c2eac6e39b7 px-3 py-1.5 rounded-lg border text-sm transition disabled:opacity-60 ${e.active?`border-white/30 bg-white/15 ${e.accent}`:"border-white/10 bg-white/5 text-gray-300 hover:bg-white/10"}`,children:e.label},e.label)),(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 px-3 py-1.5 rounded-lg border border-white/10 bg-white/5 text-sm text-gray-500",children:j("heroTool.selectPersona")}),(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 px-3 py-1.5 rounded-lg border border-white/10 bg-white/5 text-sm text-purple-400/80",children:j("heroTool.advancedOptions")}),(0,t.jsxs)("button",{type:"button",onClick:W,disabled:D,className:"jsx-947c2c2eac6e39b7 px-3 py-1.5 rounded-lg border border-blue-500/40 bg-blue-500/10 text-sm text-blue-300 hover:bg-blue-500/20 transition inline-flex items-center gap-1.5 disabled:opacity-60",children:[T?(0,t.jsx)(c.Loader2,{size:14,className:"animate-spin"}):(0,t.jsx)(f.Wand2,{size:14}),T?j("heroTool.writing"):j("heroTool.aiLyrics")]})]})]}),F&&(0,t.jsxs)("p",{role:"alert",className:"jsx-947c2c2eac6e39b7 mt-4 text-sm text-red-200 bg-red-500/15 border border-red-500/40 rounded-lg px-3 py-2 inline-flex items-center gap-2",children:[(0,t.jsx)(d.AlertCircle,{size:15})," ",F]}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex items-center justify-between mt-6 pt-4 border-t border-white/10",children:[(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 text-xs text-gray-500",children:j("heroTool.creditCost")}),(0,t.jsxs)("button",{type:"button",onClick:X,disabled:D,"data-umami-event":"generate_click","data-umami-event-source":"ai-songgenerator",className:"jsx-947c2c2eac6e39b7 bg-gradient-to-r from-blue-500 to-purple-500 hover:from-blue-600 hover:to-purple-600 text-white px-8 py-2.5 rounded-xl font-bold shadow-lg shadow-blue-500/25 transition inline-flex items-center gap-2 disabled:opacity-60 disabled:cursor-not-allowed",children:["verifying"===C||"generating"===C?(0,t.jsx)(c.Loader2,{size:16,className:"animate-spin"}):(0,t.jsx)(o.Sparkles,{size:16}),"verifying"===C?j("heroTool.verifying"):"generating"===C?j("heroTool.generating"):j("heroTool.generate")]})]}),"generating"===C&&(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 mt-5",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex justify-between text-xs text-gray-400 mb-2",children:[(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7",children:v[R]}),(0,t.jsxs)("span",{className:"jsx-947c2c2eac6e39b7 tabular-nums",children:[E,"%"]})]}),(0,t.jsx)("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":E,className:"jsx-947c2c2eac6e39b7 w-full h-2 bg-white/10 rounded-full overflow-hidden",children:(0,t.jsx)("div",{style:{width:`${E}%`},className:"jsx-947c2c2eac6e39b7 h-full rounded-full bg-gradient-to-r from-blue-500 via-purple-500 to-fuchsia-500 transition-all duration-150"})})]}),"completed"===C&&(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 mt-6 rounded-xl border border-white/10 bg-black/50 p-4",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex items-center gap-4",children:[(0,t.jsx)("button",{type:"button",onClick:()=>H(e=>!e),"aria-label":U?"Pause":"Play",className:"jsx-947c2c2eac6e39b7 shrink-0 w-12 h-12 rounded-full bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white shadow-lg shadow-purple-500/30",children:U?(0,t.jsx)(u.Pause,{size:20}):(0,t.jsx)(h.Play,{size:20,className:"ml-0.5"})}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 flex items-center gap-2 mb-1",children:[(0,t.jsx)(m.Music4,{size:14,className:"text-purple-400 shrink-0"}),(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 font-semibold text-white truncate",children:$})]}),(0,t.jsx)("div",{"aria-hidden":"true",className:`jsx-947c2c2eac6e39b7 waveform ${U?"is-playing":""}`,children:Array.from({length:48}).map((e,s)=>(0,t.jsx)("span",{style:{animationDelay:`${s%12*.07}s`},className:"jsx-947c2c2eac6e39b7"},s))})]}),(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 shrink-0 text-xs text-gray-400 tabular-nums",children:"2:48"})]}),(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 mt-3 flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"jsx-947c2c2eac6e39b7 text-xs text-emerald-400/90",children:j("heroTool.previewGenerated")}),(0,t.jsxs)("button",{type:"button",disabled:!0,title:j("heroTool.downloadTitle"),className:"jsx-947c2c2eac6e39b7 inline-flex items-center gap-1.5 text-xs text-gray-500 border border-white/10 rounded-lg px-3 py-1.5 cursor-not-allowed",children:[(0,t.jsx)(x.Download,{size:13})," ",j("heroTool.download")]})]}),I&&(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 mt-4",children:[(0,t.jsxs)("div",{className:"jsx-947c2c2eac6e39b7 text-xs font-semibold text-gray-400 mb-2 inline-flex items-center gap-1.5",children:[(0,t.jsx)(f.Wand2,{size:13,className:"text-blue-400"}),j("heroTool.resultLyricsHeading")]}),(0,t.jsx)("pre",{className:"jsx-947c2c2eac6e39b7 max-h-48 overflow-auto whitespace-pre-wrap text-sm text-gray-300 bg-black/30 border border-white/10 rounded-lg p-3 font-sans",children:I})]})]})]}),(0,t.jsx)(i.default,{id:"947c2c2eac6e39b7",children:".glass-card.jsx-947c2c2eac6e39b7{-webkit-backdrop-filter:blur(12px);background:#14141999;border:1px solid #ffffff1a}.waveform.jsx-947c2c2eac6e39b7{align-items:center;gap:2px;height:28px;display:flex}.waveform.jsx-947c2c2eac6e39b7 span.jsx-947c2c2eac6e39b7{opacity:.6;background:linear-gradient(#c084fc,#60a5fa);border-radius:2px;flex:1;min-width:2px;height:30%}.waveform.is-playing.jsx-947c2c2eac6e39b7 span.jsx-947c2c2eac6e39b7{animation:1s ease-in-out infinite wave}@keyframes wave{0%,to{opacity:.5;height:25%}50%{opacity:1;height:95%}}"})]})}e.s(["default",()=>b],670831)},188385,e=>{"use strict";var t=e.i(193685),s=e.i(952563),r=e.i(126313),a=e.i(948183),i=e.i(305084),l=e.i(219668),n=e.i(888205),o=e.i(463061),c=e.i(225088),d=e.i(744256),h=e.i(670831),u=e.i(965550),x=e.i(643570);let m=[{href:"#generator",active:!0},{href:"/vocal-remover"},{href:"/voice-changer"},{href:"/ai-music-video-generator",isNew:!0},{href:"#features"}],f={blue:"bg-blue-500/20 text-blue-400 border-blue-500/30",purple:"bg-purple-500/20 text-purple-400 border-purple-500/30",pink:"bg-pink-500/20 text-pink-400 border-pink-500/30"},p={blue:"border-t-blue-500/40 shadow-blue-500/20",purple:"border-t-purple-500/40 shadow-purple-500/20",pink:"border-t-pink-500/40 shadow-pink-500/20",indigo:"border-t-indigo-500/40 shadow-indigo-500/20",teal:"border-t-teal-500/40 shadow-teal-500/20",orange:"border-t-orange-500/40 shadow-orange-500/20"};function g(e,t){var s;null==(s=window.umami)||s.track(e,t)}function b(e){let{children:s,content:r}=e;return(0,t.jsx)(u.PromoCtaLink,{fallbackHref:"/#generator",tenantSlug:"ai-songgenerator",content:r,promoTargetUrl:x.PROMO_CTA_TARGET_URL,onClick:()=>g("cta_click",{content:r}),"data-umami-event":"cta_click","data-umami-event-content":r,className:"inline-flex items-center gap-2 bg-gradient-to-r from-blue-500 to-purple-500 hover:from-blue-600 hover:to-purple-600 text-white px-8 py-3 rounded-xl font-bold transition",children:s})}function j(e){let{turnstileSiteKey:u}=e,j=(0,i.useTranslations)("aiSongGenerator"),v=j.raw("toolTabs"),y=j.raw("community.songs"),w=j.raw("how.steps"),N=j.raw("useCases.items"),k=j.raw("functionalValue.items"),S=j.raw("features.blocks"),_=j.raw("features.genrePills"),T=j.raw("testimonials.items"),A=j.raw("faq.items");return(0,r.useEffect)(()=>{let e=new Set,t=()=>{let t=Math.round(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100);
1[25,50,75,100].forEach(s=>{t>=s&&!e.has(s)&&(e.add(s),g("scroll_depth",{depth:`${s}%`}))})};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]),(0,t.jsxs)("main",{className:"jsx-4f1352617402d413 bg-[#0b0b12] text-white antialiased min-h-screen",children:[(0,t.jsx)(o.default,{}),(0,t.jsxs)("section",{id:"generator",className:"jsx-4f1352617402d413 relative pt-20 pb-16 px-4 flex flex-col items-center text-center",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 absolute top-1/3 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full max-w-2xl bg-blue-600/20 blur-[120px] rounded-full pointer-events-none"}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 relative max-w-5xl mx-auto w-full flex flex-col items-center",children:[(0,t.jsx)("h1",{className:"jsx-4f1352617402d413 text-4xl md:text-6xl font-bold mb-6 text-gradient leading-tight",children:j("hero.title")}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 mb-10 text-lg max-w-2xl",children:j("hero.subtitle")}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 flex flex-wrap justify-center gap-2 mb-8 bg-white/5 p-1.5 rounded-xl border border-white/10",children:m.map((e,s)=>(0,t.jsxs)("a",{href:e.href,className:`jsx-4f1352617402d413 relative px-4 py-2 rounded-lg text-sm font-medium transition ${e.active?"bg-white/10 text-white":"text-white/60 hover:text-white"}`,children:[v[s],e.isNew&&(0,t.jsx)("span",{className:"jsx-4f1352617402d413 absolute -top-2 -right-2 text-[8px] bg-gradient-to-r from-pink-500 to-purple-600 px-1 py-0.5 rounded-full",children:"NEW"})]},e.href))}),(0,t.jsx)(h.default,{turnstileSiteKey:u})]})]}),(0,t.jsxs)("section",{id:"community",className:"jsx-4f1352617402d413 py-16 px-4 max-w-7xl mx-auto",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-10 text-center",children:j("community.title")}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:x.COMMUNITY_SONGS.map((e,s)=>{var r,i,l,n;return(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 glass-card rounded-xl overflow-hidden group",children:[(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 relative aspect-square",children:[(0,t.jsx)(a.default,{src:e.cover,alt:`${null==(r=y[s])?void 0:r.title} cover art`,width:600,height:600,unoptimized:!0,className:"w-full h-full object-cover group-hover:scale-105 transition duration-500"}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 absolute bottom-2 right-2 bg-black/70 px-2 py-1 rounded text-xs",children:e.duration})]}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 p-3",children:[(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 font-semibold truncate",children:null==(i=y[s])?void 0:i.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-xs text-gray-400 mb-2 truncate",children:null==(l=y[s])?void 0:l.genre}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 text-xs text-gray-500",children:[j("community.by")," ",null==(n=y[s])?void 0:n.author]})]})]},e.cover)})})]}),(0,t.jsx)("section",{className:"jsx-4f1352617402d413 py-16 px-4 max-w-6xl mx-auto",children:(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-2 gap-12 items-center",children:[(0,t.jsxs)("div",{className:"jsx-4f1352617402d413",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 text-sm font-bold tracking-wider text-purple-400 uppercase mb-4",children:j("intro.eyebrow")}),(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl md:text-4xl font-bold mb-6",children:j("intro.title")}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 mb-8 leading-relaxed",children:j("intro.body")}),(0,t.jsx)(b,{content:"intro-explore",children:j("intro.cta")})]}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 relative rounded-3xl overflow-hidden aspect-video",children:(0,t.jsx)(a.default,{src:x.ASSETS.feature1,alt:"AI Song Generator preview",width:1280,height:720,unoptimized:!0,className:"w-full h-full object-cover"})})]})}),(0,t.jsx)("section",{id:"how-it-works",className:"jsx-4f1352617402d413 py-16 px-4 bg-white/5",children:(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 max-w-6xl mx-auto",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-12 text-center",children:j("how.title")}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-2 gap-12 items-center",children:[(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 space-y-8",children:[x.HOW_STEPS.map((e,s)=>{var r,a;return(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 flex gap-4",children:[(0,t.jsx)("div",{className:`jsx-4f1352617402d413 w-10 h-10 shrink-0 flex items-center justify-center rounded-full font-bold border ${f[e.accent]}`,children:e.step}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413",children:[(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 text-xl font-semibold mb-2",children:null==(r=w[s])?void 0:r.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400",children:null==(a=w[s])?void 0:a.description})]})]},e.step)}),(0,t.jsx)(b,{content:"how-create-music",children:j("how.cta")})]}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 relative",children:(0,t.jsx)(a.default,{src:x.ASSETS.step,alt:"AI Song Generator app screenshot",width:1200,height:800,unoptimized:!0,className:"rounded-2xl border border-white/10 shadow-2xl shadow-purple-500/20"})})]})]})}),(0,t.jsxs)("section",{className:"jsx-4f1352617402d413 py-16 px-4 max-w-6xl mx-auto text-center",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-10 max-w-2xl mx-auto",children:j("useCases.title")}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-3 gap-4 mb-10",children:x.USE_CASES.map((e,s)=>{var r,a;let i=e.icon;return(0,t.jsxs)("div",{className:`jsx-4f1352617402d413 glass-card p-6 rounded-2xl border-t text-left flex flex-col ${p[e.accent]}`,children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 w-10 h-10 rounded-xl bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center mb-4 shadow-lg",children:(0,t.jsx)(i,{className:"jsx-4f1352617402d413 w-5 h-5 text-white"})}),(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 text-lg font-bold mb-2",children:null==(r=N[s])?void 0:r.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 text-sm leading-relaxed mb-6",children:null==(a=N[s])?void 0:a.description}),(0,t.jsx)("span",{className:"jsx-4f1352617402d413 mt-auto inline-flex w-fit text-xs text-gray-400 bg-white/5 border border-white/10 px-3 py-1 rounded-full",children:j("useCases.badge")})]},s)})}),(0,t.jsx)(b,{content:"usecases-generate",children:j("useCases.cta")})]}),(0,t.jsx)("section",{className:"jsx-4f1352617402d413 py-16 px-4 bg-white/5",children:(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 max-w-6xl mx-auto",children:[(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 text-center mb-12",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-4",children:j("functionalValue.title")}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 max-w-3xl mx-auto",children:j("functionalValue.subtitle")})]}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-2 gap-5",children:x.FUNCTIONAL_VALUE.map((e,s)=>{var r,a;let i=e.icon;return(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 glass-card p-6 rounded-2xl text-left",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 w-10 h-10 rounded-xl bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center mb-4 shadow-lg",children:(0,t.jsx)(i,{className:"jsx-4f1352617402d413 w-5 h-5 text-white"})}),(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 text-xl font-bold mb-3",children:null==(r=k[s])?void 0:r.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 leading-relaxed",children:null==(a=k[s])?void 0:a.description})]},s)})})]})}),(0,t.jsxs)("section",{id:"features",className:"jsx-4f1352617402d413 py-16 px-4 max-w-6xl mx-auto",children:[(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 text-center mb-10",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-4",children:j("features.title")}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 max-w-3xl mx-auto",children:j("features.subtitle")})]}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 flex flex-wrap justify-center gap-3 mb-16",children:_.map(e=>(0,t.jsx)("span",{className:"jsx-4f1352617402d413 px-4 py-2 bg-white/5 border border-white/10 rounded-full text-sm",children:e},e))}),x.FEATURE_BLOCKS.map((e,s)=>{var r,i,l,o,c,d;return(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-2 gap-12 items-center mb-24 last:mb-0",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 "+((e.reverse?"order-2 md:order-1":"order-1")||""),children:e.reverse?(0,t.jsx)("div",{className:"jsx-4f1352617402d413 relative rounded-3xl overflow-hidden aspect-video",children:(0,t.jsx)(a.default,{src:e.image,alt:(null==(r=S[s])?void 0:r.title)??"",width:1280,height:720,unoptimized:!0,className:"w-full h-full object-cover"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 text-4xl font-bold text-gray-700 mb-4",children:e.number}),(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-4",children:null==(i=S[s])?void 0:i.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 mb-6 leading-relaxed",children:null==(l=S[s])?void 0:l.description}),(0,t.jsxs)("a",{href:"#generator",className:"jsx-4f1352617402d413 text-blue-400 font-semibold hover:text-blue-300 inline-flex items-center gap-1",children:[j("features.exploreFeature")," ",(0,t.jsx)(n.ArrowRight,{size:16})]})]})}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 "+((e.reverse?"order-1 md:order-2":"order-2")||""),children:e.reverse?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 text-4xl font-bold text-gray-700 mb-4",children:e.number}),(0,t.jsx)("h3",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-4",children:null==(o=S[s])?void 0:o.title}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-400 mb-6 leading-relaxed",children:null==(c=S[s])?void 0:c.description}),(0,t.jsxs)("a",{href:"#generator",className:"jsx-4f1352617402d413 text-blue-400 font-semibold hover:text-blue-300 inline-flex items-center gap-1",children:[j("features.exploreFeature")," ",(0,t.jsx)(n.ArrowRight,{size:16})]})]}):(0,t.jsx)("div",{className:"jsx-4f1352617402d413 relative rounded-3xl overflow-hidden aspect-video",children:(0,t.jsx)(a.default,{src:e.image,alt:(null==(d=S[s])?void 0:d.title)??"",width:1280,height:720,unoptimized:!0,className:"w-full h-full object-cover"})})})]},e.number)})]}),(0,t.jsx)("section",{className:"jsx-4f1352617402d413 py-16 px-4 bg-white/5",children:(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 max-w-6xl mx-auto",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-12 text-center",children:j("testimonials.title")}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 grid md:grid-cols-3 gap-6",children:x.TESTIMONIALS.map((e,s)=>{var r,i,n,o;return(0,t.jsxs)("div",{className:`jsx-4f1352617402d413 glass-card p-6 rounded-2xl ${2===s?"hidden md:block":""}`,children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 flex text-yellow-400 mb-4",children:Array.from({length:5}).map((s,r)=>(0,t.jsx)(l.Star,{size:20,className:r<e.stars?"fill-current":"text-gray-600"},r))}),(0,t.jsxs)("p",{className:"jsx-4f1352617402d413 text-gray-300 mb-6 italic",children:["“",null==(r=T[s])?void 0:r.quote,"”"]}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 flex items-center gap-3",children:[(0,t.jsx)(a.default,{src:e.avatar,alt:`${null==(i=T[s])?void 0:i.name} avatar`,width:40,height:40,unoptimized:!0,className:"w-10 h-10 rounded-full"}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 font-semibold text-sm",children:null==(n=T[s])?void 0:n.name}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 text-xs text-gray-500",children:null==(o=T[s])?void 0:o.role})]})]}),(0,t.jsx)("div",{className:"jsx-4f1352617402d413 mt-4 text-xs text-blue-400",children:j("testimonials.hashtag")})]},s)})})]})}),(0,t.jsxs)("section",{id:"faq",className:"jsx-4f1352617402d413 py-16 px-4 max-w-4xl mx-auto",children:[(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl font-bold mb-10 text-center",children:j("faq.title")}),(0,t.jsx)(d.default,{items:A}),(0,t.jsxs)("div",{className:"jsx-4f1352617402d413 mt-8 text-center text-gray-400",children:[j("faq.stillHaveQuestions")," ",(0,t.jsx)("a",{href:`mailto:${x.METADATA.supportEmail}`,className:"jsx-4f1352617402d413 text-blue-400 hover:text-blue-300",children:x.METADATA.supportEmail})]})]}),(0,t.jsxs)("section",{className:"jsx-4f1352617402d413 py-20 px-4 bg-gradient-to-r from-blue-900/40 via-purple-900/40 to-pink-900/40 text-center border-y border-white/10",children:[(0,t.jsx)("div",{className:"jsx-4f1352617402d413 text-sm font-bold tracking-wider text-purple-400 uppercase mb-4",children:j("finalCta.eyebrow")}),(0,t.jsx)("h2",{className:"jsx-4f1352617402d413 text-3xl md:text-5xl font-bold mb-6 text-white",children:j("finalCta.title")}),(0,t.jsx)("p",{className:"jsx-4f1352617402d413 text-gray-300 max-w-2xl mx-auto mb-10 text-lg",children:j("finalCta.subtitle")}),(0,t.jsxs)(b,{content:"final-create-song",children:[j("finalCta.button")," ",(0,t.jsx)(n.ArrowRight,{size:18})]})]}),(0,t.jsx)(c.default,{}),(0,t.jsx)(s.default,{id:"4f1352617402d413",children:".text-gradient{-webkit-text-fill-color:transparent;background:linear-gradient(90deg,#60a5fa,#c084fc,#e879f9);-webkit-background-clip:text;background-clip:text}
1.glass-card{-webkit-backdrop-filter:blur(12px);background:#14141999;border:1px solid #ffffff1a}"})]})}e.s(["default",()=>j])}]);

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.