1import{_ as K}from"./65lab4TY.js";import{aP as l,aQ as r,aR as e,bv as F,aT as D,aU as c,aX as d,bh as P,a_ as J,aS as i,a$ as _,bm as k,bp as B,bn as W,bq as Y,b1 as X,b2 as Q,b6 as A,aV as h,b5 as me,aY as ue,ba as V,b3 as pe,b4 as a,bc as ge,bi as Z,bd as be,bB as xe}from"./C_rQLvuc.js";import{_ as ve}from"./D1aqih2S.js";import{_ as fe}from"./CssFsNkV.js";import{u as ye}from"./CAFVcVeo.js";import{u as he}from"./BmfGmMEk.js";import{u as we}from"./Ct9WDRuu.js";import{u as ke}from"./B9hK0Gty.js";import"./BfXRU5JL.js";import"./DyP2UJtw.js";import"./Bp0EJkZI.js";import"./DNqgtRfD.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"52f7e9413d73032766ae5610c0b4b947fcb8bdfc"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new n.Error().stack;g&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[g]="d42d8e79-6942-4ed2-a70c-d29c01d95ac0",n._sentryDebugIdIdentifier="sentry-dbid-d42d8e79-6942-4ed2-a70c-d29c01d95ac0")})()}catch{}const _e={},Se={class:""},$e={class:"flex items-center text-lg sm:text-xl md:text-2xl font-black leading-tight tracking-wide"},Ce={class:"mt-1.5 sm:mt-2 text-xs sm:text-sm md:text-base leading-normal text-stone-grey/90 font-medium w-[90%]"};function je(n,g){return r(),l("div",Se,[e("h3",$e,[F(n.$slots,"title")]),e("p",Ce,[F(n.$slots,"description")])])}const Ne=K(_e,[["render",je]]),Ae={},Ie={class:"relative flex flex-col w-full gap-4 p-4 sm:gap-5 rounded-3xl lg:p-5 lg:flex-row overflow-hidden bg-linear-to-br from-shadow-dark/95 via-dark/90 to-shadow-dark/95 border border-epic-gold/20 backdrop-blur-sm group hover:border-epic-gold/30 transition-all duration-500"},Te={class:"relative z-10 shrink-0 lg:w-1/3"},De={class:"relative z-10 flex-1 lg:w-2/3"},Pe={class:"w-full"};function Me(n,g){const $=Ne;return r(),l("div",Ie,[g[0]||(g[0]=e("div",{class:"absolute inset-0 bg-linear-to-br from-epic-gold/5 via-transparent to-mystic-blue/5 opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"},null,-1)),g[1]||(g[1]=e("div",{class:"absolute top-0 left-0 w-20 h-20 bg-linear-to-br from-epic-gold/10 to-transparent rounded-br-full pointer-events-none"},null,-1)),g[2]||(g[2]=e("div",{class:"absolute bottom-0 right-0 w-20 h-20 bg-linear-to-tl from-mystic-blue/10 to-transparent rounded-tl-full pointer-events-none"},null,-1)),e("div",Te,[D($,null,{title:c(()=>[F(n.$slots,"title")]),description:c(()=>[F(n.$slots,"description")]),_:3})]),e("div",De,[e("div",Pe,[F(n.$slots,"content")])])])}const Ue=K(Ae,[["render",Me]]),Ee={class:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-shadow-dark/90 backdrop-blur-sm"},Le={class:"relative w-full max-w-2xl max-h-[90vh] bg-linear-to-b from-shadow-dark/95 to-dark/95 rounded-2xl border border-mystic-blue/40 overflow-hidden"},Oe={class:"px-6 py-4 bg-linear-to-r from-mystic-blue/20 to-epic-gold/20 border-b border-mystic-blue/30"},Ve={class:"flex justify-between items-center"},ze={class:"text-xs text-stone-grey/70"},Re={class:"overflow-y-auto max-h-[calc(90vh-8rem)] p-6 space-y-6"},We={class:"bg-linear-to-r from-mystic-blue/10 to-epic-gold/10 border border-mystic-blue/20 rounded-xl p-5"},Fe={class:"flex justify-between items-start mb-4"},He={class:"flex items-center space-x-2 cursor-pointer"},Ge={key:0,class:"space-y-4"},qe={class:"flex items-center space-x-2"},Be={class:"text-mystic-blue"},Ye=["min"],Je={class:"bg-linear-to-r from-accent/10 to-mystic-blue/10 border border-accent/20 rounded-xl p-5"},Xe={class:"flex justify-between items-start mb-4"},Qe={class:"flex items-center space-x-2 cursor-pointer"},Ke={key:0,class:"space-y-4"},Ze={class:"grid grid-cols-2 gap-3"},et=["onUpdate:modelValue"],tt={class:"flex items-center space-x-3 flex-1"},st={class:"text-lg"},ot={key:0,class:"mt-2"},at={class:"flex items-center space-x-2"},rt=["onUpdate:modelValue","placeholder"],lt=["onUpdate:modelValue"],nt={class:"flex items-center space-x-2"},it=["placeholder"],dt={key:0,class:"bg-linear-to-r from-epic-gold/10 to-mystic-blue/10 border border-epic-gold/20 rounded-xl p-5"},ct={class:"space-y-2 text-sm"},mt={key:0,class:"flex items-center space-x-2"},ut={class:"text-stone-grey"},pt={class:"text-mystic-blue font-bold"},gt={key:1},bt={class:"flex items-start space-x-2"},xt={class:"flex-1"},vt={class:"mt-1 ml-4 space-y-1"},ft={class:"text-mage-purple font-bold"},yt={key:0,class:"text-stone-grey/80"},ht={class:"text-mage-purple font-bold"},wt={key:1,class:"p-3 bg-fire-orange/10 border border-fire-orange/30 rounded-lg"},kt={class:"px-6 py-4 bg-linear-to-r from-shadow-dark/60 to-dark/60 border-t border-mystic-blue/20"},_t={class:"flex items-center space-x-3"},St=["disabled"],$t={__name:"ParentControlsModal",props:{walletId:{type:[String,Number],required:!0},walletName:{type:String,default:"Child Wallet"},currency:{type:String,default:"$"}},emits:["close","applied"],setup(n,{emit:g}){const $=n,w=g,{getHeaders:H}=he(),S=d(!1),I=d(50),M=d("weekly"),U=d(""),v=d(!1),f=d({}),y=d({}),C=d({}),b=d(""),x=d(null),T=d("monthly"),E=d(!1),L=[{id:"entertainment",name:"Entertainment",emoji:"ð®"},{id:"food",name:"Food & Snacks",emoji:"ð"},{id:"shopping",name:"Shopping",emoji:"ðï¸"}
1,{id:"transport",name:"Transport",emoji:"ð"},{id:"games",name:"Games & Apps",emoji:"ð¯"},{id:"savings",name:"Savings Goal",emoji:"ð"}];L.forEach(p=>{C.value[p.id]="monthly"});const j=P(()=>new Date().toISOString().split("T")[0]);async function O(){E.value=!0;const p=[];try{const s=H();if(S.value&&I.value>0)try{const o={walletId:$.walletId,entityName:"Allowance (Parent Set)",categoryIds:[1],amount:I.value,frequency:M.value==="weekly"?2:M.value==="bi-weekly"?3:4,dueDate:U.value||j.value,status:0};await $fetch("/api/wages/create",{method:"POST",headers:s,body:o})}catch(o){console.error("Failed to create allowance:",o),p.push("Failed to create allowance")}if(v.value){for(const o of L)if(f.value[o.id]&&y.value[o.id]>0)try{const u=new Date().toISOString().split("T")[0],q={walletId:$.walletId,categoryName:o.name,categoryIds:[],amount:y.value[o.id],balance:0,startDate:u,frequency:C.value[o.id]==="weekly"?2:4,notes:`Parent Set Limit: ${o.emoji} ${o.name}`,status:0};await $fetch("/api/buckets/create",{method:"POST",headers:s,body:q})}catch(u){console.error(`Failed to create bucket for ${o.name}:`,u),p.push(`Failed to create limit for ${o.name}`)}if(b.value&&x.value>0)try{const o=new Date().toISOString().split("T")[0],u={walletId:$.walletId,categoryName:b.value,categoryIds:[],amount:x.value,balance:0,startDate:o,frequency:T.value==="weekly"?2:4,notes:`Parent Set Limit: Custom - ${b.value}`,status:0};await $fetch("/api/buckets/create",{method:"POST",headers:s,body:u})}catch(o){console.error("Failed to create custom bucket:",o),p.push(`Failed to create limit for ${b.value}`)}}p.length>0?alert(`Some controls were not applied: 2${p.join(` 3`)}`):(w("applied"),w("close"))}catch(s){console.error("Error applying controls:",s),alert("Failed to apply controls. Please try again.")}finally{E.value=!1}}return(p,s)=>(r(),J(me,{to:"body"},[e("div",Ee,[e("div",Le,[e("div",Oe,[e("div",Ve,[e("div",null,[s[10]||(s[10]=e("h2",{class:"text-lg font-black text-transparent bg-clip-text bg-linear-to-r from-mystic-blue via-epic-gold to-mystic-blue"}," CHILD WALLET CONTROLS ",-1)),e("p",ze," Set allowance and spending limits for "+i(n.walletName),1)]),e("button",{class:"w-8 h-8 bg-linear-to-br from-fire-orange/20 to-secondary/20 rounded-full border border-fire-orange/30 text-fire-orange hover:border-fire-orange/50 transition-all duration-300",onClick:s[0]||(s[0]=o=>p.$emit("close"))}," â ")])]),e("div",Re,[e("div",We,[e("div",Fe,[s[12]||(s[12]=e("div",null,[e("h3",{class:"text-lg font-bold text-mystic-blue flex items-center space-x-2"},[e("span",{class:"text-xl"},"ð°"),e("span",null,"Allowance Settings")]),e("p",{class:"text-sm text-stone-grey/70 mt-1"}," Set up recurring allowance as a wage entry ")],-1)),e("label",He,[s[11]||(s[11]=e("span",{class:"text-sm text-stone-grey"},"Enable",-1)),k(e("input",{"onUpdate:modelValue":s[1]||(s[1]=o=>S.value=o),type:"checkbox",class:"w-5 h-5 rounded border-2 border-mystic-blue/40 bg-shadow-dark/60 checked:bg-mystic-blue checked:border-mystic-blue transition-colors"},null,512),[[B,S.value]])])]),S.value?(r(),l("div",Ge,[e("div",null,[s[13]||(s[13]=e("label",{class:"block text-sm font-bold text-epic-gold mb-2"}," Allowance Amount ",-1)),e("div",qe,[e("span",Be,i(n.currency),1),k(e("input",{"onUpdate:modelValue":s[2]||(s[2]=o=>I.value=o),type:"number",min:"0",step:"0.01",placeholder:"50.00",class:"flex-1 px-4 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white placeholder-stone-grey/50 focus:border-mystic-blue/50 transition-colors"},null,512),[[W,I.value,void 0,{number:!0}]])])]),e("div",null,[s[15]||(s[15]=e("label",{class:"block text-sm font-bold text-epic-gold mb-2"}," Payment Frequency ",-1)),k(e("select",{"onUpdate:modelValue":s[3]||(s[3]=o=>M.value=o),class:"w-full px-4 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white focus:border-mystic-blue/50 transition-colors"},[...s[14]||(s[14]=[e("option",{value:"weekly"},"Weekly",-1),e("option",{value:"bi-weekly"},"Bi-Weekly",-1),e("option",{value:"monthly"},"Monthly",-1)])],512),[[Y,M.value]])]),e("div",null,[s[16]||(s[16]=e("label",{class:"block text-sm font-bold text-epic-gold mb-2"}," Start Date ",-1)),k(e("input",{"onUpdate:modelValue":s[4]||(s[4]=o=>U.value=o),type:"date",min:j.value,class:"w-full px-4 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white focus:border-mystic-blue/50 transition-colors"},null,8,Ye),[[W,U.value]])])])):_("",!0)]),e("div",Je,[e("div",Xe,[s[18]||(s[18]=e("div",null,[e("h3",{class:"text-lg font-bold text-mage-purple flex items-center space-x-2"},[e("span",{class:"text-xl"},"ð"),e("span",null,"Spending Limits")]),e("p",{class:"text-sm text-stone-grey/70 mt-1"}," Create budget buckets with spending limits ")],-1)),e("label",Qe,[s[17]||(s[17]=e("span",{class:"text-sm text-stone-grey"},"Enable",-1)),k(e("input",{"onUpdate:modelValue":s[5]||(s[5]=o=>v.value=o),type:"checkbox",class:"w-5 h-5 rounded border-2 border-accent/40 bg-sh
3adow-dark/60 checked:bg-accent checked:border-accent transition-colors"},null,512),[[B,v.value]])])]),v.value?(r(),l("div",Ke,[e("div",null,[s[21]||(s[21]=e("label",{class:"block text-sm font-bold text-epic-gold mb-2"}," Select Categories to Limit ",-1)),e("div",Ze,[(r(),l(X,null,Q(L,o=>e("div",{key:o.id,class:"relative"},[e("label",{class:A(["flex items-center p-3 bg-shadow-dark/40 border border-stone-grey/20 rounded-lg cursor-pointer hover:border-accent/40 transition-colors",{"border-accent/60 bg-accent/10":f.value[o.id]}])},[k(e("input",{"onUpdate:modelValue":u=>f.value[o.id]=u,type:"checkbox",class:"sr-only"},null,8,et),[[B,f.value[o.id]]]),e("div",tt,[e("span",st,i(o.emoji),1),e("span",{class:A(["text-sm font-medium",f.value[o.id]?"text-mage-purple":"text-stone-grey"])},i(o.name),3)])],2),f.value[o.id]?(r(),l("div",ot,[e("div",at,[s[20]||(s[20]=e("span",{class:"text-xs text-stone-grey"},"Limit:",-1)),k(e("input",{"onUpdate:modelValue":u=>y.value[o.id]=u,type:"number",min:"0",step:"1",placeholder:`${n.currency}50`,class:"flex-1 px-2 py-1 text-sm bg-shadow-dark/60 border border-stone-grey/30 rounded text-white placeholder-stone-grey/50 focus:border-accent/50 transition-colors"},null,8,rt),[[W,y.value[o.id],void 0,{number:!0}]]),k(e("select",{"onUpdate:modelValue":u=>C.value[o.id]=u,class:"px-2 py-1 text-sm bg-shadow-dark/60 border border-stone-grey/30 rounded text-white focus:border-accent/50"},[...s[19]||(s[19]=[e("option",{value:"weekly"},"Weekly",-1),e("option",{value:"monthly"},"Monthly",-1)])],8,lt),[[Y,C.value[o.id]]])])])):_("",!0)])),64))])]),e("div",null,[s[23]||(s[23]=e("label",{class:"block text-sm font-bold text-epic-gold mb-2"}," Add Custom Category (Optional) ",-1)),e("div",nt,[k(e("input",{"onUpdate:modelValue":s[6]||(s[6]=o=>b.value=o),type:"text",placeholder:"Category name",class:"flex-1 px-3 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white placeholder-stone-grey/50 focus:border-accent/50 transition-colors"},null,512),[[W,b.value]]),k(e("input",{"onUpdate:modelValue":s[7]||(s[7]=o=>x.value=o),type:"number",min:"0",step:"1",placeholder:`${n.currency}50`,class:"w-24 px-3 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white placeholder-stone-grey/50 focus:border-accent/50 transition-colors"},null,8,it),[[W,x.value,void 0,{number:!0}]]),k(e("select",{"onUpdate:modelValue":s[8]||(s[8]=o=>T.value=o),class:"px-3 py-2 bg-shadow-dark/60 border border-stone-grey/30 rounded-lg text-white focus:border-accent/50"},[...s[22]||(s[22]=[e("option",{value:"weekly"},"Weekly",-1),e("option",{value:"monthly"},"Monthly",-1)])],512),[[Y,T.value]])])])])):_("",!0)]),S.value||v.value?(r(),l("div",dt,[s[28]||(s[28]=e("h3",{class:"text-lg font-bold text-epic-gold mb-3"},"Summary",-1)),e("div",ct,[S.value?(r(),l("div",mt,[s[25]||(s[25]=e("span",{class:"text-xl"},"ð°",-1)),e("span",ut,[s[24]||(s[24]=h(" Allowance: ",-1)),e("span",pt,i(n.currency)+i(I.value),1),h(" "+i(M.value),1)])])):_("",!0),v.value&&Object.keys(f.value).filter(o=>f.value[o]).length>0?(r(),l("div",gt,[e("div",bt,[s[27]||(s[27]=e("span",{class:"text-xl"},"ð",-1)),e("div",xt,[s[26]||(s[26]=e("span",{class:"text-stone-grey"},"Spending Limits:",-1)),e("ul",vt,[(r(!0),l(X,null,Q(L.filter(o=>f.value[o.id]),o=>(r(),l("li",{key:o.id,class:"text-stone-grey/80"},[h(i(o.name)+": ",1),e("span",ft,i(n.currency)+i(y.value[o.id]||0),1),h(" "+i(C.value[o.id]),1)]))),128)),b.value&&x.value?(r(),l("li",yt,[h(i(b.value)+": ",1),e("span",ht,i(n.currency)+i(x.value),1),h(" "+i(T.value),1)])):_("",!0)])])])])):_("",!0)])])):_("",!0),S.value||v.value?(r(),l("div",wt,[...s[29]||(s[29]=[e("p",{class:"text-sm text-fire-orange"}," â ï¸ This will create wage and bucket entries in the child's wallet that they can view but not modify. ",-1)])])):_("",!0)]),e("div",kt,[e("div",_t,[e("button",{class:"flex-1 px-4 py-3 bg-linear-to-r from-stone-grey/20 to-stone-grey/10 rounded-xl border border-stone-grey/30 text-stone-grey font-bold hover:border-stone-grey/50 transition-all duration-300",onClick:s[9]||(s[9]=o=>p.$emit("close"))}," Cancel "),e("button",{disabled:E.value||!S.value&&!v.value,class:"flex-1 px-4 py-3 bg-linear-to-r from-mystic-blue/30 to-epic-gold/30 rounded-xl border border-mystic-blue/40 text-mystic-blue font-bold hover:border-mystic-blue/60 disabled:opacity-50 disabled:cursor-not-allowed transition-all duration-300",onClick:O},i(E.value?"Applying...":"Apply Controls"),9,St)])])])])]))}},Ct={class:"overflow-auto relative p-4 min-h-screen bg-linear-to-b sm:p-0 from-shadow-dark to-dark"},jt={class:"fixed inset-0 pointer-events-none"},Nt={class:"relative z-10 mx-auto py-4 sm:py-6 md:py-8 sm:px-5 md:px-6"}
3,At={class:"space-y-4 sm:space-y-6 md:space-y-8"},It={class:"space-y-4 sm:space-y-5 md:space-y-6"},Tt={class:"grid grid-cols-1 gap-3 sm:gap-4 md:grid-cols-2"},Dt={class:"overflow-hidden relative p-4 sm:p-5 md:p-6 bg-linear-to-br rounded-xl sm:rounded-2xl border from-epic-gold/10 to-fire-orange/5 border-epic-gold/30"},Pt={class:"relative z-10"},Mt={class:"mt-1.5 sm:mt-2"},Ut={key:0,class:"text-base sm:text-lg font-black leading-normal wrap-break-word drop-shadow-sm text-epic-gold"},Et={key:1,class:"flex items-center space-x-2"},Lt={class:"overflow-hidden relative p-4 sm:p-5 md:p-6 bg-linear-to-br rounded-xl sm:rounded-2xl border from-mystic-blue/10 to-mystic-blue/5 border-mystic-blue/30"},Ot={class:"relative z-10"},Vt={class:"mt-1.5 sm:mt-2"},zt={key:0,class:"text-base sm:text-lg font-black leading-normal wrap-break-word drop-shadow-sm text-mystic-blue"},Rt={key:1,class:"flex items-center space-x-2"},Wt={class:"space-y-4 sm:space-y-5 md:space-y-6"},Ft={class:"flex justify-center"},Ht=["disabled"],Gt={class:"flex justify-center items-center gap-2 sm:gap-3"},qt={key:0,class:"text-lg sm:text-xl animate-spin"},Bt={key:1,class:"text-lg sm:text-xl"},Yt={class:"tracking-wide leading-normal"},Jt={class:"space-y-4 sm:space-y-5 md:space-y-6"},Xt={class:"relative z-10"},Qt={class:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-3 sm:gap-0"},Kt={class:"flex gap-2 sm:gap-3 items-center mb-1.5 sm:mb-2"},Zt={class:"text-2xl sm:text-3xl"},es={class:"mt-1.5 sm:mt-2 text-xs sm:text-sm leading-normal text-stone-grey/80"},ts={key:0},ss={key:1},os={key:2},as={key:3},rs={key:1,class:"px-3 sm:px-4 py-1.5 sm:py-2 bg-linear-to-r rounded-lg sm:rounded-xl border from-epic-gold/20 to-fire-orange/20 border-epic-gold/40"},ls={class:"flex justify-center"},ns=["disabled"],is={class:"flex justify-center items-center gap-2 sm:gap-3"},ds={key:0,class:"text-lg sm:text-xl animate-spin"},cs={key:1,class:"text-lg sm:text-xl"},ms={class:"tracking-wide leading-normal"},us={class:"space-y-4 sm:space-y-5 md:space-y-6"},ps={class:"flex justify-center"},gs=["disabled"],bs={class:"flex justify-center items-center gap-2 sm:gap-3"},xs={key:0,class:"text-lg sm:text-xl animate-spin"},vs={key:1,class:"text-lg sm:text-xl"},fs={class:"tracking-wide leading-normal"},ys={class:"space-y-4 sm:space-y-5 md:space-y-6"},hs={class:"p-3 sm:p-4 bg-linear-to-r rounded-lg sm:rounded-xl border from-
3accent/5 to-mystic-blue/5 border-accent/20"},ws={class:"flex items-center gap-2 sm:gap-3"},ks={class:"text-[10px] sm:text-xs leading-normal text-stone-grey/70"},_s={key:0,class:"overflow-y-auto fixed inset-0 z-50"},Ss={__name:"index",setup(n){const{user:g}=ge(),$=be(),{currentWallet:w}=we(),{wallets:H,execute:S}=ke({immediate:!1}),{getCurrentAccessLevel:I,getTierName:M,showPrompt:U}=ye(),v=d({}),f=d(!1),y=d(!1),C=d(!1),b=d(!1),x=d(!1),T=d(!1),E=d(null),L=d(""),j=d(!1),O=d(""),p=d("success"),s=P(()=>{if(!w.value)return null;const m=H.value.find(t=>t.id===w.value.id);return m?{id:m.id,alias:m.alias,type:m.walletType,currency:m.currency,role:m.role,isLocal:m.isLocal,ownerUserName:m.ownerUserName}:{id:w.value.id,alias:w.value.alias,type:void 0,currency:w.value.currency,role:w.value.role}}),o=P(()=>w.value?H.value.find(t=>t.id===w.value.id)?.role==="owner":!1),u=P(()=>I()),q=P(()=>M(u.value)),ee=P(()=>u.value>=3),z=P(()=>{const m={0:{icon:"ð±",color:"stone-grey",gradient:"from-stone-grey/20 to-stone-grey/30"},1:{icon:"ð",color:"purple-400",gradient:"from-purple-600/20 to-purple-900/20"},2:{icon:"ð¤",color:"mystic-blue",gradient:"from-mystic-blue/20 to-blue-900/20"},3:{icon:"ð",color:"epic-gold",gradient:"from-epic-gold/30 to-fire-orange/30"}};return m[u.value]||m[0]}),te=()=>{const t=I()+1;t===1?U({featureName:"Path of Shadows",featureDescription:"Unlock bank connections, AI auto-categorization, unlimited categories and bills.",featureIcon:"nightlight",requiredTier:1,benefits:["Connect 1 bank account","AI auto-categorization","Unlimited categories","Unlimited bills","60-day runway forecast"]}):t===2?U({featureName:"Path of Alliances",featureDescription:"Create shared wallets, invite family members, and connect up to 5 bank accounts.",featureIcon:"group",requiredTier:2,benefits:["Shared wallets","Child wallet controls","5 bank connections","Unlimited wallets","90-day runway forecast"]}):t===3&&U({featureName:"Path of Sovereignty",featureDescription:"Unlock business features, tax reports, unlimited everything, and priority support.",featureIcon:"business_center",requiredTier:3,benefits:["Business wallets","Tax reports & tracking","Receipt management","Unlimited bank connections","Priority support"]})};ue(async()=>{await S();const m=localStorage.getItem("visitor_continent_name");console.log("ð [Settings] User selected region:",m);const t=await $fetch("/api/auth/get-user-metadata",{method:"POST",body:{selectedRegion:m}});t.user_metadata&&(v.value=t.user_metadata),C.value=!0});const se=()=>{f.value=!0},G=()=>{f.value=!1},oe=async()=>{if(!y.value){y.value=!0;try{if(!v.value.stripe_customer_id){$.error("â [Settings] No Stripe customer ID found in user metadata"),O.value="No subscription found. Please contact support if you believe this is an error.",p.value="error",j.value=!0;return}$.info("ð [Settings] Creating customer portal session for customer:",v.value.stripe_customer_id);const t=`${xe().public.appUrl}/settings`,N=await $fetch("/api/stripe/create-customer-portal-session",{method:"POST",body:{customerId:v.value.stripe_customer_id,returnUrl:t}});$.info("â
[Settings] Redirecting to customer portal:",N.session_id),window.location.href=N.portal_url}catch{O.value="Failed to open billing portal. Please try again or contact support if the issue persists.",p.value="error",j.value=!0}finally{y.value=!1}}},ae=async()=>{if(!b.value){b.value=!0;try{await Z("/Categories")}finally{b.value=!1}}},re=async()=>{if(!x.value){x.value=!0;try{await Z("/Settings/WalletMembers")}finally{x.value=!1}}},le=()=>{if(!s.value){O.value="Please select a child wallet first",p.value="error",j.value=!0;return}E.value=s.value.id,L.value=s.value.alias,T.value=!0},ne=()=>{O.value="Child wallet controls have been applied successfully",p.value="success",j.value=!0},ie=P(()=>s.value?.type===2&&o.value);return(m,t)=>{const N=Ue,de=ve,ce=fe;return r(),l("div",Ct,[e("div",jt,[(r(),l(X,null,Q([1,2,3,4,5,6,7,8,9,10],R=>e("div",{key:R,class:A(["absolute w-1 h-1 rounded-full animate-pulse",R%3===0?"bg-epic-gold":R%2===0?"bg-fire-orange":"bg-mystic-blue"]),style:pe({left:Math.random()*100+"%",top:Math.random()*100+"%",animationDelay:Math.random()*5+"s",animationDuration:3+Math.random()*3+"s"})},null,6)),64))]),t[38]||(t[38]=V('<div class="flex relative z-10 gap-2 sm:gap-3 justify-between items-center px-4 sm:px-5 md:px-6 py-3 sm:py-4 md:py-5 md:hidden" data-v-b8992778><div class="flex flex-col items-start gap-1 sm:gap-1.5" data-v-b8992778><div class="flex gap-2 sm:gap-3 items-center" data-v-b8992778><div class="flex justify-center items-center w-9 h-9 sm:w-10 sm:h-10 bg-linear-to-br rounded-full from-epic-gold to-fire-orange" data-v-b8992778><span class="text-lg sm:text-xl" data-v-b8992778>âï¸</span></div><h1 class="text-xl sm:text-2xl md:text-3xl font-black leading-tight text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue" data-v-b8992778> 𥷠NINJA PROFILE </h1></div><p class="text-xs sm:text-sm font-medium leading-normal text-stone-grey/80" data-v-b8992778> Manage your legendary ninja's settings and shadow arts </p></div></div>',1)),e("div",Nt,[e("div",At,[D(N,null,{title:c(()=>[...t[2]||(t[2]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"ð¥·",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"},"Ninja Identity",-1)])]),description:c(()=>[...t[3]||(t[3]=[h(" View your legendary ninja's secret identity and shadow essence. ",-1)])]),content:c(()=>[e("div",It,[e("div",Tt,[e("div",Dt,[t[6]||(t[6]=e("div",{class:"absolute inset-0 bg-linear-to-br to-transparent opacity-50 from-epic-gold/5"},null,-1)),e("div",Pt,[t[5]||(t[5]=e("div",{class:"flex gap-2 sm:gap-3 items-center mb-2 sm:mb-3"},[e("div",{class:"flex justify-center items-center w-7 h-7 sm:w-8 sm:h-8 bg-linear-to-br rounded-full from-epic-gold to-fire-orange"},[e("span",{class:"text-xs sm:text-sm"},"ð")]),e("dt",{class:"text-xs sm:text-sm font-bold tracking-wide uppercase leading-normal text-epic-gold"}," Ninja Name ")],-1)),e("dd",Mt,[a(C)?(r(),l("span",Ut,i(a(g)?.name||"𥷠Shadow Ninja"),1)):(r(),l("div",Et,[...t[4]||(t[4]=[e("div",{class:"w-4 h-4 rounded animate-pulse bg-epic-gold/30"},null,-1),e("div",{class:"w-24 h-5 rounded animate-pulse bg-epic-gold/30"},null,-1)])]))])])]),e("div",Lt,[t[9]||(t[9]=e("div",{class:"absolute inset-0 bg-linear-to-br to-transparent opacity-50 from-mystic-blue/5"},null,-1)),e("div",Ot,[t[8]||(t[8]=e("div",{class:"flex gap-2 sm:gap-3 items-center mb-2 sm:mb-3"},[e("div",{class:"flex justify-center items-center w-7 h-7 sm:w-8 sm:h-8 bg-linear-to-br rounded-full from-mystic-blue to-primary"},[e("span",{class:"text-xs sm:text-sm"},"ð§")]),e("dt",{class:"text-xs sm:text-sm font-bold tracking-wide uppercase leading-normal text-mystic-blue"}," Shadow Network ")],-1)),e("dd",Vt,[a(C)?(r(),l("span",zt,i(a(g)?.email||"ð Secret Scroll"),1)):(r(),l("div",Rt,[...t[7]||(t[7]=[e("div",{class:"w-4 h-4 rounded animate-pulse bg-mystic-blue/30"},null,-1),e("div",{class:"w-32 h-5 rounded animate-pulse bg-mystic-blue/30"},null,-1)])]))])])])])])]),_:1}),D(N,null,{title:c(()=>[...t[10]||(t[10]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"âï¸",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"},"Shadow Classifications",-1)])]),description:c(()=>[...t[11]||(t[11]=[h(" Master, customize, and organize your shadow technique categories to unlock deeper stealth insights and ninja mastery. ",-1)])]),content:c(()=>[e("div",Wt,[t[12]||(t[12]=e("div",{class:"grid grid-cols-1 gap-3 sm:gap-4 sm:grid-cols-3"},[e("div",{class:"overflow-hidden relative p-3 sm:p-4 bg-linear-to-r roun
3ded-lg sm:rounded-xl border transition-all duration-300 from-mystic-blue/10 to-mystic-blue/5 border-mystic-blue/30 group hover:border-mystic-blue/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-mystic-blue/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-2 sm:gap-3"},[e("div",{class:"flex justify-center items-center w-9 h-9 sm:w-10 sm:h-10 bg-linear-to-br rounded-full from-mystic-blue to-primary"},[e("span",{class:"text-base sm:text-lg"},"ð·ï¸")]),e("div",{class:"text-xs sm:text-sm font-bold tracking-wide leading-normal text-mystic-blue"}," Custom Shadow Arts ")])]),e("div",{class:"overflow-hidden relative p-3 sm:p-4 bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 from-primary/10 to-epic-gold/5 border-primary/30 group hover:border-primary/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-primary/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-2 sm:gap-3"},[e("div",{class:"flex justify-center items-center w-9 h-9 sm:w-10 sm:h-10 bg-linear-to-br rounded-full from-primary to-epic-gold"},[e("span",{class:"text-base sm:text-lg"},"âï¸")]),e("div",{class:"text-xs sm:text-sm font-bold tracking-wide leading-normal text-primary"}," Silent Strike ")])]),e("div",{class:"overflow-hidden relative p-3 sm:p-4 bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 from-epic-gold/10 to-fire-orange/5 border-epic-gold/30 group hover:border-epic-gold/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-epic-gold/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-2 sm:gap-3"},[e("div",{class:"flex justify-center items-center w-9 h-9 sm:w-10 sm:h-10 bg-linear-to-br rounded-full from-epic-gold to-fire-orange"},[e("span",{class:"text-base sm:text-lg"},"ð")]),e("div",{class:"text-xs sm:text-sm font-bold tracking-wide leading-normal text-epic-gold"}," Ninja Intelligence ")])])],-1)),e("div",Ft,[e("button",{disabled:a(b),class:A([{"opacity-25":a(b)},"overflow-hidden relative px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 w-full max-w-sm text-xs sm:text-sm font-bold bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 group from-mystic-blue/30 to-primary/30 border-mystic-blue/40 text-mystic-blue hover:border-mystic-blue/60 hover:from-mystic-blue/40 hover:to-primary/40"]),onClick:ae},[e("div",Gt,[a(b)?(r(),l("div",qt," âï¸ ")):(r(),l("div",Bt,"ð·ï¸")),e("span",Yt,i(a(b)?"ACCESSING...":"MANAGE SHADOW ARTS"),1)])],10,Ht)])])]),_:1}),D(N,null,{title:c(()=>[...t[13]||(t[13]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"ð¯",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"},"Dojo Membership",-1)])]),description:c(()=>[...t[14]||(t[14]=[h(" Master your dojo dues, sacred payment scrolls, and mystical ninja powers. ",-1)])]),content:c(()=>[e("div",Jt,[e("div",{class:A(["overflow-hidden relative p-4 sm:p-5 md:p-6 bg-linear-to-br rounded-xl sm:rounded-2xl border",`${a(z).gradient} border-${a(z).color}/30`])},[e("div",{class:A(["absolute inset-0 bg-linear-to-br to-transparent opacity-30",a(z).gradient])},null,2),e("div",Xt,[e("div",Qt,[e("div",null,[e("div",Kt,[e("span",Zt,i(a(z).icon),1),e("div",null,[t[15]||(t[15]=e("div",{class:"font-mono text-[10px] sm:text-xs tracking-wider leading-normal text-stone-grey/60"}," CURRENT PATH ",-1)),e("div",{class:A(["text-lg sm:text-xl md:text-2xl font-black leading-tight tracking-wide",`text-${a(z).color}`])},i(a(q)),3)])]),e("div",es,[a(u)===0?(r(),l("span",ts,"Start your journey to financial mastery")):a(u)===1?(r(),l("span",ss,"Walking the path of shadows with bank sync")):a(u)===2?(r(),l("span",os,"Forging alliances with shared vaults")):(r(),l("span",as,"Supreme sovereignty with unlimited power"))])]),a(ee)?(r(),l("div",rs,[...t[17]||(t[17]=[e("div",{class:"flex gap-1.5 sm:gap-2 items-center text-epic-gold"},[e("i",{class:"material-symbols-rounded text-base sm:text-lg"},"verified"),e("span",{class:"text-xs sm:text-sm font-bold leading-normal"},"MAX TIER")],-1)])])):(r(),l("button",{key:0,class:"px-3 sm:px-4 py-1.5 sm:py-2 text-xs sm:text-sm font-bold bg-linear-to-r roun
3ded-lg sm:rounded-xl shadow-lg transition-all duration-300 from-epic-gold to-fire-orange text-shadow-dark hover:scale-105",onClick:te},[...t[16]||(t[16]=[e("div",{class:"flex gap-1.5 sm:gap-2 items-center"},[e("i",{class:"material-symbols-rounded text-base sm:text-lg"},"arrow_upward"),e("span",{class:"leading-normal"},"UPGRADE")],-1)])]))])])],2),e("div",ls,[e("button",{disabled:a(y),class:A([{"opacity-25":a(y)},"overflow-hidden relative px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 w-full max-w-sm text-xs sm:text-sm font-bold bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 group from-epic-gold/30 to-fire-orange/30 border-epic-gold/40 text-epic-gold hover:border-epic-gold/60 hover:from-epic-gold/40 hover:to-fire-orange/40"]),onClick:oe},[e("div",is,[a(y)?(r(),l("div",ds," âï¸ ")):(r(),l("div",cs,"ð¯")),e("span",ms,i(a(y)?"OPENING PORTAL...":"ENTER DOJO"),1)])],10,ns)])])]),_:1}),D(N,null,{title:c(()=>[...t[18]||(t[18]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"ð¥",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"}," Vault Alliances ",-1)])]),description:c(()=>[...t[19]||(t[19]=[h(" Forge mystical alliances and share your treasure vaults with trusted ninjas. ",-1)])]),content:c(()=>[e("div",us,[t[20]||(t[20]=e("div",{class:"grid grid-cols-1 gap-3 sm:gap-4 sm:grid-cols-2"},[e("div",{class:"overflow-hidden relative p-4 sm:p-5 bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 from-mystic-blue/10 to-primary/5 border-mystic-blue/30 group hover:border-mystic-blue/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-mystic-blue/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-3 sm:gap-4"},[e("div",{class:"flex justify-center items-center w-10 h-10 sm:w-12 sm:h-12 bg-linear-to-br rounded-full from-mystic-blue to-primary"},[e("span",{class:"text-lg sm:text-xl"},"ð¤")]),e("div",null,[e("div",{class:"mb-1 text-xs sm:text-sm font-bold tracking-wide leading-normal text-mystic-blue"}," Alliance Members "),e("div",{class:"text-[10px] sm:text-xs font-medium leading-normal text-mystic-blue/80"}," Manage vault access permissions ")])])]),e("div",{class:"overflow-hidden relative p-4 sm:p-5 bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 from-epic-gold/10 to-fire-orange/5 border-epic-gold/30 group hover:border-epic-gold/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-epic-gold/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-3 sm:gap-4"},[e("div",{class:"flex justify-center items-center w-10 h-10 sm:w-12 sm:h-12 bg-linear-to-br rounded-full from-epic-gold to-fire-orange"},[e("span",{class:"text-lg sm:text-xl"},"ð¨")]),e("div",null,[e("div",{class:"mb-1 text-xs sm:text-sm font-bold tracking-wide leading-normal text-epic-gold"}," Shadow Invitations "),e("div",{class:"text-[10px] sm:text-xs font-medium leading-normal text-epic-gold/80"}," Summon allies to your vault ")])])])],-1)),e("div",ps,[e("button",{disabled:a(x),class:A([{"opacity-25":a(x)},"overflow-hidden relative px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 w-full max-w-sm text-xs sm:text-sm font-bold bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 group from-mystic-blue/30 to-primary/30 border-mystic-blue/40 text-mystic-blue hover:border-mystic-blue/60 hover:from-mystic-blue/40 hover:to-primary/40"]),onClick:re},[e("div",bs,[a(x)?(r(),l("div",xs," âï¸ ")):(r(),l("div",vs,"ð¥")),e("span",fs,i(a(x)?"ACCESSING...":"MANAGE ALLIANCES"),1)])],10,gs)])])]),_:1}),a(ie)?(r(),J(N,{key:0},{title:c(()=>[...t[21]||(t[21]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"ð¨",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"}," Young Ninja Training ",-1)])]),description:c(()=>[...t[22]||(t[22]=[h(" Set allowances and spending limits to guide your young ninja's financial journey. ",-1)])]),content:c(()=>[e("div",ys,[t[26]||(t[26]=e("div",{class:"grid grid-cols-1 gap-3 sm:gap-4 sm:grid-cols-2"},[e("div",{class:"overflow-hidden relative p-4 sm:p-5 bg-linear-to-r roun
3ded-lg sm:rounded-xl border transition-all duration-300 from-accent/10 to-mystic-blue/5 border-accent/30 group hover:border-accent/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-accent/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-3 sm:gap-4"},[e("div",{class:"flex justify-center items-center w-10 h-10 sm:w-12 sm:h-12 bg-linear-to-br rounded-full from-accent to-mystic-blue"},[e("span",{class:"text-lg sm:text-xl"},"ð°")]),e("div",null,[e("div",{class:"mb-1 text-xs sm:text-sm font-bold tracking-wide leading-normal text-mage-purple"}," Allowance System "),e("div",{class:"text-[10px] sm:text-xs font-medium leading-normal text-mage-purple/80"}," Set up recurring allowance payments ")])])]),e("div",{class:"overflow-hidden relative p-4 sm:p-5 bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 from-epic-gold/10 to-fire-orange/5 border-epic-gold/30 group hover:border-epic-gold/50"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-0 transition-opacity duration-300 from-epic-gold/5 group-hover:opacity-100"}),e("div",{class:"flex relative z-10 items-center gap-3 sm:gap-4"},[e("div",{class:"flex justify-center items-center w-10 h-10 sm:w-12 sm:h-12 bg-linear-to-br rounded-full from-epic-gold to-fire-orange"},[e("span",{class:"text-lg sm:text-xl"},"ð")]),e("div",null,[e("div",{class:"mb-1 text-xs sm:text-sm font-bold tracking-wide leading-normal text-epic-gold"}," Spending Limits "),e("div",{class:"text-[10px] sm:text-xs font-medium leading-normal text-epic-gold/80"}," Create budget categories with limits ")])])])],-1)),e("div",hs,[e("div",ws,[t[24]||(t[24]=e("span",{class:"text-base sm:text-lg"},"ð¨",-1)),e("div",null,[t[23]||(t[23]=e("p",{class:"text-xs sm:text-sm font-bold leading-normal text-mage-purple"}," Managing Child Wallet ",-1)),e("p",ks,i(a(s)?.alias||"Select a child wallet"),1)])])]),e("div",{class:"flex justify-center"},[e("button",{class:"overflow-hidden relative px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 w-full max-w-sm text-xs sm:text-sm font-bold bg-linear-to-r rounded-lg sm:rounded-xl border transition-all duration-300 group from-accent/30 to-mystic-blue/30 border-accent/40 text-mage-purple hover:border-accent/60 hover:from-accent/40 hover:to-mystic-blue/40",onClick:le},[...t[25]||(t[25]=[e("div",{class:"flex justify-center items-center gap-2 sm:gap-3"},[e("div",{class:"text-lg sm:text-xl"},"ð¯"),e("span",{class:"tracking-wide leading-normal"},"MANAGE CONTROLS")],-1)])])])])]),_:1})):_("",!0),D(N,null,{title:c(()=>[...t[27]||(t[27]=[e("span",{class:"mr-1.5 sm:mr-2 text-lg sm:text-xl md:text-2xl"},"ð",-1),e("span",{class:"text-transparent bg-clip-text bg-linear-to-r from-epic-gold via-fire-orange to-mystic-blue"},"Ninja Vanishing",-1)])]),description:c(()=>[...t[28]||(t[28]=[h(" Vanish into the shadows and erase all traces of your ninja legacy from existence. ",-1)])]),content:c(()=>[e("div",{class:"space-y-4 sm:space-y-5 md:space-y-6"},[t[30]||(t[30]=e("div",{class:"overflow-hidden relative p-4 sm:p-5 md:p-6 bg-linear-to-r rounded-xl sm:rounded-2xl border from-fire-orange/20 to-secondary/20 border-fire-orange/40"},[e("div",{class:"absolute inset-0 bg-linear-to-r to-transparent opacity-50 from-fire-orange/5"}),e("div",{class:"flex relative z-10 items-start gap-3 sm:gap-4"},[e("div",{class:"flex shrink-0 justify-center items-center w-10 h-10 sm:w-12 sm:h-12 bg-linear-to-br rounded-full from-fire-orange to-secondary"},[e("span",{class:"text-xl sm:text-2xl"},"â ï¸")]),e("div",{class:"space-y-2 sm:space-y-3"},[e("div",{class:"text-xs sm:text-sm font-black tracking-wide uppercase leading-normal text-fire-orange"}," ð¥ BEFORE THE VANISHING RITUAL: "),e("ul",{class:"space-y-1.5 sm:space-y-2 text-xs sm:text-sm font-medium leading-normal text-stone-grey"},[e("li",{class:"flex items-center gap-2 sm:gap-3"},[e("div",{class:"shrink-0 w-2 h-2 rounded-full animate-pulse bg-fire-orange"}),e("span",null,"ð Extract any shadow data you wish to preserve")]),e("li",{class:"flex items-center gap-2 sm:gap-3"},[e("div",{class:"shrink-0 w-2 h-2 rounded-full animate-pulse bg-fire-orange"}),e("span",null,"â Abandon all active dojo affiliations")]),e("li",{class:"flex items-center gap-2 sm:gap-3"},[e("div",{class:"shrink-0 w-2 h-2 rounded-full animate-pulse bg-fire-orange"}),e("span",null,"ð¥ All ninja chronicles and shadow arts will vanish forever")])])])])],-1)),e("div",{class:"flex justify-center"},[e("button",{class:"overflow-hidden relative px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 w-full max-w-sm text-xs sm:text-sm font-bold bg-linear-to-r roun
3ded-lg sm:rounded-xl border transition-all duration-300 group from-fire-orange/30 to-secondary/30 border-fire-orange/50 text-fire-orange hover:border-fire-orange/70 hover:from-fire-orange/40 hover:to-secondary/40",onClick:se},[...t[29]||(t[29]=[e("div",{class:"flex justify-center items-center gap-2 sm:gap-3"},[e("div",{class:"text-lg sm:text-xl"},"ð"),e("span",{class:"tracking-wide leading-normal"},"VANISH INTO SHADOWS")],-1)])])])])]),_:1})]),a(f)?(r(),l("div",_s,[e("div",{class:"flex justify-center items-center p-3 sm:p-4 min-h-screen"},[e("div",{class:"fixed inset-0 bg-linear-to-b backdrop-blur-sm transition-opacity from-shadow-dark/90 via-dark/95 to-shadow-dark/90",onClick:G}),e("div",{class:"overflow-hidden relative mx-3 sm:mx-4 w-full max-w-2xl bg-linear-to-b rounded-2xl sm:rounded-3xl border-2 shadow-2xl from-shadow-dark via-dark to-shadow-dark border-fire-orange/50 shadow-fire-orange/20"},[t[36]||(t[36]=V('<div class="absolute inset-0" data-v-b8992778><div class="absolute inset-0 via-transparent to-transparent bg-gradient-radial from-fire-orange/5 shadow-vanish-pulse" data-v-b8992778></div><div class="absolute inset-0 via-transparent to-transparent bg-gradient-radial from-secondary/3 shadow-vanish-pulse-alt" data-v-b8992778></div></div><div class="overflow-hidden absolute inset-0 rounded-2xl sm:rounded-3xl pointer-events-none" data-v-b8992778><div class="absolute top-4 sm:top-6 left-4 sm:left-6 text-lg sm:text-xl md:text-2xl animate-pulse text-fire-orange/30" data-v-b8992778> ð </div><div class="absolute right-6 sm:right-8 top-8 sm:top-12 text-base sm:text-lg md:text-xl animate-bounce text-secondary/30" data-v-b8992778> â¡ </div><div class="absolute bottom-6 sm:bottom-8 left-6 sm:left-8 text-sm sm:text-base md:text-lg animate-pulse text-fire-orange/30" data-v-b8992778> ð¥ </div><div class="absolute right-4 sm:right-6 bottom-4 sm:bottom-6 text-lg sm:text-xl md:text-2xl animate-bounce text-secondary/30" data-v-b8992778> ð¨ </div></div>',2)),e("div",{class:"relative z-10 p-4 sm:p-6 md:p-8 pb-3 sm:pb-4 text-center"},[e("button",{class:"flex absolute top-4 sm:top-6 right-4 sm:right-6 justify-center items-center w-9 h-9 sm:w-10 sm:h-10 bg-linear-to-br rounded-full border transition-all duration-300 transform from-stone-grey/20 to-stone-grey/30 hover:from-fire-orange/30 hover:to-secondary/30 border-stone-grey/30 hover:border-fire-orange/50 hover:scale-110 group",title:"Remain in the shadows",onClick:G},[...t[31]||(t[31]=[e("div",{class:"absolute inset-0 bg-linear-to-br rounded-full opacity-0 transition-opacity duration-300 from-fire-orange/10 to-secondary/10 group-hover:opacity-100"},null,-1),e("i",{class:"relative z-10 text-base sm:text-lg transition-colors duration-300 material-symbols-rounded text-stone-grey group-hover:text-fire-orange"},"close",-1)])]),t[32]||(t[32]=V('<div class="relative mx-auto mb-4 sm:mb-5 md:mb-6 w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24" data-v-b8992778><div class="absolute inset-0 bg-linear-to-br rounded-full blur-xl animate-pulse from-fire-orange/30 to-secondary/30" data-v-b8992778></div><div class="flex relative justify-center items-center w-full h-full bg-linear-to-br rounded-full shadow-2xl transition-transform duration-500 transform from-fire-orange via-secondary to-fire-orange hover:scale-110" data-v-b8992778><span class="text-2xl sm:text-3xl md:text-4xl drop-shadow-lg" data-v-b8992778>ð</span></div></div><h2 class="mb-2 sm:mb-3 text-xl sm:text-2xl md:text-3xl font-black leading-tight tracking-wider text-transparent bg-clip-text bg-linear-to-r from-fire-orange via-secondary to-fire-orange" data-v-b8992778> SHADOW VANISHING RITUAL </h2><p class="text-sm sm:text-base md:text-lg font-medium leading-normal text-stone-grey" data-v-b8992778> Prepare to erase your ninja legacy from all realms </p>',3))]),e("div",{class:"relative z-10 px-4 sm:px-6 md:px-8 pb-3 sm:pb-4"},[t[35]||(t[35]=V('<div class="overflow-hidden relative p-4 sm:p-5 md:p-6 mb-4 sm:mb-5 md:mb-6 bg-linear-to-r rounded-xl sm:rounded-2xl border from-fire-orange/20 to-secondary/20 border-fire-orange/30" data-v-b8992778><div class="absolute inset-0 bg-linear-to-r to-transparent opacity-50 from-fire-orange/5" data-v-b8992778></div><div class="relative z-10 space-y-3 sm:space-y-4 text-center" data-v-b8992778><div class="text-base sm:text-lg font-bold tracking-wide leading-normal text-fire-orange" data-v-b8992778> ð¥ THE VANISHING CANNOT BE UNDONE ð¥ </div><p class="text-sm sm:text-base leading-normal text-stone-grey" data-v-b8992778> To complete the <span class="font-bold text-fire-orange" data-v-b8992778>Shadow Vanishing Ritual</span> and erase all traces of your ninja existence, you must contact our Shadow Council through the mystical support portal. </p><div class="text-xs sm:text-sm italic leading-normal text-stone-grey/80" data-v-b8992778> Click the support orb in the lower right corner to begin the ritual </div></div></div>',1)),e("div",{class:"flex flex-col gap-3 sm:gap-4 sm:flex-row"},[e("button",{class:"overflow-hidden relative flex-1 px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 text-xs sm:text-sm font-bold bg-linear-to-r roun
3ded-lg sm:rounded-xl border-2 backdrop-blur-sm transition-all duration-300 transform group text-stone-grey border-stone-grey/30 from-shadow-dark/60 to-dark/60 hover:border-stone-grey/50 hover:text-stone-grey hover:scale-105",onClick:G},[...t[33]||(t[33]=[V('<div class="absolute inset-0 bg-linear-to-r opacity-0 transition-opacity duration-300 from-stone-grey/10 to-stone-grey/5 group-hover:opacity-100" data-v-b8992778></div><div class="absolute inset-0 rounded-lg sm:rounded-xl opacity-0 blur-xl transition-opacity duration-300 group-hover:opacity-20 bg-stone-grey" data-v-b8992778></div><div class="flex relative gap-1.5 sm:gap-2 justify-center items-center" data-v-b8992778><i class="material-symbols-rounded text-base sm:text-lg" data-v-b8992778>shield</i><span class="tracking-wider leading-normal" data-v-b8992778>REMAIN IN SHADOWS</span></div>',3)])]),e("button",{class:"overflow-hidden relative flex-1 px-4 sm:px-5 md:px-6 py-2.5 sm:py-3 md:py-4 text-xs sm:text-sm font-bold bg-linear-to-r rounded-lg sm:rounded-xl border-2 backdrop-blur-sm transition-all duration-300 transform group text-fire-orange border-fire-orange/50 from-fire-orange/20 to-secondary/20 hover:border-fire-orange/70 hover:from-fire-orange/30 hover:to-secondary/30 hover:scale-105",onClick:G},[...t[34]||(t[34]=[V('<div class="absolute inset-0 bg-linear-to-r opacity-0 transition-opacity duration-300 from-fire-orange/10 to-secondary/10 group-hover:opacity-100" data-v-b8992778></div><div class="absolute inset-0 rounded-lg sm:rounded-xl opacity-0 blur-xl transition-opacity duration-300 group-hover:opacity-30 bg-fire-orange" data-v-b8992778></div><div class="flex relative gap-1.5 sm:gap-2 justify-center items-center" data-v-b8992778><i class="material-symbols-rounded text-base sm:text-lg" data-v-b8992778>support_agent</i><span class="tracking-wider leading-normal" data-v-b8992778>CONTACT SHADOW COUNCIL</span></div>',3)])])])]),t[37]||(t[37]=e("div",{class:"relative z-10 p-4 sm:p-5 md:p-6 pt-2 text-center"},[e("p",{class:"text-[10px] sm:text-xs italic leading-normal text-stone-grey/60"}," While we hate to see a legendary ninja vanish, we respect your choice ")],-1))])])])):_("",!0),D(de,{show:a(j),message:a(O),type:a(p),onClose:t[0]||(t[0]=R=>j.value=!1)},null,8,["show","message","type"])]),a(T)?(r(),J($t,{key:0,"wallet-id":a(E),"wallet-name":a(L),currency:a(s)?.currency||"$",onClose:t[1]||(t[1]=R=>T.value=!1),onApplied:ne},null,8,["wallet-id","wallet-name","currency"])):_("",!0),D(ce)])}}},Ls=K(Ss,[["__scopeId","data-v-b8992778"]]);export{Ls as default};
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.