PageSourceSearch

https://www.tiketux.com/_nuxt/FlashsaleCheckoutButton.Bht5_IDF.js

js tiketux.com collected 2026-09-24 09:48:37 UTC 2,942 bytes, 1 lines download raw bytes

1import{d as r,m as l,q as d,N as t,R as o,A as b,Q as f,D as i,V as m,K as c,H as x}from"./vendor-vueuse.u2VY2iEt.js";import{f as u,t as p}from"./FormatRupiah.B4QKZVwb.js";import{_ as h}from"./poinv2.RsmlUhEo.js";import{c as y}from"./card-point-fs.BmeteHyz.js";import{G as g}from"./f_G1Uo6f.js";const _={class:"relative pb-4"},k={class:"mb-3 flex w-full items-center justify-between"},v={class:"text-sm font-semibold leading-5 text-[#1F2937]"},w=r({__name:"FlashsaleListPayment",props:{title:{}},setup(s){return(a,e)=>(l(),d("div",_,[t("div",k,[t("p",v,o(s.title),1)]),b(a.$slots,"content")]))}}),q=Object.assign(w,{__name:"FlashsaleListPayment"}),C={class:"bg-white shadow-md rounded-xl mt-5 p-5"},F={class:"text-[#1F2937] text-base font-semibold"},P={class:"text-[#2563EB] text-base font-bold"},B={class:"mt-3 space-y-2"},$={class:"p-3.5 rounded-xl flex items-center justify-center bg-[#FAFAFA] border border-[#E5E7EB] gap-x-2"},D={class:"font-bold text-base"},j=r({__name:"FlashsaleCheckoutCardPoint",props:{point:{},totalPay:{}},setup(s){return(a,e)=>(l(),d("div",C,[t("div",{class:"rounded-xl p-4 bg-no-repeat bg-center",style:f(`background-image: url(${i(y)}); background-size: 100%`)},[e[2]||(e[2]=t("p",{class:"text-[#71747D] text-xs"}," Tukar dengan poin ",-1)),t("p",F,[e[0]||(e[0]=m(" Kamu punya ",-1)),t("span",P,o(("formatPoint"in a?a.formatPoint:i(u))(s.point)),1),e[1]||(e[1]=m(" poin ",-1))])],4),t("div",B,[e[4]||(e[4]=t("p",{class:"font-semibold text-xs"}," Total Bayar ",-1)),t("div",$,[e[3]||(e[3]=t("img",{class:"w-4 h-4",src:h,alt:""},null,-1)),t("p",D,o(("formatPoint"in a?a.formatPoint:i(u))(s.totalPay)),1)])])]))}}),G=Object.assign(j,{__name:"FlashsaleCheckoutCardPoint"}),R={key:0},V={class:"flex items-center justify-between mb-4"},A={class:"font-bold text-sm text-[#DC2626]"},E={class:"flex items-center justify-between mb-4"},T={class:"font-bold text-sm text-[#DC2626]"},z=["disabled"],N=r({__name:"FlashsaleCheckoutButton",props:{admin:{},price:{},isValidate:{type:Boolean},type:{}},setup(s){const{isMobile:a}=g();return(e,n)=>(l(),d("div",{class:c([i(a)?"fixed bottom-0 px-6 max-width-desktop":"relative w-full px-5 rounded-b-xl","max-width-desktop animate__animated animate__fadeInUp w-full bg-white shadow-lg px-6 py-6 z-[10]"]),style:{"box-shadow":"rgba(76, 76, 76, 0.17) 0px -6px 25px"}},[s.type=="uang"&&s.price>0?(l(),d("div",R,[t("div",V,[n[0]||(n[0]=t("p",{class:"text-[#71747D] text-sm"}," Biaya Admin ",-1)),t("p",A,o(("toRupiah"in e?e.toRupiah:i(p))(s.admin)),1)]),t("div",E,[n[1]||(n[1]=t("p",{class:"text-[#71747D] text-sm"}," Total Harga ",-1)),t("p",T,o(("toRupiah"in e?e.toRupiah:i(p))(s.price)),1)])])):x("",!0),t("button",{class:c([s.isValidate?"btn-primary":"btn-disabled","w-full"]),disabled:!s.isValidate},o(s.type=="uang"&&s.price>0?"Beli & Bayar":s.price==0?"Claim voucher":"Tukar Point"),11,z)],2))}}),I=Object.assign(N,{__name:"FlashsaleCheckoutButton"});export{q as F,G as a,I as b};

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.