PageSourceSearch

https://www.igx.gg/_nuxt/B1tbxM2f.js

js igx.gg collected 2026-09-28 12:10:53 UTC 21,962 bytes, 1 lines download raw bytes

1import{_ as Z}from"./BHcD-KBc.js";import{_ as ee}from"./LFygFCeb.js";import{u as le,Q as ae,Y as re,m as se,j as te,p as D,z as ie,a1 as w,o as p,c as g,b as l,g as i,t as d,F as b,r as x,k as $,L as h,N as T,q as y,a0 as m,f as I,d as k,$ as E,a9 as N,v as P,C as q,x as oe,aa as ne}from"./3vrl0Mfu.js";import{u as ue}from"./D4XJU8Sr.js";import{u as de}from"./B7Fuwigs.js";import"./0tvxsqvI.js";import"./DraYwP1e.js";import"./ClM0sUxB.js";import"./TltYmMti.js";import"./DqLZpYrd.js";import"./Cq9Fpw4b.js";import"./C2rt8vPi.js";import"./DaETq0I7.js";import"./BGdLikPu.js";import"./BBtDnPCj.js";/* empty css        *//* empty css        */import"./CSfkyFLV.js";const ce={class:"sell-area sell-body"},ve={class:"step"},pe={class:"img"},ge=["src"],he={class:"name"},fe={class:"form"},me={key:0,class:"sell-block"},ye={class:"box-block"},be={class:"select-link",style:{"margin-bottom":"12px"}},Ee={class:"label"},ke={class:"select-link",style:{"margin-bottom":"12px"}},xe={class:"label"},Ie={class:"sell-block"},Ce={class:"box-block"},_e={class:"textarea-head"},Ve={class:"length"},De={class:"app-textarea"},Te={class:"sell-block"},qe={class:"box-block"},Ue={class:"select-link"},Me={class:"ui-select"},Se={class:"select-link"},we={class:"delivery-option"},$e={class:"sell-block"},Ne={class:"box-block"},Pe={class:"select-link"},Qe={class:"item-area flex flex-col"},Be={class:"item-link default"},Re=["id","value"],Le=["for"],Ae={class:"hepl-abea"}
1,Oe={class:"icomoon-icon icon icon-info"},Fe=["textContent"],Ye={class:"sell-block"},je={class:"box-block"},ze={class:"offer-info"},Ge={class:"select-link"},He={class:"sell-block"},We={class:"box-block"},Je={class:"select-link"},Ke={class:"input-price"},Xe={class:"sell-block"},Ze={class:"box-block fee-area"},el={class:"checkbox-container"},ll={class:"checkbox-container"},al={class:"btn-area"},rl=["aria-disabled"],sl={key:0,class:"btn-loading-spinner","aria-hidden":"true"},_l={__name:"[id]",setup(tl){const Q=le(),{public:{apiBase:il,imgBase:B}}=ae(),R=re(),L=se(),{get:_,post:A}=te(),{pending:V,run:O}=ue();function F(){R.back()}const e=P({name:"",description:"",stock:1,price:"",images:[],discount:[],attributes:{},categories:{},guaranteedDeliveryTime:[],guaranteedDeliveryTimeVal:"",gameId:"",serviceName:"",gameName:"",gameLogo:"",serviceId:"",fixedAmount:"",percent:"",mainImage:"",images:[],deliveryMethod:[],deliveryMethodVal:"",minQty:1,unit:"",agree1:!1,agree2:!1,titleErr:"",descriptionErr:"",guaranteedDeliveryTimeErr:"",stockErr:"",priceErr:"",agree1Err:"",agree2Err:"",amountErr:""}),c=P({}),{showUnsavedChangesModal:Y,confirmLeave:j,cancelLeave:z,markOfferCreated:G}
1=de(e,["description","stock","price","discount","images","mainImage","guaranteedDeliveryTimeVal","agree1","agree2"]);function H(){e.value.description.trim()==""?e.value.descriptionErr="Description is required.":e.value.description.length>500?e.value.descriptionErr="Maximum input length is 500":e.value.descriptionErr=""}D(()=>e.value.guaranteedDeliveryTimeVal,()=>{e.value.guaranteedDeliveryTimeVal==""?e.value.guaranteedDeliveryTimeErr="Delivery Time is required.":e.value.guaranteedDeliveryTimeErr=""});function C(s){s.value!=""&&(s.err="");let a=e.value.categories;if(Object.keys(a).length!=0)for(let o in a)a[o].child.forEach(r=>{a[o].value!=r.id&&(r.value="",r.err=""),r.child.forEach(t=>{r.value!=t.id&&(t.value="",t.err=""),t.child.forEach(n=>{t.value!=n.id&&(n.value="",n.err="")})})})}function U(s,a=1){if(e.value[s],a==1&&(e.value[s]=e.value[s].replace(/[^0-9]/g,"")),a==2){e.value[s]=e.value[s].replace(/[^0-9.]/g,"");const o=e.value[s].indexOf(".");if(o!==-1){const t=e.value[s].substring(o+1).replace(/\./g,""),n=t.length>2?t.substring(0,2):t;e.value[s]=e.value[s].substring(0,o+1)+n}}if(a==3){let o=e.value.discount[s].quantity;e.value.discount[s].quantity=o.replace(/[^0-9]/g,"")}if(a==4){let o=e.value.discount[s].discount;e.value.discount[s].discount=o.replace(/[^0-9]/g,""),e.value.discount[s].discount.length==2&&e.value.discount[s].discount[0]=="0"&&(e.value.discount[s].discount=e.value.discount[s].discount[1]),e.value.discount[s].discount.length>2&&(e.value.discount[s].discount=e.value.discount[s].discount.substring(0,2))}}function M(s,a=1){if(a==1&&(e.value[s]=Number(e.value[s]),e.value.stock==""?e.value.stockErr="Quantity is required.":e.value.stock==0?e.value.stockErr="Quantity must be at least 1.":e.value.stock>1e7?e.value.stockErr="Quantity cannot exceed 10000000.":e.value.stockErr=""),a==2&&(e.value[s]=Number(e.value[s]),e.value[s]=Math.round(e.value[s]*100)/100,e.value.price==""?e.value.priceErr="Unit Price is required.":e.value.price<.05?e.value.priceErr="Unit Price must be at least $0.05.":e.value.price>1e4?e.value.priceErr="Unit Price cannot exceed $10000.":e.value.priceErr=""),a==3){let o=e.value.discount[s];o.quantity!==""&&(e.value.discount[s].quantity=Number(e.value.discount[s].quantity)||0),o.quantity===""?o.quantityErr="Quantity is required.":o.quantity>1e5?o.quantityErr="Quantity cannot exceed 100000.":o.quantity<1?o.quantityErr="Quantity must be at least 1.":o.quantityErr=""}if(a==4){let o=e.value.discount[s];o.discount!==""&&(e.value.discount[s].discount=Number(e.value.discount[s].discount)||0),o.discount===""||o.discount===null||o.discount===void 0?o.discountErr="Percentage is required.":o.discount>99?o.discountErr="Percentage cannot exceed 99.":o.discount<1?o.discountErr="Percentage must be at least 1.":o.discountErr=""}}D(()=>e.value.agree1,s=>{s?e.value.agree1Err="":e.value.agree1Err="You must agree with the Terms of Service."}),D(()=>e.value.agree2,s=>{s?e.value.agree2Err="":e.value.agree2Err="You must agree with the Seller's Rules."});async function W(){let s=!0;e.value.description.trim()==""?e.value.descriptionErr="Description is required.":e.value.description.length>500?e.value.descriptionErr="Maximum input length is 500":e.value.descriptionErr="",e.value.guaranteedDeliveryTimeVal==""?e.value.guaranteedDeliveryTimeErr="Delivery Time is required.":e.value.guaranteedDeliveryTimeErr="",e.value.stock==""?e.value.stockErr="Quantity is required.":e.value.stock==0?e.value.stockErr="Quantity must be at least 1.":e.value.stock>1e7?e.value.stockErr="Quantity cannot exceed 10000000.":e.value.stockErr="",e.value.price==""?e.value.priceErr="Unit Price is required.":e.value.price<.05?e.value.priceErr="Unit Price must be at least $0.05.":e.value.price>1e4?e.value.priceErr="Unit Price cannot exceed $10000.":e.value.priceErr="";let a=e.value.categories;if(Object.keys(a).forEach(r=>{e.value.categories[r].value==""&&(e.value.categories[r].err=e.value.categories[r].name+" is required.",s=!1),e.value.categories[r],e.value.categories[r].child.length!=0&&e.value.categories[r].child[0].id==e.value.categories[r].value&&(e.value.categories[r].child[0].value==""&&(e.value.categories[r].child[0].err=e.value.categories[r].child[0].name+" is required.",s=!1),e.value.categories[r].child[0].child.length!=0&&e.value.categories[r].child[0].child[0].id==e.value.categories[r].child[0].value&&(e.value.categories[r].child[0].child[0].value==""&&(e.value.categories[r].child[0].child[0].err=e.value.categories[r].child[0].child[0].name+" is required.",s=!1),e.value.categories[r].child[0].child[0].child.length!=0&&e.value.categories[r].child[0].child[0].child[0].id==e.value.categories[r].child[0].child[0].value&&e.value.categories[r].child[0].child[0].child[0].value==""&&(e.value.categories[r].child[0].child[0].child[0].err=e.value.categories[r].child[0].child[0].child[0].name+" is required.",s=!1)))}
1),e.value.attributes.forEach(r=>{r.value==""&&r.isRequired&&(r.err=r.name+" is required.",s=!1)}),e.value.price<e.value.price*Number(e.value.percent)/100+Number(e.value.fixedAmount)?e.value.amountErr="The selling price is set too low":e.value.amountErr="",e.value.agree1||(e.value.agree1Err="You must agree with the Terms of Service."),e.value.agree2||(e.value.agree2Err="You must agree with the Seller's Rules."),q(()=>{let r=document.querySelectorAll(".error"),t=null;r.forEach(n=>{n.textContent!==""&&n.style.display=="block"&&t==null&&(t=n,n.scrollIntoView({behavior:"smooth",block:"center"}))}),t=null}),e.value.descriptionErr==""&&e.value.guaranteedDeliveryTimeErr==""&&e.value.stockErr==""&&e.value.priceErr==""&&e.value.agree1Err==""&&e.value.agree2Err==""&&e.value.amountErr==""&&s){if(c.value={},Object.keys(a).length!=0){c.value.categoryIds=[];for(let r in a)a[r].value!=""&&(c.value.categoryIds.push(a[r].value),a[r].child.forEach(t=>{t.value!=""&&(c.value.categoryIds.push(t.value),t.child.forEach(n=>{n.value!=""&&(c.value.categoryIds.push(n.value),n.child.forEach(u=>{u.value!=""&&c.value.categoryIds.push(u.value)}))}))}))}else c.value.categoryIds=[];e.value.attributes.length!=0&&(c.value.attributes={},e.value.attributes.forEach(r=>{c.value.attributes[`${r.attributeId}`]={id:r.attributeId+"-"+r.value}})),c.value.description=e.value.description,e.value.guaranteedDeliveryTimeVal!=""&&(c.value.guaranteedDeliveryTime=e.value.guaranteedDeliveryTimeVal),c.value.stock=e.value.stock,c.value.price=e.value.price,c.value.gameId=e.value.gameId,c.value.serviceName=e.value.serviceName,c.value.currency="USD",c.value.minQty=e.value.minQty,c.value.deliveryMethodId=e.value.deliveryMethodVal,c.value,await O(async()=>{const r=await A(`/offer/me/create/${e.value.serviceName}`,c.value,{credentials:"include"});r.code==200?(G(),q(()=>{oe(Q("/dashboard/offers?category=TopUp"))})):(w({message:r.message,type:"error",offset:200}),r.code==422&&(r.data.field=="title"?e.value.titleErr=`Your title contains the prohibited word ${r.data.keyword}`:r.data.field=="description"&&(e.value.descriptionErr=`Your description contains the prohibited word ${r.data.keyword}`),q(()=>{let t=document.querySelectorAll(".error"),n=null;t.forEach(u=>{u.textContent!==""&&u.style.display=="block"&&n==null&&(n=u,u.scrollIntoView({behavior:"smooth",block:"center"}))}),n=null})))})}else s=!0}ie(()=>{_("/offer/library",{seoTerm:L.params.id,isSeller:1}).then(s=>{if(s.code==200){e.value.gameId=s.data.gameId,e.value.serviceId=s.data.serviceId,e.value.serviceName=s.data.createServiceName,e.value.gameName=s.data.gameName,e.value.gameLogo=s.data.gameLogo,K(),X(),J(
1);let a=s.data.categories||[],o={};a.forEach(r=>{o[r.name]?(o[r.name].arr.push(r),r.childCategories.length!=0&&(o[r.name].child.push({id:r.categoryId,name:r.childCategories[0].name,arr:r.childCategories,child:[],value:"",err:""}),o[r.name].child[0].arr.forEach(t=>{t.childCategories.length!=0&&(o[r.name].child[0].child.push({id:t.categoryId,name:t.childCategories[0].name,arr:t.childCategories,child:[],value:"",err:""}),o[r.name].child[0].child[0].arr.forEach(n=>{n.childCategories.length!=0&&o[r.name].child[0].child[0].child.push({id:n.categoryId,name:n.childCategories[0].name,arr:n.childCategories,child:[],value:"",err:""})}))}))):(o[r.name]={id:r.categoryId,name:r.name,arr:[],child:[],value:"",err:""},o[r.name].arr.push(r),r.childCategories.length!=0&&(o[r.name].child.push({id:r.categoryId,name:r.childCategories[0].name,arr:r.childCategories,child:[],value:"",err:""}),o[r.name].child[0].arr.forEach(t=>{t.childCategories.length!=0&&(o[r.name].child[0].child.push({id:t.categoryId,name:t.childCategories[0].name,arr:t.childCategories,child:[],value:"",err:""}),o[r.name].child[0].child[0].arr.forEach(n=>{n.childCategories.length!=0&&o[r.name].child[0].child[0].child.push({id:n.categoryId,name:n.childCategories[0].name,arr:n.childCategories,child:[],value:"",err:""})}))})))}),e.value.categories=o,e.value.attributes=s.data.attributes||[],e.value.attributes.forEach(r=>{r.value="",r.err=""}),e.value.categories,e.value.attributes}else w({message:s.message,type:"error",offset:200})})});function J(){_("/offer/miscConfig",{serviceId:e.value.serviceId,gameId:e.value.gameId}).then(s=>{s.code==200&&(s.data.groups.forEach(a=>{a.typeCode=="guarantee_delivery_time"&&a.items.forEach(o=>{e.value.guaranteedDeliveryTime=o.options}),a.typeCode=="coin_unit"&&a.items.length!=0&&(e.value.unit=a.items[0].valueStr)}),e.value.unit)})}function K(){_("/offer/deliveryMethods",{gameId:e.value.gameId,serviceId:e.value.serviceId}).then(s=>{s.code==200&&(e.value.deliveryMethod=s.data.items||[],e.value.deliveryMethod.length==1&&(e.value.deliveryMethodVal=e.value.deliveryMethod[0].deliveryMethodId))})}function X(){_(`/fees/me/feesForGame/${e.value.gameId}?service=Top Up`,{},{credentials:"include"}).then(s=>{s.code==200&&(e.value.fixedAmount=s.data.feeItems.fixedAmount,e.value.percent=s.data.feeItems.percent)})}return(s,a)=>{const o=Z,r=ee;return p(),g("div",ce,[a[34]||(a[34]=l("h1",{class:"title-3"},"Sell Game Top Ups",-1)),l("div",ve,[l("div",pe,[l("img",{src:i(B)+i(e).gameLogo,alt:""},null,8,ge)]),l("span",he,d(i(e).gameName),1)]),l("form",fe,[Object.keys(i(e).categories).length!=0||i(e).attributes.length!=0?(p(),g("div",me,[a[11]||(a[11]=l("h2",{class:"title"},"Offer Details",-1)),l("div",ye,[(p(!0),g(b,null,x(i(e).attributes,(t,n)=>(p(),g("div",be,[l("span",Ee,d(t.attributeName||t.name)+":",1),k(o,{onChange:u=>C(t),placeholder:`Select ${t.attributeName||t.name}`,modelValue:t.value,"onUpdate:modelValue":u=>t.value=u,options:t.attributeValues,label:"name",value:"attributeValueId",filterable:!0,class:y(t.err?"primary-select select-err":"primary-select")},null,8,["onChange","placeholder","modelValue","onUpdate:modelValue","options","class"]),l("div",{style:m(t.err?"display:block;":"display:none;"),class:"error"},d(t.err),5)]))),256)),(p(!0),g(b,null,x(i(e).categories,(t,n)=>(p(),g("div",ke,[l("span",xe,d(n)+":",1),k(o,{onChange:u=>C(i(e).categories[n]),placeholder:"Select "+n,modelValue:i(e).categories[n].value,"onUpdate:modelValue":u=>i(e).categories[n].value=u,options:i(e).categories[n].arr,label:"value",value:"categoryId",filterable:!0,class:y(i(e).categories[n].err?"primary-select select-err":"primary-select")},null,8,["onChange","placeholder","modelValue","onUpdate:modelValue","options","class"]),l("div",{style:m(i(e).categories[n].err?"display:block;":"display:none;"),class:"error"},d(i(e).categories[n].err),5),(p(!0),g(b,null,x(i(e).categories[n].child,u=>(p(),g(b,null,[h(l("span",{class:"label",style:{"margin-top":"12px"}},d(u.name)+":",513),[[E,i(e).categories[n].value==u.id]]),h(k(o,{onChange:v=>C(u),placeholder:"Select "+u.name,modelValue:u.value,"onUpdate:modelValue":v=>u.value=v,options:u.arr,label:"value",value:"categoryId",filterable:!0,class:y(u.err?"primary-select select-err":"primary-select")},null,8,["onChange","placeholder","modelValue","onUpdate:modelValue","options","class"]),[[E,i(e).categories[n].value==u.id]]),l("div",{style:m(u.err?"display:block;":"display:none;"),class:"error"},d(u.err),5),(p(!0),g(b,null,x(u.child,v=>(p(),g(b,null,[h(l("span",{class:"label",style:{"margin-top":"12px"}},d(v.name)+":",513),[[E,u.value==v.id]]),h(k(o,{onChange:f=>C(v),placeholder:"Select "+v.name,modelValue:v.value,"onUpdate:modelValue":f=>v.value=f,options:v.arr,label:"value",value:"categoryId",filterable:!0,class:y(v.err?"primary-select select-err":"primary-select")},null,8,["onChange","placeholder","modelValue","onUpdate:modelValue","options","class"]),[[E,u.value==v.id]]),l("div",{style:m(v.err?"display:block;":"display:none;"),class:"error"},d(v.err),5),(p(!0),g(b,null,x(v.child,f=>(p(),g(b,null,[h(l("span",{class:"label",style:{"margin-top":"12px"}},d(f.name)+":",513),[[E,v.value==f.id]]),h(k(o,{onChange:S=>C(f),placeholder:"Select "+f.name,modelValue:f.value,"onUpdate:modelValue":S=>f.value=S,options:f.arr,label:"value",value:"categoryId",filterable:!0,class:y(f.err?"primary-select select-err":"primary-select")},null,8,["onChange","placeholder","modelValue","onUpdate:modelValue","options","class"]),[[E,v.value==f.id]]),l("div",{style:m(f.err?"display:block;":"display:none;"),class:"error"},d(f.err),5)],64))),256))],64))),256))],64))),256))]))),256))])])):$("",!0),l("div",Ie,[a[13]||(a[13]=l("h2",{class:"title"}
1,"Delivery instructions",-1)),l("div",Ce,[l("div",_e,[l("span",Ve,d(i(e).description.length)+"/500",1)]),l("div",De,[h(l("textarea",{onBlur:H,class:y(i(e).descriptionErr?"textarea border-err":"textarea"),"onUpdate:modelValue":a[0]||(a[0]=t=>i(e).description=t),placeholder:"Type here...",maxlength:"500"},null,34),[[T,i(e).description]])]),l("div",{style:m(i(e).descriptionErr?"display:block;":"display:none;"),class:"error"},d(i(e).descriptionErr),5),a[12]||(a[12]=l("div",{class:"tip"},[I(" The listing title and description must be accurate and as informative as possible (no random or lottery). Misleading description is a violation of our "),l("a",{href:"https://support.igx.gg/en/articles/14033080-seller-rules-on-igx",target:"_blank"},"Seller Rules"),I(". ")],-1))])]),l("div",Te,[a[17]||(a[17]=l("h2",{class:"title"},"Delivery",-1)),l("div",qe,[l("div",Ue,[a[14]||(a[14]=l("span",{class:"label"},"Guaranteed Delivery Time:",-1)),l("div",Me,[k(o,{placeholder:"Choose",modelValue:i(e).guaranteedDeliveryTimeVal,"onUpdate:modelValue":a[1]||(a[1]=t=>i(e).guaranteedDeliveryTimeVal=t),options:i(e).guaranteedDeliveryTime,label:"label",value:"code",filterable:!0,class:y(i(e).imagesErr?"primary-select select-err":"primary-select")},null,8,["modelValue","options","class"]),l("div",{style:m(i(e).guaranteedDeliveryTimeErr?"display:block;":"display:none;"),class:"error"},d(i(e).guaranteedDeliveryTimeErr),5)])]),h(l("div",Se,[a[15]||(a[15]=l("span",{class:"label"},"Delivery method:",-1)),l("div",we,[l("span",null,d(i(e).deliveryMethod[0]?.name),1)])],512),[[E,i(e).deliveryMethod.length==1]]),a[16]||(a[16]=l("div",{class:"tip"}," Faster delivery time improves your offer's ranking in the offer list. ",-1))])]),h(l("div",$e,[a[20]||(a[20]=l("h2",{class:"title"},[l("span",null,"Delivery method"),l("div",{class:"hepl-abea"}
1,[l("span",{class:"icomoon-icon icon icon-info"}),l("div",{class:"hepl-win"},[l("strong",null,"Delivery methods"),l("p",null,"We're introducing a new beta feature that requires sellers to select a standard delivery type (e.g., Instant, Under 1 Hour, etc.) for each newly created or edited offer. This helps buyers better understand delivery expectations and improves overall trust and visibility on the marketplace.")])])],-1)),l("div",Ne,[l("div",Pe,[a[19]||(a[19]=l("span",{class:"label"},"Choose delivery method:",-1)),l("div",Qe,[(p(!0),g(b,null,x(i(e).deliveryMethod,t=>(p(),g("div",Be,[h(l("input",{id:`in${t.deliveryMethodId}`,type:"radio","onUpdate:modelValue":a[2]||(a[2]=n=>i(e).deliveryMethodVal=n),value:t.deliveryMethodId},null,8,Re),[[ne,i(e).deliveryMethodVal]]),l("label",{class:"link flex",for:`in${t.deliveryMethodId}`},[a[18]||(a[18]=l("svg",{height:"20",viewBox:"0 0 20 20",width:"20"},[l("circle",{cx:"10",cy:"10",fill:"none",r:"9","stroke-width":"2",class:"outer-circle"}),l("circle",{cx:"10",cy:"10",r:"5",class:"inner-circle"})],-1)),I(" "+d(t.name)+" ",1),l("div",Ae,[h(l("span",Oe,null,512),[[E,t.description!=""]]),l("div",{class:"hepl-win",textContent:d(t.description)},null,8,Fe)])],8,Le)]))),256))])])])],512),[[E,i(e).deliveryMethod.length>1]]),l("div",Ye,[a[23]||(a[23]=l("h2",{class:"title"},"Quantity",-1)),l("div",je,[l("div",ze,[l("div",Ge,[a[22]||(a[22]=l("span",{class:"label"},"Total Quantity available:",-1)),l("div",{class:y(i(e).stockErr?"input-box border-err":"input-box")},[h(l("input",{class:"input",onBlur:a[3]||(a[3]=t=>M("stock")),onInput:a[4]||(a[4]=t=>U("stock")),"onUpdate:modelValue":a[5]||(a[5]=t=>i(e).stock=t),size:"2",maxlength:"",inputmode:"decimal"},null,544),[[T,i(e).stock]]),a[21]||(a[21]=l("span",{class:"unit"},"unit",-1))],2),l("div",{style:m(i(e).stockErr?"display:block;":"display:none;"),class:"error"},d(i(e).stockErr),5)])])])]),l("div",He,[a[27]||(a[27]=l("h2",{class:"title"},"Price",-1)),l("div",We,[l("div",Je,[a[25]||(a[25]=l("span",{class:"label"},"Price per Item:",-1)),l("div",Ke,[h(l("input",{onBlur:a[6]||(a[6]=t=>M("price",2)),onInput:a[7]||(a[7]=t=>U("price",2)),class:y(i(e).priceErr?"input border-err":"input"),"onUpdate:modelValue":a[8]||(a[8]=t=>i(e).price=t),placeholder:"Price",inputmode:"decimal"},null,34),[[T,i(e).price]]),a[24]||(a[24]=l("span",{class:"unit"}
1,"$ USD",-1))]),l("div",{style:m(i(e).priceErr?"display:block;":"display:none;"),class:"error"},d(i(e).priceErr),5)]),a[26]||(a[26]=l("div",{class:"tip"}," Competitive prices improve your offer's ranking in the offer list. ",-1))])]),l("div",Xe,[a[31]||(a[31]=l("h2",{class:"title"},"Fee structure",-1)),l("div",Ze,[l("p",null,[a[28]||(a[28]=l("span",{class:"name"},"Flat fee (per purchase):",-1)),l("strong",null,"$"+d(i(e).fixedAmount)+" USD",1)]),a[30]||(a[30]=l("br",null,null,-1)),l("p",null,[a[29]||(a[29]=l("span",{class:"name"},"Percentage fee (per purchase):",-1)),l("strong",null,d(i(e).percent)+" % of Price",1)])])]),l("div",el,[h(l("input",{id:"company1","onUpdate:modelValue":a[9]||(a[9]=t=>i(e).agree1=t),type:"checkbox",value:"1"},null,512),[[N,i(e).agree1]]),a[32]||(a[32]=l("label",{class:"link",for:"company1"},[I("I have read and agree to the "),l("a",{href:"/"},"Terms of Service")],-1))]),l("div",ll,[h(l("input",{id:"company2","onUpdate:modelValue":a[10]||(a[10]=t=>i(e).agree2=t),type:"checkbox",value:"2"},null,512),[[N,i(e).agree2]]),a[33]||(a[33]=l("label",{class:"link",for:"company2"},[I(" I have read and agree to the "),l("a",{href:"https://support.igx.gg/en/articles/14033080-seller-rules-on-igx",target:"_blank"},"Seller Rules")],-1))])]),l("div",{style:m(i(e).amountErr?"display:block;":"display:none;"),class:"error"},d(i(e).amountErr),5),l("div",{style:m(i(e).agree1Err?"display:block;":"display:none;"),class:"error"},d(i(e).agree1Err),5),l("div",{style:m(i(e).agree2Err?"display:block;":"display:none;"),class:"error"},d(i(e).agree2Err),5),l("div",al,[l("a",{class:"btn-dark btn-back",onClick:F},"Back"),l("a",{class:y(["btn btn-next",{"is-loading":i(V)}]),"aria-disabled":i(V),onClick:W},[i(V)?(p(),g("span",sl)):$("",!0),I(" "+d(i(V)?"Submitting...":"Place offer"),1)],10,rl)]),k(r,{visible:i(Y),onConfirm:i(j),onCancel:i(z)},null,8,["visible","onConfirm","onCancel"])])}}};export{_l 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.