1import{v as p,ag as y,b as g,aq as C,ar as L,L as u,A as T,e as o,R as l,x as m}from"./q-B7_OLekH.js";import{c as x,a as E}from"./q-BFBMjsLg.js";import{d as R,f as A}from"./q-BdjGOZ__.js";import{_ as v}from"./q-BKZ00VYc.js";const S=(e,r)=>{const[t]=p();t.value={...t.value,[e]:r}},W=Object.freeze(Object.defineProperty({__proto__:null,_hW:m,s_yioQKZhJcBQ:S},Symbol.toStringTag,{value:"Module"})),w=async()=>{const[e,r,t,i,s]=p();e.value=!0;try{const a=await x.calculate("wuthering-waves",i.value);r.value=a.price,t.value=a.priceRange}catch(a){console.error(a),s.toast({title:R(a,"Error calculating price"),variant:"destructive"})}finally{e.value=!1}},M=Object.freeze(Object.defineProperty({__proto__:null,_hW:m,s_sMchhFJLxms:w},Symbol.toStringTag,{value:"Module"})),_=C(L("s_rI6KpY5IFLc")),O=y(g(()=>v(()=>Promise.resolve().then(()=>j),void 0),"s_50UKeucsZvQ")),P=({resolveValue:e})=>{const t=e(_)?.config;return{title:t?.metaTitle||"Wuthering Waves Account Calculator | igitems",meta:[{name:"description",content:t?.metaDescription||"Calculate the value of your Wuthering Waves account. Get an accurate estimate based on level, region, and Lunite."},{name:"robots",content:"index, follow"},{name:"author",content:"igitems"}]}},D=Object.freeze(Object.defineProperty({__proto__:null,default:O,head:P,useGameTypeConfig:_},Symbol.toStringTag,{value:"Module"})),Q=()=>{const e=_(),r=A(),t=u(!1),i=u(null),s=u(null),a=e.value.gameType,d=e.value.config,c=u({region:"Europe",level:1,lunite:0}),h=[{name:"region",label:"Region",description:"Server Region",type:"SELECT",options:["Europe","America","Asia"],icon:"BeDDo9bvbGz99RSaAPedH6pn95WxEuNh.svg"},{name:"level",label:"Level",description:"Account Level",type:"NUMBER",min:1,max:85,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"lunite",label:"Lunite",description:"Total Lunite",type:"NUMBER",min:0,max:2e4,icon:"zjEcfXXEY6YvtJ3vqNiuQT2gYHYCmpeg.svg"}],b=g(()=>v(()=>Promise.resolve().then(()=>M),void 0),"s_sMchhFJLxms",[t,i,s,c,r]),f=g(()=>v(()=>Promise.resolve().then(()=>W),void 0),"s_yioQKZhJcBQ",[c]);return T(E,{title:"Wuthering Waves Account Calculator",description:"Estimate the value of your Wuthering Waves account based on level, region, and Lunite.",gameName:"Wuthering Waves",bgImg:a?.backgroundImg,bgImgMobile:a?.backgroundImgMobile,inputs:h,get state(){return c.value},onStateChange$:f,onCalculate$:b,get price(){return i.value},get priceRange(){return s.value},get loading(){return t.value},gameTypeUrl:"/wuthering-waves",productTypeUrl:"ACCOUNT",config:d,gameType:a,showMobileCta:!0,get hubLinkCount(){return e.value.hubLinkCount},[o]:{title:o,description:o,gameName:o,state:l(n=>n.value,[c]),onStateChange$:o,onCalculate$:o,price:l(n=>n.value,[i]),priceRange:l(n=>n.value,[s]),loading:l(n=>n.value,[t]),gameTypeUrl:o,productTypeUrl:o,showMobileCta:o,hubLinkCount:l(n=>n.value.hubLinkCount,[e])}},3,"ih_0")},j=Object.freeze(Object.defineProperty({__proto__:null,s_50UKeucsZvQ:Q},Symbol.toStringTag,{value:"Module"}));export{m as _hW,D as i,Q as s_50UKeucsZvQ,w as s_sMchhFJLxms,S as s_yioQKZhJcBQ};
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.