1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DLEk_ywu.js","./e70eX59T.js","./C-X-zbxt.js","./BW8XdN5T.js","./DVw6L2IV.js","./entry.qMaPnK2u.css","./Dtecwpyw.js","./CPCfUMhX.js","./IUTbEgma.js","./index.BJDjTz-Q.css","./order.SGDB8GG3.css","./BaEdSPx5.js","./index.azlZmD2w.css","./Result.1QFFYf0n.css"])))=>i.map(i=>d[i]); 2var T=(u,h,i)=>new Promise((m,S)=>{var c=f=>{try{w(i.next(f))}catch(s){S(s)}},v=f=>{try{w(i.throw(f))}catch(s){S(s)}},w=f=>f.done?m(f.value):Promise.resolve(f.value).then(c,v);w((i=i.apply(u,h)).next())});import{f as M,U as Se,T as Ie,k as De,D as Ae,B as Re,H as Pe,a as B,c as W,b as V,aA as Ne,h as q,_ as Oe}from"./e70eX59T.js";import{C as U,m as I,f as Fe,n as Me,J as F,u as p,a9 as Ue,a6 as K,K as g,q as je,Y as C,R as r,S as d,N as G,L as Q,U as N,O as D,F as Le,Z as Be}from"./C-X-zbxt.js";import{o as J}from"./DLEk_ywu.js";import"./BW8XdN5T.js";import"./DVw6L2IV.js";import"./Dtecwpyw.js";import"./CPCfUMhX.js";import"./IUTbEgma.js";import"./BaEdSPx5.js";(function(){try{var u=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};u.SENTRY_RELEASE={id:"f9b0ef460ef6f95b1d7f321428c950242b680c25"};var h=new u.Error().stack;h&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[h]="6c6c8034-67e2-44d9-9ff6-f35c67733293",u._sentryDebugIdIdentifier="sentry-dbid-6c6c8034-67e2-44d9-9ff6-f35c67733293")}catch(i){}})();const Ve=K(()=>W(()=>import("./DLEk_ywu.js").then(u=>u.R),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(u=>u.default||u)),qe=K(()=>W(()=>Promise.resolve().then(()=>jt),void 0,import.meta.url).then(u=>u.default||u)),z="//wcs.naver.net/wcslog.js",Xt=U({__name:"[id]",setup(u){const{t:h}=M(),i=Ue(),{pushNtmDataEvent:m}=Se(),{trackConvboxEvent:S}=Ie(),{$track:c}=De(),{isUiux2026:v}=Ae();I(!0);const w=I(""),f=I(null),s=I(null),x=I(!1),y=I(null);I(null);const A=e=>{e&&B({title:e.site_title,meta:[{name:"description",content:e.site_description},{name:"keywords",content:e.site_keywords}]})},X=e=>{var t,o,n,a,l,_,b,E,k,R,P,j,$;return` 3 var actual_total = ${(t=e.actual_total)!=null?t:0}; 4 var order_currency = "${(o=e.order_currency)!=null?o:"USD"}"; 5 var order_email = "${(n=e.order_email)!=null?n:""}"; 6 var order_phone = "${(a=e.order_phone)!=null?a:""}"; 7 var order_first_name = "${(l=e.order_first_name)!=null?l:""}"; 8 var order_last_name = "${(_=e.order_last_name)!=null?_:""}"; 9 var order_street = "${(b=e.order_street)!=null?b:""}"; 10 var order_city = "${(E=e.order_city)!=null?E:""}"; 11 var order_province = "${(k=e.order_province)!=null?k:""}"; 12 var order_postal_code = "${(R=e.order_postal_code)!=null?R:""}"; 13 var order_country = "${(P=e.order_country)!=null?P:""}"; 14 var order_sn = "${(j=e.order_sn)!=null?j:""}"; 15 var google_plan_email = "${($=e.google_plan_email)!=null?$:""}"; 16 `},Z=e=>{if(!e)return;const t=X(e);B({script:[{type:"text/javascript",innerHTML:t}]})};T(this,null,function*(){try{w.value="";const e=i.params.id;if(!e)throw new Error(h("payment.orderSnRequired"));const t=yield J.checkOrderPaymentStatus({order_sn:e});if(t.code!==200||!t.data){Re("/");return}const o=t.data;if(s.value=o,f.value=o.order_payment_status,A(o.seo_info),Z(o.extra_js_variables),window.opener&&!window.opener.closed){const n=o.order_payment_status==="PAID"?`/pay/successed/sn/${e}`:`/pay/fail/sn/${e}`;window.opener.postMessage({type:"PAYCO_PAYMENT_RESULT",path:n},window.location.origin),window.close()}}catch(e){w.value=e.message||h("payment.networkError")}});const Y=e=>T(this,null,function*(){var t;y.value=null;try{const o={coo_id:e.coo_id,order_id:e.order_id,order_sn:e.order_sn},n=yield J.getCooperation(o);n.code===200&&((t=n.data)!=null&&t.cooperation_code)?(y.value=n.data.cooperation_code,x.value=!0):$message.error(n.data.msg)}catch(o){}});Fe(s,e=>{e&&je(()=>{ee()})},{immediate:!0});const ee=()=>{typeof window=="undefined"||!s.value||s.value.ad_items&&(s.value.ad_items.forEach(e=>{if(e.is_active)switch(e.channel){case"facebook":re(e);break;case"ga4_datalayer":se(e);break;case"ga4":ae(e);break;case"google_aw":H(e);break;case"google_aw2":H(e);break;case"webgains":ce(e);break;case"google_comment_plan":ie(e);break;case"YEAHTARGETER":le(e);break;case"reddit":ue(e);break;case"bing":pe(e);break;case"firework":Te(e);break;case"webgains_container":de(e);break;case"cfTracking":$e(e);break;case"convbox":te(e);break;
16case"yahoo":fe(e);break;case"twitter":me(e);break;case"a8sales":we(e);break;case"realclick":he(e);break;case"naver":ge(e);break}}),_e())},te=e=>{var o;if(typeof window=="undefined")return;const t=e.struct_items;t!=null&&t.orderId&&S("Purchase",{structItems:t,currency:(o=s.value)==null?void 0:o.order_currency})},oe=()=>{const e=window.fbq;return typeof e=="function"?e:null},ne=e=>T(this,null,function*(){var l,_,b;if(typeof window=="undefined")return;const t=e.struct_item,o={currency:((l=s.value)==null?void 0:l.order_currency)||"USD",value:parseFloat(((_=s.value)==null?void 0:_.order_amount)||"0"),content_ids:t.content_ids?t.content_ids:[],content_type:t.content_type||"product_group",contents:t.contents||[]},n={eventID:(b=s.value)==null?void 0:b.order_sn},a=yield Ne(oe,{timeoutMs:3e3,intervalMs:100});if(a){a("track","Purchase",o,n);return}}),re=e=>{ne(e)},se=e=>{if(typeof window!="undefined"){const t=window.dataLayer||[];e.struct_item.forEach(n=>{switch(n.datalayer_name){case"xp_purchase_data":t.push({[n.datalayer_name]:n.datalayer_value});break;case"user_data":window.gtag("set",n.datalayer_name,n.datalayer_value);break}})}},ae=e=>{if(typeof window!="undefined"&&window.gtag){const t=e.struct_items.purchase_data;window.gtag("event","purchase",t)}},H=e=>{var t,o;if(typeof window!="undefined"&&window.gtag){const n=e.struct_items;window.gtag("event","conversion",{send_to:e.channel_id,value:parseFloat(((t=s.value)==null?void 0:t.order_amount)||"0"),currency:((o=s.value)==null?void 0:o.order_currency)||"USD",transaction_id:n.transaction_id})}},ce=e=>{var l,_,b,E;if(typeof window=="undefined")return;const o=(l=V().siteInfo)==null?void 0:l.webgains_program_id;window.ITCVRQ||(function(k,R,P,j,$,O,L,Bt){k.ITCVROBJ=$,k[$]=k[$]||function(){(k[$].q=k[$].q||[]).push(arguments)},k[$].l=1*new Date,O=R.createElement(P),L=R.getElementsByTagName(P)[0],O.async=1,O.src=`https://analytics.webgains.io/${o}/main.min.js`,L.parentNode.insertBefore(O,L)}(window,document,"script",0,"ITCVRQ"),window.ITCVRQ("set","internal.api",!0),window.ITCVRQ("set","internal.cookie",!0),window.ITCVRQ("click"));const n=window.ITCVRQ,a=e.struct_items;n("set","trk.programId",e.channel_id),n("set","cvr",{value:parseFloat(((_=s.value)==null?void 0:_.order_amount)||"0"),currency:((b=s.value)==null?void 0:b.order_currency)||"USD",language:a.language,eventId:a.eventId,orderReference:(E=s.value)==null?void 0:E.order_sn,items:a.items,voucherId:a.voucherId}),n("conversion")},de=e=>{var o,n;if(typeof window=="undefined")return;const t=e.struct_items;m({pageType:"order",transactionId:(o=s.value)==null?void 0:o.order_sn,orderValue:(n=s.value)==null?void 0:n.order_amount,products:t})},ie=e=>{if(!e.is_active||typeof window=="undefined")return;const t=e.struct_items;B({script:[{src:"https://apis.google.com/js/platform.js?onload=renderOptIn",async:!0,defer:!0}]}),window.renderOptIn=function(){window.gapi&&window.gapi.load("surveyoptin",function(){var o;window.gapi.surveyoptin.render({merchant_id:e.channel_id,order_id:(o=s.value)==null?void 0:o.order_sn,email:t.acceptMail,delivery_country:t.country_code,estimated_delivery_date:new Date(Date.now()+15*24*60*60*1e3).toISOString().split("T")[0]})})},window.___gcfg={lang:t.google_plan_lang_mark}},le=e=>{if(typeof window!="undefined"&&window.mkq){const t=e.struct_item;window.mkq("track","Purchase",{order_id:t.order_id,value:t.value,currency:t.currency,content_type:t.content_type,content_ids:[t.content_ids],content_name:t.content_name,num_items:t.num_items})}},ue=e=>{var t,o,n,a;if(typeof window!="undefined"&&window.rdt){const l=e.struct_items,_={itemCount:((t=s.value)==null?void 0:t.order_goods_items_count)||0,value:parseFloat(((o=s.value)==null?void 0:o.order_amount)||"0"),currency:((n=s.value)==null?void 0:n.order_currency)||"USD",conversionId:((a=s.value)==null?void 0:a.order_sn)||"",products:l.products_reddit||""};window.rdt("track","Purchase",_)}},_e=()=>{var e;if(typeof window!="undefined"&&window.uetq){const t=parseFloat(((e=s.value)==null?void 0:e.order_amount)||"0");window.uetq=window.uetq||[],window.uetq.push({gv:t})}},pe=e=>{if(typeof window!="undefined"&&window.uetq){const t=e.struct_items;window.uetq.push("event","purchase",{revenue_value:t.revenue_value,currency:t.currency})}},fe=e=>{if(typeof window=="undefined")return;const t=window.ytag;if(typeof t!="function")return;const o=e.struct_items;t({type:o.type||"yss_conversion",config:{yahoo_conversion_id:o.yahoo_conversion_id||e.channel_id,yahoo_conversion_label:o.yahoo_conversion_label,yahoo_conversion_value:o.yahoo_conversion_value}})},me=e=>{if(typeof window=="undefined")return;const t=window.twq;if(typeof t!="function")return;const o=e.struct_items;t("event",e.channel_id,{value:o.value,currency:o.currency,conversion_id:o.conversion_id})},we=e=>{if(typeof window=="undefined")return;const t=window.a8sales;if(typeof t!="function")return;const o=e.struct_items;t({pid:o.pid||e.channel_id,order_number:o.order_number,currency:o.currency,items:o.items||[],total_price:o.total_price})},ye=()=>new Promise((e,t)=>
16{if(window.wcs)return e();const o=document.querySelector(`script[src="${z}"]`);if(o){o.addEventListener("load",()=>e(),{once:!0}),window.wcs&&e();return}const n=document.createElement("script");n.type="text/javascript",n.src=z,n.onload=()=>e(),n.onerror=()=>t(new Error("å è½½ Naver wcslog 失败")),document.head.appendChild(n)}),he=e=>{var b,E,k;if(typeof window=="undefined")return;const t=e.struct_items;if(!t)return;const o=JSON.stringify(t.dspu||e.channel_id||""),n=JSON.stringify(String((b=t.dspt)!=null?b:"1")),a=JSON.stringify(String((E=t.dspo)!=null?E:"")),l=JSON.stringify(String((k=t.dspom)!=null?k:"")),_=document.createElement("script");_.type="text/javascript",_.async=!0,_.innerHTML=` 17var dspu = ${o}; 18var dspt = ${n}; 19var dspo = ${a}; 20var dspom = ${l}; 21function loadanalJS_dsp(b,c){var d=document.getElementsByTagName("head")[0],a=document.createElement("sc"+"ript");a.type="text/javasc"+"ript";null!=c&&(a.charset="UTF-8"); 22a.src=b;a.async="true";d.appendChild(a)}function loadanal_dsp(b){loadanalJS_dsp(("https:"==document.location.protocol?"https://":"http://")+b,"UTF-8");if(!document.getElementById("dsp_spn")){var e=document.createElement("span");e.id="dsp_spn";e.style.display="none";(document.body||document.documentElement).appendChild(e);}} 23loadanal_dsp("tk.realclick.co.kr/tk_comm.js?dspu="+dspu+"&dspt="+dspt+"&dspo="+dspo+"&dspom="+dspom); 24 `.trim(),document.head.appendChild(_)},ge=e=>T(this,null,function*(){var _,b,E;if(typeof window=="undefined")return;const t=e.struct_items;if(!t)return;try{yield ye()}catch(k){return}const o=window.wcs;if(!o||typeof o.cnv!="function")return;const n=String((E=(b=t.order_amount)!=null?b:(_=s.value)==null?void 0:_.order_amount)!=null?E:"0"),a={};a.cnv=o.cnv("1",n),window._nasa=a;const l=window.wcs_do;typeof l=="function"&&l(a)});function ve(){return T(this,null,function*(){try{yield fetch("https://www.google-analytics.com/g/collect",{method:"HEAD",mode:"no-cors",keepalive:!0})}catch(e){return!0}})}function xe(){return T(this,null,function*(){try{yield fetch("https://connect.facebook.net/en_US/fbevents.js",{method:"HEAD",mode:"no-cors",keepalive:!0})}catch(e){return!0}})}function be(){return T(this,null,function*(){try{yield fetch("https://www.googletagmanager.com/gtag/destination",{method:"HEAD",mode:"no-cors",keepalive:!0})}catch(e){return!0}})}function ke(){return T(this,null,function*(){Promise.all([ve(),xe(),be()]).then(([e,t,o])=>{var n;c("mkt_script_status",{order_no:(n=s.value)==null?void 0:n.order_sn,ga4_status:e?"failed":"success",fb_status:t?"failed":"success",aw_status:o?"failed":"success",consent_mode:Pe("XP_COOKIE_SETTING_MODE")||"3"})})})}function Ee(){return new Promise((e,t)=>{if(window.fw)return e();const o=document.createElement("script");o.src="//asset.fwcdn3.com/js/analytics.js",o.async=!0,o.onload=()=>e(),o.onerror=()=>t(new Error("å è½½ Firework Analytics 失败")),document.head.appendChild(o)})}function Te(e){return T(this,null,function*(){try{yield Ee()}catch(t){return}if(typeof window!="undefined"){const t=e.struct_items;window._fwn.analytics.purchase(t)}})}function Ce(e){return new Promise((t,o)=>{if(window.CommissionFactory&&!window.CommissionFactory.q)return t();(function(a,l){a[l]=a[l]||function(){(a[l].q=a[l].q||[]).push(arguments)}})(window,"CommissionFactory");const n=document.createElement("script");n.src=`https://t.cfjump.com/tag/${e}`,n.async=!0,n.onload=()=>t(),n.onerror=()=>o(new Error("å è½½ Commission Factory SDK 失败")),document.head.appendChild(n)})}function $e(e){return T(this,null,function*(){var n,a,l;if(typeof window=="undefined")return;try{yield Ce(e.channel_key)}catch(_){return}const t=window.CommissionFactory;if(typeof t!="function")return;const o=e.struct_items;t("set","order",((n=s.value)==null?void 0:n.order_sn)||o.order||""),t("set","amount",((a=s.value)==null?void 0:a.order_amount)||o.amount||"0"),t("set","currency",((l=s.value)==null?void 0:l.order_currency)||o.currency||"USD"),t("set","coupon",o.webgainsVoucher||""),Array.isArray(o.items_data)&&o.items_data.forEach(_=>{t("add","items",_)}),t("track")})}return Me(()=>{ke()}),(e,t)=>{const o=Ve,n=qe;return p(v)?(g(),F(o,{key:0,"payment-status":f.value,"order-data":s.value,error:w.value,"show-cooperation-modal":x.value,"cooperation-code":y.value,onGetCooperationCode:Y,"onUpdate:showCooperationModal":t[0]||(t[0]=a=>x.value=a)},null,8,["payment-status","order-data","error","show-cooperation-modal","cooperation-code"])):(g(),F(n,{key:1,"payment-status":f.value,"order-data":s.value,error:w.value,"show-cooperation-modal":x.value,"cooperation-code":y.value,onGetCooperationCode:Y,"onUpdate:showCooperationModal":t[1]||(t[1]=a=>x.value=a)},null,8,["payment-status","order-data","error","show-cooperation-modal","cooperation-code"]))}}}
24),Ge={class:"flex items-center gap-[11px] mb-6 justify-center"},Qe={class:"text-[#32BE7D] text-[24px] md:text-[32px] font-bold flex text-center"},Ye={class:"bg-[#FAFAFA] rounded-[16px] border border-[rgba(0, 0, 0, 0.10)] overflow-hidden p-[16px]"},He={class:"flex justify-between items-center mb-[20px]"},Je={class:"text-[#000000E0] text-sm"},ze={class:"text-[rgba(0,0,0,0.88)] text-[12px] md:text-[18px] font-bold"},We={class:"flex justify-between items-center mb-[22px]"},Ke={class:"text-[#000000E0] text-sm"},Xe={class:"text-[#F54628] text-[12px] md:text-[18px] font-bold"},Ze={class:"mb-4"},et={class:"text-[#000000E0] text-sm leading-relaxed"},tt={class:"flex justify-end items-center"},ot={class:"border-t border-slate-200 pt-6"},nt={class:"text-[#000000E0] text-sm leading-relaxed mb-4"},rt=["href"],st=U({__name:"PaymentSuccess",props:{orderData:{default:null}},setup(u){const h=V(),{t:i}=M(),m=u;return(S,c)=>{var w,f,s,x,y;const v=q;return g(),C("div",null,[r("div",Ge,[c[0]||(c[0]=r("i",{class:"iconfont icon-chenggong text-[#32BE7D] text-[32px] hidden sm:flex"},null,-1)),r("h1",Qe,d(p(i)("ORDER_PAYMENT_SUCCESS")),1)]),r("div",Ye,[r("div",null,[r("div",He,[r("span",Je,d(p(i)("ORDER_NUMBER"))+":",1),r("span",ze,d(((w=m.orderData)==null?void 0:w.order_sn)||"N/A"),1)]),r("div",We,[r("span",Ke,d(p(i)("PAYMENT_AMOUNT"))+":",1),r("span",Xe,d(((f=m.orderData)==null?void 0:f.order_amount_show)||"N/A"),1)])]),r("div",Ze,[r("p",et,d(p(i)("ORDER_SUCCESS_PROMPT")),1),r("div",tt,[G(v,{href:`/order/detail/sn/${(s=m.orderData)==null?void 0:s.order_sn}`,target:"_blank",class:"flex items-center gap-2 border border-[rgba(0,0,0,0.1)] text-sm px-[8px] py-[5px] rounded-[16px]"},{default:Q(()=>[N(d(p(i)("VIEW_ORDER"))+" ",1),c[1]||(c[1]=r("i",{class:"icon-arrow-right iconfont text-[12px]"},null,-1))]),_:1},8,["href"])])]),r("div",ot,[r("p",nt,[N(d(p(i)("ORDER_QUESTION_PROMPT"))+" ",1),r("a",{href:`mailto:${(x=p(h).siteInfo)==null?void 0:x.contact_email}`,class:"text-blue-500 underline hover:text-blue-600"},d((y=p(h).siteInfo)==null?void 0:y.contact_email),9,rt)])])])])}}}),at={class:"flex items-center gap-[11px] mb-6 justify-center"},ct={class:"text-[#F54628] text-[24px] md:text-[32px] font-bold text-center"},dt={class:"bg-[#FAFAFA] rounded-[16px] border border-[rgba(0, 0, 0, 0.10)] overflow-hidden p-[16px]"},it={class:"flex justify-between items-center mb-[20px]"},lt={class:"text-[#000000E0] text-sm"},ut={class:"text-[rgba(0,0,0,0.88)] text-[12px] md:text-[18px] font-bold"},_t={key:0,class:"flex justify-between items-center mb-[22px]"},pt={class:"text-[#000000E0] text-sm"},ft={class:"text-[#F54628] text-[12px] md:text-[18px] font-bold"},mt={class:"mb-4"},wt={class:"flex justify-end items-center"},yt={class:"border-t border-slate-200 pt-6"},ht={class:"text-[#000000E0] text-sm leading-relaxed mb-4"},gt=["href"],vt=U({__name:"PaymentFailure",props:{orderData:{default:null}},setup(u){const h=V(),{t:i}=M(),m=u;return(S,c)=>{var w,f,s,x,y,A;const v=q;return g(),C("div",null,[r("div",at,[c[0]||(c[0]=r("i",{class:"iconfont icon-a-icon1x-11 text-[#F54628] text-[32px] hidden sm:flex"},null,-1)),r("h1",ct,d(p(i)("ORDER_PAYMENT_FAILURE")),1)]),r("div",dt,[r("div",null,[r("div",it,[r("span",lt,d(p(i)("ORDER_NUMBER"))+":",1),r("span",ut,d(((w=m.orderData)==null?void 0:w.order_sn)||"N/A"),1)]),(f=m.orderData)!=null&&f.order_amount_show?(g(),C("div",_t,[r("span",pt,d(p(i)("PAYMENT_AMOUNT"))+":",1),r("span",ft,d(((s=m.orderData)==null?void 0:s.order_amount_show)||"N/A"),1)])):D("",!0)]),r("div",mt,[r("div",wt,[G(v,{href:`/order/detail/sn/${(x=m.orderData)==null?void 0:x.order_sn}`,target:"_blank",class:"flex items-center gap-2 border border-[rgba(0,0,0,0.1)] text-sm px-[8px] py-[5px] rounded-[16px]"},{default:Q(()=>[N(d(p(i)("CONTINUE_PAYMENT"))+" ",1),c[1]||(c[1]=r("i",{class:"icon-arrow-right iconfont text-[12px]"},null,-1))]),_:1},8,["href"])])]),r("div",yt,[r("p",ht,[N(d(p(i)("ORDER_QUESTION_PROMPT"))+" ",1),r("a",{href:`mailto:${(y=p(h).siteInfo)==null?void 0:y.contact_email}`,class:"text-blue-500 underline hover:text-blue-600"},d((A=p(h).siteInfo)==null?void 0:A.contact_email),9,gt)])])])])}}}),xt={class:"container-wrapper py-[32px] min-h-[calc(100vh-420px)]"},bt={key:2,class:"text-center min-h-[400px] flex flex-col justify-center items-center"},kt={class:"text-red-500 text-lg mb-4"},Et={class:"text-gray-600"},Tt={key:3,class:"cooperation"},Ct={class:"text-xl font-bold mb-4"},$t=["innerHTML"],St={class:"mt-4 text-center"},It=["onClick"],Dt={key:4,class:"fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center z-50"},At={class:"bg-white p-8 rounded-lg shadow-lg text-center max-w-sm w-full mx-4"},Rt={key:0},Pt={class:"text-lg font-mono bg-gray-100 p-2 rounded"},Nt={key:5,class:"promotion mt-[24px] lg:h-[100px] rounded-[16px] flex justify-between items-center px-[14px] lg:flex-row flex-col h-auto py-[18px] lg:py-0 gap-[10px] lg:gap-0"}
24,Ot={class:"text-[14px] font-bold text-center lg:text-[16px] flex-[2]"},Ft={class:"flex-[1] text-center"},Mt=U({__name:"Result",props:{paymentStatus:{},orderData:{},error:{default:""},showCooperationModal:{type:Boolean,default:!1},cooperationCode:{default:null}},emits:["getCooperationCode","update:showCooperationModal"],setup(u,{emit:h}){const i=h,{t:m}=M(),S=c=>{i("getCooperationCode",c)};return(c,v)=>{var f,s,x;const w=q;return g(),C("div",xt,[c.paymentStatus==="PAID"?(g(),F(st,{key:0,"order-data":c.orderData},null,8,["order-data"])):D("",!0),c.paymentStatus==="UNPAID"?(g(),F(vt,{key:1,"order-data":c.orderData},null,8,["order-data"])):c.error?(g(),C("div",bt,[r("div",kt,d(p(m)("payment.error")),1),r("div",Et,d(c.error),1)])):D("",!0),v[2]||(v[2]=r("span",{id:"a8sales"},null,-1)),(s=(f=c.orderData)==null?void 0:f.cooperationData)!=null&&s.length?(g(),C("div",Tt,[(g(!0),C(Le,null,Be(c.orderData.cooperationData,y=>(g(),C("div",{key:y.id,class:"cooperation-item mt-6 p-6 border rounded-lg"},[r("h3",Ct,d(y.title),1),r("div",{class:"prose",innerHTML:y.describe},null,8,$t),r("div",St,[r("button",{class:"bg-[#FF640A] text-white px-4 py-2 rounded-lg",onClick:A=>S(y)},d(p(m)("COOPERATIVE_GET_ACTIVATION")),9,It)])]))),128))])):D("",!0),c.showCooperationModal?(g(),C("div",Dt,[r("div",At,[c.cooperationCode?(g(),C("div",Rt,[r("p",Pt,d(c.cooperationCode),1)])):D("",!0),r("button",{onClick:v[0]||(v[0]=y=>i("update:showCooperationModal",!1)),class:"mt-6 bg-[#FF640A] text-white px-6 py-2 rounded-lg"},d(p(m)("CLOSE")),1)])])):D("",!0),(x=c.orderData)!=null&&x.show_blog_footer_tips?(g(),C("div",Nt,[v[1]||(v[1]=r("div",{class:"flex-[1]"},null,-1)),r("div",Ot,d(p(m)("BLOG_SETUP_TEXT")),1),r("div",Ft,[G(w,{href:"https://affiliate.xp-pen.com/affiliates/signup.php",target:"_blank",class:"bg-[#FF640A] text-white px-[16px] py-[8px] rounded-[16px]"},{default:Q(()=>[N(d(p(m)("BLOG_SETUP")),1)]),_:1})])])):D("",!0)])}}}),Ut=Oe(Mt,[["__scopeId","data-v-d5a6db72"]]),jt=Object.freeze(Object.defineProperty({__proto__:null,default:Ut},Symbol.toStringTag,{value:"Module"}));export{Xt 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.