PageSourceSearch

https://igitems.es/build/es/q-DWfrOqG7.js

js igitems.es collected 2026-10-01 05:35:18 UTC 3,680 bytes, 1 lines download raw bytes

1import{_ as m}from"./q-BKZ00VYc.js";import{a as C,c as y}from"./q-BFBMjsLg.js";import{ag as T,b as p,aq as S,ar as E,L as u,A as R,e as o,R as i,v as _,x as d}from"./q-B7_OLekH.js";import{f as x,d as A}from"./q-BdjGOZ__.js";const g=S(E("s_lBP60dxQjFk")),L=T(p(()=>m(()=>Promise.resolve().then(()=>P),void 0),"s_Hxf1YMNTo90")),N=({resolveValue:e})=>{const t=e(g)?.config;return{title:t?.metaTitle||"Genshin Impact Account Calculator | igitems",meta:[{name:"description",content:t?.metaDescription||"Calculate the value of your Genshin Impact account. Get an accurate estimate based on Adventure Rank, characters, and Primogems."},{name:"robots",content:"index, follow"},{name:"author",content:"igitems"}]}},B=Object.freeze(Object.defineProperty({__proto__:null,default:L,head:N,useGameTypeConfig:g},Symbol.toStringTag,{value:"Module"})),M=()=>{const e=g(),r=x(),t=u(!1),s=u(null),c=u(null),a=e.value.gameType,v=e.value.config,l=u({rank:1,character:0,fourstar:0,fivestar:0,crystals:0,storyCompletion:"No"}),f=[{name:"rank",label:"Adventure Rank",description:"Adventure Rank Level",type:"NUMBER_SELECT",min:1,max:60,icon:"BeDDo9bvbGz99RSaAPedH6pn95WxEuNh.svg"},{name:"character",label:"Characters",description:"Total Number of Characters",type:"NUMBER_SELECT",min:0,max:110,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"fourstar",label:"4-Star Characters",description:"Number of 4-Star Characters",type:"NUMBER_SELECT",min:0,max:50,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"fivestar",label:"5-Star Characters",description:"Number of 5-Star Characters",type:"NUMBER_SELECT",min:0,max:40,icon:"vAf5ynjTb9CWfFQnaCR4xLmBzfjGhaA6.svg"},{name:"crystals",label:"Primogems",description:"Number of Primogems",type:"NUMBER",min:0,max:1e5,icon:"zjEcfXXEY6YvtJ3vqNiuQT2gYHYCmpeg.svg"},{name:"storyCompletion",label:"Story Completion",description:"Story Completed?",type:"SELECT",options:["Yes","No"],icon:"RrqNrT48TYSnsTstoQSAnGTGcJrzCdkd.svg"}],h=p(()=>m(()=>Promise.resolve().then(()=>k),void 0),"s_AV8fQ2tqSeQ",[t,s,c,l,r]),b=p(()=>m(()=>Promise.resolve().then(()=>O),void 0),"s_1ym9SR1Kp08",[l]);return R(C,{title:"Genshin Impact Account Calculator",description:"Estimate the value of your Genshin Impact account based on Adventure Rank, characters, and Primogems.",gameName:"Genshin Impact",bgImg:a?.backgroundImg,bgImgMobile:a?.backgroundImgMobile,inputs:f,get state(){return l.value},onStateChange$:b,onCalculate$:h,get price(){return s.value},get priceRange(){return c.value},get loading(){return t.value},gameTypeUrl:"/genshin-impact",productTypeUrl:"ACCOUNT",config:v,gameType:a,showMobileCta:!0,get hubLinkCount(){return e.value.hubLinkCount},[o]:{title:o,description:o,gameName:o,state:i(n=>n.value,[l]),onStateChange$:o,onCalculate$:o,price:i(n=>n.value,[s]),priceRange:i(n=>n.value,[c]),loading:i(n=>n.value,[t]),gameTypeUrl:o,productTypeUrl:o,showMobileCta:o,hubLinkCount:i(n=>n.value.hubLinkCount,[e])}},3,"2O_0")},P=Object.freeze(Object.defineProperty({__proto__:null,s_Hxf1YMNTo90:M},Symbol.toStringTag,{value:"Module"})),j=async()=>{const[e,r,t,s,c]=_();e.value=!0;try{const a=await y.calculate("genshin-impact",s.value);r.value=a.price,t.value=a.priceRange}catch(a){console.error(a),c.toast({title:"Error",description:A(a,"Failed to calculate price"),variant:"destructive"})}finally{e.value=!1}},k=Object.freeze(Object.defineProperty({__proto__:null,_hW:d,s_AV8fQ2tqSeQ:j},Symbol.toStringTag,{value:"Module"})),G=(e,r)=>{const[t]=_();t.value={...t.value,[e]:r}},O=Object.freeze(Object.defineProperty({__proto__:null,_hW:d,s_1ym9SR1Kp08:G},Symbol.toStringTag,{value:"Module"}));export{d as _hW,B as i,G as s_1ym9SR1Kp08,j as s_AV8fQ2tqSeQ,M as s_Hxf1YMNTo90};

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.