1import{_ as m}from"./q-BKZ00VYc.js";import{a as f,c as C}from"./q-BFBMjsLg.js";import{ag as T,b as d,aq as x,ar as R,L as u,A as L,e as n,R as r,v as p,x as _}from"./q-B7_OLekH.js";import{f as A}from"./q-BdjGOZ__.js";const g=x(R("s_QZowaDaGH5Q")),w=T(d(()=>m(()=>Promise.resolve().then(()=>S),void 0),"s_mDD0claimqQ")),E=({resolveValue:e})=>{const a=e(g)?.config;return{title:a?.metaTitle||"Raid Shadow Legends Account Calculator | igitems",meta:[{name:"description",content:a?.metaDescription||"Calculate the value of your Raid Shadow Legends account. Get an accurate estimate based on level, champions, power, and gems."},{name:"robots",content:"index, follow"},{name:"author",content:"igitems"}]}},k=Object.freeze(Object.defineProperty({__proto__:null,default:w,head:E,useGameTypeConfig:g},Symbol.toStringTag,{value:"Module"})),M=()=>{const e=g(),l=A(),a=u(!1),s=u(null),i=u(null),o=e.value.gameType,v=e.value.config,c=u({level:1,legendary:0,mythic:0,power:0,maxed:0,gems:0}),h=[{name:"level",label:"Account Level",description:"Account Level",type:"NUMBER",min:1,max:100,icon:"BeDDo9bvbGz99RSaAPedH6pn95WxEuNh.svg"},{name:"legendary",label:"Legendary Champions",description:"Number of Legendary Champions",type:"NUMBER",min:0,max:270,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"mythic",label:"Mythical Champions",description:"Number of Mythical Champions",type:"NUMBER",min:0,max:20,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"power",label:"Account Power (M)",description:"Total Account Power in Millions",type:"NUMBER",min:0,max:50,icon:"RrqNrT48TYSnsTstoQSAnGTGcJrzCdkd.svg"},{name:"maxed",label:"Fully Maxed Champions",description:"Number of Fully Maxed Champions",type:"NUMBER",min:0,max:400,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"gems",label:"Gems",description:"Total Gems",type:"NUMBER",min:0,max:2e4,icon:"zjEcfXXEY6YvtJ3vqNiuQT2gYHYCmpeg.svg"}],y=d(()=>m(()=>Promise.resolve().then(()=>N),void 0),"s_krHpjEycp84",[a,s,i,c,l]),b=d(()=>m(()=>Promise.resolve().then(()=>D),void 0),"s_Cq03eeG21Og",[c]);return L(f,{title:"Raid Shadow Legends Account Calculator",description:"Estimate the value of your Raid Shadow Legends account based on level, champions, power, and gems.",gameName:"Raid Shadow Legends",bgImg:o?.backgroundImg,bgImgMobile:o?.backgroundImgMobile,inputs:h,get state(){return c.value},onStateChange$:b,onCalculate$:y,get price(){return s.value},get priceRange(){return i.value},get loading(){return a.value},gameTypeUrl:"/raid-shadow-legends",productTypeUrl:"ACCOUNT",config:v,gameType:o,showMobileCta:!0,get hubLinkCount(){return e.value.hubLinkCount},[n]:{title:n,description:n,gameName:n,state:r(t=>t.value,[c]),onStateChange$:n,onCalculate$:n,price:r(t=>t.value,[s]),priceRange:r(t=>t.value,[i]),loading:r(t=>t.value,[a]),gameTypeUrl:n,productTypeUrl:n,showMobileCta:n,hubLinkCount:r(t=>t.value.hubLinkCount,[e])}},3,"yi_0")},S=Object.freeze(Object.defineProperty({__proto__:null,s_mDD0claimqQ:M},Symbol.toStringTag,{value:"Module"})),j=async()=>{const[e,l,a,s,i]=p();e.value=!0;try{const o=await C.calculate("rsl",s.value);l.value=o.price,a.value=o.priceRange}catch(o){console.error(o),i.toast({title:"Error calculating price",variant:"destructive"})}finally{e.value=!1}},N=Object.freeze(Object.defineProperty({__proto__:null,_hW:_,s_krHpjEycp84:j},Symbol.toStringTag,{value:"Module"})),O=(e,l)=>{const[a]=p();a.value={...a.value,[e]:l}},D=Object.freeze(Object.defineProperty({__proto__:null,_hW:_,s_Cq03eeG21Og:O},Symbol.toStringTag,{value:"Module"}));export{_ as _hW,k as i,O as s_Cq03eeG21Og,j as s_krHpjEycp84,M as s_mDD0claimqQ};
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.