1import{d as wt,r as c,c as _,w as V,M as bt,a as kt,$ as we,b as y,e as C,av as f,Z as be,F as J,D as ke,g as k,N as Ze,_ as Et,az as At,at as G,au as Ee,y as qe,W as Ct,P as Pt,aw as Qe,U as zt}from"./vendor-chartjs-CeHEhKKb.js";import{u as St,h as xt,a as Rt,e as Dt,n as Lt,R as Bt,c as Ot,d as Tt,f as It,_ as Ft}from"./index-B3JFJu3-.js";import{t as X}from"./useTracker-DUiJjh9b.js";import{r as i}from"./PaymentView-9TZ8UFno.js";import{Y as Nt,j as Mt}from"./vendor-stripe-kZT9izy5.js";import"./vendor-vuetify-CR-UF3B_.js";import"./vue-turnstile-Cx-NSWGN.js";/* empty css */import"./Amex-DhpXCYAy.js";import"./exitIntent-BLLDGiqH.js";import"./V2Stepper-C-PDFllv.js";/* empty css */import"./PackageStepper-Cx2gGeeJ.js";import"./packages-CYmNJ2wZ.js";import"./success-umW9aLUV.js";import"./CustomTooltip-Di7caR5_.js";import"./TrustBox.vue_vue_type_script_setup_true_lang-CYhS_h3N.js";import"./NoAccessDialog.vue_vue_type_script_setup_true_lang-DuheI2TO.js";import"./campaign-EqEFFH0X.js";import"./customeSwiper-dX2loYxJ.js";import"./vendor-swiper-YzI8BYVT.js";/* empty css */import"./bulkViewSubscribers-ClIIsM_5.js";import"./useBudgetEstimate-BPLFMi9S.js";const Vt={key:0,class:"rzp-details-scroll mt-1"},$t={class:"font-mono text-sm font-semibold text-gray-60"},Wt={class:"mt-1 font-mono text-xs font-normal text-gray-55"},Kt={key:0,class:"mt-1 font-mono text-xs text-[#B42318]"},Ut={key:0,class:"mt-1 font-mono text-xs text-[#B42318]"},jt={key:0,class:"w-full flex items-center justify-center",style:{"min-height":"48px"}},Ht={key:2,class:"mt-2 text-center font-mono text-xs font-normal text-gray-57","data-test":"razorpay-apple-pay-error"},Je="https://checkout.razorpay.com/v1/razorpay.js",Yt=6e3,Zt=150,qt=1e3,Qt=1e3,Jt=wt({__name:"RazorpayApplePayCard",props:{isFromWallet:{type:Boolean},campaignAmount:{},walletAmount:{},amount:{},isVideoCampaign:{type:Boolean},isChannelCampaign:{type:Boolean},isAiPlan:{type:Boolean},isPackageCampaign:{type:Boolean},teleportToBottomNav:{type:Boolean},disabled:{type:Boolean},beforeOrder:{type:Function},extQuery:{type:Function},active:{type:Boolean}},emits:["availability","busy","paymentInitiated","paymentCancelled","paymentSuccess","paymentFailed"],setup(Ge,{emit:Xe}){const o=Ge,h=Xe,m=St(),Ae=xt(),v=Rt(),Ce=Dt(),$=Lt(),ee=Bt(),{setInitialHeader:et,encryptPayload:W}=Ot(),{isPWA:tt}=Tt(),{cookies:Pe}=It(),te=c(!0),ae=c(!1),w=c("");function P(e){w.value=e}async function ne(){L.value=!1,await q()}async function at(){i.warn("user retrying after failure"),w.value="",await ne()}const x=c(!1),R=c(!1),z=c(!1),oe=c(""),T=c(""),nt=c("pk_live_51MIa9ISCo0ZS9YhtjQ3PaquBoBnhhtr3JAoOZAeOaY2NiUFLOED0bdtQmNEdCP8crAalNZhCne99InFyNiFOYIHq0049pw7qh2"),ze=c(null),Se=c(null),ie=c(!1),xe=c({}),ot=_(()=>`rzp-address-${v.dark}`);function Re(){return{mode:"payment",amount:o.amount>0?+o.amount.toFixed(2):o.campaignAmount,currency:"usd",appearance:{variables:{colorBackground:v.dark?"#101828":"#fff",colorText:v.dark?"#fff":"#000",colorTextSecondary:v.dark?"#fff":"var(--light-primary)"}}}}const De=c(Re());V(()=>v.dark,()=>{De.value=Re()});const it=_(()=>{const e=xe.value,t={mode:"billing"},a="AIzaSyD8cnocG-COrEhoxZyr82lsfTtfgZk5UAg";return t.autocomplete={mode:"google_maps_api",apiKey:a},e.name&&(t.defaultValues={name:e.name}),t}),K=c(null),U=c(""),se=c(!1);function st(e,t){typeof e!="string"||!t||(oe.value=e,U.value=String(t.number??""),se.value=!!t.valid,i.info("contact input parsed",{e164:U.value,valid:se.value,country:t.countryCode}))}function rt(e){const t=String(e??"").trim();if(!t.startsWith("+"))return"";const a=t.replace(/\D/g,"");return a?`+${a}`:""}const Le=_(()=>se.value&&/^\+\d{8,15}$/.test(U.value)),Be=_(()=>/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(T.value.trim())),lt=_(()=>ie.value),re=_(()=>x.value||R.value||z.value),Oe=_(()=>{const e=[];return x.value&&e.push("mobile number"),R.value&&e.push("email address"),z.value&&e.push("billing address"),e}),ct=_(()=>{const e=Oe.value,t=e.length>1?`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`:e[0]??"";return`${t.charAt(0).toUpperCase()}${t.slice(1)} ${e.length>1?"are":"is"} required to continue`}),dt=_(()=>!w.value&&!re.value&&(te.value||!L.value)),Te=_(()=>(!x.value||Le.value)&&(!R.value||Be.value)&&(!z.value||lt.value));async function ut(e){try{const t=await W(e);await $.saveRazorpayPhone(t),i.info("details saved to profile",Object.keys(e))}catch(t){i.warn("could not save details to profile (payment continues)",(t==null?void 0:t.message)??t)}}function pt(e){xe.value={name:String((e==null?void 0:e.name)??"")}}V(Se,e=>{const t=e==null?void 0:e.stripeElement;t&&(ie.value=!1,t.on("change",a=>{ie.value=!!a.complete}))});async function mt(){var n,s,E;const e=(s=(n=ze.value)==null?void 0:n.elements)==null?void 0:s.getElement("address");if(!e)return null;const t=await e.getValue();if(!(t!=null&&t.complete))return null;const a=((E=t.value)==null?void 0:E.address)??{};
1return{line1:[a.line1,a.line2].filter(Boolean).join(", "),city:String(a.city??""),state:String(a.state??""),pincode:String(a.postal_code??""),country:String(a.country??"").toUpperCase()}}async function le(){var a;if(!Te.value||!K.value)return;const e=z.value?await mt():null;if(z.value&&!e){i.warn("address element reported incomplete on submit â keeping the form open");return}const t={contact:x.value?U.value:void 0,email:R.value?T.value.trim():void 0,address:(e==null?void 0:e.line1)||void 0};x.value=!1,R.value=!1,z.value=!1,i.warn("details entered manually â rendering button",{contact_entered:!!t.contact,email_entered:!!t.email,address_entered:!!(e!=null&&e.line1),country:e==null?void 0:e.country}),(t.contact||e)&&ut({contact:t.contact,pincode:(e==null?void 0:e.pincode)||void 0,address:(e==null?void 0:e.line1)||void 0,city:(e==null?void 0:e.city)||void 0,state:(e==null?void 0:e.state)||void 0,country:(e==null?void 0:e.country)||void 0,razorpay_order_id:e?((a=K.value)==null?void 0:a.id)??void 0:void 0}),ye(K.value,t)}const b=c(null),Ie=c(null),I=c(null);let F=null,j,Fe=0;function yt(e){const t=()=>
1Math.round(e.getBoundingClientRect().width),a=t();return a>0?Promise.resolve(a):typeof ResizeObserver>"u"?Promise.resolve(0):new Promise(r=>{let n=!1;const s=d=>{n||(n=!0,E.disconnect(),clearTimeout(p),r(d))},E=new ResizeObserver(()=>{const d=t();d>0&&s(d)}),p=setTimeout(()=>s(t()),qt);E.observe(e)})}function H(){j&&clearInterval(j),j=void 0}const L=c(!1),ce=c(!1);let de=null;function Ne(){return de?Array.from(de.attributes).map(e=>`${e.name}=${e.name==="key"?String(e.value).slice(0,12)+"â¦":e.value}`).join(" "):"element not created"}let Y=0,Z=null,Me=null;const B=c(0);V(()=>B.value>0,e=>h("busy",e));function Ve(){return o.amount>0?o.amount:o.campaignAmount}const ue=_(()=>o.disabled||!b.value||B.value>0);bt(async()=>{i.config("RazorpayApplePayCard"),i.appleEnvironment(),Ie.value=et(!1),await vt()}),kt(()=>{var e,t;F&&clearTimeout(F),H(),(e=I.value)==null||e.removeEventListener("pointerdown",O,!0),(t=I.value)==null||t.removeEventListener("click",O,!0),window.removeEventListener("blur",me)}),V(()=>Ve(),()=>{ae.value&&(F&&clearTimeout(F),F=setTimeout(()=>{if(!o.active){Y++,b.value=null,Z=null;return}q()},Qt))}),V(()=>o.active,e=>{if(!(!e||!ae.value)){if(!b.value){B.value||q();return}Z&&Me!==b.value&&ye(Z)}},{immediate:!0,flush:"post"});async function ft(){if(!window.Razorpay&&(await new Promise((e,t)=>{const a=document.querySelector(`script[src="${Je}"]`);if(a){a.addEventListener("load",()=>e()),a.addEventListener("error",()=>t(new Error("Razorpay SDK failed to load.")));return}const r=document.createElement("script");r.src=Je,r.async=!0,r.onload=()=>e(),r.onerror=()=>t(new Error("Razorpay SDK failed to load.")),document.head.appendChild(r)}),!window.Razorpay))throw new Error("Razorpay SDK failed to load.")}async function vt(){te.value=!0;try{if(/Android/i.test(navigator.userAgent)){i.warn("Android detected â hiding the Apple Pay tab, no Apple Pay implementation exists"),h("availability",!1);return}i.info("loading custom-checkout SDK (razorpay.js)"),await ft(),i.warn("SDK loaded"),h("availability",!0);const e="rzp_live_TJe8Myp3Ykks9B";i.warn("proceeding regardless of ApplePaySession â the component decides eligibility"),ae.value=!0,await X("razorpay_apple_pay_attempt",{status:"attempt"}),!b.value&&!B.value&&await q()}catch(e){h("availability",!1),X("razorpay_apple_pay_failed",{status:"failed",error_message:String((e==null?void 0:e.message)??"Razorpay setup failed")}),i.error("setup failed",(e==null?void 0:e.message)??e),P("Razorpay setup failed.")}finally{te.value=!1}}async function q(){var t;const e=++Y;B.value++;try{const a={amount:Ve()};o.isVideoCampaign?a.campaign_id=m.params.id:o.isPackageCampaign?a.package_id=m.params.package_id:o.isChannelCampaign?a.channel_campaign_id=m.params.channel_id:o.isAiPlan&&(a.plan_id=m.params.plan_id,a.service=m.params.service??1),o.beforeOrder&&await o.beforeOrder(),i.info("creating order",{amount:a.amount});const r=await W(a),n=await $.createRazorpayOrder(r);if(!n.success)throw new Error(n.message||"Failed to start the Razorpay payment.");if(e!==Y){i.info("order response superseded by a newer amount â discarding");return}b.value=n.data.id,Z=n.data,i.warn("order created",{order_id:n.data.id,amount:n.data.amount,currency:n.data.currency}),o.active?ye(n.data):i.info("order ready; deferring button mount until the tab is opened")}catch(a){if(e!==Y)return;
1b.value=null,i.error("order creation failed",((t=a==null?void 0:a.response)==null?void 0:t.data)??(a==null?void 0:a.message)??a),P("Could not start Apple Pay. Please try again."),h("paymentFailed",a),fe(a,"Could not start the Apple Pay payment. Please try again.")}finally{B.value--}}let pe=!1;function N(e){pe||(pe=!0,i.warn("payment initiated",{detected_by:e}),h("paymentInitiated"))}function O(e){N(`container-${e.type}-capture`)}function me(){var a;if(!o.active||!L.value)return;const e=document.activeElement;!e||e.tagName!=="IFRAME"||!((a=I.value)!=null&&a.contains(e)||/razorpay/i.test(e.src||""))||N("iframe-focus-blur")}async function ye(e,t={}){var We,Ke,Ue,je,He,Ye;const a=I.value;if(!a){i.error("button container missing â cannot mount"),P("Internal error: Apple Pay container not found.");return}a.innerHTML="",pe=!1,H(),ce.value=!1;const r=e.key_id||"rzp_live_TJe8Myp3Ykks9B",n=rt(t.contact||((We=e.prefill)==null?void 0:We.contact)||""),s=String(t.email||((Ke=e.prefill)==null?void 0:Ke.email)||((Ue=v.user)==null?void 0:Ue.email)||((je=v.userData)==null?void 0:je.email)||"").trim(),p=!!String(t.address||((He=e.prefill)==null?void 0:He.address)||"").trim();if(!n||!s||!p){i.warn("missing details â prompting",{needs_contact:!n,needs_email:!s,needs_address:!p,address_source:((Ye=e.prefill)==null?void 0:Ye.address_source)||"none"}),K.value=e,x.value=!n,R.value=!s,z.value=!p,p||pt(e.prefill);return}const d=document.createElement("razorpay-checkout");d.style.display="block",d.style.width="100%",d.style.minHeight="48px";const S=++Fe,Q=await yt(a);if(S!==Fe)return;Me=e.id??null;const g={id:"razorpay-apple-pay-element",key:r,"order-id":e.id,amount:String(e.amount),currency:e.currency,contact:n,method:"card","app-name":"apple_pay",email:s,"button-label":"pay","button-theme":v.dark?"light":"dark","button-width":`${Q>0?Q:300}px`,"button-height":"48px","theme-color":"#3395FF"};for(const[l,u]of Object.entries(g))d.setAttribute(l,u);de=d,i.warn("appending <razorpay-checkout>",{key:String(r).slice(0,12)+"â¦",order_id:e.id,contact_sent:n,email_sent:s,method:"card",app_name:"apple_pay",element_defined:!!customElements.get("razorpay-checkout")}),d.addEventListener("payment.success",l=>{var D;N("payment.success-backfill");const u=((D=l==null?void 0:l.detail)==null?void 0:D.paymentData)??(l==null?void 0:l.detail)??{};i.warn("payment.success",{payment_id:u==null?void 0:u.razorpay_payment_id}),ht(u)}),d.addEventListener("payment.failure",l=>{var u;N("payment.failure-backfill"),_t(((u=l==null?void 0:l.detail)==null?void 0:u.error)??(l==null?void 0:l.detail))}),d.addEventListener("error",l=>{const u=(l==null?void 0:l.detail)??l,D=(()=>{try{return JSON.stringify(u,Object.getOwnPropertyNames(u??{}))}catch{return String((u==null?void 0:u.message)??u)}})();i.error('razorpay-checkout "error" event (init/validation failure)',{detail:u,serialised:D,attributes_sent:Ne()}),P("Apple Pay could not start. Please try another payment method.")}),d.addEventListener("click",()=>{w.value=""}),d.addEventListener("click",()=>N("host-click-bubble")),a.removeEventListener("pointerdown",O,!0),a.removeEventListener("click",O,!0),a.addEventListener("pointerdown",O,!0),a.addEventListener("click",O,!0),window.removeEventListener("blur",me),window.addEventListener("blur",me),a.appendChild(d),L.value=!1;const A=Date.now();j=setInterval(()=>{const l=d.getBoundingClientRect(),u=d.shadowRoot,D=((u==null?void 0:u.childElementCount)??0)+d.childElementCount,ve={height:Math.round(l.height),width:Math.round(l.width),visibleNodes:D,shadowRoot:u?"open":"null (closed or not attached)",element_defined:!!customElements.get("razorpay-checkout"),waited_ms:Date.now()-A,isSafari:/Safari/i.test(navigator.userAgent)&&!/Chrome|Chromium|CriOS|Edg|OPR/i.test(navigator.userAgent),applePaySessionAvailable:typeof window.ApplePaySession<"u",userAgent:navigator.userAgent};if(D>0){H(),L.value=!0,i.warn("Apple Pay button rendered",ve);return}if(Date.now()-A<Yt||(H(),L.value=!0,ce.value=!0,i.warn("no button rendered",{...ve,outerHTML:d.outerHTML.slice(0,200)}),w.value))return;const ge=window.ApplePaySession;let _e="absent (Safari-only API)",he="absent";if(ge){try{_e=ge.canMakePayments()}catch(M){_e=`threw: ${M instanceof Error?M.message:String(M)}`}try{he=[14,12,10,6,3].find(M=>ge.supportsVersion(M))??0}catch{he="unknown"}}i.error("no button rendered â device capability at the deadline",{canMakePayments:_e,applePayVersion:he,waited_ms:ve.waited_ms,order_id:e.id,userAgent:navigator.userAgent}),P("Check that a card is added in the Wallet app.")},Zt)}async function gt(e){var t,a,r;if(!e)return!1;try{const n=await W({razorpay_order_id:e}),s=await $.getRazorpayOrderStatus(n);return i.warn("payment status checked",{order_status:(t=s==null?void 0:s.data)==null?void 0:t.order_status,paid:(a=s==null?void 0:s.data)==null?void 0:a.paid}),!!((r=s==null?void 0:s.data)!=null&&r.paid)}catch(n){return i.error("order status check failed â assuming paid so we cannot charge twice",n instanceof Error?n.message:String(n)),!0}}async function _t(e){const t=(e==null?void 0:e.code)==="PAYMENT_CANCELLED"||(e==null?void 0:e.reason)==="payment_cancelled"||/cancel/i.test(String((e==null?void 0:e.description)??"")),a={code:e==null?void 0:e.code,description:e==null?void 0:e.description,source:e==null?void 0:e.source,reason:e==null?void 0:e.reason,metadata:e==null?void 0:e.metadata,attributes_sent:Ne()};if(t){i.warn("payment cancelled by the customer",a),h("paymentCancelled"),Ce.open({text:"Payment cancelled.",color:"warning"});return}i.error("payment.failure received",a);const r=b.value;b.value=null;const n=String((e==null?void 0:e.description)??"Apple Pay payment failed.");
1if((e==null?void 0:e.reason)==="payment_already_completed"&&await gt(r)?P("This payment has already gone through. Refresh the page to see it."):(P(n),ne()),X("razorpay_apple_pay_failed",{status:"failed",error_code:(e==null?void 0:e.code)??"",error_reason:(e==null?void 0:e.reason)??"",error_message:String((e==null?void 0:e.description)??"Apple Pay payment failed")}),h("paymentFailed",e),(e==null?void 0:e.code)==="INTERNAL_ERROR"){fe({},"Apple Pay is temporarily unavailable. Please try again later.");return}fe({message:e==null?void 0:e.description},"Apple Pay payment failed. Please try again.")}async function ht(e){var t,a,r,n,s,E;try{const p=Pe.get("_fbc")||"",d=Pe.get("_fbp")||"",S={razorpay_order_id:e.razorpay_order_id,razorpay_payment_id:e.razorpay_payment_id,razorpay_signature:e.razorpay_signature,header:{...Ie.value,fbc:p,fbp:d},wallet_amount:o.isFromWallet&&o.amount>0?+o.walletAmount:!1};o.isVideoCampaign?S.campaign_id=m.params.id:o.isPackageCampaign?S.package_id=m.params.package_id:o.isChannelCampaign?S.channel_campaign_id=m.params.channel_id:o.isAiPlan&&(S.service=m.params.service??1,S.plan_id=m.params.plan_id);const Q=await W(S),g=await $.verifyRazorpayPayment(Q);if(!g.success)throw new Error(g.message||"Failed to confirm the payment.");i.warn("server verified + fulfilled",{payment_row_id:(t=g.data)==null?void 0:t.id}),await X("razorpay_apple_pay_success",{status:"success"}),h("paymentSuccess",{id:g.data.id,method:"Apple Pay (Razorpay)"}),ee==null||ee.trackEvent({event:"gtm4wp.orderCompletedEEC",ecommerce:{purchase:{actionField:{revenue:g.data.amount,currency:"USD",id:g.data.id,en_email:v.user.email,en_firstname:v.user.first_name,en_phone:v.user.phone,en_lastname:v.user.last_name,is_pwa:tt.value}}},noninteraction:!1});const A={success:"true",type:"razorpay",payment_id:((a=g==null?void 0:g.data)==null?void 0:a.id)??""};o.isVideoCampaign&&(A.campaign_id=m.params.id),o.isPackageCampaign&&(A.package_id=m.params.package_id),o.isChannelCampaign&&(A.channel_campaign_id=m.params.channel_id),o.isAiPlan&&(A.plan_id=m.params.plan_id,A.service=m.params.service??1),$e(A)}catch(p){i.error("server verification FAILED after a successful Apple Pay charge â check the backend log",((r=p==null?void 0:p.response)==null?void 0:r.data)??(p==null?void 0:p.message)??p),h("paymentFailed",p),$e({success:"false",type:"razorpay",payment_id:((E=(s=(n=p==null?void 0:p.response)==null?void 0:n.data)==null?void 0:s.data)==null?void 0:E.id)??""})}}function $e(e){var r;const t=(r=o.extQuery)==null?void 0:r.call(o);t&&(e.ext=t);const a=m.params.id||m.params.plan_id||m.params.package_id||m.params.channel_id;o.isAiPlan||!a?Ae.replace({name:"PaymentStatus",query:e}):Ae.push({name:"PaymentStatus",query:e})}function fe(e,t,a){var n,s;const r=((s=(n=e==null?void 0:e.response)==null?void 0:n.data)==null?void 0:s.message)||(e==null?void 0:e.message)||t;Ce.open({text:r,color:"error"})}return(e,t)=>{const a=we("vue-tel-input"),r=we("v-progress-circular"),n=we("v-btn");return y(),C(J,null,[re.value&&!w.value?(y(),C("div",Vt,[f("p",$t,be(ct.value),1),f("p",Wt," Apple Pay payments need "+be(Oe.value.length>1?"these":"this")+" for payment confirmation and your receipt. ",1),x.value?(y(),C(J,{key:0},[t[1]||(t[1]=f("label",{for:"rzp-contact",class:"rzp-details-label"},"Phone number",-1)),ke(a,{id:"rzp-contact",value:oe.value,mode:"international","default-country":"US","auto-default-country":!1,class:"h-11 !rounded-lg !shadow-none","input-options":{placeholder:"Enter your mobile number"},onInput:st,onEnter:le},null,8,["value"]),oe.value&&!Le.value?(y(),C("p",Kt," Enter a valid mobile number for the selected country. ")):k("",!0)],64)):k("",!0),R.value?(y(),C(J,{key:1},[t[2]||(t[2]=f("label",{for:"rzp-email",class:"rzp-details-label"},"Email",-1)),Ze(f("input",{id:"rzp-email","onUpdate:modelValue":t[0]||(t[0]=s=>T.value=s),type:"email",inputmode:"email",autocomplete:"email",placeholder:"[email protected]",class:"rzp-details-input h-11 w-full rounded-lg px-3 font-mono text-sm text-gray-60 outline-none",onKeyup:At(le,["enter"])},null,544),[[Et,T.value]]),T.value&&!Be.value?(y(),C("p",Ut," Enter a valid email address. ")):k("",!0)],64)):k("",!0),z.value?(y(),C(J,{key:2}
1,[t[3]||(t[3]=f("label",{class:"rzp-details-label"},"Billing address",-1)),(y(),G(qe(Mt),{key:ot.value,"stripe-key":nt.value,"elements-options":De.value,ref_key:"addressElementsComponent",ref:ze,class:"rzp-address-element w-full"},{default:Ee(()=>[ke(qe(Nt),{type:"address",options:it.value,ref_key:"addressComponent",ref:Se},null,8,["options"])]),_:1},8,["stripe-key","elements-options"]))],64)):k("",!0),t[4]||(t[4]=f("p",{class:"mt-2 flex items-center gap-1 font-mono text-xs font-normal text-gray-55"},[f("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[f("path",{d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]),Ct(" Only used for this payment. Never shared. ")],-1))])):k("",!0),(y(),G(zt,{to:"#mobile-razorpay-target",disabled:!o.teleportToBottomNav},[dt.value?(y(),C("div",jt,[ke(r,{size:"40",color:"primary",indeterminate:""})])):k("",!0),f("div",{class:Qe(["relative",{"cursor-not-allowed":ue.value}])},[Ze(f("div",{ref_key:"buttonContainer",ref:I,id:"razorpay-apple-pay-container",class:Qe(["flex w-full justify-center",{"pointer-events-none":ue.value,"opacity-50":ue.value}])},null,2),[[Pt,!ce.value]])],2),re.value&&!w.value?(y(),G(n,{key:1,class:"mt-3 !h-12 w-full rounded-[40px] bg-primary elevation-0",ripple:!1,disabled:!Te.value,onClick:le},{default:Ee(()=>t[5]||(t[5]=[f("span",{class:"font-mono text-sm font-semibold text-[#fff]"},"Continue to Apple Pay â",-1)])),_:1},8,["disabled"])):k("",!0),w.value?(y(),C("p",Ht,be(w.value),1)):k("",!0),w.value&&!b.value?(y(),G(n,{key:3,class:"mt-2 !h-9 w-full rounded-lg bg-primary elevation-0",ripple:!1,onClick:at},{default:Ee(()=>t[6]||(t[6]=[f("span",{class:"font-mono text-xs font-semibold text-[#fff]"},"Try again",-1)])),_:1})):k("",!0)],8,["disabled"]))],64)}}}),ka=Ft(Jt,[["__scopeId","data-v-805ab9a3"]]);export{ka 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.