PageSourceSearch

https://www.bitunix.com/web/bitunix-assets/blog/index-DuZQmyeo.js

js bitunix.com collected 2026-10-02 06:56:06 UTC 5,637 bytes, 1 lines download raw bytes

1/* empty css                */import{da as t,a3 as C,aJ as N,aq as S,P as x,$ as D,X as A,Z as V}from"./entry-D8N10Ulb.js";import{defineComponent as H,ref as a,watch as T,openBlock as R,createBlock as B,unref as b,withCtx as U,createElementVNode as f,createElementBlock as L,Fragment as M,renderList as Y,normalizeClass as z,toDisplayString as E,createVNode as G,createTextVNode as Z}from"../shared/vue-fb74e52b2d.js";import{_ as X}from"./index.vue-C0pcSWxg.js";import{p as F}from"./index-Cy0g49Hw.js";import{u as j}from"./usePrizeActiveService-Dx8nhW5v.js";import{useI18n as J}from"../shared/vue-fb74e52b2d.js";import"../shared/lib-8c94f98034.js";/* empty css              */import"../shared/vue-fb74e52b2d.js";import"./routes-DvK16Y-n.js";import"../shared/track-c1c5e94a12.js";import"../shared/vue-fb74e52b2d.js";import"../shared/vendor-5dd27d1f95.js";import"../shared/vue-fb74e52b2d.js";import"./IconIconCloseS-BbmqJrrN.js";import"./popup-JIu24zYM.js";import"./IconIconClosePopS-CGO1zptt.js";import"./index-C40Vg9mm.js";import"./calculate-D3wTcK8C.js";import"./logger-BHXHfIuj.js";import"./usePageReferrer-DG2iFkVE.js";(function(){try{var l=[],c=typeof globalThis<"u"?globalThis:void 0,e=typeof window<"u"?window:void 0,u=typeof self<"u"?self:void 0,d=typeof global<"u"?global:void 0,v=typeof document<"u"?document:void 0,g=c&&c.Error||e&&e.Error||u&&u.Error||d&&d.Error||Error,i=new g().stack,o=function(r){try{r&&l.indexOf(r)===-1&&l.push(r)}catch{}};o(c),o(e),o(u),o(d);try{v&&o(v.defaultView)}catch{}try{e&&(o(e.window),o(e.parent),o(e.top))}catch{}if(i)for(var h=0;h<l.length;h++)try{var n=l[h];n._armsRumDebugIds=n._armsRumDebugIds||{},n._armsRumDebugIds[i]="8131d20d-2051-4cf4-99ab-861ffc314130",n._armsRumDebugIdIdentifier="armsRum-uuid-8131d20d-2051-4cf4-99ab-861ffc314130"}catch{}}catch{}})();const K=""+new URL("9219bb.COG9lxid.webp",import.meta.url).href,q=""+new URL("cc69b7.D5z7DIKX.webp",import.meta.url).href,Q=""+new URL("694f58.Cy0BE-lG.webp",import.meta.url).href,$=""+new URL("0598f0.CybsRbUN.webp",import.meta.url).href,W=""+new URL("96f1c7.BIN9rvJd.webp",import.meta.url).href,ee=""+new URL("b3f0a6.2vwPJLu5.webp",import.meta.url).href,te=""+new URL("53dfaf.DLjc4OJf.webp",import.meta.url).href,oe=""+new URL("044fb3.5KjteDZl.webp",import.meta.url).href,ae=""+new URL("d10bc3.DcyE1pOk.webp",import.meta.url).href,le=""+new URL("005b16.BLlCwMQM.webp",import.meta.url).href,ie=""+new URL("b071c6.Cut0cuw-.webp",import.meta.url).href,ne=""+new URL("25e490.g-NbijfC.webp",import.meta.url).href,re={[t.EXPERIENCE]:K,[t.GIFT_COIN]:q,[t.VIP]:Q,[t.FUTURES_STOP_LOSS]:$,[t.MYSTERY_BOX]:W,[t.REDUCTION_CARD]:ee,[t.INTEREST_BOOST_VOUCHER]:te,[t.LOTTERY_TICKET]:oe,[t.PHYSICAL_PRIZE]:ae,[t.VIP_UPGRADE]:le,[t.POSITION_VOUCHER]:ie,[t.CFD_CUSHION_BONUS]:ne},se=l=>{const c=l.templateType;return c===t.PHYSICAL_PRIZE&&l?.config?.uiConfigs?.lotteryUi?l?.config?.uiConfigs?.lotteryUi:re[c]||""},ce={class:"relative w-440 max-md:(w-full h-unset ) px-20 pt-20 overflow-hidden"},ue={class:"flex flex-col gap-row-12 color-text-1"},pe=["onClick"],me={class:"fs-16 font-600 lh-150%"},fe={class:"mt-2 fs-12 font-500 lh-150% w-[calc(100%-132px)]"},de={class:"absolute right-0 top-10 flex w-132 h-132"},ve=["src"],he={class:"fs-14 lh-150% mt-20 max-md:(mt-10) color-text-2 text-center"},_e={class:"pb-40 max-md:pb-24 mt-32 max-md:(mt-30!)"},Me=H({__name:"index",setup(l,{expose:c}){const{t:e}=J(),u=a(null),d=a(null),v=a(""),g=a(null),i=a(null),o=a(null),h=a(""),n=a({}),r=m=>{i.value=m},y=a(!1),p=a([{label:e("activity.coupon.physicall.eqvalue"),image:se({templateType:x.GIFT_COIN}),tip:"",key:C.EQUIVALENT_U},{label:"",image:v.value,tip:"",key:C.PHYSICAL}]),I=a({});T(i,m=>{I.value={...I.value,exchangeType:m}},{immediate:!0});const{doExecuteSteps:P,showModal:k}=j(n,I),O=async()=>{if(!i.value){D.error(e("activity.coupon.physical.chooseExchangeType"));return}i.value===C.EQUIVALENT_U?(y.value=!0,await P(A.EXCHANGE),y.value=!1):k(V.PHYSICAL_PRIZE_SHIPPING,{options:{ticket:n.value,exchangeOptions:I.value}}),u.value?.close()};return T([()=>d.value,()=>v.value,()=>g.value],([m,s,w])=>{!p.value||!p.value[0]||!p.value[1]||(p.value[0].tip=e("activity.coupon.physicall.eqexchange",[N(m||0)]),p.value[1].tip=F({type:x.PHYSICAL_PRIZE,visibleValue:o.value||0,prizeDescription:h.value},e),p.value[1].image=s,p.value[1].label=w)},{immediate:!0}),c({openModal:({options:m})=>{const{ticket:s,exchangeOptions:w}=m;n.value={...s},I.value={...w},d.value=s.cost,v.value=s.config?.uiConfigs?.myAwardUi||"",g.value=s?.prizeName||"",o.value=s.cost,h.value=s.prizeDescription,u.value?.open()},closeModal:()=>{d.value=null,v.value=null,g.value=null,i.value=null,n.value={},y.value=!1,o.value=null,h.value="",u.value?.close()}}),(m,s)=>{const w=S;return R(),B(X,{ref_key:"ResponsibleModalRef",ref:u,width:"440px",title:b(e)("activity.coupon.physical.chooseExchangeType")},{content:U(()=>[f("div",ce,[f("div",ue,[(R(!0),L(M,null,Y(b(p),_=>(R(),L("div",{key:_.label,class:z(["relative flex flex-col items-start w-full h-100 p-16 bg-[#232528] rounded-6 overflow-hidden cursor-pointer brd-all-#232528",{"brd-all-color-text-button!":b(i)===_.key}]),onClick:()=>r(_.key)},[f("p",me,E(_.label),1),f("p",fe,E(_.tip),1),f("i",de,[f("img",{class:"w-full object-contain",src:_.image,alt:""},null,8,ve)])],10,pe))),128))]),f("div",he,E(b(e)("activity.coupon.physical.exchangeTip")),1),f("div",_e,[G(w,{loading:b(y),long:"",type:"primary",shape:"round",class:"h-48! max-md:( h-40!) color-bg-button-new fs-15! color-text-button-new!",onClick:O},{default:U(()=>[Z(E(b(e)("vip.apply.btn.sure")),1)]),_:1},8,["loading"])])])]),_:1},8,["title"])}}});
1export{Me 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.