1import{e as O}from"./chunk-JBQ3SQYQ.js";import{b as M}from"./chunk-IELZJEER.js";import{Tb as k,xd as w,zd as B}from"./chunk-G7JQUX5M.js";import{$c as l,Cb as g,Gb as i,Kc as S,Lb as P,Mc as h,Nc as I,Oc as x,Rb as v,Xb as _,bd as p,pc as f,pd as b,qc as C,td as s,ud as m,vc as r,wc as a,xc as c,yc as y}from"./chunk-GRSQHQHU.js";var A=["*"],D=()=>({name:"apple-pay"}),T=()=>({name:"google-pay"});function U(e,t){if(e&1&&(a(0,"a",1),l(1),s(2,"translate"),y(3,"lib-svg-icon",3),c()),e&2){let d=h();r("href",d.trustCommerceUrl,g),i(),p(" ",m(2,3,"Pay with")," "),i(2),r("params",b(5,D))}}function F(e,t){if(e&1&&(a(0,"a",2),l(1),s(2,"translate"),y(3,"lib-svg-icon",3),c()),e&2){let d=h();r("href",d.trustCommerceUrl,g),i(),p(" ",m(2,3,"Pay with")," "),i(2),r("params",b(5,T))}}var W=(()=>{let t=class t{constructor(u,o){this.checkInFlowService=u,this.deviceService=o,this.cardPaymentTriggered=new P,this.isApplePayAvailable=!!window.ApplePaySession,this.isGooglePayAvailable=!(this.deviceService.isCordovaApp()&&this.deviceService.isIOSPlatform()),this.isSelfCheckIn=this.checkInFlowService.isSelfCheckIn()}};t.\u0275fac=function(o){return new(o||t)(v(O),v(w))},t.\u0275cmp=_({type:t,selectors:[["app-payment-buttons"]],inputs:{trustCommerceUrl:"trustCommerceUrl"},outputs:{cardPaymentTriggered:"cardPaymentTriggered"},ngContentSelectors:A,decls:6,vars:5,consts:[["libButton","","type","button",1,"button",3,"click"],["libButton","",1,"button","apple-pay",3,"href"],["libButton","",1,"button","google-pay",3,"href"],[3,"params"]],template:function(o,n){o&1&&(I(),a(0,"button",0),S("click",function(){return n.cardPaymentTriggered.emit()}),l(1),s(2,"translate"),c(),f(3,U,4,6,"a",1),f(4,F,4,6,"a",2),x(5)),o&2&&(i(),p(" ",m(2,3,"PAY BY CARD"),` 2`),i(2),C(!n.isSelfCheckIn&&n.isApplePayAvailable&&n.trustCommerceUrl?3:-1),i(),C(!n.isSelfCheckIn&&n.isGooglePayAvailable&&n.trustCommerceUrl?4:-1))},dependencies:[M,B,k],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:.5rem}.button[_ngcontent-%COMP%]{width:15rem}.button.apple-pay[_ngcontent-%COMP%], .button.google-pay[_ngcontent-%COMP%]{background-color:#fff;color:#000;border:1px solid #000;font-family:Roboto-medium,sans-serif;padding:0;height:2.5rem;font-size:1rem;text-transform:none;gap:.25rem}.button.apple-pay[_ngcontent-%COMP%] lib-svg-icon[_ngcontent-%COMP%], .button.google-pay[_ngcontent-%COMP%] lib-svg-icon[_ngcontent-%COMP%]{--svg-width: 2.875rem;--svg-height: auto}.button.google-pay[_ngcontent-%COMP%]{color:#3c4043}"],changeDetection:0});let e=t;return e})();export{W as a};
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.