@paynext/sdk 0.0.71 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -109
- package/dist/index.es.js +6556 -10450
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +37 -37
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(re,ne){typeof exports=="object"&&typeof module!="undefined"?ne(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],ne):(re=typeof globalThis!="undefined"?globalThis:re||self,ne(re["PayNext SDK"]={},re.React))})(this,function(re,ne){"use strict";var tc=Object.defineProperty,rc=Object.defineProperties;var nc=Object.getOwnPropertyDescriptors;var La=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable;var Dt=(re,ne,oe)=>ne in re?tc(re,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):re[ne]=oe,K=(re,ne)=>{for(var oe in ne||(ne={}))ri.call(ne,oe)&&Dt(re,oe,ne[oe]);if(La)for(var oe of La(ne))ni.call(ne,oe)&&Dt(re,oe,ne[oe]);return re},ee=(re,ne)=>rc(re,nc(ne));var Ie=(re,ne)=>{var oe={};for(var be in re)ri.call(re,be)&&ne.indexOf(be)<0&&(oe[be]=re[be]);if(re!=null&&La)for(var be of La(re))ne.indexOf(be)<0&&ni.call(re,be)&&(oe[be]=re[be]);return oe};var A=(re,ne,oe)=>Dt(re,typeof ne!="symbol"?ne+"":ne,oe);var Y=(re,ne,oe)=>new Promise((be,Se)=>{var za=_e=>{try{Xe(oe.next(_e))}catch(Je){Se(Je)}},ka=_e=>{try{Xe(oe.throw(_e))}catch(Je){Se(Je)}},Xe=_e=>_e.done?be(_e.value):Promise.resolve(_e.value).then(za,ka);Xe((oe=oe.apply(re,ne)).next())});var oe=document.createElement("style");oe.textContent=`._spinner_k40uq_1{height:100%;width:100%}@keyframes _spin_k40uq_1{to{transform:rotate(360deg)}}._spinner_k40uq_1{animation:_spin_k40uq_1 1s linear infinite;fill:#9ca3af;--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}._spinner_k40uq_1:is(._dark_k40uq_1 *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}._spinnerContainer_k40uq_5{height:40px;width:40px}._success_k40uq_9{position:absolute;top:50%;left:50%;width:1.5rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#16a34a}._successContainer_k40uq_13{position:relative;display:grid;height:2.25rem;width:2.25rem;flex:none;place-items:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(232 250 240 / var(--tw-bg-opacity, 1))}._successContainer_k40uq_13:is(._dark_k40uq_1 *){--tw-bg-opacity: 1;background-color:rgb(209 244 224 / var(--tw-bg-opacity, 1))}._container_k40uq_17{width:30px;height:20px;display:flex;margin:0 1px;align-items:center;justify-content:center}._card_k40uq_26{width:28px;height:19px;display:flex;margin:0 1px;align-items:center;justify-content:center}._warning_k40uq_35{width:16px;height:16px;display:flex;align-items:center;justify-content:center}._svg_k40uq_43{width:100%;height:100%}._srOnly_k40uq_48{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}._backButton_k40uq_52{width:30px;height:30px;display:flex;margin:0 1px;align-items:center;justify-content:center;background-color:#f4f4f5;border-radius:8px}._loader_nwq3e_1{position:absolute;height:100%;top:0;left:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;width:100%;align-items:center;justify-content:center;border-radius:10px}._checkout_5sq3n_1{overflow:hidden;z-index:0;position:relative;height:auto;min-height:40px;width:100%;max-width:640px}._hidden_5sq3n_7{display:none!important}._formInitial_5sq3n_11{opacity:0;transform:translateY(100px)}._btnsInitial_5sq3n_16{opacity:0;transform:translateY(-100px)}._buttons_1i8cu_1{display:grid;gap:.5rem}._hidden_1i8cu_5{display:none!important}._applePay_1ce61_1{display:flex;flex-direction:column;gap:8px}._applePay_1ce61_1:hover{filter:contrast(.575) brightness(1.2)}._hidden_1ce61_26{display:none!important}._container_94v1h_1{display:flex;width:100%;flex-grow:1;flex-direction:row;align-items:center;justify-content:flex-start;-moz-column-gap:.25rem;column-gap:.25rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(254 231 239 / var(--tw-bg-opacity, 1));padding:.75rem 1rem}._container_94v1h_1:is(._dark_94v1h_1 *){background-color:#fee7ef80;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}._container_94v1h_1 svg{width:16px;height:16px}._title_94v1h_10{padding:0;padding-left:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:300;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._title_94v1h_10:is(._dark_94v1h_1 *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._googlePay_gmreq_1{display:flex;flex-direction:column;gap:8px}._hidden_gmreq_20{display:none!important}._paypal_90mm5_1{display:flex;flex-direction:column;gap:8px}._hidden_90mm5_12{display:none}._button_13xr0_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_13xr0_1{transition-property:none}}._button_13xr0_1 span{margin-left:.25rem}._button_13xr0_1:hover{opacity:.7}._button_13xr0_1:active{transform:scale(.95)}._conteiner_1j5pe_2{display:flex;flex-direction:column;gap:.5rem}._venmo_1j5pe_8{display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:12px;height:40px;background-color:#0088f7;width:100%;color:#fff;font-size:16px;text-align:center;cursor:pointer;transition:background-color .3s ease;svg{height:40%}&:hover{background-color:#5683c1}}._hidden_1j5pe_33{display:none}._button_125my_1{cursor:pointer}._button_191iv_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_191iv_1{transition-property:none}}._button_191iv_1 span{margin-left:.25rem}._disabled_191iv_17,._button_191iv_1:hover{opacity:.7}._press_191iv_22:active{transform:scale(.95)}._hidden_191iv_26{display:none!important}._spinner_191iv_30{width:24px;height:24px}._cardForm_kzlcj_1{display:grid;gap:.75rem;padding-top:0}._hidden_kzlcj_5{display:none!important}._topOffset_kzlcj_9{margin-top:.5rem}._wrapper_4knhb_1{position:relative}._inputContainer_4knhb_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_4knhb_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_4knhb_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_4knhb_10,._inputContainer_4knhb_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_4knhb_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_4knhb_20{display:flex}._errorInput_4knhb_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_4knhb_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_4knhb_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._label_4knhb_28{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_4knhb_32{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_4knhb_36{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_4knhb_40{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_4knhb_47{display:none!important}._wrapper_j8wuo_1{position:relative}._inputContainer_j8wuo_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_j8wuo_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_j8wuo_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_j8wuo_10,._inputContainer_j8wuo_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_j8wuo_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_j8wuo_20{display:flex}._errorInput_j8wuo_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_j8wuo_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_j8wuo_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_j8wuo_24{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_j8wuo_32{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_j8wuo_36{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_j8wuo_40{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_j8wuo_44{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_j8wuo_51{display:none!important}._wrapper_1xdj3_1{position:relative}._inputContainer_1xdj3_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_1xdj3_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_1xdj3_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1xdj3_10,._inputContainer_1xdj3_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_1xdj3_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1xdj3_20{display:flex;align-items:center;justify-content:center}._errorInput_1xdj3_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1xdj3_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1xdj3_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_1xdj3_24{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_1xdj3_32{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1xdj3_36{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1xdj3_40{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1xdj3_44{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1xdj3_51{display:none!important}._securityContent_1xdj3_55{display:grid;grid-column-gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,auto))}._container_hoha1_1{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center}._title_hoha1_5{margin-top:.5rem;font-weight:300}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(oe);class be{constructor(e){A(this,"parent");A(this,"core");typeof window!="undefined"&&(this.parent=e)}mount(e){return Y(this,null,function*(){if(!this.parent)return;if(!this.core){const i=(yield Promise.resolve().then(()=>ec)).Core;this.core=new i}e.styles&&this.core.state.styles.setState(e.styles);const a=yield this.core.checkout.mount();this.parent.innerHTML="",this.parent.appendChild(a),this.core.state.checkout.setState(e)})}unmount(){return Y(this,null,function*(){!this.parent||!this.core||(this.parent.innerHTML="",this.core.clearState())})}}let Se=null;function za(){return Y(this,null,function*(){return Se||(Se=new Promise((t,e)=>{const a=document.createElement("script");if(a.src="https://js.evervault.com/v2",a.onload=()=>t(),a.onerror=()=>{Se=null,e()},!document.head)throw new Error("Expected document.head not to be null. Evervault.js requires a <head> element.");document.head.appendChild(a)}),Se)})}function ka(){return Y(this,null,function*(){if(window.Evervault)return window.Evervault;try{return yield za(),window.Evervault}catch(t){throw new Error("Failed to load Evervault.js")}})}function Xe(t,e,a){return Y(this,null,function*(){const r=yield ka();return new r(t,e,a)})}Promise.resolve().then(()=>{ka()});let _e=class{constructor(e){A(this,"apple",null);A(this,"isAvailable",!1);A(this,"onReady");this.ev=e}init(d,c){return Y(this,arguments,function*({transaction:e,locale:a,supportedCardTypes:r,onReady:i,onError:n,onSuccess:s,onCancel:o},l){const u=this.ev.transactions.create(e);this.apple=this.ev.ui.applePay(u,ee(K({locale:a,borderRadius:12,size:{width:"100%",height:"40px"}},l==null?void 0:l.styles),{allowedCardNetworks:r,requestBillingAddress:!0,requestPayerDetails:["name","email","phone"],process:(y,f)=>Y(this,[y,f],function*(p,{fail:m}){try{s==null||s(p)}catch(g){console.error(g),m({message:"Cannot pay with payment credentials"})}})}));const h=yield this.apple.availability();this.isAvailable=!0,console.log("Apple Pay availability",h),this.isAvailable||console.error("Apple Pay is not available",h),n&&this.apple.on("error",n),o&&this.apple.on("cancel",o),this.onReady=i})}render(e){return Y(this,null,function*(){var a;!this.apple||!this.isAvailable||(e.innerHTML="",yield this.apple.mount(e),(a=this.onReady)==null||a.call(this))})}},Je=class{constructor(e){A(this,"google",null);this.ev=e}init(l,d){return Y(this,arguments,function*({transaction:e,locale:a,onReady:r,onError:i,onSuccess:n,onCancel:s},o){const c=this.ev.transactions.create(e);this.google=this.ev.ui.googlePay(c,ee(K({locale:a,size:{width:"100%",height:"42px"},borderRadius:12,billingAddress:{phoneNumber:!0}},o==null?void 0:o.styles),{process:(p,m)=>Y(this,[p,m],function*(u,{fail:h}){try{n==null||n(u)}catch(y){console.error(y),h({message:"Cannot pay with payment credentials"})}})})),s&&this.google.on("cancel",s),r&&this.google.on("ready",r),i&&this.google.on("error",i)})}render(e){return Y(this,null,function*(){this.google&&(e.innerHTML="",this.google.mount(e))})}};class he{constructor(){A(this,"listeners",[])}removeListener(e){this.listeners=this.listeners.filter(a=>a!==e)}addListener(e){return this.listeners.push(e),()=>this.removeListener(e)}emit(e){for(const a of this.listeners)a(e)}clear(){this.listeners=[]}}class ii{constructor(e){A(this,"threeDs",null);this.ev=e}init(n){return Y(this,arguments,function*({threeDsId:e,onReady:a,onSuccess:r,onError:i}){this.threeDs=this.ev.ui.threeDSecure(e),this.threeDs.on("ready",()=>a==null?void 0:a()),this.threeDs.on("success",()=>r==null?void 0:r()),this.threeDs.on("failure",()=>i==null?void 0:i()),this.threeDs.on("error",()=>i==null?void 0:i())})}render(e){return Y(this,null,function*(){this.threeDs&&this.threeDs.mount(e)})}}class oi{constructor(){A(this,"isReady",!1);A(this,"ev",null);A(this,"apple",null);A(this,"google",null);A(this,"threeDs",null);A(this,"events",{ready:new he})}isShouldLoad({teamId:e,appId:a}){var r,i;return((r=this.ev)==null?void 0:r.config.appId)!==a||((i=this.ev)==null?void 0:i.config.teamId)!==e}initEv(e){return Y(this,null,function*(){this.isShouldLoad(e)&&(this.isReady=!1,this.ev=yield Xe(e.teamId,e.appId),this.apple=new _e(this.ev),this.google=new Je(this.ev),this.events.ready.emit(),this.isReady=!0)})}initThreeDs(e){return Y(this,null,function*(){if(!this.ev)throw new Error("Evervault should be init before using Three DS Secure");this.threeDs=new ii(this.ev),yield this.threeDs.init(e),yield this.threeDs.render()})}initApple(e,a){return Y(this,null,function*(){if(!this.apple)throw new Error("Evervault should be init before using Apple Pay");yield this.apple.init(e,a)})}initGoogle(e,a){return Y(this,null,function*(){if(!this.google)throw new Error("Evervault should be init before using Google Pay");yield this.google.init(e,a)})}isAppleAvailable(){var e;return!!((e=this.apple)!=null&&e.isAvailable)}addEventListener(e,a){return this.events[e].addListener(a)}renderApple(e){return Y(this,null,function*(){var a;return yield(a=this.apple)==null?void 0:a.render(e)})}renderGoogle(e){return Y(this,null,function*(){var a;return yield(a=this.google)==null?void 0:a.render(e)})}getEv(){if(!this.ev)throw new Error("Evervault should be init before getting instance");return this.ev}}function Sa(t){return typeof t=="object"&&!Array.isArray(t)}function si(t,e,a){var r;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;const n=(r=a==null?void 0:a[t])!=null?r:i.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}function Lt(t,e,a,r){return typeof t=="string"&&Sa(e)?si(t,a,r):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function li(t,e,a){return t*(e+1)}function zt(t,e,a,r){var i;return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?a:(i=r.get(e))!=null?i:t}const ea=(t,e,a)=>t+(e-t)*a,di=(t,e,a)=>{const r=e-t;return((a-t)%r+r)%r+t},St=t=>Array.isArray(t)&&typeof t[0]!="number";function Mt(t,e){return St(t)?t[di(0,t.length,e)]:t}function ci(t,e){t.indexOf(e)===-1&&t.push(e)}function jt(t,e){const a=t.indexOf(e);a>-1&&t.splice(a,1)}function ui(t,e,a){for(let r=0;r<t.length;r++){const i=t[r];i.at>e&&i.at<a&&(jt(t,i),r--)}}function pi(t,e,a,r,i,n){ui(t,i,n);for(let s=0;s<e.length;s++)t.push({value:e[s],at:ea(i,n,r[s]),easing:Mt(a,s)})}function hi(t,e){for(let a=0;a<t.length;a++)t[a]=t[a]/(e+1)}function mi(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}const fe=t=>!!(t&&t.getVelocity),Ma=(t,e,a)=>{const r=e-t;return r===0?1:(a-t)/r};function Vt(t,e){const a=t[t.length-1];for(let r=1;r<=e;r++){const i=Ma(0,e,r);t.push(ea(a,1,i))}}function Ft(t){const e=[0];return Vt(e,t.length-1),e}function ja(t){return typeof t=="function"&&"applyToOptions"in t}const Aa=2e4;function Va(t){let e=0;const a=50;let r=t.next(e);for(;!r.done&&e<Aa;)e+=a,r=t.next(e);return e>=Aa?1/0:e}const Ee=t=>t*1e3,we=t=>t/1e3;function Bt(t,e=100,a){const r=a(ee(K({},t),{keyframes:[0,e]})),i=Math.min(Va(r),Aa);return{type:"keyframes",ease:n=>r.next(i*n).value/e,duration:we(i)}}let aa=()=>{},Re=()=>{};process.env.NODE_ENV!=="production"&&(aa=(t,e)=>{!t&&typeof console!="undefined"&&console.warn(e)},Re=(t,e)=>{if(!t)throw new Error(e)});const yi="easeInOut",fi=20;function vi(t,n={},r,i){var s=n,{defaultTransition:e={}}=s,a=Ie(s,["defaultTransition"]);const o=e.duration||.3,l=new Map,d=new Map,c={},u=new Map;let h=0,p=0,m=0;for(let y=0;y<t.length;y++){const f=t[y];if(typeof f=="string"){u.set(f,p);continue}else if(!Array.isArray(f)){u.set(f.name,zt(p,f.at,h,u));continue}let[g,E,N={}]=f;N.at!==void 0&&(p=zt(p,N.at,h,u));let w=0;const I=(x,_,L,V=0,H=0)=>{const G=gi(x),S=_,{delay:j=0,times:B=Ft(G),type:U="keyframes",repeat:J,repeatType:z,repeatDelay:W=0}=S,q=Ie(S,["delay","times","type","repeat","repeatType","repeatDelay"]);let{ease:k=e.ease||"easeOut",duration:v}=_;const O=typeof j=="function"?j(V,H):j,M=G.length,P=ja(U)?U:i==null?void 0:i[U];if(M<=2&&P){let C=100;if(M===2&&ki(G)){const ie=G[1]-G[0];C=Math.abs(ie)}const F=K({},q);v!==void 0&&(F.duration=Ee(v));const Q=Bt(F,C,P);k=Q.ease,v=Q.duration}v!=null||(v=o);const T=p+O;B.length===1&&B[0]===0&&(B[1]=1);const b=B.length-G.length;if(b>0&&Vt(B,b),G.length===1&&G.unshift(null),J){Re(J<fi,"Repeat count too high, must be less than 20"),v=li(v,J);const C=[...G],F=[...B];k=Array.isArray(k)?[...k]:[k];const Q=[...k];for(let ie=0;ie<J;ie++){G.push(...C);for(let D=0;D<C.length;D++)B.push(F[D]+(ie+1)),k.push(D===0?"linear":Mt(Q,D-1))}hi(B,J)}const R=T+v;pi(L,G,k,B,T,R),w=Math.max(O+v,w),m=Math.max(R,m)};if(fe(g)){const x=Ut(g,d);I(E,N,Kt("default",x))}else{const x=Lt(g,E,r,c),_=x.length;for(let L=0;L<_;L++){E=E,N=N;const V=x[L],H=Ut(V,d);for(const G in E)I(E[G],Pi(N,G),Kt(G,H),L,_)}}h=p,p+=w}return d.forEach((y,f)=>{for(const g in y){const E=y[g];E.sort(mi);const N=[],w=[],I=[];for(let _=0;_<E.length;_++){const{at:L,value:V,easing:H}=E[_];N.push(V),w.push(Ma(0,m,L)),I.push(H||"easeOut")}w[0]!==0&&(w.unshift(0),N.unshift(N[0]),I.unshift(yi)),w[w.length-1]!==1&&(w.push(1),N.push(null)),l.has(f)||l.set(f,{keyframes:{},transition:{}});const x=l.get(f);x.keyframes[g]=N,x.transition[g]=K(ee(K({},e),{duration:m,ease:I,times:w}),a)}}),l}function Ut(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function Kt(t,e){return e[t]||(e[t]=[]),e[t]}function gi(t){return Array.isArray(t)?t:[t]}function Pi(t,e){return t&&t[e]?K(K({},t),t[e]):K({},t)}const bi=t=>typeof t=="number",ki=t=>t.every(bi),ta=new WeakMap,Ai=t=>Array.isArray(t);function qt(t){const e=[{},{}];return t==null||t.values.forEach((a,r)=>{e[0][r]=a.get(),e[1][r]=a.getVelocity()}),e}function Ht(t,e,a,r){if(typeof e=="function"){const[i,n]=qt(r);e=e(a!==void 0?a:t.custom,i,n)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,n]=qt(r);e=e(a!==void 0?a:t.custom,i,n)}return e}function Ci(t,e,a){const r=t.getProps();return Ht(r,e,r.custom,t)}const Ca=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Ei(t,e){let a=new Set,r=new Set,i=!1,n=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(c){s.has(c)&&(d.schedule(c),t()),c(o)}const d={schedule:(c,u=!1,h=!1)=>{const m=h&&i?a:r;return u&&s.add(c),m.has(c)||m.add(c),c},cancel:c=>{r.delete(c),s.delete(c)},process:c=>{if(o=c,i){n=!0;return}i=!0,[a,r]=[r,a],a.forEach(l),a.clear(),i=!1,n&&(n=!1,d.process(c))}};return d}const xe={},Ti=40;function Ii(t,e){let a=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},n=()=>a=!0,s=Ca.reduce((N,w)=>(N[w]=Ei(n),N),{}),{setup:o,read:l,resolveKeyframes:d,preUpdate:c,update:u,preRender:h,render:p,postRender:m}=s,y=()=>{const N=xe.useManualTiming?i.timestamp:performance.now();a=!1,xe.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(N-i.timestamp,Ti),1)),i.timestamp=N,i.isProcessing=!0,o.process(i),l.process(i),d.process(i),c.process(i),u.process(i),h.process(i),p.process(i),m.process(i),i.isProcessing=!1,a&&e&&(r=!1,t(y))},f=()=>{a=!0,r=!0,i.isProcessing||t(y)};return{schedule:Ca.reduce((N,w)=>{const I=s[w];return N[w]=(x,_=!1,L=!1)=>(a||f(),I.schedule(x,_,L)),N},{}),cancel:N=>{for(let w=0;w<Ca.length;w++)s[Ca[w]].cancel(N)},state:i,steps:s}}const Ue=t=>t,{schedule:Oe,cancel:Fa,state:Ea}=Ii(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:Ue,!0);let Ta;function Ni(){Ta=void 0}const ke={now:()=>(Ta===void 0&&ke.set(Ea.isProcessing||xe.useManualTiming?Ea.timestamp:performance.now()),Ta),set:t=>{Ta=t,queueMicrotask(Ni)}},Yt=new Set;function Gt(t,e,a){t||Yt.has(e)||(console.warn(e),Yt.add(e))}class Wt{constructor(){this.subscriptions=[]}add(e){return ci(this.subscriptions,e),()=>jt(this.subscriptions,e)}notify(e,a,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,a,r);else for(let n=0;n<i;n++){const s=this.subscriptions[n];s&&s(e,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function $t(t,e){return e?t*(1e3/e):0}const Qt=30,_i=t=>!isNaN(parseFloat(t));class wi{constructor(e,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{var s,o;const n=ke.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty();i&&((o=this.events.renderRequest)==null||o.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=a.owner}setCurrent(e){this.current=e,this.updatedAt=ke.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=_i(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&Gt(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,a){this.events[e]||(this.events[e]=new Wt);const r=this.events[e].add(a);return e==="change"?()=>{r(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,a){this.passiveEffect=e,this.stopPassiveEffect=a}set(e,a=!0){!a||!this.passiveEffect?this.updateAndNotify(e,a):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,a=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Qt)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Qt);return $t(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(e){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=e(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,a;(e=this.dependents)==null||e.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ra(t,e){return new wi(t,e)}function Ri(t,e,a){t.hasValue(e)?t.getValue(e).set(a):t.addValue(e,ra(a))}function xi(t){return Ai(t)?t[t.length-1]||0:t}function Oi(t,e){let s=Ci(t,e)||{},{transitionEnd:r={},transition:i={}}=s,n=Ie(s,["transitionEnd","transition"]);n=K(K({},n),r);for(const o in n){const l=xi(n[o]);Ri(t,o,l)}}function Di(t){return!!(fe(t)&&t.add)}function Li(t,e){const a=t.getValue("willChange");if(Di(a))return a.add(e);if(!a&&xe.WillChange){const r=new xe.WillChange("auto");t.addValue("willChange",r),r.add(e)}}const Ba=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),zi="data-"+Ba("framerAppearId");function Si(t){return t.props[zi]}const Mi=t=>t!==null;function ji(t,{repeat:e,repeatType:a="loop"},r){const i=t.filter(Mi),n=e&&a!=="loop"&&e%2===1?0:i.length-1;return i[n]}const Ke=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qe=new Set(Ke),Vi={type:"spring",stiffness:500,damping:25,restSpeed:10},Fi=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Bi={type:"keyframes",duration:.8},Ui={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ki=(t,{keyframes:e})=>e.length>2?Bi:qe.has(t)?t.startsWith("scale")?Fi(e[1]):Vi:Ui;function qi(u){var h=u,{when:t,delay:e,delayChildren:a,staggerChildren:r,staggerDirection:i,repeat:n,repeatType:s,repeatDelay:o,from:l,elapsed:d}=h,c=Ie(h,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);return!!Object.keys(c).length}function Zt(t,e){var a,r;return(r=(a=t==null?void 0:t[e])!=null?a:t==null?void 0:t.default)!=null?r:t}const Xt=t=>e=>typeof e=="string"&&e.startsWith(t),Jt=Xt("--"),Hi=Xt("var(--"),Ua=t=>Hi(t)?Yi.test(t.split("/*")[0].trim()):!1,Yi=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Me=(t,e,a)=>a>e?e:a<t?t:a,He={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},na=ee(K({},He),{transform:t=>Me(0,1,t)}),Ia=ee(K({},He),{default:1}),ia=t=>Math.round(t*1e5)/1e5,Ka=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gi(t){return t==null}const Wi=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qa=(t,e)=>a=>!!(typeof a=="string"&&Wi.test(a)&&a.startsWith(t)||e&&!Gi(a)&&Object.prototype.hasOwnProperty.call(a,e)),er=(t,e,a)=>r=>{if(typeof r!="string")return r;const[i,n,s,o]=r.match(Ka);return{[t]:parseFloat(i),[e]:parseFloat(n),[a]:parseFloat(s),alpha:o!==void 0?parseFloat(o):1}},$i=t=>Me(0,255,t),Ha=ee(K({},He),{transform:t=>Math.round($i(t))}),je={test:qa("rgb","red"),parse:er("red","green","blue"),transform:({red:t,green:e,blue:a,alpha:r=1})=>"rgba("+Ha.transform(t)+", "+Ha.transform(e)+", "+Ha.transform(a)+", "+ia(na.transform(r))+")"};function Qi(t){let e="",a="",r="",i="";return t.length>5?(e=t.substring(1,3),a=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),a=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,a+=a,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ya={test:qa("#"),parse:Qi,transform:je.transform},oa=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),De=oa("deg"),Ye=oa("%"),Z=oa("px"),Zi=oa("vh"),Xi=oa("vw"),ar=ee(K({},Ye),{parse:t=>Ye.parse(t)/100,transform:t=>Ye.transform(t*100)}),Ge={test:qa("hsl","hue"),parse:er("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:a,alpha:r=1})=>"hsla("+Math.round(t)+", "+Ye.transform(ia(e))+", "+Ye.transform(ia(a))+", "+ia(na.transform(r))+")"},me={test:t=>je.test(t)||Ya.test(t)||Ge.test(t),parse:t=>je.test(t)?je.parse(t):Ge.test(t)?Ge.parse(t):Ya.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?je.transform(t):Ge.transform(t)},Ji=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function eo(t){var e,a;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Ka))==null?void 0:e.length)||0)+(((a=t.match(Ji))==null?void 0:a.length)||0)>0}const tr="number",rr="color",ao="var",to="var(",nr="${}",ro=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function sa(t){const e=t.toString(),a=[],r={color:[],number:[],var:[]},i=[];let n=0;const o=e.replace(ro,l=>(me.test(l)?(r.color.push(n),i.push(rr),a.push(me.parse(l))):l.startsWith(to)?(r.var.push(n),i.push(ao),a.push(l)):(r.number.push(n),i.push(tr),a.push(parseFloat(l))),++n,nr)).split(nr);return{values:a,split:o,indexes:r,types:i}}function ir(t){return sa(t).values}function or(t){const{split:e,types:a}=sa(t),r=e.length;return i=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],i[s]!==void 0){const o=a[s];o===tr?n+=ia(i[s]):o===rr?n+=me.transform(i[s]):n+=i[s]}return n}}const no=t=>typeof t=="number"?0:t;function io(t){const e=ir(t);return or(t)(e.map(no))}const We={test:eo,parse:ir,createTransformer:or,getAnimatableNone:io};function Ga(t,e,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?t+(e-t)*6*a:a<1/2?e:a<2/3?t+(e-t)*(2/3-a)*6:t}function oo({hue:t,saturation:e,lightness:a,alpha:r}){t/=360,e/=100,a/=100;let i=0,n=0,s=0;if(!e)i=n=s=a;else{const o=a<.5?a*(1+e):a+e-a*e,l=2*a-o;i=Ga(l,o,t+1/3),n=Ga(l,o,t),s=Ga(l,o,t-1/3)}return{red:Math.round(i*255),green:Math.round(n*255),blue:Math.round(s*255),alpha:r}}function Na(t,e){return a=>a>0?e:t}const Wa=(t,e,a)=>{const r=t*t,i=a*(e*e-r)+r;return i<0?0:Math.sqrt(i)},so=[Ya,je,Ge],lo=t=>so.find(e=>e.test(t));function sr(t){const e=lo(t);if(aa(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let a=e.parse(t);return e===Ge&&(a=oo(a)),a}const lr=(t,e)=>{const a=sr(t),r=sr(e);if(!a||!r)return Na(t,e);const i=K({},a);return n=>(i.red=Wa(a.red,r.red,n),i.green=Wa(a.green,r.green,n),i.blue=Wa(a.blue,r.blue,n),i.alpha=ea(a.alpha,r.alpha,n),je.transform(i))},$a=new Set(["none","hidden"]);function co(t,e){return $a.has(t)?a=>a<=0?t:e:a=>a>=1?e:t}const uo=(t,e)=>a=>e(t(a)),Qa=(...t)=>t.reduce(uo);function po(t,e){return a=>ea(t,e,a)}function Za(t){return typeof t=="number"?po:typeof t=="string"?Ua(t)?Na:me.test(t)?lr:yo:Array.isArray(t)?dr:typeof t=="object"?me.test(t)?lr:ho:Na}function dr(t,e){const a=[...t],r=a.length,i=t.map((n,s)=>Za(n)(n,e[s]));return n=>{for(let s=0;s<r;s++)a[s]=i[s](n);return a}}function ho(t,e){const a=K(K({},t),e),r={};for(const i in a)t[i]!==void 0&&e[i]!==void 0&&(r[i]=Za(t[i])(t[i],e[i]));return i=>{for(const n in r)a[n]=r[n](i);return a}}function mo(t,e){var i;const a=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){const s=e.types[n],o=t.indexes[s][r[s]],l=(i=t.values[o])!=null?i:0;a[n]=l,r[s]++}return a}const yo=(t,e)=>{const a=We.createTransformer(e),r=sa(t),i=sa(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?$a.has(t)&&!i.values.length||$a.has(e)&&!r.values.length?co(t,e):Qa(dr(mo(r,i),i.values),a):(aa(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Na(t,e))};function cr(t,e,a){return typeof t=="number"&&typeof e=="number"&&typeof a=="number"?ea(t,e,a):Za(t)(t,e)}const fo=t=>{const e=({timestamp:a})=>t(a);return{start:(a=!0)=>Oe.update(e,a),stop:()=>Fa(e),now:()=>Ea.isProcessing?Ea.timestamp:ke.now()}},ur=(t,e,a=10)=>{let r="";const i=Math.max(Math.round(e/a),2);for(let n=0;n<i;n++)r+=t(n/(i-1))+", ";return`linear(${r.substring(0,r.length-2)})`},vo=5;function pr(t,e,a){const r=Math.max(e-vo,0);return $t(a-t(r),e-r)}const le={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Xa=.001;function go({duration:t=le.duration,bounce:e=le.bounce,velocity:a=le.velocity,mass:r=le.mass}){let i,n;aa(t<=Ee(le.maxDuration),"Spring duration must be 10 seconds or less");let s=1-e;s=Me(le.minDamping,le.maxDamping,s),t=Me(le.minDuration,le.maxDuration,we(t)),s<1?(i=d=>{const c=d*s,u=c*t,h=c-a,p=Ja(d,s),m=Math.exp(-u);return Xa-h/p*m},n=d=>{const u=d*s*t,h=u*a+a,p=Math.pow(s,2)*Math.pow(d,2)*t,m=Math.exp(-u),y=Ja(Math.pow(d,2),s);return(-i(d)+Xa>0?-1:1)*((h-p)*m)/y}):(i=d=>{const c=Math.exp(-d*t),u=(d-a)*t+1;return-Xa+c*u},n=d=>{const c=Math.exp(-d*t),u=(a-d)*(t*t);return c*u});const o=5/t,l=bo(i,n,o);if(t=Ee(t),isNaN(l))return{stiffness:le.stiffness,damping:le.damping,duration:t};{const d=Math.pow(l,2)*r;return{stiffness:d,damping:s*2*Math.sqrt(r*d),duration:t}}}const Po=12;function bo(t,e,a){let r=a;for(let i=1;i<Po;i++)r=r-t(r)/e(r);return r}function Ja(t,e){return t*Math.sqrt(1-e*e)}const ko=["duration","bounce"],Ao=["stiffness","damping","mass"];function hr(t,e){return e.some(a=>t[a]!==void 0)}function Co(t){let e=K({velocity:le.velocity,stiffness:le.stiffness,damping:le.damping,mass:le.mass,isResolvedFromDuration:!1},t);if(!hr(t,Ao)&&hr(t,ko))if(t.visualDuration){const a=t.visualDuration,r=2*Math.PI/(a*1.2),i=r*r,n=2*Me(.05,1,1-(t.bounce||0))*Math.sqrt(i);e=ee(K({},e),{mass:le.mass,stiffness:i,damping:n})}else{const a=go(t);e=ee(K(K({},e),a),{mass:le.mass}),e.isResolvedFromDuration=!0}return e}function la(t=le.visualDuration,e=le.bounce){const a=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=a;const n=a.keyframes[0],s=a.keyframes[a.keyframes.length-1],o={done:!1,value:n},{stiffness:l,damping:d,mass:c,duration:u,velocity:h,isResolvedFromDuration:p}=Co(ee(K({},a),{velocity:-we(a.velocity||0)})),m=h||0,y=d/(2*Math.sqrt(l*c)),f=s-n,g=we(Math.sqrt(l/c)),E=Math.abs(f)<5;r||(r=E?le.restSpeed.granular:le.restSpeed.default),i||(i=E?le.restDelta.granular:le.restDelta.default);let N;if(y<1){const I=Ja(g,y);N=x=>{const _=Math.exp(-y*g*x);return s-_*((m+y*g*f)/I*Math.sin(I*x)+f*Math.cos(I*x))}}else if(y===1)N=I=>s-Math.exp(-g*I)*(f+(m+g*f)*I);else{const I=g*Math.sqrt(y*y-1);N=x=>{const _=Math.exp(-y*g*x),L=Math.min(I*x,300);return s-_*((m+y*g*f)*Math.sinh(L)+I*f*Math.cosh(L))/I}}const w={calculatedDuration:p&&u||null,next:I=>{const x=N(I);if(p)o.done=I>=u;else{let _=I===0?m:0;y<1&&(_=I===0?Ee(m):pr(N,I,x));const L=Math.abs(_)<=r,V=Math.abs(s-x)<=i;o.done=L&&V}return o.value=o.done?s:x,o},toString:()=>{const I=Math.min(Va(w),Aa),x=ur(_=>w.next(I*_).value,I,30);return I+"ms "+x},toTransition:()=>{}};return w}la.applyToOptions=t=>{const e=Bt(t,100,la);return t.ease=e.ease,t.duration=Ee(e.duration),t.type="keyframes",t};function et({keyframes:t,velocity:e=0,power:a=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:n=500,modifyTarget:s,min:o,max:l,restDelta:d=.5,restSpeed:c}){const u=t[0],h={done:!1,value:u},p=L=>o!==void 0&&L<o||l!==void 0&&L>l,m=L=>o===void 0?l:l===void 0||Math.abs(o-L)<Math.abs(l-L)?o:l;let y=a*e;const f=u+y,g=s===void 0?f:s(f);g!==f&&(y=g-u);const E=L=>-y*Math.exp(-L/r),N=L=>g+E(L),w=L=>{const V=E(L),H=N(L);h.done=Math.abs(V)<=d,h.value=h.done?g:H};let I,x;const _=L=>{p(h.value)&&(I=L,x=la({keyframes:[h.value,m(h.value)],velocity:pr(N,L,h.value),damping:i,stiffness:n,restDelta:d,restSpeed:c}))};return _(0),{calculatedDuration:null,next:L=>{let V=!1;return!x&&I===void 0&&(V=!0,w(L),_(L)),I!==void 0&&L>=I?x.next(L-I):(!V&&w(L),h)}}}function Eo(t,e,a){const r=[],i=a||xe.mix||cr,n=t.length-1;for(let s=0;s<n;s++){let o=i(t[s],t[s+1]);if(e){const l=Array.isArray(e)?e[s]||Ue:e;o=Qa(l,o)}r.push(o)}return r}function To(t,e,{clamp:a=!0,ease:r,mixer:i}={}){const n=t.length;if(Re(n===e.length,"Both input and output ranges must be the same length"),n===1)return()=>e[0];if(n===2&&e[0]===e[1])return()=>e[1];const s=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=Eo(e,r,i),l=o.length,d=c=>{if(s&&c<t[0])return e[0];let u=0;if(l>1)for(;u<t.length-2&&!(c<t[u+1]);u++);const h=Ma(t[u],t[u+1],c);return o[u](h)};return a?c=>d(Me(t[0],t[n-1],c)):d}function Io(t,e){return t.map(a=>a*e)}const mr=(t,e,a)=>(((1-3*a+3*e)*t+(3*a-6*e))*t+3*e)*t,No=1e-7,_o=12;function wo(t,e,a,r,i){let n,s,o=0;do s=e+(a-e)/2,n=mr(s,r,i)-t,n>0?a=s:e=s;while(Math.abs(n)>No&&++o<_o);return s}function da(t,e,a,r){if(t===e&&a===r)return Ue;const i=n=>wo(n,0,1,t,a);return n=>n===0||n===1?n:mr(i(n),e,r)}const Ro=da(.42,0,1,1),xo=da(0,0,.58,1),yr=da(.42,0,.58,1),fr=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,vr=t=>e=>1-t(1-e),gr=da(.33,1.53,.69,.99),at=vr(gr),Pr=fr(at),br=t=>(t*=2)<1?.5*at(t):.5*(2-Math.pow(2,-10*(t-1))),tt=t=>1-Math.sin(Math.acos(t)),Oo=vr(tt),kr=fr(tt),Ar=t=>Array.isArray(t)&&typeof t[0]=="number",Cr={linear:Ue,easeIn:Ro,easeInOut:yr,easeOut:xo,circIn:tt,circInOut:kr,circOut:Oo,backIn:at,backInOut:Pr,backOut:gr,anticipate:br},Do=t=>typeof t=="string",Er=t=>{if(Ar(t)){Re(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,a,r,i]=t;return da(e,a,r,i)}else if(Do(t))return Re(Cr[t]!==void 0,`Invalid easing type '${t}'`),Cr[t];return t};function Lo(t,e){return t.map(()=>e||yr).splice(0,t.length-1)}function $e({duration:t=300,keyframes:e,times:a,ease:r="easeInOut"}){const i=St(r)?r.map(Er):Er(r),n={done:!1,value:e[0]},s=Io(a&&a.length===e.length?a:Ft(e),t),o=To(s,e,{ease:Array.isArray(i)?i:Lo(e,i)});return{calculatedDuration:t,next:l=>(n.value=o(l),n.done=l>=t,n)}}const zo=t=>t!==null;function rt(t,{repeat:e,repeatType:a="loop"},r,i=1){const n=t.filter(zo),o=i<0||e&&a!=="loop"&&e%2===1?0:n.length-1;return!o||r===void 0?n[o]:r}const So={decay:et,inertia:et,tween:$e,keyframes:$e,spring:la};function Tr(t){typeof t.type=="string"&&(t.type=So[t.type])}class nt{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,a){return this.finished.then(e,a)}}const Mo=t=>t/100;class it extends nt{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:a}=this.options;a&&a.updatedAt!==ke.now()&&this.tick(ke.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Tr(e);const{type:a=$e,repeat:r=0,repeatDelay:i=0,repeatType:n,velocity:s=0}=e;let{keyframes:o}=e;const l=a||$e;process.env.NODE_ENV!=="production"&&l!==$e&&Re(o.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`),l!==$e&&typeof o[0]!="number"&&(this.mixKeyframes=Qa(Mo,cr(o[0],o[1])),o=[0,100]);const d=l(ee(K({},e),{keyframes:o}));n==="mirror"&&(this.mirroredGenerator=l(ee(K({},e),{keyframes:[...o].reverse(),velocity:-s}))),d.calculatedDuration===null&&(d.calculatedDuration=Va(d));const{calculatedDuration:c}=d;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=d}updateTime(e){const a=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(e,a=!1){const{generator:r,totalDuration:i,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:c,repeat:u,repeatType:h,repeatDelay:p,type:m,onUpdate:y,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),a?this.currentTime=e:this.updateTime(e);const g=this.currentTime-d*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let N=this.currentTime,w=r;if(u){const L=Math.min(this.currentTime,i)/o;let V=Math.floor(L),H=L%1;!H&&L>=1&&(H=1),H===1&&V--,V=Math.min(V,u+1),!!(V%2)&&(h==="reverse"?(H=1-H,p&&(H-=p/o)):h==="mirror"&&(w=s)),N=Me(0,1,H)*o}const I=E?{done:!1,value:c[0]}:w.next(N);n&&(I.value=n(I.value));let{done:x}=I;!E&&l!==null&&(x=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&x);return _&&m!==et&&(I.value=rt(c,this.options,f,this.speed)),y&&y(I.value),_&&this.finish(),I}then(e,a){return this.finished.then(e,a)}get duration(){return we(this.calculatedDuration)}get time(){return we(this.currentTime)}set time(e){var a;e=Ee(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(a=this.driver)==null||a.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(ke.now());const a=this.playbackSpeed!==e;this.playbackSpeed=e,a&&(this.time=we(this.currentTime))}play(){var i,n;if(this.isStopped)return;const{driver:e=fo,startTime:a}=this.options;this.driver||(this.driver=e(s=>this.tick(s))),(n=(i=this.options).onPlay)==null||n.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a!=null?a:r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ke.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(e=this.options).onComplete)==null||a.call(e)}cancel(){var e,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(e=this.options).onCancel)==null||a.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),e.observe(this)}}function jo(t){var e;for(let a=1;a<t.length;a++)(e=t[a])!=null||(t[a]=t[a-1])}const Ve=t=>t*180/Math.PI,ot=t=>{const e=Ve(Math.atan2(t[1],t[0]));return st(e)},Vo={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ot,rotateZ:ot,skewX:t=>Ve(Math.atan(t[1])),skewY:t=>Ve(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},st=t=>(t=t%360,t<0&&(t+=360),t),Ir=ot,Nr=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),_r=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Fo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Nr,scaleY:_r,scale:t=>(Nr(t)+_r(t))/2,rotateX:t=>st(Ve(Math.atan2(t[6],t[5]))),rotateY:t=>st(Ve(Math.atan2(-t[2],t[0]))),rotateZ:Ir,rotate:Ir,skewX:t=>Ve(Math.atan(t[4])),skewY:t=>Ve(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function lt(t){return t.includes("scale")?1:0}function dt(t,e){if(!t||t==="none")return lt(e);const a=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(a)r=Fo,i=a;else{const o=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Vo,i=o}if(!i)return lt(e);const n=r[e],s=i[1].split(",").map(Uo);return typeof n=="function"?n(s):s[n]}const Bo=(t,e)=>{const{transform:a="none"}=getComputedStyle(t);return dt(a,e)};function Uo(t){return parseFloat(t.trim())}const wr=t=>t===He||t===Z,Ko=new Set(["x","y","z"]),qo=Ke.filter(t=>!Ko.has(t));function Ho(t){const e=[];return qo.forEach(a=>{const r=t.getValue(a);r!==void 0&&(e.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),e}const Fe={width:({x:t},{paddingLeft:e="0",paddingRight:a="0"})=>t.max-t.min-parseFloat(e)-parseFloat(a),height:({y:t},{paddingTop:e="0",paddingBottom:a="0"})=>t.max-t.min-parseFloat(e)-parseFloat(a),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>dt(e,"x"),y:(t,{transform:e})=>dt(e,"y")};Fe.translateX=Fe.x,Fe.translateY=Fe.y;const Be=new Set;let ct=!1,ut=!1,pt=!1;function Rr(){if(ut){const t=Array.from(Be).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),a=new Map;e.forEach(r=>{const i=Ho(r);i.length&&(a.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=a.get(r);i&&i.forEach(([n,s])=>{var o;(o=r.getValue(n))==null||o.set(s)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ut=!1,ct=!1,Be.forEach(t=>t.complete(pt)),Be.clear()}function xr(){Be.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ut=!0)})}function Yo(){pt=!0,xr(),Rr(),pt=!1}class ht{constructor(e,a,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=a,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Be.add(this),ct||(ct=!0,Oe.read(xr),Oe.resolveKeyframes(Rr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:a,element:r,motionValue:i}=this;if(e[0]===null){const n=i==null?void 0:i.get(),s=e[e.length-1];if(n!==void 0)e[0]=n;else if(r&&a){const o=r.readValue(a,s);o!=null&&(e[0]=o)}e[0]===void 0&&(e[0]=s),i&&n===void 0&&i.set(e[0])}jo(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Be.delete(this)}cancel(){this.state==="scheduled"&&(Be.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Go=t=>t.startsWith("--");function Wo(t,e,a){Go(e)?t.style.setProperty(e,a):t.style[e]=a}function mt(t){let e;return()=>(e===void 0&&(e=t()),e)}const $o=mt(()=>window.ScrollTimeline!==void 0),Qo={};function Zo(t,e){const a=mt(t);return()=>{var r;return(r=Qo[e])!=null?r:a()}}const Or=Zo(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),ca=([t,e,a,r])=>`cubic-bezier(${t}, ${e}, ${a}, ${r})`,Dr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ca([0,.65,.55,1]),circOut:ca([.55,0,1,.45]),backIn:ca([.31,.01,.66,-.59]),backOut:ca([.33,1.53,.69,.99])};function Lr(t,e){if(t)return typeof t=="function"?Or()?ur(t,e):"ease-out":Ar(t)?ca(t):Array.isArray(t)?t.map(a=>Lr(a,e)||Dr.easeOut):Dr[t]}function Xo(t,e,a,{delay:r=0,duration:i=300,repeat:n=0,repeatType:s="loop",ease:o="easeOut",times:l}={},d=void 0){const c={[e]:a};l&&(c.offset=l);const u=Lr(o,i);Array.isArray(u)&&(c.easing=u);const h={delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:n+1,direction:s==="reverse"?"alternate":"normal"};return d&&(h.pseudoElement=d),t.animate(c,h)}function Jo(a){var r=a,{type:t}=r,e=Ie(r,["type"]);var i,n;return ja(t)&&Or()?t.applyToOptions(e):((i=e.duration)!=null||(e.duration=300),(n=e.ease)!=null||(e.ease="easeOut"),e)}class es extends nt{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:a,name:r,keyframes:i,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,Re(typeof e.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const d=Jo(e);this.animation=Xo(a,r,i,d,n),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){const c=rt(i,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(c):Wo(a,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,a;(a=(e=this.animation).finish)==null||a.call(e)}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,a;this.isPseudoElement||(a=(e=this.animation).commitStyles)==null||a.call(e)}get duration(){var a,r;const e=((r=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:r.call(a).duration)||0;return we(Number(e))}get time(){return we(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Ee(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:a}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&$o()?(this.animation.timeline=e,Ue):a(this)}}const zr={anticipate:br,backInOut:Pr,circInOut:kr};function as(t){return t in zr}function ts(t){typeof t.ease=="string"&&as(t.ease)&&(t.ease=zr[t.ease])}const Sr=10;class rs extends es{constructor(e){ts(e),Tr(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){var c;const d=this.options,{motionValue:a,onUpdate:r,onComplete:i,element:n}=d,s=Ie(d,["motionValue","onUpdate","onComplete","element"]);if(!a)return;if(e!==void 0){a.set(e);return}const o=new it(ee(K({},s),{autoplay:!1})),l=Ee((c=this.finishedTime)!=null?c:this.time);a.setWithVelocity(o.sample(l-Sr).value,o.sample(l).value,Sr),o.stop()}}const Mr=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(We.test(t)||t==="0")&&!t.startsWith("url("));function ns(t){const e=t[0];if(t.length===1)return!0;for(let a=0;a<t.length;a++)if(t[a]!==e)return!0}function is(t,e,a,r){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const n=t[t.length-1],s=Mr(i,e),o=Mr(n,e);return aa(s===o,`You are trying to animate ${e} from "${i}" to "${n}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${n} via the \`style\` property.`),!s||!o?!1:ns(t)||(a==="spring"||ja(a))&&r}function jr(t){return typeof t=="object"&&t!==null}function os(t){return jr(t)&&"offsetHeight"in t}const ss=new Set(["opacity","clipPath","filter","transform"]),ls=mt(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function ds(t){var d;const{motionValue:e,name:a,repeatDelay:r,repeatType:i,damping:n,type:s}=t;if(!os((d=e==null?void 0:e.owner)==null?void 0:d.current))return!1;const{onUpdate:o,transformTemplate:l}=e.owner.getProps();return ls()&&a&&ss.has(a)&&(a!=="transform"||!l)&&!o&&!r&&i!=="mirror"&&n!==0&&s!=="inertia"}const cs=40;class us extends nt{constructor(h){var p=h,{autoplay:e=!0,delay:a=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:l,motionValue:d,element:c}=p,u=Ie(p,["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);var f;super(),this.stop=()=>{var g,E;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=ke.now();const m=K({autoplay:e,delay:a,type:r,repeat:i,repeatDelay:n,repeatType:s,name:l,motionValue:d,element:c},u),y=(c==null?void 0:c.KeyframeResolver)||ht;this.keyframeResolver=new y(o,(g,E,N)=>this.onKeyframesResolved(g,E,m,!N),l,d,c),(f=this.keyframeResolver)==null||f.scheduleResolve()}onKeyframesResolved(e,a,r,i){this.keyframeResolver=void 0;const{name:n,type:s,velocity:o,delay:l,isHandoff:d,onUpdate:c}=r;this.resolvedAt=ke.now(),is(e,n,s,o)||((xe.instantAnimations||!l)&&(c==null||c(rt(e,r,a))),e[0]=e[e.length-1],r.duration=0,r.repeat=0);const u=i?this.resolvedAt?this.resolvedAt-this.createdAt>cs?this.resolvedAt:this.createdAt:this.createdAt:void 0,h=ee(K({startTime:u,finalKeyframe:a},r),{keyframes:e}),p=!d&&ds(h)?new rs(ee(K({},h),{element:h.motionValue.owner.current})):new it(h);p.finished.then(()=>this.notifyFinished()).catch(Ue),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,a){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),Yo()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const Vr=(t,e,a,r={},i,n)=>s=>{const o=Zt(r,t)||{},l=o.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Ee(l);const c=ee(K({keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:e.getVelocity()},o),{delay:-d,onUpdate:h=>{e.set(h),o.onUpdate&&o.onUpdate(h)},onComplete:()=>{s(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:n?void 0:i});qi(o)||Object.assign(c,Ki(t,c)),c.duration&&(c.duration=Ee(c.duration)),c.repeatDelay&&(c.repeatDelay=Ee(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let u=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(u=!0)),(xe.instantAnimations||xe.skipAnimations)&&(u=!0,c.duration=0,c.delay=0),c.allowFlatten=!o.type&&!o.ease,u&&!n&&e.get()!==void 0){const h=ji(c.keyframes,o);if(h!==void 0){Oe.update(()=>{c.onUpdate(h),c.onComplete()});return}}return o.isSync?new it(c):new us(c)},Fr=new Set(["width","height","top","left","right","bottom",...Ke]);function ps({protectedKeys:t,needsAnimating:e},a){const r=t.hasOwnProperty(a)&&e[a]!==!0;return e[a]=!1,r}function hs(t,e,{delay:a=0,transitionOverride:r,type:i}={}){var u;let c=e,{transition:n=t.getDefaultTransition(),transitionEnd:s}=c,o=Ie(c,["transition","transitionEnd"]);r&&(n=r);const l=[],d=i&&t.animationState&&t.animationState.getState()[i];for(const h in o){const p=t.getValue(h,(u=t.latestValues[h])!=null?u:null),m=o[h];if(m===void 0||d&&ps(d,h))continue;const y=K({delay:a},Zt(n||{},h)),f=p.get();if(f!==void 0&&!p.isAnimating&&!Array.isArray(m)&&m===f&&!y.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const N=Si(t);if(N){const w=window.MotionHandoffAnimation(N,h,Oe);w!==null&&(y.startTime=w,g=!0)}}Li(t,h),p.start(Vr(h,p,m,t.shouldReduceMotion&&Fr.has(h)?{type:!1}:y,t,g));const E=p.animation;E&&l.push(E)}return s&&Promise.all(l).then(()=>{Oe.update(()=>{s&&Oi(t,s)})}),l}function ms({top:t,left:e,right:a,bottom:r}){return{x:{min:e,max:a},y:{min:t,max:r}}}function ys(t,e){if(!e)return t;const a=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function fs(t,e){return ms(ys(t.getBoundingClientRect(),e))}const Br={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},yt={};for(const t in Br)yt[t]={isEnabled:e=>Br[t].some(a=>!!e[a])};const Ur=()=>({min:0,max:0}),ft=()=>({x:Ur(),y:Ur()}),vs=typeof window!="undefined",vt={current:null},Kr={current:!1};function gs(){if(Kr.current=!0,!!vs)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>vt.current=t.matches;t.addListener(e),e()}else vt.current=!1}function Ps(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function bs(t){return typeof t=="string"||Array.isArray(t)}const ks=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function qr(t){return Ps(t.animate)||ks.some(e=>bs(t[e]))}function As(t){return!!(qr(t)||t.variants)}function Cs(t,e,a){for(const r in e){const i=e[r],n=a[r];if(fe(i))t.addValue(r,i);else if(fe(n))t.addValue(r,ra(i,{owner:t}));else if(n!==i)if(t.hasValue(r)){const s=t.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=t.getStaticValue(r);t.addValue(r,ra(s!==void 0?s:i,{owner:t}))}}for(const r in a)e[r]===void 0&&t.removeValue(r);return e}const Hr=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Yr=t=>/^0[^.\s]+$/u.test(t),Es={test:t=>t==="auto",parse:t=>t},Gr=t=>e=>e.test(t),Wr=[He,Z,Ye,De,Xi,Zi,Es],$r=t=>Wr.find(Gr(t)),Ts=[...Wr,me,We],Is=t=>Ts.find(Gr(t)),Ns=new Set(["brightness","contrast","saturate","opacity"]);function _s(t){const[e,a]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=a.match(Ka)||[];if(!r)return t;const i=a.replace(r,"");let n=Ns.has(e)?1:0;return r!==a&&(n*=100),e+"("+n+i+")"}const ws=/\b([a-z-]*)\(.*?\)/gu,gt=ee(K({},We),{getAnimatableNone:t=>{const e=t.match(ws);return e?e.map(_s).join(" "):t}}),Qr=ee(K({},He),{transform:Math.round}),Pt=ee(K({borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,backgroundPositionX:Z,backgroundPositionY:Z},{rotate:De,rotateX:De,rotateY:De,rotateZ:De,scale:Ia,scaleX:Ia,scaleY:Ia,scaleZ:Ia,skew:De,skewX:De,skewY:De,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:na,originX:ar,originY:ar,originZ:Z}),{zIndex:Qr,fillOpacity:na,strokeOpacity:na,numOctaves:Qr}),Rs=ee(K({},Pt),{color:me,backgroundColor:me,outlineColor:me,fill:me,stroke:me,borderColor:me,borderTopColor:me,borderRightColor:me,borderBottomColor:me,borderLeftColor:me,filter:gt,WebkitFilter:gt}),Zr=t=>Rs[t];function Xr(t,e){let a=Zr(t);return a!==gt&&(a=We),a.getAnimatableNone?a.getAnimatableNone(e):void 0}const Jr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class en{scrapeMotionValuesFromProps(e,a,r){return{}}constructor({parent:e,props:a,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ht,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=ke.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Oe.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=s;this.latestValues=l,this.baseTarget=K({},l),this.initialValues=a.initial?K({},l):{},this.renderState=d,this.parent=e,this.props=a,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=qr(a),this.isVariantNode=As(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const h=this.scrapeMotionValuesFromProps(a,{},this),{willChange:c}=h,u=Ie(h,["willChange"]);for(const p in u){const m=u[p];l[p]!==void 0&&fe(m)&&m.set(l[p],!1)}}mount(e){this.current=e,ta.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),Kr.current||gs(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:vt.current,process.env.NODE_ENV!=="production"&&Gt(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Fa(this.notifyUpdate),Fa(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const a=this.features[e];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(e,a){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const r=qe.has(e);r&&this.onBindTransform&&this.onBindTransform();const i=a.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&Oe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=a.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,a)),this.valueSubscriptions.set(e,()=>{i(),n(),s&&s(),a.owner&&a.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in yt){const a=yt[e];if(!a)continue;const{isEnabled:r,Feature:i}=a;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ft()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,a){this.latestValues[e]=a}update(e,a){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<Jr.length;r++){const i=Jr[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const n="on"+i,s=e[n];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=Cs(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(e),()=>a.variantChildren.delete(e)}addValue(e,a){const r=this.values.get(e);a!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,a),this.values.set(e,a),this.latestValues[e]=a.get())}removeValue(e){this.values.delete(e);const a=this.valueSubscriptions.get(e);a&&(a(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,a){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&a!==void 0&&(r=ra(a===null?void 0:a,{owner:this}),this.addValue(e,r)),r}readValue(e,a){var i;let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!=null?i:this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(Hr(r)||Yr(r))?r=parseFloat(r):!Is(r)&&We.test(a)&&(r=Xr(e,a)),this.setBaseTarget(e,fe(r)?r.get():r)),fe(r)?r.get():r}setBaseTarget(e,a){this.baseTarget[e]=a}getBaseTarget(e){var n;const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const s=Ht(this.props,a,(n=this.presenceContext)==null?void 0:n.custom);s&&(r=s[e])}if(a&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!fe(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,a){return this.events[e]||(this.events[e]=new Wt),this.events[e].add(a)}notify(e,...a){this.events[e]&&this.events[e].notify(...a)}}const xs=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Os(t){const e=xs.exec(t);if(!e)return[,];const[,a,r,i]=e;return[`--${a!=null?a:r}`,i]}const Ds=4;function an(t,e,a=1){Re(a<=Ds,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,i]=Os(t);if(!r)return;const n=window.getComputedStyle(e).getPropertyValue(r);if(n){const s=n.trim();return Hr(s)?parseFloat(s):s}return Ua(i)?an(i,e,a+1):i}function Ls(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Yr(t):!0}const zs=new Set(["auto","none","0"]);function Ss(t,e,a){let r=0,i;for(;r<t.length&&!i;){const n=t[r];typeof n=="string"&&!zs.has(n)&&sa(n).values.length&&(i=t[r]),r++}if(i&&a)for(const n of e)t[n]=Xr(a,i)}class Ms extends ht{constructor(e,a,r,i,n){super(e,a,r,i,n,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let d=e[l];if(typeof d=="string"&&(d=d.trim(),Ua(d))){const c=an(d,a.current);c!==void 0&&(e[l]=c),l===e.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Fr.has(r)||e.length!==2)return;const[i,n]=e,s=$r(i),o=$r(n);if(s!==o)if(wr(s)&&wr(o))for(let l=0;l<e.length;l++){const d=e[l];typeof d=="string"&&(e[l]=parseFloat(d))}else Fe[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:a}=this,r=[];for(let i=0;i<e.length;i++)(e[i]===null||Ls(e[i]))&&r.push(i);r.length&&Ss(e,r,a)}measureInitialState(){const{element:e,unresolvedKeyframes:a,name:r}=this;if(!e||!e.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Fe[r](e.measureViewportBox(),window.getComputedStyle(e.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&e.getValue(r,i).jump(i,!1)}measureEndState(){var o;const{element:e,name:a,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const i=e.getValue(a);i&&i.jump(this.measuredOrigin,!1);const n=r.length-1,s=r[n];r[n]=Fe[a](e.measureViewportBox(),window.getComputedStyle(e.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([l,d])=>{e.getValue(l).set(d)}),this.resolveNoneKeyframes()}}class tn extends en{constructor(){super(...arguments),this.KeyframeResolver=Ms}sortInstanceNodePosition(e,a){return e.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(e,a){return e.style?e.style[a]:void 0}removeValueFromRenderState(e,{vars:a,style:r}){delete a[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;fe(e)&&(this.childSubscription=e.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}const rn=(t,e)=>e&&typeof t=="number"?e.transform(t):t,js={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Vs=Ke.length;function Fs(t,e,a){let r="",i=!0;for(let n=0;n<Vs;n++){const s=Ke[n],o=t[s];if(o===void 0)continue;let l=!0;if(typeof o=="number"?l=o===(s.startsWith("scale")?1:0):l=parseFloat(o)===0,!l||a){const d=rn(o,Pt[s]);if(!l){i=!1;const c=js[s]||s;r+=`${c}(${d}) `}a&&(e[s]=d)}}return r=r.trim(),a?r=a(e,i?"":r):i&&(r="none"),r}function nn(t,e,a){const{style:r,vars:i,transformOrigin:n}=t;let s=!1,o=!1;for(const l in e){const d=e[l];if(qe.has(l)){s=!0;continue}else if(Jt(l)){i[l]=d;continue}else{const c=rn(d,Pt[l]);l.startsWith("origin")?(o=!0,n[l]=c):r[l]=c}}if(e.transform||(s||a?r.transform=Fs(e,t.transform,a):r.transform&&(r.transform="none")),o){const{originX:l="50%",originY:d="50%",originZ:c=0}=n;r.transformOrigin=`${l} ${d} ${c}`}}function on(t,{style:e,vars:a},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const n in a)t.style.setProperty(n,a[n])}const Bs={};function Us(t,{layout:e,layoutId:a}){return qe.has(t)||t.startsWith("origin")||(e||a!==void 0)&&(!!Bs[t]||t==="opacity")}function sn(t,e,a){var n;const{style:r}=t,i={};for(const s in r)(fe(r[s])||e.style&&fe(e.style[s])||Us(s,t)||((n=a==null?void 0:a.getValue(s))==null?void 0:n.liveStyle)!==void 0)&&(i[s]=r[s]);return i}function Ks(t){return window.getComputedStyle(t)}class qs extends tn{constructor(){super(...arguments),this.type="html",this.renderInstance=on}readValueFromInstance(e,a){var r;if(qe.has(a))return(r=this.projection)!=null&&r.isProjecting?lt(a):Bo(e,a);{const i=Ks(e),n=(Jt(a)?i.getPropertyValue(a):i[a])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:a}){return fs(e,a)}build(e,a,r){nn(e,a,r.transformTemplate)}scrapeMotionValuesFromProps(e,a,r){return sn(e,a,r)}}function Hs(t,e){return t in e}class Ys extends en{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,a){if(Hs(a,e)){const r=e[a];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(e,a){delete a.output[e]}measureInstanceViewportBox(){return ft()}build(e,a){Object.assign(e.output,a)}renderInstance(e,{output:a}){Object.assign(e,a)}sortInstanceNodePosition(){return 0}}const Gs={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ws={offset:"strokeDashoffset",array:"strokeDasharray"};function $s(t,e,a=1,r=0,i=!0){t.pathLength=1;const n=i?Gs:Ws;t[n.offset]=Z.transform(-r);const s=Z.transform(e),o=Z.transform(a);t[n.array]=`${s} ${o}`}function Qs(t,u,l,d,c){var h=u,{attrX:e,attrY:a,attrScale:r,pathLength:i,pathSpacing:n=1,pathOffset:s=0}=h,o=Ie(h,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]);var y,f;if(nn(t,o,d),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:p,style:m}=t;p.transform&&(m.transform=p.transform,delete p.transform),(m.transform||p.transformOrigin)&&(m.transformOrigin=(y=p.transformOrigin)!=null?y:"50% 50%",delete p.transformOrigin),m.transform&&(m.transformBox=(f=c==null?void 0:c.transformBox)!=null?f:"fill-box",delete p.transformBox),e!==void 0&&(p.x=e),a!==void 0&&(p.y=a),r!==void 0&&(p.scale=r),i!==void 0&&$s(p,i,n,s,!1)}const ln=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Zs=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Xs(t,e,a,r){on(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(ln.has(i)?i:Ba(i),e.attrs[i])}function Js(t,e,a){const r=sn(t,e,a);for(const i in t)if(fe(t[i])||fe(e[i])){const n=Ke.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[n]=t[i]}return r}class el extends tn{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ft}getBaseTargetFromProps(e,a){return e[a]}readValueFromInstance(e,a){if(qe.has(a)){const r=Zr(a);return r&&r.default||0}return a=ln.has(a)?a:Ba(a),e.getAttribute(a)}scrapeMotionValuesFromProps(e,a,r){return Js(e,a,r)}build(e,a,r){Qs(e,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,a,r,i){Xs(e,a,r,i)}mount(e){this.isSVGTag=Zs(e.tagName),super.mount(e)}}function dn(t){return jr(t)&&"ownerSVGElement"in t}function al(t){return dn(t)&&t.tagName==="svg"}function tl(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},a=dn(t)&&!al(t)?new el(e):new qs(e);a.mount(t),ta.set(t,a)}function rl(t){const e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},a=new Ys(e);a.mount(t),ta.set(t,a)}function nl(t,e,a){const r=fe(t)?t:ra(t);return r.start(Vr("",r,e,a)),r.animation}function il(t,e){return fe(t)||typeof t=="number"||typeof t=="string"&&!Sa(e)}function cn(t,e,a,r){const i=[];if(il(t,e))i.push(nl(t,Sa(e)&&e.default||e,a&&(a.default||a)));else{const n=Lt(t,e,r),s=n.length;Re(!!s,"No valid elements provided.");for(let o=0;o<s;o++){const l=n[o],d=l instanceof Element?tl:rl;ta.has(l)||d(l);const c=ta.get(l),u=K({},a);"delay"in u&&typeof u.delay=="function"&&(u.delay=u.delay(o,s)),i.push(...hs(c,ee(K({},e),{transition:u}),{}))}}return i}function ol(t,e,a){const r=[];return vi(t,e,a,{spring:la}).forEach(({keyframes:n,transition:s},o)=>{r.push(...cn(o,n,s))}),r}class sl{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,a){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=a}attachTimeline(e){const a=this.animations.map(r=>r.attachTimeline(e));return()=>{a.forEach((r,i)=>{r&&r(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let a=0;a<this.animations.length;a++)e=Math.max(e,this.animations[a].duration);return e}runAll(e){this.animations.forEach(a=>a[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ll extends sl{then(e,a){return this.finished.finally(e).then(()=>{})}}function dl(t){return Array.isArray(t)&&t.some(Array.isArray)}function cl(t){function e(a,r,i){let n=[];return dl(a)?n=ol(a,r,t):n=cn(a,r,i,t),new ll(n)}return e}const ue=cl(),X={spinner:"_spinner_k40uq_1",spinnerContainer:"_spinnerContainer_k40uq_5",success:"_success_k40uq_9",successContainer:"_successContainer_k40uq_13",container:"_container_k40uq_17",card:"_card_k40uq_26",warning:"_warning_k40uq_35",svg:"_svg_k40uq_43",srOnly:"_srOnly_k40uq_48",backButton:"_backButton_k40uq_52"};class un{constructor(){A(this,"template",`
|
|
1
|
+
(function(ne,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],ie):(ne=typeof globalThis!="undefined"?globalThis:ne||self,ie(ne["PayNext SDK"]={},ne.React))})(this,function(ne,ie){"use strict";var Hc=Object.defineProperty,qc=Object.defineProperties;var Wc=Object.getOwnPropertyDescriptors;var St=Object.getOwnPropertySymbols;var qi=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable;var Rr=(ne,ie,se)=>ie in ne?Hc(ne,ie,{enumerable:!0,configurable:!0,writable:!0,value:se}):ne[ie]=se,K=(ne,ie)=>{for(var se in ie||(ie={}))qi.call(ie,se)&&Rr(ne,se,ie[se]);if(St)for(var se of St(ie))Wi.call(ie,se)&&Rr(ne,se,ie[se]);return ne},ee=(ne,ie)=>qc(ne,Wc(ie));var Ie=(ne,ie)=>{var se={};for(var _e in ne)qi.call(ne,_e)&&ie.indexOf(_e)<0&&(se[_e]=ne[_e]);if(ne!=null&&St)for(var _e of St(ne))ie.indexOf(_e)<0&&Wi.call(ne,_e)&&(se[_e]=ne[_e]);return se};var C=(ne,ie,se)=>Rr(ne,typeof ie!="symbol"?ie+"":ie,se);var W=(ne,ie,se)=>new Promise((_e,Me)=>{var Dt=Ne=>{try{Je(se.next(Ne))}catch(et){Me(et)}},Et=Ne=>{try{Je(se.throw(Ne))}catch(et){Me(et)}},Je=Ne=>Ne.done?_e(Ne.value):Promise.resolve(Ne.value).then(Dt,Et);Je((se=se.apply(ne,ie)).next())});var se=document.createElement("style");se.textContent=`._spinner_k40uq_1{height:100%;width:100%}@keyframes _spin_k40uq_1{to{transform:rotate(360deg)}}._spinner_k40uq_1{animation:_spin_k40uq_1 1s linear infinite;fill:#9ca3af;--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}._spinner_k40uq_1:is(._dark_k40uq_1 *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}._spinnerContainer_k40uq_5{height:40px;width:40px}._success_k40uq_9{position:absolute;top:50%;left:50%;width:1.5rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#16a34a}._successContainer_k40uq_13{position:relative;display:grid;height:2.25rem;width:2.25rem;flex:none;place-items:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(232 250 240 / var(--tw-bg-opacity, 1))}._successContainer_k40uq_13:is(._dark_k40uq_1 *){--tw-bg-opacity: 1;background-color:rgb(209 244 224 / var(--tw-bg-opacity, 1))}._container_k40uq_17{width:30px;height:20px;display:flex;margin:0 1px;align-items:center;justify-content:center}._card_k40uq_26{width:28px;height:19px;display:flex;margin:0 1px;align-items:center;justify-content:center}._warning_k40uq_35{width:16px;height:16px;display:flex;align-items:center;justify-content:center}._svg_k40uq_43{width:100%;height:100%}._srOnly_k40uq_48{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}._backButton_k40uq_52{width:30px;height:30px;display:flex;margin:0 1px;align-items:center;justify-content:center;background-color:#f4f4f5;border-radius:8px}._loader_nwq3e_1{position:absolute;height:100%;top:0;left:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;width:100%;align-items:center;justify-content:center;border-radius:10px}._checkout_5sq3n_1{overflow:hidden;z-index:0;position:relative;height:auto;min-height:40px;width:100%;max-width:640px}._hidden_5sq3n_7{display:none!important}._formInitial_5sq3n_11{opacity:0;transform:translateY(100px)}._btnsInitial_5sq3n_16{opacity:0;transform:translateY(-100px)}._buttons_1i8cu_1{display:grid;gap:.5rem}._hidden_1i8cu_5{display:none!important}._applePay_1ce61_1{display:flex;flex-direction:column;gap:8px}._applePay_1ce61_1:hover{filter:contrast(.575) brightness(1.2)}._hidden_1ce61_26{display:none!important}._container_94v1h_1{display:flex;width:100%;flex-grow:1;flex-direction:row;align-items:center;justify-content:flex-start;-moz-column-gap:.25rem;column-gap:.25rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(254 231 239 / var(--tw-bg-opacity, 1));padding:.75rem 1rem}._container_94v1h_1:is(._dark_94v1h_1 *){background-color:#fee7ef80;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}._container_94v1h_1 svg{width:16px;height:16px}._title_94v1h_10{padding:0;padding-left:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:300;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._title_94v1h_10:is(._dark_94v1h_1 *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._googlePay_gmreq_1{display:flex;flex-direction:column;gap:8px}._hidden_gmreq_20{display:none!important}._paypal_90mm5_1{display:flex;flex-direction:column;gap:8px}._hidden_90mm5_12{display:none}._button_13xr0_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_13xr0_1{transition-property:none}}._button_13xr0_1 span{margin-left:.25rem}._button_13xr0_1:hover{opacity:.7}._button_13xr0_1:active{transform:scale(.95)}._conteiner_1j5pe_2{display:flex;flex-direction:column;gap:.5rem}._venmo_1j5pe_8{display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:12px;height:40px;background-color:#0088f7;width:100%;color:#fff;font-size:16px;text-align:center;cursor:pointer;transition:background-color .3s ease;svg{height:40%}&:hover{background-color:#5683c1}}._hidden_1j5pe_33{display:none}._button_125my_1{cursor:pointer}._button_191iv_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_191iv_1{transition-property:none}}._button_191iv_1 span{margin-left:.25rem}._disabled_191iv_17,._button_191iv_1:hover{opacity:.7}._press_191iv_22:active{transform:scale(.95)}._hidden_191iv_26{display:none!important}._spinner_191iv_30{width:24px;height:24px}._cardForm_kzlcj_1{display:grid;gap:.75rem;padding-top:0}._hidden_kzlcj_5{display:none!important}._topOffset_kzlcj_9{margin-top:.5rem}._wrapper_4knhb_1{position:relative}._inputContainer_4knhb_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_4knhb_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_4knhb_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_4knhb_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_4knhb_10,._inputContainer_4knhb_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_4knhb_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_4knhb_20{display:flex}._errorInput_4knhb_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_4knhb_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_4knhb_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._label_4knhb_28{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_4knhb_32{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_4knhb_36{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_4knhb_40{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_4knhb_47{display:none!important}._wrapper_j8wuo_1{position:relative}._inputContainer_j8wuo_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_j8wuo_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_j8wuo_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_j8wuo_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_j8wuo_10,._inputContainer_j8wuo_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_j8wuo_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_j8wuo_20{display:flex}._errorInput_j8wuo_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_j8wuo_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_j8wuo_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_j8wuo_24{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_j8wuo_32{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_j8wuo_36{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_j8wuo_40{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_j8wuo_44{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_j8wuo_51{display:none!important}._wrapper_1xdj3_1{position:relative}._inputContainer_1xdj3_5{background-color:transparent;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));padding-left:.75rem;padding-right:.75rem}._inputContainer_1xdj3_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1xdj3_5{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._inputContainer_1xdj3_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1xdj3_10,._inputContainer_1xdj3_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._input_1xdj3_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1xdj3_20{display:flex;align-items:center;justify-content:center}._errorInput_1xdj3_24{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1xdj3_24:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1xdj3_24:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_1xdj3_24{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_1xdj3_32{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1xdj3_36{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1xdj3_40{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1xdj3_44{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1xdj3_51{display:none!important}._securityContent_1xdj3_55{display:grid;grid-column-gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,auto))}._container_hoha1_1{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center}._title_hoha1_5{margin-top:.5rem;font-weight:300}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(se);class _e{constructor(t){C(this,"parent");C(this,"core");typeof window!="undefined"&&(this.parent=t)}mount(t){return W(this,null,function*(){if(!this.parent)return;if(!this.core){const a=(yield Promise.resolve().then(()=>Bc)).Core;this.core=new a}t.styles&&this.core.state.styles.setState(t.styles);const e=yield this.core.checkout.mount();this.parent.innerHTML="",this.parent.appendChild(e),this.core.state.checkout.setState(t)})}unmount(){return W(this,null,function*(){!this.parent||!this.core||(this.parent.innerHTML="",this.core.clearState())})}}let Me=null;function Dt(){return W(this,null,function*(){return Me||(Me=new Promise((r,t)=>{const e=document.createElement("script");if(e.src="https://js.evervault.com/v2",e.onload=()=>r(),e.onerror=()=>{Me=null,t()},!document.head)throw new Error("Expected document.head not to be null. Evervault.js requires a <head> element.");document.head.appendChild(e)}),Me)})}function Et(){return W(this,null,function*(){if(window.Evervault)return window.Evervault;try{return yield Dt(),window.Evervault}catch(r){throw new Error("Failed to load Evervault.js")}})}function Je(r,t,e){return W(this,null,function*(){const n=yield Et();return new n(r,t,e)})}Promise.resolve().then(()=>{Et()});let Ne=class{constructor(t){C(this,"apple",null);C(this,"isAvailable",!1);C(this,"onReady");this.ev=t}init(c,d){return W(this,arguments,function*({transaction:t,locale:e,supportedCardTypes:n,onReady:a,onError:i,onSuccess:o,onCancel:s},l){const u=this.ev.transactions.create(t);this.apple=this.ev.ui.applePay(u,ee(K({locale:e,borderRadius:12,size:{width:"100%",height:"40px"}},l==null?void 0:l.styles),{allowedCardNetworks:n,requestBillingAddress:!0,requestPayerDetails:["name","email","phone"],process:(m,v)=>W(this,[m,v],function*(p,{fail:f}){try{o==null||o(p)}catch(y){console.error(y),f({message:"Cannot pay with payment credentials"})}})}));const h=yield this.apple.availability();this.isAvailable=!0,console.log("Apple Pay availability",h),this.isAvailable||console.error("Apple Pay is not available",h),i&&this.apple.on("error",i),s&&this.apple.on("cancel",s),this.onReady=a})}render(t){return W(this,null,function*(){var e;!this.apple||!this.isAvailable||(t.innerHTML="",yield this.apple.mount(t),(e=this.onReady)==null||e.call(this))})}},et=class{constructor(t){C(this,"google",null);this.ev=t}init(l,c){return W(this,arguments,function*({transaction:t,locale:e,onReady:n,onError:a,onSuccess:i,onCancel:o},s){const d=this.ev.transactions.create(t);this.google=this.ev.ui.googlePay(d,ee(K({locale:e,size:{width:"100%",height:"42px"},borderRadius:12,billingAddress:{phoneNumber:!0}},s==null?void 0:s.styles),{process:(p,f)=>W(this,[p,f],function*(u,{fail:h}){try{i==null||i(u)}catch(m){console.error(m),h({message:"Cannot pay with payment credentials"})}})})),o&&this.google.on("cancel",o),n&&this.google.on("ready",n),a&&this.google.on("error",a)})}render(t){return W(this,null,function*(){this.google&&(t.innerHTML="",this.google.mount(t))})}};class he{constructor(){C(this,"listeners",[])}removeListener(t){this.listeners=this.listeners.filter(e=>e!==t)}addListener(t){return this.listeners.push(t),()=>this.removeListener(t)}emit(t){for(const e of this.listeners)e(t)}clear(){this.listeners=[]}}class $i{constructor(t){C(this,"threeDs",null);this.ev=t}init(i){return W(this,arguments,function*({threeDsId:t,onReady:e,onSuccess:n,onError:a}){this.threeDs=this.ev.ui.threeDSecure(t),this.threeDs.on("ready",()=>e==null?void 0:e()),this.threeDs.on("success",()=>n==null?void 0:n()),this.threeDs.on("failure",()=>a==null?void 0:a()),this.threeDs.on("error",()=>a==null?void 0:a())})}render(t){return W(this,null,function*(){this.threeDs&&this.threeDs.mount(t)})}}class Yi{constructor(){C(this,"isReady",!1);C(this,"ev",null);C(this,"apple",null);C(this,"google",null);C(this,"threeDs",null);C(this,"events",{ready:new he})}isShouldLoad({teamId:t,appId:e}){var n,a;return((n=this.ev)==null?void 0:n.config.appId)!==e||((a=this.ev)==null?void 0:a.config.teamId)!==t}initEv(t){return W(this,null,function*(){this.isShouldLoad(t)&&(this.isReady=!1,this.ev=yield Je(t.teamId,t.appId),this.apple=new Ne(this.ev),this.google=new et(this.ev),this.events.ready.emit(),this.isReady=!0)})}initThreeDs(t){return W(this,null,function*(){if(!this.ev)throw new Error("Evervault should be init before using Three DS Secure");this.threeDs=new $i(this.ev),yield this.threeDs.init(t),yield this.threeDs.render()})}initApple(t,e){return W(this,null,function*(){if(!this.apple)throw new Error("Evervault should be init before using Apple Pay");yield this.apple.init(t,e)})}initGoogle(t,e){return W(this,null,function*(){if(!this.google)throw new Error("Evervault should be init before using Google Pay");yield this.google.init(t,e)})}isAppleAvailable(){var t;return!!((t=this.apple)!=null&&t.isAvailable)}addEventListener(t,e){return this.events[t].addListener(e)}renderApple(t){return W(this,null,function*(){var e;return yield(e=this.apple)==null?void 0:e.render(t)})}renderGoogle(t){return W(this,null,function*(){var e;return yield(e=this.google)==null?void 0:e.render(t)})}getEv(){if(!this.ev)throw new Error("Evervault should be init before getting instance");return this.ev}}function Mt(r){return typeof r=="object"&&!Array.isArray(r)}function Gi(r,t,e){var n;if(r instanceof EventTarget)return[r];if(typeof r=="string"){let a=document;const i=(n=e==null?void 0:e[r])!=null?n:a.querySelectorAll(r);return i?Array.from(i):[]}return Array.from(r)}function Sr(r,t,e,n){return typeof r=="string"&&Mt(t)?Gi(r,e,n):r instanceof NodeList?Array.from(r):Array.isArray(r)?r:[r]}function Qi(r,t,e){return r*(t+1)}function Dr(r,t,e,n){var a;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,r+parseFloat(t)):t==="<"?e:(a=n.get(t))!=null?a:r}const tt=(r,t,e)=>r+(t-r)*e,Zi=(r,t,e)=>{const n=t-r;return((e-r)%n+n)%n+r},Mr=r=>Array.isArray(r)&&typeof r[0]!="number";function Vr(r,t){return Mr(r)?r[Zi(0,r.length,t)]:r}function Xi(r,t){r.indexOf(t)===-1&&r.push(t)}function Fr(r,t){const e=r.indexOf(t);e>-1&&r.splice(e,1)}function Ji(r,t,e){for(let n=0;n<r.length;n++){const a=r[n];a.at>t&&a.at<e&&(Fr(r,a),n--)}}function ea(r,t,e,n,a,i){Ji(r,a,i);for(let o=0;o<t.length;o++)r.push({value:t[o],at:tt(a,i,n[o]),easing:Vr(e,o)})}function ta(r,t){for(let e=0;e<r.length;e++)r[e]=r[e]/(t+1)}function ra(r,t){return r.at===t.at?r.value===null?1:t.value===null?-1:0:r.at-t.at}const ve=r=>!!(r&&r.getVelocity),Vt=(r,t,e)=>{const n=t-r;return n===0?1:(e-r)/n};function Ur(r,t){const e=r[r.length-1];for(let n=1;n<=t;n++){const a=Vt(0,t,n);r.push(tt(e,1,a))}}function jr(r){const t=[0];return Ur(t,r.length-1),t}function Ft(r){return typeof r=="function"&&"applyToOptions"in r}const Ct=2e4;function Ut(r){let t=0;const e=50;let n=r.next(t);for(;!n.done&&t<Ct;)t+=e,n=r.next(t);return t>=Ct?1/0:t}const Ae=r=>r*1e3,ke=r=>r/1e3;function zr(r,t=100,e){const n=e(ee(K({},r),{keyframes:[0,t]})),a=Math.min(Ut(n),Ct);return{type:"keyframes",ease:i=>n.next(a*i).value/t,duration:ke(a)}}let rt=()=>{},Oe=()=>{};process.env.NODE_ENV!=="production"&&(rt=(r,t)=>{!r&&typeof console!="undefined"&&console.warn(t)},Oe=(r,t)=>{if(!r)throw new Error(t)});const na="easeInOut",ia=20;function aa(r,i={},n,a){var o=i,{defaultTransition:t={}}=o,e=Ie(o,["defaultTransition"]);const s=t.duration||.3,l=new Map,c=new Map,d={},u=new Map;let h=0,p=0,f=0;for(let m=0;m<r.length;m++){const v=r[m];if(typeof v=="string"){u.set(v,p);continue}else if(!Array.isArray(v)){u.set(v.name,Dr(p,v.at,h,u));continue}let[y,A,x={}]=v;x.at!==void 0&&(p=Dr(p,x.at,h,u));let k=0;const I=(L,N,S,U=0,q=0)=>{const $=sa(L),M=N,{delay:F=0,times:z=jr($),type:B="keyframes",repeat:J,repeatType:D,repeatDelay:Y=0}=M,H=Ie(M,["delay","times","type","repeat","repeatType","repeatDelay"]);let{ease:E=t.ease||"easeOut",duration:g}=N;const P=typeof F=="function"?F(U,q):F,V=$.length,b=Ft(B)?B:a==null?void 0:a[B];if(V<=2&&b){let w=100;if(V===2&&ca($)){const ae=$[1]-$[0];w=Math.abs(ae)}const j=K({},H);g!==void 0&&(j.duration=Ae(g));const Q=zr(j,w,b);E=Q.ease,g=Q.duration}g!=null||(g=s);const T=p+P;z.length===1&&z[0]===0&&(z[1]=1);const _=z.length-$.length;if(_>0&&Ur(z,_),$.length===1&&$.unshift(null),J){Oe(J<ia,"Repeat count too high, must be less than 20"),g=Qi(g,J);const w=[...$],j=[...z];E=Array.isArray(E)?[...E]:[E];const Q=[...E];for(let ae=0;ae<J;ae++){$.push(...w);for(let R=0;R<w.length;R++)z.push(j[R]+(ae+1)),E.push(R===0?"linear":Vr(Q,R-1))}ta(z,J)}const O=T+g;ea(S,$,E,z,T,O),k=Math.max(P+g,k),f=Math.max(O,f)};if(ve(y)){const L=Br(y,c);I(A,x,Kr("default",L))}else{const L=Sr(y,A,n,d),N=L.length;for(let S=0;S<N;S++){A=A,x=x;const U=L[S],q=Br(U,c);for(const $ in A)I(A[$],oa(x,$),Kr($,q),S,N)}}h=p,p+=k}return c.forEach((m,v)=>{for(const y in m){const A=m[y];A.sort(ra);const x=[],k=[],I=[];for(let N=0;N<A.length;N++){const{at:S,value:U,easing:q}=A[N];x.push(U),k.push(Vt(0,f,S)),I.push(q||"easeOut")}k[0]!==0&&(k.unshift(0),x.unshift(x[0]),I.unshift(na)),k[k.length-1]!==1&&(k.push(1),x.push(null)),l.has(v)||l.set(v,{keyframes:{},transition:{}});const L=l.get(v);L.keyframes[y]=x,L.transition[y]=K(ee(K({},t),{duration:f,ease:I,times:k}),e)}}),l}function Br(r,t){return!t.has(r)&&t.set(r,{}),t.get(r)}function Kr(r,t){return t[r]||(t[r]=[]),t[r]}function sa(r){return Array.isArray(r)?r:[r]}function oa(r,t){return r&&r[t]?K(K({},r),r[t]):K({},r)}const la=r=>typeof r=="number",ca=r=>r.every(la),nt=new WeakMap,da=r=>Array.isArray(r);function Hr(r){const t=[{},{}];return r==null||r.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function qr(r,t,e,n){if(typeof t=="function"){const[a,i]=Hr(n);t=t(e!==void 0?e:r.custom,a,i)}if(typeof t=="string"&&(t=r.variants&&r.variants[t]),typeof t=="function"){const[a,i]=Hr(n);t=t(e!==void 0?e:r.custom,a,i)}return t}function ua(r,t,e){const n=r.getProps();return qr(n,t,n.custom,r)}const wt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function pa(r,t){let e=new Set,n=new Set,a=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function l(d){o.has(d)&&(c.schedule(d),r()),d(s)}const c={schedule:(d,u=!1,h=!1)=>{const f=h&&a?e:n;return u&&o.add(d),f.has(d)||f.add(d),d},cancel:d=>{n.delete(d),o.delete(d)},process:d=>{if(s=d,a){i=!0;return}a=!0,[e,n]=[n,e],e.forEach(l),e.clear(),a=!1,i&&(i=!1,c.process(d))}};return c}const Le={},ha=40;function fa(r,t){let e=!1,n=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>e=!0,o=wt.reduce((x,k)=>(x[k]=pa(i),x),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:d,update:u,preRender:h,render:p,postRender:f}=o,m=()=>{const x=Le.useManualTiming?a.timestamp:performance.now();e=!1,Le.useManualTiming||(a.delta=n?1e3/60:Math.max(Math.min(x-a.timestamp,ha),1)),a.timestamp=x,a.isProcessing=!0,s.process(a),l.process(a),c.process(a),d.process(a),u.process(a),h.process(a),p.process(a),f.process(a),a.isProcessing=!1,e&&t&&(n=!1,r(m))},v=()=>{e=!0,n=!0,a.isProcessing||r(m)};return{schedule:wt.reduce((x,k)=>{const I=o[k];return x[k]=(L,N=!1,S=!1)=>(e||v(),I.schedule(L,N,S)),x},{}),cancel:x=>{for(let k=0;k<wt.length;k++)o[wt[k]].cancel(x)},state:a,steps:o}}const Be=r=>r,{schedule:Pe,cancel:jt,state:At}=fa(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:Be,!0);let Tt;function ma(){Tt=void 0}const Ee={now:()=>(Tt===void 0&&Ee.set(At.isProcessing||Le.useManualTiming?At.timestamp:performance.now()),Tt),set:r=>{Tt=r,queueMicrotask(ma)}},Wr=new Set;function $r(r,t,e){r||Wr.has(t)||(console.warn(t),Wr.add(t))}class Yr{constructor(){this.subscriptions=[]}add(t){return Xi(this.subscriptions,t),()=>Fr(this.subscriptions,t)}notify(t,e,n){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,e,n);else for(let i=0;i<a;i++){const o=this.subscriptions[i];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Gr(r,t){return t?r*(1e3/t):0}const Qr=30,va=r=>!isNaN(parseFloat(r));class ga{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,a=!0)=>{var o,s;const i=Ee.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const l of this.dependents)l.dirty();a&&((s=this.events.renderRequest)==null||s.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=Ee.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=va(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&$r(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new Yr);const n=this.events[t].add(e);return t==="change"?()=>{n(),Pe.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){!e||!this.passiveEffect?this.updateAndNotify(t,e):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ee.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Qr)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,Qr);return Gr(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,e;(t=this.dependents)==null||t.clear(),(e=this.events.destroy)==null||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function it(r,t){return new ga(r,t)}function ya(r,t,e){r.hasValue(t)?r.getValue(t).set(e):r.addValue(t,it(e))}function ba(r){return da(r)?r[r.length-1]||0:r}function _a(r,t){let o=ua(r,t)||{},{transitionEnd:n={},transition:a={}}=o,i=Ie(o,["transitionEnd","transition"]);i=K(K({},i),n);for(const s in i){const l=ba(i[s]);ya(r,s,l)}}function Ea(r){return!!(ve(r)&&r.add)}function Ca(r,t){const e=r.getValue("willChange");if(Ea(e))return e.add(t);if(!e&&Le.WillChange){const n=new Le.WillChange("auto");r.addValue("willChange",n),n.add(t)}}const zt=r=>r.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),wa="data-"+zt("framerAppearId");function Aa(r){return r.props[wa]}const Ta=r=>r!==null;function Ia(r,{repeat:t,repeatType:e="loop"},n){const a=r.filter(Ta),i=t&&e!=="loop"&&t%2===1?0:a.length-1;return a[i]}const Ke=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],He=new Set(Ke),xa={type:"spring",stiffness:500,damping:25,restSpeed:10},Na=r=>({type:"spring",stiffness:550,damping:r===0?2*Math.sqrt(550):30,restSpeed:10}),ka={type:"keyframes",duration:.8},Oa={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},La=(r,{keyframes:t})=>t.length>2?ka:He.has(r)?r.startsWith("scale")?Na(t[1]):xa:Oa;function Pa(u){var h=u,{when:r,delay:t,delayChildren:e,staggerChildren:n,staggerDirection:a,repeat:i,repeatType:o,repeatDelay:s,from:l,elapsed:c}=h,d=Ie(h,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);return!!Object.keys(d).length}function Zr(r,t){var e,n;return(n=(e=r==null?void 0:r[t])!=null?e:r==null?void 0:r.default)!=null?n:r}const Xr=r=>t=>typeof t=="string"&&t.startsWith(r),Jr=Xr("--"),Ra=Xr("var(--"),Bt=r=>Ra(r)?Sa.test(r.split("/*")[0].trim()):!1,Sa=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ve=(r,t,e)=>e>t?t:e<r?r:e,qe={test:r=>typeof r=="number",parse:parseFloat,transform:r=>r},at=ee(K({},qe),{transform:r=>Ve(0,1,r)}),It=ee(K({},qe),{default:1}),st=r=>Math.round(r*1e5)/1e5,Kt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Da(r){return r==null}const Ma=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ht=(r,t)=>e=>!!(typeof e=="string"&&Ma.test(e)&&e.startsWith(r)||t&&!Da(e)&&Object.prototype.hasOwnProperty.call(e,t)),en=(r,t,e)=>n=>{if(typeof n!="string")return n;const[a,i,o,s]=n.match(Kt);return{[r]:parseFloat(a),[t]:parseFloat(i),[e]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},Va=r=>Ve(0,255,r),qt=ee(K({},qe),{transform:r=>Math.round(Va(r))}),Fe={test:Ht("rgb","red"),parse:en("red","green","blue"),transform:({red:r,green:t,blue:e,alpha:n=1})=>"rgba("+qt.transform(r)+", "+qt.transform(t)+", "+qt.transform(e)+", "+st(at.transform(n))+")"};function Fa(r){let t="",e="",n="",a="";return r.length>5?(t=r.substring(1,3),e=r.substring(3,5),n=r.substring(5,7),a=r.substring(7,9)):(t=r.substring(1,2),e=r.substring(2,3),n=r.substring(3,4),a=r.substring(4,5),t+=t,e+=e,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(e,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}const Wt={test:Ht("#"),parse:Fa,transform:Fe.transform},ot=r=>({test:t=>typeof t=="string"&&t.endsWith(r)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${r}`}),Re=ot("deg"),We=ot("%"),Z=ot("px"),Ua=ot("vh"),ja=ot("vw"),tn=ee(K({},We),{parse:r=>We.parse(r)/100,transform:r=>We.transform(r*100)}),$e={test:Ht("hsl","hue"),parse:en("hue","saturation","lightness"),transform:({hue:r,saturation:t,lightness:e,alpha:n=1})=>"hsla("+Math.round(r)+", "+We.transform(st(t))+", "+We.transform(st(e))+", "+st(at.transform(n))+")"},fe={test:r=>Fe.test(r)||Wt.test(r)||$e.test(r),parse:r=>Fe.test(r)?Fe.parse(r):$e.test(r)?$e.parse(r):Wt.parse(r),transform:r=>typeof r=="string"?r:r.hasOwnProperty("red")?Fe.transform(r):$e.transform(r)},za=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ba(r){var t,e;return isNaN(r)&&typeof r=="string"&&(((t=r.match(Kt))==null?void 0:t.length)||0)+(((e=r.match(za))==null?void 0:e.length)||0)>0}const rn="number",nn="color",Ka="var",Ha="var(",an="${}",qa=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function lt(r){const t=r.toString(),e=[],n={color:[],number:[],var:[]},a=[];let i=0;const s=t.replace(qa,l=>(fe.test(l)?(n.color.push(i),a.push(nn),e.push(fe.parse(l))):l.startsWith(Ha)?(n.var.push(i),a.push(Ka),e.push(l)):(n.number.push(i),a.push(rn),e.push(parseFloat(l))),++i,an)).split(an);return{values:e,split:s,indexes:n,types:a}}function sn(r){return lt(r).values}function on(r){const{split:t,types:e}=lt(r),n=t.length;return a=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],a[o]!==void 0){const s=e[o];s===rn?i+=st(a[o]):s===nn?i+=fe.transform(a[o]):i+=a[o]}return i}}const Wa=r=>typeof r=="number"?0:r;function $a(r){const t=sn(r);return on(r)(t.map(Wa))}const Ye={test:Ba,parse:sn,createTransformer:on,getAnimatableNone:$a};function $t(r,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?r+(t-r)*6*e:e<1/2?t:e<2/3?r+(t-r)*(2/3-e)*6:r}function Ya({hue:r,saturation:t,lightness:e,alpha:n}){r/=360,t/=100,e/=100;let a=0,i=0,o=0;if(!t)a=i=o=e;else{const s=e<.5?e*(1+t):e+t-e*t,l=2*e-s;a=$t(l,s,r+1/3),i=$t(l,s,r),o=$t(l,s,r-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:n}}function xt(r,t){return e=>e>0?t:r}const Yt=(r,t,e)=>{const n=r*r,a=e*(t*t-n)+n;return a<0?0:Math.sqrt(a)},Ga=[Wt,Fe,$e],Qa=r=>Ga.find(t=>t.test(r));function ln(r){const t=Qa(r);if(rt(!!t,`'${r}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let e=t.parse(r);return t===$e&&(e=Ya(e)),e}const cn=(r,t)=>{const e=ln(r),n=ln(t);if(!e||!n)return xt(r,t);const a=K({},e);return i=>(a.red=Yt(e.red,n.red,i),a.green=Yt(e.green,n.green,i),a.blue=Yt(e.blue,n.blue,i),a.alpha=tt(e.alpha,n.alpha,i),Fe.transform(a))},Gt=new Set(["none","hidden"]);function Za(r,t){return Gt.has(r)?e=>e<=0?r:t:e=>e>=1?t:r}const Xa=(r,t)=>e=>t(r(e)),Qt=(...r)=>r.reduce(Xa);function Ja(r,t){return e=>tt(r,t,e)}function Zt(r){return typeof r=="number"?Ja:typeof r=="string"?Bt(r)?xt:fe.test(r)?cn:rs:Array.isArray(r)?dn:typeof r=="object"?fe.test(r)?cn:es:xt}function dn(r,t){const e=[...r],n=e.length,a=r.map((i,o)=>Zt(i)(i,t[o]));return i=>{for(let o=0;o<n;o++)e[o]=a[o](i);return e}}function es(r,t){const e=K(K({},r),t),n={};for(const a in e)r[a]!==void 0&&t[a]!==void 0&&(n[a]=Zt(r[a])(r[a],t[a]));return a=>{for(const i in n)e[i]=n[i](a);return e}}function ts(r,t){var a;const e=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=r.indexes[o][n[o]],l=(a=r.values[s])!=null?a:0;e[i]=l,n[o]++}return e}const rs=(r,t)=>{const e=Ye.createTransformer(t),n=lt(r),a=lt(t);return n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>=a.indexes.number.length?Gt.has(r)&&!a.values.length||Gt.has(t)&&!n.values.length?Za(r,t):Qt(dn(ts(n,a),a.values),e):(rt(!0,`Complex values '${r}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),xt(r,t))};function un(r,t,e){return typeof r=="number"&&typeof t=="number"&&typeof e=="number"?tt(r,t,e):Zt(r)(r,t)}const ns=r=>{const t=({timestamp:e})=>r(e);return{start:(e=!0)=>Pe.update(t,e),stop:()=>jt(t),now:()=>At.isProcessing?At.timestamp:Ee.now()}},pn=(r,t,e=10)=>{let n="";const a=Math.max(Math.round(t/e),2);for(let i=0;i<a;i++)n+=r(i/(a-1))+", ";return`linear(${n.substring(0,n.length-2)})`},is=5;function hn(r,t,e){const n=Math.max(t-is,0);return Gr(e-r(n),t-n)}const le={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Xt=.001;function as({duration:r=le.duration,bounce:t=le.bounce,velocity:e=le.velocity,mass:n=le.mass}){let a,i;rt(r<=Ae(le.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=Ve(le.minDamping,le.maxDamping,o),r=Ve(le.minDuration,le.maxDuration,ke(r)),o<1?(a=c=>{const d=c*o,u=d*r,h=d-e,p=Jt(c,o),f=Math.exp(-u);return Xt-h/p*f},i=c=>{const u=c*o*r,h=u*e+e,p=Math.pow(o,2)*Math.pow(c,2)*r,f=Math.exp(-u),m=Jt(Math.pow(c,2),o);return(-a(c)+Xt>0?-1:1)*((h-p)*f)/m}):(a=c=>{const d=Math.exp(-c*r),u=(c-e)*r+1;return-Xt+d*u},i=c=>{const d=Math.exp(-c*r),u=(e-c)*(r*r);return d*u});const s=5/r,l=os(a,i,s);if(r=Ae(r),isNaN(l))return{stiffness:le.stiffness,damping:le.damping,duration:r};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:o*2*Math.sqrt(n*c),duration:r}}}const ss=12;function os(r,t,e){let n=e;for(let a=1;a<ss;a++)n=n-r(n)/t(n);return n}function Jt(r,t){return r*Math.sqrt(1-t*t)}const ls=["duration","bounce"],cs=["stiffness","damping","mass"];function fn(r,t){return t.some(e=>r[e]!==void 0)}function ds(r){let t=K({velocity:le.velocity,stiffness:le.stiffness,damping:le.damping,mass:le.mass,isResolvedFromDuration:!1},r);if(!fn(r,cs)&&fn(r,ls))if(r.visualDuration){const e=r.visualDuration,n=2*Math.PI/(e*1.2),a=n*n,i=2*Ve(.05,1,1-(r.bounce||0))*Math.sqrt(a);t=ee(K({},t),{mass:le.mass,stiffness:a,damping:i})}else{const e=as(r);t=ee(K(K({},t),e),{mass:le.mass}),t.isResolvedFromDuration=!0}return t}function ct(r=le.visualDuration,t=le.bounce){const e=typeof r!="object"?{visualDuration:r,keyframes:[0,1],bounce:t}:r;let{restSpeed:n,restDelta:a}=e;const i=e.keyframes[0],o=e.keyframes[e.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:c,mass:d,duration:u,velocity:h,isResolvedFromDuration:p}=ds(ee(K({},e),{velocity:-ke(e.velocity||0)})),f=h||0,m=c/(2*Math.sqrt(l*d)),v=o-i,y=ke(Math.sqrt(l/d)),A=Math.abs(v)<5;n||(n=A?le.restSpeed.granular:le.restSpeed.default),a||(a=A?le.restDelta.granular:le.restDelta.default);let x;if(m<1){const I=Jt(y,m);x=L=>{const N=Math.exp(-m*y*L);return o-N*((f+m*y*v)/I*Math.sin(I*L)+v*Math.cos(I*L))}}else if(m===1)x=I=>o-Math.exp(-y*I)*(v+(f+y*v)*I);else{const I=y*Math.sqrt(m*m-1);x=L=>{const N=Math.exp(-m*y*L),S=Math.min(I*L,300);return o-N*((f+m*y*v)*Math.sinh(S)+I*v*Math.cosh(S))/I}}const k={calculatedDuration:p&&u||null,next:I=>{const L=x(I);if(p)s.done=I>=u;else{let N=I===0?f:0;m<1&&(N=I===0?Ae(f):hn(x,I,L));const S=Math.abs(N)<=n,U=Math.abs(o-L)<=a;s.done=S&&U}return s.value=s.done?o:L,s},toString:()=>{const I=Math.min(Ut(k),Ct),L=pn(N=>k.next(I*N).value,I,30);return I+"ms "+L},toTransition:()=>{}};return k}ct.applyToOptions=r=>{const t=zr(r,100,ct);return r.ease=t.ease,r.duration=Ae(t.duration),r.type="keyframes",r};function er({keyframes:r,velocity:t=0,power:e=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:o,min:s,max:l,restDelta:c=.5,restSpeed:d}){const u=r[0],h={done:!1,value:u},p=S=>s!==void 0&&S<s||l!==void 0&&S>l,f=S=>s===void 0?l:l===void 0||Math.abs(s-S)<Math.abs(l-S)?s:l;let m=e*t;const v=u+m,y=o===void 0?v:o(v);y!==v&&(m=y-u);const A=S=>-m*Math.exp(-S/n),x=S=>y+A(S),k=S=>{const U=A(S),q=x(S);h.done=Math.abs(U)<=c,h.value=h.done?y:q};let I,L;const N=S=>{p(h.value)&&(I=S,L=ct({keyframes:[h.value,f(h.value)],velocity:hn(x,S,h.value),damping:a,stiffness:i,restDelta:c,restSpeed:d}))};return N(0),{calculatedDuration:null,next:S=>{let U=!1;return!L&&I===void 0&&(U=!0,k(S),N(S)),I!==void 0&&S>=I?L.next(S-I):(!U&&k(S),h)}}}function us(r,t,e){const n=[],a=e||Le.mix||un,i=r.length-1;for(let o=0;o<i;o++){let s=a(r[o],r[o+1]);if(t){const l=Array.isArray(t)?t[o]||Be:t;s=Qt(l,s)}n.push(s)}return n}function ps(r,t,{clamp:e=!0,ease:n,mixer:a}={}){const i=r.length;if(Oe(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=r[0]===r[1];r[0]>r[i-1]&&(r=[...r].reverse(),t=[...t].reverse());const s=us(t,n,a),l=s.length,c=d=>{if(o&&d<r[0])return t[0];let u=0;if(l>1)for(;u<r.length-2&&!(d<r[u+1]);u++);const h=Vt(r[u],r[u+1],d);return s[u](h)};return e?d=>c(Ve(r[0],r[i-1],d)):c}function hs(r,t){return r.map(e=>e*t)}const mn=(r,t,e)=>(((1-3*e+3*t)*r+(3*e-6*t))*r+3*t)*r,fs=1e-7,ms=12;function vs(r,t,e,n,a){let i,o,s=0;do o=t+(e-t)/2,i=mn(o,n,a)-r,i>0?e=o:t=o;while(Math.abs(i)>fs&&++s<ms);return o}function dt(r,t,e,n){if(r===t&&e===n)return Be;const a=i=>vs(i,0,1,r,e);return i=>i===0||i===1?i:mn(a(i),t,n)}const gs=dt(.42,0,1,1),ys=dt(0,0,.58,1),vn=dt(.42,0,.58,1),gn=r=>t=>t<=.5?r(2*t)/2:(2-r(2*(1-t)))/2,yn=r=>t=>1-r(1-t),bn=dt(.33,1.53,.69,.99),tr=yn(bn),_n=gn(tr),En=r=>(r*=2)<1?.5*tr(r):.5*(2-Math.pow(2,-10*(r-1))),rr=r=>1-Math.sin(Math.acos(r)),bs=yn(rr),Cn=gn(rr),wn=r=>Array.isArray(r)&&typeof r[0]=="number",An={linear:Be,easeIn:gs,easeInOut:vn,easeOut:ys,circIn:rr,circInOut:Cn,circOut:bs,backIn:tr,backInOut:_n,backOut:bn,anticipate:En},_s=r=>typeof r=="string",Tn=r=>{if(wn(r)){Oe(r.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,e,n,a]=r;return dt(t,e,n,a)}else if(_s(r))return Oe(An[r]!==void 0,`Invalid easing type '${r}'`),An[r];return r};function Es(r,t){return r.map(()=>t||vn).splice(0,r.length-1)}function Ge({duration:r=300,keyframes:t,times:e,ease:n="easeInOut"}){const a=Mr(n)?n.map(Tn):Tn(n),i={done:!1,value:t[0]},o=hs(e&&e.length===t.length?e:jr(t),r),s=ps(o,t,{ease:Array.isArray(a)?a:Es(t,a)});return{calculatedDuration:r,next:l=>(i.value=s(l),i.done=l>=r,i)}}const Cs=r=>r!==null;function nr(r,{repeat:t,repeatType:e="loop"},n,a=1){const i=r.filter(Cs),s=a<0||t&&e!=="loop"&&t%2===1?0:i.length-1;return!s||n===void 0?i[s]:n}const ws={decay:er,inertia:er,tween:Ge,keyframes:Ge,spring:ct};function In(r){typeof r.type=="string"&&(r.type=ws[r.type])}class ir{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}const As=r=>r/100;class ar extends ir{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var n,a;const{motionValue:e}=this.options;e&&e.updatedAt!==Ee.now()&&this.tick(Ee.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(n=this.options).onStop)==null||a.call(n))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;In(t);const{type:e=Ge,repeat:n=0,repeatDelay:a=0,repeatType:i,velocity:o=0}=t;let{keyframes:s}=t;const l=e||Ge;process.env.NODE_ENV!=="production"&&l!==Ge&&Oe(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),l!==Ge&&typeof s[0]!="number"&&(this.mixKeyframes=Qt(As,un(s[0],s[1])),s=[0,100]);const c=l(ee(K({},t),{keyframes:s}));i==="mirror"&&(this.mirroredGenerator=l(ee(K({},t),{keyframes:[...s].reverse(),velocity:-o}))),c.calculatedDuration===null&&(c.calculatedDuration=Ut(c));const{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+a,this.totalDuration=this.resolvedDuration*(n+1)-a,this.generator=c}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:a,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:c=0,keyframes:d,repeat:u,repeatType:h,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?y<0:y>a;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let x=this.currentTime,k=n;if(u){const S=Math.min(this.currentTime,a)/s;let U=Math.floor(S),q=S%1;!q&&S>=1&&(q=1),q===1&&U--,U=Math.min(U,u+1),!!(U%2)&&(h==="reverse"?(q=1-q,p&&(q-=p/s)):h==="mirror"&&(k=o)),x=Ve(0,1,q)*s}const I=A?{done:!1,value:d[0]}:k.next(x);i&&(I.value=i(I.value));let{done:L}=I;!A&&l!==null&&(L=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return N&&f!==er&&(I.value=nr(d,this.options,v,this.speed)),m&&m(I.value),N&&this.finish(),I}then(t,e){return this.finished.then(t,e)}get duration(){return ke(this.calculatedDuration)}get time(){return ke(this.currentTime)}set time(t){var e;t=Ae(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(e=this.driver)==null||e.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ee.now());const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=ke(this.currentTime))}play(){var a,i;if(this.isStopped)return;const{driver:t=ns,startTime:e}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(a=this.options).onPlay)==null||i.call(a);const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e!=null?e:n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ee.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",(e=(t=this.options).onComplete)==null||e.call(t)}cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(e=(t=this.options).onCancel)==null||e.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(e=this.driver)==null||e.stop(),t.observe(this)}}function Ts(r){var t;for(let e=1;e<r.length;e++)(t=r[e])!=null||(r[e]=r[e-1])}const Ue=r=>r*180/Math.PI,sr=r=>{const t=Ue(Math.atan2(r[1],r[0]));return or(t)},Is={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:r=>(Math.abs(r[0])+Math.abs(r[3]))/2,rotate:sr,rotateZ:sr,skewX:r=>Ue(Math.atan(r[1])),skewY:r=>Ue(Math.atan(r[2])),skew:r=>(Math.abs(r[1])+Math.abs(r[2]))/2},or=r=>(r=r%360,r<0&&(r+=360),r),xn=sr,Nn=r=>Math.sqrt(r[0]*r[0]+r[1]*r[1]),kn=r=>Math.sqrt(r[4]*r[4]+r[5]*r[5]),xs={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Nn,scaleY:kn,scale:r=>(Nn(r)+kn(r))/2,rotateX:r=>or(Ue(Math.atan2(r[6],r[5]))),rotateY:r=>or(Ue(Math.atan2(-r[2],r[0]))),rotateZ:xn,rotate:xn,skewX:r=>Ue(Math.atan(r[4])),skewY:r=>Ue(Math.atan(r[1])),skew:r=>(Math.abs(r[1])+Math.abs(r[4]))/2};function lr(r){return r.includes("scale")?1:0}function cr(r,t){if(!r||r==="none")return lr(t);const e=r.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,a;if(e)n=xs,a=e;else{const s=r.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Is,a=s}if(!a)return lr(t);const i=n[t],o=a[1].split(",").map(ks);return typeof i=="function"?i(o):o[i]}const Ns=(r,t)=>{const{transform:e="none"}=getComputedStyle(r);return cr(e,t)};function ks(r){return parseFloat(r.trim())}const On=r=>r===qe||r===Z,Os=new Set(["x","y","z"]),Ls=Ke.filter(r=>!Os.has(r));function Ps(r){const t=[];return Ls.forEach(e=>{const n=r.getValue(e);n!==void 0&&(t.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),t}const je={width:({x:r},{paddingLeft:t="0",paddingRight:e="0"})=>r.max-r.min-parseFloat(t)-parseFloat(e),height:({y:r},{paddingTop:t="0",paddingBottom:e="0"})=>r.max-r.min-parseFloat(t)-parseFloat(e),top:(r,{top:t})=>parseFloat(t),left:(r,{left:t})=>parseFloat(t),bottom:({y:r},{top:t})=>parseFloat(t)+(r.max-r.min),right:({x:r},{left:t})=>parseFloat(t)+(r.max-r.min),x:(r,{transform:t})=>cr(t,"x"),y:(r,{transform:t})=>cr(t,"y")};je.translateX=je.x,je.translateY=je.y;const ze=new Set;let dr=!1,ur=!1,pr=!1;function Ln(){if(ur){const r=Array.from(ze).filter(n=>n.needsMeasurement),t=new Set(r.map(n=>n.element)),e=new Map;t.forEach(n=>{const a=Ps(n);a.length&&(e.set(n,a),n.render())}),r.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const a=e.get(n);a&&a.forEach(([i,o])=>{var s;(s=n.getValue(i))==null||s.set(o)})}),r.forEach(n=>n.measureEndState()),r.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}ur=!1,dr=!1,ze.forEach(r=>r.complete(pr)),ze.clear()}function Pn(){ze.forEach(r=>{r.readKeyframes(),r.needsMeasurement&&(ur=!0)})}function Rs(){pr=!0,Pn(),Ln(),pr=!1}class hr{constructor(t,e,n,a,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=a,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ze.add(this),dr||(dr=!0,Pe.read(Pn),Pe.resolveKeyframes(Ln))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:a}=this;if(t[0]===null){const i=a==null?void 0:a.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(n&&e){const s=n.readValue(e,o);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=o),a&&i===void 0&&a.set(t[0])}Ts(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ze.delete(this)}cancel(){this.state==="scheduled"&&(ze.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Ss=r=>r.startsWith("--");function Ds(r,t,e){Ss(t)?r.style.setProperty(t,e):r.style[t]=e}function fr(r){let t;return()=>(t===void 0&&(t=r()),t)}const Ms=fr(()=>window.ScrollTimeline!==void 0),Vs={};function Fs(r,t){const e=fr(r);return()=>{var n;return(n=Vs[t])!=null?n:e()}}const Rn=Fs(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(r){return!1}return!0},"linearEasing"),ut=([r,t,e,n])=>`cubic-bezier(${r}, ${t}, ${e}, ${n})`,Sn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ut([0,.65,.55,1]),circOut:ut([.55,0,1,.45]),backIn:ut([.31,.01,.66,-.59]),backOut:ut([.33,1.53,.69,.99])};function Dn(r,t){if(r)return typeof r=="function"?Rn()?pn(r,t):"ease-out":wn(r)?ut(r):Array.isArray(r)?r.map(e=>Dn(e,t)||Sn.easeOut):Sn[r]}function Us(r,t,e,{delay:n=0,duration:a=300,repeat:i=0,repeatType:o="loop",ease:s="easeOut",times:l}={},c=void 0){const d={[t]:e};l&&(d.offset=l);const u=Dn(s,a);Array.isArray(u)&&(d.easing=u);const h={delay:n,duration:a,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),r.animate(d,h)}function js(e){var n=e,{type:r}=n,t=Ie(n,["type"]);var a,i;return Ft(r)&&Rn()?r.applyToOptions(t):((a=t.duration)!=null||(t.duration=300),(i=t.ease)!=null||(t.ease="easeOut"),t)}class zs extends ir{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:n,keyframes:a,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,Oe(typeof t.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const c=js(t);this.animation=Us(e,n,a,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=nr(a,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(d):Ds(e,n,d),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,e;(e=(t=this.animation).finish)==null||e.call(t)}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,e;this.isPseudoElement||(e=(t=this.animation).commitStyles)==null||e.call(t)}get duration(){var e,n;const t=((n=(e=this.animation.effect)==null?void 0:e.getComputedTiming)==null?void 0:n.call(e).duration)||0;return ke(Number(t))}get time(){return ke(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ae(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&Ms()?(this.animation.timeline=t,Be):e(this)}}const Mn={anticipate:En,backInOut:_n,circInOut:Cn};function Bs(r){return r in Mn}function Ks(r){typeof r.ease=="string"&&Bs(r.ease)&&(r.ease=Mn[r.ease])}const Vn=10;class Hs extends zs{constructor(t){Ks(t),In(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){var d;const c=this.options,{motionValue:e,onUpdate:n,onComplete:a,element:i}=c,o=Ie(c,["motionValue","onUpdate","onComplete","element"]);if(!e)return;if(t!==void 0){e.set(t);return}const s=new ar(ee(K({},o),{autoplay:!1})),l=Ae((d=this.finishedTime)!=null?d:this.time);e.setWithVelocity(s.sample(l-Vn).value,s.sample(l).value,Vn),s.stop()}}const Fn=(r,t)=>t==="zIndex"?!1:!!(typeof r=="number"||Array.isArray(r)||typeof r=="string"&&(Ye.test(r)||r==="0")&&!r.startsWith("url("));function qs(r){const t=r[0];if(r.length===1)return!0;for(let e=0;e<r.length;e++)if(r[e]!==t)return!0}function Ws(r,t,e,n){const a=r[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const i=r[r.length-1],o=Fn(a,t),s=Fn(i,t);return rt(o===s,`You are trying to animate ${t} from "${a}" to "${i}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${i} via the \`style\` property.`),!o||!s?!1:qs(r)||(e==="spring"||Ft(e))&&n}function Un(r){return typeof r=="object"&&r!==null}function $s(r){return Un(r)&&"offsetHeight"in r}const Ys=new Set(["opacity","clipPath","filter","transform"]),Gs=fr(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Qs(r){var c;const{motionValue:t,name:e,repeatDelay:n,repeatType:a,damping:i,type:o}=r;if(!$s((c=t==null?void 0:t.owner)==null?void 0:c.current))return!1;const{onUpdate:s,transformTemplate:l}=t.owner.getProps();return Gs()&&e&&Ys.has(e)&&(e!=="transform"||!l)&&!s&&!n&&a!=="mirror"&&i!==0&&o!=="inertia"}const Zs=40;class Xs extends ir{constructor(h){var p=h,{autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:l,motionValue:c,element:d}=p,u=Ie(p,["autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);var v;super(),this.stop=()=>{var y,A;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Ee.now();const f=K({autoplay:t,delay:e,type:n,repeat:a,repeatDelay:i,repeatType:o,name:l,motionValue:c,element:d},u),m=(d==null?void 0:d.KeyframeResolver)||hr;this.keyframeResolver=new m(s,(y,A,x)=>this.onKeyframesResolved(y,A,f,!x),l,c,d),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,e,n,a){this.keyframeResolver=void 0;const{name:i,type:o,velocity:s,delay:l,isHandoff:c,onUpdate:d}=n;this.resolvedAt=Ee.now(),Ws(t,i,o,s)||((Le.instantAnimations||!l)&&(d==null||d(nr(t,n,e))),t[0]=t[t.length-1],n.duration=0,n.repeat=0);const u=a?this.resolvedAt?this.resolvedAt-this.createdAt>Zs?this.resolvedAt:this.createdAt:this.createdAt:void 0,h=ee(K({startTime:u,finalKeyframe:e},n),{keyframes:t}),p=!c&&Qs(h)?new Hs(ee(K({},h),{element:h.motionValue.owner.current})):new ar(h);p.finished.then(()=>this.notifyFinished()).catch(Be),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),Rs()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const jn=(r,t,e,n={},a,i)=>o=>{const s=Zr(n,r)||{},l=s.delay||n.delay||0;let{elapsed:c=0}=n;c=c-Ae(l);const d=ee(K({keyframes:Array.isArray(e)?e:[null,e],ease:"easeOut",velocity:t.getVelocity()},s),{delay:-c,onUpdate:h=>{t.set(h),s.onUpdate&&s.onUpdate(h)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:r,motionValue:t,element:i?void 0:a});Pa(s)||Object.assign(d,La(r,d)),d.duration&&(d.duration=Ae(d.duration)),d.repeatDelay&&(d.repeatDelay=Ae(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let u=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(u=!0)),(Le.instantAnimations||Le.skipAnimations)&&(u=!0,d.duration=0,d.delay=0),d.allowFlatten=!s.type&&!s.ease,u&&!i&&t.get()!==void 0){const h=Ia(d.keyframes,s);if(h!==void 0){Pe.update(()=>{d.onUpdate(h),d.onComplete()});return}}return s.isSync?new ar(d):new Xs(d)},zn=new Set(["width","height","top","left","right","bottom",...Ke]);function Js({protectedKeys:r,needsAnimating:t},e){const n=r.hasOwnProperty(e)&&t[e]!==!0;return t[e]=!1,n}function eo(r,t,{delay:e=0,transitionOverride:n,type:a}={}){var u;let d=t,{transition:i=r.getDefaultTransition(),transitionEnd:o}=d,s=Ie(d,["transition","transitionEnd"]);n&&(i=n);const l=[],c=a&&r.animationState&&r.animationState.getState()[a];for(const h in s){const p=r.getValue(h,(u=r.latestValues[h])!=null?u:null),f=s[h];if(f===void 0||c&&Js(c,h))continue;const m=K({delay:e},Zr(i||{},h)),v=p.get();if(v!==void 0&&!p.isAnimating&&!Array.isArray(f)&&f===v&&!m.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const x=Aa(r);if(x){const k=window.MotionHandoffAnimation(x,h,Pe);k!==null&&(m.startTime=k,y=!0)}}Ca(r,h),p.start(jn(h,p,f,r.shouldReduceMotion&&zn.has(h)?{type:!1}:m,r,y));const A=p.animation;A&&l.push(A)}return o&&Promise.all(l).then(()=>{Pe.update(()=>{o&&_a(r,o)})}),l}function to({top:r,left:t,right:e,bottom:n}){return{x:{min:t,max:e},y:{min:r,max:n}}}function ro(r,t){if(!t)return r;const e=t({x:r.left,y:r.top}),n=t({x:r.right,y:r.bottom});return{top:e.y,left:e.x,bottom:n.y,right:n.x}}function no(r,t){return to(ro(r.getBoundingClientRect(),t))}const Bn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},mr={};for(const r in Bn)mr[r]={isEnabled:t=>Bn[r].some(e=>!!t[e])};const Kn=()=>({min:0,max:0}),vr=()=>({x:Kn(),y:Kn()}),io=typeof window!="undefined",gr={current:null},Hn={current:!1};function ao(){if(Hn.current=!0,!!io)if(window.matchMedia){const r=window.matchMedia("(prefers-reduced-motion)"),t=()=>gr.current=r.matches;r.addListener(t),t()}else gr.current=!1}function so(r){return r!==null&&typeof r=="object"&&typeof r.start=="function"}function oo(r){return typeof r=="string"||Array.isArray(r)}const lo=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function qn(r){return so(r.animate)||lo.some(t=>oo(r[t]))}function co(r){return!!(qn(r)||r.variants)}function uo(r,t,e){for(const n in t){const a=t[n],i=e[n];if(ve(a))r.addValue(n,a);else if(ve(i))r.addValue(n,it(a,{owner:r}));else if(i!==a)if(r.hasValue(n)){const o=r.getValue(n);o.liveStyle===!0?o.jump(a):o.hasAnimated||o.set(a)}else{const o=r.getStaticValue(n);r.addValue(n,it(o!==void 0?o:a,{owner:r}))}}for(const n in e)t[n]===void 0&&r.removeValue(n);return t}const Wn=r=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r),$n=r=>/^0[^.\s]+$/u.test(r),po={test:r=>r==="auto",parse:r=>r},Yn=r=>t=>t.test(r),Gn=[qe,Z,We,Re,ja,Ua,po],Qn=r=>Gn.find(Yn(r)),ho=[...Gn,fe,Ye],fo=r=>ho.find(Yn(r)),mo=new Set(["brightness","contrast","saturate","opacity"]);function vo(r){const[t,e]=r.slice(0,-1).split("(");if(t==="drop-shadow")return r;const[n]=e.match(Kt)||[];if(!n)return r;const a=e.replace(n,"");let i=mo.has(t)?1:0;return n!==e&&(i*=100),t+"("+i+a+")"}const go=/\b([a-z-]*)\(.*?\)/gu,yr=ee(K({},Ye),{getAnimatableNone:r=>{const t=r.match(go);return t?t.map(vo).join(" "):r}}),Zn=ee(K({},qe),{transform:Math.round}),br=ee(K({borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,backgroundPositionX:Z,backgroundPositionY:Z},{rotate:Re,rotateX:Re,rotateY:Re,rotateZ:Re,scale:It,scaleX:It,scaleY:It,scaleZ:It,skew:Re,skewX:Re,skewY:Re,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:at,originX:tn,originY:tn,originZ:Z}),{zIndex:Zn,fillOpacity:at,strokeOpacity:at,numOctaves:Zn}),yo=ee(K({},br),{color:fe,backgroundColor:fe,outlineColor:fe,fill:fe,stroke:fe,borderColor:fe,borderTopColor:fe,borderRightColor:fe,borderBottomColor:fe,borderLeftColor:fe,filter:yr,WebkitFilter:yr}),Xn=r=>yo[r];function Jn(r,t){let e=Xn(r);return e!==yr&&(e=Ye),e.getAnimatableNone?e.getAnimatableNone(t):void 0}const ei=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ti{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:a,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=hr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Ee.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Pe.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget=K({},l),this.initialValues=e.initial?K({},l):{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=qn(e),this.isVariantNode=co(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const h=this.scrapeMotionValuesFromProps(e,{},this),{willChange:d}=h,u=Ie(h,["willChange"]);for(const p in u){const f=u[p];l[p]!==void 0&&ve(f)&&f.set(l[p],!1)}}mount(t){this.current=t,nt.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,n)=>this.bindToMotionValue(n,e)),Hn.current||ao(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gr.current,process.env.NODE_ENV!=="production"&&$r(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),jt(this.notifyUpdate),jt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=He.has(t);n&&this.onBindTransform&&this.onBindTransform();const a=e.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Pe.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{a(),i(),o&&o(),e.owner&&e.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in mr){const e=mr[t];if(!e)continue;const{isEnabled:n,Feature:a}=e;if(!this.features[t]&&a&&n(this.props)&&(this.features[t]=new a(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):vr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<ei.length;n++){const a=ei[n];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const i="on"+a,o=t[i];o&&(this.propEventSubscriptions[a]=this.on(a,o))}this.prevMotionValues=uo(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&e!==void 0&&(n=it(e===null?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var a;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(a=this.getBaseTargetFromProps(this.props,t))!=null?a:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(Wn(n)||$n(n))?n=parseFloat(n):!fo(n)&&Ye.test(e)&&(n=Jn(t,e)),this.setBaseTarget(t,ve(n)?n.get():n)),ve(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var i;const{initial:e}=this.props;let n;if(typeof e=="string"||typeof e=="object"){const o=qr(this.props,e,(i=this.presenceContext)==null?void 0:i.custom);o&&(n=o[t])}if(e&&n!==void 0)return n;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!ve(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,e){return this.events[t]||(this.events[t]=new Yr),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}const bo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _o(r){const t=bo.exec(r);if(!t)return[,];const[,e,n,a]=t;return[`--${e!=null?e:n}`,a]}const Eo=4;function ri(r,t,e=1){Oe(e<=Eo,`Max CSS variable fallback depth detected in property "${r}". This may indicate a circular fallback dependency.`);const[n,a]=_o(r);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const o=i.trim();return Wn(o)?parseFloat(o):o}return Bt(a)?ri(a,t,e+1):a}function Co(r){return typeof r=="number"?r===0:r!==null?r==="none"||r==="0"||$n(r):!0}const wo=new Set(["auto","none","0"]);function Ao(r,t,e){let n=0,a;for(;n<r.length&&!a;){const i=r[n];typeof i=="string"&&!wo.has(i)&<(i).values.length&&(a=r[n]),n++}if(a&&e)for(const i of t)r[i]=Jn(e,a)}class To extends hr{constructor(t,e,n,a,i){super(t,e,n,a,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),Bt(c))){const d=ri(c,e.current);d!==void 0&&(t[l]=d),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!zn.has(n)||t.length!==2)return;const[a,i]=t,o=Qn(a),s=Qn(i);if(o!==s)if(On(o)&&On(s))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else je[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let a=0;a<t.length;a++)(t[a]===null||Co(t[a]))&&n.push(a);n.length&&Ao(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=je[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const a=e[e.length-1];a!==void 0&&t.getValue(n,a).jump(a,!1)}measureEndState(){var s;const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const a=t.getValue(e);a&&a.jump(this.measuredOrigin,!1);const i=n.length-1,o=n[i];n[i]=je[e](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}class ni extends ti{constructor(){super(...arguments),this.KeyframeResolver=To}sortInstanceNodePosition(t,e){return t.compareDocumentPosition(e)&2?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ve(t)&&(this.childSubscription=t.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}const ii=(r,t)=>t&&typeof r=="number"?t.transform(r):r,Io={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xo=Ke.length;function No(r,t,e){let n="",a=!0;for(let i=0;i<xo;i++){const o=Ke[i],s=r[o];if(s===void 0)continue;let l=!0;if(typeof s=="number"?l=s===(o.startsWith("scale")?1:0):l=parseFloat(s)===0,!l||e){const c=ii(s,br[o]);if(!l){a=!1;const d=Io[o]||o;n+=`${d}(${c}) `}e&&(t[o]=c)}}return n=n.trim(),e?n=e(t,a?"":n):a&&(n="none"),n}function ai(r,t,e){const{style:n,vars:a,transformOrigin:i}=r;let o=!1,s=!1;for(const l in t){const c=t[l];if(He.has(l)){o=!0;continue}else if(Jr(l)){a[l]=c;continue}else{const d=ii(c,br[l]);l.startsWith("origin")?(s=!0,i[l]=d):n[l]=d}}if(t.transform||(o||e?n.transform=No(t,r.transform,e):n.transform&&(n.transform="none")),s){const{originX:l="50%",originY:c="50%",originZ:d=0}=i;n.transformOrigin=`${l} ${c} ${d}`}}function si(r,{style:t,vars:e},n,a){Object.assign(r.style,t,a&&a.getProjectionStyles(n));for(const i in e)r.style.setProperty(i,e[i])}const ko={};function Oo(r,{layout:t,layoutId:e}){return He.has(r)||r.startsWith("origin")||(t||e!==void 0)&&(!!ko[r]||r==="opacity")}function oi(r,t,e){var i;const{style:n}=r,a={};for(const o in n)(ve(n[o])||t.style&&ve(t.style[o])||Oo(o,r)||((i=e==null?void 0:e.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(a[o]=n[o]);return a}function Lo(r){return window.getComputedStyle(r)}class Po extends ni{constructor(){super(...arguments),this.type="html",this.renderInstance=si}readValueFromInstance(t,e){var n;if(He.has(e))return(n=this.projection)!=null&&n.isProjecting?lr(e):Ns(t,e);{const a=Lo(t),i=(Jr(e)?a.getPropertyValue(e):a[e])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return no(t,e)}build(t,e,n){ai(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return oi(t,e,n)}}function Ro(r,t){return r in t}class So extends ti{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(Ro(e,t)){const n=t[e];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return vr()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}const Do={offset:"stroke-dashoffset",array:"stroke-dasharray"},Mo={offset:"strokeDashoffset",array:"strokeDasharray"};function Vo(r,t,e=1,n=0,a=!0){r.pathLength=1;const i=a?Do:Mo;r[i.offset]=Z.transform(-n);const o=Z.transform(t),s=Z.transform(e);r[i.array]=`${o} ${s}`}function Fo(r,u,l,c,d){var h=u,{attrX:t,attrY:e,attrScale:n,pathLength:a,pathSpacing:i=1,pathOffset:o=0}=h,s=Ie(h,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]);var m,v;if(ai(r,s,c),l){r.style.viewBox&&(r.attrs.viewBox=r.style.viewBox);return}r.attrs=r.style,r.style={};const{attrs:p,style:f}=r;p.transform&&(f.transform=p.transform,delete p.transform),(f.transform||p.transformOrigin)&&(f.transformOrigin=(m=p.transformOrigin)!=null?m:"50% 50%",delete p.transformOrigin),f.transform&&(f.transformBox=(v=d==null?void 0:d.transformBox)!=null?v:"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),e!==void 0&&(p.y=e),n!==void 0&&(p.scale=n),a!==void 0&&Vo(p,a,i,o,!1)}const li=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Uo=r=>typeof r=="string"&&r.toLowerCase()==="svg";function jo(r,t,e,n){si(r,t,void 0,n);for(const a in t.attrs)r.setAttribute(li.has(a)?a:zt(a),t.attrs[a])}function zo(r,t,e){const n=oi(r,t,e);for(const a in r)if(ve(r[a])||ve(t[a])){const i=Ke.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;n[i]=r[a]}return n}class Bo extends ni{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vr}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(He.has(e)){const n=Xn(e);return n&&n.default||0}return e=li.has(e)?e:zt(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return zo(t,e,n)}build(t,e,n){Fo(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,a){jo(t,e,n,a)}mount(t){this.isSVGTag=Uo(t.tagName),super.mount(t)}}function ci(r){return Un(r)&&"ownerSVGElement"in r}function Ko(r){return ci(r)&&r.tagName==="svg"}function Ho(r){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},e=ci(r)&&!Ko(r)?new Bo(t):new Po(t);e.mount(r),nt.set(r,e)}function qo(r){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},e=new So(t);e.mount(r),nt.set(r,e)}function Wo(r,t,e){const n=ve(r)?r:it(r);return n.start(jn("",n,t,e)),n.animation}function $o(r,t){return ve(r)||typeof r=="number"||typeof r=="string"&&!Mt(t)}function di(r,t,e,n){const a=[];if($o(r,t))a.push(Wo(r,Mt(t)&&t.default||t,e&&(e.default||e)));else{const i=Sr(r,t,n),o=i.length;Oe(!!o,"No valid elements provided.");for(let s=0;s<o;s++){const l=i[s],c=l instanceof Element?Ho:qo;nt.has(l)||c(l);const d=nt.get(l),u=K({},e);"delay"in u&&typeof u.delay=="function"&&(u.delay=u.delay(s,o)),a.push(...eo(d,ee(K({},t),{transition:u}),{}))}}return a}function Yo(r,t,e){const n=[];return aa(r,t,e,{spring:ct}).forEach(({keyframes:i,transition:o},s)=>{n.push(...di(s,i,o))}),n}class Go{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){const e=this.animations.map(n=>n.attachTimeline(t));return()=>{e.forEach((n,a)=>{n&&n(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Qo extends Go{then(t,e){return this.finished.finally(t).then(()=>{})}}function Zo(r){return Array.isArray(r)&&r.some(Array.isArray)}function Xo(r){function t(e,n,a){let i=[];return Zo(e)?i=Yo(e,n,r):i=di(e,n,a,r),new Qo(i)}return t}const ue=Xo(),X={spinner:"_spinner_k40uq_1",spinnerContainer:"_spinnerContainer_k40uq_5",success:"_success_k40uq_9",successContainer:"_successContainer_k40uq_13",container:"_container_k40uq_17",card:"_card_k40uq_26",warning:"_warning_k40uq_35",svg:"_svg_k40uq_43",srOnly:"_srOnly_k40uq_48",backButton:"_backButton_k40uq_52"};class ui{constructor(){C(this,"template",`
|
|
3
3
|
<svg aria-hidden="true" class="${X.spinner}" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
4
|
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/>
|
|
5
5
|
<path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/>
|
|
6
6
|
</svg>
|
|
7
7
|
<span class="${X.srOnly}">Loading...</span>
|
|
8
|
-
`);A(this,"spinner",document.createElement("div"));this.spinner.setAttribute("role","status"),this.spinner.classList.add(X.spinnerContainer),this.spinner.innerHTML=this.template}addClass(e){this.spinner.classList.add(e)}removeClass(e){this.spinner.classList.remove(e)}render(){return this.spinner}}const pn={loader:"_loader_nwq3e_1"};class ul{constructor(){A(this,"loader");this.loader=document.createElement("div"),this.loader.classList.add(pn.loader),this.loader.appendChild(new un().render())}setClassName(e){e?this.loader.classList.add(e):this.loader.className=pn.loader}render(){return this.loader}}const ve={checkout:"_checkout_5sq3n_1",hidden:"_hidden_5sq3n_7",formInitial:"_formInitial_5sq3n_11",btnsInitial:"_btnsInitial_5sq3n_16"},bt={buttons:"_buttons_1i8cu_1",hidden:"_hidden_1i8cu_5"},kt={applePay:"_applePay_1ce61_1",hidden:"_hidden_1ce61_26"};function At(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ct,hn;function pl(){if(hn)return Ct;hn=1;var t={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}};return Ct=t,Ct}var ua={},pa={},mn;function yn(){if(mn)return pa;mn=1,Object.defineProperty(pa,"__esModule",{value:!0}),pa.clone=void 0;function t(e){return e?JSON.parse(JSON.stringify(e)):null}return pa.clone=t,pa}var ha={},fn;function hl(){if(fn)return ha;fn=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.matches=void 0;function t(r,i,n){var s=String(i).length,o=r.substr(0,s),l=parseInt(o,10);return i=parseInt(String(i).substr(0,o.length),10),n=parseInt(String(n).substr(0,o.length),10),l>=i&&l<=n}function e(r,i){return i=String(i),i.substring(0,r.length)===r.substring(0,i.length)}function a(r,i){return Array.isArray(i)?t(r,i[0],i[1]):e(r,i)}return ha.matches=a,ha}var vn;function ml(){if(vn)return ua;vn=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.addMatchingCardsToResults=void 0;var t=yn(),e=hl();function a(r,i,n){var s,o;for(s=0;s<i.patterns.length;s++){var l=i.patterns[s];if((0,e.matches)(r,l)){var d=(0,t.clone)(i);Array.isArray(l)?o=String(l[0]).length:o=String(l).length,r.length>=o&&(d.matchStrength=o),n.push(d);break}}}return ua.addMatchingCardsToResults=a,ua}var ma={},gn;function yl(){if(gn)return ma;gn=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.isValidInputType=void 0;function t(e){return typeof e=="string"||e instanceof String}return ma.isValidInputType=t,ma}var ya={},Pn;function fl(){if(Pn)return ya;Pn=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.findBestMatch=void 0;function t(a){var r=a.filter(function(i){return i.matchStrength}).length;return r>0&&r===a.length}function e(a){return t(a)?a.reduce(function(r,i){return!r||Number(r.matchStrength)<Number(i.matchStrength)?i:r}):null}return ya.findBestMatch=e,ya}var fa,bn;function vl(){if(bn)return fa;bn=1;var t=fa&&fa.__assign||function(){return t=Object.assign||function(m){for(var y,f=1,g=arguments.length;f<g;f++){y=arguments[f];for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&(m[E]=y[E])}return m},t.apply(this,arguments)},e=pl(),a=ml(),r=yl(),i=fl(),n=yn(),s={},o={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},l=[o.VISA,o.MASTERCARD,o.AMERICAN_EXPRESS,o.DINERS_CLUB,o.DISCOVER,o.JCB,o.UNIONPAY,o.MAESTRO,o.ELO,o.MIR,o.HIPER,o.HIPERCARD],d=(0,n.clone)(l);function c(m){return s[m]||e[m]}function u(){return d.map(function(m){return(0,n.clone)(c(m))})}function h(m,y){y===void 0&&(y=!1);var f=d.indexOf(m);if(!y&&f===-1)throw new Error('"'+m+'" is not a supported card type.');return f}function p(m){var y=[];if(!(0,r.isValidInputType)(m))return y;if(m.length===0)return u();d.forEach(function(g){var E=c(g);(0,a.addMatchingCardsToResults)(m,E,y)});var f=(0,i.findBestMatch)(y);return f?[f]:y}return p.getTypeInfo=function(m){return(0,n.clone)(c(m))},p.removeCard=function(m){var y=h(m);d.splice(y,1)},p.addCard=function(m){var y=h(m.type,!0);s[m.type]=m,y===-1&&d.push(m.type)},p.updateCard=function(m,y){var f=s[m]||e[m];if(!f)throw new Error('"'.concat(m,"\" is not a recognized type. Use `addCard` instead.'"));if(y.type&&f.type!==y.type)throw new Error("Cannot overwrite type parameter.");var g=(0,n.clone)(f);g=t(t({},g),y),s[g.type]=g},p.changeOrder=function(m,y){var f=h(m);d.splice(f,1),d.splice(y,0,m)},p.resetModifications=function(){d=(0,n.clone)(l),s={}},p.types=o,fa=p,fa}var Qe=vl();Qe.updateCard("visa",{lengths:[16]}),Qe.updateCard("unionpay",{gaps:[4,8,12,16]});const gl=(t,e)=>{const a=Qe.getTypeInfo(e),r=t.replace(/\D/g,""),i=(a==null?void 0:a.gaps)||[4,8,12],n=a?Math.max(...a.lengths)+i.length:19,s=[0].concat(i,r.length),o=[];for(let l=0;s[l]<r.length;l++){const d=s[l],c=Math.min(s[l+1],r.length);o.push(r.slice(d,c))}return o.join(" ").slice(0,n)},Pl=(t,e)=>{const a=Qe.getTypeInfo(e),r=(a==null?void 0:a.code.size)||4;return t.replace(/\D/g,"").slice(0,r)},bl=(t,e)=>{const a=t.replace(/\D/g,"");let r=a.slice(0,2);if(!r)return"";const i=Number(r);if(r!=="01"){if(Number.isNaN(i))return"0";if(i===0||i===1)return`${i}`;if(i>12)return"1";r=i>9?`${i}`:`0${i}`}if(t.length<e.length){const s=Number(t[t.length-1]);if(Number.isNaN(s))return r}const n=a.slice(2,4);return`${r} / ${n}`};var pe=(t=>(t.Invalid="invalid",t.Empty="empty",t.Incomplete="incomplete",t.Unsupported="unsupported",t.Expired="expired",t))(pe||{}),de=(t=>(t.Visa="visa",t.Mastercard="mastercard",t.AmericanExpress="american-express",t.Discover="discover",t.JCB="jcb",t.DinersClub="diners-club",t.UnionPay="unionpay",t.Maestro="maestro",t))(de||{});const _a=[{name:"Visa",type:"visa",pattern:/^4/,minLength:16,maxLength:16},{name:"MasterCard",type:"mastercard",pattern:/^5[1-5]/,minLength:16,maxLength:16},{name:"American Express",type:"american-express",pattern:/^3[47]/,minLength:15,maxLength:15},{name:"Discover",type:"discover",pattern:/^6(?:011|5[0-9]{2})/,minLength:16,maxLength:16},{name:"JCB",type:"jcb",pattern:/^(?:2131|1800|35\d{3})/,minLength:15,maxLength:16},{name:"Diners Club",type:"diners-club",pattern:/^3(?:0[0-5]|[68][0-9])/,minLength:14,maxLength:16},{name:"Union Pay",type:"unionpay",pattern:/^62[^7]+/,minLength:16,maxLength:19},{name:"Maestro",type:"maestro",pattern:/^(50[^69]|5[68]|5018|5020|5038|627|6304|6759|6761|6763|6[3][^6]+)/,minLength:12,maxLength:19}],kn=t=>_a.find(e=>e.pattern.test(t))||null,An=t=>_a.filter(e=>e.pattern.test(t)),kl=t=>{let e=0,a=!1;for(let r=t.length-1;r>=0;r--){let i=parseInt(t[r]);a&&(i*=2,i>9&&(i-=9)),e+=i,a=!a}return e%10===0},Cn=(t,e)=>{const a=t.replace(/\D/g,"");if(!a)return{isValid:!1,cardType:null,error:pe.Empty};if(!/^\d+$/.test(a))return{isValid:!1,cardType:null,error:pe.Invalid};const r=kn(a);if(r){if(a.length<r.minLength||a.length>r.maxLength)return{isValid:!1,cardType:r.name,error:pe.Incomplete}}else if(a.length<16)return{isValid:!1,cardType:null,error:pe.Incomplete};return r&&e&&!e.includes(r.type)?{isValid:!1,cardType:r.name,error:pe.Unsupported}:kl(a)?{isValid:!0,cardType:(r==null?void 0:r.name)||null,error:null}:{isValid:!1,cardType:(r==null?void 0:r.name)||null,error:pe.Invalid}};var te=(t=>(t.PAYPAL="PAYPAL",t.APPLE_PAY="APPLEPAY",t.GOOGLE_PAY="GPAY",t.CARD="CARD",t.VENMO="VENMO",t))(te||{}),Et=(t=>(t.PENDING="PENDING",t.FAILED="FAILED",t.AUTHORIZED="AUTHORIZED",t.SETTLING="SETTLING",t.SETTLED="SETTLED",t.DECLINED="DECLINED",t.CANCELLED="CANCELLED",t))(Et||{}),ge=(t=>(t.INSUFFICIENT_FUNDS="insufficient_funds",t.AUTHENTICATION_REQUIRED="authentication_required",t.CARD_ISSUER_DECLINE="card_issuer_decline",t.GENERIC_DECLINE="generic_decline",t.WITHDRAWAL_LIMIT_EXCEEDED="withdrawal_limit_exceeded",t.DO_NOT_HONOR="do_not_honor",t.EXPIRED_CARD="expired_card",t.SUSPECTED_FRAUD="suspected_fraud",t.INCORRECT_CVC="incorrect_cvc",t.INVALID_CARD_NUMBER="invalid_card_number",t.ISSUER_UNAVAILABLE="issuer_unavailable",t.CARD_LOST_OR_STOLEN="card_lost_or_stolen",t.CARD_DECLINED="card_declined",t))(ge||{});const Tt=(t="sandbox")=>({develop:"https://dev-api.paynext.com",staging:"https://staging-api.paynext.com",sandbox:"https://sandbox-api.paynext.com",production:"https://api.paynext.com"})[t],Al=[{type:te.PAYPAL,order:1,is_active:!0},{type:te.APPLE_PAY,order:2,is_active:!0},{type:te.GOOGLE_PAY,order:3,is_active:!0},{type:te.CARD,order:4,is_active:!0}],Cl=t=>t.googlePay?te.GOOGLE_PAY:t.applePay?te.APPLE_PAY:t.paypal?te.PAYPAL:t.braintree?te.VENMO:te.CARD,El=t=>{const e=t.card;if(e)return{bin:e.firstSixDigits,bin_data:{brand:e.cardBrand,country:e.country,currency_code:e.currency,funding:e.funding,issuer:e.issuer,type:e.type},cvc:e.cvc,exp_month:Number(e.expMonth),exp_year:Number(e.expYear),last4:e.lastFourDigits,number:e.number}},Tl=t=>{var a;const e=t.paypal;if((a=e==null?void 0:e.billing_agreement_token)!=null&&a.paypalId)return{billing_agreement_token:e.billing_agreement_token.paypalId}},Il=t=>{var a,r;const e=t.googlePay;if(e!=null&&e.token)return{cryptogram:e.cryptogram,eci:e.eci,exp_month:(a=e.card)!=null&&a.expiry.month||e.token.expiry.month?Number(e.card.expiry.month||e.token.expiry.month):void 0,exp_year:(r=e.card)!=null&&r.expiry.year||e.token.expiry.year?Number(e.card.expiry.year||e.token.expiry.year):void 0,token:e.token.number,token_service_provider:e.token.tokenServiceProvider}},Nl=t=>{var a,r,i,n,s,o;const e=t.applePay;if(e)return{cryptogram:e.cryptogram,eci:e.eci,exp_month:(r=(a=e.networkToken)==null?void 0:a.expiry)!=null&&r.month?Number(e.networkToken.expiry.month):void 0,exp_year:(n=(i=e.networkToken)==null?void 0:i.expiry)!=null&&n.year?Number(e.networkToken.expiry.year):void 0,token:(s=e.networkToken)==null?void 0:s.number,token_service_provider:(o=e.networkToken)==null?void 0:o.tokenServiceProvider}},_l=t=>{const e=t.braintree;if(e)return{payment_method_nonce:e.nonce}},En=t=>{var r,i,n,s,o,l,d,c,u,h,p,m,y,f;const{applePay:e,googlePay:a}=t;if(!(!e&&!a))return{city:((r=e==null?void 0:e.billingContact)==null?void 0:r.locality)||((i=a==null?void 0:a.billingAddress)==null?void 0:i.locality)||void 0,country:((n=e==null?void 0:e.billingContact)==null?void 0:n.countryCode)||((s=a==null?void 0:a.billingAddress)==null?void 0:s.countryCode)||void 0,line1:((l=(o=e==null?void 0:e.billingContact)==null?void 0:o.addressLines)==null?void 0:l.at(0))||((d=a==null?void 0:a.billingAddress)==null?void 0:d.address1)||void 0,line2:((u=(c=e==null?void 0:e.billingContact)==null?void 0:c.addressLines)==null?void 0:u.at(1))||((h=a==null?void 0:a.billingAddress)==null?void 0:h.address2)||void 0,postal_code:((p=e==null?void 0:e.billingContact)==null?void 0:p.postalCode)||((m=a==null?void 0:a.billingAddress)==null?void 0:m.postalCode)||void 0,state:((y=e==null?void 0:e.billingContact)==null?void 0:y.administrativeArea)||((f=a==null?void 0:a.billingAddress)==null?void 0:f.administrativeArea)||void 0}},Tn=t=>{var i,n,s,o,l,d,c,u,h,p,m,y,f,g,E,N,w,I,x;const{card:e,googlePay:a,applePay:r}=t;if(!(!e&&!(a!=null&&a.card)&&!(r!=null&&r.card)))return{bin:e==null?void 0:e.firstSixDigits,bin_data:{brand:(e==null?void 0:e.cardBrand)||((i=a==null?void 0:a.card)==null?void 0:i.brand)||((n=r==null?void 0:r.card)==null?void 0:n.brand),country:(e==null?void 0:e.country)||((s=a==null?void 0:a.card)==null?void 0:s.country)||((o=r==null?void 0:r.card)==null?void 0:o.country),currency_code:(e==null?void 0:e.currency)||((l=a==null?void 0:a.card)==null?void 0:l.currency)||((d=r==null?void 0:r.card)==null?void 0:d.currency),funding:(e==null?void 0:e.funding)||((c=a==null?void 0:a.card)==null?void 0:c.funding)||((u=r==null?void 0:r.card)==null?void 0:u.funding),issuer:(e==null?void 0:e.issuer)||((h=a==null?void 0:a.card)==null?void 0:h.issuer)||((p=r==null?void 0:r.card)==null?void 0:p.issuer),type:(e==null?void 0:e.type)||((m=a==null?void 0:a.card)==null?void 0:m.segment)||((y=r==null?void 0:r.card)==null?void 0:y.segment)},cvc:e==null?void 0:e.cvc,exp_month:e!=null&&e.expMonth||(f=a==null?void 0:a.card)!=null&&f.expiry.month?Number((e==null?void 0:e.expMonth)||((g=a==null?void 0:a.card)==null?void 0:g.expiry.month)):void 0,exp_year:e!=null&&e.expYear||(E=a==null?void 0:a.card)!=null&&E.expiry.year?Number((e==null?void 0:e.expYear)||((N=a==null?void 0:a.card)==null?void 0:N.expiry.year)):void 0,last4:(e==null?void 0:e.lastFourDigits)||((w=a==null?void 0:a.card)==null?void 0:w.lastFour)||((I=r==null?void 0:r.card)==null?void 0:I.lastFour),number:(e==null?void 0:e.number)||((x=a==null?void 0:a.card)==null?void 0:x.number)}},In=t=>{var r,i;const{applePay:e,card:a}=t;return(r=e==null?void 0:e.billingContact)!=null&&r.givenName?`${e.billingContact.givenName} ${e.billingContact.familyName||""}`.trim():(i=a==null?void 0:a.metadata)==null?void 0:i.name},wl=t=>{var r,i;const e=Cl(t),a={client_session:t.clientSession,three_ds_session_id:t.threeDsSessionId,type:e};switch(e){case te.CARD:return ee(K({},a),{name:In(t),card:El(t)});case te.PAYPAL:return ee(K({},a),{paypal:Tl(t)});case te.GOOGLE_PAY:return ee(K({},a),{card:Tn(t),google_pay:Il(t),billing_address:En(t)});case te.APPLE_PAY:return ee(K({},a),{name:In(t),card:Tn(t),apple_pay:Nl(t),phone:(i=(r=t.applePay)==null?void 0:r.shippingContact)==null?void 0:i.phoneNumber,billing_address:En(t)});case te.VENMO:return ee(K({},a),{venmo:_l(t)});default:throw new Error(`Unsupported payment method: ${e}`)}},Rl=(t,e,a)=>Y(this,null,function*(){const r=`${Tt(e)}/payments/create`,i=new Headers;i.append("Content-Type","application/json"),i.append("X-API-Version",a);const n=wl(t);return yield(yield fetch(r,{method:"POST",headers:i,body:JSON.stringify(n)})).json()}),xl=(t,e,a)=>Y(this,null,function*(){const r=`${Tt(e)}/payments/create/billing/agreement`,i=new Headers;return i.append("Content-Type","application/json"),i.append("X-API-Version",a),(yield(yield fetch(r,{method:"POST",headers:i,body:JSON.stringify({client_session:t})})).json()).paypal_agreement_token_response.token_id||""}),Ol=(t,e,a)=>Y(this,null,function*(){const r=`${Tt(e)}/payments/config?client_session_id=${t}`,i=new Headers;i.append("X-API-Version",a);const s=yield(yield fetch(r,{headers:i})).json();return s.checkout_config||(s.checkout_config=Al),s}),Dl=t=>{var e;return t?typeof t.amount!="number"?(console.error("Transaction amount is missing or invalid for Google Pay"),null):t.currency?t.country?t.merchant_id?t.checkout_config&&!((e=t.checkout_config)==null?void 0:e.find(({is_active:r,type:i})=>r&&i===te.GOOGLE_PAY))?null:{amount:t.amount,currency:t.currency,country:t.country,merchantId:t.merchant_id,lineItems:[]}:(console.error("Transaction merchant_id is missing for Google Pay"),null):(console.error("Transaction country is missing for Google Pay"),null):(console.error("Transaction currency is missing for Google Pay"),null):(console.error("TransactionConfig is missing for Google Pay"),null)},Ll=t=>{var e,a;return t?typeof t.amount!="number"?(console.error("Transaction amount is missing or invalid for Apple Pay"),null):t.currency?t.country?t.merchant_id?t.checkout_config&&!((e=t.checkout_config)==null?void 0:e.find(({is_active:i,type:n})=>i&&n===te.APPLE_PAY))?null:{amount:t.amount,currency:t.currency,country:t.country,merchantId:t.merchant_id,lineItems:((a=t.apple_pay_info)==null?void 0:a.line_items)||[]}:(console.error("Transaction merchant_id is missing for Apple Pay"),null):(console.error("Transaction country is missing for Apple Pay"),null):(console.error("Transaction currency is missing for Apple Pay"),null):(console.error("TransactionConfig is missing for Apple Pay"),null)},zl=(t=[])=>t.reduce((e,a)=>{switch(a){case de.Visa:return e.push("visa"),e;case de.Mastercard:return e.push("masterCard"),e;case de.AmericanExpress:return e.push("amex"),e;case de.Discover:return e.push("discover"),e;case de.JCB:return e.push("jcb"),e;case de.UnionPay:return e.push("chinaUnionPay"),e;default:return e}},[]),Sl=t=>({ar:"ar-AB",en:"en-US",cs:"cs-CZ",da:"da-DK",de:"de-DE",el:"el-GR",es:"es-ES",fi:"fi-FI",fr:"fr-FR",hr:"hr-HR",hu:"hu-HU",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",ms:"ms-MY",ru:"ru-RU",nb:"nb-NO",no:"nb-NO",nl:"nl-NL",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ua:"uk-UA",sk:"sk-SK",sv:"sv-SE",th:"th-TH",tr:"tr-TR",vi:"vi-VN",zh:"zh-CN"})[t]||"en-US",Ml=t=>({en:"en",ar:"ar",bg:"bg",ca:"ca",cs:"cs",da:"da",de:"de",el:"el",es:"es",et:"et",fi:"fi",fr:"fr",hr:"hr",id:"id",it:"it",ja:"ja",ko:"ko",ms:"ms",nb:"no",no:"no",ru:"ru",nl:"nl",pl:"pl",pt:"pt",sk:"sk",sl:"sl",sr:"sr",sv:"sv",th:"th",tr:"tr",ua:"uk",zh:"zh"})[t]||"en",jl=t=>({en:"en_US",ar:"ar_EG",cs:"cs_CZ",da:"da_DK",de:"de_DE",el:"el_GR",es:"es_ES",fi:"fi_FI",fr:"fr_FR",id:"id_ID",it:"it_IT",ja:"ja_JP",ko:"ko_KR",nb:"no_NO",no:"no_NO",nl:"nl_NL",pl:"pl_PL",pt:"pt_BR",ru:"ru_RU",sv:"sv_SE",th:"th_TH",tr:"tr_TR",zh:"zh_CN",mt:"en_GB"})[t]||"en_US";class wa{constructor(){A(this,"template",`
|
|
8
|
+
`);C(this,"spinner",document.createElement("div"));this.spinner.setAttribute("role","status"),this.spinner.classList.add(X.spinnerContainer),this.spinner.innerHTML=this.template}addClass(t){this.spinner.classList.add(t)}removeClass(t){this.spinner.classList.remove(t)}render(){return this.spinner}}const pi={loader:"_loader_nwq3e_1"};class Jo{constructor(){C(this,"loader");this.loader=document.createElement("div"),this.loader.classList.add(pi.loader),this.loader.appendChild(new ui().render())}setClassName(t){t?this.loader.classList.add(t):this.loader.className=pi.loader}render(){return this.loader}}const ge={checkout:"_checkout_5sq3n_1",hidden:"_hidden_5sq3n_7",formInitial:"_formInitial_5sq3n_11",btnsInitial:"_btnsInitial_5sq3n_16"},_r={buttons:"_buttons_1i8cu_1",hidden:"_hidden_1i8cu_5"},Er={applePay:"_applePay_1ce61_1",hidden:"_hidden_1ce61_26"};function Cr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var wr,hi;function el(){if(hi)return wr;hi=1;var r={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}};return wr=r,wr}var pt={},ht={},fi;function mi(){if(fi)return ht;fi=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.clone=void 0;function r(t){return t?JSON.parse(JSON.stringify(t)):null}return ht.clone=r,ht}var ft={},vi;function tl(){if(vi)return ft;vi=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.matches=void 0;function r(n,a,i){var o=String(a).length,s=n.substr(0,o),l=parseInt(s,10);return a=parseInt(String(a).substr(0,s.length),10),i=parseInt(String(i).substr(0,s.length),10),l>=a&&l<=i}function t(n,a){return a=String(a),a.substring(0,n.length)===n.substring(0,a.length)}function e(n,a){return Array.isArray(a)?r(n,a[0],a[1]):t(n,a)}return ft.matches=e,ft}var gi;function rl(){if(gi)return pt;gi=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.addMatchingCardsToResults=void 0;var r=mi(),t=tl();function e(n,a,i){var o,s;for(o=0;o<a.patterns.length;o++){var l=a.patterns[o];if((0,t.matches)(n,l)){var c=(0,r.clone)(a);Array.isArray(l)?s=String(l[0]).length:s=String(l).length,n.length>=s&&(c.matchStrength=s),i.push(c);break}}}return pt.addMatchingCardsToResults=e,pt}var mt={},yi;function nl(){if(yi)return mt;yi=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.isValidInputType=void 0;function r(t){return typeof t=="string"||t instanceof String}return mt.isValidInputType=r,mt}var vt={},bi;function il(){if(bi)return vt;bi=1,Object.defineProperty(vt,"__esModule",{value:!0}),vt.findBestMatch=void 0;function r(e){var n=e.filter(function(a){return a.matchStrength}).length;return n>0&&n===e.length}function t(e){return r(e)?e.reduce(function(n,a){return!n||Number(n.matchStrength)<Number(a.matchStrength)?a:n}):null}return vt.findBestMatch=t,vt}var gt,_i;function al(){if(_i)return gt;_i=1;var r=gt&>.__assign||function(){return r=Object.assign||function(f){for(var m,v=1,y=arguments.length;v<y;v++){m=arguments[v];for(var A in m)Object.prototype.hasOwnProperty.call(m,A)&&(f[A]=m[A])}return f},r.apply(this,arguments)},t=el(),e=rl(),n=nl(),a=il(),i=mi(),o={},s={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},l=[s.VISA,s.MASTERCARD,s.AMERICAN_EXPRESS,s.DINERS_CLUB,s.DISCOVER,s.JCB,s.UNIONPAY,s.MAESTRO,s.ELO,s.MIR,s.HIPER,s.HIPERCARD],c=(0,i.clone)(l);function d(f){return o[f]||t[f]}function u(){return c.map(function(f){return(0,i.clone)(d(f))})}function h(f,m){m===void 0&&(m=!1);var v=c.indexOf(f);if(!m&&v===-1)throw new Error('"'+f+'" is not a supported card type.');return v}function p(f){var m=[];if(!(0,n.isValidInputType)(f))return m;if(f.length===0)return u();c.forEach(function(y){var A=d(y);(0,e.addMatchingCardsToResults)(f,A,m)});var v=(0,a.findBestMatch)(m);return v?[v]:m}return p.getTypeInfo=function(f){return(0,i.clone)(d(f))},p.removeCard=function(f){var m=h(f);c.splice(m,1)},p.addCard=function(f){var m=h(f.type,!0);o[f.type]=f,m===-1&&c.push(f.type)},p.updateCard=function(f,m){var v=o[f]||t[f];if(!v)throw new Error('"'.concat(f,"\" is not a recognized type. Use `addCard` instead.'"));if(m.type&&v.type!==m.type)throw new Error("Cannot overwrite type parameter.");var y=(0,i.clone)(v);y=r(r({},y),m),o[y.type]=y},p.changeOrder=function(f,m){var v=h(f);c.splice(v,1),c.splice(m,0,f)},p.resetModifications=function(){c=(0,i.clone)(l),o={}},p.types=s,gt=p,gt}var Qe=al();Qe.updateCard("visa",{lengths:[16]}),Qe.updateCard("unionpay",{gaps:[4,8,12,16]});const sl=(r,t)=>{const e=Qe.getTypeInfo(t),n=r.replace(/\D/g,""),a=(e==null?void 0:e.gaps)||[4,8,12],i=e?Math.max(...e.lengths)+a.length:19,o=[0].concat(a,n.length),s=[];for(let l=0;o[l]<n.length;l++){const c=o[l],d=Math.min(o[l+1],n.length);s.push(n.slice(c,d))}return s.join(" ").slice(0,i)},ol=(r,t)=>{const e=Qe.getTypeInfo(t),n=(e==null?void 0:e.code.size)||4;return r.replace(/\D/g,"").slice(0,n)},ll=(r,t)=>{const e=r.replace(/\D/g,"");let n=e.slice(0,2);if(!n)return"";const a=Number(n);if(n!=="01"){if(Number.isNaN(a))return"0";if(a===0||a===1)return`${a}`;if(a>12)return"1";n=a>9?`${a}`:`0${a}`}if(r.length<t.length){const o=Number(r[r.length-1]);if(Number.isNaN(o))return n}const i=e.slice(2,4);return`${n} / ${i}`};var pe=(r=>(r.Invalid="invalid",r.Empty="empty",r.Incomplete="incomplete",r.Unsupported="unsupported",r.Expired="expired",r))(pe||{}),ce=(r=>(r.Visa="visa",r.Mastercard="mastercard",r.AmericanExpress="american-express",r.Discover="discover",r.JCB="jcb",r.DinersClub="diners-club",r.UnionPay="unionpay",r.Maestro="maestro",r))(ce||{});const Nt=[{name:"Visa",type:"visa",pattern:/^4/,minLength:16,maxLength:16},{name:"MasterCard",type:"mastercard",pattern:/^5[1-5]/,minLength:16,maxLength:16},{name:"American Express",type:"american-express",pattern:/^3[47]/,minLength:15,maxLength:15},{name:"Discover",type:"discover",pattern:/^6(?:011|5[0-9]{2})/,minLength:16,maxLength:16},{name:"JCB",type:"jcb",pattern:/^(?:2131|1800|35\d{3})/,minLength:15,maxLength:16},{name:"Diners Club",type:"diners-club",pattern:/^3(?:0[0-5]|[68][0-9])/,minLength:14,maxLength:16},{name:"Union Pay",type:"unionpay",pattern:/^62[^7]+/,minLength:16,maxLength:19},{name:"Maestro",type:"maestro",pattern:/^(50[^69]|5[68]|5018|5020|5038|627|6304|6759|6761|6763|6[3][^6]+)/,minLength:12,maxLength:19}],Ei=r=>Nt.find(t=>t.pattern.test(r))||null,Ci=r=>Nt.filter(t=>t.pattern.test(r)),cl=r=>{let t=0,e=!1;for(let n=r.length-1;n>=0;n--){let a=parseInt(r[n]);e&&(a*=2,a>9&&(a-=9)),t+=a,e=!e}return t%10===0},wi=(r,t)=>{const e=r.replace(/\D/g,"");if(!e)return{isValid:!1,cardType:null,error:pe.Empty};if(!/^\d+$/.test(e))return{isValid:!1,cardType:null,error:pe.Invalid};const n=Ei(e);if(n){if(e.length<n.minLength||e.length>n.maxLength)return{isValid:!1,cardType:n.name,error:pe.Incomplete}}else if(e.length<16)return{isValid:!1,cardType:null,error:pe.Incomplete};return n&&t&&!t.includes(n.type)?{isValid:!1,cardType:n.name,error:pe.Unsupported}:cl(e)?{isValid:!0,cardType:(n==null?void 0:n.name)||null,error:null}:{isValid:!1,cardType:(n==null?void 0:n.name)||null,error:pe.Invalid}};var re=(r=>(r.PAYPAL="PAYPAL",r.APPLE_PAY="APPLEPAY",r.GOOGLE_PAY="GPAY",r.CARD="CARD",r.VENMO="VENMO",r))(re||{}),Ar=(r=>(r.PENDING="PENDING",r.FAILED="FAILED",r.AUTHORIZED="AUTHORIZED",r.SETTLING="SETTLING",r.SETTLED="SETTLED",r.DECLINED="DECLINED",r.CANCELLED="CANCELLED",r))(Ar||{}),ye=(r=>(r.INSUFFICIENT_FUNDS="insufficient_funds",r.AUTHENTICATION_REQUIRED="authentication_required",r.CARD_ISSUER_DECLINE="card_issuer_decline",r.GENERIC_DECLINE="generic_decline",r.WITHDRAWAL_LIMIT_EXCEEDED="withdrawal_limit_exceeded",r.DO_NOT_HONOR="do_not_honor",r.EXPIRED_CARD="expired_card",r.SUSPECTED_FRAUD="suspected_fraud",r.INCORRECT_CVC="incorrect_cvc",r.INVALID_CARD_NUMBER="invalid_card_number",r.ISSUER_UNAVAILABLE="issuer_unavailable",r.CARD_LOST_OR_STOLEN="card_lost_or_stolen",r.CARD_DECLINED="card_declined",r))(ye||{});const Tr=(r="sandbox")=>({develop:"https://dev-api.paynext.com",staging:"https://staging-api.paynext.com",sandbox:"https://sandbox-api.paynext.com",production:"https://api.paynext.com"})[r],dl=[{type:re.PAYPAL,order:1,is_active:!0},{type:re.APPLE_PAY,order:2,is_active:!0},{type:re.GOOGLE_PAY,order:3,is_active:!0},{type:re.CARD,order:4,is_active:!0}],ul=r=>r.googlePay?re.GOOGLE_PAY:r.applePay?re.APPLE_PAY:r.paypal?re.PAYPAL:r.braintree?re.VENMO:re.CARD,pl=r=>{const t=r.card;if(t)return{bin:t.firstSixDigits,bin_data:{brand:t.cardBrand,country:t.country,currency_code:t.currency,funding:t.funding,issuer:t.issuer,type:t.type},cvc:t.cvc,exp_month:Number(t.expMonth),exp_year:Number(t.expYear),last4:t.lastFourDigits,number:t.number}},hl=r=>{var e;const t=r.paypal;if((e=t==null?void 0:t.billing_agreement_token)!=null&&e.paypalId)return{billing_agreement_token:t.billing_agreement_token.paypalId}},fl=r=>{var e,n;const t=r.googlePay;if(t!=null&&t.token)return{cryptogram:t.cryptogram,eci:t.eci,exp_month:(e=t.card)!=null&&e.expiry.month||t.token.expiry.month?Number(t.card.expiry.month||t.token.expiry.month):void 0,exp_year:(n=t.card)!=null&&n.expiry.year||t.token.expiry.year?Number(t.card.expiry.year||t.token.expiry.year):void 0,token:t.token.number,token_service_provider:t.token.tokenServiceProvider}},ml=r=>{var e,n,a,i,o,s;const t=r.applePay;if(t)return{cryptogram:t.cryptogram,eci:t.eci,exp_month:(n=(e=t.networkToken)==null?void 0:e.expiry)!=null&&n.month?Number(t.networkToken.expiry.month):void 0,exp_year:(i=(a=t.networkToken)==null?void 0:a.expiry)!=null&&i.year?Number(t.networkToken.expiry.year):void 0,token:(o=t.networkToken)==null?void 0:o.number,token_service_provider:(s=t.networkToken)==null?void 0:s.tokenServiceProvider}},vl=r=>{const t=r.braintree;if(t)return{payment_method_nonce:t.nonce}},Ai=r=>{var n,a,i,o,s,l,c,d,u,h,p,f,m,v;const{applePay:t,googlePay:e}=r;if(!(!t&&!e))return{city:((n=t==null?void 0:t.billingContact)==null?void 0:n.locality)||((a=e==null?void 0:e.billingAddress)==null?void 0:a.locality)||void 0,country:((i=t==null?void 0:t.billingContact)==null?void 0:i.countryCode)||((o=e==null?void 0:e.billingAddress)==null?void 0:o.countryCode)||void 0,line1:((l=(s=t==null?void 0:t.billingContact)==null?void 0:s.addressLines)==null?void 0:l.at(0))||((c=e==null?void 0:e.billingAddress)==null?void 0:c.address1)||void 0,line2:((u=(d=t==null?void 0:t.billingContact)==null?void 0:d.addressLines)==null?void 0:u.at(1))||((h=e==null?void 0:e.billingAddress)==null?void 0:h.address2)||void 0,postal_code:((p=t==null?void 0:t.billingContact)==null?void 0:p.postalCode)||((f=e==null?void 0:e.billingAddress)==null?void 0:f.postalCode)||void 0,state:((m=t==null?void 0:t.billingContact)==null?void 0:m.administrativeArea)||((v=e==null?void 0:e.billingAddress)==null?void 0:v.administrativeArea)||void 0}},Ti=r=>{var a,i,o,s,l,c,d,u,h,p,f,m,v,y,A,x,k,I,L;const{card:t,googlePay:e,applePay:n}=r;if(!(!t&&!(e!=null&&e.card)&&!(n!=null&&n.card)))return{bin:t==null?void 0:t.firstSixDigits,bin_data:{brand:(t==null?void 0:t.cardBrand)||((a=e==null?void 0:e.card)==null?void 0:a.brand)||((i=n==null?void 0:n.card)==null?void 0:i.brand),country:(t==null?void 0:t.country)||((o=e==null?void 0:e.card)==null?void 0:o.country)||((s=n==null?void 0:n.card)==null?void 0:s.country),currency_code:(t==null?void 0:t.currency)||((l=e==null?void 0:e.card)==null?void 0:l.currency)||((c=n==null?void 0:n.card)==null?void 0:c.currency),funding:(t==null?void 0:t.funding)||((d=e==null?void 0:e.card)==null?void 0:d.funding)||((u=n==null?void 0:n.card)==null?void 0:u.funding),issuer:(t==null?void 0:t.issuer)||((h=e==null?void 0:e.card)==null?void 0:h.issuer)||((p=n==null?void 0:n.card)==null?void 0:p.issuer),type:(t==null?void 0:t.type)||((f=e==null?void 0:e.card)==null?void 0:f.segment)||((m=n==null?void 0:n.card)==null?void 0:m.segment)},cvc:t==null?void 0:t.cvc,exp_month:t!=null&&t.expMonth||(v=e==null?void 0:e.card)!=null&&v.expiry.month?Number((t==null?void 0:t.expMonth)||((y=e==null?void 0:e.card)==null?void 0:y.expiry.month)):void 0,exp_year:t!=null&&t.expYear||(A=e==null?void 0:e.card)!=null&&A.expiry.year?Number((t==null?void 0:t.expYear)||((x=e==null?void 0:e.card)==null?void 0:x.expiry.year)):void 0,last4:(t==null?void 0:t.lastFourDigits)||((k=e==null?void 0:e.card)==null?void 0:k.lastFour)||((I=n==null?void 0:n.card)==null?void 0:I.lastFour),number:(t==null?void 0:t.number)||((L=e==null?void 0:e.card)==null?void 0:L.number)}},Ii=r=>{var n,a;const{applePay:t,card:e}=r;return(n=t==null?void 0:t.billingContact)!=null&&n.givenName?`${t.billingContact.givenName} ${t.billingContact.familyName||""}`.trim():(a=e==null?void 0:e.metadata)==null?void 0:a.name},gl=r=>{var n,a;const t=ul(r),e={client_session:r.clientSession,three_ds_session_id:r.threeDsSessionId,type:t};switch(t){case re.CARD:return ee(K({},e),{name:Ii(r),card:pl(r)});case re.PAYPAL:return ee(K({},e),{paypal:hl(r)});case re.GOOGLE_PAY:return ee(K({},e),{card:Ti(r),google_pay:fl(r),billing_address:Ai(r)});case re.APPLE_PAY:return ee(K({},e),{name:Ii(r),card:Ti(r),apple_pay:ml(r),phone:(a=(n=r.applePay)==null?void 0:n.shippingContact)==null?void 0:a.phoneNumber,billing_address:Ai(r)});case re.VENMO:return ee(K({},e),{venmo:vl(r)});default:throw new Error(`Unsupported payment method: ${t}`)}},yl=(r,t,e)=>W(this,null,function*(){const n=`${Tr(t)}/payments/create`,a=new Headers;a.append("Content-Type","application/json"),a.append("X-API-Version",e);const i=gl(r);return yield(yield fetch(n,{method:"POST",headers:a,body:JSON.stringify(i)})).json()}),bl=(r,t,e)=>W(this,null,function*(){const n=`${Tr(t)}/payments/create/billing/agreement`,a=new Headers;return a.append("Content-Type","application/json"),a.append("X-API-Version",e),(yield(yield fetch(n,{method:"POST",headers:a,body:JSON.stringify({client_session:r})})).json()).paypal_agreement_token_response.token_id||""}),_l=(r,t,e)=>W(this,null,function*(){const n=`${Tr(t)}/payments/config?client_session_id=${r}`,a=new Headers;a.append("X-API-Version",e);const o=yield(yield fetch(n,{headers:a})).json();return o.checkout_config||(o.checkout_config=dl),o}),El=r=>{var t;return r?typeof r.amount!="number"?(console.error("Transaction amount is missing or invalid for Google Pay"),null):r.currency?r.country?r.merchant_id?r.checkout_config&&!((t=r.checkout_config)==null?void 0:t.find(({is_active:n,type:a})=>n&&a===re.GOOGLE_PAY))?null:{amount:r.amount,currency:r.currency,country:r.country,merchantId:r.merchant_id,lineItems:[]}:(console.error("Transaction merchant_id is missing for Google Pay"),null):(console.error("Transaction country is missing for Google Pay"),null):(console.error("Transaction currency is missing for Google Pay"),null):(console.error("TransactionConfig is missing for Google Pay"),null)},Cl=r=>{var t,e;return r?typeof r.amount!="number"?(console.error("Transaction amount is missing or invalid for Apple Pay"),null):r.currency?r.country?r.merchant_id?r.checkout_config&&!((t=r.checkout_config)==null?void 0:t.find(({is_active:a,type:i})=>a&&i===re.APPLE_PAY))?null:{amount:r.amount,currency:r.currency,country:r.country,merchantId:r.merchant_id,lineItems:((e=r.apple_pay_info)==null?void 0:e.line_items)||[]}:(console.error("Transaction merchant_id is missing for Apple Pay"),null):(console.error("Transaction country is missing for Apple Pay"),null):(console.error("Transaction currency is missing for Apple Pay"),null):(console.error("TransactionConfig is missing for Apple Pay"),null)},wl=(r=[])=>r.reduce((t,e)=>{switch(e){case ce.Visa:return t.push("visa"),t;case ce.Mastercard:return t.push("masterCard"),t;case ce.AmericanExpress:return t.push("amex"),t;case ce.Discover:return t.push("discover"),t;case ce.JCB:return t.push("jcb"),t;case ce.UnionPay:return t.push("chinaUnionPay"),t;default:return t}},[]),Al=r=>({ar:"ar-AB",en:"en-US",cs:"cs-CZ",da:"da-DK",de:"de-DE",el:"el-GR",es:"es-ES",fi:"fi-FI",fr:"fr-FR",hr:"hr-HR",hu:"hu-HU",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",ms:"ms-MY",ru:"ru-RU",nb:"nb-NO",no:"nb-NO",nl:"nl-NL",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ua:"uk-UA",sk:"sk-SK",sv:"sv-SE",th:"th-TH",tr:"tr-TR",vi:"vi-VN",zh:"zh-CN"})[r]||"en-US",Tl=r=>({en:"en",ar:"ar",bg:"bg",ca:"ca",cs:"cs",da:"da",de:"de",el:"el",es:"es",et:"et",fi:"fi",fr:"fr",hr:"hr",id:"id",it:"it",ja:"ja",ko:"ko",ms:"ms",nb:"no",no:"no",ru:"ru",nl:"nl",pl:"pl",pt:"pt",sk:"sk",sl:"sl",sr:"sr",sv:"sv",th:"th",tr:"tr",ua:"uk",zh:"zh"})[r]||"en",Il=r=>({en:"en_US",ar:"ar_EG",cs:"cs_CZ",da:"da_DK",de:"de_DE",el:"el_GR",es:"es_ES",fi:"fi_FI",fr:"fr_FR",id:"id_ID",it:"it_IT",ja:"ja_JP",ko:"ko_KR",nb:"no_NO",no:"no_NO",nl:"nl_NL",pl:"pl_PL",pt:"pt_BR",ru:"ru_RU",sv:"sv_SE",th:"th_TH",tr:"tr_TR",zh:"zh_CN",mt:"en_GB"})[r]||"en_US";class kt{constructor(){C(this,"template",`
|
|
9
9
|
<svg focusable='false' fill='#dc2626' color='#dc2626' height='12' viewBox='0 0 12 12' width='12'>
|
|
10
10
|
<g fill='none' fill-rule='evenodd' transform='matrix(1 0 0 -1 0 12)'>
|
|
11
11
|
<circle cx='6' cy='3.2' fill='currentColor' r='1'></circle>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</g>
|
|
17
17
|
</svg>
|
|
18
18
|
<span class="${X.srOnly}">Warning</span>
|
|
19
|
-
`);
|
|
19
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.warning),this.element.innerHTML=this.template}render(){return this.element}}const xi={container:"_container_94v1h_1",title:"_title_94v1h_10"},_t=class _t{constructor(t){C(this,"element");C(this,"message",document.createElement("p"));C(this,"icon",new kt);C(this,"hasCustomMessage",!1);this.translate=t,this.element=document.createElement("div"),this.element.classList.add(xi.container),this.message.classList.add(xi.title),this.message.textContent=t.messages().status.error,this.element.append(this.icon.render(),this.message),this.translate.subscribe(({messages:e})=>{this.hasCustomMessage||(this.message.textContent=e.status.error)}),_t.instances.add(this)}setMessage(t){this.message.textContent=t,this.hasCustomMessage=!!t}addClassName(t){this.element.classList.add(t)}removeClassName(t){this.element.classList.remove(t)}hide(){this.element.style.display="none"}show(){this.element.style.display=""}static hideAll(){for(const t of _t.instances)t.element.style.display="none"}render(){return this.element}};C(_t,"instances",new Set);let Te=_t;var Ot={exports:{}},yt={};/**
|
|
20
20
|
* @license React
|
|
21
21
|
* react-jsx-runtime.production.js
|
|
22
22
|
*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* This source code is licensed under the MIT license found in the
|
|
26
26
|
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/var
|
|
27
|
+
*/var Ni;function xl(){if(Ni)return yt;Ni=1;var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function e(n,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var s in a)s!=="key"&&(i[s]=a[s])}else i=a;return a=i.ref,{$$typeof:r,type:n,key:o,ref:a!==void 0?a:null,props:i}}return yt.Fragment=t,yt.jsx=e,yt.jsxs=e,yt}var bt={};/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
30
30
|
*
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/var
|
|
35
|
+
*/var ki;function Nl(){return ki||(ki=1,process.env.NODE_ENV!=="production"&&function(){function r(g){if(g==null)return null;if(typeof g=="function")return g.$$typeof===q?null:g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case m:return"Fragment";case y:return"Profiler";case v:return"StrictMode";case I:return"Suspense";case L:return"SuspenseList";case U:return"Activity"}if(typeof g=="object")switch(typeof g.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),g.$$typeof){case f:return"Portal";case x:return(g.displayName||"Context")+".Provider";case A:return(g._context.displayName||"Context")+".Consumer";case k:var P=g.render;return g=g.displayName,g||(g=P.displayName||P.name||"",g=g!==""?"ForwardRef("+g+")":"ForwardRef"),g;case N:return P=g.displayName||null,P!==null?P:r(g.type)||"Memo";case S:P=g._payload,g=g._init;try{return r(g(P))}catch(V){}}return null}function t(g){return""+g}function e(g){try{t(g);var P=!1}catch(T){P=!0}if(P){P=console;var V=P.error,b=typeof Symbol=="function"&&Symbol.toStringTag&&g[Symbol.toStringTag]||g.constructor.name||"Object";return V.call(P,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",b),t(g)}}function n(g){if(g===m)return"<>";if(typeof g=="object"&&g!==null&&g.$$typeof===S)return"<...>";try{var P=r(g);return P?"<"+P+">":"<...>"}catch(V){return"<...>"}}function a(){var g=$.A;return g===null?null:g.getOwner()}function i(){return Error("react-stack-top-frame")}function o(g){if(F.call(g,"key")){var P=Object.getOwnPropertyDescriptor(g,"key").get;if(P&&P.isReactWarning)return!1}return g.key!==void 0}function s(g,P){function V(){J||(J=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",P))}V.isReactWarning=!0,Object.defineProperty(g,"key",{get:V,configurable:!0})}function l(){var g=r(this.type);return D[g]||(D[g]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),g=this.props.ref,g!==void 0?g:null}function c(g,P,V,b,T,_,O,M){return V=_.ref,g={$$typeof:p,type:g,key:P,props:_,_owner:T},(V!==void 0?V:null)!==null?Object.defineProperty(g,"ref",{enumerable:!1,get:l}):Object.defineProperty(g,"ref",{enumerable:!1,value:null}),g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(g,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(g,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.defineProperty(g,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g}function d(g,P,V,b,T,_,O,M){var w=P.children;if(w!==void 0)if(b)if(z(w)){for(b=0;b<w.length;b++)u(w[b]);Object.freeze&&Object.freeze(w)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else u(w);if(F.call(P,"key")){w=r(g);var j=Object.keys(P).filter(function(ae){return ae!=="key"});b=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",E[w+b]||(j=0<j.length?"{"+j.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
36
36
|
let props = %s;
|
|
37
37
|
<%s {...props} />
|
|
38
38
|
React keys must be passed directly to JSX without using spread:
|
|
39
39
|
let props = %s;
|
|
40
|
-
<%s key={someKey} {...props} />`,P,C,F,C),k[C+P]=!0)}if(C=null,M!==void 0&&(a(M),C=""+M),s(O)&&(a(O.key),C=""+O.key),"key"in O){M={};for(var Q in O)Q!=="key"&&(M[Q]=O[Q])}else M=O;return C&&o(M,typeof v=="function"?v.displayName||v.name||"Unknown":v),d(v,C,b,T,i(),M,R,S)}function u(v){typeof v=="object"&&v!==null&&v.$$typeof===p&&v._store&&(v._store.validated=1)}var h=ne,p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),N=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),G=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,B=Array.isArray,U=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(v){return v()}};var J,z={},W=h.react_stack_bottom_frame.bind(h,n)(),q=U(r(n)),k={};ga.Fragment=y,ga.jsx=function(v,O,M,P,T){var b=1e4>G.recentlyCreatedOwnerStacks++;return c(v,O,M,!1,P,T,b?Error("react-stack-top-frame"):W,b?U(r(v)):q)},ga.jsxs=function(v,O,M,P,T){var b=1e4>G.recentlyCreatedOwnerStacks++;return c(v,O,M,!0,P,T,b?Error("react-stack-top-frame"):W,b?U(r(v)):q)}}()),ga}var Rn;function Bl(){return Rn||(Rn=1,process.env.NODE_ENV==="production"?Ra.exports=Vl():Ra.exports=Fl()),Ra.exports}Bl();const Ul=[de.DinersClub,de.DinersClub,de.Discover,de.JCB,de.Mastercard,de.Visa,de.UnionPay,de.Maestro],Le=t=>{const e=t.errors;return{"Do Not Honor":e==null?void 0:e.doNotHonor,"Insufficient Funds":e==null?void 0:e.insufficientFunds,"Limit Exceeded":e==null?void 0:e.limitExceeded,"Cardholder's Activity Limit Exceeded":e==null?void 0:e.cardholdersActivityLimitExceeded,"Expired Card":e==null?void 0:e.expiredCard,"Invalid Credit Card Number":e==null?void 0:e.invalidCreditCardNumber,"Invalid Expiration Date":e==null?void 0:e.invalidExpirationDate,"No Account":e==null?void 0:e.noAccount,"Card Account Length Error":e==null?void 0:e.cardAccountLengthError,"No Such Issuer":e==null?void 0:e.noSuchIssuer,"Card Issuer Declined CVV":e==null?void 0:e.cardIssuerDeclinedCvv,"Voice Authorization Required":e==null?void 0:e.voiceAuthorizationRequired,"Processor Declined - Possible Lost Card":e==null?void 0:e.processorDeclinedPossibleLostCard,"Processor Declined - Possible Stolen Card":e==null?void 0:e.processorDeclinedPossibleStolenCard,"Processor Declined - Fraud Suspected":e==null?void 0:e.processorDeclinedFraudSuspected,"Transaction Not Allowed":e==null?void 0:e.transactionNotAllowed,"Duplicate Transaction":e==null?void 0:e.duplicateTransaction,"Cardholder Stopped Billing":e==null?void 0:e.cardholderStoppedBilling,"Cardholder Stopped All Billing":e==null?void 0:e.cardholderStoppedAllBilling,"Invalid Transaction":e==null?void 0:e.invalidTransaction,Violation:e==null?void 0:e.violation,"Security Violation":e==null?void 0:e.securityViolation,"Declined - Updated Cardholder Available":e==null?void 0:e.declinedUpdatedCardholderAvailable,"Processor Does Not Support This Feature":e==null?void 0:e.processorDoesNotSupportThisFeature,"Card Type Not Enabled":e==null?void 0:e.cardTypeNotEnabled,"Set Up Error - Merchant":e==null?void 0:e.setUpErrorMerchant,"Invalid Merchant ID":e==null?void 0:e.invalidMerchantId,"Set Up Error - Amount":e==null?void 0:e.setUpErrorAmount,"Set Up Error - Hierarchy":e==null?void 0:e.setUpErrorHierarchy,"Set Up Error - Card":e==null?void 0:e.setUpErrorCard,"Set Up Error - Terminal":e==null?void 0:e.setUpErrorTerminal,"Encryption Error":e==null?void 0:e.encryptionError,"Surcharge Not Permitted":e==null?void 0:e.surchargeNotPermitted,"Inconsistent Data":e==null?void 0:e.inconsistentData,"No Action Taken":e==null?void 0:e.noActionTaken,"Partial Approval For Amount In Group III Version":e==null?void 0:e.partialApprovalForAmountInGroupIiiVersion,"Authorization could not be found":e==null?void 0:e.authorizationCouldNotBeFound,"Already Reversed":e==null?void 0:e.alreadyReversed,"Processor Declined":e==null?void 0:e.processorDeclined,"Invalid Authorization Code":e==null?void 0:e.invalidAuthorizationCode,"Invalid Store":e==null?void 0:e.invalidStore,"Declined - Call For Approval":e==null?void 0:e.declinedCallForApproval,"Invalid Client ID":e==null?void 0:e.invalidClientId,"Error - Do Not Retry, Call Issuer":e==null?void 0:e.errorDoNotRetryCallIssuer,"Declined - Call Issuer":e==null?void 0:e.declinedCallIssuer,"Invalid Merchant Number":e==null?void 0:e.invalidMerchantNumber,Declined:e==null?void 0:e.declined,"Call Issuer. Pick Up Card.":e==null?void 0:e.callIssuerPickUpCard,"Invalid Amount":e==null?void 0:e.invalidAmount,"Invalid SKU Number":e==null?void 0:e.invalidSkuNumber,"Invalid Credit Plan":e==null?void 0:e.invalidCreditPlan,"Credit Card Number does not match method of payment":e==null?void 0:e.creditCardNumberDoesNotMatchMethodOfPayment,"Invalid Level III Purchase":e==null?void 0:e.invalidLevelIiiPurchase,"Card reported as lost or stolen":e==null?void 0:e.cardReportedAsLostOrStolen,"Reversal amount does not match authorization amount":e==null?void 0:e.reversalAmountDoesNotMatchAuthorizationAmount,"Invalid Transaction Division Number":e==null?void 0:e.invalidTransactionDivisionNumber,"Transaction amount exceeds the transaction division limit":e==null?void 0:e.transactionAmountExceedsTheTransactionDivisionLimit,"Issuer or Cardholder has put a restriction on the card":e==null?void 0:e.issuerOrCardholderHasPutARestrictionOnTheCard,"Merchant not MasterCard SecureCode enabled.":e==null?void 0:e.merchantNotMastercardSecurecodeEnabled,"Address Verification Failed":e==null?void 0:e.addressVerificationFailed,"Address Verification and Card Security Code Failed":e==null?void 0:e.addressVerificationAndCardSecurityCodeFailed,"Invalid Transaction Data":e==null?void 0:e.invalidTransactionData,"Invalid Tax Amount":e==null?void 0:e.invalidTaxAmount,"PayPal Business Account preference resulted in the transaction failing":e==null?void 0:e.paypalBusinessAccountPreferenceResultedInTheTransactionFailing,"Invalid Currency Code":e==null?void 0:e.invalidCurrencyCode,"Refund Time Limit Exceeded":e==null?void 0:e.refundTimeLimitExceeded,"PayPal Business Account Restricted":e==null?void 0:e.paypalBusinessAccountRestricted,"Authorization expired":e==null?void 0:e.authorizationExpired,"PayPal Business Account Locked or Closed":e==null?void 0:e.paypalBusinessAccountLockedOrClosed,"PayPal Blocking Duplicate Order IDs":e==null?void 0:e.paypalBlockingDuplicateOrderIds,"PayPal Buyer Revoked Pre-Approved Payment Authorization":e==null?void 0:e.paypalBuyerRevokedPreApprovedPaymentAuthorization,"PayPal Payee Account Is Invalid Or Does Not Have a Confirmed Email":e==null?void 0:e.paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail,"PayPal Payee Email Incorrectly Formatted":e==null?void 0:e.paypalPayeeEmailIncorrectlyFormatted,"PayPal Validation Failed":e==null?void 0:e.paypalValidationError,"Funding Instrument In The PayPal Account Was Declined By The Processor Or Bank, Or It Can't Be Used For This Payment":e==null?void 0:e.fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment,"Payer Account Is Locked Or Closed":e==null?void 0:e.payerAccountIsLockedOrClosed,"Payer Cannot Pay For This Transaction With PayPal":e==null?void 0:e.payerCannotPayForThisTransactionWithPaypal,"Transaction Refused Due To Risk Model":e==null?void 0:e.transactionRefusedDueToPaypalRiskModel,"Invalid Secure Payment Data":e==null?void 0:e.invalidSecurePaymentData,"PayPal Merchant Account Configuration Error":e==null?void 0:e.paypalMerchantAccountConfigurationError,"Invalid User Credentials":e==null?void 0:e.invalidUserCredentials,"PayPal pending payments are not supported":e==null?void 0:e.paypalPendingPaymentsAreNotSupported,"PayPal Domestic Transaction Required":e==null?void 0:e.paypalDomesticTransactionRequired,"PayPal Phone Number Required":e==null?void 0:e.paypalPhoneNumberRequired,"PayPal Tax Info Required":e==null?void 0:e.paypalTaxInfoRequired,"PayPal Payee Blocked Transaction":e==null?void 0:e.paypalPayeeBlockedTransaction,"PayPal Transaction Limit Exceeded":e==null?void 0:e.paypalTransactionLimitExceeded,"PayPal reference transactions not enabled for your account":e==null?void 0:e.paypalReferenceTransactionsNotEnabledForYourAccount,"Currency not enabled for your PayPal seller account":e==null?void 0:e.currencyNotEnabledForYourPaypalSellerAccount,"PayPal payee email permission denied for this request":e==null?void 0:e.paypalPayeeEmailPermissionDeniedForThisRequest,"PayPal or Venmo account not configured to refund more than settled amount":e==null?void 0:e.paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount,"The currency of this PayPal transaction must match the currency of the merchant account":e==null?void 0:e.currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount,"No Data Found - Try Another Verification Method":e==null?void 0:e.noDataFoundTryAnotherVerificationMethod,"PayPal payment method is invalid":e==null?void 0:e.paypalPaymentMethodIsInvalid,"PayPal payment has already been completed":e==null?void 0:e.paypalPaymentHasAlreadyBeenCompleted,"PayPal refund is not allowed after partial refund":e==null?void 0:e.paypalRefundIsNotAllowedAfterPartialRefund,"PayPal buyer account can't be the same as the seller account":e==null?void 0:e.paypalBuyerAccountCantBeTheSameAsTheSellerAccount,"PayPal authorization amount limit exceeded":e==null?void 0:e.paypalAuthorizationAmountLimitExceeded,"PayPal authorization count limit exceeded":e==null?void 0:e.paypalAuthorizationCountLimitExceeded,"Cardholder Authentication Required":e==null?void 0:e.cardholderAuthenticationRequired,"PayPal channel initiated billing not enabled for your account":e==null?void 0:e.paypalChannelInitiatedBillingNotEnabledForYourAccount,"Additional Authorization Required":e==null?void 0:e.additionalAuthorizationRequired,"Incorrect PIN":e==null?void 0:e.incorrectPin,"PIN Try Exceeded":e==null?void 0:e.pinTryExceeded,"Offline Issuer Declined":e==null?void 0:e.offlineIssuerDeclined,"Cannot Authorize at this time (Life cycle)":e==null?void 0:e.cannotAuthorizeAtThisTimeLifeCycle,"Cannot Authorize at this time (Policy)":e==null?void 0:e.cannotAuthorizeAtThisTimePolicy,"Card Not Activated":e==null?void 0:e.cardNotActivated,"Closed Card":e==null?void 0:e.closedCard,"Processor Network Unavailable - Try Again":e==null?void 0:e.processorNetworkUnavailableTryAgain,[ge.INSUFFICIENT_FUNDS]:e==null?void 0:e.insufficientFunds,[ge.AUTHENTICATION_REQUIRED]:e==null?void 0:e.cardholderAuthenticationRequired,[ge.CARD_ISSUER_DECLINE]:e==null?void 0:e.declined,[ge.GENERIC_DECLINE]:e==null?void 0:e.declined,[ge.WITHDRAWAL_LIMIT_EXCEEDED]:e==null?void 0:e.limitExceeded,[ge.DO_NOT_HONOR]:e==null?void 0:e.doNotHonor,[ge.EXPIRED_CARD]:e==null?void 0:e.expiredCard,[ge.SUSPECTED_FRAUD]:e==null?void 0:e.processorDeclinedFraudSuspected,[ge.INCORRECT_CVC]:(e==null?void 0:e.invalidSecurePaymentData)||(e==null?void 0:e.invalidCreditCardNumber),[ge.INVALID_CARD_NUMBER]:e==null?void 0:e.invalidCreditCardNumber,[ge.ISSUER_UNAVAILABLE]:e==null?void 0:e.offlineIssuerDeclined,[ge.CARD_LOST_OR_STOLEN]:e==null?void 0:e.cardReportedAsLostOrStolen,[ge.CARD_DECLINED]:e==null?void 0:e.declined,errorText:e==null?void 0:e.errorText,"Frame closed before tokenization could occur.":e==null?void 0:e.venmoClosed,"Window is closed, can not determine type":e==null?void 0:e.paypalClosed,"Detected popup close":e==null?void 0:e.paypalPopupClosed,Cancelled:e==null?void 0:e.applePayClosed}},Pa=(t,e)=>{const a=Le(e);let r=e.status.error;if(t&&typeof t=="object"){const i=t,n=i&&typeof i.status_reason=="object"&&i.status_reason?i.status_reason:i,s=n&&typeof n.decline_code=="string"?n.decline_code:void 0,o=n&&typeof n.message=="string"?n.message:void 0;s&&a[s]?r=a[s]:o?r=o:"message"in i&&typeof i.message=="string"&&(r=i.message)}else t instanceof Error?r=t.message:typeof t=="string"&&(r=t);return r};class Kl{constructor(e){A(this,"element");A(this,"events",{ready:new he});A(this,"ev");A(this,"customButtonStyles");A(this,"error");A(this,"isInitialized",!1);this.config=e;const a=this.config.state.styles.getState().ApplePayButton;this.ev=this.config.service.ev,this.customButtonStyles=a,this.error=new Te(this.config.state.translate),this.element=document.createElement("div"),this.element.classList.add(kt.applePay,kt.hidden),this.error.setMessage(""),this.error.render().style.display="none"}init(e){return Y(this,null,function*(){if(!this.config)return!1;const a=this.config.state.transaction.getState(),r=this.config.state.translate.locale(),i=Ll(a);if(!i)return!1;const n=e?ee(K({},e),{onError:s=>{var u,h;if(!this.isInitialized){console.error("Apple Pay error:",s);return}const o=this.config.state.translate.messages(),l=Pa(s,o),d=Le(o)[l],c=((u=this.config.state.translate.messages().errors)==null?void 0:u.errorText)||"Error";this.error.setMessage(`Apple Pay ${c.toLowerCase()}: ${d!=null?d:l}`),this.error.render().style.display="",(h=e.onError)==null||h.call(e,s)},onCancel:e.onCancel,onSuccess:s=>{var o;this.error.render().style.display="none",(o=e.onSuccess)==null||o.call(e,s)}}):void 0;return yield this.ev.initApple(ee(K({},n),{transaction:i,supportedCardTypes:zl(Ul),locale:Sl(r||"en")}),this.customButtonStyles),this.ev.isAppleAvailable()?(yield this.ev.renderApple(this.element),this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.isInitialized=!0,this.element.classList.remove(kt.hidden),this.events.ready.emit(),!0):!1})}addEventListener(e,a){return this.events[e].addListener(a)}showExternalError(e){var n;if(!this.isInitialized){console.error("Apple Pay error:",e);return}const a=this.config.state.translate.messages(),r=Le(a)[e],i=((n=this.config.state.translate.messages().errors)==null?void 0:n.errorText)||"Error";this.error.setMessage(`Apple Pay ${i.toLowerCase()}: ${r!=null?r:e}`),this.error.render().style.display=""}render(){return this.element}}const ql=[{type:te.PAYPAL,is_active:!0,order:1},{type:te.APPLE_PAY,is_active:!0,order:2},{type:te.GOOGLE_PAY,is_active:!0,order:3},{type:te.VENMO,is_active:!0,order:4},{type:te.CARD,is_active:!0,order:5}],Ze={open:{y:0,opacity:1},close:{y:100,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},xa={open:{y:0,opacity:1},close:{y:-100,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},ye={open:{y:0,opacity:1},close:{y:15,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},Ae={open:{y:0,opacity:1,height:"auto"},close:{y:-15,opacity:0,height:0},transition:{duration:.25,type:"spring",bounce:0}},It={googlePay:"_googlePay_gmreq_1",hidden:"_hidden_gmreq_20"};class Hl{constructor(e){A(this,"element");A(this,"events",{ready:new he});A(this,"ev");A(this,"customButtonStyles");A(this,"error");A(this,"isInitialized",!1);this.config=e,this.ev=this.config.service.ev,this.customButtonStyles=this.config.state.styles.getState().GooglePayButton,this.element=document.createElement("div"),this.element.classList.add(It.googlePay,It.hidden),this.error=new Te(this.config.state.translate),this.error.setMessage(""),this.error.render().style.display="none"}init(e){return Y(this,null,function*(){if(!this.config)return!1;const a=this.config.state.transaction.getState(),r=this.config.state.translate.locale(),i=Dl(a);if(!i)return!1;const n=e?ee(K({},e),{onError:s=>{var d,c;if(!this.isInitialized){console.error("Google Pay error:",s);return}const o=Pa(s,this.config.state.translate.messages()),l=((d=this.config.state.translate.messages().errors)==null?void 0:d.errorText)||"Error";this.error.setMessage(`Google Pay ${l.toLowerCase()}: ${o}`),this.error.render().style.display="",(c=e.onError)==null||c.call(e,s)},onCancel:e.onCancel,onSuccess:s=>{var o;this.error.render().style.display="none",(o=e.onSuccess)==null||o.call(e,s)}}):void 0;return yield this.ev.initGoogle(ee(K({},n),{transaction:i,locale:Ml(r||"en")}),this.customButtonStyles),yield this.ev.renderGoogle(this.element),this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.element.classList.remove(It.hidden),this.isInitialized=!0,this.events.ready.emit(),!0})}addEventListener(e,a){return this.events[e].addListener(a)}showExternalError(e){var r;if(!this.isInitialized){console.error("Google Pay error:",e);return}const a=((r=this.config.state.translate.messages().errors)==null?void 0:r.errorText)||"Error";this.error.setMessage(`Google Pay ${a.toLowerCase()}: ${e}`),this.error.render().style.display=""}render(){return this.element}}const Nt={paypal:"_paypal_90mm5_1",hidden:"_hidden_90mm5_12"};class Yl{constructor(e){A(this,"element");A(this,"events",{ready:new he});A(this,"paypal");A(this,"customButtonStyles");A(this,"error");A(this,"isInitialized",!1);this.config=e,this.paypal=this.config.service.paypal,this.customButtonStyles=this.config.state.styles.getState().PayPalButton,this.element=document.createElement("div"),this.element.classList.add(Nt.paypal,Nt.hidden),this.error=new Te(this.config.state.translate),this.error.setMessage(""),this.error.render().style.display="none"}init(e){return Y(this,null,function*(){var s,o,l;if(!this.config)return!1;const a=this.config.state.transaction.getState(),r=this.config.state.checkout.getState(),i=()=>Y(this,null,function*(){return yield xl(r.clientToken,r.environment,r.apiVersion)});if(!a||Object.keys(a).length===0)return console.error("PayPal transaction data is empty or invalid"),!1;yield this.paypal.init({clientId:((s=a==null?void 0:a.paypal_info)==null?void 0:s.client_id)||"",environment:((o=a==null?void 0:a.paypal_info)==null?void 0:o.environment)||"sandbox",vault:!0,locale:jl(this.config.state.translate.locale())});const n=e?ee(K({},e),{onError:d=>{var m,y;if(!this.isInitialized){console.error("PayPal error:",d);return}const c=this.config.state.translate.messages(),u=Pa(d,c),h=Le(c)[u],p=((m=this.config.state.translate.messages().errors)==null?void 0:m.errorText)||"Error";this.error.setMessage(`PayPal ${p.toLowerCase()}: ${h!=null?h:u}`),this.error.render().style.display="",(y=e.onError)==null||y.call(e,d)},onCancel:e.onCancel,onSuccess:d=>{var c;this.error.render().style.display="none",(c=e.onSuccess)==null||c.call(e,d)}}):void 0;return yield this.paypal.render(this.element,ee(K({},n),{createBillingAgreement:i,onApprove:c=>Y(this,[c],function*({billingToken:d}){var u;(u=n==null?void 0:n.onSuccess)==null||u.call(n,d||"")}),style:(l=this.customButtonStyles)==null?void 0:l.styles,onCancel:n==null?void 0:n.onCancel,onError:n==null?void 0:n.onError})),this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.element.classList.remove(Nt.hidden),this.isInitialized=!0,this.events.ready.emit(),!0})}addEventListener(e,a){return this.events[e].addListener(a)}showExternalError(e){var n;if(!this.isInitialized){console.error("PayPal error:",e);return}const a=this.config.state.translate.messages(),r=Le(a)[e],i=((n=this.config.state.translate.messages().errors)==null?void 0:n.errorText)||"Error";this.error.setMessage(`PayPal ${i.toLowerCase()}: ${r!=null?r:e}`),this.error.render().style.display=""}render(){return this.element}}class Gl{constructor(){A(this,"template",`
|
|
40
|
+
<%s key={someKey} {...props} />`,b,w,j,w),E[w+b]=!0)}if(w=null,V!==void 0&&(e(V),w=""+V),o(P)&&(e(P.key),w=""+P.key),"key"in P){V={};for(var Q in P)Q!=="key"&&(V[Q]=P[Q])}else V=P;return w&&s(V,typeof g=="function"?g.displayName||g.name||"Unknown":g),c(g,w,_,T,a(),V,O,M)}function u(g){typeof g=="object"&&g!==null&&g.$$typeof===p&&g._store&&(g._store.validated=1)}var h=ie,p=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),x=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),q=Symbol.for("react.client.reference"),$=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,z=Array.isArray,B=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(g){return g()}};var J,D={},Y=h.react_stack_bottom_frame.bind(h,i)(),H=B(n(i)),E={};bt.Fragment=m,bt.jsx=function(g,P,V,b,T){var _=1e4>$.recentlyCreatedOwnerStacks++;return d(g,P,V,!1,b,T,_?Error("react-stack-top-frame"):Y,_?B(n(g)):H)},bt.jsxs=function(g,P,V,b,T){var _=1e4>$.recentlyCreatedOwnerStacks++;return d(g,P,V,!0,b,T,_?Error("react-stack-top-frame"):Y,_?B(n(g)):H)}}()),bt}var Oi;function kl(){return Oi||(Oi=1,process.env.NODE_ENV==="production"?Ot.exports=xl():Ot.exports=Nl()),Ot.exports}kl();const Ol=[ce.DinersClub,ce.DinersClub,ce.Discover,ce.JCB,ce.Mastercard,ce.Visa,ce.UnionPay,ce.Maestro],Se=r=>{const t=r.errors;return{[ye.INSUFFICIENT_FUNDS]:t==null?void 0:t.insufficientFunds,[ye.AUTHENTICATION_REQUIRED]:t==null?void 0:t.cardholderAuthenticationRequired,[ye.CARD_ISSUER_DECLINE]:t==null?void 0:t.declined,[ye.GENERIC_DECLINE]:t==null?void 0:t.declined,[ye.WITHDRAWAL_LIMIT_EXCEEDED]:t==null?void 0:t.limitExceeded,[ye.DO_NOT_HONOR]:t==null?void 0:t.doNotHonor,[ye.EXPIRED_CARD]:t==null?void 0:t.expiredCard,[ye.SUSPECTED_FRAUD]:t==null?void 0:t.processorDeclinedFraudSuspected,[ye.INCORRECT_CVC]:(t==null?void 0:t.invalidSecurePaymentData)||(t==null?void 0:t.invalidCreditCardNumber),[ye.INVALID_CARD_NUMBER]:t==null?void 0:t.invalidCreditCardNumber,[ye.ISSUER_UNAVAILABLE]:t==null?void 0:t.offlineIssuerDeclined,[ye.CARD_LOST_OR_STOLEN]:t==null?void 0:t.cardReportedAsLostOrStolen,[ye.CARD_DECLINED]:t==null?void 0:t.declined,errorText:t==null?void 0:t.errorText,"Frame closed before tokenization could occur.":t==null?void 0:t.venmoClosed,"Window is closed, can not determine type":t==null?void 0:t.paypalClosed,"Detected popup close":t==null?void 0:t.paypalPopupClosed,Cancelled:t==null?void 0:t.applePayClosed}},Ze=(r,t)=>{var i,o;const e=Se(t),n=((o=(i=t==null?void 0:t.card)==null?void 0:i.status)==null?void 0:o.error)||t.status.error,a=s=>s&&e[s]?e[s]:n;if(r&&typeof r=="object"){const s=r,l=s&&typeof s.status_reason=="object"&&s.status_reason?s.status_reason:s,c=l&&typeof l.decline_code=="string"?l.decline_code:void 0,d=l&&typeof l.message=="string"?l.message:void 0,u=typeof s.message=="string"?s.message:void 0;return c?a(c):d&&e[d]?e[d]:u&&e[u]?e[u]:n}return r instanceof Error?a(r.message):typeof r=="string"?a(r):n};class Ll{constructor(t){C(this,"element");C(this,"events",{ready:new he});C(this,"ev");C(this,"customButtonStyles");C(this,"error");C(this,"isInitialized",!1);this.config=t;const e=this.config.state.styles.getState().ApplePayButton;this.ev=this.config.service.ev,this.customButtonStyles=e,this.error=new Te(this.config.state.translate),this.element=document.createElement("div"),this.element.classList.add(Er.applePay,Er.hidden),this.error.setMessage(""),this.error.render().style.display="none"}init(t){return W(this,null,function*(){if(!this.config)return!1;const e=this.config.state.transaction.getState(),n=this.config.state.translate.locale(),a=Cl(e);if(!a)return!1;const i=t?ee(K({},t),{onError:o=>{var u,h;if(!this.isInitialized){console.error("Apple Pay error:",o);return}const s=this.config.state.translate.messages(),l=Ze(o,s),c=Se(s)[l],d=((u=this.config.state.translate.messages().errors)==null?void 0:u.errorText)||"Error";this.error.setMessage(`Apple Pay ${d.toLowerCase()}: ${c!=null?c:l}`),this.error.render().style.display="",(h=t.onError)==null||h.call(t,o)},onCancel:t.onCancel,onSuccess:o=>{var s;this.error.render().style.display="none",(s=t.onSuccess)==null||s.call(t,o)}}):void 0;return yield this.ev.initApple(ee(K({},i),{transaction:a,supportedCardTypes:wl(Ol),locale:Al(n||"en")}),this.customButtonStyles),this.ev.isAppleAvailable()?(yield this.ev.renderApple(this.element),this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.isInitialized=!0,this.element.classList.remove(Er.hidden),this.events.ready.emit(),!0):!1})}addEventListener(t,e){return this.events[t].addListener(e)}showExternalError(t){var i;if(!this.isInitialized){console.error("Apple Pay error:",t);return}const e=this.config.state.translate.messages(),n=Se(e)[t],a=((i=this.config.state.translate.messages().errors)==null?void 0:i.errorText)||"Error";this.error.setMessage(`Apple Pay ${a.toLowerCase()}: ${n!=null?n:t}`),this.error.render().style.display=""}render(){return this.element}}const Pl=[{type:re.PAYPAL,is_active:!0,order:1},{type:re.APPLE_PAY,is_active:!0,order:2},{type:re.GOOGLE_PAY,is_active:!0,order:3},{type:re.VENMO,is_active:!0,order:4},{type:re.CARD,is_active:!0,order:5}],Xe={open:{y:0,opacity:1},close:{y:100,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},Lt={open:{y:0,opacity:1},close:{y:-100,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},me={open:{y:0,opacity:1},close:{y:15,opacity:0},transition:{duration:.25,type:"spring",bounce:0}},Ce={open:{y:0,opacity:1,height:"auto"},close:{y:-15,opacity:0,height:0},transition:{duration:.25,type:"spring",bounce:0}},Ir={googlePay:"_googlePay_gmreq_1",hidden:"_hidden_gmreq_20"};class Rl{constructor(t){C(this,"element");C(this,"events",{ready:new he});C(this,"ev");C(this,"customButtonStyles");C(this,"error");C(this,"isInitialized",!1);this.config=t,this.ev=this.config.service.ev,this.customButtonStyles=this.config.state.styles.getState().GooglePayButton,this.element=document.createElement("div"),this.element.classList.add(Ir.googlePay,Ir.hidden),this.error=new Te(this.config.state.translate),this.error.setMessage(""),this.error.render().style.display="none"}init(t){return W(this,null,function*(){if(!this.config)return!1;const e=this.config.state.transaction.getState(),n=this.config.state.translate.locale(),a=El(e);if(!a)return!1;const i=t?ee(K({},t),{onError:o=>{var c,d;if(!this.isInitialized){console.error("Google Pay error:",o);return}const s=Ze(o,this.config.state.translate.messages()),l=((c=this.config.state.translate.messages().errors)==null?void 0:c.errorText)||"Error";this.error.setMessage(`Google Pay ${l.toLowerCase()}: ${s}`),this.error.render().style.display="",(d=t.onError)==null||d.call(t,o)},onCancel:t.onCancel,onSuccess:o=>{var s;this.error.render().style.display="none",(s=t.onSuccess)==null||s.call(t,o)}}):void 0;return yield this.ev.initGoogle(ee(K({},i),{transaction:a,locale:Tl(n||"en")}),this.customButtonStyles),yield this.ev.renderGoogle(this.element),this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.element.classList.remove(Ir.hidden),this.isInitialized=!0,this.events.ready.emit(),!0})}addEventListener(t,e){return this.events[t].addListener(e)}showExternalError(t){var n;if(!this.isInitialized){console.error("Google Pay error:",t);return}const e=((n=this.config.state.translate.messages().errors)==null?void 0:n.errorText)||"Error";this.error.setMessage(`Google Pay ${e.toLowerCase()}: ${t}`),this.error.render().style.display=""}render(){return this.element}}const xr={paypal:"_paypal_90mm5_1",hidden:"_hidden_90mm5_12"};class Sl{constructor(t){C(this,"element");C(this,"events",{ready:new he});C(this,"paypal");C(this,"customButtonStyles");C(this,"error");C(this,"isInitialized",!1);this.config=t,this.paypal=this.config.service.paypal,this.customButtonStyles=this.config.state.styles.getState().PayPalButton,this.element=document.createElement("div"),this.element.classList.add(xr.paypal,xr.hidden),this.error=new Te(this.config.state.translate),this.error.setMessage(""),this.error.render().style.display="none"}init(t){return W(this,null,function*(){var o,s;if(!this.config)return!1;const e=this.config.state.transaction.getState(),n=this.config.state.checkout.getState(),a=()=>W(this,null,function*(){try{return yield bl(n.clientToken,n.environment,n.apiVersion)}catch(l){throw l}});if(!e||Object.keys(e).length===0)return console.error("PayPal transaction data is empty or invalid"),!1;if(!((o=e==null?void 0:e.paypal_info)!=null&&o.client_id))return!1;try{if(yield this.paypal.init({clientId:e.paypal_info.client_id,environment:e.paypal_info.environment||"sandbox",vault:!0,locale:Il(this.config.state.translate.locale())}),!this.paypal.isLoaded())return!1}catch(l){return!1}const i=t?ee(K({},t),{onError:l=>{var p,f;if(!this.isInitialized){console.error("PayPal error:",l);return}const c=this.config.state.translate.messages(),d=Ze(l,c),u=Se(c)[d],h=((p=this.config.state.translate.messages().errors)==null?void 0:p.errorText)||"Error";this.error.setMessage(`PayPal ${h.toLowerCase()}: ${u!=null?u:d}`),this.error.render().style.display="",(f=t.onError)==null||f.call(t,l)},onCancel:t.onCancel,onSuccess:l=>{var c;this.error.render().style.display="none",(c=t.onSuccess)==null||c.call(t,l)}}):void 0;try{yield this.paypal.render(this.element,ee(K({},i),{createBillingAgreement:a,onApprove:c=>W(this,[c],function*({billingToken:l}){var d;(d=i==null?void 0:i.onSuccess)==null||d.call(i,l||"")}),style:(s=this.customButtonStyles)==null?void 0:s.styles,onCancel:()=>{var l;(l=i==null?void 0:i.onCancel)==null||l.call(i)},onError:l=>{var c;(c=i==null?void 0:i.onError)==null||c.call(i,l)}}))}catch(l){return!1}return this.element.addEventListener("click",()=>Te.hideAll()),this.element.append(this.error.render()),this.element.classList.remove(xr.hidden),this.isInitialized=!0,this.events.ready.emit(),!0})}addEventListener(t,e){return this.events[t].addListener(e)}showExternalError(t){var i;if(!this.isInitialized){console.error("PayPal error:",t);return}const e=this.config.state.translate.messages(),n=Se(e)[t],a=((i=this.config.state.translate.messages().errors)==null?void 0:i.errorText)||"Error";this.error.setMessage(`PayPal ${a.toLowerCase()}: ${n!=null?n:t}`),this.error.render().style.display=""}render(){return this.element}}class Dl{constructor(){C(this,"template",`
|
|
41
41
|
<svg
|
|
42
42
|
xmlns='http://www.w3.org/2000/svg'
|
|
43
43
|
fill='none'
|
|
@@ -52,10 +52,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
52
52
|
<line x1='1' y1='8' x2='27' y2='8'></line>
|
|
53
53
|
</svg>
|
|
54
54
|
<span class="${X.srOnly}">Pay with</span>
|
|
55
|
-
`);
|
|
55
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.card),this.element.innerHTML=this.template}render(){return this.element}}const Li={button:"_button_13xr0_1"};class Ml{constructor(t){C(this,"element");C(this,"icon",new Dl);this.config=t;const e=this.config.state.styles.getState().WalletButton,n=this.config.state.translate;this.element=document.createElement("button"),this.element.classList.add(Li.button,Li.press),e!=null&&e.className&&this.element.classList.add(e.className),e!=null&&e.styles&&Object.assign(this.element.style,e.styles);const a=document.createElement("span");a.textContent=n.getState().messages.card.compact.button,this.element.append(this.icon.render(),a),n.subscribe(({messages:i})=>{a.textContent=i.card.compact.button})}addEventListener(t){return this.element.addEventListener("click",t)}render(){return this.element}}const Vl=(r,t,e)=>t.concat(r.filter(n=>t.every(a=>!e(n,a)))),Pt={conteiner:"_conteiner_1j5pe_2",venmo:"_venmo_1j5pe_8",hidden:"_hidden_1j5pe_33"},Fl={display:"flex",height:40,borderRadius:12},Ul=`<svg viewBox="2.3 484.3 611.9 117.80000000000001" xmlns="http://www.w3.org/2000/svg">
|
|
56
56
|
<path d="M103.1 485.8c4.2 7 5.7 14 5.7 22.4 0 28-23.8 65.9-43.4 91.1H20.5L2.3 491.5l40.6-2.8 9.8 77.1c8.4-14 19.7-37.9 19.7-53.2 0-8.4-1.4-14-4.2-19.7zm51.8 47.7c7 0 25.2-2.8 25.2-14 0-5.7-2.8-7-7-7-8.3 0-18.2 8.4-18.2 21zm-1.3 21c0 12.7 7 18.2 16.8 18.2s19.7-2.8 32.2-8.4l-5.7 30.8c-8.4 4.2-22.4 7-36.4 7-33.5 0-46.2-21-46.2-46.2 0-33.5 19.7-68.6 60.2-68.6 22.4 0 35 12.7 35 30.8 1.5 26.6-35 36.4-55.9 36.4zM324.4 511c0 4.2 0 9.8-1.4 14l-11.2 74.2H274l11.2-68.6c0-1.4 1.4-5.7 1.4-7 0-5.7-2.8-5.7-7-5.7-5.7 0-9.8 2.8-12.7 4.2l-14 77.1H215l16.8-112.1h33.5v8.4c8.4-5.7 18.2-11.2 32.2-11.2 19.9 3 26.9 12.7 26.9 26.7zm113.4-12.5c11.2-8.4 21-12.7 35-12.7 19.7 0 26.7 9.8 26.7 25.2 0 4.2 0 9.8-1.4 14L487 599.3h-37.9l11.2-70v-5.7c0-5.7-2.8-7-7-7s-9.8 1.4-12.7 4.2L428 599.2h-37.9l11.2-70v-5.7c0-5.7-2.8-7-7-7-5.7 0-9.8 2.8-12.7 4.2L369 599h-37.9L348 487h32.2l1.4 9.8c7-5.7 18.2-11.2 32.2-11.2 11.4 1.7 19.7 5.9 24 12.9zM575 532.1c0-9.8-2.8-15.4-9.8-15.4-15.4 0-18.2 26.7-18.2 40.6 0 9.8 2.8 16.8 9.8 16.8 15.5-1.4 18.2-29.4 18.2-42zm-65.8 22.4c0-35 18.2-68.6 61.6-68.6 32.2 0 43.4 19.7 43.4 44.9 0 35-18.2 70-61.6 70-32.2 1.3-43.4-19.7-43.4-46.3z"
|
|
57
57
|
fill="currentColor"/>
|
|
58
|
-
</svg>`;class
|
|
58
|
+
</svg>`;class jl{constructor(t){C(this,"isProcessing",!1);C(this,"container");C(this,"venmoButton");C(this,"events",{ready:new he});C(this,"braintree");C(this,"error");C(this,"isInitialized",!1);this.config=t,this.braintree=this.config.service.braintree;const e=this.config.state.styles.getState().BraintreeButton;this.container=document.createElement("div"),this.container.classList.add(Pt.conteiner),this.venmoButton=document.createElement("button"),this.venmoButton.classList.add(Pt.venmo,Pt.hidden),e!=null&&e.className&&this.venmoButton.classList.add(e.className),e!=null&&e.styles&&Object.assign(this.venmoButton.style,e.styles),this.venmoButton.setAttribute("aria-label","Venmo"),this.venmoButton.innerHTML=Ul,this.error=new Te(this.config.state.translate),this.error.setMessage(""),this.error.render().style.display="none",this.container.append(this.venmoButton)}init(t){return W(this,null,function*(){var n;if(!this.config)return!1;const e=this.config.state.transaction.getState();if(console.log("----- init braintree venmo: ",e),!e||Object.keys(e).length===0)return console.error("Braintree Venmo transaction data is empty or invalid"),!1;try{return yield this.braintree.init({authorization:((n=e==null?void 0:e.brain_tree_info)==null?void 0:n.client_token)||""}),yield this.braintree.createVenmo({}),this.braintree.isBrowserSupported()?(this.displayVenmoButton(t),this.braintree.hasTokenizationResult()?(yield this.handleExistingTokenization(t),!1):(this.venmoButton.classList.remove(Pt.hidden),this.container.append(this.error.render()),this.isInitialized=!0,this.events.ready.emit(),!0)):(console.log("Browser does not support Venmo"),this.handleVenmoError(new Error("Browser does not support Venmo")),!1)}catch(a){return console.error("Error initializing Venmo:",a),this.handleVenmoError(a),!1}})}displayVenmoButton(t){Object.assign(this.venmoButton.style,Fl),this.venmoButton.addEventListener("click",()=>W(this,null,function*(){if(Te.hideAll(),!this.isProcessing){this.isProcessing=!0,this.venmoButton.disabled=!0;try{const e=yield this.braintree.tokenize();this.handleVenmoSuccess(e,t)}catch(e){this.handleVenmoError(e,t)}finally{this.isProcessing=!1,this.venmoButton.disabled=!1}}}))}handleExistingTokenization(t){return W(this,null,function*(){try{const e=yield this.braintree.tokenize();this.handleVenmoSuccess(e,t)}catch(e){this.handleVenmoError(e,t)}})}handleVenmoSuccess(t,e){var n;console.log("Venmo payment successful:",t),this.error.render().style.display="none",(n=e.onSuccess)==null||n.call(e,t)}handleVenmoError(t,e){var s,l;if(console.error("Venmo error:",t),!this.isInitialized)return;const n=this.config.state.translate.messages(),a=Ze(t,n),i=Se(n)[a],o=((s=n.errors)==null?void 0:s.errorText)||"Error";this.error.setMessage(`Venmo ${o.toLowerCase()}: ${i!=null?i:a}`),this.error.render().style.display="",(l=e==null?void 0:e.onError)==null||l.call(e,t)}addEventListener(t,e){return this.events[t].addListener(e)}showExternalError(t){var i;if(!this.isInitialized){console.error("Venmo error:",t);return}const e=this.config.state.translate.messages(),n=Se(e)[t],a=((i=e.errors)==null?void 0:i.errorText)||"Error";this.error.setMessage(`Venmo ${a.toLowerCase()}: ${n!=null?n:t}`),this.error.render().style.display=""}render(){return this.container}}class zl{constructor(t){C(this,"isAppleReady",!0);C(this,"isGoogleReady",!0);C(this,"isPayPalReady",!0);C(this,"isBraintreeReady",!0);C(this,"buttons");C(this,"applePay");C(this,"googlePay");C(this,"paypal");C(this,"card");C(this,"braintree");C(this,"lastInteracted",null);C(this,"events",{ready:new he,open:new he,error:new he,cancel:new he,success:new he});this.config=t,this.buttons=document.createElement("div"),this.buttons.classList.add(_r.buttons,_r.hidden)}init(){return W(this,null,function*(){this.config.state.transaction.subscribe(()=>{this.config.service.ev.isReady&&this.initPaymentMethods().catch(console.error)}),this.config.state.checkout.subscribe(()=>{this.config.service.ev.isReady&&this.initPaymentMethods().catch(console.error)}),this.config.service.ev.addEventListener("ready",()=>{this.initPaymentMethods().catch(console.error)})})}initApple(t){return W(this,null,function*(){if(this.applePay){this.isAppleReady=!1;try{(yield this.applePay.init({onError:n=>this.events.error.emit(n),onCancel:()=>this.events.cancel.emit(),onSuccess:n=>{this.lastInteracted="apple",this.events.success.emit(ee(K({},n),{type:"apple"}))}}))?t==null||t.appendChild(this.applePay.render()):t==null||t.remove()}catch(e){console.error(e),t==null||t.remove()}finally{this.isAppleReady=!0}}})}initGoogle(t){return W(this,null,function*(){if(this.googlePay){this.isGoogleReady=!1;try{(yield this.googlePay.init({onError:n=>this.events.error.emit(n),onCancel:()=>this.events.cancel.emit(),onSuccess:n=>{this.lastInteracted="google",this.events.success.emit(ee(K({},n),{type:"google"}))}}))?t==null||t.appendChild(this.googlePay.render()):t==null||t.remove()}catch(e){console.error(e),t==null||t.remove()}finally{this.isGoogleReady=!0}}})}initPayPal(t){return W(this,null,function*(){if(this.paypal){this.isPayPalReady=!1;try{const e=this.paypal.render();t==null||t.appendChild(e),(yield this.paypal.init({onError:a=>this.events.error.emit(a),onCancel:()=>this.events.cancel.emit(),onSuccess:a=>{this.lastInteracted="paypal",this.events.success.emit({paypalId:a,type:"paypal"})}}))||t==null||t.remove()}catch(e){t==null||t.remove()}finally{this.isPayPalReady=!0}}})}initBraintreeVenmo(t){return W(this,null,function*(){if(this.braintree){this.isBraintreeReady=!1;try{(yield this.braintree.init({onError:n=>this.events.error.emit(n),onCancel:()=>this.events.cancel.emit(),onSuccess:n=>{this.lastInteracted="venmo",this.events.success.emit({nonce:n==null?void 0:n.nonce,type:"venmo"})}}))?t==null||t.appendChild(this.braintree.render()):t==null||t.remove()}catch(e){console.error(e),t==null||t.remove()}finally{this.isBraintreeReady=!0}}})}initCard(t){return W(this,null,function*(){this.card&&(t==null||t.appendChild(this.card.render()))})}initPaymentMethods(){return W(this,null,function*(){const t=this.config.state.transaction.getState(),e=Vl(Pl,(t==null?void 0:t.checkout_config)||[],(l,c)=>l.type===c.type),n=this.config.state.checkout.getState();let a=e.filter(({is_active:l})=>l);(n==null?void 0:n.variant)==="default"&&(a=a.filter(({type:l})=>l!==re.CARD)),this.initializeButtonInstances(a),this.buttons.innerHTML="";const i=a.sort((l,c)=>l.order-c.order),o=new Map;for(const{type:l}of i){const c=document.createElement("div");this.buttons.appendChild(c),o.set(l,c)}const s=i.map(({type:l})=>{const c=o.get(l);switch(l){case re.APPLE_PAY:return this.initApple(c);case re.GOOGLE_PAY:return this.initGoogle(c);case re.PAYPAL:return this.initPayPal(c);case re.VENMO:return this.initBraintreeVenmo(c);case re.CARD:return this.initCard(c);default:throw new Error("Unknown button type")}});yield Promise.all(s),this.handleReady()})}initializeButtonInstances(t){const e=t.map(({type:n})=>n);e.includes(re.APPLE_PAY)&&!this.applePay&&(this.applePay=new Ll(this.config)),e.includes(re.GOOGLE_PAY)&&!this.googlePay&&(this.googlePay=new Rl(this.config)),e.includes(re.PAYPAL)&&!this.paypal&&(this.paypal=new Sl(this.config)),e.includes(re.VENMO)&&!this.braintree&&(this.braintree=new jl(this.config)),e.includes(re.CARD)&&!this.card&&(this.card=new Ml(this.config),this.card.addEventListener(()=>{this.lastInteracted="card",this.events.open.emit()}))}handleReady(){this.isAppleReady&&this.isGoogleReady&&this.isPayPalReady&&this.isBraintreeReady&&this.events.ready.emit()}addEventListener(t,e){return this.events[t].addListener(e)}showButton(){this.buttons.classList.remove(_r.hidden)}render(){return this.buttons}showExternalError(t){var e,n,a,i;switch(this.lastInteracted){case"apple":(e=this.applePay)==null||e.showExternalError(t);break;case"google":(n=this.googlePay)==null||n.showExternalError(t);break;case"paypal":(a=this.paypal)==null||a.showExternalError(t);break;case"venmo":(i=this.braintree)==null||i.showExternalError(t);break}}}class Bl{constructor(){C(this,"template",`
|
|
59
59
|
<svg
|
|
60
60
|
xmlns='http://www.w3.org/2000/svg'
|
|
61
61
|
width='24'
|
|
@@ -71,7 +71,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
71
71
|
<polyline points='15 18 9 12 15 6'></polyline>
|
|
72
72
|
</svg>
|
|
73
73
|
<span class="${X.srOnly}">Back</span>
|
|
74
|
-
`);
|
|
74
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.backButton),this.element.innerHTML=this.template}render(){return this.element}}const Kl={button:"_button_125my_1"};class Hl{constructor(){C(this,"element");C(this,"icon",new Bl);this.element=document.createElement("div"),this.element.classList.add(Kl.button),this.element.appendChild(this.icon.render())}addEventListener(t){return this.element.addEventListener("click",t)}render(){return this.element}}const De={button:"_button_191iv_1",disabled:"_disabled_191iv_17",press:"_press_191iv_22",hidden:"_hidden_191iv_26",spinner:"_spinner_191iv_30"};class ql{constructor(t,e){C(this,"element");C(this,"spinner",new ui);C(this,"message",document.createElement("span"));this.element=document.createElement("button"),this.element.classList.add(De.button,De.press),e!=null&&e.className&&this.element.classList.add(e.className),e!=null&&e.styles&&Object.assign(this.element.style,e.styles),this.spinner.addClass(De.spinner),this.spinner.addClass(De.hidden),this.message.textContent=t.messages().card.pay.button,this.element.append(this.spinner.render(),this.message),t.subscribe(n=>{this.message.textContent=n.messages.card.pay.button})}addEventListener(t){return this.element.addEventListener("click",t)}disable(t){t?(this.element.setAttribute("disabled","true"),this.element.classList.add(De.disabled),this.spinner.removeClass(De.hidden)):(this.element.removeAttribute("disabled"),this.element.classList.remove(De.disabled),this.spinner.addClass(De.hidden))}render(){return this.element}}const xe={cardForm:"_cardForm_kzlcj_1",hidden:"_hidden_kzlcj_5",topOffset:"_topOffset_kzlcj_9"},de={wrapper:"_wrapper_4knhb_1",inputContainer:"_inputContainer_4knhb_5",input:"_input_4knhb_5",errorInput:"_errorInput_4knhb_24",label:"_label_4knhb_28",labelError:"_labelError_4knhb_32",disabled:"_disabled_4knhb_36",disabledInput:"_disabledInput_4knhb_40",hidden:"_hidden_4knhb_47"};class Wl{constructor(t,e){C(this,"id","paynext-card-input-name");C(this,"element");C(this,"inputContainer",document.createElement("div"));C(this,"input",document.createElement("input"));C(this,"label",document.createElement("label"));C(this,"labelText",document.createElement("span"));C(this,"labelError",document.createElement("span"));C(this,"endContent",document.createElement("div"));C(this,"warning",new kt);C(this,"placeholderStyle",document.createElement("style"));C(this,"isTouchSubmit",!1);C(this,"isRequired",!1);C(this,"isDisabled",!1);C(this,"isChanged",!1);C(this,"events",{change:new he});var a,i,o,s,l,c,d,u,h;const n=t.messages();if(this.element=document.createElement("div"),this.element.classList.add(de.wrapper),this.inputContainer.classList.add(de.inputContainer),(a=e==null?void 0:e.container)!=null&&a.className&&this.inputContainer.classList.add(e.container.className),(i=e==null?void 0:e.container)!=null&&i.styles&&Object.assign(this.inputContainer.style,e.container.styles),this.input.setAttribute("id",this.id),this.input.setAttribute("autocomplete","cc-name"),this.input.setAttribute("placeholder",n.card.name.placeholder),this.input.classList.add(de.input),(o=e==null?void 0:e.field)!=null&&o.className&&this.input.classList.add(e.field.className),(s=e==null?void 0:e.field)!=null&&s.styles&&Object.assign(this.input.style,e.field.styles),(l=e==null?void 0:e.placeholder)!=null&&l.styles&&Object.keys(e.placeholder.styles).length){const p=m=>m.replace(/[A-Z]/g,v=>"-"+v.toLowerCase()),f=Object.entries(e.placeholder.styles).map(([m,v])=>`${p(m)}:${v};`).join("");this.placeholderStyle.textContent=`#${this.id}::placeholder{${f}}`,this.element.appendChild(this.placeholderStyle)}this.endContent.classList.add(de.hidden),this.endContent.appendChild(this.warning.render()),this.inputContainer.append(this.input,this.endContent),this.label.setAttribute("for",this.id),this.label.classList.add(de.label),(c=e==null?void 0:e.label)!=null&&c.className&&this.label.classList.add(e.label.className),(d=e==null?void 0:e.label)!=null&&d.styles&&Object.assign(this.label.style,e.label.styles),this.labelText.textContent=n.card.name.label,this.labelError.textContent=n.card.required,this.labelError.classList.add(de.labelError,de.hidden),(u=e==null?void 0:e.error)!=null&&u.className&&this.labelError.classList.add(e.error.className),(h=e==null?void 0:e.error)!=null&&h.styles&&Object.assign(this.labelError.style,e.error.styles),this.label.append(this.labelText,this.labelError),this.element.append(this.label,this.inputContainer),this.input.addEventListener("input",()=>this.handleChange(this.input.value)),this.input.addEventListener("paste",()=>this.handleChange(this.input.value)),this.input.addEventListener("blur",()=>this.validate(this.input.value)),t.subscribe(({messages:p})=>{this.input.setAttribute("placeholder",p.card.name.placeholder),this.labelText.textContent=p.card.name.label,this.labelError.textContent=p.card.required})}validator(t){return t?null:pe.Empty}handleChange(t){this.isDisabled||(this.isRequired=!1,this.isChanged||(this.isChanged=!0),this.events.change.emit({value:t,isValid:this.validator(t)===null}),this.render())}toggleLabelError(t){return W(this,null,function*(){if(t){this.inputContainer.classList.add(de.errorInput),this.endContent.classList.remove(de.hidden),this.labelError.classList.remove(de.hidden),yield ue(this.labelError,me.open,me.transition);return}this.inputContainer.classList.remove(de.errorInput),this.endContent.classList.add(de.hidden),yield ue(this.labelError,me.close,me.transition),this.labelError.classList.add(de.hidden)})}addEventListener(t,e){return this.events[t].addListener(e)}disable(t){t?(this.input.setAttribute("disabled","true"),this.input.classList.add(de.disabledInput),this.inputContainer.classList.add(de.disabled)):(this.input.removeAttribute("disabled"),this.input.classList.remove(de.disabledInput),this.inputContainer.classList.remove(de.disabled))}touchSubmit(){this.isTouchSubmit=!0,this.render()}value(){return this.input.value}validate(t){const e=this.validator(t);return this.isRequired=!!e,this.render(),!e}render(){const n=(this.isTouchSubmit||this.isChanged)&&this.isRequired&&!this.isDisabled;return this.toggleLabelError(n),this.isDisabled?(this.inputContainer.classList.add(de.disabled),this.input.classList.add(de.disabledInput)):(this.inputContainer.classList.remove(de.disabled),this.input.classList.remove(de.disabledInput)),this.element}}const oe={wrapper:"_wrapper_j8wuo_1",inputContainer:"_inputContainer_j8wuo_5",input:"_input_j8wuo_5",endContent:"_endContent_j8wuo_20",errorInput:"_errorInput_j8wuo_24",error:"_error_j8wuo_24",label:"_label_j8wuo_32",labelError:"_labelError_j8wuo_36",disabled:"_disabled_j8wuo_40",disabledInput:"_disabledInput_j8wuo_44",hidden:"_hidden_j8wuo_51"};class $l{constructor(){C(this,"template",`
|
|
75
75
|
<svg
|
|
76
76
|
width='28'
|
|
77
77
|
height='19'
|
|
@@ -99,7 +99,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
99
99
|
</defs>
|
|
100
100
|
</svg>
|
|
101
101
|
<span class="${X.srOnly}">Unknown card</span>
|
|
102
|
-
`);
|
|
102
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Yl{constructor(){C(this,"template",`
|
|
103
103
|
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16' class='${X.svg}'>
|
|
104
104
|
<g fill='none' fill-rule='evenodd'>
|
|
105
105
|
<rect fill='#016fd0' height='16' rx='2' width='24' />
|
|
@@ -126,7 +126,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
126
126
|
</g>
|
|
127
127
|
</svg>
|
|
128
128
|
<span class="${X.srOnly}">Amex</span>
|
|
129
|
-
`);
|
|
129
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Gl{constructor(){C(this,"template",`
|
|
130
130
|
<svg
|
|
131
131
|
xmlns='http://www.w3.org/2000/svg'
|
|
132
132
|
xmlns-xlink='http://www.w3.org/1999/xlink'
|
|
@@ -166,7 +166,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
166
166
|
</g>
|
|
167
167
|
</svg>
|
|
168
168
|
<span class="${X.srOnly}">Diners Club</span>
|
|
169
|
-
`);
|
|
169
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Ql{constructor(){C(this,"template",`
|
|
170
170
|
<svg
|
|
171
171
|
xmlns='http://www.w3.org/2000/svg'
|
|
172
172
|
xmlns-xlink='http://www.w3.org/1999/xlink'
|
|
@@ -211,7 +211,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
211
211
|
</g>
|
|
212
212
|
</svg>
|
|
213
213
|
<span class="${X.srOnly}">Discover</span>
|
|
214
|
-
`);
|
|
214
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Zl{constructor(){C(this,"template",`
|
|
215
215
|
<svg xmlns='http://www.w3.org/2000/svg' height='16' viewBox='0 0 23 16' width='23' class='${X.svg}'>
|
|
216
216
|
<g fill='none'>
|
|
217
217
|
<path
|
|
@@ -241,7 +241,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
241
241
|
</g>
|
|
242
242
|
</svg>
|
|
243
243
|
<span class="${X.srOnly}">JCB</span>
|
|
244
|
-
`);
|
|
244
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Xl{constructor(){C(this,"template",`
|
|
245
245
|
<svg xmlns='http://www.w3.org/2000/svg' height='16' viewBox='0 0 24 16' width='24' class='${X.svg}'>
|
|
246
246
|
<g fill='none' fill-rule='evenodd'>
|
|
247
247
|
<rect fill='#252525' height='16' rx='2' width='24' />
|
|
@@ -254,7 +254,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
254
254
|
</g>
|
|
255
255
|
</svg>
|
|
256
256
|
<span class="${X.srOnly}">MasterCard</span>
|
|
257
|
-
`);
|
|
257
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class Jl{constructor(){C(this,"template",`
|
|
258
258
|
<svg xmlns='http://www.w3.org/2000/svg' height='16' viewBox='0 0 24 16' width='24' class='${X.svg}'>
|
|
259
259
|
<g fill='none'>
|
|
260
260
|
<path
|
|
@@ -276,7 +276,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
276
276
|
</g>
|
|
277
277
|
</svg>
|
|
278
278
|
<span class="${X.srOnly}">Union Pay</span>
|
|
279
|
-
`);
|
|
279
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class ec{constructor(){C(this,"template",`
|
|
280
280
|
<svg
|
|
281
281
|
xmlns='http://www.w3.org/2000/svg'
|
|
282
282
|
xmlns-xlink='http://www.w3.org/1999/xlink'
|
|
@@ -315,12 +315,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
315
315
|
</g>
|
|
316
316
|
</svg>
|
|
317
317
|
<span class="${X.srOnly}">Visa</span>
|
|
318
|
-
`);
|
|
319
|
-
${
|
|
320
|
-
${
|
|
321
|
-
${
|
|
322
|
-
${
|
|
323
|
-
`,document.head.appendChild(this.placeholderStyle)}this.endContent.classList.add(
|
|
318
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class tc{constructor(t,e){C(this,"id","paynext-card-input-number");C(this,"initialCardTypes",Nt.map(t=>t.type));C(this,"element");C(this,"inputContainer",document.createElement("div"));C(this,"input",document.createElement("input"));C(this,"label",document.createElement("label"));C(this,"labelText",document.createElement("span"));C(this,"labelError",document.createElement("span"));C(this,"endContent",document.createElement("div"));C(this,"error",document.createElement("p"));C(this,"unknownCard",new $l);C(this,"amex",new Yl);C(this,"dinerClub",new Gl);C(this,"discover",new Ql);C(this,"jcb",new Zl);C(this,"masterCard",new Xl);C(this,"unionPay",new Jl);C(this,"visa",new ec);C(this,"placeholderStyle",document.createElement("style"));C(this,"supportedCardTypes",this.initialCardTypes);C(this,"isTouchSubmit",!1);C(this,"errorMessage","");C(this,"isRequired",!1);C(this,"isDisabled",!1);C(this,"isChanged",!1);C(this,"events",{change:new he});var a,i,o,s,l,c,d,u,h;this.translate=t;const n=t.messages();if(this.element=document.createElement("div"),this.element.classList.add(oe.wrapper),this.inputContainer.classList.add(oe.inputContainer),(a=e==null?void 0:e.container)!=null&&a.className&&this.inputContainer.classList.add(e.container.className),(i=e==null?void 0:e.container)!=null&&i.styles&&Object.assign(this.inputContainer.style,e.container.styles),this.input.setAttribute("id",this.id),this.input.setAttribute("autocomplete","cc-number"),this.input.setAttribute("placeholder","1234 1234 1234 1234"),this.input.setAttribute("inputmode","numeric"),this.input.setAttribute("pattern","[0-9]*"),this.input.setAttribute("enterkeyhint","done"),this.input.classList.add(oe.input),(o=e==null?void 0:e.field)!=null&&o.className&&this.input.classList.add(e.field.className),(s=e==null?void 0:e.field)!=null&&s.styles&&Object.assign(this.input.style,e.field.styles),(l=e==null?void 0:e.placeholder)!=null&&l.styles&&Object.keys(e.placeholder.styles).length){const p=v=>v.replace(/[A-Z]/g,y=>"-"+y.toLowerCase()),f=Object.entries(e.placeholder.styles).map(([v,y])=>`${p(v)}:${y} !important;`).join(""),m=`#${this.id}`;this.placeholderStyle.textContent=`${m}::placeholder{${f}}
|
|
319
|
+
${m}::-webkit-input-placeholder{${f}}
|
|
320
|
+
${m}::-moz-placeholder{${f}}
|
|
321
|
+
${m}:-ms-input-placeholder{${f}}
|
|
322
|
+
${m}::-ms-input-placeholder{${f}}
|
|
323
|
+
`,document.head.appendChild(this.placeholderStyle)}this.endContent.classList.add(oe.endContent),this.endContent.append(...this.getCardIcons()),this.inputContainer.append(this.input,this.endContent),this.label.setAttribute("for",this.id),this.label.classList.add(oe.label),(c=e==null?void 0:e.label)!=null&&c.className&&this.label.classList.add(e.label.className),(d=e==null?void 0:e.label)!=null&&d.styles&&Object.assign(this.label.style,e.label.styles),this.labelText.textContent=n.card.number.label,this.labelError.textContent=n.card.required,this.labelError.classList.add(oe.labelError,oe.hidden),(u=e==null?void 0:e.error)!=null&&u.className&&this.labelError.classList.add(e.error.className),(h=e==null?void 0:e.error)!=null&&h.styles&&Object.assign(this.labelError.style,e.error.styles),this.label.append(this.labelText,this.labelError),this.error.classList.add(oe.error,oe.hidden),this.element.append(this.label,this.inputContainer,this.error),this.input.addEventListener("keydown",p=>{this.isDisabled||["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(p.key)||p.ctrlKey||p.metaKey||/^\d$/.test(p.key)||p.preventDefault()}),this.input.addEventListener("input",p=>{p.stopPropagation();const m=this.input.value.replace(/\D/g,"");this.handleChange(m)}),this.input.addEventListener("paste",p=>{var v;p.preventDefault();const m=(((v=p.clipboardData)==null?void 0:v.getData("text"))||"").replace(/\D/g,"");this.handleChange(m)}),this.input.addEventListener("blur",()=>this.validate(this.input.value)),this.translate.subscribe(({messages:p})=>{this.labelText.textContent=p.card.number.label,this.labelError.textContent=p.card.required,this.render()})}handleChange(t){if(this.isDisabled)return;this.isRequired=!1,this.errorMessage="",this.isChanged||(this.isChanged=!0);const e=Ci(t).map(i=>i.type),n=Ei(t),a=sl(t,(n==null?void 0:n.type)||"");this.supportedCardTypes=e.length?e:this.initialCardTypes,a.replace(/\D/g,"").length===((n==null?void 0:n.maxLength)||16)&&this.validate(a),this.input.value=a,this.events.change.emit({card:a,cardType:n==null?void 0:n.type,cardTypes:e,isValid:wi(t,this.supportedCardTypes).isValid}),this.render()}toggleLabelError(t){return W(this,null,function*(){if(t){this.inputContainer.classList.add(oe.errorInput),this.labelError.classList.remove(oe.hidden),yield ue(this.labelError,me.open,me.transition);return}yield ue(this.labelError,me.close,me.transition),this.labelError.classList.add(oe.hidden)})}toggleErrorMessage(t){return W(this,null,function*(){if(t){this.inputContainer.classList.add(oe.errorInput),this.error.textContent=this.errorMessage,this.error.classList.remove(oe.hidden),yield ue(this.error,Ce.open,Ce.transition);return}yield ue(this.error,Ce.close,Ce.transition),this.error.classList.add(oe.hidden)})}getCardIcons(){return Nt.filter(({type:t})=>this.supportedCardTypes.includes(t)).slice(0,3).map(({type:t})=>{switch(t){case ce.Visa:return this.visa.render();case ce.Maestro:case ce.Mastercard:return this.masterCard.render();case ce.DinersClub:return this.dinerClub.render();case ce.JCB:return this.jcb.render();case ce.AmericanExpress:return this.amex.render();case ce.Discover:return this.discover.render();case ce.UnionPay:return this.unionPay.render()}})}addEventListener(t,e){return this.events[t].addListener(e)}disable(t){t?(this.input.setAttribute("disabled","true"),this.input.classList.add(oe.disabledInput),this.inputContainer.classList.add(oe.disabled)):(this.input.removeAttribute("disabled"),this.input.classList.remove(oe.disabledInput),this.inputContainer.classList.remove(oe.disabled))}touchSubmit(){this.isTouchSubmit=!0,this.render()}value(){var t;return{value:this.input.value,cardType:((t=Ci(this.input.value)[0])==null?void 0:t.type)||""}}validate(t){const e=this.translate.messages(),{isValid:n,error:a}=wi(t,this.supportedCardTypes);return n?(this.isRequired=!1,this.errorMessage="",this.render(),n):(a===pe.Empty?(this.errorMessage="",this.isRequired=!0):a===pe.Unsupported?(this.errorMessage=e.card.number.error.unsupported,this.isRequired=!1):(this.errorMessage=a===pe.Incomplete?e.card.number.error.incomplete:e.card.number.error.invalid,this.isRequired=!1),this.render(),n)}render(){const t=this.isTouchSubmit||this.isChanged,e=t&&!this.isDisabled&&this.isRequired,n=t&&!this.isDisabled&&!!this.errorMessage;return this.toggleLabelError(e),this.toggleErrorMessage(n),!e&&!n?(this.inputContainer.classList.remove(oe.errorInput),this.endContent.innerHTML="",this.endContent.append(...this.getCardIcons())):(this.endContent.innerHTML="",this.endContent.appendChild(this.unknownCard.render())),this.isDisabled?(this.inputContainer.classList.add(oe.disabled),this.input.classList.add(oe.disabledInput)):(this.inputContainer.classList.remove(oe.disabled),this.input.classList.remove(oe.disabledInput)),this.element}}const G={inputContainer:"_inputContainer_1xdj3_5",input:"_input_1xdj3_5",endContent:"_endContent_1xdj3_20",errorInput:"_errorInput_1xdj3_24",error:"_error_1xdj3_24",label:"_label_1xdj3_32",labelError:"_labelError_1xdj3_36",disabled:"_disabled_1xdj3_40",disabledInput:"_disabledInput_1xdj3_44",hidden:"_hidden_1xdj3_51",securityContent:"_securityContent_1xdj3_55"};class rc{constructor(){C(this,"template",`
|
|
324
324
|
<svg class='${X.svg}' focusable='false' viewBox='0 0 32 21' role='img' aria-label='CVC'>
|
|
325
325
|
<title>CVC</title>
|
|
326
326
|
<g fill='none' fill-rule='evenodd'>
|
|
@@ -339,7 +339,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
339
339
|
</g>
|
|
340
340
|
</svg>
|
|
341
341
|
<span class="${X.srOnly}">Card CVC</span>
|
|
342
|
-
`);A(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class yd{constructor(e,a){A(this,"cvcId","paynext-card-input-cvc");A(this,"expiryId","paynext-card-input-expiry");A(this,"element");A(this,"expiryWarning",new wa);A(this,"cvcWarning",new wa);A(this,"cardCvc",new md);A(this,"expiryInputContainer",document.createElement("div"));A(this,"expiryInput",document.createElement("input"));A(this,"expiryLabel",document.createElement("label"));A(this,"expiryLabelText",document.createElement("span"));A(this,"expiryLabelError",document.createElement("span"));A(this,"expiryEndContent",document.createElement("div"));A(this,"expiryError",document.createElement("p"));A(this,"cvcInputContainer",document.createElement("div"));A(this,"cvcInput",document.createElement("input"));A(this,"cvcLabel",document.createElement("label"));A(this,"cvcLabelText",document.createElement("span"));A(this,"cvcLabelError",document.createElement("span"));A(this,"cvcEndContent",document.createElement("div"));A(this,"cvcError",document.createElement("p"));A(this,"placeholderStyle",document.createElement("style"));A(this,"cardType",null);A(this,"isTouchSubmit",!1);A(this,"isDisabled",!1);A(this,"expiryPrevValue","");A(this,"expiryErrorMessage","");A(this,"isExpiryRequired",!1);A(this,"isExpiryChanged",!1);A(this,"cvcErrorMessage","");A(this,"isCvcRequired",!1);A(this,"isCvcChanged",!1);A(this,"events",{expiryChange:new he,cvcChange:new he});var s,o,l,d,c,u,h,p,m,y,f,g,E,N,w,I,x;this.translate=e;const r=e.messages();this.element=document.createElement("div"),this.element.classList.add($.securityContent),this.expiryInputContainer.classList.add($.inputContainer),(s=a==null?void 0:a.container)!=null&&s.className&&this.expiryInputContainer.classList.add(a.container.className),(o=a==null?void 0:a.container)!=null&&o.styles&&Object.assign(this.expiryInputContainer.style,a.container.styles),this.expiryInput.setAttribute("id",this.expiryId),this.expiryInput.setAttribute("autocomplete","cc-exp"),this.expiryInput.setAttribute("placeholder",r.card.expiry.placeholder),this.expiryInput.setAttribute("inputmode","numeric"),this.expiryInput.setAttribute("pattern","[0-9]*"),this.expiryInput.setAttribute("enterkeyhint","next"),this.expiryInput.classList.add($.input),(l=a==null?void 0:a.field)!=null&&l.className&&this.expiryInput.classList.add(a.field.className),(d=a==null?void 0:a.field)!=null&&d.styles&&Object.assign(this.expiryInput.style,a.field.styles),this.expiryEndContent.classList.add($.endContent),this.expiryEndContent.appendChild(this.expiryWarning.render()),this.expiryInputContainer.append(this.expiryInput,this.expiryEndContent),this.expiryLabel.setAttribute("for",this.expiryId),this.expiryLabel.classList.add($.label),(c=a==null?void 0:a.label)!=null&&c.className&&this.expiryLabel.classList.add(a.label.className),(u=a==null?void 0:a.label)!=null&&u.styles&&Object.assign(this.expiryLabel.style,a.label.styles),this.expiryLabelText.textContent=r.card.expiry.label,this.expiryLabelError.textContent=r.card.expiry.error.required,this.expiryLabelError.classList.add($.labelError,$.hidden),this.expiryLabel.append(this.expiryLabelText,this.expiryLabelError),this.expiryError.classList.add($.error,$.hidden),(h=a==null?void 0:a.error)!=null&&h.className&&this.expiryError.classList.add(a.error.className),(p=a==null?void 0:a.error)!=null&&p.styles&&Object.assign(this.expiryError.style,a.error.styles);const i=document.createElement("div");if(i.appendChild(this.expiryError),this.cvcInputContainer.classList.add($.inputContainer),(m=a==null?void 0:a.container)!=null&&m.className&&this.cvcInputContainer.classList.add(a.container.className),(y=a==null?void 0:a.container)!=null&&y.styles&&Object.assign(this.cvcInputContainer.style,a.container.styles),this.cvcInput.setAttribute("id",this.cvcId),this.cvcInput.setAttribute("autocomplete","cc-csc"),this.cvcInput.setAttribute("placeholder",r.card.cvc.placeholder),this.cvcInput.setAttribute("inputmode","numeric"),this.cvcInput.setAttribute("pattern","[0-9]*"),this.cvcInput.setAttribute("enterkeyhint","done"),this.cvcInput.classList.add($.input),(f=a==null?void 0:a.field)!=null&&f.className&&this.cvcInput.classList.add(a.field.className),(g=a==null?void 0:a.field)!=null&&g.styles&&Object.assign(this.cvcInput.style,a.field.styles),(E=a==null?void 0:a.placeholder)!=null&&E.styles&&Object.keys(a.placeholder.styles).length){const _=V=>V.replace(/[A-Z]/g,H=>"-"+H.toLowerCase()),L=Object.entries(a.placeholder.styles).map(([V,H])=>`${_(V)}:${H};`).join("");this.placeholderStyle.textContent=`#${this.expiryId}::placeholder{${L}}#${this.cvcId}::placeholder{${L}}`,this.element.appendChild(this.placeholderStyle)}this.cvcEndContent.classList.add($.endContent),this.cvcEndContent.appendChild(this.cardCvc.render()),this.cvcInputContainer.append(this.cvcInput,this.cvcEndContent),this.cvcLabel.setAttribute("for",this.cvcId),this.cvcLabel.classList.add($.label),(N=a==null?void 0:a.label)!=null&&N.className&&this.cvcLabel.classList.add(a.label.className),(w=a==null?void 0:a.label)!=null&&w.styles&&Object.assign(this.cvcLabel.style,a.label.styles),this.cvcLabelText.textContent=r.card.cvc.label,this.cvcLabelError.textContent=r.card.cvc.error.required,this.cvcLabelError.classList.add($.labelError,$.hidden),(I=a==null?void 0:a.error)!=null&&I.className&&this.cvcLabel.classList.add(a.error.className),(x=a==null?void 0:a.error)!=null&&x.styles&&Object.assign(this.cvcLabelError.style,a.error.styles),this.cvcLabel.append(this.cvcLabelText,this.cvcLabelError),this.cvcError.classList.add($.error,$.hidden);const n=document.createElement("div");n.appendChild(this.cvcError),this.element.append(this.expiryLabel,this.cvcLabel,this.expiryInputContainer,this.cvcInputContainer,i,n),this.expiryInput.addEventListener("input",_=>{_.preventDefault();const V=this.expiryInput.value.replace(/\D/g,"");this.handleExpiryChange(V)}),this.expiryInput.addEventListener("paste",_=>{var H;_.preventDefault();const V=(((H=_.clipboardData)==null?void 0:H.getData("text"))||"").replace(/\D/g,"");this.handleExpiryChange(V)}),this.expiryInput.addEventListener("keydown",_=>{this.isDisabled||["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(_.key)||_.ctrlKey||_.metaKey||/^\d$/.test(_.key)||_.preventDefault()}),this.expiryInput.addEventListener("blur",()=>this.validateExpiry(this.expiryInput.value)),this.cvcInput.addEventListener("input",_=>{_.preventDefault();const V=this.cvcInput.value.replace(/\D/g,"");this.handleCvcChange(V)}),this.cvcInput.addEventListener("paste",_=>{var H;_.preventDefault();const V=(((H=_.clipboardData)==null?void 0:H.getData("text"))||"").replace(/\D/g,"");this.handleCvcChange(V)}),this.cvcInput.addEventListener("keydown",_=>{this.isDisabled||["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(_.key)||_.ctrlKey||_.metaKey||/^\d$/.test(_.key)||_.preventDefault()}),this.cvcInput.addEventListener("blur",()=>this.validateCvc(this.cvcInput.value)),this.translate.subscribe(({messages:_})=>{this.cvcInput.setAttribute("placeholder",_.card.cvc.placeholder),this.expiryInput.setAttribute("placeholder",_.card.expiry.placeholder),this.expiryLabelText.textContent=_.card.expiry.label,this.cvcLabelText.textContent=_.card.cvc.label,this.expiryLabelError.textContent=_.card.expiry.error.required,this.cvcLabelError.textContent=_.card.cvc.error.required,this.render()})}cvcValidator(e){const a=Qe.getTypeInfo(this.cardType||""),r=!e,i=e.length<((a==null?void 0:a.code.size)||3);return!r&&!i?null:r?pe.Empty:pe.Incomplete}validateCvc(e){const a=this.translate.messages(),r=this.cvcValidator(e);if(r){if(r===pe.Empty)this.cvcErrorMessage="",this.isCvcRequired=!0;else{const i=r===pe.Incomplete?a.card.cvc.error.incomplete:a.card.cvc.error.invalid;this.cvcErrorMessage=i,this.isCvcRequired=!1}return this.render(),!r}return this.isCvcRequired=!1,this.cvcErrorMessage="",this.render(),!r}handleCvcChange(e){if(this.isDisabled)return;this.isCvcRequired=!1,this.cvcErrorMessage="",this.isCvcChanged||(this.isCvcChanged=!0);const a=Pl(e,this.cardType||""),r=Qe.getTypeInfo(this.cardType||"");a.length===(r==null?void 0:r.code.size)&&this.validateCvc(a),this.events.cvcChange.emit({value:a,isValid:this.cvcValidator(a)===null}),this.cvcInput.value=a,this.render()}toggleCvcLabelError(e){return Y(this,null,function*(){if(e){this.cvcInputContainer.classList.add($.errorInput),this.cvcLabelError.classList.remove($.hidden),yield ue(this.cvcLabelError,ye.open,ye.transition);return}yield ue(this.cvcLabelError,ye.close,ye.transition),this.cvcLabelError.classList.add($.hidden)})}toggleCvcErrorMessage(e){return Y(this,null,function*(){if(e){this.cvcInputContainer.classList.add($.errorInput),this.cvcError.textContent=this.cvcErrorMessage,this.cvcError.classList.remove($.hidden),yield ue(this.cvcError,Ae.open,Ae.transition);return}yield ue(this.cvcError,Ae.close,Ae.transition),this.cvcError.classList.add($.hidden)})}expiryValidator(e){const a=!e,r=e.length<7,i=new Date,[n,s]=e.split(" / ");i.setFullYear(2e3+parseInt(s),parseInt(n)-1,31);const o=i.getTime()<Date.now();return!a&&!r&&!o?null:a?pe.Empty:r?pe.Incomplete:i.getFullYear()===new Date().getFullYear()?"dateExpired":"expired"}validateExpiry(e){const a=this.translate.messages(),r=this.expiryValidator(e);if(r){if(r===pe.Empty)this.expiryErrorMessage="",this.isExpiryRequired=!0;else{let i=a.card.expiry.error.invalid;r==="expired"?i=a.card.expiry.error.expired.replace("{date}","year"):r==="dateExpired"?i=a.card.expiry.error.expired.replace("{date}","date"):r===pe.Incomplete&&(i=a.card.expiry.error.incomplete),this.isExpiryRequired=!1,this.expiryErrorMessage=i}return this.render(),!r}return this.isExpiryRequired=!1,this.expiryErrorMessage="",this.render(),!r}handleExpiryChange(e){if(this.isDisabled)return;this.isExpiryRequired=!1,this.expiryErrorMessage="",this.isExpiryChanged||(this.isExpiryChanged=!0);const a=bl(e,this.expiryPrevValue);a.length===7&&this.validateExpiry(a),this.events.expiryChange.emit({value:a,isValid:this.expiryValidator(a)===null}),this.expiryPrevValue=a,this.expiryInput.value=a,this.render()}toggleExpiryLabelError(e){return Y(this,null,function*(){if(e){this.expiryInputContainer.classList.add($.errorInput),this.expiryLabelError.classList.remove($.hidden),yield ue(this.expiryLabelError,ye.open,ye.transition);return}yield ue(this.expiryLabelError,ye.close,ye.transition),this.expiryLabelError.classList.add($.hidden)})}toggleExpiryErrorMessage(e){return Y(this,null,function*(){if(e){this.expiryInputContainer.classList.add($.errorInput),this.expiryError.textContent=this.expiryErrorMessage,this.expiryError.classList.remove($.hidden),yield ue(this.expiryError,Ae.open,Ae.transition);return}yield ue(this.expiryError,Ae.close,Ae.transition),this.expiryError.classList.add($.hidden)})}addEventListener(e,a){return this.events[e].addListener(a)}disable(e){e?(this.expiryInput.setAttribute("disabled","true"),this.expiryInput.classList.add($.disabledInput),this.expiryInputContainer.classList.add($.disabled),this.cvcInput.setAttribute("disabled","true"),this.cvcInput.classList.add($.disabledInput),this.cvcInputContainer.classList.add($.disabled)):(this.expiryInput.removeAttribute("disabled"),this.expiryInput.classList.remove($.disabledInput),this.expiryInputContainer.classList.remove($.disabled),this.cvcInput.removeAttribute("disabled"),this.cvcInput.classList.remove($.disabledInput),this.cvcInputContainer.classList.remove($.disabled))}touchSubmit(){this.isTouchSubmit=!0,this.render()}value(){return{expiry:this.expiryInput.value,cvc:this.cvcInput.value}}validate({expiry:e,cvc:a}){const r=this.validateExpiry(e),i=this.validateCvc(a);return r&&i}updateCardType(e){this.cardType=e,this.handleCvcChange(this.cvcInput.value)}render(){const e=this.isTouchSubmit||this.isExpiryChanged,a=e&&!this.isDisabled&&this.isExpiryRequired,r=e&&!this.isDisabled&&!!this.expiryErrorMessage;this.toggleExpiryLabelError(a),this.toggleExpiryErrorMessage(r),!a&&!r?(this.expiryInputContainer.classList.remove($.errorInput),this.expiryEndContent.classList.add($.hidden)):this.expiryEndContent.classList.remove($.hidden);const i=this.isTouchSubmit||this.isCvcChanged,n=i&&!this.isDisabled&&this.isCvcRequired,s=i&&!this.isDisabled&&!!this.cvcErrorMessage;return this.toggleCvcLabelError(n),this.toggleCvcErrorMessage(s),!n&&!s?(this.cvcInputContainer.classList.remove($.errorInput),this.cvcEndContent.innerHTML="",this.cvcEndContent.appendChild(this.cardCvc.render())):(this.cvcEndContent.innerHTML="",this.cvcEndContent.appendChild(this.cvcWarning.render())),this.isDisabled?(this.expiryInputContainer.classList.add($.disabled),this.expiryInput.classList.add($.disabledInput),this.cvcInputContainer.classList.add($.disabled),this.cvcInput.classList.add($.disabledInput)):(this.expiryInputContainer.classList.remove($.disabled),this.expiryInput.classList.remove($.disabledInput),this.cvcInputContainer.classList.remove($.disabled),this.cvcInput.classList.remove($.disabledInput)),this.element}}class fd{constructor({translate:e,className:a,stylesState:r,isDefaultVariant:i}){A(this,"element");A(this,"error");A(this,"submit");A(this,"back");A(this,"number");A(this,"name");A(this,"cardSecurity");A(this,"translate");A(this,"isBackVisible",!0);A(this,"events",{submit:new he,close:new he});const n=r.getState();this.translate=e,this.element=document.createElement("form"),this.error=new Te(e),this.submit=new rd(e,n.SubmitButton),this.back=new td,this.number=new hd(e,n.Input),this.name=new nd(e,n.Input),this.cardSecurity=new yd(e,n.Input),this.error.addClassName(Ne.hidden),this.element.classList.add(Ne.cardForm,a||"");const s=this.back.render();i&&(this.isBackVisible=!1,s.classList.add(Ne.hidden),this.element.classList.add(Ne.topOffset)),this.element.append(s,this.number.render(),this.cardSecurity.render(),this.name.render(),this.error.render(),this.submit.render()),this.back.addEventListener(()=>this.events.close.emit()),this.number.addEventListener("change",({cardType:o})=>this.cardSecurity.updateCardType(o||null)),this.submit.addEventListener(o=>{o.preventDefault();const{cvc:l,expiry:d}=this.cardSecurity.value(),{value:c,cardType:u}=this.number.value();this.events.submit.emit({number:c,expiry:d,cvc:l,name:this.name.value(),cardBrand:u})})}addEventListener(e,a){return this.events[e].addListener(a)}setLoading(e){this.cardSecurity.disable(e),this.name.disable(e),this.number.disable(e),this.submit.disable(e)}touchSubmit(){this.cardSecurity.touchSubmit(),this.name.touchSubmit(),this.number.touchSubmit()}validate(){const e=this.number.validate(this.number.value().value),a=this.name.validate(this.name.value()),r=this.cardSecurity.validate(this.cardSecurity.value());return e&&a&&r}showError(e){if(e){const a=Le(this.translate.messages());this.error.setMessage(a[e]||e)}this.error.show(),this.error.removeClassName(Ne.hidden)}hideError(){this.error.hide(),this.error.addClassName(Ne.hidden)}setDefaultVariant(e){const a=this.back.render();if(e&&this.isBackVisible){a.classList.add(Ne.hidden),this.element.classList.add(Ne.topOffset),this.isBackVisible=!1;return}!e&&!this.isBackVisible&&(a.classList.remove(Ne.hidden),this.element.classList.remove(Ne.topOffset),this.isBackVisible=!0)}render(){return this.element}}class vd{constructor(){A(this,"template",`
|
|
342
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.container),this.element.innerHTML=this.template}render(){return this.element}}class nc{constructor(t,e){C(this,"cvcId","paynext-card-input-cvc");C(this,"expiryId","paynext-card-input-expiry");C(this,"element");C(this,"expiryWarning",new kt);C(this,"cvcWarning",new kt);C(this,"cardCvc",new rc);C(this,"expiryInputContainer",document.createElement("div"));C(this,"expiryInput",document.createElement("input"));C(this,"expiryLabel",document.createElement("label"));C(this,"expiryLabelText",document.createElement("span"));C(this,"expiryLabelError",document.createElement("span"));C(this,"expiryEndContent",document.createElement("div"));C(this,"expiryError",document.createElement("p"));C(this,"cvcInputContainer",document.createElement("div"));C(this,"cvcInput",document.createElement("input"));C(this,"cvcLabel",document.createElement("label"));C(this,"cvcLabelText",document.createElement("span"));C(this,"cvcLabelError",document.createElement("span"));C(this,"cvcEndContent",document.createElement("div"));C(this,"cvcError",document.createElement("p"));C(this,"placeholderStyle",document.createElement("style"));C(this,"cardType",null);C(this,"isTouchSubmit",!1);C(this,"isDisabled",!1);C(this,"expiryPrevValue","");C(this,"expiryErrorMessage","");C(this,"isExpiryRequired",!1);C(this,"isExpiryChanged",!1);C(this,"cvcErrorMessage","");C(this,"isCvcRequired",!1);C(this,"isCvcChanged",!1);C(this,"events",{expiryChange:new he,cvcChange:new he});var o,s,l,c,d,u,h,p,f,m,v,y,A,x,k,I,L;this.translate=t;const n=t.messages();this.element=document.createElement("div"),this.element.classList.add(G.securityContent),this.expiryInputContainer.classList.add(G.inputContainer),(o=e==null?void 0:e.container)!=null&&o.className&&this.expiryInputContainer.classList.add(e.container.className),(s=e==null?void 0:e.container)!=null&&s.styles&&Object.assign(this.expiryInputContainer.style,e.container.styles),this.expiryInput.setAttribute("id",this.expiryId),this.expiryInput.setAttribute("autocomplete","cc-exp"),this.expiryInput.setAttribute("placeholder",n.card.expiry.placeholder),this.expiryInput.setAttribute("inputmode","numeric"),this.expiryInput.setAttribute("pattern","[0-9]*"),this.expiryInput.setAttribute("enterkeyhint","next"),this.expiryInput.classList.add(G.input),(l=e==null?void 0:e.field)!=null&&l.className&&this.expiryInput.classList.add(e.field.className),(c=e==null?void 0:e.field)!=null&&c.styles&&Object.assign(this.expiryInput.style,e.field.styles),this.expiryEndContent.classList.add(G.endContent),this.expiryEndContent.appendChild(this.expiryWarning.render()),this.expiryInputContainer.append(this.expiryInput,this.expiryEndContent),this.expiryLabel.setAttribute("for",this.expiryId),this.expiryLabel.classList.add(G.label),(d=e==null?void 0:e.label)!=null&&d.className&&this.expiryLabel.classList.add(e.label.className),(u=e==null?void 0:e.label)!=null&&u.styles&&Object.assign(this.expiryLabel.style,e.label.styles),this.expiryLabelText.contentEditable="false",this.expiryLabelText.textContent=n.card.expiry.label,this.expiryLabelError.textContent=n.card.required,this.expiryLabelError.classList.add(G.labelError,G.hidden),this.expiryLabel.append(this.expiryLabelText,this.expiryLabelError),this.expiryError.classList.add(G.error,G.hidden),(h=e==null?void 0:e.error)!=null&&h.className&&this.expiryError.classList.add(e.error.className),(p=e==null?void 0:e.error)!=null&&p.styles&&Object.assign(this.expiryError.style,e.error.styles);const a=document.createElement("div");if(a.appendChild(this.expiryError),this.cvcInputContainer.classList.add(G.inputContainer),(f=e==null?void 0:e.container)!=null&&f.className&&this.cvcInputContainer.classList.add(e.container.className),(m=e==null?void 0:e.container)!=null&&m.styles&&Object.assign(this.cvcInputContainer.style,e.container.styles),this.cvcInput.setAttribute("id",this.cvcId),this.cvcInput.setAttribute("autocomplete","cc-csc"),this.cvcInput.setAttribute("placeholder",n.card.cvc.placeholder),this.cvcInput.setAttribute("inputmode","numeric"),this.cvcInput.setAttribute("pattern","[0-9]*"),this.cvcInput.setAttribute("enterkeyhint","done"),this.cvcInput.classList.add(G.input),(v=e==null?void 0:e.field)!=null&&v.className&&this.cvcInput.classList.add(e.field.className),(y=e==null?void 0:e.field)!=null&&y.styles&&Object.assign(this.cvcInput.style,e.field.styles),(A=e==null?void 0:e.placeholder)!=null&&A.styles&&Object.keys(e.placeholder.styles).length){const N=U=>U.replace(/[A-Z]/g,q=>"-"+q.toLowerCase()),S=Object.entries(e.placeholder.styles).map(([U,q])=>`${N(U)}:${q};`).join("");this.placeholderStyle.textContent=`#${this.expiryId}::placeholder{${S}}#${this.cvcId}::placeholder{${S}}`,this.element.appendChild(this.placeholderStyle)}this.cvcEndContent.classList.add(G.endContent),this.cvcEndContent.appendChild(this.cardCvc.render()),this.cvcInputContainer.append(this.cvcInput,this.cvcEndContent),this.cvcLabel.setAttribute("for",this.cvcId),this.cvcLabel.classList.add(G.label),(x=e==null?void 0:e.label)!=null&&x.className&&this.cvcLabel.classList.add(e.label.className),(k=e==null?void 0:e.label)!=null&&k.styles&&Object.assign(this.cvcLabel.style,e.label.styles),this.cvcLabelText.textContent=n.card.cvc.label,this.cvcLabelError.textContent=n.card.required,this.cvcLabelError.classList.add(G.labelError,G.hidden),(I=e==null?void 0:e.error)!=null&&I.className&&this.cvcLabel.classList.add(e.error.className),(L=e==null?void 0:e.error)!=null&&L.styles&&Object.assign(this.cvcLabelError.style,e.error.styles),this.cvcLabel.append(this.cvcLabelText,this.cvcLabelError),this.cvcError.classList.add(G.error,G.hidden);const i=document.createElement("div");i.appendChild(this.cvcError),this.element.append(this.expiryLabel,this.cvcLabel,this.expiryInputContainer,this.cvcInputContainer,a,i),this.expiryInput.addEventListener("input",N=>{N.preventDefault();const U=this.expiryInput.value.replace(/\D/g,"");this.handleExpiryChange(U)}),this.expiryInput.addEventListener("paste",N=>{var q;N.preventDefault();const U=(((q=N.clipboardData)==null?void 0:q.getData("text"))||"").replace(/\D/g,"");this.handleExpiryChange(U)}),this.expiryInput.addEventListener("keydown",N=>{this.isDisabled||["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(N.key)||N.ctrlKey||N.metaKey||/^\d$/.test(N.key)||N.preventDefault()}),this.expiryInput.addEventListener("blur",()=>this.validateExpiry(this.expiryInput.value)),this.cvcInput.addEventListener("input",N=>{N.preventDefault();const U=this.cvcInput.value.replace(/\D/g,"");this.handleCvcChange(U)}),this.cvcInput.addEventListener("paste",N=>{var q;N.preventDefault();const U=(((q=N.clipboardData)==null?void 0:q.getData("text"))||"").replace(/\D/g,"");this.handleCvcChange(U)}),this.cvcInput.addEventListener("keydown",N=>{this.isDisabled||["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(N.key)||N.ctrlKey||N.metaKey||/^\d$/.test(N.key)||N.preventDefault()}),this.cvcInput.addEventListener("blur",()=>this.validateCvc(this.cvcInput.value)),this.translate.subscribe(({messages:N})=>{this.cvcInput.setAttribute("placeholder",N.card.cvc.placeholder),this.expiryInput.setAttribute("placeholder",N.card.expiry.placeholder),this.expiryLabelText.textContent=N.card.expiry.label,this.cvcLabelText.textContent=N.card.cvc.label,this.expiryLabelError.textContent=N.card.required,this.cvcLabelError.textContent=N.card.required,this.render()})}cvcValidator(t){const e=Qe.getTypeInfo(this.cardType||""),n=!t,a=t.length<((e==null?void 0:e.code.size)||3);return!n&&!a?null:n?pe.Empty:pe.Incomplete}validateCvc(t){const e=this.translate.messages(),n=this.cvcValidator(t);if(n){if(n===pe.Empty)this.cvcErrorMessage="",this.isCvcRequired=!0;else{const a=n===pe.Incomplete?e.card.cvc.error.incomplete:e.card.cvc.error.invalid;this.cvcErrorMessage=a,this.isCvcRequired=!1}return this.render(),!n}return this.isCvcRequired=!1,this.cvcErrorMessage="",this.render(),!n}handleCvcChange(t){if(this.isDisabled)return;this.isCvcRequired=!1,this.cvcErrorMessage="",this.isCvcChanged||(this.isCvcChanged=!0);const e=ol(t,this.cardType||""),n=Qe.getTypeInfo(this.cardType||"");e.length===(n==null?void 0:n.code.size)&&this.validateCvc(e),this.events.cvcChange.emit({value:e,isValid:this.cvcValidator(e)===null}),this.cvcInput.value=e,this.render()}toggleCvcLabelError(t){return W(this,null,function*(){if(t){this.cvcInputContainer.classList.add(G.errorInput),this.cvcLabelError.classList.remove(G.hidden),yield ue(this.cvcLabelError,me.open,me.transition);return}yield ue(this.cvcLabelError,me.close,me.transition),this.cvcLabelError.classList.add(G.hidden)})}toggleCvcErrorMessage(t){return W(this,null,function*(){if(t){this.cvcInputContainer.classList.add(G.errorInput),this.cvcError.textContent=this.cvcErrorMessage,this.cvcError.classList.remove(G.hidden),yield ue(this.cvcError,Ce.open,Ce.transition);return}yield ue(this.cvcError,Ce.close,Ce.transition),this.cvcError.classList.add(G.hidden)})}expiryValidator(t){const e=!t,n=t.length<7,a=new Date,[i,o]=t.split(" / ");a.setFullYear(2e3+parseInt(o),parseInt(i)-1,31);const s=a.getTime()<Date.now();return!e&&!n&&!s?null:e?pe.Empty:n?pe.Incomplete:a.getFullYear()===new Date().getFullYear()?"dateExpired":"expired"}validateExpiry(t){const e=this.translate.messages(),n=this.expiryValidator(t);if(n){if(n===pe.Empty)this.expiryErrorMessage="",this.isExpiryRequired=!0;else{let a=e.card.expiry.error.invalid;n==="expired"?a=e.card.expiry.error.expired.replace("{date}","year"):n==="dateExpired"?a=e.card.expiry.error.expired.replace("{date}","date"):n===pe.Incomplete&&(a=e.card.expiry.error.incomplete),this.isExpiryRequired=!1,this.expiryErrorMessage=a}return this.render(),!n}return this.isExpiryRequired=!1,this.expiryErrorMessage="",this.render(),!n}handleExpiryChange(t){if(this.isDisabled)return;this.isExpiryRequired=!1,this.expiryErrorMessage="",this.isExpiryChanged||(this.isExpiryChanged=!0);const e=ll(t,this.expiryPrevValue);e.length===7&&this.validateExpiry(e),this.events.expiryChange.emit({value:e,isValid:this.expiryValidator(e)===null}),this.expiryPrevValue=e,this.expiryInput.value=e,this.render()}toggleExpiryLabelError(t){return W(this,null,function*(){if(t){this.expiryInputContainer.classList.add(G.errorInput),this.expiryLabelError.classList.remove(G.hidden),yield ue(this.expiryLabelError,me.open,me.transition);return}yield ue(this.expiryLabelError,me.close,me.transition),this.expiryLabelError.classList.add(G.hidden)})}toggleExpiryErrorMessage(t){return W(this,null,function*(){if(t){this.expiryInputContainer.classList.add(G.errorInput),this.expiryError.textContent=this.expiryErrorMessage,this.expiryError.classList.remove(G.hidden),yield ue(this.expiryError,Ce.open,Ce.transition);return}yield ue(this.expiryError,Ce.close,Ce.transition),this.expiryError.classList.add(G.hidden)})}addEventListener(t,e){return this.events[t].addListener(e)}disable(t){t?(this.expiryInput.setAttribute("disabled","true"),this.expiryInput.classList.add(G.disabledInput),this.expiryInputContainer.classList.add(G.disabled),this.cvcInput.setAttribute("disabled","true"),this.cvcInput.classList.add(G.disabledInput),this.cvcInputContainer.classList.add(G.disabled)):(this.expiryInput.removeAttribute("disabled"),this.expiryInput.classList.remove(G.disabledInput),this.expiryInputContainer.classList.remove(G.disabled),this.cvcInput.removeAttribute("disabled"),this.cvcInput.classList.remove(G.disabledInput),this.cvcInputContainer.classList.remove(G.disabled))}touchSubmit(){this.isTouchSubmit=!0,this.render()}value(){return{expiry:this.expiryInput.value,cvc:this.cvcInput.value}}validate({expiry:t,cvc:e}){const n=this.validateExpiry(t),a=this.validateCvc(e);return n&&a}updateCardType(t){this.cardType=t,this.handleCvcChange(this.cvcInput.value)}render(){const t=this.isTouchSubmit||this.isExpiryChanged,e=t&&!this.isDisabled&&this.isExpiryRequired,n=t&&!this.isDisabled&&!!this.expiryErrorMessage;this.toggleExpiryLabelError(e),this.toggleExpiryErrorMessage(n),!e&&!n?(this.expiryInputContainer.classList.remove(G.errorInput),this.expiryEndContent.classList.add(G.hidden)):this.expiryEndContent.classList.remove(G.hidden);const a=this.isTouchSubmit||this.isCvcChanged,i=a&&!this.isDisabled&&this.isCvcRequired,o=a&&!this.isDisabled&&!!this.cvcErrorMessage;return this.toggleCvcLabelError(i),this.toggleCvcErrorMessage(o),!i&&!o?(this.cvcInputContainer.classList.remove(G.errorInput),this.cvcEndContent.innerHTML="",this.cvcEndContent.appendChild(this.cardCvc.render())):(this.cvcEndContent.innerHTML="",this.cvcEndContent.appendChild(this.cvcWarning.render())),this.isDisabled?(this.expiryInputContainer.classList.add(G.disabled),this.expiryInput.classList.add(G.disabledInput),this.cvcInputContainer.classList.add(G.disabled),this.cvcInput.classList.add(G.disabledInput)):(this.expiryInputContainer.classList.remove(G.disabled),this.expiryInput.classList.remove(G.disabledInput),this.cvcInputContainer.classList.remove(G.disabled),this.cvcInput.classList.remove(G.disabledInput)),this.element}}class ic{constructor({translate:t,className:e,stylesState:n,isDefaultVariant:a}){C(this,"element");C(this,"error");C(this,"submit");C(this,"back");C(this,"number");C(this,"name");C(this,"cardSecurity");C(this,"translate");C(this,"isBackVisible",!0);C(this,"events",{submit:new he,close:new he});const i=n.getState();this.translate=t,this.element=document.createElement("form"),this.error=new Te(t),this.submit=new ql(t,i.SubmitButton),this.back=new Hl,this.number=new tc(t,i.Input),this.name=new Wl(t,i.Input),this.cardSecurity=new nc(t,i.Input),this.error.addClassName(xe.hidden),this.element.classList.add(xe.cardForm,e||"");const o=this.back.render();a&&(this.isBackVisible=!1,o.classList.add(xe.hidden),this.element.classList.add(xe.topOffset)),this.element.append(o,this.number.render(),this.cardSecurity.render(),this.name.render(),this.error.render(),this.submit.render()),this.back.addEventListener(()=>this.events.close.emit()),this.number.addEventListener("change",({cardType:s})=>this.cardSecurity.updateCardType(s||null)),this.submit.addEventListener(s=>{s.preventDefault();const{cvc:l,expiry:c}=this.cardSecurity.value(),{value:d,cardType:u}=this.number.value();this.touchSubmit(),this.validate()&&this.events.submit.emit({number:d,expiry:c,cvc:l,name:this.name.value(),cardBrand:u})})}addEventListener(t,e){return this.events[t].addListener(e)}setLoading(t){this.cardSecurity.disable(t),this.name.disable(t),this.number.disable(t),this.submit.disable(t)}touchSubmit(){this.cardSecurity.touchSubmit(),this.name.touchSubmit(),this.number.touchSubmit()}validate(){const t=this.number.validate(this.number.value().value),e=this.name.validate(this.name.value()),n=this.cardSecurity.validate(this.cardSecurity.value());return t&&e&&n}showError(t){if(t){const e=Se(this.translate.messages());this.error.setMessage(e[t]||t)}this.error.show(),this.error.removeClassName(xe.hidden)}hideError(){this.error.hide(),this.error.addClassName(xe.hidden)}setDefaultVariant(t){const e=this.back.render();if(t&&this.isBackVisible){e.classList.add(xe.hidden),this.element.classList.add(xe.topOffset),this.isBackVisible=!1;return}!t&&!this.isBackVisible&&(e.classList.remove(xe.hidden),this.element.classList.remove(xe.topOffset),this.isBackVisible=!0)}render(){return this.element}}class ac{constructor(){C(this,"template",`
|
|
343
343
|
<svg
|
|
344
344
|
fill='none'
|
|
345
345
|
height='24'
|
|
@@ -356,7 +356,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
356
356
|
'></path>
|
|
357
357
|
</svg>
|
|
358
358
|
<span class="${X.srOnly}">Success</span>
|
|
359
|
-
`);A(this,"element",document.createElement("div"));this.element.classList.add(X.successContainer),this.element.innerHTML=this.template}render(){return this.element}}const On={container:"_container_hoha1_1",title:"_title_hoha1_5"};class gd{constructor(e){A(this,"element");A(this,"message",document.createElement("p"));A(this,"icon",new vd);this.translate=e,this.element=document.createElement("div"),this.element.classList.add(On.container),this.message.classList.add(On.title),this.message.textContent=e.messages().status.success,this.element.append(this.icon.render(),this.message),this.translate.subscribe(({messages:a})=>{this.message.textContent=a.status.success})}addClassName(e){this.element.classList.add(e)}removeClassName(e){this.element.classList.remove(e)}render(){return this.element}}class Pd{constructor(e){A(this,"isLoading",!1);A(this,"isFormOpen",!1);A(this,"checkout");A(this,"container",document.createElement("div"));A(this,"loader",new ul);A(this,"success");A(this,"buttons");A(this,"form");this.config=e,this.buttons=new Jl(e),this.form=new fd({translate:e.state.translate,className:ve.hidden,stylesState:e.state.styles,isDefaultVariant:e.state.checkout.getState().variant==="default"}),this.success=new gd(e.state.translate),this.success.addClassName(ve.hidden),this.container.append(this.loader.render(),this.buttons.render(),this.form.render()),this.checkout=document.createElement("div"),this.checkout.classList.add(ve.checkout),this.checkout.append(this.container,this.success.render())}init(){return Y(this,null,function*(){this.buttons.addEventListener("ready",()=>Y(this,null,function*(){this.loader.setClassName(ve.hidden);const{variant:e}=this.config.state.checkout.getState();this.form.setDefaultVariant(e==="default"),this.buttons.showButton(),e==="default"&&(this.form.element.classList.remove(ve.hidden),this.isFormOpen=!0)})),this.buttons.addEventListener("open",()=>Y(this,null,function*(){this.isLoading||(this.hideError(),yield ue(this.buttons.buttons,xa.close,xa.transition),this.buttons.buttons.classList.add(ve.hidden),this.form.element.classList.add(ve.formInitial),this.form.element.classList.remove(ve.hidden),yield ue(this.form.element,Ze.open,Ze.transition),this.isFormOpen=!0)})),this.buttons.addEventListener("error",()=>{const{onCheckoutFail:e}=this.config.state.checkout.getState(),a=this.config.state.translate.messages();e==null||e(new Error(a.status.error))}),this.buttons.addEventListener("success",e=>{const{clientToken:a}=this.config.state.checkout.getState();switch(e.type){case"apple":return this.handleSuccess({clientSession:a,applePay:e});case"google":return this.handleSuccess({clientSession:a,googlePay:e});case"paypal":return this.handleSuccess({clientSession:a,paypal:{billing_agreement_token:e}});case"venmo":return this.handleSuccess({clientSession:a,braintree:{nonce:e}})}}),this.form.addEventListener("close",()=>Y(this,null,function*(){if(this.isLoading)return;this.hideError(),yield ue(this.form.element,Ze.close,Ze.transition),this.form.element.classList.add(ve.hidden);const{variant:e}=this.config.state.checkout.getState();e!=="default"&&(this.buttons.buttons.classList.add(ve.btnsInitial),this.buttons.buttons.classList.remove(ve.hidden),yield ue(this.buttons.buttons,xa.open,xa.transition)),this.isFormOpen=!1})),this.form.addEventListener("submit",e=>Y(this,null,function*(){if(this.isLoading||(this.form.touchSubmit(),!this.form.validate()))return;const r=e.number.replace(/\D/g,""),i=this.config.state.checkout.getState(),n=this.config.service.ev.getEv(),[s,o]=yield Promise.all([n.encrypt(r),n.encrypt(e.cvc)]),[l,d]=e.expiry.split("/");yield this.handleSuccess({clientSession:i.clientToken,card:{firstSixDigits:r.slice(0,6),lastFourDigits:r.slice(-4),expMonth:Number(l),expYear:Number(d),cardBrand:e.cardBrand||"",number:s,cvc:o,type:te.CARD,metadata:{name:e.name,userAgent:navigator==null?void 0:navigator.userAgent}}})})),yield this.buttons.init()})}handleError(e){var n;const a=this.config.state.checkout.getState();console.error(e);const r=this.config.state.translate.messages(),i=Pa(e,r);this.buttons.showExternalError(i),this.showError(i),(n=a.onCheckoutFail)==null||n.call(a,new Error(i)),this.setLoading(!1)}handleSuccess(e){return Y(this,null,function*(){var i,n,s;if(this.isLoading)return;this.hideError(),this.setLoading(!0);const a=this.config.state.checkout.getState(),r=this.config.state.translate.messages();try{const o=yield Rl(e,a.environment,a.apiVersion);if(o.error)throw new Error(((i=o.error)==null?void 0:i.message)||r.status.error);if(o.three_ds_session_id){yield this.config.service.ev.initThreeDs({threeDsId:o.three_ds_session_id,onSuccess:()=>{this.setLoading(!1),this.handleSuccess(ee(K({},e),{threeDsSessionId:o.three_ds_session_id}))},onError:()=>{this.handleError("Three DS Error")}});return}if(o.payment_status===Et.FAILED||o.payment_status===Et.DECLINED){this.handleError((n=o.status_reason)==null?void 0:n.status_reason);return}yield this.showSuccess(),(s=a.onCheckoutComplete)==null||s.call(a,o),this.setLoading(!1)}catch(o){this.handleError(o)}})}showSuccess(){return Y(this,null,function*(){this.container.classList.add(ve.hidden),this.success.removeClassName(ve.hidden),yield ue(this.success.element,Ze.open,Ze.transition)})}hideError(){this.form.hideError()}showError(e){this.isFormOpen&&this.form.showError(e)}setLoading(e){this.isLoading=e,this.form.setLoading(e),this.loader.setClassName(!e||this.isFormOpen?ve.hidden:"")}render(){return this.checkout}}class bd{constructor(e){A(this,"component");this.config=e}init(){return Y(this,null,function*(){const{checkout:e,transaction:a,translate:r,styles:i}=this.config.state,{apiVersion:n}=e.getState();e.subscribe(({clientToken:s,environment:o,locale:l,translate:d,styles:c})=>{l&&r.locale()!==l&&r.setLocale(l),d&&r.overrides()!==d&&r.setMessages(d),c&&i.setState(c),a.updateTransaction(s,o,n).then(u=>{var h,p;if(u)return this.config.service.ev.initEv({teamId:(h=u.evervault)==null?void 0:h.team_id,appId:(p=u.evervault)==null?void 0:p.app_id})}).catch(console.error)})})}mount(){return Y(this,null,function*(){return this.component||(this.component=new Pd(this.config)),yield this.init(),yield this.component.init(),this.component.render()})}}class Da{constructor(e){A(this,"initialState");A(this,"state");A(this,"observer",new he);this.initialState=e,this.state=e}getState(){return this.state}setState(e){this.state=e,this.observer.emit(e)}clearState(){this.state=this.initialState,this.observer.clear()}subscribe(e){return this.observer.addListener(e)}}const kd={clientToken:"",environment:"sandbox",apiVersion:"1.0.0",variant:"default"};class Ad extends Da{constructor(e){super(K(K({},kd),e))}}const Cd={};class Ed extends Da{constructor(e){super(K(K({},Cd),e))}}class Td extends Da{constructor(a){super(a||null);A(this,"clientToken","")}updateTransaction(a,r,i){return Y(this,null,function*(){if(this.clientToken===a)return this.getState();this.clientToken=a;const n=yield Ol(a,r,i);return this.setState(n),n})}}const Id={card:{title:"طريقة الدفع",number:{label:"رقم البطاقة",error:{required:"يتطلب",invalid:"رقم البطاقة غير صالح",incomplete:"رقم البطاقة غير كامل",unsupported:"نوع البطاقة غير المدعوم"}},expiry:{label:"تاريخ الانتهاء",placeholder:"سنة / شهر",error:{required:"يتطلب",invalid:"تاريخ انتهاء صلاحية البطاقة غير صالح",incomplete:"تاريخ انتهاء الصلاحية الخاص ببطاقتك غير كامل",expired:"تاريخ انتهاء صلاحية بطاقتك في الماضي"}},cvc:{label:"رمز الأمان",placeholder:"CVC",error:{required:"يتطلب",incomplete:"رمز الأمان الخاص ببطاقتك غير كامل",invalid:"رمز التحقق من البطاقة (CVC) الخاص ببطاقتك غير صالح"}},name:{label:"اسم حامل البطاقة",placeholder:"الاسم الكامل على البطاقة",error:{required:"يتطلب",invalid:"يرجى إدخال اسمك الكامل"}},pay:{button:"الراتب"},compact:{button:"البطاقة"}},status:{success:"تمت عملية الدفع الخاصة بك بنجاح!",error:"لم نتمكن من التحقق من طريقة الدفع الخاصة بك. يرجى اختيار طريقة دفع أخرى وإعادة المحاولة."},errors:{doNotHonor:"رفض بدون سبب",insufficientFunds:"رصيد غير كافٍ",limitExceeded:"تجاوز الحد",cardholdersActivityLimitExceeded:"تم تجاوز حد نشاط حامل البطاقة",expiredCard:"انتهت صلاحية البطاقة",invalidCreditCardNumber:"رقم البطاقة غير صالح",invalidExpirationDate:"تاريخ انتهاء الصلاحية غير صالح",noAccount:"لا يوجد حساب",cardAccountLengthError:"طول رقم حساب البطاقة غير صالح",noSuchIssuer:"الجهة المُصدِرة غير موجودة",cardIssuerDeclinedCvv:"رفضت الجهة المُصدِرة رمز CVV",voiceAuthorizationRequired:"يلزم تفويض صوتي",processorDeclinedPossibleLostCard:"رفض المعالج – ربما البطاقة مفقودة",processorDeclinedPossibleStolenCard:"رفض المعالج – ربما البطاقة مسروقة",processorDeclinedFraudSuspected:"رفض المعالج – اشتباه احتيال",transactionNotAllowed:"المعاملة غير مسموح بها",duplicateTransaction:"معاملة مكررة",cardholderStoppedBilling:"أوقف حامل البطاقة الفوترة",cardholderStoppedAllBilling:"أوقف حامل البطاقة جميع عمليات الفوترة",invalidTransaction:"معاملة غير صالحة",violation:"مخالفة",securityViolation:"مخالفة أمنية",declinedUpdatedCardholderAvailable:"رُفضت – تتوفر بيانات حامل البطاقة المحدّثة",processorDoesNotSupportThisFeature:"المعالج لا يدعم هذه الميزة",cardTypeNotEnabled:"نوع البطاقة غير مُفعل",setUpErrorMerchant:"خطأ في الإعداد – التاجر",invalidMerchantId:"معرّف تاجر غير صالح",setUpErrorAmount:"خطأ في الإعداد – المبلغ",setUpErrorHierarchy:"خطأ في الإعداد – التسلسل الهرمي",setUpErrorCard:"خطأ في الإعداد – البطاقة",setUpErrorTerminal:"خطأ في الإعداد –端末",encryptionError:"خطأ في التشفير",surchargeNotPermitted:"غير مسموح بالرسوم الإضافية",inconsistentData:"بيانات غير متسقة",noActionTaken:"لم يتم اتخاذ إجراء",partialApprovalForAmountInGroupIiiVersion:"موافقة جزئية على المبلغ (إصدار Group III)",authorizationCouldNotBeFound:"التفويض غير موجود",alreadyReversed:"تم العكس بالفعل",processorDeclined:"رُفض بواسطة المعالج",invalidAuthorizationCode:"رمز تفويض غير صالح",invalidStore:"متجر غير صالح",declinedCallForApproval:"رُفضت – اتصل للموافقة",invalidClientId:"معرّف عميل غير صالح",errorDoNotRetryCallIssuer:"خطأ – لا تعاود المحاولة، اتصل بالجهة المُصدِرة",declinedCallIssuer:"رُفضت – اتصل بالجهة المُصدِرة",invalidMerchantNumber:"رقم تاجر غير صالح",declined:"مرفوض",callIssuerPickUpCard:"اتصل بالجهة المُصدِرة. استرجِع البطاقة",invalidAmount:"مبلغ غير صالح",invalidSkuNumber:"رقم SKU غير صالح",invalidCreditPlan:"خطة ائتمان غير صالحة",creditCardNumberDoesNotMatchMethodOfPayment:"رقم البطاقة لا يتطابق مع طريقة الدفع",invalidLevelIiiPurchase:"عملية شراء من المستوى الثالث غير صالحة",cardReportedAsLostOrStolen:"أُبلغ عن البطاقة كمفقودة أو مسروقة",reversalAmountDoesNotMatchAuthorizationAmount:"مبلغ العكس لا يطابق مبلغ التفويض",invalidTransactionDivisionNumber:"رقم قسم المعاملة غير صالح",transactionAmountExceedsTheTransactionDivisionLimit:"مبلغ المعاملة يتجاوز حد القسم",issuerOrCardholderHasPutARestrictionOnTheCard:"فرضت الجهة المُصدِرة أو حامل البطاقة قيودًا على البطاقة",merchantNotMastercardSecurecodeEnabled:"التاجر لم يفعّل Mastercard SecureCode",addressVerificationFailed:"فشل التحقق من العنوان",addressVerificationAndCardSecurityCodeFailed:"فشل التحقق من العنوان ورمز الأمان",invalidTransactionData:"بيانات معاملة غير صالحة",invalidTaxAmount:"مبلغ ضريبي غير صالح",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"تسببت تفضيلات حساب أعمال PayPal في فشل المعاملة",invalidCurrencyCode:"رمز عملة غير صالح",refundTimeLimitExceeded:"تجاوز حد زمن الاسترداد",paypalBusinessAccountRestricted:"حساب أعمال PayPal مقيّد",authorizationExpired:"انتهت صلاحية التفويض",paypalBusinessAccountLockedOrClosed:"حساب أعمال PayPal مقفَل أو مغلق",paypalBlockingDuplicateOrderIds:"PayPal يحظر معرّفات الطلب المكررة",paypalBuyerRevokedPreApprovedPaymentAuthorization:"ألغى مشتري PayPal تفويض الدفع المسبق",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"حساب مستلم PayPal غير صالح أو ليس لديه بريد إلكتروني مؤكّد",paypalPayeeEmailIncorrectlyFormatted:"بريد مستلم PayPal منسق بشكل غير صحيح",paypalValidationError:"خطأ تحقق PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"تم رفض أداة الدفع في حساب PayPal من قبل المعالج أو البنك، أو لا يمكن استخدامها لهذا الدفع",payerAccountIsLockedOrClosed:"حساب الدافع مقفَل أو مغلق",payerCannotPayForThisTransactionWithPaypal:"لا يمكن للدافع دفع هذه المعاملة عبر PayPal",transactionRefusedDueToPaypalRiskModel:"رُفضت المعاملة بسبب نموذج مخاطر PayPal",invalidSecurePaymentData:"بيانات دفع آمنة غير صالحة",paypalMerchantAccountConfigurationError:"خطأ تكوين حساب تاجر PayPal",invalidUserCredentials:"بيانات اعتماد المستخدم غير صالحة",paypalPendingPaymentsAreNotSupported:"مدفوعات PayPal المعلّقة غير مدعومة",paypalDomesticTransactionRequired:"مطلوب معاملة PayPal محلية",paypalPhoneNumberRequired:"مطلوب رقم هاتف PayPal",paypalTaxInfoRequired:"مطلوب معلومات ضريبية لـ PayPal",paypalPayeeBlockedTransaction:"قام مستلم PayPal بحظر المعاملة",paypalTransactionLimitExceeded:"تجاوز حد معاملات PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"المعاملات المرجعية لـ PayPal غير مفعّلة لحسابك",currencyNotEnabledForYourPaypalSellerAccount:"العملة غير مفعّلة لحساب بائع PayPal الخاص بك",paypalPayeeEmailPermissionDeniedForThisRequest:"تم رفض إذن بريد مستلم PayPal لهذا الطلب",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"لم يُضبط حساب PayPal أو Venmo على رد مبالغ تزيد على المبلغ المُسوّى",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"يجب أن تطابق عملة هذه المعاملة عملة حساب PayPal الخاص بك",noDataFoundTryAnotherVerificationMethod:"لا توجد بيانات — جرّب طريقة تحقق أخرى",paypalPaymentMethodIsInvalid:"طريقة دفع PayPal غير صالحة",paypalPaymentHasAlreadyBeenCompleted:"تم إكمال دفعة PayPal بالفعل",paypalRefundIsNotAllowedAfterPartialRefund:"غير مسموح باسترداد PayPal بعد استرداد جزئي",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"لا يمكن أن يكون حساب مشتري PayPal مماثلًا لحساب البائع",paypalAuthorizationAmountLimitExceeded:"تجاوز حد مبلغ تفويض PayPal",paypalAuthorizationCountLimitExceeded:"تجاوز حد عدد تفويضات PayPal",cardholderAuthenticationRequired:"مطلوب مصادقة حامل البطاقة",paypalChannelInitiatedBillingNotEnabledForYourAccount:"الفوترة التي يبدأها القناة في PayPal غير مفعّلة لحسابك",additionalAuthorizationRequired:"مطلوب تفويض إضافي",incorrectPin:"رقم PIN غير صحيح",pinTryExceeded:"تجاوز عدد محاولات PIN",offlineIssuerDeclined:"رفض المُصدِر أثناء عدم الاتصال",cannotAuthorizeAtThisTimeLifeCycle:"لا يمكن التفويض في الوقت الحالي (دورة الحياة)",cannotAuthorizeAtThisTimePolicy:"لا يمكن التفويض في الوقت الحالي (السياسة)",cardNotActivated:"البطاقة غير مفعّلة",closedCard:"البطاقة مغلقة",processorNetworkUnavailableTryAgain:"شبكة المُعالج غير متاحة – حاول مرة أخرى",errorText:"خطأ",venmoClosed:"تم إغلاق النافذة قبل اكتمال عملية الترميز.",paypalClosed:"النافذة مغلقة، لا يمكن تحديد النوع",paypalPopupClosed:"تم اكتشاف إغلاق النافذة المنبثقة",applePayClosed:"تم الإلغاء"}},Nd={card:{title:"Метод на плащане",number:{label:"Информация за картата",error:{required:"ЗАДЪЛЖИТЕЛНО",invalid:"Номерът на Вашата карта е неправилен",incomplete:"Номерът на Вашата карта е непълен",unsupported:"Неподдържан тип карта"}},expiry:{label:"Дата на валидност",placeholder:"ММ / ГГ",error:{required:"ЗАДЪЛЖИТЕЛНО",incomplete:"Датата на валидност на вашата карта е непълна",invalid:"Датата на валидност на вашата карта е невалидна",expired:"Датата на валидност на вашата карта е в миналото"}},cvc:{label:"Код за сигурност",placeholder:"CVC",error:{required:"ЗАДЪЛЖИТЕЛНО",incomplete:"Кодът за сигурност на вашата карта е непълен",invalid:"Кодът за сигурност на вашата карта е невалиден"}},name:{label:"Име на картодържателя",placeholder:"Пълно име върху картата",error:{required:"ЗАДЪЛЖИТЕЛНО",invalid:"Моля, въведете трите си имена"}},pay:{button:"Платете"},compact:{button:"Карта"}},status:{success:"Успех",error:"Не можем да удостоверим автентичността на вашия метод на плащане. Моля, изберете друг метод на плащане и опитайте отново."},errors:{doNotHonor:"Отказ без основание",insufficientFunds:"Недостатъчни средства",limitExceeded:"Надвишен лимит",cardholdersActivityLimitExceeded:"Надвишен лимит на активност на картодържателя",expiredCard:"Изтекла карта",invalidCreditCardNumber:"Невалиден номер на карта",invalidExpirationDate:"Невалидна дата на валидност",noAccount:"Няма акаунт",cardAccountLengthError:"Невалидна дължина на номера на сметка",noSuchIssuer:"Липсващ издател",cardIssuerDeclinedCvv:"Издателят отказа CVV",voiceAuthorizationRequired:"Изисква се гласово оторизиране",processorDeclinedPossibleLostCard:"Отказано от процесора – възможна изгубена карта",processorDeclinedPossibleStolenCard:"Отказано от процесора – възможна открадната карта",processorDeclinedFraudSuspected:"Отказано от процесора – съмнение за измама",transactionNotAllowed:"Транзакцията не е разрешена",duplicateTransaction:"Дублирана транзакция",cardholderStoppedBilling:"Картодържателят спря таксуването",cardholderStoppedAllBilling:"Картодържателят спря всички таксувания",invalidTransaction:"Невалидна транзакция",violation:"Нарушение",securityViolation:"Нарушение на сигурността",declinedUpdatedCardholderAvailable:"Отказано – налични актуализирани данни за картодържателя",processorDoesNotSupportThisFeature:"Процесорът не поддържа тази функционалност",cardTypeNotEnabled:"Типът карта не е активиран",setUpErrorMerchant:"Грешка при настройка – търговец",invalidMerchantId:"Невалиден идентификатор на търговец",setUpErrorAmount:"Грешка при настройка – сума",setUpErrorHierarchy:"Грешка при настройка – йерархия",setUpErrorCard:"Грешка при настройка – карта",setUpErrorTerminal:"Грешка при настройка – терминал",encryptionError:"Грешка при шифриране",surchargeNotPermitted:"Не е разрешена допълнителна такса",inconsistentData:"Несъответстващи данни",noActionTaken:"Не е предприето действие",partialApprovalForAmountInGroupIiiVersion:"Частично одобрение на сумата (версия Group III)",authorizationCouldNotBeFound:"Оторизацията не може да бъде намерена",alreadyReversed:"Вече е сторнирано",processorDeclined:"Отказано от процесора",invalidAuthorizationCode:"Невалиден код за оторизация",invalidStore:"Невалиден магазин",declinedCallForApproval:"Отказано – обадете се за одобрение",invalidClientId:"Невалиден идентификатор на клиент",errorDoNotRetryCallIssuer:"Грешка – не опитвайте отново, свържете се с издателя",declinedCallIssuer:"Отказано – свържете се с издателя",invalidMerchantNumber:"Невалиден номер на търговец",declined:"Отказано",callIssuerPickUpCard:"Обадете се на издателя. Изземете картата",invalidAmount:"Невалидна сума",invalidSkuNumber:"Невалиден SKU номер",invalidCreditPlan:"Невалиден кредитен план",creditCardNumberDoesNotMatchMethodOfPayment:"Номерът на картата не съответства на метода на плащане",invalidLevelIiiPurchase:"Невалидна покупка ниво III",cardReportedAsLostOrStolen:"Картата е докладвана като изгубена или открадната",reversalAmountDoesNotMatchAuthorizationAmount:"Сторнираната сума не съответства на оторизираната",invalidTransactionDivisionNumber:"Невалиден номер на раздел/отдел",transactionAmountExceedsTheTransactionDivisionLimit:"Сумата надвишава лимита на раздела",issuerOrCardholderHasPutARestrictionOnTheCard:"Издателят или картодържателят е наложил ограничения върху картата",merchantNotMastercardSecurecodeEnabled:"Търговецът няма активиран Mastercard SecureCode",addressVerificationFailed:"Проверката на адреса е неуспешна",addressVerificationAndCardSecurityCodeFailed:"Проверката на адреса и кода за сигурност е неуспешна",invalidTransactionData:"Невалидни данни за транзакцията",invalidTaxAmount:"Невалидна данъчна сума",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Настройките на бизнес акаунта в PayPal доведоха до неуспешна транзакция",invalidCurrencyCode:"Невалиден валутен код",refundTimeLimitExceeded:"Надвишен срок за възстановяване",paypalBusinessAccountRestricted:"Бизнес акаунтът в PayPal е ограничен",authorizationExpired:"Оторизацията е изтекла",paypalBusinessAccountLockedOrClosed:"Бизнес акаунтът в PayPal е заключен или затворен",paypalBlockingDuplicateOrderIds:"PayPal блокира дублирани ID на поръчки",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Купувачът в PayPal отмени предварително одобреното плащане",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Акаунтът на получателя в PayPal е невалиден или няма потвърден имейл",paypalPayeeEmailIncorrectlyFormatted:"Имейлът на получателя в PayPal е неправилно форматиран",paypalValidationError:"Грешка при валидация в PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Платежният инструмент в акаунта в PayPal е отхвърлен от процесор или банка, или не може да се използва за това плащане",payerAccountIsLockedOrClosed:"Акаунтът на платеца е заключен или затворен",payerCannotPayForThisTransactionWithPaypal:"Платецът не може да плати тази транзакция с PayPal",transactionRefusedDueToPaypalRiskModel:"Транзакцията е отхвърлена поради модела за риск на PayPal",invalidSecurePaymentData:"Невалидни данни за защитено плащане",paypalMerchantAccountConfigurationError:"Грешка в конфигурацията на акаунта на търговеца в PayPal",invalidUserCredentials:"Невалидни данни за вход на потребителя",paypalPendingPaymentsAreNotSupported:"Невъзможни изчакващи плащания в PayPal",paypalDomesticTransactionRequired:"Изисква се вътрешна транзакция в PayPal",paypalPhoneNumberRequired:"Изисква се телефонен номер за PayPal",paypalTaxInfoRequired:"Изисква се данъчна информация за PayPal",paypalPayeeBlockedTransaction:"Получателят в PayPal блокира транзакцията",paypalTransactionLimitExceeded:"Надвишен лимит за транзакции в PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Референтни транзакции в PayPal не са активирани за вашия акаунт",currencyNotEnabledForYourPaypalSellerAccount:"Валутата не е активирана за вашия акаунт на продавач в PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Правото за имейл на получателя в PayPal е отказано за тази заявка",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal или Venmo акаунтът не е настроен за възстановяване на суми над уредената",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Валутата на тази транзакция трябва да съответства на валутата на вашия акаунт в PayPal",noDataFoundTryAnotherVerificationMethod:"Няма намерени данни — опитайте друг метод за проверка",paypalPaymentMethodIsInvalid:"Методът за плащане в PayPal е невалиден",paypalPaymentHasAlreadyBeenCompleted:"Плащането през PayPal вече е завършено",paypalRefundIsNotAllowedAfterPartialRefund:"Възстановяване в PayPal не е разрешено след частично възстановяване",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Акаунтът на купувача в PayPal не може да е същият като този на продавача",paypalAuthorizationAmountLimitExceeded:"Надвишен лимит на сума за оторизация в PayPal",paypalAuthorizationCountLimitExceeded:"Надвишен лимит на брой оторизации в PayPal",cardholderAuthenticationRequired:"Изисква се удостоверяване на картодържателя",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Fakturiraneto, инициирано чрез канал на PayPal, не е активирано за вашия акаунт",additionalAuthorizationRequired:"Изисква се допълнителна оторизация",incorrectPin:"Неправилен PIN",pinTryExceeded:"Надвишен брой опити за PIN",offlineIssuerDeclined:"Издателят офлайн отказа",cannotAuthorizeAtThisTimeLifeCycle:"Не може да се оторизира сега (жизнен цикъл)",cannotAuthorizeAtThisTimePolicy:"Не може да се оторизира сега (политика)",cardNotActivated:"Картата не е активирана",closedCard:"Картата е закрита",processorNetworkUnavailableTryAgain:"Мрежата на процесора не е налична – опитайте отново",errorText:"Грешка",venmoClosed:"Прозорецът беше затворен преди да се извърши токенизация.",paypalClosed:"Прозорецът е затворен, типът не може да бъде определен",paypalPopupClosed:"Засечено затваряне на изскачащ прозорец",applePayClosed:"Отменено"}},_d={card:{title:"Způsob platby",number:{label:"Číslo karty",error:{required:"POVINNÝ ÚDAJ",invalid:"Číslo Vaší karty je neplatné",incomplete:"Číslo vaší karty je neúplné",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Datum konce platnosti",placeholder:"MM / RR",error:{required:"POVINNÝ ÚDAJ",incomplete:"Datum konce platnosti vaší karty je neúplné",invalid:"Datum konce platnosti karty je neplatné",expired:"Platnost vaší karty vypršela"}},cvc:{label:"Bezpečnostní kód",placeholder:"CVC",error:{required:"POVINNÝ ÚDAJ",incomplete:"Bezpečnostní kód vaší karty je neúplný",invalid:"CVC vaší karty je neplatné"}},name:{label:"Jméno držitele karty",placeholder:"Celé jméno",error:{required:"POVINNÝ ÚDAJ",invalid:"Uvďte prosím celé své jméno"}},pay:{button:"Platit"},compact:{button:"Karta"}},status:{success:"Úspěch",error:"Váš způsob platby se nám nedaří ověřit. Zvolte prosím jiný způsob platby a zkuste to znovu."},errors:{doNotHonor:"Odmítnuto bez udání důvodu",insufficientFunds:"Nedostatečné prostředky",limitExceeded:"Překročen limit",cardholdersActivityLimitExceeded:"Překročen limit aktivity držitele karty",expiredCard:"Karta s prošlou platností",invalidCreditCardNumber:"Neplatné číslo karty",invalidExpirationDate:"Neplatné datum platnosti",noAccount:"Žádný účet",cardAccountLengthError:"Neplatná délka čísla účtu karty",noSuchIssuer:"Vydavatel neexistuje",cardIssuerDeclinedCvv:"Vydavatel karty odmítl CVV",voiceAuthorizationRequired:"Vyžadováno hlasové ověření",processorDeclinedPossibleLostCard:"Odmítnuto procesorem – možná ztracená karta",processorDeclinedPossibleStolenCard:"Odmítnuto procesorem – možná kradená karta",processorDeclinedFraudSuspected:"Odmítnuto procesorem – podezření na podvod",transactionNotAllowed:"Transakce není povolena",duplicateTransaction:"Duplicitní transakce",cardholderStoppedBilling:"Držitel karty zastavil účtování",cardholderStoppedAllBilling:"Držitel karty zastavil veškeré účtování",invalidTransaction:"Neplatná transakce",violation:"Porušení",securityViolation:"Porušení zabezpečení",declinedUpdatedCardholderAvailable:"Odmítnuto – dostupné aktualizované údaje o držiteli",processorDoesNotSupportThisFeature:"Procesor tuto funkci nepodporuje",cardTypeNotEnabled:"Typ karty není povolen",setUpErrorMerchant:"Chyba nastavení – obchodník",invalidMerchantId:"Neplatné ID obchodníka",setUpErrorAmount:"Chyba nastavení – částka",setUpErrorHierarchy:"Chyba nastavení – hierarchie",setUpErrorCard:"Chyba nastavení – karta",setUpErrorTerminal:"Chyba nastavení – terminál",encryptionError:"Chyba šifrování",surchargeNotPermitted:"Příplatek není povolen",inconsistentData:"Nekonzistentní data",noActionTaken:"Nebyla provedena žádná akce",partialApprovalForAmountInGroupIiiVersion:"Částečné schválení částky (verze Group III)",authorizationCouldNotBeFound:"Oprávnění nebylo nalezeno",alreadyReversed:"Již zvráceno",processorDeclined:"Odmítnuto procesorem",invalidAuthorizationCode:"Neplatný autorizační kód",invalidStore:"Neplatný obchod",declinedCallForApproval:"Odmítnuto – zavolejte pro schválení",invalidClientId:"Neplatné ID klienta",errorDoNotRetryCallIssuer:"Chyba – neopakujte, kontaktujte vydavatele",declinedCallIssuer:"Odmítnuto – kontaktujte vydavatele",invalidMerchantNumber:"Neplatné číslo obchodníka",declined:"Odmítnuto",callIssuerPickUpCard:"Kontaktujte vydavatele. Zajistěte odebrání karty",invalidAmount:"Neplatná částka",invalidSkuNumber:"Neplatné číslo SKU",invalidCreditPlan:"Neplatný úvěrový plán",creditCardNumberDoesNotMatchMethodOfPayment:"Číslo karty neodpovídá způsobu platby",invalidLevelIiiPurchase:"Neplatný nákup úrovně III",cardReportedAsLostOrStolen:"Karta nahlášena jako ztracená nebo odcizená",reversalAmountDoesNotMatchAuthorizationAmount:"Částka zvrácení neodpovídá autorizační částce",invalidTransactionDivisionNumber:"Neplatné číslo divize transakce",transactionAmountExceedsTheTransactionDivisionLimit:"Částka transakce překračuje limit divize",issuerOrCardholderHasPutARestrictionOnTheCard:"Vydavatel nebo držitel uvalil na kartu omezení",merchantNotMastercardSecurecodeEnabled:"Obchodník nemá aktivní Mastercard SecureCode",addressVerificationFailed:"Ověření adresy selhalo",addressVerificationAndCardSecurityCodeFailed:"Selhalo ověření adresy a bezpečnostního kódu",invalidTransactionData:"Neplatná data transakce",invalidTaxAmount:"Neplatná výše daně",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Nastavení firemního účtu PayPal způsobilo selhání transakce",invalidCurrencyCode:"Neplatný kód měny",refundTimeLimitExceeded:"Překročen časový limit pro refundaci",paypalBusinessAccountRestricted:"Firemní účet PayPal omezen",authorizationExpired:"Platnost oprávnění vypršela",paypalBusinessAccountLockedOrClosed:"Firemní účet PayPal uzamčen nebo zrušen",paypalBlockingDuplicateOrderIds:"PayPal blokuje duplicitní ID objednávek",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Kupující na PayPal zrušil předem schválené oprávnění k platbě",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Účet příjemce PayPal je neplatný nebo nemá potvrzený e‑mail",paypalPayeeEmailIncorrectlyFormatted:"E‑mail příjemce PayPal je špatně naformátován",paypalValidationError:"Chyba ověření PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Platební nástroj v účtu PayPal byl odmítnut procesorem nebo bankou, případně nelze použít pro tuto platbu",payerAccountIsLockedOrClosed:"Účet plátce je uzamčen nebo zrušen",payerCannotPayForThisTransactionWithPaypal:"Plátce nemůže tuto transakci uhradit přes PayPal",transactionRefusedDueToPaypalRiskModel:"Transakce odmítnuta z důvodu rizikového modelu PayPal",invalidSecurePaymentData:"Neplatná data zabezpečené platby",paypalMerchantAccountConfigurationError:"Chyba konfigurace účtu obchodníka PayPal",invalidUserCredentials:"Neplatné přihlašovací údaje uživatele",paypalPendingPaymentsAreNotSupported:"Nevyřízené platby PayPal nejsou podporovány",paypalDomesticTransactionRequired:"Vyžadována domácí transakce PayPal",paypalPhoneNumberRequired:"Vyžadováno telefonní číslo PayPal",paypalTaxInfoRequired:"Vyžadovány daňové informace PayPal",paypalPayeeBlockedTransaction:"Příjemce PayPal zablokoval transakci",paypalTransactionLimitExceeded:"Překročen limit transakcí PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Referenční transakce PayPal nejsou pro váš účet povoleny",currencyNotEnabledForYourPaypalSellerAccount:"Měna není pro váš účet prodejce PayPal povolena",paypalPayeeEmailPermissionDeniedForThisRequest:"Přístup k e‑mailu příjemce PayPal pro tento požadavek byl zamítnut",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Účet PayPal nebo Venmo není nastaven na vracení částek převyšujících vypořádanou částku",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Měna této transakce se musí shodovat s měnou vašeho účtu PayPal",noDataFoundTryAnotherVerificationMethod:"Nebyla nalezena žádná data — zkuste jinou metodu ověření",paypalPaymentMethodIsInvalid:"Způsob platby PayPal je neplatný",paypalPaymentHasAlreadyBeenCompleted:"Platba PayPal již byla dokončena",paypalRefundIsNotAllowedAfterPartialRefund:"Vrácení peněz PayPal není po částečném vrácení povoleno",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Účet kupujícího PayPal nesmí být totožný s účtem prodejce",paypalAuthorizationAmountLimitExceeded:"Překročen limit částky oprávnění PayPal",paypalAuthorizationCountLimitExceeded:"Překročen limit počtu oprávnění PayPal",cardholderAuthenticationRequired:"Je vyžadováno ověření držitele karty",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Fakturace iniciovaná kanálem PayPal není pro váš účet povolena",additionalAuthorizationRequired:"Je vyžadováno další oprávnění",incorrectPin:"Nesprávný PIN",pinTryExceeded:"Překročen počet pokusů o PIN",offlineIssuerDeclined:"Vydavatel offline – odmítnuto",cannotAuthorizeAtThisTimeLifeCycle:"Nelze nyní autorizovat (životní cyklus)",cannotAuthorizeAtThisTimePolicy:"Nelze nyní autorizovat (zásady)",cardNotActivated:"Karta není aktivována",closedCard:"Karta uzavřena",processorNetworkUnavailableTryAgain:"Síť procesoru není k dispozici – zkuste to znovu",errorText:"Chyba",venmoClosed:"Okno bylo zavřeno dříve, než došlo k tokenizaci.",paypalClosed:"Okno je zavřené, nelze určit typ",paypalPopupClosed:"Zjištěno zavření vyskakovacího okna",applePayClosed:"Zrušeno"}},wd={card:{title:"Betalingsmetode",number:{label:"Kortnummer",error:{required:"PÅKRÆVET",invalid:"Kortnummeret er ugyldigt",incomplete:"Kortnummeret er ufuldstændigt",unsupported:"Ikke understøttet korttype"}},expiry:{label:"Udløbsdato",placeholder:"MM / ÅÅ",error:{required:"PÅKRÆVET",incomplete:"Kortets udløbsdato er ikke komplet",invalid:"Dit korts udløbsdato er ugyldig",expired:"Dit kort er udløbet"}},cvc:{label:"Sikkerhedskode",placeholder:"CVC",error:{required:"PÅKRÆVET",incomplete:"Dit korts sikkerhedskode er ikke komplet",invalid:"Dit korts CVC er ugyldigt"}},name:{label:"Kortholderens navn",placeholder:"Fulde navn",error:{required:"PÅKRÆVET",invalid:"Angiv dit fulde navn"}},pay:{button:"Betal"},compact:{button:"Kredit- eller betalingskort"}},status:{success:"Succes",error:"Vi kan ikke godkende din betalingsmetode. Vælg venligst en anden betalingsmetode og prøv igen."},errors:{doNotHonor:"Afvist uden begrundelse",insufficientFunds:"Utilstrækkelige midler",limitExceeded:"Grænse overskredet",cardholdersActivityLimitExceeded:"Kortholders aktivitetsgrænse overskredet",expiredCard:"Kortet er udløbet",invalidCreditCardNumber:"Ugyldigt kortnummer",invalidExpirationDate:"Ugyldig udløbsdato",noAccount:"Ingen konto",cardAccountLengthError:"Forkert længde på kortets kontonummer",noSuchIssuer:"Udsteder findes ikke",cardIssuerDeclinedCvv:"Kortudsteder afviste CVV",voiceAuthorizationRequired:"Stemmeautorisation påkrævet",processorDeclinedPossibleLostCard:"Afvist af processor – muligvis mistet kort",processorDeclinedPossibleStolenCard:"Afvist af processor – muligvis stjålet kort",processorDeclinedFraudSuspected:"Afvist af processor – mistanke om svindel",transactionNotAllowed:"Transaktionen er ikke tilladt",duplicateTransaction:"Duplikeret transaktion",cardholderStoppedBilling:"Kortholder stoppede opkrævning",cardholderStoppedAllBilling:"Kortholder stoppede al opkrævning",invalidTransaction:"Ugyldig transaktion",violation:"Overtrædelse",securityViolation:"Sikkerhedsbrud",declinedUpdatedCardholderAvailable:"Afvist – opdaterede kortholderoplysninger tilgængelige",processorDoesNotSupportThisFeature:"Processoren understøtter ikke denne funktion",cardTypeNotEnabled:"Korttype ikke aktiveret",setUpErrorMerchant:"Opsætningsfejl – forhandler",invalidMerchantId:"Ugyldigt forhandler‑ID",setUpErrorAmount:"Opsætningsfejl – beløb",setUpErrorHierarchy:"Opsætningsfejl – hierarki",setUpErrorCard:"Opsætningsfejl – kort",setUpErrorTerminal:"Opsætningsfejl – terminal",encryptionError:"Krypteringsfejl",surchargeNotPermitted:"Ekstra gebyr ikke tilladt",inconsistentData:"Uoverensstemmende data",noActionTaken:"Ingen handling foretaget",partialApprovalForAmountInGroupIiiVersion:"Delvis godkendelse af beløb (Group III‑version)",authorizationCouldNotBeFound:"Godkendelse blev ikke fundet",alreadyReversed:"Allerede tilbageført",processorDeclined:"Afvist af processor",invalidAuthorizationCode:"Ugyldig godkendelseskode",invalidStore:"Ugyldig butik",declinedCallForApproval:"Afvist – ring for godkendelse",invalidClientId:"Ugyldigt klient‑ID",errorDoNotRetryCallIssuer:"Fejl – forsøg ikke igen, kontakt udsteder",declinedCallIssuer:"Afvist – kontakt udsteder",invalidMerchantNumber:"Ugyldigt forhandlernummer",declined:"Afvist",callIssuerPickUpCard:"Kontakt udsteder. Inddrag kortet",invalidAmount:"Ugyldigt beløb",invalidSkuNumber:"Ugyldigt SKU‑nummer",invalidCreditPlan:"Ugyldigt kreditprogram",creditCardNumberDoesNotMatchMethodOfPayment:"Kortnummeret stemmer ikke med betalingsmetoden",invalidLevelIiiPurchase:"Ugyldigt Level III‑køb",cardReportedAsLostOrStolen:"Kortet er meldt mistet eller stjålet",reversalAmountDoesNotMatchAuthorizationAmount:"Tilbageførselsbeløb stemmer ikke med godkendt beløb",invalidTransactionDivisionNumber:"Ugyldigt transaktionsafdelingsnummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transaktionsbeløbet overskrider afdelingsgrænsen",issuerOrCardholderHasPutARestrictionOnTheCard:"Udsteder eller kortholder har pålagt en begrænsning på kortet",merchantNotMastercardSecurecodeEnabled:"Forhandler har ikke aktiveret Mastercard SecureCode",addressVerificationFailed:"Adresseverifikation mislykkedes",addressVerificationAndCardSecurityCodeFailed:"Adresseverifikation og sikkerhedskode mislykkedes",invalidTransactionData:"Ugyldige transaktionsdata",invalidTaxAmount:"Ugyldigt skattebeløb",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Indstillinger i PayPal‑erhvervskonto medførte, at transaktionen mislykkedes",invalidCurrencyCode:"Ugyldig valutakode",refundTimeLimitExceeded:"Tidsgrænse for refusion overskredet",paypalBusinessAccountRestricted:"PayPal‑erhvervskonto begrænset",authorizationExpired:"Godkendelse udløbet",paypalBusinessAccountLockedOrClosed:"PayPal‑erhvervskonto låst eller lukket",paypalBlockingDuplicateOrderIds:"PayPal blokerer fordoblede ordre‑ID’er",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑køber tilbagekaldte forudgodkendt betalingsfuldmagt",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑modtagers konto er ugyldig eller mangler bekræftet e‑mail",paypalPayeeEmailIncorrectlyFormatted:"PayPal‑modtagers e‑mail er forkert formateret",paypalValidationError:"PayPal‑valideringsfejl",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Betalingsmiddel i PayPal‑kontoen blev afvist af processor eller bank, eller kan ikke bruges til denne betaling",payerAccountIsLockedOrClosed:"Betalers konto er låst eller lukket",payerCannotPayForThisTransactionWithPaypal:"Betaler kan ikke betale denne transaktion med PayPal",transactionRefusedDueToPaypalRiskModel:"Transaktion afvist på grund af PayPals risikomodel",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",paypalMerchantAccountConfigurationError:"Konfigurationsfejl i PayPal‑forhandlerkonto",invalidUserCredentials:"Ugyldige brugeroplysninger",paypalPendingPaymentsAreNotSupported:"Ventende PayPal‑betalinger understøttes ikke",paypalDomesticTransactionRequired:"Indenlandsk PayPal‑transaktion kræves",paypalPhoneNumberRequired:"PayPal‑telefonnummer kræves",paypalTaxInfoRequired:"PayPal‑skatteoplysninger kræves",paypalPayeeBlockedTransaction:"PayPal‑modtager blokerede transaktionen",paypalTransactionLimitExceeded:"PayPal‑transaktionsgrænse overskredet",paypalReferenceTransactionsNotEnabledForYourAccount:"Referencetransaktioner er ikke aktiveret for din PayPal‑konto",currencyNotEnabledForYourPaypalSellerAccount:"Valuta er ikke aktiveret for din PayPal‑sælgerkonto",paypalPayeeEmailPermissionDeniedForThisRequest:"Adgang til PayPal‑modtagers e‑mail nægtet for denne anmodning",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ eller Venmo‑konto er ikke konfigureret til at refundere mere end det afregnede beløb",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valutaen for denne transaktion skal stemme overens med valutaen på din PayPal‑konto",noDataFoundTryAnotherVerificationMethod:"Ingen data fundet — prøv en anden verificeringsmetode",paypalPaymentMethodIsInvalid:"Ugyldig PayPal‑betalingsmetode",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑betalingen er allerede gennemført",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑refusion er ikke tilladt efter delvis refusion",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑køberkonto kan ikke være den samme som sælgerkontoen",paypalAuthorizationAmountLimitExceeded:"Grænse for PayPal‑godkendelsesbeløb overskredet",paypalAuthorizationCountLimitExceeded:"Grænse for antal PayPal‑godkendelser overskredet",cardholderAuthenticationRequired:"Kortholdergodkendelse kræves",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalinitieret PayPal‑fakturering er ikke aktiveret for din konto",additionalAuthorizationRequired:"Yderligere godkendelse kræves",incorrectPin:"Forkert PIN‑kode",pinTryExceeded:"Antallet af PIN‑forsøg er overskredet",offlineIssuerDeclined:"Udsteder offline – afvist",cannotAuthorizeAtThisTimeLifeCycle:"Kan ikke godkende på nuværende tidspunkt (livscyklus)",cannotAuthorizeAtThisTimePolicy:"Kan ikke godkende på nuværende tidspunkt (politik)",cardNotActivated:"Kortet er ikke aktiveret",closedCard:"Kort lukket",processorNetworkUnavailableTryAgain:"Processornetværk utilgængeligt – prøv igen",errorText:"Fejl",venmoClosed:"Vinduet blev lukket, før tokenisering kunne finde sted.",paypalClosed:"Vinduet er lukket, typen kan ikke bestemmes",paypalPopupClosed:"Registreret lukning af pop op‑vindue",applePayClosed:"Annulleret"}},Rd={card:{title:"Zahlungsmethode",number:{label:"Kartennummer",error:{required:"Pflichtfeld",invalid:"Ihre Kartennummer ist ungültig",incomplete:"Ihre Kartennummer ist unvollständig",unsupported:"Nicht unterstützter Kartentyp"}},expiry:{label:"Ablaufdatum",placeholder:"MM / JJ",error:{required:"Pflichtfeld",incomplete:"Das Ablaufdatum Ihrer Karte ist unvollständig",invalid:"Das Ablaufdatum Ihrer Karte ist ungültig",expired:"Ihre Karte ist ungültig"}},cvc:{label:"Sicherheitscode",placeholder:"CVC",error:{required:"Pflichtfeld",incomplete:"Der Sicherheitscode Ihrer Karte ist unvollständig",invalid:"Die Prüfziffer/CVC Ihrer Karte ist ungültig"}},name:{label:"Name des/der Karteninhaber",placeholder:"Vollständiger Name",error:{required:"Pflichtfeld",invalid:"Bitte geben Sie Ihren vollständigen Namen ein"}},pay:{button:"Bezahlen"},compact:{button:"Kredit- oder Debitkarte"}},status:{success:"Erfolg",error:"Wir können Ihre Zahlungsmethode nicht authentifizieren. Bitte wählen Sie eine andere Zahlungsmethode und versuchen Sie es erneut."},errors:{doNotHonor:"Keine Genehmigung",insufficientFunds:"Unzureichende Deckung",limitExceeded:"Limit überschritten",cardholdersActivityLimitExceeded:"Aktivitätslimit des Karteninhabers überschritten",expiredCard:"Karte abgelaufen",invalidCreditCardNumber:"Ungültige Kartennummer",invalidExpirationDate:"Ungültiges Ablaufdatum",noAccount:"Kein Konto",cardAccountLengthError:"Falsche Kontonummernlänge",noSuchIssuer:"Aussteller nicht gefunden",cardIssuerDeclinedCvv:"Kartenaussteller hat CVV abgelehnt",voiceAuthorizationRequired:"Sprachautorisierung erforderlich",processorDeclinedPossibleLostCard:"Vom Prozessor abgelehnt – Karte möglicherweise verloren",processorDeclinedPossibleStolenCard:"Vom Prozessor abgelehnt – Karte möglicherweise gestohlen",processorDeclinedFraudSuspected:"Vom Prozessor abgelehnt – Betrugsverdacht",transactionNotAllowed:"Transaktion nicht erlaubt",duplicateTransaction:"Doppelte Transaktion",cardholderStoppedBilling:"Karteninhaber hat Abrechnung gestoppt",cardholderStoppedAllBilling:"Karteninhaber hat alle Belastungen gestoppt",invalidTransaction:"Ungültige Transaktion",violation:"Verstoß",securityViolation:"Sicherheitsverstoß",declinedUpdatedCardholderAvailable:"Abgelehnt – aktualisierte Karteninhaberdaten verfügbar",processorDoesNotSupportThisFeature:"Prozessor unterstützt diese Funktion nicht",cardTypeNotEnabled:"Kartentyp nicht aktiviert",setUpErrorMerchant:"Einrichtungsfehler – Händler",invalidMerchantId:"Ungültige Händler-ID",setUpErrorAmount:"Einrichtungsfehler – Betrag",setUpErrorHierarchy:"Einrichtungsfehler – Hierarchie",setUpErrorCard:"Einrichtungsfehler – Karte",setUpErrorTerminal:"Einrichtungsfehler – Terminal",encryptionError:"Verschlüsselungsfehler",surchargeNotPermitted:"Aufschlag nicht zulässig",inconsistentData:"Inkonsistente Daten",noActionTaken:"Keine Aktion durchgeführt",partialApprovalForAmountInGroupIiiVersion:"Teilweise Genehmigung des Betrags (Group III Version)",authorizationCouldNotBeFound:"Autorisierung nicht gefunden",alreadyReversed:"Bereits rückgängig gemacht",processorDeclined:"Vom Prozessor abgelehnt",invalidAuthorizationCode:"Ungültiger Autorisierungscode",invalidStore:"Ungültiges Geschäft",declinedCallForApproval:"Abgelehnt – rufen Sie zur Genehmigung an",invalidClientId:"Ungültige Client-ID",errorDoNotRetryCallIssuer:"Fehler – nicht wiederholen, Aussteller kontaktieren",declinedCallIssuer:"Abgelehnt – Aussteller kontaktieren",invalidMerchantNumber:"Ungültige Händlernnummer",declined:"Abgelehnt",callIssuerPickUpCard:"Aussteller anrufen. Karte einziehen",invalidAmount:"Ungültiger Betrag",invalidSkuNumber:"Ungültige SKU-Nummer",invalidCreditPlan:"Ungültiger Kreditplan",creditCardNumberDoesNotMatchMethodOfPayment:"Kartennummer passt nicht zur Zahlungsmethode",invalidLevelIiiPurchase:"Ungültiger Level-III-Kauf",cardReportedAsLostOrStolen:"Karte als verloren oder gestohlen gemeldet",reversalAmountDoesNotMatchAuthorizationAmount:"Rückbuchungsbetrag stimmt nicht mit Autorisierungsbetrag überein",invalidTransactionDivisionNumber:"Ungültige Transaktionsbereichsnummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transaktionsbetrag überschreitet Bereichslimit",issuerOrCardholderHasPutARestrictionOnTheCard:"Aussteller oder Karteninhaber hat eine Beschränkung gesetzt",merchantNotMastercardSecurecodeEnabled:"Händler hat Mastercard SecureCode nicht aktiviert",addressVerificationFailed:"Adressprüfung fehlgeschlagen",addressVerificationAndCardSecurityCodeFailed:"Adressprüfung und Sicherheitscode fehlgeschlagen",invalidTransactionData:"Ungültige Transaktionsdaten",invalidTaxAmount:"Ungültiger Steuerbetrag",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Einstellungen des PayPal-Geschäftskontos führten zum Scheitern der Transaktion",invalidCurrencyCode:"Ungültiger Währungscode",refundTimeLimitExceeded:"Rückerstattungsfrist überschritten",paypalBusinessAccountRestricted:"PayPal-Geschäftskonto eingeschränkt",authorizationExpired:"Autorisierung abgelaufen",paypalBusinessAccountLockedOrClosed:"PayPal-Geschäftskonto gesperrt oder geschlossen",paypalBlockingDuplicateOrderIds:"PayPal blockiert doppelte Bestell-IDs",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal-Käufer widerrief die vorab genehmigte Zahlungsautorisation",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal-Empfängerkonto ungültig oder ohne bestätigte E-Mail",paypalPayeeEmailIncorrectlyFormatted:"E-Mail des PayPal-Empfängers falsch formatiert",paypalValidationError:"PayPal-Validierungsfehler",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Zahlungsquelle im PayPal-Konto vom Prozessor oder der Bank abgelehnt oder für diese Zahlung nicht nutzbar",payerAccountIsLockedOrClosed:"Konto des Zahlers gesperrt oder geschlossen",payerCannotPayForThisTransactionWithPaypal:"Zahler kann diese Transaktion nicht mit PayPal bezahlen",transactionRefusedDueToPaypalRiskModel:"Transaktion aufgrund des PayPal-Risikomodells abgelehnt",invalidSecurePaymentData:"Ungültige sichere Zahlungsdaten",paypalMerchantAccountConfigurationError:"Konfigurationsfehler des PayPal-Händlerkontos",invalidUserCredentials:"Ungültige Benutzeranmeldedaten",paypalPendingPaymentsAreNotSupported:"Ausstehende PayPal-Zahlungen werden nicht unterstützt",paypalDomesticTransactionRequired:"Inländische PayPal-Transaktion erforderlich",paypalPhoneNumberRequired:"PayPal-Telefonnummer erforderlich",paypalTaxInfoRequired:"PayPal-Steuerinformationen erforderlich",paypalPayeeBlockedTransaction:"PayPal-Empfänger hat die Transaktion blockiert",paypalTransactionLimitExceeded:"PayPal-Transaktionslimit überschritten",paypalReferenceTransactionsNotEnabledForYourAccount:"Referenztransaktionen sind für Ihr PayPal-Konto nicht aktiviert",currencyNotEnabledForYourPaypalSellerAccount:"Währung für Ihr PayPal-Verkäuferkonto nicht aktiviert",paypalPayeeEmailPermissionDeniedForThisRequest:"Zugriff auf E-Mail des PayPal-Empfängers für diese Anfrage verweigert",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal- oder Venmo-Konto nicht für Rückerstattungen über dem verbuchten Betrag konfiguriert",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Währung dieser Transaktion muss der Ihres PayPal-Kontos entsprechen",noDataFoundTryAnotherVerificationMethod:"Keine Daten gefunden – versuchen Sie eine andere Verifizierungsmethode",paypalPaymentMethodIsInvalid:"PayPal-Zahlungsmethode ist ungültig",paypalPaymentHasAlreadyBeenCompleted:"PayPal-Zahlung wurde bereits abgeschlossen",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal-Rückerstattung nach Teilrückerstattung nicht erlaubt",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal-Käuferkonto darf nicht mit dem Verkäuferkonto identisch sein",paypalAuthorizationAmountLimitExceeded:"Grenzwert für PayPal-Autorisierungsbetrag überschritten",paypalAuthorizationCountLimitExceeded:"Grenzwert für Anzahl der PayPal-Autorisierungen überschritten",cardholderAuthenticationRequired:"Authentifizierung des Karteninhabers erforderlich",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Vom Kanal initiierte PayPal-Abrechnung ist für Ihr Konto nicht aktiviert",additionalAuthorizationRequired:"Zusätzliche Autorisierung erforderlich",incorrectPin:"Falsche PIN",pinTryExceeded:"Anzahl der PIN‑Versuche überschritten",offlineIssuerDeclined:"Offline vom Aussteller abgelehnt",cannotAuthorizeAtThisTimeLifeCycle:"Autorisierung derzeit nicht möglich (Lebenszyklus)",cannotAuthorizeAtThisTimePolicy:"Autorisierung derzeit nicht möglich (Richtlinie)",cardNotActivated:"Karte nicht aktiviert",closedCard:"Karte geschlossen",processorNetworkUnavailableTryAgain:"Prozessornetzwerk nicht verfügbar – bitte erneut versuchen",errorText:"Fehler",venmoClosed:"Fenster wurde geschlossen, bevor die Tokenisierung erfolgen konnte.",paypalClosed:"Fenster ist geschlossen, Typ kann nicht bestimmt werden",paypalPopupClosed:"Schließen des Pop-ups erkannt",applePayClosed:"Abgebrochen"}},xd={card:{title:"Μέθοδος πληρωμής",number:{label:"Αριθμός κάρτας",error:{required:"Απαιτούμενο",invalid:"Ο αριθμός της κάρτας σας δεν είναι έγκυρος",incomplete:"Ο αριθμός της κάρτας σας είναι ελλιπής",unsupported:"Δεν υποστηρίζεται ο τύπος της κάρτας"}},expiry:{label:"Ημερομηνία λήξης",placeholder:"ΜΜ / ΕΕ",error:{required:"Απαιτούμενο",incomplete:"Η ημερομηνία λήξης της κάρτας σας είναι ελλιπής",invalid:"Η ημερομηνία λήξης της κάρτας σας δεν είναι έγκυρη",expired:"Η κάρτα σας έχει λήξει"}},cvc:{label:"Κωδικός ασφαλείας",placeholder:"CVC",error:{required:"Απαιτούμενο",incomplete:"Ο κωδικός ασφαλείας της κάρτας σας είναι ελλιπής",invalid:"Το CVC της κάρτας σας δεν είναι έγκυρο"}},name:{label:"Όνομα κατόχου κάρτας",placeholder:"Πλήρες όνομα στην κάρτα",error:{required:"Απαιτούμενο",invalid:"Συμπληρώστε το ονοματεπώνυμό σας"}},pay:{button:"Πληρωμή"},compact:{button:"Kάρτα"}},status:{success:"Επιτυχία",error:"Δεν μπορούμε να πιστοποιήσουμε τη μέθοδο πληρωμής σας. Παρακαλούμε επιλέξτε μια διαφορετική μέθοδο πληρωμής και προσπαθήστε ξανά."},errors:{doNotHonor:"Απόρριψη χωρίς αιτιολόγηση",insufficientFunds:"Ανεπαρκή κεφάλαια",limitExceeded:"Υπέρβαση ορίου",cardholdersActivityLimitExceeded:"Υπέρβαση ορίου δραστηριότητας κατόχου",expiredCard:"Η κάρτα έχει λήξει",invalidCreditCardNumber:"Μη έγκυρος αριθμός κάρτας",invalidExpirationDate:"Μη έγκυρη ημερομηνία λήξης",noAccount:"Δεν υπάρχει λογαριασμός",cardAccountLengthError:"Μη έγκυρο μήκος αριθμού λογαριασμού κάρτας",noSuchIssuer:"Ο εκδότης δεν υπάρχει",cardIssuerDeclinedCvv:"Ο εκδότης απέρριψε το CVV",voiceAuthorizationRequired:"Απαιτείται φωνητική εξουσιοδότηση",processorDeclinedPossibleLostCard:"Απόρριψη από επεξεργαστή – πιθανώς χαμένη κάρτα",processorDeclinedPossibleStolenCard:"Απόρριψη από επεξεργαστή – πιθανώς κλεμμένη κάρτα",processorDeclinedFraudSuspected:"Απόρριψη από επεξεργαστή – υποψία απάτης",transactionNotAllowed:"Η συναλλαγή δεν επιτρέπεται",duplicateTransaction:"Διπλή συναλλαγή",cardholderStoppedBilling:"Ο κάτοχος κάρτας διέκοψε τη χρέωση",cardholderStoppedAllBilling:"Ο κάτοχος κάρτας διέκοψε όλες τις χρεώσεις",invalidTransaction:"Μη έγκυρη συναλλαγή",violation:"Παράβαση",securityViolation:"Παράβαση ασφάλειας",declinedUpdatedCardholderAvailable:"Απόρριψη – διαθέσιμα ενημερωμένα στοιχεία κατόχου",processorDoesNotSupportThisFeature:"Ο επεξεργαστής δεν υποστηρίζει αυτή τη λειτουργία",cardTypeNotEnabled:"Ο τύπος κάρτας δεν είναι ενεργοποιημένος",setUpErrorMerchant:"Σφάλμα ρύθμισης – έμπορος",invalidMerchantId:"Μη έγκυρο αναγνωριστικό εμπόρου",setUpErrorAmount:"Σφάλμα ρύθμισης – ποσό",setUpErrorHierarchy:"Σφάλμα ρύθμισης – ιεραρχία",setUpErrorCard:"Σφάλμα ρύθμισης – κάρτα",setUpErrorTerminal:"Σφάλμα ρύθμισης – τερματικό",encryptionError:"Σφάλμα κρυπτογράφησης",surchargeNotPermitted:"Πρόσθετη χρέωση δεν επιτρέπεται",inconsistentData:"Ασυνεπή δεδομένα",noActionTaken:"Δεν ελήφθη καμία ενέργεια",partialApprovalForAmountInGroupIiiVersion:"Μερική έγκριση ποσού (έκδοση Group III)",authorizationCouldNotBeFound:"Η εξουσιοδότηση δεν βρέθηκε",alreadyReversed:"Ήδη αναιρέθηκε",processorDeclined:"Απόρριψη από επεξεργαστή",invalidAuthorizationCode:"Μη έγκυρος κωδικός εξουσιοδότησης",invalidStore:"Μη έγκυρο κατάστημα",declinedCallForApproval:"Απόρριψη – καλέστε για έγκριση",invalidClientId:"Μη έγκυρο αναγνωριστικό πελάτη",errorDoNotRetryCallIssuer:"Σφάλμα – μην επιχειρήσετε ξανά, καλέστε τον εκδότη",declinedCallIssuer:"Απόρριψη – καλέστε τον εκδότη",invalidMerchantNumber:"Μη έγκυρος αριθμός εμπόρου",declined:"Απορρίφθηκε",callIssuerPickUpCard:"Καλέστε τον εκδότη. Κατάσχετε την κάρτα",invalidAmount:"Μη έγκυρο ποσό",invalidSkuNumber:"Μη έγκυρος αριθμός SKU",invalidCreditPlan:"Μη έγκυρο πιστωτικό πλάνο",creditCardNumberDoesNotMatchMethodOfPayment:"Ο αριθμός κάρτας δεν ταιριάζει με τη μέθοδο πληρωμής",invalidLevelIiiPurchase:"Μη έγκυρη αγορά επιπέδου III",cardReportedAsLostOrStolen:"Η κάρτα δηλώθηκε χαμένη ή κλεμμένη",reversalAmountDoesNotMatchAuthorizationAmount:"Το ποσό αντιστροφής δεν ταιριάζει με το ποσό εξουσιοδότησης",invalidTransactionDivisionNumber:"Μη έγκυρος αριθμός τμήματος συναλλαγής",transactionAmountExceedsTheTransactionDivisionLimit:"Το ποσό συναλλαγής υπερβαίνει το όριο τμήματος",issuerOrCardholderHasPutARestrictionOnTheCard:"Ο εκδότης ή ο κάτοχος επέβαλε περιορισμό στην κάρτα",merchantNotMastercardSecurecodeEnabled:"Ο έμπορος δεν έχει ενεργοποιήσει το Mastercard SecureCode",addressVerificationFailed:"Αποτυχία επαλήθευσης διεύθυνσης",addressVerificationAndCardSecurityCodeFailed:"Αποτυχία επαλήθευσης διεύθυνσης και κωδικού ασφαλείας",invalidTransactionData:"Μη έγκυρα δεδομένα συναλλαγής",invalidTaxAmount:"Μη έγκυρο ποσό φόρου",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Οι ρυθμίσεις του επαγγελματικού λογαριασμού PayPal οδήγησαν σε αποτυχία της συναλλαγής",invalidCurrencyCode:"Μη έγκυρος κωδικός νομίσματος",refundTimeLimitExceeded:"Υπέρβαση προθεσμίας επιστροφής",paypalBusinessAccountRestricted:"Ο επαγγελματικός λογαριασμός PayPal είναι περιορισμένος",authorizationExpired:"Η εξουσιοδότηση έληξε",paypalBusinessAccountLockedOrClosed:"Ο επαγγελματικός λογαριασμός PayPal είναι κλειδωμένος ή κλειστός",paypalBlockingDuplicateOrderIds:"Το PayPal μπλοκάρει διπλά αναγνωριστικά παραγγελιών",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Ο αγοραστής στο PayPal ανακάλεσε προεγκεκριμένη εξουσιοδότηση πληρωμής",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Ο λογαριασμός δικαιούχου στο PayPal δεν είναι έγκυρος ή δεν έχει επιβεβαιωμένο email",paypalPayeeEmailIncorrectlyFormatted:"Το email του δικαιούχου στο PayPal είναι εσφαλμένα μορφοποιημένο",paypalValidationError:"Σφάλμα επικύρωσης PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Το μέσο χρηματοδότησης στον λογαριασμό PayPal απορρίφθηκε από τον επεξεργαστή ή την τράπεζα ή δεν μπορεί να χρησιμοποιηθεί για αυτή την πληρωμή",payerAccountIsLockedOrClosed:"Ο λογαριασμός πληρωτή είναι κλειδωμένος ή κλειστός",payerCannotPayForThisTransactionWithPaypal:"Ο πληρωτής δεν μπορεί να πληρώσει για αυτή τη συναλλαγή με PayPal",transactionRefusedDueToPaypalRiskModel:"Η συναλλαγή απορρίφθηκε λόγω μοντέλου κινδύνου PayPal",invalidSecurePaymentData:"Μη έγκυρα δεδομένα ασφαλούς πληρωμής",paypalMerchantAccountConfigurationError:"Σφάλμα ρύθμισης λογαριασμού εμπόρου PayPal",invalidUserCredentials:"Μη έγκυρα διαπιστευτήρια χρήστη",paypalPendingPaymentsAreNotSupported:"Οι εκκρεμείς πληρωμές PayPal δεν υποστηρίζονται",paypalDomesticTransactionRequired:"Απαιτείται εγχώρια συναλλαγή PayPal",paypalPhoneNumberRequired:"Απαιτείται αριθμός τηλεφώνου PayPal",paypalTaxInfoRequired:"Απαιτούνται φορολογικές πληροφορίες PayPal",paypalPayeeBlockedTransaction:"Ο δικαιούχος στο PayPal μπλόκαρε τη συναλλαγή",paypalTransactionLimitExceeded:"Υπέρβαση ορίου συναλλαγών PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Οι συναλλαγές αναφοράς δεν είναι ενεργοποιημένες για τον λογαριασμό σας στο PayPal",currencyNotEnabledForYourPaypalSellerAccount:"Το νόμισμα δεν είναι ενεργοποιημένο για τον λογαριασμό πωλητή σας στο PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Άρνηση πρόσβασης στο email του δικαιούχου στο PayPal για αυτό το αίτημα",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Ο λογαριασμός PayPal ή Venmo δεν έχει ρυθμιστεί για επιστροφή ποσού μεγαλύτερου από το εκκαθαρισμένο",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Το νόμισμα αυτής της συναλλαγής πρέπει να ταιριάζει με το νόμισμα του λογαριασμού σας στο PayPal",noDataFoundTryAnotherVerificationMethod:"Δεν βρέθηκαν δεδομένα — δοκιμάστε άλλο τρόπο επαλήθευσης",paypalPaymentMethodIsInvalid:"Μη έγκυρη μέθοδος πληρωμής PayPal",paypalPaymentHasAlreadyBeenCompleted:"Η πληρωμή μέσω PayPal έχει ήδη ολοκληρωθεί",paypalRefundIsNotAllowedAfterPartialRefund:"Δεν επιτρέπεται επιστροφή PayPal μετά από μερική επιστροφή",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Ο λογαριασμός αγοραστή στο PayPal δεν μπορεί να είναι ο ίδιος με του πωλητή",paypalAuthorizationAmountLimitExceeded:"Υπέρβαση ορίου ποσού εξουσιοδότησης PayPal",paypalAuthorizationCountLimitExceeded:"Υπέρβαση ορίου αριθμού εξουσιοδοτήσεων PayPal",cardholderAuthenticationRequired:"Απαιτείται ταυτοποίηση κατόχου κάρτας",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Η τιμολόγηση που ξεκινά από το κανάλι PayPal δεν είναι ενεργοποιημένη για τον λογαριασμό σας",additionalAuthorizationRequired:"Απαιτείται πρόσθετη εξουσιοδότηση",incorrectPin:"Λανθασμένο PIN",pinTryExceeded:"Υπέρβαση προσπαθειών PIN",offlineIssuerDeclined:"Ο εκδότης εκτός σύνδεσης – απορρίφθηκε",cannotAuthorizeAtThisTimeLifeCycle:"Δεν είναι δυνατή η έγκριση αυτή τη στιγμή (κύκλος ζωής)",cannotAuthorizeAtThisTimePolicy:"Δεν είναι δυνατή η έγκριση αυτή τη στιγμή (πολιτική)",cardNotActivated:"Η κάρτα δεν είναι ενεργοποιημένη",closedCard:"Η κάρτα είναι κλειστή",processorNetworkUnavailableTryAgain:"Το δίκτυο επεξεργασίας δεν είναι διαθέσιμο – δοκιμάστε ξανά",errorText:"Σφάλμα",venmoClosed:"Το παράθυρο έκλεισε πριν ολοκληρωθεί η δημιουργία token.",paypalClosed:"Το παράθυρο είναι κλειστό, δεν είναι δυνατός ο προσδιορισμός του τύπου",paypalPopupClosed:"Εντοπίστηκε κλείσιμο αναδυόμενου παραθύρου",applePayClosed:"Ακυρώθηκε"}},Dn={card:{title:"Payment method",number:{label:"Card number",error:{required:"REQUIRED",invalid:"Your card number is invalid",incomplete:"Your card number is incomplete",unsupported:"Unsupported card type"}},expiry:{label:"Expiry date",placeholder:"MM / YY",error:{required:"REQUIRED",invalid:"Your card’s expiry date is invalid",incomplete:"Your card’s expiry date is incomplete",expired:"Your card’s expiry {date} is in the past"}},cvc:{label:"Security code",placeholder:"CVC",error:{required:"REQUIRED",incomplete:"Your card’s security code is incomplete",invalid:"Your card’s CVC is invalid"}},name:{label:"Cardholder name",placeholder:"Full name on card",error:{required:"REQUIRED",invalid:"Please provide your full name"}},pay:{button:"Pay"},compact:{button:"Card"}},status:{success:"Your payment was successful!",error:"We are unable to authenticate your payment method. Please choose a different payment method and try again."},errors:{doNotHonor:"Do Not Honor",insufficientFunds:"Insufficient Funds",limitExceeded:"Limit Exceeded",cardholdersActivityLimitExceeded:"Cardholder's Activity Limit Exceeded",expiredCard:"Expired Card",invalidCreditCardNumber:"Invalid Credit Card Number",invalidExpirationDate:"Invalid Expiration Date",noAccount:"No Account",cardAccountLengthError:"Card Account Length Error",noSuchIssuer:"No Such Issuer",cardIssuerDeclinedCvv:"Card Issuer Declined CVV",voiceAuthorizationRequired:"Voice Authorization Required",processorDeclinedPossibleLostCard:"Processor Declined – Possible Lost Card",processorDeclinedPossibleStolenCard:"Processor Declined – Possible Stolen Card",processorDeclinedFraudSuspected:"Processor Declined – Fraud Suspected",transactionNotAllowed:"Transaction Not Allowed",duplicateTransaction:"Duplicate Transaction",cardholderStoppedBilling:"Cardholder Stopped Billing",cardholderStoppedAllBilling:"Cardholder Stopped All Billing",invalidTransaction:"Invalid Transaction",violation:"Violation",securityViolation:"Security Violation",declinedUpdatedCardholderAvailable:"Declined – Updated Cardholder Available",processorDoesNotSupportThisFeature:"Processor Does Not Support This Feature",cardTypeNotEnabled:"Card Type Not Enabled",setUpErrorMerchant:"Set Up Error – Merchant",invalidMerchantId:"Invalid Merchant ID",setUpErrorAmount:"Set Up Error – Amount",setUpErrorHierarchy:"Set Up Error – Hierarchy",setUpErrorCard:"Set Up Error – Card",setUpErrorTerminal:"Set Up Error – Terminal",encryptionError:"Encryption Error",surchargeNotPermitted:"Surcharge Not Permitted",inconsistentData:"Inconsistent Data",noActionTaken:"No Action Taken",partialApprovalForAmountInGroupIiiVersion:"Partial Approval For Amount In Group III Version",authorizationCouldNotBeFound:"Authorization could not be found",alreadyReversed:"Already Reversed",processorDeclined:"Processor Declined",invalidAuthorizationCode:"Invalid Authorization Code",invalidStore:"Invalid Store",declinedCallForApproval:"Declined – Call For Approval",invalidClientId:"Invalid Client ID",errorDoNotRetryCallIssuer:"Error – Do Not Retry, Call Issuer",declinedCallIssuer:"Declined – Call Issuer",invalidMerchantNumber:"Invalid Merchant Number",declined:"Declined",callIssuerPickUpCard:"Call Issuer. Pick Up Card",invalidAmount:"Invalid Amount",invalidSkuNumber:"Invalid SKU Number",invalidCreditPlan:"Invalid Credit Plan",creditCardNumberDoesNotMatchMethodOfPayment:"Credit Card Number does not match method of payment",invalidLevelIiiPurchase:"Invalid level III Purchase",cardReportedAsLostOrStolen:"Card reported as lost or stolen",reversalAmountDoesNotMatchAuthorizationAmount:"Reversal amount does not match authorization amount",invalidTransactionDivisionNumber:"Invalid Transaction Division Number",transactionAmountExceedsTheTransactionDivisionLimit:"Transaction amount exceeds the transaction division limit",issuerOrCardholderHasPutARestrictionOnTheCard:"Issuer or Cardholder has put a restriction on the card",merchantNotMastercardSecurecodeEnabled:"Merchant not Mastercard SecureCode enabled",addressVerificationFailed:"Address Verification Failed",addressVerificationAndCardSecurityCodeFailed:"Address Verification and Card Security Code Failed",invalidTransactionData:"Invalid Transaction Data",invalidTaxAmount:"Invalid Tax Amount",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal Business Account preference resulted in the transaction failing",invalidCurrencyCode:"Invalid Currency Code",refundTimeLimitExceeded:"Refund Time Limit Exceeded",paypalBusinessAccountRestricted:"PayPal Business Account Restricted",authorizationExpired:"Authorization Expired",paypalBusinessAccountLockedOrClosed:"PayPal Business Account Locked or Closed",paypalBlockingDuplicateOrderIds:"PayPal Blocking Duplicate Order IDs",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal Buyer Revoked Pre-Approved Payment Authorization",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal Payee Account Invalid Or Does Not Have a Confirmed Email",paypalPayeeEmailIncorrectlyFormatted:"PayPal Payee Email Incorrectly Formatted",paypalValidationError:"PayPal Validation Error",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Funding Instrument In The PayPal Account Was Declined By The Processor Or Bank, Or It Can't Be Used For This Payment",payerAccountIsLockedOrClosed:"Payer Account Is Locked Or Closed",payerCannotPayForThisTransactionWithPaypal:"Payer Cannot Pay For This Transaction With PayPal",transactionRefusedDueToPaypalRiskModel:"Transaction Refused Due To PayPal Risk Model",invalidSecurePaymentData:"Invalid Secure Payment Data",paypalMerchantAccountConfigurationError:"PayPal Merchant Account Configuration Error",invalidUserCredentials:"Invalid user credentials",paypalPendingPaymentsAreNotSupported:"PayPal pending payments are not supported",paypalDomesticTransactionRequired:"PayPal Domestic Transaction Required",paypalPhoneNumberRequired:"PayPal Phone Number Required",paypalTaxInfoRequired:"PayPal Tax Info Required",paypalPayeeBlockedTransaction:"PayPal Payee Blocked Transaction",paypalTransactionLimitExceeded:"PayPal Transaction Limit Exceeded",paypalReferenceTransactionsNotEnabledForYourAccount:"PayPal reference transactions not enabled for your account",currencyNotEnabledForYourPaypalSellerAccount:"Currency not enabled for your PayPal seller account",paypalPayeeEmailPermissionDeniedForThisRequest:"PayPal payee email permission denied for this request",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal or Venmo account not configured to refund more than settled amount",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Currency of this transaction must match currency of your PayPal account",noDataFoundTryAnotherVerificationMethod:"No Data Found - Try Another Verification Method",paypalPaymentMethodIsInvalid:"PayPal payment method is invalid",paypalPaymentHasAlreadyBeenCompleted:"PayPal payment has already been completed",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal refund is not allowed after partial refund",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal buyer account can't be the same as the seller account",paypalAuthorizationAmountLimitExceeded:"PayPal authorization amount limit exceeded",paypalAuthorizationCountLimitExceeded:"PayPal authorization count limit exceeded",cardholderAuthenticationRequired:"Cardholder Authentication Required",paypalChannelInitiatedBillingNotEnabledForYourAccount:"PayPal channel initiated billing not enabled for your account",additionalAuthorizationRequired:"Additional authorization required",incorrectPin:"Incorrect PIN",pinTryExceeded:"PIN try exceeded",offlineIssuerDeclined:"Offline Issuer Declined",cannotAuthorizeAtThisTimeLifeCycle:"Cannot Authorize at this time (Life cycle)",cannotAuthorizeAtThisTimePolicy:"Cannot Authorize at this time (Policy)",cardNotActivated:"Card Not Activated",closedCard:"Closed Card",processorNetworkUnavailableTryAgain:"Processor Network Unavailable – Try Again",errorText:"Error",venmoClosed:"Frame closed before tokenization could occur.",paypalClosed:"Window is closed, cannot determine type",paypalPopupClosed:"Detected popup close",applePayClosed:"Cancelled"}},_t={ar:Id,en:Dn,bg:Nd,cs:_d,da:wd,de:Rd,el:xd,es:{card:{title:"Método de pago",number:{label:"Número de tarjeta",error:{required:"OBLIGATORIO",invalid:"El número de tu tarjeta no es válido",incomplete:"El número de tu tarjeta está incompleto",unsupported:"Tipo de tarjeta no soportado"}},expiry:{label:"Fecha de caducidad",placeholder:"MM / AA",error:{required:"OBLIGATORIO",incomplete:"La fecha de caducidad de la tarjeta está incompleta",invalid:"La fecha de caducidad de la tarjeta no es válida",expired:"La tarjeta ha caducado"}},cvc:{label:"Código de seguridad",placeholder:"CVC",error:{required:"OBLIGATORIO",incomplete:"El código de seguridad de la tarjeta está incompleto",invalid:"El CVC de tu tarjeta no es válido"}},name:{label:"Nombre del titular de la tarjeta",placeholder:"Nombre completo",error:{required:"OBLIGATORIO",invalid:"Proporciona tu nombre completo"}},pay:{button:"Pagar"},compact:{button:"Tarjeta"}},status:{success:"Éxito",error:"No podemos autenticar su método de pago. Elija otro método de pago e inténtelo de nuevo."},errors:{doNotHonor:"Rechazo sin explicación",insufficientFunds:"Fondos insuficientes",limitExceeded:"Límite excedido",cardholdersActivityLimitExceeded:"Límite de actividad del titular excedido",expiredCard:"Tarjeta expirada",invalidCreditCardNumber:"Número de tarjeta inválido",invalidExpirationDate:"Fecha de vencimiento inválida",noAccount:"Sin cuenta",cardAccountLengthError:"Longitud del número de cuenta incorrecta",noSuchIssuer:"Emisor no encontrado",cardIssuerDeclinedCvv:"El emisor rechazó el CVV",voiceAuthorizationRequired:"Se requiere autorización por voz",processorDeclinedPossibleLostCard:"Rechazado por el procesador – posible tarjeta perdida",processorDeclinedPossibleStolenCard:"Rechazado por el procesador – posible tarjeta robada",processorDeclinedFraudSuspected:"Rechazado por el procesador – sospecha de fraude",transactionNotAllowed:"Transacción no permitida",duplicateTransaction:"Transacción duplicada",cardholderStoppedBilling:"El titular detuvo la facturación",cardholderStoppedAllBilling:"El titular detuvo todos los cargos",invalidTransaction:"Transacción inválida",violation:"Infracción",securityViolation:"Infracción de seguridad",declinedUpdatedCardholderAvailable:"Rechazado – datos actualizados del titular disponibles",processorDoesNotSupportThisFeature:"El procesador no admite esta función",cardTypeNotEnabled:"Tipo de tarjeta no habilitado",setUpErrorMerchant:"Error de configuración – comerciante",invalidMerchantId:"ID de comerciante inválido",setUpErrorAmount:"Error de configuración – monto",setUpErrorHierarchy:"Error de configuración – jerarquía",setUpErrorCard:"Error de configuración – tarjeta",setUpErrorTerminal:"Error de configuración – terminal",encryptionError:"Error de cifrado",surchargeNotPermitted:"Recargo no permitido",inconsistentData:"Datos inconsistentes",noActionTaken:"No se realizaron acciones",partialApprovalForAmountInGroupIiiVersion:"Aprobación parcial del monto (versión Group III)",authorizationCouldNotBeFound:"No se encontró la autorización",alreadyReversed:"Ya revertido",processorDeclined:"Rechazado por el procesador",invalidAuthorizationCode:"Código de autorización inválido",invalidStore:"Tienda inválida",declinedCallForApproval:"Rechazado – llamar para aprobación",invalidClientId:"ID de cliente inválido",errorDoNotRetryCallIssuer:"Error – no reintentar, contacte al emisor",declinedCallIssuer:"Rechazado – contacte al emisor",invalidMerchantNumber:"Número de comerciante inválido",declined:"Rechazado",callIssuerPickUpCard:"Llame al emisor. Retenga la tarjeta",invalidAmount:"Monto inválido",invalidSkuNumber:"Número de SKU inválido",invalidCreditPlan:"Plan de crédito inválido",creditCardNumberDoesNotMatchMethodOfPayment:"El número de tarjeta no coincide con el método de pago",invalidLevelIiiPurchase:"Compra de nivel III inválida",cardReportedAsLostOrStolen:"Tarjeta reportada como perdida o robada",reversalAmountDoesNotMatchAuthorizationAmount:"El monto de reversa no coincide con el monto autorizado",invalidTransactionDivisionNumber:"Número de división de transacción inválido",transactionAmountExceedsTheTransactionDivisionLimit:"El monto excede el límite de la división de transacciones",issuerOrCardholderHasPutARestrictionOnTheCard:"El emisor o el titular han puesto una restricción en la tarjeta",merchantNotMastercardSecurecodeEnabled:"El comerciante no tiene activado Mastercard SecureCode",addressVerificationFailed:"Verificación de dirección fallida",addressVerificationAndCardSecurityCodeFailed:"Fallo en verificación de dirección y código de seguridad",invalidTransactionData:"Datos de transacción inválidos",invalidTaxAmount:"Monto de impuesto inválido",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Las preferencias de la cuenta empresarial de PayPal provocaron el fallo de la transacción",invalidCurrencyCode:"Código de moneda inválido",refundTimeLimitExceeded:"Se excedió el plazo de reembolso",paypalBusinessAccountRestricted:"Cuenta empresarial de PayPal restringida",authorizationExpired:"Autorización expirada",paypalBusinessAccountLockedOrClosed:"Cuenta empresarial de PayPal bloqueada o cerrada",paypalBlockingDuplicateOrderIds:"PayPal bloquea IDs de pedido duplicados",paypalBuyerRevokedPreApprovedPaymentAuthorization:"El comprador de PayPal revocó la autorización de pago preaprobada",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"La cuenta del beneficiario de PayPal es inválida o no tiene un correo confirmado",paypalPayeeEmailIncorrectlyFormatted:"Correo del beneficiario de PayPal mal formateado",paypalValidationError:"Error de validación de PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"El instrumento de pago en la cuenta de PayPal fue rechazado por el procesador o el banco, o no puede usarse para este pago",payerAccountIsLockedOrClosed:"La cuenta del pagador está bloqueada o cerrada",payerCannotPayForThisTransactionWithPaypal:"El pagador no puede pagar esta transacción con PayPal",transactionRefusedDueToPaypalRiskModel:"Transacción rechazada por el modelo de riesgo de PayPal",invalidSecurePaymentData:"Datos de pago seguro inválidos",paypalMerchantAccountConfigurationError:"Error de configuración de la cuenta de comerciante de PayPal",invalidUserCredentials:"Credenciales de usuario inválidas",paypalPendingPaymentsAreNotSupported:"Los pagos pendientes de PayPal no son compatibles",paypalDomesticTransactionRequired:"Se requiere transacción nacional de PayPal",paypalPhoneNumberRequired:"Se requiere número de teléfono de PayPal",paypalTaxInfoRequired:"Se requiere información fiscal de PayPal",paypalPayeeBlockedTransaction:"El beneficiario de PayPal bloqueó la transacción",paypalTransactionLimitExceeded:"Límite de transacciones de PayPal excedido",paypalReferenceTransactionsNotEnabledForYourAccount:"Transacciones de referencia de PayPal no habilitadas para su cuenta",currencyNotEnabledForYourPaypalSellerAccount:"Moneda no habilitada para su cuenta de vendedor de PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Permiso de correo del beneficiario de PayPal denegado para esta solicitud",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"La cuenta de PayPal o Venmo no está configurada para reembolsar más del monto liquidado",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"La moneda de esta transacción debe coincidir con la de su cuenta de PayPal",noDataFoundTryAnotherVerificationMethod:"No se encontraron datos — pruebe otro método de verificación",paypalPaymentMethodIsInvalid:"Método de pago de PayPal inválido",paypalPaymentHasAlreadyBeenCompleted:"El pago de PayPal ya se ha completado",paypalRefundIsNotAllowedAfterPartialRefund:"No se permite reembolso de PayPal después de un reembolso parcial",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"La cuenta del comprador de PayPal no puede ser la misma que la del vendedor",paypalAuthorizationAmountLimitExceeded:"Se excedió el límite del monto de autorización de PayPal",paypalAuthorizationCountLimitExceeded:"Se excedió el límite de cantidad de autorizaciones de PayPal",cardholderAuthenticationRequired:"Se requiere autenticación del titular",paypalChannelInitiatedBillingNotEnabledForYourAccount:"La facturación iniciada por canal de PayPal no está habilitada para su cuenta",additionalAuthorizationRequired:"Se requiere autorización adicional",incorrectPin:"PIN incorrecto",pinTryExceeded:"Número de intentos de PIN excedido",offlineIssuerDeclined:"Emisor fuera de línea – rechazado",cannotAuthorizeAtThisTimeLifeCycle:"No se puede autorizar en este momento (ciclo de vida)",cannotAuthorizeAtThisTimePolicy:"No se puede autorizar en este momento (política)",cardNotActivated:"Tarjeta no activada",closedCard:"Tarjeta cerrada",processorNetworkUnavailableTryAgain:"Red del procesador no disponible – intente de nuevo",errorText:"Error",venmoClosed:"La ventana se cerró antes de que pudiera realizarse la tokenización.",paypalClosed:"La ventana está cerrada, no se puede determinar el tipo",paypalPopupClosed:"Cierre de ventana emergente detectado",applePayClosed:"Cancelado"}},et:{card:{title:"Makseviis",number:{label:"Kaardi number",error:{required:"NÕUTAV",invalid:"Teie kaardinumber ei sobi",incomplete:"Teie kaardinumber on puudulik",unsupported:"Toetamata kaardi tüüp"}},expiry:{label:"Aegumiskuupäev",placeholder:"KK / AA",error:{required:"NÕUTAV",incomplete:"Teie kaardi aegumiskuupäev on puudulik",invalid:"Teie kaardi aegumiskuupäev on kehtetu",expired:"Teie kaart on aegunud"}},cvc:{label:"Turvakood",placeholder:"CVC",error:{required:"NÕUTAV",incomplete:"Teie kaardi turvakood on puudulik",invalid:"Teie kaardi CVC on kehtetu"}},name:{label:"Kaardiomaniku nimi",placeholder:"Täisnimi",error:{required:"NÕUTAV",invalid:"Esitage oma täisnimi"}},pay:{button:"Maksa"},compact:{button:"Krediit- või deebetkaart"}},status:{success:"Edu",error:"Me ei suuda teie makseviisi autentida. Palun valige teine makseviis ja proovige uuesti."},errors:{doNotHonor:"Tagasi lükatud ilma selgituseta",insufficientFunds:"Ebapiisavad vahendid",limitExceeded:"Limite ületatud",cardholdersActivityLimitExceeded:"Kaardiomaniku tegevuslimiit ületatud",expiredCard:"Kaart on aegunud",invalidCreditCardNumber:"Vigane kaardinumber",invalidExpirationDate:"Vigane aegumiskuupäev",noAccount:"Kontot pole",cardAccountLengthError:"Kaardikonto numbri pikkus on vigane",noSuchIssuer:"Väljastajat ei eksisteeri",cardIssuerDeclinedCvv:"Kaardi väljastaja keeldus CVV‑st",voiceAuthorizationRequired:"Nõutav on häälautentimine",processorDeclinedPossibleLostCard:"Töötleja keeldus – võimalik kadunud kaart",processorDeclinedPossibleStolenCard:"Töötleja keeldus – võimalik varastatud kaart",processorDeclinedFraudSuspected:"Töötleja keeldus – pettuse kahtlus",transactionNotAllowed:"Tehing pole lubatud",duplicateTransaction:"Topelttehing",cardholderStoppedBilling:"Kaardiomanik peatas arveldamise",cardholderStoppedAllBilling:"Kaardiomanik peatas kogu arveldamise",invalidTransaction:"Vigane tehing",violation:"Rikkumine",securityViolation:"Turvarikkumine",declinedUpdatedCardholderAvailable:"Tagasi lükatud – uuendatud kaardiomaniku andmed saadaval",processorDoesNotSupportThisFeature:"Töötleja ei toeta seda funktsiooni",cardTypeNotEnabled:"Kaarditüüp pole lubatud",setUpErrorMerchant:"Seadistusviga – kaupmees",invalidMerchantId:"Vigane kaupmehe ID",setUpErrorAmount:"Seadistusviga – summa",setUpErrorHierarchy:"Seadistusviga – hierarhia",setUpErrorCard:"Seadistusviga – kaart",setUpErrorTerminal:"Seadistusviga – terminal",encryptionError:"Krüpteerimisviga",surchargeNotPermitted:"Lisatasu pole lubatud",inconsistentData:"Ebakõlalised andmed",noActionTaken:"Mingeid meetmeid ei võetud",partialApprovalForAmountInGroupIiiVersion:"Osaline summa kinnitamine (Group III versioon)",authorizationCouldNotBeFound:"Autoriseerimist ei leitud",alreadyReversed:"Juba tühistatud",processorDeclined:"Töötleja keeldus",invalidAuthorizationCode:"Vigane autoriseerimiskood",invalidStore:"Vigane pood",declinedCallForApproval:"Tagasi lükatud – helistage kinnituseks",invalidClientId:"Vigane kliendi ID",errorDoNotRetryCallIssuer:"Viga – ärge proovige uuesti, võtke ühendust väljastajaga",declinedCallIssuer:"Tagasi lükatud – võtke ühendust väljastajaga",invalidMerchantNumber:"Vigane kaupmehe number",declined:"Tagasi lükatud",callIssuerPickUpCard:"Võtke ühendust väljastajaga. Kaart tuleb ära võtta",invalidAmount:"Vigane summa",invalidSkuNumber:"Vigane SKU‑number",invalidCreditPlan:"Vigane krediidiplaan",creditCardNumberDoesNotMatchMethodOfPayment:"Kaardinumber ei ühti makseviisiga",invalidLevelIiiPurchase:"Vigane III taseme ost",cardReportedAsLostOrStolen:"Kaart on märgitud kadunuks või varastatuks",reversalAmountDoesNotMatchAuthorizationAmount:"Tagastussumma ei ühti autoriseeritud summaga",invalidTransactionDivisionNumber:"Vigane tehinguosakonna number",transactionAmountExceedsTheTransactionDivisionLimit:"Tehingu summa ületab osakonna limiidi",issuerOrCardholderHasPutARestrictionOnTheCard:"Väljastaja või kaardiomanik on kaardile kehtestanud piirangu",merchantNotMastercardSecurecodeEnabled:"Kaupmehel pole Mastercard SecureCode lubatud",addressVerificationFailed:"Aadressi kinnitamine ebaõnnestus",addressVerificationAndCardSecurityCodeFailed:"Aadressi kinnitamine ja turvakood ebaõnnestusid",invalidTransactionData:"Vigased tehinguandmed",invalidTaxAmount:"Vigane maksusumma",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal ärikonto eelistused põhjustasid tehingu nurjumise",invalidCurrencyCode:"Vigane valuutakood",refundTimeLimitExceeded:"Tagasimakse tähtaeg ületatud",paypalBusinessAccountRestricted:"PayPal ärikonto piiratud",authorizationExpired:"Autoriseerimine aegunud",paypalBusinessAccountLockedOrClosed:"PayPal ärikonto lukus või suletud",paypalBlockingDuplicateOrderIds:"PayPal blokeerib duplikaatsed tellimuse ID‑d",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPali ostja tühistas eelnevalt heaks kiidetud maksevolituse",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPali saaja konto on vigane või puudub kinnitatud e‑post",paypalPayeeEmailIncorrectlyFormatted:"PayPali saaja e‑post on valesti vormindatud",paypalValidationError:"PayPali valideerimisviga",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPali kontol olev maksevahend lükati töötleja või panga poolt tagasi või seda ei saa selleks makseks kasutada",payerAccountIsLockedOrClosed:"Maksja konto on lukus või suletud",payerCannotPayForThisTransactionWithPaypal:"Maksja ei saa seda tehingut PayPaliga tasuda",transactionRefusedDueToPaypalRiskModel:"Tehing tagasi lükatud PayPali riskimudeli tõttu",invalidSecurePaymentData:"Vigased turvalise makse andmed",paypalMerchantAccountConfigurationError:"PayPali kaupmehekonto seadistusviga",invalidUserCredentials:"Vigased kasutajatunnused",paypalPendingPaymentsAreNotSupported:"Ootel PayPali makseid ei toetata",paypalDomesticTransactionRequired:"Nõutav on siseriiklik PayPali tehing",paypalPhoneNumberRequired:"Nõutav on PayPali telefoninumber",paypalTaxInfoRequired:"Nõutav on PayPali maksuteave",paypalPayeeBlockedTransaction:"PayPali saaja blokeeris tehingu",paypalTransactionLimitExceeded:"PayPali tehingulimiit ületatud",paypalReferenceTransactionsNotEnabledForYourAccount:"Viitetehingud pole teie PayPali kontol lubatud",currencyNotEnabledForYourPaypalSellerAccount:"Valuuta pole teie PayPali müüjakontol lubatud",paypalPayeeEmailPermissionDeniedForThisRequest:"Ligipääs PayPali saaja e‑postile selle päringu jaoks keelatud",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPali või Venmo kontot ei ole konfigureeritud suurema summa tagasimakseks kui arveldatud",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Selle tehingu valuuta peab vastama teie PayPali konto valuutale",noDataFoundTryAnotherVerificationMethod:"Andmeid ei leitud — proovige teist kinnitamise meetodit",paypalPaymentMethodIsInvalid:"Vigane PayPali maksemeetod",paypalPaymentHasAlreadyBeenCompleted:"PayPali makse on juba lõpule viidud",paypalRefundIsNotAllowedAfterPartialRefund:"PayPali tagasimakse ei ole lubatud pärast osalist tagasimakset",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPali ostjakonto ei tohi olla sama mis müüjakonto",paypalAuthorizationAmountLimitExceeded:"PayPali volitussumma limiit ületatud",paypalAuthorizationCountLimitExceeded:"PayPali volituste arvu limiit ületatud",cardholderAuthenticationRequired:"Nõutav kaardiomaniku autentimine",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalist algatatud PayPali arveldamine pole teie kontol lubatud",additionalAuthorizationRequired:"Nõutav täiendav volitus",incorrectPin:"Vale PIN‑kood",pinTryExceeded:"PIN‑katsete arv ületatud",offlineIssuerDeclined:"Väljastaja võrguühenduseta – tagasi lükatud",cannotAuthorizeAtThisTimeLifeCycle:"Hetkel ei saa volitada (elutsükkel)",cannotAuthorizeAtThisTimePolicy:"Hetkel ei saa volitada (poliitika)",cardNotActivated:"Kaart pole aktiveeritud",closedCard:"Kaart suletud",processorNetworkUnavailableTryAgain:"Töötleja võrk pole saadaval – proovige uuesti",errorText:"Viga",venmoClosed:"Aken suleti enne, kui tokeniseerimine sai toimuda.",paypalClosed:"Aken on suletud, tüüpi ei saa määrata",paypalPopupClosed:"Tuvastati hüpikakna sulgemine",applePayClosed:"Tühistatud"}},fi:{card:{title:"Maksutapa",number:{label:"Kortin numero",error:{required:"PAKOLLINEN",invalid:"Kortin numero ei kelpaa",incomplete:"Kortin numero on puutteellinen",unsupported:"Ei tuettu korttityyppi"}},expiry:{label:"Erääntymispäivä",placeholder:"KK / VV",error:{required:"PAKOLLINEN",incomplete:"Kortin voimassaoloaika on puutteellinen",invalid:"Kortin voimassaoloaika on virheellinen",expired:"Korttisi on vanhentunut"}},cvc:{label:"Turvakoodi",placeholder:"CVC-koodi",error:{required:"PAKOLLINEN",incomplete:"Kortin turvakoodi on puutteellinen",invalid:"Kortin CVC ei kelpaa"}},name:{label:"Kortinhaltijan nimi",placeholder:"Koko nimi",error:{required:"PAKOLLINEN",invalid:"Anna koko nimesi"}},pay:{button:"Maksa"},compact:{button:"Luotto- tai pankkikortti"}},status:{success:"Menestys",error:"Emme pysty todentamaan maksutapaasi. Valitse toinen maksutapa ja yritä uudelleen."},errors:{doNotHonor:"Hylätty ilman perustetta",insufficientFunds:"Riittämättömät varat",limitExceeded:"Raja ylitetty",cardholdersActivityLimitExceeded:"Kortinhaltijan toimintaraja ylitetty",expiredCard:"Kortti on vanhentunut",invalidCreditCardNumber:"Virheellinen kortin numero",invalidExpirationDate:"Virheellinen voimassaoloaika",noAccount:"Ei tiliä",cardAccountLengthError:"Korttitilin numeron pituus virheellinen",noSuchIssuer:"Myöntäjää ei ole",cardIssuerDeclinedCvv:"Kortin myöntäjä hylkäsi CVV:n",voiceAuthorizationRequired:"Puhelinvaltuutus vaaditaan",processorDeclinedPossibleLostCard:"Käsittelijä hylkäsi – mahdollisesti kadonnut kortti",processorDeclinedPossibleStolenCard:"Käsittelijä hylkäsi – mahdollisesti varastettu kortti",processorDeclinedFraudSuspected:"Käsittelijä hylkäsi – petosepäily",transactionNotAllowed:"Tapahtuma ei ole sallittu",duplicateTransaction:"Päällekkäinen tapahtuma",cardholderStoppedBilling:"Kortinhaltija keskeytti veloituksen",cardholderStoppedAllBilling:"Kortinhaltija keskeytti kaikki veloitukset",invalidTransaction:"Virheellinen tapahtuma",violation:"Rikkomus",securityViolation:"Turvallisuusrikkomus",declinedUpdatedCardholderAvailable:"Hylätty – päivitetyt kortinhaltijatiedot saatavilla",processorDoesNotSupportThisFeature:"Käsittelijä ei tue tätä ominaisuutta",cardTypeNotEnabled:"Korttityyppi ei ole käytössä",setUpErrorMerchant:"Määritysvirhe – kauppias",invalidMerchantId:"Virheellinen kauppias‑ID",setUpErrorAmount:"Määritysvirhe – summa",setUpErrorHierarchy:"Määritysvirhe – hierarkia",setUpErrorCard:"Määritysvirhe – kortti",setUpErrorTerminal:"Määritysvirhe – terminaali",encryptionError:"Salausvirhe",surchargeNotPermitted:"Lisämaksu ei ole sallittu",inconsistentData:"Epäyhtenäiset tiedot",noActionTaken:"Toimenpiteitä ei tehty",partialApprovalForAmountInGroupIiiVersion:"Osittainen hyväksyntä summalle (Group III ‑versio)",authorizationCouldNotBeFound:"Valtuutusta ei löytynyt",alreadyReversed:"Jo peruttu",processorDeclined:"Käsittelijä hylkäsi",invalidAuthorizationCode:"Virheellinen valtuutuskoodi",invalidStore:"Virheellinen myymälä",declinedCallForApproval:"Hylätty – soita hyväksyntää varten",invalidClientId:"Virheellinen asiakastunnus",errorDoNotRetryCallIssuer:"Virhe – älä yritä uudelleen, ota yhteys myöntäjään",declinedCallIssuer:"Hylätty – ota yhteys myöntäjään",invalidMerchantNumber:"Virheellinen kauppiastunnus",declined:"Hylätty",callIssuerPickUpCard:"Ota yhteys myöntäjään. Ota kortti talteen",invalidAmount:"Virheellinen summa",invalidSkuNumber:"Virheellinen SKU‑numero",invalidCreditPlan:"Virheellinen luottosuunnitelma",creditCardNumberDoesNotMatchMethodOfPayment:"Kortin numero ei vastaa maksutapaa",invalidLevelIiiPurchase:"Virheellinen tason III ostos",cardReportedAsLostOrStolen:"Kortti ilmoitettu kadonneeksi tai varastetuksi",reversalAmountDoesNotMatchAuthorizationAmount:"Hyvityksen summa ei vastaa valtuutussummaa",invalidTransactionDivisionNumber:"Virheellinen tapahtumaosaston numero",transactionAmountExceedsTheTransactionDivisionLimit:"Tapahtumasumma ylittää osaston rajan",issuerOrCardholderHasPutARestrictionOnTheCard:"Myöntäjä tai kortinhaltija on asettanut kortille rajoituksen",merchantNotMastercardSecurecodeEnabled:"Kauppiaalla ei ole käytössä Mastercard SecureCode",addressVerificationFailed:"Osoitteen vahvistus epäonnistui",addressVerificationAndCardSecurityCodeFailed:"Osoitteen vahvistus ja turvakoodi epäonnistuivat",invalidTransactionData:"Virheelliset tapahtumatiedot",invalidTaxAmount:"Virheellinen veron määrä",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal‑yritystilin asetukset johtivat tapahtuman epäonnistumiseen",invalidCurrencyCode:"Virheellinen valuuttakoodi",refundTimeLimitExceeded:"Hyvitysajan raja ylitetty",paypalBusinessAccountRestricted:"PayPal‑yritystili rajoitettu",authorizationExpired:"Valtuutus vanhentunut",paypalBusinessAccountLockedOrClosed:"PayPal‑yritystili lukittu tai suljettu",paypalBlockingDuplicateOrderIds:"PayPal estää päällekkäiset tilaus‑ID:t",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑ostaja perui ennakkohyväksytyn maksuvaltuutuksen",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑saajan tili on virheellinen tai siltä puuttuu vahvistettu sähköposti",paypalPayeeEmailIncorrectlyFormatted:"PayPal‑saajan sähköpostin muotoilu on virheellinen",paypalValidationError:"PayPal‑validointivirhe",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPal‑tilin maksuväline hylättiin käsittelijän tai pankin toimesta, tai sitä ei voi käyttää tähän maksuun",payerAccountIsLockedOrClosed:"Maksajan tili on lukittu tai suljettu",payerCannotPayForThisTransactionWithPaypal:"Maksaja ei voi maksaa tätä tapahtumaa PayPalilla",transactionRefusedDueToPaypalRiskModel:"Tapahtuma hylätty PayPalin riskimallin vuoksi",invalidSecurePaymentData:"Virheelliset suojatun maksun tiedot",paypalMerchantAccountConfigurationError:"PayPal‑kauppiastilin määritysvirhe",invalidUserCredentials:"Virheelliset käyttäjätiedot",paypalPendingPaymentsAreNotSupported:"Odottavia PayPal‑maksuja ei tueta",paypalDomesticTransactionRequired:"Kotimainen PayPal‑tapahtuma vaaditaan",paypalPhoneNumberRequired:"PayPal‑puhelinnumero vaaditaan",paypalTaxInfoRequired:"PayPal‑verotiedot vaaditaan",paypalPayeeBlockedTransaction:"PayPal‑saaja esti tapahtuman",paypalTransactionLimitExceeded:"PayPal‑tapahtumaraja ylitetty",paypalReferenceTransactionsNotEnabledForYourAccount:"Viitetapahtumat eivät ole käytössä PayPal‑tililläsi",currencyNotEnabledForYourPaypalSellerAccount:"Valuutta ei ole käytössä PayPal‑myyjätililläsi",paypalPayeeEmailPermissionDeniedForThisRequest:"Pääsy PayPal‑saajan sähköpostiin evätty tähän pyyntöön",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ tai Venmo‑tiliä ei ole määritetty palautuksiin, jotka ylittävät selvityssumman",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Tämän tapahtuman valuutan on vastattava PayPal‑tilisi valuuttaa",noDataFoundTryAnotherVerificationMethod:"Tietoja ei löytynyt — kokeile toista vahvistustapaa",paypalPaymentMethodIsInvalid:"Virheellinen PayPal‑maksutapa",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑maksu on jo suoritettu",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑palautus ei ole sallittu osapalautuksen jälkeen",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑ostajan tili ei voi olla sama kuin myyjän tili",paypalAuthorizationAmountLimitExceeded:"PayPal‑valtuutussumman raja ylitetty",paypalAuthorizationCountLimitExceeded:"PayPal‑valtuutusten määrän raja ylitetty",cardholderAuthenticationRequired:"Kortinhaltijan tunnistautuminen vaaditaan",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanavan aloittama PayPal‑laskutus ei ole käytössä tililläsi",additionalAuthorizationRequired:"Lisävaltuutus vaaditaan",incorrectPin:"Väärä PIN",pinTryExceeded:"PIN‑yritysten määrä ylitetty",offlineIssuerDeclined:"Myöntäjä offline – hylätty",cannotAuthorizeAtThisTimeLifeCycle:"Valtuutusta ei voi tehdä nyt (elinkaari)",cannotAuthorizeAtThisTimePolicy:"Valtuutusta ei voi tehdä nyt (käytäntö)",cardNotActivated:"Korttia ei ole aktivoitu",closedCard:"Kortti suljettu",processorNetworkUnavailableTryAgain:"Käsittelijän verkko ei käytettävissä – yritä uudelleen",errorText:"Virhe",venmoClosed:"Ikkuna suljettiin ennen kuin tokenisointi ehti tapahtua.",paypalClosed:"Ikkuna on suljettu, tyyppiä ei voi määrittää",paypalPopupClosed:"Havaittiin ponnahdusikkunan sulkeminen",applePayClosed:"Peruutettu"}},fil:{card:{title:"Paraan ng pagbabayad",number:{label:"Numero ng card",error:{required:"KAILANGAN",invalid:"Hindi valid ang numero ng kard mo",incomplete:"Ang numero ng iyong kard ay kulang",unsupported:"Hindi sinusuportahang uri ng card"}},expiry:{label:"Petsa ng pagkapaso",placeholder:"BB / TT",error:{required:"KAILANGAN",incomplete:"Ang petsa ng pagkapaso ng iyong kard ay kulang",invalid:"Hindi valid ang petsa ng pagkapaso ng iyong kard",expired:"Napaso na ang iyong kard"}},cvc:{label:"Security code",placeholder:"CVC",error:{required:"KAILANGAN",incomplete:"Ang security code ng iyong kard ay kulang",invalid:"Hindi valid ang CVC ng iyong kard"}},name:{label:"Pangalan ng may-ari ng kard",placeholder:"Buong pangalan",error:{required:"KAILANGAN",invalid:"Pakibigay ang iyong buong pangalan"}},pay:{button:"Magbayad"},compact:{button:"Luotto- tai pankkikortti"}},status:{success:"Tagumpay",error:"Hindi namin ma-authenticate ang iyong paraan ng pagbabayad. Mangyaring pumili ng ibang paraan ng pagbabayad at subukang muli."},errors:{doNotHonor:"Tinanggihan nang walang paliwanag",insufficientFunds:"Hindi sapat ang pondo",limitExceeded:"Lumampas sa limitasyon",cardholdersActivityLimitExceeded:"Lumampas sa limitasyon ng aktibidad ng may-ari ng kard",expiredCard:"Paso na ang kard",invalidCreditCardNumber:"Di-wastong numero ng kard",invalidExpirationDate:"Di-wastong petsa ng pagkapaso",noAccount:"Walang account",cardAccountLengthError:"Maling haba ng numero ng account ng kard",noSuchIssuer:"Walang ganoong tagapaglabas",cardIssuerDeclinedCvv:"Tinanggihan ng tagapaglabas ang CVV",voiceAuthorizationRequired:"Kailangan ang awtorisasyong boses",processorDeclinedPossibleLostCard:"Tinanggihan ng prosesor – posibleng nawalang kard",processorDeclinedPossibleStolenCard:"Tinanggihan ng prosesor – posibleng ninakaw na kard",processorDeclinedFraudSuspected:"Tinanggihan ng prosesor – pinaghihinalaang pandaraya",transactionNotAllowed:"Hindi pinapayagang transaksyon",duplicateTransaction:"Duplikadong transaksyon",cardholderStoppedBilling:"Itinigil ng may-ari ng kard ang pagsingil",cardholderStoppedAllBilling:"Itinigil ng may-ari ng kard ang lahat ng pagsingil",invalidTransaction:"Di-wastong transaksyon",violation:"Paglabag",securityViolation:"Paglabag sa seguridad",declinedUpdatedCardholderAvailable:"Tinanggihan – may na-update na impormasyon ng may-ari ng kard",processorDoesNotSupportThisFeature:"Hindi sinusuportahan ng prosesor ang tampok na ito",cardTypeNotEnabled:"Hindi pinagana ang uri ng kard",setUpErrorMerchant:"Error sa pag-setup – merchant",invalidMerchantId:"Di-wastong ID ng merchant",setUpErrorAmount:"Error sa pag-setup – halaga",setUpErrorHierarchy:"Error sa pag-setup – herarkiya",setUpErrorCard:"Error sa pag-setup – kard",setUpErrorTerminal:"Error sa pag-setup – terminal",encryptionError:"Error sa pag-encrypt",surchargeNotPermitted:"Hindi pinapayagan ang karagdagang bayad",inconsistentData:"Hindi tugmang datos",noActionTaken:"Walang ginawang aksyon",partialApprovalForAmountInGroupIiiVersion:"Bahagyang pag-apruba ng halaga (bersyong Group III)",authorizationCouldNotBeFound:"Hindi mahanap ang awtorisasyon",alreadyReversed:"Na-reverse na",processorDeclined:"Tinanggihan ng prosesor",invalidAuthorizationCode:"Di-wastong code ng awtorisasyon",invalidStore:"Di-wastong tindahan",declinedCallForApproval:"Tinanggihan – tumawag para sa pag-apruba",invalidClientId:"Di-wastong client ID",errorDoNotRetryCallIssuer:"Error – huwag subukang muli, tawagan ang tagapaglabas",declinedCallIssuer:"Tinanggihan – tawagan ang tagapaglabas",invalidMerchantNumber:"Di-wastong numero ng merchant",declined:"Tinanggihan",callIssuerPickUpCard:"Tawagan ang tagapaglabas. Kunin ang kard",invalidAmount:"Di-wastong halaga",invalidSkuNumber:"Di-wastong numero ng SKU",invalidCreditPlan:"Di-wastong plano ng kredito",creditCardNumberDoesNotMatchMethodOfPayment:"Hindi tumutugma ang numero ng kard sa paraan ng pagbabayad",invalidLevelIiiPurchase:"Di-wastong pagbiling level III",cardReportedAsLostOrStolen:"Iniulat na nawawala o ninakaw ang kard",reversalAmountDoesNotMatchAuthorizationAmount:"Hindi tugma ang halagang ni-reverse sa halagang inaprubahan",invalidTransactionDivisionNumber:"Di-wastong numero ng dibisyon ng transaksyon",transactionAmountExceedsTheTransactionDivisionLimit:"Lumampas ang halaga ng transaksyon sa limitasyon ng dibisyon",issuerOrCardholderHasPutARestrictionOnTheCard:"Naglagay ng restriksyon sa kard ang tagapaglabas o may-ari",merchantNotMastercardSecurecodeEnabled:"Hindi naka-enable ang Mastercard SecureCode ng merchant",addressVerificationFailed:"Nabigo ang pag-verify ng address",addressVerificationAndCardSecurityCodeFailed:"Nabigo ang pag-verify ng address at security code",invalidTransactionData:"Di-wastong datos ng transaksyon",invalidTaxAmount:"Di-wastong halaga ng buwis",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Nagresulta sa kabiguan ng transaksyon ang setting ng PayPal Business Account",invalidCurrencyCode:"Di-wastong currency code",refundTimeLimitExceeded:"Lumampas sa oras para sa refund",paypalBusinessAccountRestricted:"Naka-restrict ang PayPal Business Account",authorizationExpired:"Paso na ang awtorisasyon",paypalBusinessAccountLockedOrClosed:"Na-lock o naisara ang PayPal Business Account",paypalBlockingDuplicateOrderIds:"Binabara ng PayPal ang duplicate na order IDs",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Binawi ng mamimili sa PayPal ang pre-approved na awtorisasyon sa pagbabayad",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Di-wasto ang account ng tatanggap sa PayPal o walang nakumpirmang email",paypalPayeeEmailIncorrectlyFormatted:"Maling pormat ang email ng tatanggap sa PayPal",paypalValidationError:"Error sa beripikasyon ng PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Tinanggihan ng prosesor o bangko ang instrumento ng pagbabayad sa PayPal account, o hindi magagamit para sa pagbabayad na ito",payerAccountIsLockedOrClosed:"Na-lock o naisara ang account ng nagbabayad",payerCannotPayForThisTransactionWithPaypal:"Hindi makakabayad ang nagbabayad para sa transaksyong ito gamit ang PayPal",transactionRefusedDueToPaypalRiskModel:"Tinanggihan ang transaksyon dahil sa PayPal risk model",invalidSecurePaymentData:"Di-wastong secure payment data",paypalMerchantAccountConfigurationError:"Error sa configuration ng PayPal merchant account",invalidUserCredentials:"Di-wastong kredensyal ng user",paypalPendingPaymentsAreNotSupported:"Hindi suportado ang mga nakabinbing bayad sa PayPal",paypalDomesticTransactionRequired:"Kailangan ang domestic na transaksyon sa PayPal",paypalPhoneNumberRequired:"Kailangan ang numero ng telepono sa PayPal",paypalTaxInfoRequired:"Kailangan ang impormasyon sa buwis sa PayPal",paypalPayeeBlockedTransaction:"Hinarang ng tatanggap sa PayPal ang transaksyon",paypalTransactionLimitExceeded:"Lumampas sa limitasyon ng transaksyon sa PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Hindi naka-enable ang reference transactions ng PayPal para sa iyong account",currencyNotEnabledForYourPaypalSellerAccount:"Hindi naka-enable ang currency para sa iyong PayPal seller account",paypalPayeeEmailPermissionDeniedForThisRequest:"Tinanggihan ang pahintulot sa email ng tatanggap sa PayPal para sa kahilingang ito",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Hindi naka-configure ang PayPal o Venmo account para mag-refund nang higit sa na-settle na halaga",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Dapat tumugma ang currency ng transaksyong ito sa currency ng iyong PayPal account",noDataFoundTryAnotherVerificationMethod:"Walang nakitang datos — subukan ang ibang paraan ng beripikasyon",paypalPaymentMethodIsInvalid:"Di-wastong paraan ng pagbabayad sa PayPal",paypalPaymentHasAlreadyBeenCompleted:"Nakumpleto na ang pagbabayad sa PayPal",paypalRefundIsNotAllowedAfterPartialRefund:"Hindi pinapayagan ang refund sa PayPal pagkatapos ng partial refund",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Hindi maaaring magkapareho ang PayPal buyer account at seller account",paypalAuthorizationAmountLimitExceeded:"Lumampas sa limitasyon ng halagang awtorisasyon ng PayPal",paypalAuthorizationCountLimitExceeded:"Lumampas sa limitasyon ng bilang ng awtorisasyon ng PayPal",cardholderAuthenticationRequired:"Kailangan ang pagpapatunay ng may-ari ng kard",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Hindi naka-enable para sa iyong account ang channel-initiated billing ng PayPal",additionalAuthorizationRequired:"Kailangan ng karagdagang awtorisasyon",incorrectPin:"Maling PIN",pinTryExceeded:"Lumampas sa limitasyon ang pagtatangka ng PIN",offlineIssuerDeclined:"Tinanggihan ng issuer offline",cannotAuthorizeAtThisTimeLifeCycle:"Hindi ma-awtorisa sa oras na ito (life cycle)",cannotAuthorizeAtThisTimePolicy:"Hindi ma-awtorisa sa oras na ito (patakaran)",cardNotActivated:"Hindi pa na-a-activate ang kard",closedCard:"Isinarang kard",processorNetworkUnavailableTryAgain:"Hindi magagamit ang network ng prosesor – subukang muli",errorText:"Error",venmoClosed:"Isinara ang window bago maisagawa ang tokenization.",paypalClosed:"Sarado ang window, hindi matukoy ang uri",paypalPopupClosed:"Nakita ang pagsasara ng pop-up",applePayClosed:"Kanselado"}},fr:{card:{title:"Moyen de paiement",number:{label:"Numéro de la carte",error:{required:"OBLIGATOIRE",invalid:"Votre numéro de carte n'est pas valide",incomplete:"Votre numéro de carte est incomplet",unsupported:"Type de carte non supporté"}},expiry:{label:"Date d'expiration",placeholder:"MM / AA",error:{required:"OBLIGATOIRE",incomplete:"La date d'expiration de votre carte est incomplète",invalid:"La date d'expiration de votre carte n'est pas valide",expired:"Votre carte a expiré"}},cvc:{label:"Code de sécurité",placeholder:"CVC",error:{required:"OBLIGATOIRE",incomplete:"Le code de sécurité de votre carte est incomplet",invalid:"Le code CVC de votre carte n'est pas valide"}},name:{label:"Nom du titulaire de la carte",placeholder:"Nom complet",error:{required:"OBLIGATOIRE",invalid:"Veuillez indiquer votre nom complet"}},pay:{button:"Payer"},compact:{button:"Carte"}},status:{success:"Succès",error:"Nous ne sommes pas en mesure d'authentifier votre méthode de paiement. Veuillez choisir un autre mode de paiement et réessayer."},errors:{doNotHonor:"Refus sans explication",insufficientFunds:"Fonds insuffisants",limitExceeded:"Limite dépassée",cardholdersActivityLimitExceeded:"Limite d'activité du titulaire dépassée",expiredCard:"Carte expirée",invalidCreditCardNumber:"Numéro de carte invalide",invalidExpirationDate:"Date d'expiration invalide",noAccount:"Aucun compte",cardAccountLengthError:"Longueur du numéro de compte incorrecte",noSuchIssuer:"Émetteur introuvable",cardIssuerDeclinedCvv:"L'émetteur a refusé le CVV",voiceAuthorizationRequired:"Autorisation vocale requise",processorDeclinedPossibleLostCard:"Refusé par le processeur – carte possiblement perdue",processorDeclinedPossibleStolenCard:"Refusé par le processeur – carte possiblement volée",processorDeclinedFraudSuspected:"Refusé par le processeur – suspicion de fraude",transactionNotAllowed:"Transaction non autorisée",duplicateTransaction:"Transaction dupliquée",cardholderStoppedBilling:"Le titulaire a arrêté la facturation",cardholderStoppedAllBilling:"Le titulaire a arrêté tous les prélèvements",invalidTransaction:"Transaction invalide",violation:"Violation",securityViolation:"Violation de sécurité",declinedUpdatedCardholderAvailable:"Refusé – informations du titulaire mises à jour disponibles",processorDoesNotSupportThisFeature:"Le processeur ne prend pas en charge cette fonctionnalité",cardTypeNotEnabled:"Type de carte non activé",setUpErrorMerchant:"Erreur de configuration – marchand",invalidMerchantId:"Identifiant marchand invalide",setUpErrorAmount:"Erreur de configuration – montant",setUpErrorHierarchy:"Erreur de configuration – hiérarchie",setUpErrorCard:"Erreur de configuration – carte",setUpErrorTerminal:"Erreur de configuration – terminal",encryptionError:"Erreur de chiffrement",surchargeNotPermitted:"Supplément non autorisé",inconsistentData:"Données incohérentes",noActionTaken:"Aucune action effectuée",partialApprovalForAmountInGroupIiiVersion:"Approbation partielle du montant (version Group III)",authorizationCouldNotBeFound:"Autorisation introuvable",alreadyReversed:"Déjà annulé",processorDeclined:"Refusé par le processeur",invalidAuthorizationCode:"Code d'autorisation invalide",invalidStore:"Magasin invalide",declinedCallForApproval:"Refusé – appelez pour approbation",invalidClientId:"Identifiant client invalide",errorDoNotRetryCallIssuer:"Erreur – ne réessayez pas, contactez l'émetteur",declinedCallIssuer:"Refusé – contactez l'émetteur",invalidMerchantNumber:"Numéro marchand invalide",declined:"Refusé",callIssuerPickUpCard:"Appelez l'émetteur. Retirez la carte",invalidAmount:"Montant invalide",invalidSkuNumber:"Numéro SKU invalide",invalidCreditPlan:"Plan de crédit invalide",creditCardNumberDoesNotMatchMethodOfPayment:"Le numéro de carte ne correspond pas au mode de paiement",invalidLevelIiiPurchase:"Achat de niveau III invalide",cardReportedAsLostOrStolen:"Carte déclarée perdue ou volée",reversalAmountDoesNotMatchAuthorizationAmount:"Le montant d'annulation ne correspond pas au montant autorisé",invalidTransactionDivisionNumber:"Numéro de division de transaction invalide",transactionAmountExceedsTheTransactionDivisionLimit:"Le montant dépasse la limite de la division",issuerOrCardholderHasPutARestrictionOnTheCard:"Une restriction a été placée sur la carte par l’émetteur ou le titulaire",merchantNotMastercardSecurecodeEnabled:"Le marchand n’a pas activé Mastercard SecureCode",addressVerificationFailed:"Échec de la vérification d'adresse",addressVerificationAndCardSecurityCodeFailed:"Échec de la vérification d'adresse et du code de sécurité",invalidTransactionData:"Données de transaction invalides",invalidTaxAmount:"Montant de taxe invalide",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Les préférences du compte professionnel PayPal ont entraîné un échec de la transaction",invalidCurrencyCode:"Code de devise invalide",refundTimeLimitExceeded:"Délai de remboursement dépassé",paypalBusinessAccountRestricted:"Compte professionnel PayPal restreint",authorizationExpired:"L'autorisation a expiré",paypalBusinessAccountLockedOrClosed:"Compte professionnel PayPal verrouillé ou fermé",paypalBlockingDuplicateOrderIds:"PayPal bloque les identifiants de commande en double",paypalBuyerRevokedPreApprovedPaymentAuthorization:"L'acheteur PayPal a révoqué l'autorisation de paiement pré-approuvée",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Le compte du bénéficiaire PayPal est invalide ou n'a pas d'e-mail confirmé",paypalPayeeEmailIncorrectlyFormatted:"E-mail du bénéficiaire PayPal mal formaté",paypalValidationError:"Erreur de validation PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Le moyen de paiement du compte PayPal a été refusé par le processeur ou la banque, ou ne peut pas être utilisé pour ce paiement",payerAccountIsLockedOrClosed:"Compte du payeur verrouillé ou fermé",payerCannotPayForThisTransactionWithPaypal:"Le payeur ne peut pas payer cette transaction avec PayPal",transactionRefusedDueToPaypalRiskModel:"Transaction refusée en raison du modèle de risque PayPal",invalidSecurePaymentData:"Données de paiement sécurisées invalides",paypalMerchantAccountConfigurationError:"Erreur de configuration du compte marchand PayPal",invalidUserCredentials:"Identifiants utilisateur invalides",paypalPendingPaymentsAreNotSupported:"Les paiements en attente PayPal ne sont pas pris en charge",paypalDomesticTransactionRequired:"Transaction PayPal nationale requise",paypalPhoneNumberRequired:"Numéro de téléphone PayPal requis",paypalTaxInfoRequired:"Informations fiscales PayPal requises",paypalPayeeBlockedTransaction:"Le bénéficiaire PayPal a bloqué la transaction",paypalTransactionLimitExceeded:"Limite de transactions PayPal dépassée",paypalReferenceTransactionsNotEnabledForYourAccount:"Transactions de référence PayPal non activées pour votre compte",currencyNotEnabledForYourPaypalSellerAccount:"Devise non activée pour votre compte vendeur PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Accès à l'e-mail du bénéficiaire PayPal refusé pour cette requête",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Compte PayPal ou Venmo non configuré pour rembourser plus que le montant réglé",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"La devise de cette transaction doit correspondre à celle de votre compte PayPal",noDataFoundTryAnotherVerificationMethod:"Aucune donnée trouvée — essayez une autre méthode de vérification",paypalPaymentMethodIsInvalid:"Mode de paiement PayPal invalide",paypalPaymentHasAlreadyBeenCompleted:"Le paiement PayPal a déjà été effectué",paypalRefundIsNotAllowedAfterPartialRefund:"Le remboursement PayPal est interdit après un remboursement partiel",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Le compte acheteur PayPal ne peut pas être identique au compte vendeur",paypalAuthorizationAmountLimitExceeded:"Limite du montant d'autorisation PayPal dépassée",paypalAuthorizationCountLimitExceeded:"Limite du nombre d'autorisations PayPal dépassée",cardholderAuthenticationRequired:"Authentification du titulaire requise",paypalChannelInitiatedBillingNotEnabledForYourAccount:"La facturation initiée par canal PayPal est désactivée pour votre compte",additionalAuthorizationRequired:"Autorisation supplémentaire requise",incorrectPin:"Code PIN incorrect",pinTryExceeded:"Nombre de tentatives PIN dépassé",offlineIssuerDeclined:"Émetteur hors ligne – refus",cannotAuthorizeAtThisTimeLifeCycle:"Autorisation impossible pour le moment (cycle de vie)",cannotAuthorizeAtThisTimePolicy:"Autorisation impossible pour le moment (politique)",cardNotActivated:"Carte non activée",closedCard:"Carte fermée",processorNetworkUnavailableTryAgain:"Réseau du processeur indisponible – réessayez",errorText:"Erreur",venmoClosed:"La fenêtre a été fermée avant que la tokenisation ne puisse avoir lieu.",paypalClosed:"La fenêtre est fermée, impossible de déterminer le type",paypalPopupClosed:"Fermeture de fenêtre contextuelle détectée",applePayClosed:"Annulé"}},hr:{card:{title:"Način plaćanja",number:{label:"Broj kartice",error:{required:"POTREBNO",invalid:"Broj vaše kartice nije valjan",incomplete:"Broj vaše kartice nije potpun",unsupported:"Nepodržana vrsta kartice"}},expiry:{label:"Datum isteka",placeholder:"MM / GG",error:{required:"POTREBNO",incomplete:"Datum isteka vaše kartice je nepotpun",invalid:"Datum isteka vaše kartice nije valjan",expired:"Kartica je istekla"}},cvc:{label:"Sigurnosni kod",placeholder:"CVC",error:{required:"POTREBNO",incomplete:"Sigurnosni kôd vaše kartice je nepotpun",invalid:"Kontrolni broj (CVC) vaše kartice nije valjan"}},name:{label:"Ime vlasnika kartice",placeholder:"Puno ime",error:{required:"POTREBNO",invalid:"Unesite svoje puno ime"}},pay:{button:"Plati"},compact:{button:"Kartica"}},status:{success:"Uspjeh",error:"Ne možemo provjeriti autentičnost vašeg načina plaćanja. Odaberite drugi način plaćanja i pokušajte ponovno."},errors:{doNotHonor:"Odbijeno bez obrazloženja",insufficientFunds:"Nedovoljno sredstava",limitExceeded:"Prekoračen limit",cardholdersActivityLimitExceeded:"Prekoračen limit aktivnosti vlasnika kartice",expiredCard:"Kartica je istekla",invalidCreditCardNumber:"Nevažeći broj kartice",invalidExpirationDate:"Nevažeći datum isteka",noAccount:"Nema računa",cardAccountLengthError:"Neispravna duljina broja računa kartice",noSuchIssuer:"Izdavatelj ne postoji",cardIssuerDeclinedCvv:"Izdavatelj kartice odbio CVV",voiceAuthorizationRequired:"Potrebna glasovna autorizacija",processorDeclinedPossibleLostCard:"Procesor odbio – mogući gubitak kartice",processorDeclinedPossibleStolenCard:"Procesor odbio – moguća ukradena kartica",processorDeclinedFraudSuspected:"Procesor odbio – sumnja na prijevaru",transactionNotAllowed:"Transakcija nije dopuštena",duplicateTransaction:"Duplicirana transakcija",cardholderStoppedBilling:"Vlasnik kartice zaustavio naplatu",cardholderStoppedAllBilling:"Vlasnik kartice zaustavio sve naplate",invalidTransaction:"Nevažeća transakcija",violation:"Prekršaj",securityViolation:"Sigurnosni prekršaj",declinedUpdatedCardholderAvailable:"Odbijeno – dostupni ažurirani podaci o vlasniku kartice",processorDoesNotSupportThisFeature:"Procesor ne podržava ovu funkciju",cardTypeNotEnabled:"Vrsta kartice nije omogućena",setUpErrorMerchant:"Pogreška postavki – trgovac",invalidMerchantId:"Nevažeći ID trgovca",setUpErrorAmount:"Pogreška postavki – iznos",setUpErrorHierarchy:"Pogreška postavki – hijerarhija",setUpErrorCard:"Pogreška postavki – kartica",setUpErrorTerminal:"Pogreška postavki – terminal",encryptionError:"Pogreška šifriranja",surchargeNotPermitted:"Dodatna naknada nije dopuštena",inconsistentData:"Nekonzistentni podaci",noActionTaken:"Nije poduzeta nijedna radnja",partialApprovalForAmountInGroupIiiVersion:"Djelomično odobrenje iznosa (verzija Group III)",authorizationCouldNotBeFound:"Autorizacija nije pronađena",alreadyReversed:"Već stornirano",processorDeclined:"Procesor odbio",invalidAuthorizationCode:"Nevažeći autorizacijski kod",invalidStore:"Nevažeća trgovina",declinedCallForApproval:"Odbijeno – nazovite za odobrenje",invalidClientId:"Nevažeći ID klijenta",errorDoNotRetryCallIssuer:"Pogreška – ne pokušavajte ponovno, kontaktirajte izdavatelja",declinedCallIssuer:"Odbijeno – kontaktirajte izdavatelja",invalidMerchantNumber:"Nevažeći broj trgovca",declined:"Odbijeno",callIssuerPickUpCard:"Nazovite izdavatelja. Zadržite karticu",invalidAmount:"Nevažeći iznos",invalidSkuNumber:"Nevažeći SKU broj",invalidCreditPlan:"Nevažeći kreditni plan",creditCardNumberDoesNotMatchMethodOfPayment:"Broj kartice ne odgovara načinu plaćanja",invalidLevelIiiPurchase:"Nevažeća kupnja razine III",cardReportedAsLostOrStolen:"Kartica prijavljena kao izgubljena ili ukradena",reversalAmountDoesNotMatchAuthorizationAmount:"Iznos storna ne odgovara autoriziranom iznosu",invalidTransactionDivisionNumber:"Nevažeći broj odjela transakcije",transactionAmountExceedsTheTransactionDivisionLimit:"Iznos transakcije prelazi ograničenje odjela",issuerOrCardholderHasPutARestrictionOnTheCard:"Izdavatelj ili vlasnik kartice postavio je ograničenje na kartici",merchantNotMastercardSecurecodeEnabled:"Trgovac nema omogućen Mastercard SecureCode",addressVerificationFailed:"Provjera adrese nije uspjela",addressVerificationAndCardSecurityCodeFailed:"Provjera adrese i sigurnosnog koda nije uspjela",invalidTransactionData:"Nevažeći podaci transakcije",invalidTaxAmount:"Nevažeći iznos poreza",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Postavke PayPal poslovnog računa uzrokovale su neuspjeh transakcije",invalidCurrencyCode:"Nevažeći kod valute",refundTimeLimitExceeded:"Prekoračen rok za povrat",paypalBusinessAccountRestricted:"PayPal poslovni račun ograničen",authorizationExpired:"Autorizacija je istekla",paypalBusinessAccountLockedOrClosed:"PayPal poslovni račun zaključan ili zatvoren",paypalBlockingDuplicateOrderIds:"PayPal blokira duplikate ID‑jeva narudžbi",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Kupac na PayPal‑u opozvao je prethodno odobrenu autorizaciju plaćanja",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Račun primatelja PayPal nevažeći ili nema potvrđenu e‑poštu",paypalPayeeEmailIncorrectlyFormatted:"E‑pošta primatelja PayPal nepravilno formatirana",paypalValidationError:"Pogreška validacije PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Sredstvo plaćanja na PayPal računu odbio je procesor ili banka, ili se ne može koristiti za ovu uplatu",payerAccountIsLockedOrClosed:"Račun platitelja zaključan ili zatvoren",payerCannotPayForThisTransactionWithPaypal:"Platitelj ne može platiti ovu transakciju putem PayPal‑a",transactionRefusedDueToPaypalRiskModel:"Transakcija odbijena zbog PayPal modela rizika",invalidSecurePaymentData:"Nevažeći sigurni podaci za plaćanje",paypalMerchantAccountConfigurationError:"Pogreška konfiguracije PayPal trgovačkog računa",invalidUserCredentials:"Nevažeće korisničke vjerodajnice",paypalPendingPaymentsAreNotSupported:"PayPal čekajuća plaćanja nisu podržana",paypalDomesticTransactionRequired:"Potrebna domaća PayPal transakcija",paypalPhoneNumberRequired:"Potreban PayPal telefonski broj",paypalTaxInfoRequired:"Potrebne PayPal porezne informacije",paypalPayeeBlockedTransaction:"PayPal primatelj blokirao je transakciju",paypalTransactionLimitExceeded:"Prekoračen PayPal limit transakcija",paypalReferenceTransactionsNotEnabledForYourAccount:"Referentne transakcije nisu omogućene za vaš PayPal račun",currencyNotEnabledForYourPaypalSellerAccount:"Valuta nije omogućena za vaš PayPal prodajni račun",paypalPayeeEmailPermissionDeniedForThisRequest:"Pristup e‑pošti primatelja PayPal odbijen za ovaj zahtjev",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal ili Venmo račun nije konfiguriran za povrat iznosa većeg od poravnatog",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valuta ove transakcije mora odgovarati valuti vašeg PayPal računa",noDataFoundTryAnotherVerificationMethod:"Podaci nisu pronađeni — pokušajte drugu metodu provjere",paypalPaymentMethodIsInvalid:"Nevažeća PayPal metoda plaćanja",paypalPaymentHasAlreadyBeenCompleted:"PayPal plaćanje je već dovršeno",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal povrat nije dopušten nakon djelomičnog povrata",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal račun kupca ne može biti isti kao račun prodavatelja",paypalAuthorizationAmountLimitExceeded:"Prekoračena granica autoriziranog PayPal iznosa",paypalAuthorizationCountLimitExceeded:"Prekoračena granica broja PayPal autorizacija",cardholderAuthenticationRequired:"Potrebna autentikacija vlasnika kartice",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Naplata pokrenuta putem kanala PayPal nije omogućena za vaš račun",additionalAuthorizationRequired:"Potrebna dodatna autorizacija",incorrectPin:"Neispravan PIN",pinTryExceeded:"Prekoračen broj pokušaja PIN‑a",offlineIssuerDeclined:"Izdavatelj izvan mreže – odbijeno",cannotAuthorizeAtThisTimeLifeCycle:"Trenutno nije moguće autorizirati (životni ciklus)",cannotAuthorizeAtThisTimePolicy:"Trenutno nije moguće autorizirati (politika)",cardNotActivated:"Kartica nije aktivirana",closedCard:"Kartica zatvorena",processorNetworkUnavailableTryAgain:"Mreža procesora nije dostupna – pokušajte ponovno",errorText:"Pogreška",venmoClosed:"Prozor je zatvoren prije nego što je mogla biti izvršena tokenizacija.",paypalClosed:"Prozor je zatvoren, nije moguće odrediti vrstu",paypalPopupClosed:"Otkriveno zatvaranje skočnog prozora",applePayClosed:"Otkazano"}},hu:{card:{title:"Fizetési mód",number:{label:"Kártya száma",error:{required:"KÖTELEZŐ",invalid:"A kártyaszáma érvénytelen",incomplete:"A kártyaszáma hiányos",unsupported:"Nem támogatott kártya típusa"}},expiry:{label:"Lejárat dátuma",placeholder:"HH / ÉÉ",error:{required:"KÖTELEZŐ",incomplete:"A kártyája lejárati dátuma hiányos",invalid:"A kártyája lejárati dátuma érvénytelen",expired:"A kártyája lejárt"}},cvc:{label:"Biztonsági kód",placeholder:"CVC",error:{required:"KÖTELEZŐ",incomplete:"A kártyája biztonsági kódja hiányos",invalid:"A kártya CVC-kódja érvénytelen"}},name:{label:"Kártyabirtokos neve",placeholder:"Teljes név",error:{required:"KÖTELEZŐ",invalid:"Adja meg a teljes nevét"}},pay:{button:"Fizetés"},compact:{button:"Hitel- vagy bankkártya"}},status:{success:"Siker",error:"Nem tudjuk hitelesíteni a fizetési módját. Kérjük, válasszon másik fizetési módot, és próbálja meg újra."},errors:{doNotHonor:"Elutasítva indoklás nélkül",insufficientFunds:"Elégtelen fedezet",limitExceeded:"Limit túllépve",cardholdersActivityLimitExceeded:"Kártyabirtokosi aktivitási limit túllépve",expiredCard:"Lejárt kártya",invalidCreditCardNumber:"Érvénytelen kártyaszám",invalidExpirationDate:"Érvénytelen lejárati dátum",noAccount:"Nincs számla",cardAccountLengthError:"A kártyaszámlaszám hossza hibás",noSuchIssuer:"Kibocsátó nem létezik",cardIssuerDeclinedCvv:"A kártyakibocsátó elutasította a CVV-t",voiceAuthorizationRequired:"Hangalapú engedély szükséges",processorDeclinedPossibleLostCard:"Feldolgozó elutasította – lehetséges elveszett kártya",processorDeclinedPossibleStolenCard:"Feldolgozó elutasította – lehetséges ellopott kártya",processorDeclinedFraudSuspected:"Feldolgozó elutasította – csalás gyanúja",transactionNotAllowed:"Tranzakció nem engedélyezett",duplicateTransaction:"Duplikált tranzakció",cardholderStoppedBilling:"A kártyabirtokos leállította a számlázást",cardholderStoppedAllBilling:"A kártyabirtokos minden számlázást leállított",invalidTransaction:"Érvénytelen tranzakció",violation:"Szabálysértés",securityViolation:"Biztonsági szabálysértés",declinedUpdatedCardholderAvailable:"Elutasítva – frissített kártyabirtokosi adatok elérhetők",processorDoesNotSupportThisFeature:"A feldolgozó nem támogatja ezt a funkciót",cardTypeNotEnabled:"A kártyatípus nincs engedélyezve",setUpErrorMerchant:"Beállítási hiba – kereskedő",invalidMerchantId:"Érvénytelen kereskedőazonosító",setUpErrorAmount:"Beállítási hiba – összeg",setUpErrorHierarchy:"Beállítási hiba – hierarchia",setUpErrorCard:"Beállítási hiba – kártya",setUpErrorTerminal:"Beállítási hiba – terminál",encryptionError:"Titkosítási hiba",surchargeNotPermitted:"Pótdíj nem engedélyezett",inconsistentData:"Inkonszisztens adatok",noActionTaken:"Nem történt intézkedés",partialApprovalForAmountInGroupIiiVersion:"Részleges jóváhagyás az összegre (Group III verzió)",authorizationCouldNotBeFound:"Az engedély nem található",alreadyReversed:"Már visszafordítva",processorDeclined:"Feldolgozó elutasította",invalidAuthorizationCode:"Érvénytelen engedélykód",invalidStore:"Érvénytelen üzlet",declinedCallForApproval:"Elutasítva – hívás jóváhagyásért",invalidClientId:"Érvénytelen kliensazonosító",errorDoNotRetryCallIssuer:"Hiba – ne próbálja újra, lépjen kapcsolatba a kibocsátóval",declinedCallIssuer:"Elutasítva – lépjen kapcsolatba a kibocsátóval",invalidMerchantNumber:"Érvénytelen kereskedőszám",declined:"Elutasítva",callIssuerPickUpCard:"Lépjen kapcsolatba a kibocsátóval. A kártyát vonják be",invalidAmount:"Érvénytelen összeg",invalidSkuNumber:"Érvénytelen SKU‑szám",invalidCreditPlan:"Érvénytelen hitelterv",creditCardNumberDoesNotMatchMethodOfPayment:"A kártyaszám nem egyezik a fizetési móddal",invalidLevelIiiPurchase:"Érvénytelen III. szintű vásárlás",cardReportedAsLostOrStolen:"Kártya elveszettnek vagy ellopottnak jelentve",reversalAmountDoesNotMatchAuthorizationAmount:"A visszafordítás összege nem egyezik az engedélyezett összeggel",invalidTransactionDivisionNumber:"Érvénytelen tranzakcióosztály-szám",transactionAmountExceedsTheTransactionDivisionLimit:"A tranzakció összege meghaladja az osztály limitjét",issuerOrCardholderHasPutARestrictionOnTheCard:"A kibocsátó vagy a kártyabirtokos korlátozást állított be a kártyára",merchantNotMastercardSecurecodeEnabled:"A kereskedőnél nincs engedélyezve a Mastercard SecureCode",addressVerificationFailed:"Címellenőrzés sikertelen",addressVerificationAndCardSecurityCodeFailed:"Címellenőrzés és biztonsági kód sikertelen",invalidTransactionData:"Érvénytelen tranzakciós adatok",invalidTaxAmount:"Érvénytelen adóösszeg",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"A PayPal üzleti fiók beállításai a tranzakció sikertelenségéhez vezettek",invalidCurrencyCode:"Érvénytelen pénznemkód",refundTimeLimitExceeded:"Visszatérítési határidő túllépve",paypalBusinessAccountRestricted:"PayPal üzleti fiók korlátozott",authorizationExpired:"Az engedély lejárt",paypalBusinessAccountLockedOrClosed:"PayPal üzleti fiók zárolva vagy lezárva",paypalBlockingDuplicateOrderIds:"A PayPal blokkolja a duplikált rendelésazonosítókat",paypalBuyerRevokedPreApprovedPaymentAuthorization:"A PayPal vásárló visszavonta az előzetesen jóváhagyott fizetési engedélyt",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"A PayPal kedvezményezett fiókja érvénytelen vagy nincs megerősített e‑mail",paypalPayeeEmailIncorrectlyFormatted:"A PayPal kedvezményezett e‑mailje hibásan formázott",paypalValidationError:"PayPal érvényesítési hiba",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"A PayPal‑fiókban lévő fizetőeszközt a feldolgozó vagy a bank elutasította, vagy nem használható ehhez a fizetéshez",payerAccountIsLockedOrClosed:"A fizető fiókja zárolva vagy lezárva",payerCannotPayForThisTransactionWithPaypal:"A fizető nem tudja PayPal‑lal fizetni ezt a tranzakciót",transactionRefusedDueToPaypalRiskModel:"Tranzakció elutasítva a PayPal kockázati modellje miatt",invalidSecurePaymentData:"Érvénytelen biztonságos fizetési adatok",paypalMerchantAccountConfigurationError:"PayPal kereskedői fiók konfigurációs hiba",invalidUserCredentials:"Érvénytelen felhasználói hitelesítési adatok",paypalPendingPaymentsAreNotSupported:"A függőben lévő PayPal‑fizetések nem támogatottak",paypalDomesticTransactionRequired:"Belföldi PayPal‑tranzakció szükséges",paypalPhoneNumberRequired:"PayPal‑telefonszám szükséges",paypalTaxInfoRequired:"PayPal‑adóinformáció szükséges",paypalPayeeBlockedTransaction:"A PayPal kedvezményezett blokkolta a tranzakciót",paypalTransactionLimitExceeded:"PayPal tranzakciós limit túllépve",paypalReferenceTransactionsNotEnabledForYourAccount:"Referencia tranzakciók nincsenek engedélyezve a PayPal‑fiókján",currencyNotEnabledForYourPaypalSellerAccount:"A pénznem nincs engedélyezve a PayPal eladói fiókján",paypalPayeeEmailPermissionDeniedForThisRequest:"A PayPal kedvezményezett e‑mailjéhez való hozzáférés megtagadva ehhez a kéréshez",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"A PayPal vagy Venmo fiók nincs beállítva a kiegyenlített összegnél nagyobb visszatérítésre",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Ennek a tranzakciónak a pénznemének meg kell egyeznie a PayPal‑fiókja pénznemével",noDataFoundTryAnotherVerificationMethod:"Nem találhatók adatok — próbáljon más ellenőrzési módszert",paypalPaymentMethodIsInvalid:"Érvénytelen PayPal fizetési mód",paypalPaymentHasAlreadyBeenCompleted:"A PayPal fizetés már befejeződött",paypalRefundIsNotAllowedAfterPartialRefund:"Részleges visszatérítés után a PayPal visszatérítés nem engedélyezett",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"A PayPal vásárlói fiók nem lehet azonos az eladói fiókkal",paypalAuthorizationAmountLimitExceeded:"A PayPal engedélyezett összeg limitje túllépve",paypalAuthorizationCountLimitExceeded:"A PayPal engedélyek számának limitje túllépve",cardholderAuthenticationRequired:"Kártyabirtokosi hitelesítés szükséges",paypalChannelInitiatedBillingNotEnabledForYourAccount:"A csatorna által indított PayPal számlázás nincs engedélyezve a fiókján",additionalAuthorizationRequired:"További engedély szükséges",incorrectPin:"Helytelen PIN‑kód",pinTryExceeded:"PIN próbálkozások száma túllépve",offlineIssuerDeclined:"Kibocsátó offline – elutasítva",cannotAuthorizeAtThisTimeLifeCycle:"Jelenleg nem engedélyezhető (életciklus)",cannotAuthorizeAtThisTimePolicy:"Jelenleg nem engedélyezhető (szabályzat)",cardNotActivated:"A kártya nincs aktiválva",closedCard:"A kártya lezárva",processorNetworkUnavailableTryAgain:"A feldolgozói hálózat nem érhető el – próbálja újra",errorText:"Hiba",venmoClosed:"Az ablak bezárult, mielőtt a tokenizáció megtörténhetett volna.",paypalClosed:"Az ablak zárva van, a típust nem lehet meghatározni",paypalPopupClosed:"Észlelt felugró ablak bezárása",applePayClosed:"Megszakítva"}},id:{card:{title:"Metode pembayaran",number:{label:"Nomor kartu",error:{required:"WAJIB DIISI",invalid:"Nomor kartu Anda tidak valid",incomplete:"Nomor kartu Anda tidak lengkap",unsupported:"Tipe kartu tidak didukung"}},expiry:{label:"Tanggal kedaluwarsa",placeholder:"BB / TT",error:{required:"WAJIB DIISI",incomplete:"Tanggal kedaluwarsa kartu Anda tidak lengkap",invalid:"Tanggal kedaluwarsa kartu Anda tidak valid",expired:"Kartu Anda telah kedaluwarsa"}},cvc:{label:"Kode keamanan",placeholder:"CVC",error:{required:"WAJIB DIISI",incomplete:"Kode keamanan kartu Anda tidak lengkap",invalid:"CVC kartu Anda tidak valid"}},name:{label:"Nama pemegang kartu",placeholder:"Nama lengkap",error:{required:"WAJIB DIISI",invalid:"Berikan nama lengkap Anda"}},pay:{button:"Bayar"},compact:{button:"Kartu"}},status:{success:"Sukses",error:"Kami tidak dapat mengautentikasi metode pembayaran Anda. Silakan pilih metode pembayaran lain dan coba lagi."},errors:{doNotHonor:"Ditolak tanpa alasan",insufficientFunds:"Dana tidak mencukupi",limitExceeded:"Melebihi batas",cardholdersActivityLimitExceeded:"Batas aktivitas pemegang kartu terlampaui",expiredCard:"Kartu kedaluwarsa",invalidCreditCardNumber:"Nomor kartu tidak valid",invalidExpirationDate:"Tanggal kedaluwarsa tidak valid",noAccount:"Tidak ada akun",cardAccountLengthError:"Panjang nomor akun kartu tidak valid",noSuchIssuer:"Penerbit tidak ditemukan",cardIssuerDeclinedCvv:"Penerbit menolak CVV",voiceAuthorizationRequired:"Otorisasi suara diperlukan",processorDeclinedPossibleLostCard:"Ditolak prosesor – kemungkinan kartu hilang",processorDeclinedPossibleStolenCard:"Ditolak prosesor – kemungkinan kartu dicuri",processorDeclinedFraudSuspected:"Ditolak prosesor – dicurigai penipuan",transactionNotAllowed:"Transaksi tidak diizinkan",duplicateTransaction:"Transaksi duplikat",cardholderStoppedBilling:"Pemegang kartu menghentikan penagihan",cardholderStoppedAllBilling:"Pemegang kartu menghentikan semua penagihan",invalidTransaction:"Transaksi tidak valid",violation:"Pelanggaran",securityViolation:"Pelanggaran keamanan",declinedUpdatedCardholderAvailable:"Ditolak – data pemegang kartu yang diperbarui tersedia",processorDoesNotSupportThisFeature:"Prosesor tidak mendukung fitur ini",cardTypeNotEnabled:"Jenis kartu belum diaktifkan",setUpErrorMerchant:"Kesalahan pengaturan – pedagang",invalidMerchantId:"ID pedagang tidak valid",setUpErrorAmount:"Kesalahan pengaturan – jumlah",setUpErrorHierarchy:"Kesalahan pengaturan – hierarki",setUpErrorCard:"Kesalahan pengaturan – kartu",setUpErrorTerminal:"Kesalahan pengaturan – terminal",encryptionError:"Kesalahan enkripsi",surchargeNotPermitted:"Biaya tambahan tidak diizinkan",inconsistentData:"Data tidak konsisten",noActionTaken:"Tidak ada tindakan yang dilakukan",partialApprovalForAmountInGroupIiiVersion:"Persetujuan sebagian untuk jumlah (versi Group III)",authorizationCouldNotBeFound:"Otorisasi tidak ditemukan",alreadyReversed:"Sudah dibatalkan",processorDeclined:"Ditolak oleh prosesor",invalidAuthorizationCode:"Kode otorisasi tidak valid",invalidStore:"Toko tidak valid",declinedCallForApproval:"Ditolak – hubungi untuk persetujuan",invalidClientId:"ID klien tidak valid",errorDoNotRetryCallIssuer:"Kesalahan – jangan coba lagi, hubungi penerbit",declinedCallIssuer:"Ditolak – hubungi penerbit",invalidMerchantNumber:"Nomor pedagang tidak valid",declined:"Ditolak",callIssuerPickUpCard:"Hubungi penerbit. Ambil kartu",invalidAmount:"Jumlah tidak valid",invalidSkuNumber:"Nomor SKU tidak valid",invalidCreditPlan:"Rencana kredit tidak valid",creditCardNumberDoesNotMatchMethodOfPayment:"Nomor kartu tidak cocok dengan metode pembayaran",invalidLevelIiiPurchase:"Pembelian tingkat III tidak valid",cardReportedAsLostOrStolen:"Kartu dilaporkan hilang atau dicuri",reversalAmountDoesNotMatchAuthorizationAmount:"Jumlah pembalikan tidak cocok dengan jumlah otorisasi",invalidTransactionDivisionNumber:"Nomor divisi transaksi tidak valid",transactionAmountExceedsTheTransactionDivisionLimit:"Jumlah transaksi melebihi batas divisi",issuerOrCardholderHasPutARestrictionOnTheCard:"Penerbit atau pemegang kartu memberikan pembatasan pada kartu",merchantNotMastercardSecurecodeEnabled:"Pedagang belum mengaktifkan Mastercard SecureCode",addressVerificationFailed:"Verifikasi alamat gagal",addressVerificationAndCardSecurityCodeFailed:"Verifikasi alamat dan kode keamanan gagal",invalidTransactionData:"Data transaksi tidak valid",invalidTaxAmount:"Jumlah pajak tidak valid",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Preferensi akun bisnis PayPal menyebabkan transaksi gagal",invalidCurrencyCode:"Kode mata uang tidak valid",refundTimeLimitExceeded:"Batas waktu pengembalian dana terlampaui",paypalBusinessAccountRestricted:"Akun bisnis PayPal dibatasi",authorizationExpired:"Otorisasi kedaluwarsa",paypalBusinessAccountLockedOrClosed:"Akun bisnis PayPal dikunci atau ditutup",paypalBlockingDuplicateOrderIds:"PayPal memblokir ID pesanan duplikat",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Pembeli PayPal mencabut otorisasi pembayaran yang disetujui sebelumnya",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Akun penerima PayPal tidak valid atau tidak memiliki email terkonfirmasi",paypalPayeeEmailIncorrectlyFormatted:"Email penerima PayPal salah format",paypalValidationError:"Kesalahan validasi PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Instrumen pembayaran di akun PayPal ditolak oleh prosesor atau bank, atau tidak dapat digunakan untuk pembayaran ini",payerAccountIsLockedOrClosed:"Akun pembayar terkunci atau ditutup",payerCannotPayForThisTransactionWithPaypal:"Pembayar tidak dapat membayar transaksi ini dengan PayPal",transactionRefusedDueToPaypalRiskModel:"Transaksi ditolak karena model risiko PayPal",invalidSecurePaymentData:"Data pembayaran aman tidak valid",paypalMerchantAccountConfigurationError:"Kesalahan konfigurasi akun pedagang PayPal",invalidUserCredentials:"Kredensial pengguna tidak valid",paypalPendingPaymentsAreNotSupported:"Pembayaran PayPal yang tertunda tidak didukung",paypalDomesticTransactionRequired:"Transaksi domestik PayPal diperlukan",paypalPhoneNumberRequired:"Nomor telepon PayPal diperlukan",paypalTaxInfoRequired:"Informasi pajak PayPal diperlukan",paypalPayeeBlockedTransaction:"Penerima PayPal memblokir transaksi",paypalTransactionLimitExceeded:"Batas transaksi PayPal terlampaui",paypalReferenceTransactionsNotEnabledForYourAccount:"Transaksi referensi PayPal tidak diaktifkan untuk akun Anda",currencyNotEnabledForYourPaypalSellerAccount:"Mata uang tidak diaktifkan untuk akun penjual PayPal Anda",paypalPayeeEmailPermissionDeniedForThisRequest:"Izin email penerima PayPal ditolak untuk permintaan ini",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Akun PayPal atau Venmo tidak dikonfigurasi untuk mengembalikan dana lebih dari jumlah yang diselesaikan",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Mata uang transaksi ini harus sesuai dengan mata uang akun PayPal Anda",noDataFoundTryAnotherVerificationMethod:"Data tidak ditemukan — coba metode verifikasi lain",paypalPaymentMethodIsInvalid:"Metode pembayaran PayPal tidak valid",paypalPaymentHasAlreadyBeenCompleted:"Pembayaran PayPal sudah diselesaikan",paypalRefundIsNotAllowedAfterPartialRefund:"Pengembalian dana PayPal tidak diizinkan setelah pengembalian sebagian",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Akun pembeli PayPal tidak boleh sama dengan akun penjual",paypalAuthorizationAmountLimitExceeded:"Batas jumlah otorisasi PayPal terlampaui",paypalAuthorizationCountLimitExceeded:"Batas jumlah otorisasi PayPal terlampaui",cardholderAuthenticationRequired:"Diperlukan autentikasi pemegang kartu",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Penagihan yang dimulai saluran PayPal tidak diaktifkan untuk akun Anda",additionalAuthorizationRequired:"Otorisasi tambahan diperlukan",incorrectPin:"PIN salah",pinTryExceeded:"Batas percobaan PIN terlampaui",offlineIssuerDeclined:"Penerbit offline menolak",cannotAuthorizeAtThisTimeLifeCycle:"Tidak dapat mengotorisasi saat ini (siklus hidup)",cannotAuthorizeAtThisTimePolicy:"Tidak dapat mengotorisasi saat ini (kebijakan)",cardNotActivated:"Kartu belum diaktifkan",closedCard:"Kartu ditutup",processorNetworkUnavailableTryAgain:"Jaringan prosesor tidak tersedia – coba lagi",errorText:"Kesalahan",venmoClosed:"Jendela ditutup sebelum tokenisasi dapat dilakukan.",paypalClosed:"Jendela ditutup, tidak dapat menentukan tipe",paypalPopupClosed:"Terdeteksi penutupan jendela pop-up",applePayClosed:"Dibatalkan"}},it:{card:{title:"Modalità di pagamento",number:{label:"Numero di carta",error:{required:"OBBLIGATORIO",invalid:"Il numero della carta non è valido",incomplete:"Il numero della carta è incompleto",unsupported:"Tipo di carta non supportato"}},expiry:{label:"Data di scadenza",placeholder:"MM / AA",error:{required:"OBBLIGATORIO",incomplete:"La data di scadenza della carta non è completa",invalid:"La data di scadenza della carta non è valida",expired:"La tua carta è scaduta"}},cvc:{label:"Codice di sicurezza",placeholder:"CVC",error:{required:"OBBLIGATORIO",incomplete:"Il codice di sicurezza della carta non è completo",invalid:"Il CVC della carta non è valido"}},name:{label:"Nome del titolare della carta",placeholder:"Nome e cognome",error:{required:"OBBLIGATORIO",invalid:"Inserisci il tuo nome completo"}},pay:{button:"Paga"},compact:{button:"Carta"}},status:{success:"Il successo",error:"Non siamo in grado di autenticare il suo metodo di pagamento. Scegliere un altro metodo di pagamento e riprovare."},errors:{doNotHonor:"Rifiutato senza spiegazione",insufficientFunds:"Fondi insufficienti",limitExceeded:"Limite superato",cardholdersActivityLimitExceeded:"Limite di attività del titolare superato",expiredCard:"Carta scaduta",invalidCreditCardNumber:"Numero di carta non valido",invalidExpirationDate:"Data di scadenza non valida",noAccount:"Nessun conto",cardAccountLengthError:"Lunghezza del numero di conto errata",noSuchIssuer:"Emittente inesistente",cardIssuerDeclinedCvv:"L'emittente ha rifiutato il CVV",voiceAuthorizationRequired:"Autorizzazione vocale richiesta",processorDeclinedPossibleLostCard:"Rifiutato dal processore – possibile carta smarrita",processorDeclinedPossibleStolenCard:"Rifiutato dal processore – possibile carta rubata",processorDeclinedFraudSuspected:"Rifiutato dal processore – sospetto di frode",transactionNotAllowed:"Transazione non consentita",duplicateTransaction:"Transazione duplicata",cardholderStoppedBilling:"Il titolare ha interrotto la fatturazione",cardholderStoppedAllBilling:"Il titolare ha interrotto tutti gli addebiti",invalidTransaction:"Transazione non valida",violation:"Violazione",securityViolation:"Violazione della sicurezza",declinedUpdatedCardholderAvailable:"Rifiutato – dati del titolare aggiornati disponibili",processorDoesNotSupportThisFeature:"Il processore non supporta questa funzionalità",cardTypeNotEnabled:"Tipo di carta non abilitato",setUpErrorMerchant:"Errore di configurazione – esercente",invalidMerchantId:"ID esercente non valido",setUpErrorAmount:"Errore di configurazione – importo",setUpErrorHierarchy:"Errore di configurazione – gerarchia",setUpErrorCard:"Errore di configurazione – carta",setUpErrorTerminal:"Errore di configurazione – terminale",encryptionError:"Errore di crittografia",surchargeNotPermitted:"Sovrapprezzo non consentito",inconsistentData:"Dati incoerenti",noActionTaken:"Nessuna azione intrapresa",partialApprovalForAmountInGroupIiiVersion:"Approvazione parziale dell'importo (versione Group III)",authorizationCouldNotBeFound:"Autorizzazione non trovata",alreadyReversed:"Già stornato",processorDeclined:"Rifiutato dal processore",invalidAuthorizationCode:"Codice di autorizzazione non valido",invalidStore:"Negozio non valido",declinedCallForApproval:"Rifiutato – chiamare per approvazione",invalidClientId:"ID cliente non valido",errorDoNotRetryCallIssuer:"Errore – non riprovare, contattare l'emittente",declinedCallIssuer:"Rifiutato – contattare l'emittente",invalidMerchantNumber:"Numero esercente non valido",declined:"Rifiutato",callIssuerPickUpCard:"Chiamare l'emittente. Ritirare la carta",invalidAmount:"Importo non valido",invalidSkuNumber:"Numero SKU non valido",invalidCreditPlan:"Piano di credito non valido",creditCardNumberDoesNotMatchMethodOfPayment:"Il numero di carta non corrisponde al metodo di pagamento",invalidLevelIiiPurchase:"Acquisto di livello III non valido",cardReportedAsLostOrStolen:"Carta segnalata come smarrita o rubata",reversalAmountDoesNotMatchAuthorizationAmount:"L'importo dello storno non corrisponde all'importo autorizzato",invalidTransactionDivisionNumber:"Numero di divisione transazione non valido",transactionAmountExceedsTheTransactionDivisionLimit:"L'importo della transazione supera il limite della divisione",issuerOrCardholderHasPutARestrictionOnTheCard:"L’emittente o il titolare hanno posto una restrizione sulla carta",merchantNotMastercardSecurecodeEnabled:"L’esercente non ha attivato Mastercard SecureCode",addressVerificationFailed:"Verifica dell’indirizzo non riuscita",addressVerificationAndCardSecurityCodeFailed:"Verifica indirizzo e codice di sicurezza non riuscita",invalidTransactionData:"Dati transazione non validi",invalidTaxAmount:"Importo imposta non valido",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Le preferenze del conto business PayPal hanno causato il fallimento della transazione",invalidCurrencyCode:"Codice valuta non valido",refundTimeLimitExceeded:"Tempo limite di rimborso superato",paypalBusinessAccountRestricted:"Conto business PayPal limitato",authorizationExpired:"Autorizzazione scaduta",paypalBusinessAccountLockedOrClosed:"Conto business PayPal bloccato o chiuso",paypalBlockingDuplicateOrderIds:"PayPal sta bloccando ID ordine duplicati",paypalBuyerRevokedPreApprovedPaymentAuthorization:"L’acquirente PayPal ha revocato l’autorizzazione di pagamento pre-approvata",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Il conto del beneficiario PayPal è non valido o non ha un’e-mail confermata",paypalPayeeEmailIncorrectlyFormatted:"E-mail del beneficiario PayPal formattata in modo errato",paypalValidationError:"Errore di validazione PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Lo strumento di pagamento nel conto PayPal è stato rifiutato dal processore o dalla banca, oppure non può essere utilizzato per questo pagamento",payerAccountIsLockedOrClosed:"Il conto del pagatore è bloccato o chiuso",payerCannotPayForThisTransactionWithPaypal:"Il pagatore non può pagare questa transazione con PayPal",transactionRefusedDueToPaypalRiskModel:"Transazione rifiutata a causa del modello di rischio PayPal",invalidSecurePaymentData:"Dati di pagamento sicuro non validi",paypalMerchantAccountConfigurationError:"Errore di configurazione del conto esercente PayPal",invalidUserCredentials:"Credenziali utente non valide",paypalPendingPaymentsAreNotSupported:"I pagamenti in sospeso PayPal non sono supportati",paypalDomesticTransactionRequired:"È richiesta una transazione nazionale PayPal",paypalPhoneNumberRequired:"Numero di telefono PayPal richiesto",paypalTaxInfoRequired:"Informazioni fiscali PayPal richieste",paypalPayeeBlockedTransaction:"Il beneficiario PayPal ha bloccato la transazione",paypalTransactionLimitExceeded:"Limite di transazioni PayPal superato",paypalReferenceTransactionsNotEnabledForYourAccount:"Transazioni di riferimento PayPal non abilitate per il tuo account",currencyNotEnabledForYourPaypalSellerAccount:"Valuta non abilitata per il tuo account venditore PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Permesso e-mail del beneficiario PayPal negato per questa richiesta",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Account PayPal o Venmo non configurato per rimborsare oltre l’importo liquidato",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"La valuta di questa transazione deve corrispondere a quella del tuo account PayPal",noDataFoundTryAnotherVerificationMethod:"Nessun dato trovato — prova un altro metodo di verifica",paypalPaymentMethodIsInvalid:"Metodo di pagamento PayPal non valido",paypalPaymentHasAlreadyBeenCompleted:"Il pagamento PayPal è già stato completato",paypalRefundIsNotAllowedAfterPartialRefund:"Rimborso PayPal non consentito dopo un rimborso parziale",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"L'account acquirente PayPal non può coincidere con quello del venditore",paypalAuthorizationAmountLimitExceeded:"Limite dell'importo di autorizzazione PayPal superato",paypalAuthorizationCountLimitExceeded:"Limite del numero di autorizzazioni PayPal superato",cardholderAuthenticationRequired:"Autenticazione del titolare richiesta",paypalChannelInitiatedBillingNotEnabledForYourAccount:"La fatturazione avviata dal canale PayPal non è abilitata per il tuo account",additionalAuthorizationRequired:"Autorizzazione aggiuntiva richiesta",incorrectPin:"PIN errato",pinTryExceeded:"Numero di tentativi PIN superato",offlineIssuerDeclined:"Emittente offline – rifiutato",cannotAuthorizeAtThisTimeLifeCycle:"Impossibile autorizzare in questo momento (ciclo di vita)",cannotAuthorizeAtThisTimePolicy:"Impossibile autorizzare in questo momento (politica)",cardNotActivated:"Carta non attivata",closedCard:"Carta chiusa",processorNetworkUnavailableTryAgain:"Rete del processore non disponibile – riprova",errorText:"Errore",venmoClosed:"La finestra è stata chiusa prima che la tokenizzazione potesse avvenire.",paypalClosed:"La finestra è chiusa, impossibile determinare il tipo",paypalPopupClosed:"Rilevata chiusura del popup",applePayClosed:"Annullato"}},ja:{card:{title:"支払い方法",number:{label:"カード番号",error:{required:"必須",invalid:"カード番号が無効です",incomplete:"カード番号に不備があります",unsupported:"サポートされていないカードタイプ"}},expiry:{label:"有効期限",placeholder:"MM (月) / YY (年)",error:{required:"必須",incomplete:"カードの有効期限に不備があります",invalid:"カードの有効期間の満了月が無効です",expired:"カードの有効期限が切れています"}},cvc:{label:"セキュリティコード",placeholder:"セキュリティコード",error:{required:"必須",incomplete:"カードのセキュリティコードに不備があります",invalid:"カードのセキュリティコードが無効です"}},name:{label:"カード保有者の名前",placeholder:"氏名",error:{required:"必須",invalid:"氏名を入力してください"}},pay:{button:"支払う"},compact:{button:"カード"}},status:{success:"成功",error:"お客様のお支払い方法を認証できません。別のお支払い方法を選択し、再度お試しください。"},errors:{doNotHonor:"承認不可(理由なし)",insufficientFunds:"残高不足",limitExceeded:"限度額超過",cardholdersActivityLimitExceeded:"カード保有者の利用上限を超過",expiredCard:"カードの有効期限切れ",invalidCreditCardNumber:"無効なカード番号",invalidExpirationDate:"無効な有効期限",noAccount:"口座なし",cardAccountLengthError:"カード口座番号の桁数エラー",noSuchIssuer:"発行会社が存在しません",cardIssuerDeclinedCvv:"発行会社がCVVを拒否",voiceAuthorizationRequired:"音声承認が必要です",processorDeclinedPossibleLostCard:"プロセッサにより拒否 – 紛失の可能性",processorDeclinedPossibleStolenCard:"プロセッサにより拒否 – 盗難の可能性",processorDeclinedFraudSuspected:"プロセッサにより拒否 – 不正の疑い",transactionNotAllowed:"取引は許可されていません",duplicateTransaction:"重複取引",cardholderStoppedBilling:"カード保有者が課金を停止",cardholderStoppedAllBilling:"カード保有者がすべての課金を停止",invalidTransaction:"無効な取引",violation:"違反",securityViolation:"セキュリティ違反",declinedUpdatedCardholderAvailable:"拒否 – 更新された保有者情報が利用可能",processorDoesNotSupportThisFeature:"プロセッサはこの機能をサポートしていません",cardTypeNotEnabled:"カード種別が有効化されていません",setUpErrorMerchant:"設定エラー – 加盟店",invalidMerchantId:"無効な加盟店ID",setUpErrorAmount:"設定エラー – 金額",setUpErrorHierarchy:"設定エラー – 階層",setUpErrorCard:"設定エラー – カード",setUpErrorTerminal:"設定エラー – 端末",encryptionError:"暗号化エラー",surchargeNotPermitted:"追加料金は許可されていません",inconsistentData:"不整合なデータ",noActionTaken:"処理は行われませんでした",partialApprovalForAmountInGroupIiiVersion:"金額の一部承認(Group III バージョン)",authorizationCouldNotBeFound:"承認が見つかりません",alreadyReversed:"すでに取消済み",processorDeclined:"プロセッサにより拒否",invalidAuthorizationCode:"無効な承認コード",invalidStore:"無効な店舗",declinedCallForApproval:"拒否 – 承認のために電話してください",invalidClientId:"無効なクライアントID",errorDoNotRetryCallIssuer:"エラー – 再試行しないで、発行会社に連絡",declinedCallIssuer:"拒否 – 発行会社に連絡",invalidMerchantNumber:"無効な加盟店番号",declined:"拒否されました",callIssuerPickUpCard:"発行会社に連絡。カード回収",invalidAmount:"無効な金額",invalidSkuNumber:"無効なSKU番号",invalidCreditPlan:"無効なクレジットプラン",creditCardNumberDoesNotMatchMethodOfPayment:"カード番号が支払い方法と一致しません",invalidLevelIiiPurchase:"無効なレベルIII購入",cardReportedAsLostOrStolen:"カードは紛失または盗難として報告済み",reversalAmountDoesNotMatchAuthorizationAmount:"取消金額が承認金額と一致しません",invalidTransactionDivisionNumber:"無効な取引部門番号",transactionAmountExceedsTheTransactionDivisionLimit:"取引金額が部門の上限を超過",issuerOrCardholderHasPutARestrictionOnTheCard:"発行会社または保有者がカードに制限を設定",merchantNotMastercardSecurecodeEnabled:"加盟店でMastercard SecureCodeが有効化されていません",addressVerificationFailed:"住所確認に失敗しました",addressVerificationAndCardSecurityCodeFailed:"住所確認およびセキュリティコード確認に失敗",invalidTransactionData:"無効な取引データ",invalidTaxAmount:"無効な税額",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPalビジネスアカウントの設定により取引が失敗しました",invalidCurrencyCode:"無効な通貨コード",refundTimeLimitExceeded:"返金期限を超過",paypalBusinessAccountRestricted:"PayPalビジネスアカウントが制限されています",authorizationExpired:"承認の有効期限切れ",paypalBusinessAccountLockedOrClosed:"PayPalビジネスアカウントがロックまたは閉鎖",paypalBlockingDuplicateOrderIds:"PayPalが重複する注文IDをブロック",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal購入者が事前承認済みの支払い承認を取り消しました",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal受取人アカウントが無効、または確認済みメールがありません",paypalPayeeEmailIncorrectlyFormatted:"PayPal受取人のメール形式が不正です",paypalValidationError:"PayPal検証エラー",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPalアカウントの支払手段がプロセッサまたは銀行により拒否、またはこの支払いに使用できません",payerAccountIsLockedOrClosed:"支払者のアカウントがロックまたは閉鎖されています",payerCannotPayForThisTransactionWithPaypal:"支払者はこの取引をPayPalで支払えません",transactionRefusedDueToPaypalRiskModel:"PayPalのリスクモデルにより取引が拒否されました",invalidSecurePaymentData:"無効なセキュア支払いデータ",paypalMerchantAccountConfigurationError:"PayPal加盟店アカウント設定エラー",invalidUserCredentials:"無効なユーザー認証情報",paypalPendingPaymentsAreNotSupported:"保留中のPayPal支払いはサポートされていません",paypalDomesticTransactionRequired:"国内のPayPal取引が必要です",paypalPhoneNumberRequired:"PayPal電話番号が必要です",paypalTaxInfoRequired:"PayPalの税情報が必要です",paypalPayeeBlockedTransaction:"PayPal受取人が取引をブロックしました",paypalTransactionLimitExceeded:"PayPal取引の上限を超過",paypalReferenceTransactionsNotEnabledForYourAccount:"PayPal参照取引はお客様のアカウントで有効化されていません",currencyNotEnabledForYourPaypalSellerAccount:"通貨がお客様のPayPal販売者アカウントで有効化されていません",paypalPayeeEmailPermissionDeniedForThisRequest:"このリクエストでPayPal受取人のメール許可が拒否されました",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPalまたはVenmoアカウントは、決済額を超える返金に対応していません",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"この取引の通貨は、お客様のPayPalアカウントの通貨と一致する必要があります",noDataFoundTryAnotherVerificationMethod:"データが見つかりません — 別の確認方法をお試しください",paypalPaymentMethodIsInvalid:"無効なPayPal支払い方法",paypalPaymentHasAlreadyBeenCompleted:"PayPal支払いはすでに完了しています",paypalRefundIsNotAllowedAfterPartialRefund:"部分返金後のPayPal返金は許可されません",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal購入者のアカウントは販売者のアカウントと同一にはできません",paypalAuthorizationAmountLimitExceeded:"PayPal承認金額の上限を超過",paypalAuthorizationCountLimitExceeded:"PayPal承認回数の上限を超過",cardholderAuthenticationRequired:"カード保有者の認証が必要です",paypalChannelInitiatedBillingNotEnabledForYourAccount:"チャネル開始のPayPal課金はお客様のアカウントで有効化されていません",additionalAuthorizationRequired:"追加の承認が必要です",incorrectPin:"PINが正しくありません",pinTryExceeded:"PINの試行回数が上限を超過",offlineIssuerDeclined:"オフラインの発行会社により拒否",cannotAuthorizeAtThisTimeLifeCycle:"現在は承認できません(ライフサイクル)",cannotAuthorizeAtThisTimePolicy:"現在は承認できません(ポリシー)",cardNotActivated:"カードが有効化されていません",closedCard:"カードが閉鎖されています",processorNetworkUnavailableTryAgain:"プロセッサネットワークが利用できません – 再試行してください",errorText:"エラー",venmoClosed:"トークン化が行われる前にウィンドウが閉じられました。",paypalClosed:"ウィンドウが閉じられているため、種類を判別できません",paypalPopupClosed:"ポップアップの閉鎖を検出しました",applePayClosed:"キャンセルされました"}},ko:{card:{title:"결제 방식",number:{label:"카드 번호",error:{required:"필수",invalid:"카드 번호가 잘못되었습니다",incomplete:"카드 번호가 불완전합니다",unsupported:"지원되지 않는 카드 유형"}},expiry:{label:"만료 날짜",placeholder:"MM / YY",error:{required:"필수",incomplete:"카드의 유효기간 만료일이 불완전합니다",invalid:"카드의 유효기간 만료일이 잘못되었습니다",expired:"카드가 만료되었습니다"}},cvc:{label:"보안 코드",placeholder:"보안 코드(CVC)",error:{required:"필수",incomplete:"카드의 보안 코드가 불완전합니다",invalid:"카드의 보안 코드(CVC)가 잘못되었습니다"}},name:{label:"카드 소유자 이름",placeholder:"성명",error:{required:"필수",invalid:"성명을 입력하십시오"}},pay:{button:"결제"},compact:{button:"카드 번호"}},status:{success:"성공",error:"결제 방법을 인증할 수 없습니다. 다른 결제 방법을 선택하고 다시 시도해 주세요."},errors:{doNotHonor:"사유 없이 승인 거절",insufficientFunds:"잔액 부족",limitExceeded:"한도 초과",cardholdersActivityLimitExceeded:"카드 소지자 활동 한도 초과",expiredCard:"카드 유효기간 만료",invalidCreditCardNumber:"잘못된 카드 번호",invalidExpirationDate:"잘못된 유효기간",noAccount:"계정 없음",cardAccountLengthError:"카드 계좌 번호 길이 오류",noSuchIssuer:"발급사 없음",cardIssuerDeclinedCvv:"발급사가 CVV를 거절함",voiceAuthorizationRequired:"음성 승인 필요",processorDeclinedPossibleLostCard:"프로세서 거절 – 분실 카드 가능성",processorDeclinedPossibleStolenCard:"프로세서 거절 – 도난 카드 가능성",processorDeclinedFraudSuspected:"프로세서 거절 – 사기 의심",transactionNotAllowed:"허용되지 않은 거래",duplicateTransaction:"중복 거래",cardholderStoppedBilling:"카드 소지자가 청구를 중지함",cardholderStoppedAllBilling:"카드 소지자가 모든 청구를 중지함",invalidTransaction:"잘못된 거래",violation:"위반",securityViolation:"보안 위반",declinedUpdatedCardholderAvailable:"거절 – 업데이트된 소지자 정보 사용 가능",processorDoesNotSupportThisFeature:"프로세서가 이 기능을 지원하지 않음",cardTypeNotEnabled:"카드 유형이 활성화되지 않음",setUpErrorMerchant:"설정 오류 – 가맹점",invalidMerchantId:"잘못된 가맹점 ID",setUpErrorAmount:"설정 오류 – 금액",setUpErrorHierarchy:"설정 오류 – 계층",setUpErrorCard:"설정 오류 – 카드",setUpErrorTerminal:"설정 오류 – 단말기",encryptionError:"암호화 오류",surchargeNotPermitted:"추가 수수료 허용되지 않음",inconsistentData:"일관되지 않은 데이터",noActionTaken:"조치 없음",partialApprovalForAmountInGroupIiiVersion:"금액 부분 승인 (Group III 버전)",authorizationCouldNotBeFound:"승인 내역을 찾을 수 없음",alreadyReversed:"이미 원복됨",processorDeclined:"프로세서 거절",invalidAuthorizationCode:"잘못된 승인 코드",invalidStore:"잘못된 매장",declinedCallForApproval:"거절 – 승인을 위해 전화 요청",invalidClientId:"잘못된 클라이언트 ID",errorDoNotRetryCallIssuer:"오류 – 재시도하지 말고 발급사에 문의",declinedCallIssuer:"거절 – 발급사에 문의",invalidMerchantNumber:"잘못된 가맹점 번호",declined:"거절됨",callIssuerPickUpCard:"발급사에 연락. 카드를 회수하십시오",invalidAmount:"잘못된 금액",invalidSkuNumber:"잘못된 SKU 번호",invalidCreditPlan:"잘못된 할부 계획",creditCardNumberDoesNotMatchMethodOfPayment:"카드 번호가 결제 수단과 일치하지 않음",invalidLevelIiiPurchase:"잘못된 레벨 III 결제",cardReportedAsLostOrStolen:"카드가 분실 또는 도난으로 신고됨",reversalAmountDoesNotMatchAuthorizationAmount:"원복 금액이 승인 금액과 일치하지 않음",invalidTransactionDivisionNumber:"잘못된 거래 부문 번호",transactionAmountExceedsTheTransactionDivisionLimit:"거래 금액이 부문 한도를 초과함",issuerOrCardholderHasPutARestrictionOnTheCard:"발급사 또는 소지자가 카드에 제한을 설정",merchantNotMastercardSecurecodeEnabled:"가맹점이 Mastercard SecureCode를 활성화하지 않음",addressVerificationFailed:"주소 확인 실패",addressVerificationAndCardSecurityCodeFailed:"주소 확인 및 보안 코드 실패",invalidTransactionData:"잘못된 거래 데이터",invalidTaxAmount:"잘못된 세금 금액",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal 비즈니스 계정 설정으로 인해 거래가 실패했습니다",invalidCurrencyCode:"잘못된 통화 코드",refundTimeLimitExceeded:"환불 기한 초과",paypalBusinessAccountRestricted:"PayPal 비즈니스 계정이 제한됨",authorizationExpired:"승인 만료",paypalBusinessAccountLockedOrClosed:"PayPal 비즈니스 계정이 잠기거나 해지됨",paypalBlockingDuplicateOrderIds:"PayPal이 중복 주문 ID를 차단",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal 구매자가 사전 승인 결제 권한을 취소함",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal 수취인 계정이 유효하지 않거나 확인된 이메일이 없음",paypalPayeeEmailIncorrectlyFormatted:"PayPal 수취인 이메일 형식이 잘못됨",paypalValidationError:"PayPal 검증 오류",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPal 계정의 결제 수단이 프로세서 또는 은행에 의해 거절되었거나 이 결제에 사용할 수 없음",payerAccountIsLockedOrClosed:"지불인의 계정이 잠기거나 해지됨",payerCannotPayForThisTransactionWithPaypal:"지불인은 이 거래를 PayPal로 결제할 수 없음",transactionRefusedDueToPaypalRiskModel:"PayPal 위험 모델로 인해 거래가 거절됨",invalidSecurePaymentData:"잘못된 보안 결제 데이터",paypalMerchantAccountConfigurationError:"PayPal 가맹점 계정 구성 오류",invalidUserCredentials:"잘못된 사용자 자격 증명",paypalPendingPaymentsAreNotSupported:"보류 중인 PayPal 결제는 지원되지 않음",paypalDomesticTransactionRequired:"국내 PayPal 거래가 필요함",paypalPhoneNumberRequired:"PayPal 전화번호가 필요함",paypalTaxInfoRequired:"PayPal 세금 정보가 필요함",paypalPayeeBlockedTransaction:"PayPal 수취인이 거래를 차단함",paypalTransactionLimitExceeded:"PayPal 거래 한도 초과",paypalReferenceTransactionsNotEnabledForYourAccount:"PayPal 참조 거래가 계정에서 활성화되지 않음",currencyNotEnabledForYourPaypalSellerAccount:"통화가 PayPal 판매자 계정에서 활성화되지 않음",paypalPayeeEmailPermissionDeniedForThisRequest:"이 요청에 대한 PayPal 수취인 이메일 권한이 거부됨",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal 또는 Venmo 계정이 정산 금액을 초과하여 환불하도록 구성되지 않음",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"이 거래의 통화는 PayPal 계정의 통화와 일치해야 함",noDataFoundTryAnotherVerificationMethod:"데이터를 찾을 수 없습니다 — 다른 확인 방법을 시도하세요",paypalPaymentMethodIsInvalid:"유효하지 않은 PayPal 결제 방법",paypalPaymentHasAlreadyBeenCompleted:"PayPal 결제가 이미 완료됨",paypalRefundIsNotAllowedAfterPartialRefund:"부분 환불 후 PayPal 환불은 허용되지 않음",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal 구매자 계정은 판매자 계정과 동일할 수 없음",paypalAuthorizationAmountLimitExceeded:"PayPal 승인 금액 한도 초과",paypalAuthorizationCountLimitExceeded:"PayPal 승인 횟수 한도 초과",cardholderAuthenticationRequired:"카드 소지자 인증 필요",paypalChannelInitiatedBillingNotEnabledForYourAccount:"채널 시작 PayPal 청구가 계정에서 활성화되지 않음",additionalAuthorizationRequired:"추가 승인 필요",incorrectPin:"잘못된 PIN",pinTryExceeded:"PIN 시도 횟수 초과",offlineIssuerDeclined:"오프라인 발급사 거절",cannotAuthorizeAtThisTimeLifeCycle:"현재 승인할 수 없음 (수명 주기)",cannotAuthorizeAtThisTimePolicy:"현재 승인할 수 없음 (정책)",cardNotActivated:"카드가 활성화되지 않음",closedCard:"카드가 해지됨",processorNetworkUnavailableTryAgain:"프로세서 네트워크를 사용할 수 없습니다 – 다시 시도하세요",errorText:"오류",venmoClosed:"토큰화가 진행되기 전에 창이 닫혔습니다.",paypalClosed:"창이 닫혀 있어 유형을 확인할 수 없습니다",paypalPopupClosed:"팝업 창 닫힘 감지됨",applePayClosed:"취소됨"}},lt:{card:{title:"Mokėjimo būdas",number:{label:"Kortelės numeris",error:{required:"PRIVALOMA",invalid:"Negaliojantis kortelės numeris",incomplete:"Neišsamus kortelės numeris",unsupported:"Nepalaikomas kortelės tipas"}},expiry:{label:"Galiojimo pabaigos data",placeholder:"mm / MM",error:{required:"PRIVALOMA",incomplete:"Neišsami jūsų kortelės galiojimo pabaigos data",invalid:"Netinkama jūsų kortelės galiojimo pabaigos data",expired:"Kortelė baigė galioti"}},cvc:{label:"Saugos kodas",placeholder:"CVC",error:{required:"PRIVALOMA",incomplete:"Neišsamus jūsų kortelės saugos kodas",invalid:"Jūsų kortelės CVC negalioja"}},name:{label:"Kortelės turėtojo vardas ir pavardė",placeholder:"Vardas ir pavardė",error:{required:"PRIVALOMA",invalid:"Įveskite ir vardą ir pavardę"}},pay:{button:"Mokėti"},compact:{button:"Kortelė"}},status:{success:"Sėkmė",error:"Negalime patvirtinti jūsų mokėjimo būdo. Pasirinkite kitą mokėjimo būdą ir bandykite dar kartą."},errors:{doNotHonor:"Atmesta be paaiškinimo",insufficientFunds:"Nepakanka lėšų",limitExceeded:"Viršyta riba",cardholdersActivityLimitExceeded:"Viršyta kortelės turėtojo veiklos riba",expiredCard:"Kortelė nebegalioja",invalidCreditCardNumber:"Neteisingas kortelės numeris",invalidExpirationDate:"Neteisinga galiojimo data",noAccount:"Nėra paskyros",cardAccountLengthError:"Neteisingas kortelės sąskaitos numerio ilgis",noSuchIssuer:"Leidėjas neegzistuoja",cardIssuerDeclinedCvv:"Kortelės leidėjas atmetė CVV",voiceAuthorizationRequired:"Reikalingas balso patvirtinimas",processorDeclinedPossibleLostCard:"Procesorius atmetė – galimai prarasta kortelė",processorDeclinedPossibleStolenCard:"Procesorius atmetė – galimai pavogta kortelė",processorDeclinedFraudSuspected:"Procesorius atmetė – įtariamas sukčiavimas",transactionNotAllowed:"Operacija neleidžiama",duplicateTransaction:"Dviguba operacija",cardholderStoppedBilling:"Kortelės turėtojas sustabdė apmokestinimą",cardholderStoppedAllBilling:"Kortelės turėtojas sustabdė visą apmokestinimą",invalidTransaction:"Neteisinga operacija",violation:"Pažeidimas",securityViolation:"Saugumo pažeidimas",declinedUpdatedCardholderAvailable:"Atmesta – prieinami atnaujinti kortelės turėtojo duomenys",processorDoesNotSupportThisFeature:"Procesorius nepalaiko šios funkcijos",cardTypeNotEnabled:"Kortelės tipas neaktyvuotas",setUpErrorMerchant:"Konfigūracijos klaida – prekybininkas",invalidMerchantId:"Neteisingas prekybininko ID",setUpErrorAmount:"Konfigūracijos klaida – suma",setUpErrorHierarchy:"Konfigūracijos klaida – hierarchija",setUpErrorCard:"Konfigūracijos klaida – kortelė",setUpErrorTerminal:"Konfigūracijos klaida – terminalas",encryptionError:"Šifravimo klaida",surchargeNotPermitted:"Papildomas mokestis neleidžiamas",inconsistentData:"Nesuderinti duomenys",noActionTaken:"Veiksmų nebuvo imtasi",partialApprovalForAmountInGroupIiiVersion:"Dalinis sumos patvirtinimas (Group III versija)",authorizationCouldNotBeFound:"Nepavyko rasti autorizacijos",alreadyReversed:"Jau anuliuota",processorDeclined:"Procesorius atmetė",invalidAuthorizationCode:"Neteisingas autorizacijos kodas",invalidStore:"Neteisinga parduotuvė",declinedCallForApproval:"Atmesta – skambinkite patvirtinimui",invalidClientId:"Neteisingas kliento ID",errorDoNotRetryCallIssuer:"Klaida – nebandykite dar kartą, susisiekite su leidėju",declinedCallIssuer:"Atmesta – susisiekite su leidėju",invalidMerchantNumber:"Neteisingas prekybininko numeris",declined:"Atmesta",callIssuerPickUpCard:"Skambinkite leidėjui. Sulaikykite kortelę",invalidAmount:"Neteisinga suma",invalidSkuNumber:"Neteisingas SKU numeris",invalidCreditPlan:"Neteisingas kredito planas",creditCardNumberDoesNotMatchMethodOfPayment:"Kortelės numeris neatitinka mokėjimo metodo",invalidLevelIiiPurchase:"Neteisingas III lygio pirkimas",cardReportedAsLostOrStolen:"Kortelė pranešta kaip pamesta ar pavogta",reversalAmountDoesNotMatchAuthorizationAmount:"Grąžinimo suma neatitinka autorizuotos sumos",invalidTransactionDivisionNumber:"Neteisingas operacijos padalinio numeris",transactionAmountExceedsTheTransactionDivisionLimit:"Operacijos suma viršija padalinio limitą",issuerOrCardholderHasPutARestrictionOnTheCard:"Leidėjas arba kortelės turėtojas uždėjo apribojimą kortelei",merchantNotMastercardSecurecodeEnabled:"Prekybininkas nėra įjungęs Mastercard SecureCode",addressVerificationFailed:"Adreso patvirtinimas nepavyko",addressVerificationAndCardSecurityCodeFailed:"Adreso patvirtinimas ir saugos kodas nepavyko",invalidTransactionData:"Neteisingi operacijos duomenys",invalidTaxAmount:"Neteisinga mokesčio suma",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal verslo paskyros nustatymai lėmė operacijos nesėkmę",invalidCurrencyCode:"Neteisingas valiutos kodas",refundTimeLimitExceeded:"Grąžinimo terminas viršytas",paypalBusinessAccountRestricted:"PayPal verslo paskyra apribota",authorizationExpired:"Autorizacija baigė galioti",paypalBusinessAccountLockedOrClosed:"PayPal verslo paskyra užrakinta arba uždaryta",paypalBlockingDuplicateOrderIds:"PayPal blokuoja dubliuotus užsakymų ID",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal pirkėjas atšaukė iš anksto patvirtintą mokėjimo autorizaciją",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal gavėjo paskyra neteisinga arba neturi patvirtinto el. pašto",paypalPayeeEmailIncorrectlyFormatted:"PayPal gavėjo el. paštas neteisingai suformatuotas",paypalValidationError:"PayPal patvirtinimo klaida",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Mokėjimo priemonė PayPal paskyroje buvo atmesta procesoriaus ar banko arba negali būti naudojama šiam mokėjimui",payerAccountIsLockedOrClosed:"Mokėtojo paskyra užrakinta arba uždaryta",payerCannotPayForThisTransactionWithPaypal:"Mokėtojas negali apmokėti šios operacijos per PayPal",transactionRefusedDueToPaypalRiskModel:"Operacija atmesta dėl PayPal rizikos modelio",invalidSecurePaymentData:"Neteisingi saugaus mokėjimo duomenys",paypalMerchantAccountConfigurationError:"PayPal prekybininko paskyros konfigūracijos klaida",invalidUserCredentials:"Neteisingi naudotojo duomenys",paypalPendingPaymentsAreNotSupported:"Nepatvirtinti PayPal mokėjimai nepalaikomi",paypalDomesticTransactionRequired:"Reikalinga vietinė PayPal operacija",paypalPhoneNumberRequired:"Reikalingas PayPal telefono numeris",paypalTaxInfoRequired:"Reikalinga PayPal mokesčių informacija",paypalPayeeBlockedTransaction:"PayPal gavėjas užblokavo operaciją",paypalTransactionLimitExceeded:"Viršytas PayPal operacijų limitas",paypalReferenceTransactionsNotEnabledForYourAccount:"Nuorodinės operacijos jūsų PayPal paskyrai neįjungtos",currencyNotEnabledForYourPaypalSellerAccount:"Valiuta jūsų PayPal pardavėjo paskyrai neįjungta",paypalPayeeEmailPermissionDeniedForThisRequest:"Prieiga prie PayPal gavėjo el. pašto šiam prašymui nesuteikta",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal ar Venmo paskyra nesukonfigūruota grąžinti daugiau nei atsiskaityta suma",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Šios operacijos valiuta turi sutapti su jūsų PayPal paskyros valiuta",noDataFoundTryAnotherVerificationMethod:"Duomenų nerasta — pabandykite kitą patvirtinimo būdą",paypalPaymentMethodIsInvalid:"Neteisingas PayPal mokėjimo metodas",paypalPaymentHasAlreadyBeenCompleted:"PayPal mokėjimas jau baigtas",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal grąžinimas neleidžiamas po dalinio grąžinimo",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal pirkėjo paskyra negali būti tokia pati kaip pardavėjo",paypalAuthorizationAmountLimitExceeded:"Viršyta PayPal autorizacijos sumos riba",paypalAuthorizationCountLimitExceeded:"Viršyta PayPal autorizacijų skaičiaus riba",cardholderAuthenticationRequired:"Reikalingas kortelės turėtojo autentifikavimas",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalinis PayPal apmokestinimas neįjungtas jūsų paskyrai",additionalAuthorizationRequired:"Reikalinga papildoma autorizacija",incorrectPin:"Neteisingas PIN kodas",pinTryExceeded:"Viršytas PIN bandymų skaičius",offlineIssuerDeclined:"Leidėjas neprisijungęs – atmesta",cannotAuthorizeAtThisTimeLifeCycle:"Šiuo metu negalima autorizuoti (gyvavimo ciklas)",cannotAuthorizeAtThisTimePolicy:"Šiuo metu negalima autorizuoti (politika)",cardNotActivated:"Kortelė neaktyvuota",closedCard:"Kortelė uždaryta",processorNetworkUnavailableTryAgain:"Procesoriaus tinklas nepasiekiamas – bandykite dar kartą",errorText:"Klaida",venmoClosed:"Langas uždarytas prieš atliekant tokenizaciją.",paypalClosed:"Langas uždarytas, negalima nustatyti tipo",paypalPopupClosed:"Aptiktas iššokančiojo lango uždarymas",applePayClosed:"Atšaukta"}},lv:{card:{title:"Maksājumu veids",number:{label:"Kartes numurs",error:{required:"OBLIGĀTI",invalid:"Kartes numurs nav derīgs",incomplete:"Kartes numurs nav pilnīgs",unsupported:"Nepareizs kartes tips"}},expiry:{label:"Derīguma termiņš",placeholder:"MM / YY",error:{required:"OBLIGĀTI",incomplete:"Kartes derīguma termiņa datums nav pilnīgs",invalid:"Kartes derīguma termiņa beigu datums nav derīgs",expired:"Kartes derīgums ir beidzies"}},cvc:{label:"Drošības kods",placeholder:"CVC",error:{required:"OBLIGĀTI",incomplete:"Kartes drošības kods nav pilnīgs",invalid:"Kartes CVC nav derīgs"}},name:{label:"Kartes īpašnieka vārds",placeholder:"Vārds, uzvārds",error:{required:"OBLIGĀTI",invalid:"Norādiet savu vārdu un uzvārdu"}},pay:{button:"Maksāt"},compact:{button:"Karte"}},status:{success:"Panākumi",error:"Mēs nevaram pārbaudīt jūsu maksājuma metodes autentiskumu. Lūdzu, izvēlieties citu maksājumu metodi un mēģiniet vēlreiz."},errors:{doNotHonor:"Noraidīt bez pamatojuma",insufficientFunds:"Nepietiek līdzekļu",limitExceeded:"Pārsniegts limits",cardholdersActivityLimitExceeded:"Pārsniegts kartes īpašnieka aktivitātes limits",expiredCard:"Karte ir beigusies",invalidCreditCardNumber:"Nederīgs kartes numurs",invalidExpirationDate:"Nederīgs derīguma termiņš",noAccount:"Nav konta",cardAccountLengthError:"Kartes konta numura garuma kļūda",noSuchIssuer:"Izdotājs neeksistē",cardIssuerDeclinedCvv:"Karti izdevējs noraidīja CVV",voiceAuthorizationRequired:"Nepieciešama balss autorizācija",processorDeclinedPossibleLostCard:"Procesors noraidīja – iespējams, karte pazudusi",processorDeclinedPossibleStolenCard:"Procesors noraidīja – iespējams, karte nozagta",processorDeclinedFraudSuspected:"Procesors noraidīja – aizdomas par krāpšanu",transactionNotAllowed:"Transakcija nav atļauta",duplicateTransaction:"Dublikāta transakcija",cardholderStoppedBilling:"Kartes īpašnieks apturēja norēķinus",cardholderStoppedAllBilling:"Kartes īpašnieks apturēja visus norēķinus",invalidTransaction:"Nederīga transakcija",violation:"Pārkāpums",securityViolation:"Drošības pārkāpums",declinedUpdatedCardholderAvailable:"Noraidīts – pieejama atjaunināta kartes īpašnieka informācija",processorDoesNotSupportThisFeature:"Procesors neatbalsta šo funkciju",cardTypeNotEnabled:"Kartes tips nav aktivizēts",setUpErrorMerchant:"Konfigurācijas kļūda – tirgotājs",invalidMerchantId:"Nederīgs tirgotāja ID",setUpErrorAmount:"Konfigurācijas kļūda – summa",setUpErrorHierarchy:"Konfigurācijas kļūda – hierarhija",setUpErrorCard:"Konfigurācijas kļūda – karte",setUpErrorTerminal:"Konfigurācijas kļūda – terminālis",encryptionError:"Šifrēšanas kļūda",surchargeNotPermitted:"Papildmaksa nav atļauta",inconsistentData:"Nesaskaņoti dati",noActionTaken:"Darbības netika veiktas",partialApprovalForAmountInGroupIiiVersion:"Daļēja summas apstiprināšana (Group III versija)",authorizationCouldNotBeFound:"Autorizācija netika atrasta",alreadyReversed:"Jau atgriezts",processorDeclined:"Procesors noraidīja",invalidAuthorizationCode:"Nederīgs autorizācijas kods",invalidStore:"Nederīgs veikals",declinedCallForApproval:"Noraidīts – zvaniet apstiprināšanai",invalidClientId:"Nederīgs klienta ID",errorDoNotRetryCallIssuer:"Kļūda – nemēģiniet vēlreiz, sazinieties ar izdevēju",declinedCallIssuer:"Noraidīts – sazinieties ar izdevēju",invalidMerchantNumber:"Nederīgs tirgotāja numurs",declined:"Noraidīts",callIssuerPickUpCard:"Sazinieties ar izdevēju. Ieturiet karti",invalidAmount:"Nederīga summa",invalidSkuNumber:"Nederīgs SKU numurs",invalidCreditPlan:"Nederīgs kredīta plāns",creditCardNumberDoesNotMatchMethodOfPayment:"Kartes numurs neatbilst maksājuma metodei",invalidLevelIiiPurchase:"Nederīgs III līmeņa pirkums",cardReportedAsLostOrStolen:"Karte ziņota kā nozagta vai pazaudēta",reversalAmountDoesNotMatchAuthorizationAmount:"Atgriešanas summa neatbilst autorizētajai summai",invalidTransactionDivisionNumber:"Nederīgs transakcijas nodaļas numurs",transactionAmountExceedsTheTransactionDivisionLimit:"Transakcijas summa pārsniedz nodaļas limitu",issuerOrCardholderHasPutARestrictionOnTheCard:"Izdotājs vai kartes īpašnieks uzlika ierobežojumu kartei",merchantNotMastercardSecurecodeEnabled:"Tirgotājs nav aktivizējis Mastercard SecureCode",addressVerificationFailed:"Adreses pārbaude neizdevās",addressVerificationAndCardSecurityCodeFailed:"Adreses pārbaude un drošības kods neizdevās",invalidTransactionData:"Nederīgi transakcijas dati",invalidTaxAmount:"Nederīga nodokļa summa",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal biznesa konta iestatījumi izraisīja transakcijas neveiksmi",invalidCurrencyCode:"Nederīgs valūtas kods",refundTimeLimitExceeded:"Atmaksas termiņš pārsniegts",paypalBusinessAccountRestricted:"PayPal biznesa konts ir ierobežots",authorizationExpired:"Autorizācija beigusies",paypalBusinessAccountLockedOrClosed:"PayPal biznesa konts ir bloķēts vai slēgts",paypalBlockingDuplicateOrderIds:"PayPal bloķē dublētus pasūtījumu ID",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal pircējs atsauca iepriekš apstiprinātu maksājuma autorizāciju",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal saņēmēja konts ir nederīgs vai nav apstiprinātas e‑pasta adreses",paypalPayeeEmailIncorrectlyFormatted:"PayPal saņēmēja e‑pasts nepareizi formatēts",paypalValidationError:"PayPal validācijas kļūda",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Maksāšanas līdzeklis PayPal kontā tika noraidīts procesora vai bankas dēļ, vai to nevar izmantot šim maksājumam",payerAccountIsLockedOrClosed:"Maksātāja konts ir bloķēts vai slēgts",payerCannotPayForThisTransactionWithPaypal:"Maksātājs nevar apmaksāt šo transakciju ar PayPal",transactionRefusedDueToPaypalRiskModel:"Transakcija noraidīta PayPal riska modeļa dēļ",invalidSecurePaymentData:"Nederīgi drošas maksāšanas dati",paypalMerchantAccountConfigurationError:"PayPal tirgotāja konta konfigurācijas kļūda",invalidUserCredentials:"Nederīgi lietotāja akreditācijas dati",paypalPendingPaymentsAreNotSupported:"PayPal gaidošie maksājumi netiek atbalstīti",paypalDomesticTransactionRequired:"Nepieciešama iekšzemes PayPal transakcija",paypalPhoneNumberRequired:"Nepieciešams PayPal tālruņa numurs",paypalTaxInfoRequired:"Nepieciešama PayPal nodokļu informācija",paypalPayeeBlockedTransaction:"PayPal saņēmējs bloķēja transakciju",paypalTransactionLimitExceeded:"Pārsniegts PayPal transakciju limits",paypalReferenceTransactionsNotEnabledForYourAccount:"Atsauces transakcijas nav aktivizētas jūsu PayPal kontā",currencyNotEnabledForYourPaypalSellerAccount:"Valūta nav aktivizēta jūsu PayPal pārdevēja kontā",paypalPayeeEmailPermissionDeniedForThisRequest:"Pieeja PayPal saņēmēja e‑pastam šim pieprasījumam liegta",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal vai Venmo konts nav konfigurēts atmaksai virs norēķinātās summas",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Šīs transakcijas valūtai jāsakrīt ar jūsu PayPal konta valūtu",noDataFoundTryAnotherVerificationMethod:"Dati nav atrasti — mēģiniet citu pārbaudes metodi",paypalPaymentMethodIsInvalid:"Nederīga PayPal maksājuma metode",paypalPaymentHasAlreadyBeenCompleted:"PayPal maksājums jau ir pabeigts",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal atmaksa nav atļauta pēc daļējas atmaksas",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal pircēja konts nevar būt tas pats, kas pārdevēja konts",paypalAuthorizationAmountLimitExceeded:"Pārsniegts PayPal autorizācijas summas limits",paypalAuthorizationCountLimitExceeded:"Pārsniegts PayPal autorizāciju skaita limits",cardholderAuthenticationRequired:"Nepieciešama kartes turētāja autentifikācija",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanāla iniciēta PayPal rēķinu izrakstīšana nav aktivizēta jūsu kontam",additionalAuthorizationRequired:"Nepieciešama papildu autorizācija",incorrectPin:"Nepareizs PIN",pinTryExceeded:"PIN mēģinājumu skaits pārsniegts",offlineIssuerDeclined:"Izdevējs bezsaistē – noraidīts",cannotAuthorizeAtThisTimeLifeCycle:"Šobrīd nevar autorizēt (dzīves cikls)",cannotAuthorizeAtThisTimePolicy:"Šobrīd nevar autorizēt (politika)",cardNotActivated:"Karte nav aktivizēta",closedCard:"Karte slēgta",processorNetworkUnavailableTryAgain:"Procesora tīkls nav pieejams – mēģiniet vēlreiz",errorText:"Kļūda",venmoClosed:"Logs tika aizvērts pirms notika tokenizācija.",paypalClosed:"Logs ir aizvērts, nav iespējams noteikt tipu",paypalPopupClosed:"Konstatēta uznirstošā loga aizvēršana",applePayClosed:"Atcelts"}},ms:{card:{title:"Kaedah pembayaran",number:{label:"Nombor kad",error:{required:"DIPERLUKAN",invalid:"Nombor kad anda tidak sah",incomplete:"Nombor kad anda tidak lengkap",unsupported:"Tipe kad tidak sah"}},expiry:{label:"Tarikh tamat tempoh",placeholder:"BB / TT",error:{required:"DIPERLUKAN",incomplete:"Tarikh tamat tempoh kad anda tidak lengkap",invalid:"Tarikh tamat tempoh kad anda tidak sah",expired:"Kad anda telah tamat tempoh"}},cvc:{label:"Kod keselamatan",placeholder:"CVC",error:{required:"DIPERLUKAN",incomplete:"Kod keselamatan kad anda tidak lengkap",invalid:"CVC kad anda tidak sah"}},name:{label:"Nama pemegang kad",placeholder:"Nama penuh",error:{required:"DIPERLUKAN",invalid:"Sila berikan nama penuh anda"}},pay:{button:"Bayar"},compact:{button:"Kad"}},status:{success:"Kejayaan",error:"Kami tidak dapat mengesahkan kaedah pembayaran anda. Sila pilih kaedah pembayaran lain dan cuba lagi."},errors:{doNotHonor:"Ditolak tanpa alasan",insufficientFunds:"Dana tidak mencukupi",limitExceeded:"Had melebihi",cardholdersActivityLimitExceeded:"Had aktiviti pemegang kad melebihi",expiredCard:"Kad tamat tempoh",invalidCreditCardNumber:"Nombor kad tidak sah",invalidExpirationDate:"Tarikh tamat tempoh tidak sah",noAccount:"Tiada akaun",cardAccountLengthError:"Panjang nombor akaun kad tidak sah",noSuchIssuer:"Penerbit tidak ditemui",cardIssuerDeclinedCvv:"Penerbit menolak CVV",voiceAuthorizationRequired:"Kebenaran suara diperlukan",processorDeclinedPossibleLostCard:"Ditolak pemproses – kemungkinan kad hilang",processorDeclinedPossibleStolenCard:"Ditolak pemproses – kemungkinan kad dicuri",processorDeclinedFraudSuspected:"Ditolak pemproses – disyaki penipuan",transactionNotAllowed:"Transaksi tidak dibenarkan",duplicateTransaction:"Transaksi pendua",cardholderStoppedBilling:"Pemegang kad menghentikan pengebilan",cardholderStoppedAllBilling:"Pemegang kad menghentikan semua pengebilan",invalidTransaction:"Transaksi tidak sah",violation:"Pelanggaran",securityViolation:"Pelanggaran keselamatan",declinedUpdatedCardholderAvailable:"Ditolak – maklumat pemegang kad yang dikemas kini tersedia",processorDoesNotSupportThisFeature:"Pemproses tidak menyokong ciri ini",cardTypeNotEnabled:"Jenis kad tidak didayakan",setUpErrorMerchant:"Ralat persediaan – peniaga",invalidMerchantId:"ID peniaga tidak sah",setUpErrorAmount:"Ralat persediaan – jumlah",setUpErrorHierarchy:"Ralat persediaan – hierarki",setUpErrorCard:"Ralat persediaan – kad",setUpErrorTerminal:"Ralat persediaan – terminal",encryptionError:"Ralat penyulitan",surchargeNotPermitted:"Caj tambahan tidak dibenarkan",inconsistentData:"Data tidak konsisten",noActionTaken:"Tiada tindakan diambil",partialApprovalForAmountInGroupIiiVersion:"Kelulusan sebahagian untuk jumlah (versi Group III)",authorizationCouldNotBeFound:"Kebenaran tidak ditemui",alreadyReversed:"Sudah diterbalikkan",processorDeclined:"Ditolak oleh pemproses",invalidAuthorizationCode:"Kod kebenaran tidak sah",invalidStore:"Kedai tidak sah",declinedCallForApproval:"Ditolak – hubungi untuk kelulusan",invalidClientId:"ID klien tidak sah",errorDoNotRetryCallIssuer:"Ralat – jangan cuba lagi, hubungi penerbit",declinedCallIssuer:"Ditolak – hubungi penerbit",invalidMerchantNumber:"Nombor peniaga tidak sah",declined:"Ditolak",callIssuerPickUpCard:"Hubungi penerbit. Ambil kad",invalidAmount:"Jumlah tidak sah",invalidSkuNumber:"Nombor SKU tidak sah",invalidCreditPlan:"Pelan kredit tidak sah",creditCardNumberDoesNotMatchMethodOfPayment:"Nombor kad tidak sepadan dengan kaedah pembayaran",invalidLevelIiiPurchase:"Pembelian Tahap III tidak sah",cardReportedAsLostOrStolen:"Kad dilaporkan hilang atau dicuri",reversalAmountDoesNotMatchAuthorizationAmount:"Jumlah pembalikan tidak sepadan dengan jumlah kebenaran",invalidTransactionDivisionNumber:"Nombor bahagian transaksi tidak sah",transactionAmountExceedsTheTransactionDivisionLimit:"Jumlah transaksi melebihi had bahagian",issuerOrCardholderHasPutARestrictionOnTheCard:"Penerbit atau pemegang kad mengenakan sekatan pada kad",merchantNotMastercardSecurecodeEnabled:"Peniaga tidak mendayakan Mastercard SecureCode",addressVerificationFailed:"Pengesahan alamat gagal",addressVerificationAndCardSecurityCodeFailed:"Pengesahan alamat dan kod keselamatan gagal",invalidTransactionData:"Data transaksi tidak sah",invalidTaxAmount:"Jumlah cukai tidak sah",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Keutamaan akaun perniagaan PayPal menyebabkan transaksi gagal",invalidCurrencyCode:"Kod mata wang tidak sah",refundTimeLimitExceeded:"Had masa bayaran balik melebihi",paypalBusinessAccountRestricted:"Akaun perniagaan PayPal terhad",authorizationExpired:"Kebenaran tamat tempoh",paypalBusinessAccountLockedOrClosed:"Akaun perniagaan PayPal dikunci atau ditutup",paypalBlockingDuplicateOrderIds:"PayPal menyekat ID pesanan pendua",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Pembeli PayPal membatalkan kebenaran pembayaran prakelulusan",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Akaun penerima PayPal tidak sah atau tiada e‑mel yang disahkan",paypalPayeeEmailIncorrectlyFormatted:"E‑mel penerima PayPal tidak diformat dengan betul",paypalValidationError:"Ralat pengesahan PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Instrumen pembayaran dalam akaun PayPal telah ditolak oleh pemproses atau bank, atau tidak boleh digunakan untuk pembayaran ini",payerAccountIsLockedOrClosed:"Akaun pembayar dikunci atau ditutup",payerCannotPayForThisTransactionWithPaypal:"Pembayar tidak boleh membayar transaksi ini dengan PayPal",transactionRefusedDueToPaypalRiskModel:"Transaksi ditolak kerana model risiko PayPal",invalidSecurePaymentData:"Data pembayaran selamat tidak sah",paypalMerchantAccountConfigurationError:"Ralat konfigurasi akaun pedagang PayPal",invalidUserCredentials:"Kelayakan pengguna tidak sah",paypalPendingPaymentsAreNotSupported:"Pembayaran PayPal yang belum selesai tidak disokong",paypalDomesticTransactionRequired:"Transaksi domestik PayPal diperlukan",paypalPhoneNumberRequired:"Nombor telefon PayPal diperlukan",paypalTaxInfoRequired:"Maklumat cukai PayPal diperlukan",paypalPayeeBlockedTransaction:"Penerima PayPal menyekat transaksi",paypalTransactionLimitExceeded:"Had transaksi PayPal melebihi",paypalReferenceTransactionsNotEnabledForYourAccount:"Transaksi rujukan PayPal tidak didayakan untuk akaun anda",currencyNotEnabledForYourPaypalSellerAccount:"Mata wang tidak didayakan untuk akaun penjual PayPal anda",paypalPayeeEmailPermissionDeniedForThisRequest:"Kebenaran e‑mel penerima PayPal ditolak untuk permintaan ini",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Akaun PayPal atau Venmo tidak dikonfigurasi untuk memulangkan lebih daripada jumlah yang diselesaikan",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Mata wang transaksi ini mesti sepadan dengan mata wang akaun PayPal anda",noDataFoundTryAnotherVerificationMethod:"Tiada data ditemui — cuba kaedah pengesahan lain",paypalPaymentMethodIsInvalid:"Kaedah pembayaran PayPal tidak sah",paypalPaymentHasAlreadyBeenCompleted:"Pembayaran PayPal telah selesai",paypalRefundIsNotAllowedAfterPartialRefund:"Bayaran balik PayPal tidak dibenarkan selepas bayaran balik sebahagian",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Akaun pembeli PayPal tidak boleh sama dengan akaun penjual",paypalAuthorizationAmountLimitExceeded:"Had jumlah kebenaran PayPal melebihi",paypalAuthorizationCountLimitExceeded:"Had bilangan kebenaran PayPal melebihi",cardholderAuthenticationRequired:"Pengesahan pemegang kad diperlukan",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Pengebilan dimulakan saluran PayPal tidak didayakan untuk akaun anda",additionalAuthorizationRequired:"Kebenaran tambahan diperlukan",incorrectPin:"PIN tidak betul",pinTryExceeded:"Percubaan PIN melebihi had",offlineIssuerDeclined:"Penerbit luar talian menolak",cannotAuthorizeAtThisTimeLifeCycle:"Tidak dapat mengesahkan pada masa ini (kitaran hayat)",cannotAuthorizeAtThisTimePolicy:"Tidak dapat mengesahkan pada masa ini (dasar)",cardNotActivated:"Kad belum diaktifkan",closedCard:"Kad ditutup",processorNetworkUnavailableTryAgain:"Rangkaian pemproses tidak tersedia – cuba lagi",errorText:"Ralat",venmoClosed:"Tetingkap ditutup sebelum tokenisasi dapat dilakukan.",paypalClosed:"Tetingkap ditutup, jenis tidak dapat ditentukan",paypalPopupClosed:"Pengesan penutupan tetingkap timbul",applePayClosed:"Dibatalkan"}},ru:{card:{title:"Метод оплаты",number:{label:"Номер карты",error:{required:"ОБЯЗАТЕЛЬНО",invalid:"Неверный номер карты",incomplete:"Номер карты неполон",unsupported:"Неподдерживаемый тип карты"}},expiry:{label:"Срок действия",placeholder:"ММ / ГГ",error:{required:"ОБЯЗАТЕЛЬНО",incomplete:"Срок действия карты указан не полностью",invalid:"Указанный срок действия карты недействителен",expired:"Срок действия карты истек"}},cvc:{label:"Код безопасности",placeholder:"CVC",error:{required:"ОБЯЗАТЕЛЬНО",incomplete:"Код безопасности карты введен не полностью",invalid:"Код CVC карты недействителен"}},name:{label:"Имя владельца карты",placeholder:"Имя, фамилия",error:{required:"ОБЯЗАТЕЛЬНО",invalid:"Введите свое имя и фамилию"}},pay:{button:"Оплатить"},compact:{button:"Кредитная карта"}},status:{success:"Успех",error:"Мы не можем проверить подлинность вашего способа оплаты. Пожалуйста, выберите другой способ оплаты и повторите попытку."},errors:{doNotHonor:"Отказ без объяснения причин",insufficientFunds:"Недостаточно средств",limitExceeded:"Превышен лимит",cardholdersActivityLimitExceeded:"Превышен лимит активности держателя карты",expiredCard:"Срок действия карты истёк",invalidCreditCardNumber:"Недействительный номер карты",invalidExpirationDate:"Недействительная дата окончания срока действия",noAccount:"Счёт отсутствует",cardAccountLengthError:"Неверная длина номера счёта карты",noSuchIssuer:"Эмитент не найден",cardIssuerDeclinedCvv:"Эмитент карты отклонил CVV",voiceAuthorizationRequired:"Требуется голосовая авторизация",processorDeclinedPossibleLostCard:"Отклонено процессингом – возможно, карта утеряна",processorDeclinedPossibleStolenCard:"Отклонено процессингом – возможно, карта украдена",processorDeclinedFraudSuspected:"Отклонено процессингом – подозрение на мошенничество",transactionNotAllowed:"Операция не разрешена",duplicateTransaction:"Дублирующая транзакция",cardholderStoppedBilling:"Держатель карты остановил выставление счетов",cardholderStoppedAllBilling:"Держатель карты остановил все списания",invalidTransaction:"Недействительная транзакция",violation:"Нарушение",securityViolation:"Нарушение безопасности",declinedUpdatedCardholderAvailable:"Отклонено – доступны обновлённые данные держателя",processorDoesNotSupportThisFeature:"Процессор не поддерживает эту функцию",cardTypeNotEnabled:"Тип карты не активирован",setUpErrorMerchant:"Ошибка настройки – мерчант",invalidMerchantId:"Недействительный идентификатор мерчанта",setUpErrorAmount:"Ошибка настройки – сумма",setUpErrorHierarchy:"Ошибка настройки – иерархия",setUpErrorCard:"Ошибка настройки – карта",setUpErrorTerminal:"Ошибка настройки – терминал",encryptionError:"Ошибка шифрования",surchargeNotPermitted:"Дополнительная комиссия не разрешена",inconsistentData:"Несогласованные данные",noActionTaken:"Действий не предпринято",partialApprovalForAmountInGroupIiiVersion:"Частичное одобрение суммы в версии Group III",authorizationCouldNotBeFound:"Авторизация не найдена",alreadyReversed:"Уже сторнировано",processorDeclined:"Отклонено процессингом",invalidAuthorizationCode:"Недействительный код авторизации",invalidStore:"Недействительный магазин",declinedCallForApproval:"Отклонено – позвоните для подтверждения",invalidClientId:"Недействительный идентификатор клиента",errorDoNotRetryCallIssuer:"Ошибка – не повторяйте, свяжитесь с эмитентом",declinedCallIssuer:"Отклонено – обратитесь к эмитенту",invalidMerchantNumber:"Недействительный номер мерчанта",declined:"Отклонено",callIssuerPickUpCard:"Свяжитесь с эмитентом. Изъять карту",invalidAmount:"Недействительная сумма",invalidSkuNumber:"Недействительный номер SKU",invalidCreditPlan:"Недействительный кредитный план",creditCardNumberDoesNotMatchMethodOfPayment:"Номер карты не соответствует способу оплаты",invalidLevelIiiPurchase:"Недействительная покупка уровня III",cardReportedAsLostOrStolen:"Карта заявлена как утерянная или украденная",reversalAmountDoesNotMatchAuthorizationAmount:"Сумма сторнирования не соответствует сумме авторизации",invalidTransactionDivisionNumber:"Недействительный номер подразделения операции",transactionAmountExceedsTheTransactionDivisionLimit:"Сумма операции превышает лимит подразделения",issuerOrCardholderHasPutARestrictionOnTheCard:"Эмитент или держатель установил ограничение на карту",merchantNotMastercardSecurecodeEnabled:"У мерчанта не активирован Mastercard SecureCode",addressVerificationFailed:"Проверка адреса не пройдена",addressVerificationAndCardSecurityCodeFailed:"Проверка адреса и кода безопасности не пройдена",invalidTransactionData:"Недействительные данные транзакции",invalidTaxAmount:"Недействительная сумма налога",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Настройки бизнес‑аккаунта PayPal привели к отклонению транзакции",invalidCurrencyCode:"Недействительный код валюты",refundTimeLimitExceeded:"Превышен срок возврата средств",paypalBusinessAccountRestricted:"Бизнес‑аккаунт PayPal ограничен",authorizationExpired:"Срок действия авторизации истёк",paypalBusinessAccountLockedOrClosed:"Бизнес‑аккаунт PayPal заблокирован или закрыт",paypalBlockingDuplicateOrderIds:"PayPal блокирует дубликаты идентификаторов заказов",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Покупатель PayPal отозвал предварительно одобренную авторизацию платежа",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Аккаунт получателя PayPal недействителен или не имеет подтверждённой электронной почты",paypalPayeeEmailIncorrectlyFormatted:"Неверный формат электронной почты получателя PayPal",paypalValidationError:"Ошибка валидации PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Платёжный инструмент в аккаунте PayPal отклонён процессором или банком, либо его нельзя использовать для этого платежа",payerAccountIsLockedOrClosed:"Аккаунт плательщика заблокирован или закрыт",payerCannotPayForThisTransactionWithPaypal:"Плательщик не может оплатить эту транзакцию через PayPal",transactionRefusedDueToPaypalRiskModel:"Транзакция отклонена по модели рисков PayPal",invalidSecurePaymentData:"Недействительные данные безопасного платежа",paypalMerchantAccountConfigurationError:"Ошибка конфигурации аккаунта мерчанта PayPal",invalidUserCredentials:"Недействительные учётные данные пользователя",paypalPendingPaymentsAreNotSupported:"Ожидающие платежи PayPal не поддерживаются",paypalDomesticTransactionRequired:"Требуется внутренняя транзакция PayPal",paypalPhoneNumberRequired:"Требуется номер телефона PayPal",paypalTaxInfoRequired:"Требуется налоговая информация PayPal",paypalPayeeBlockedTransaction:"Получатель PayPal заблокировал транзакцию",paypalTransactionLimitExceeded:"Превышен лимит транзакций PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Референсные транзакции PayPal не включены для вашего аккаунта",currencyNotEnabledForYourPaypalSellerAccount:"Валюта не активирована для вашего продавца PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Доступ к email получателя PayPal для этого запроса запрещён",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Аккаунт PayPal или Venmo не настроен на возврат суммы больше зачисленной",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Валюта этой транзакции должна совпадать с валютой вашего аккаунта PayPal",noDataFoundTryAnotherVerificationMethod:"Данные не найдены — попробуйте другой метод проверки",paypalPaymentMethodIsInvalid:"Недействительный способ оплаты PayPal",paypalPaymentHasAlreadyBeenCompleted:"Платёж PayPal уже завершён",paypalRefundIsNotAllowedAfterPartialRefund:"Возврат PayPal не разрешён после частичного возврата",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Аккаунт покупателя PayPal не может совпадать с аккаунтом продавца",paypalAuthorizationAmountLimitExceeded:"Превышен лимит суммы авторизации PayPal",paypalAuthorizationCountLimitExceeded:"Превышен лимит количества авторизаций PayPal",cardholderAuthenticationRequired:"Требуется аутентификация держателя карты",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Выставление счетов, инициированное каналом PayPal, не включено для вашего аккаунта",additionalAuthorizationRequired:"Требуется дополнительная авторизация",incorrectPin:"Неверный PIN‑код",pinTryExceeded:"Превышено количество попыток ввода PIN",offlineIssuerDeclined:"Эмитент офлайн отклонил",cannotAuthorizeAtThisTimeLifeCycle:"Невозможно авторизовать в данный момент (жизненный цикл)",cannotAuthorizeAtThisTimePolicy:"Невозможно авторизовать в данный момент (политика)",cardNotActivated:"Карта не активирована",closedCard:"Карта закрыта",processorNetworkUnavailableTryAgain:"Сеть процессинга недоступна – попробуйте ещё раз",errorText:"Ошибка",venmoClosed:"Окно закрыто до выполнения токенизации.",paypalClosed:"Окно закрыто, не удаётся определить тип",paypalPopupClosed:"Обнаружено закрытие всплывающего окна",applePayClosed:"Отменено"}},mt:{card:{title:"Metodu tal-ħlas",number:{label:"Numru tal-karta",error:{required:"MEĦTIEĠ/A",invalid:"In-numru tal-karta tiegħek mhuwiex tajjeb",incomplete:"In-numru tal-karta tiegħek mhuwiex komplut",unsupported:"Tip ta' karta mhux appoġġjat"}},expiry:{label:"Data tal-iskadenza",placeholder:"XX / SS",error:{required:"MEĦTIEĠ/A",incomplete:"Id-data tal-iskadenza tal-karta tiegħek mhix sħiħa",invalid:"Id-data tal-iskadenza tal-karta tiegħek mhix tajba",expired:"Il-karta tiegħek skadiet"}},cvc:{label:"Kodiċi tas-sigurtà",placeholder:"CVC",error:{required:"MEĦTIEĠ/A",incomplete:"Il-kodiċi tas-sigurtà tal-karta tiegħek mhux sħiħ",invalid:"Is-CVC tal-karta tiegħek mhux tajjeb"}},name:{label:"Isem id-detentur tal-karta",placeholder:"Isem u kunjom",error:{required:"MEĦTIEĠ/A",invalid:"Jekk jogħġbok ipprovdi isemek kollu"}},pay:{button:"Ħallas"},compact:{button:"Karta"}},status:{success:"Suċċess",error:"Aħna ma nistgħux jawtentikaw il-metodu tal-ħlas tiegħek. Jekk jogħġbok agħżel metodu ta' ħlas differenti u erġa' pprova."},errors:{doNotHonor:"Miċħud mingħajr spjegazzjoni",insufficientFunds:"Fondijiet insuffiċjenti",limitExceeded:"Limitu eċċessiv",cardholdersActivityLimitExceeded:"Il-limitu tal-attività tad-detentur tal-karta nqabeż",expiredCard:"Karta skaduta",invalidCreditCardNumber:"Numru tal-karta invalidu",invalidExpirationDate:"Data ta’ skadenza invalida",noAccount:"Ebda kont",cardAccountLengthError:"Tul tan-numru tal-kont tal-karta mhux korrett",noSuchIssuer:"Eminent ma jeżistix",cardIssuerDeclinedCvv:"L-emittent tal-karta rrifjuta l-CVV",voiceAuthorizationRequired:"Meħtieġa awtorizzazzjoni bil-vuċi",processorDeclinedPossibleLostCard:"Miċħud mill-proċessur – karta possibbilment mitlufa",processorDeclinedPossibleStolenCard:"Miċħud mill-proċessur – karta possibbilment misruqa",processorDeclinedFraudSuspected:"Miċħud mill-proċessur – suspett ta’ frodi",transactionNotAllowed:"Tranżazzjoni mhux permessa",duplicateTransaction:"Tranżazzjoni duplikata",cardholderStoppedBilling:"Id-detentur tal-karta waqqaf l-ibbillar",cardholderStoppedAllBilling:"Id-detentur tal-karta waqqaf l-ibbillar kollu",invalidTransaction:"Tranżazzjoni invalida",violation:"Ksur",securityViolation:"Ksur tas-sigurtà",declinedUpdatedCardholderAvailable:"Miċħud – disponibbli dettalji aġġornati tad-detentur",processorDoesNotSupportThisFeature:"Il-proċessur ma jappoġġjax din il-funzjoni",cardTypeNotEnabled:"Tip ta’ karta mhux attivat",setUpErrorMerchant:"Żball ta’ konfigurazzjoni – bejjiegħ",invalidMerchantId:"ID tal-bejjiegħ invalidu",setUpErrorAmount:"Żball ta’ konfigurazzjoni – ammont",setUpErrorHierarchy:"Żball ta’ konfigurazzjoni – ġerarkija",setUpErrorCard:"Żball ta’ konfigurazzjoni – karta",setUpErrorTerminal:"Żball ta’ konfigurazzjoni – terminal",encryptionError:"Żball ta’ ċifrar",surchargeNotPermitted:"Miżata addizzjonali mhux permessa",inconsistentData:"Dejta inkonsistenti",noActionTaken:"Ebda azzjoni ttieħdet",partialApprovalForAmountInGroupIiiVersion:"Approvazzjoni parzjali tal-ammont (verżjoni Group III)",authorizationCouldNotBeFound:"Ma nstabitx awtorizzazzjoni",alreadyReversed:"Diġà mġedda lura",processorDeclined:"Miċħud mill-proċessur",invalidAuthorizationCode:"Kodiċi ta’ awtorizzazzjoni invalidu",invalidStore:"Ħanut invalidu",declinedCallForApproval:"Miċħud – ċempel għall-approvazzjoni",invalidClientId:"ID tal-klijent invalidu",errorDoNotRetryCallIssuer:"Żball – tibqax tipprova, ikkuntattja lill-emittent",declinedCallIssuer:"Miċħud – ikkuntattja lill-emittent",invalidMerchantNumber:"Numru tal-bejjiegħ invalidu",declined:"Miċħud",callIssuerPickUpCard:"Ikkuntattja lill-emittent. Iżżomm il-karta",invalidAmount:"Ammont invalidu",invalidSkuNumber:"Numru SKU invalidu",invalidCreditPlan:"Pjan ta’ kreditu invalidu",creditCardNumberDoesNotMatchMethodOfPayment:"In-numru tal-karta ma jaqbilx mal-metodu ta’ ħlas",invalidLevelIiiPurchase:"Xiri ta’ livell III invalidu",cardReportedAsLostOrStolen:"Karta rrappurtata mitlufa jew misruqa",reversalAmountDoesNotMatchAuthorizationAmount:"L-ammont tar-reversal ma jaqbilx mal-ammont awtorizzat",invalidTransactionDivisionNumber:"Numru ta’ diviżjoni tat-tranżazzjoni invalidu",transactionAmountExceedsTheTransactionDivisionLimit:"L-ammont tat-tranżazzjoni jaqbeż il-limitu tad-diviżjoni",issuerOrCardholderHasPutARestrictionOnTheCard:"L-emittent jew id-detentur poġġa restrizzjoni fuq il-karta",merchantNotMastercardSecurecodeEnabled:"Bejjiegħ mingħajr Mastercard SecureCode attivat",addressVerificationFailed:"Verifika tal-indirizz falliet",addressVerificationAndCardSecurityCodeFailed:"Verifika tal-indirizz u tal-kodiċi tas-sigurtà falliet",invalidTransactionData:"Dejta tat-tranżazzjoni invalida",invalidTaxAmount:"Ammont ta’ taxxa invalidu",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Preferenzi tal-kont tan-negozju PayPal wasslu għall-falliment tat-tranżazzjoni",invalidCurrencyCode:"Kodiċi tal-munita invalidu",refundTimeLimitExceeded:"Limitu ta’ żmien għar-rifużjoni nqabeż",paypalBusinessAccountRestricted:"Kont tan-negozju PayPal ristrett",authorizationExpired:"Awtorizzazzjoni skadiet",paypalBusinessAccountLockedOrClosed:"Kont tan-negozju PayPal imsakkar jew magħluq",paypalBlockingDuplicateOrderIds:"PayPal qed jimblokka IDs ta’ ordni duplikati",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Ix-xerrej ta’ PayPal irtira l-awtorizzazzjoni ta’ ħlas approvata minn qabel",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Il-kont tal-benefiċjarju PayPal invalidu jew mingħajr email ikkonfermata",paypalPayeeEmailIncorrectlyFormatted:"Email tal-benefiċjarju PayPal ifformattata ħażin",paypalValidationError:"Żball ta’ validazzjoni PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Strument ta’ fondi fil-kont PayPal miċħud mill-proċessur jew bank, jew ma jistax jintuża għal din il-ħlas",payerAccountIsLockedOrClosed:"Il-kont tal-ħallief imsakkar jew magħluq",payerCannotPayForThisTransactionWithPaypal:"Il-ħallief ma jistax iħallas għal din it-tranżazzjoni b’PayPal",transactionRefusedDueToPaypalRiskModel:"Tranżazzjoni miċħuda minħabba mudell tar-riskju ta’ PayPal",invalidSecurePaymentData:"Dejta ta’ ħlas sigura invalida",paypalMerchantAccountConfigurationError:"Żball ta’ konfigurazzjoni tal-kont tal-bejjiegħ PayPal",invalidUserCredentials:"Kredenzjali tal-utent invalidi",paypalPendingPaymentsAreNotSupported:"Ħlasijiet pendenti ta’ PayPal mhumiex appoġġjati",paypalDomesticTransactionRequired:"Jeħtieġ tranżazzjoni domestika ta’ PayPal",paypalPhoneNumberRequired:"Jeħtieġ numru tat-telefon ta’ PayPal",paypalTaxInfoRequired:"Jeħtieġ informazzjoni tat-taxxa ta’ PayPal",paypalPayeeBlockedTransaction:"Il-benefiċjarju PayPal ibblokka t-tranżazzjoni",paypalTransactionLimitExceeded:"Limitu ta’ tranżazzjonijiet PayPal nqabeż",paypalReferenceTransactionsNotEnabledForYourAccount:"Tranżazzjonijiet ta’ referenza PayPal mhux attivati għall-kont tiegħek",currencyNotEnabledForYourPaypalSellerAccount:"Munita mhux attivata għall-kont tal-bejgħ PayPal tiegħek",paypalPayeeEmailPermissionDeniedForThisRequest:"Permess għall-email tal-benefiċjarju PayPal miċħud għal din it-talba",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Kont PayPal jew Venmo mhux ikkonfigurat biex jirrimborsa aktar mill-ammont stabbilit",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Il-munita ta’ din it-tranżazzjoni trid taqbel mal-munita tal-kont PayPal tiegħek",noDataFoundTryAnotherVerificationMethod:"Ebda dejta misjuba — ipprova metodu ieħor ta’ verifika",paypalPaymentMethodIsInvalid:"Metodu ta’ ħlas PayPal invalidu",paypalPaymentHasAlreadyBeenCompleted:"Il-ħlas PayPal diġà tlesta",paypalRefundIsNotAllowedAfterPartialRefund:"Rifużjoni PayPal mhux permessa wara rifużjoni parzjali",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Il-kont tax-xerrej PayPal ma jistax ikun l-istess bħall-kont tal-bejjiegħ",paypalAuthorizationAmountLimitExceeded:"Limitu tal-ammont tal-awtorizzazzjoni PayPal nqabeż",paypalAuthorizationCountLimitExceeded:"Limitu tan-numru ta’ awtorizzazzjonijiet PayPal nqabeż",cardholderAuthenticationRequired:"Meħtieġa awtentikazzjoni tad-detentur tal-karta",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Ibbillar inizzjat mill-kanal ta’ PayPal mhux attivat għall-kont tiegħek",additionalAuthorizationRequired:"Meħtieġa awtorizzazzjoni addizzjonali",incorrectPin:"PIN żbaljat",pinTryExceeded:"In-numru ta’ tentattivi tal-PIN inqabeż",offlineIssuerDeclined:"Emittent offline – miċħud",cannotAuthorizeAtThisTimeLifeCycle:"Ma jistax jiġi awtorizzat bħalissa (ċiklu ta’ ħajja)",cannotAuthorizeAtThisTimePolicy:"Ma jistax jiġi awtorizzat bħalissa (politika)",cardNotActivated:"Karta mhux attivata",closedCard:"Karta magħluqa",processorNetworkUnavailableTryAgain:"In-netwerk tal-proċessur mhux disponibbli – erġa’ pprova",errorText:"Żball",venmoClosed:"It-tieqa ngħalqet qabel ma setgħet issir it-tokenizzazzjoni.",paypalClosed:"It-tieqa magħluqa, ma jistax jiġi determinat it-tip",paypalPopupClosed:"Innotata għeluq ta’ pop‑up",applePayClosed:"Ikkanċellat"}},no:{card:{title:"Betalingsmetode",number:{label:"Kortnummer",error:{required:"PÅKREVD",invalid:"Kortnummeret er ugyldig",incomplete:"Kortnummeret er ufullstendig",unsupported:"Ikke støttet korttype"}},expiry:{label:"Utløpsdato",placeholder:"MM / ÅÅ",error:{required:"PÅKREVD",invalid:"Utløpsdatoen er ugyldig",incomplete:"Kortets utløpsdato er ufullstendig",expired:"Kortet har utløpt"}},cvc:{label:"Sikkerhetskode",placeholder:"CVC",error:{required:"PÅKREVD",incomplete:"Sikkerhetskoden er ufullstendig",invalid:"CVC-koden er ugyldig"}},name:{label:"Kortholders navn",placeholder:"Fullt navn",error:{required:"PÅKREVD",invalid:"Oppgi fullt navn"}},pay:{button:"Betal"},compact:{button:"Kort"}},status:{success:"Betalingen var vellykket!",error:"Vi kan ikke autentisere betalingsmetoden din. Velg en annen betalingsmetode og prøv igjen."},errors:{doNotHonor:"Avslått uten begrunnelse",insufficientFunds:"Utilstrekkelige midler",limitExceeded:"Grense overskredet",cardholdersActivityLimitExceeded:"Kortholders aktivitetsgrense overskredet",expiredCard:"Kortet er utløpt",invalidCreditCardNumber:"Ugyldig kortnummer",invalidExpirationDate:"Ugyldig utløpsdato",noAccount:"Ingen konto",cardAccountLengthError:"Feil lengde på kortets kontonummer",noSuchIssuer:"Utsteder finnes ikke",cardIssuerDeclinedCvv:"Kortutsteder avslo CVV",voiceAuthorizationRequired:"Stemmeautorisasjon kreves",processorDeclinedPossibleLostCard:"Avslått av prosessor – mulig tapt kort",processorDeclinedPossibleStolenCard:"Avslått av prosessor – mulig stjålet kort",processorDeclinedFraudSuspected:"Avslått av prosessor – mistanke om svindel",transactionNotAllowed:"Transaksjon ikke tillatt",duplicateTransaction:"Duplisert transaksjon",cardholderStoppedBilling:"Kortholder stoppet fakturering",cardholderStoppedAllBilling:"Kortholder stoppet all fakturering",invalidTransaction:"Ugyldig transaksjon",violation:"Brudd",securityViolation:"Sikkerhetsbrudd",declinedUpdatedCardholderAvailable:"Avslått – oppdaterte kortholderdata tilgjengelige",processorDoesNotSupportThisFeature:"Prosessoren støtter ikke denne funksjonen",cardTypeNotEnabled:"Korttype ikke aktivert",setUpErrorMerchant:"Oppsettsfeil – forhandler",invalidMerchantId:"Ugyldig forhandler‑ID",setUpErrorAmount:"Oppsettsfeil – beløp",setUpErrorHierarchy:"Oppsettsfeil – hierarki",setUpErrorCard:"Oppsettsfeil – kort",setUpErrorTerminal:"Oppsettsfeil – terminal",encryptionError:"Krypteringsfeil",surchargeNotPermitted:"Tilleggsavgift ikke tillatt",inconsistentData:"Inkonsistente data",noActionTaken:"Ingen tiltak gjort",partialApprovalForAmountInGroupIiiVersion:"Delvis godkjenning av beløp (Group III‑versjon)",authorizationCouldNotBeFound:"Autorisasjon ble ikke funnet",alreadyReversed:"Allerede tilbakeført",processorDeclined:"Avslått av prosessor",invalidAuthorizationCode:"Ugyldig autorisasjonskode",invalidStore:"Ugyldig butikk",declinedCallForApproval:"Avslått – ring for godkjenning",invalidClientId:"Ugyldig klient‑ID",errorDoNotRetryCallIssuer:"Feil – ikke prøv igjen, kontakt utsteder",declinedCallIssuer:"Avslått – kontakt utsteder",invalidMerchantNumber:"Ugyldig forhandlernummer",declined:"Avslått",callIssuerPickUpCard:"Kontakt utsteder. Inndra kortet",invalidAmount:"Ugyldig beløp",invalidSkuNumber:"Ugyldig SKU‑nummer",invalidCreditPlan:"Ugyldig kredittplan",creditCardNumberDoesNotMatchMethodOfPayment:"Kortnummer stemmer ikke med betalingsmetode",invalidLevelIiiPurchase:"Ugyldig Level III‑kjøp",cardReportedAsLostOrStolen:"Kort rapportert tapt eller stjålet",reversalAmountDoesNotMatchAuthorizationAmount:"Tilbakeføringsbeløp stemmer ikke med autorisert beløp",invalidTransactionDivisionNumber:"Ugyldig transaksjonsdivisjonsnummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transaksjonsbeløpet overskrider divisjonsgrensen",issuerOrCardholderHasPutARestrictionOnTheCard:"Utsteder eller kortholder har lagt begrensning på kortet",merchantNotMastercardSecurecodeEnabled:"Forhandler har ikke aktivert Mastercard SecureCode",addressVerificationFailed:"Adresseverifisering mislyktes",addressVerificationAndCardSecurityCodeFailed:"Adresseverifisering og sikkerhetskode mislyktes",invalidTransactionData:"Ugyldige transaksjonsdata",invalidTaxAmount:"Ugyldig skattebeløp",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Innstillinger i PayPal‑bedriftskonto førte til at transaksjonen mislyktes",invalidCurrencyCode:"Ugyldig valutakode",refundTimeLimitExceeded:"Tidsgrense for refusjon overskredet",paypalBusinessAccountRestricted:"PayPal‑bedriftskonto begrenset",authorizationExpired:"Autorisasjon utløpt",paypalBusinessAccountLockedOrClosed:"PayPal‑bedriftskonto låst eller stengt",paypalBlockingDuplicateOrderIds:"PayPal blokkerer dupliserte ordre‑IDer",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑kjøper trakk tilbake forhåndsgodkjent betalingsautorisasjon",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑mottakers konto er ugyldig eller mangler bekreftet e‑post",paypalPayeeEmailIncorrectlyFormatted:"PayPal‑mottakers e‑post er feil formatert",paypalValidationError:"PayPal‑valideringsfeil",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Betalingsmiddel i PayPal‑konto ble avslått av prosessor eller bank, eller kan ikke brukes for denne betalingen",payerAccountIsLockedOrClosed:"Betalers konto er låst eller stengt",payerCannotPayForThisTransactionWithPaypal:"Betaler kan ikke betale denne transaksjonen med PayPal",transactionRefusedDueToPaypalRiskModel:"Transaksjon avslått grunnet PayPals risikomodell",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",paypalMerchantAccountConfigurationError:"Konfigurasjonsfeil i PayPal‑forhandlerkonto",invalidUserCredentials:"Ugyldige brukeropplysninger",paypalPendingPaymentsAreNotSupported:"Ventende PayPal‑betalinger støttes ikke",paypalDomesticTransactionRequired:"Innenlandsk PayPal‑transaksjon kreves",paypalPhoneNumberRequired:"PayPal‑telefonnummer kreves",paypalTaxInfoRequired:"PayPal‑skatteinformasjon kreves",paypalPayeeBlockedTransaction:"PayPal‑mottaker blokkerte transaksjonen",paypalTransactionLimitExceeded:"PayPal‑transaksjonsgrense overskredet",paypalReferenceTransactionsNotEnabledForYourAccount:"Referansetransaksjoner er ikke aktivert for PayPal‑kontoen din",currencyNotEnabledForYourPaypalSellerAccount:"Valuta er ikke aktivert for din PayPal‑selgerkonto",paypalPayeeEmailPermissionDeniedForThisRequest:"Tilgang til PayPal‑mottakers e‑post ble nektet for denne forespørselen",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ eller Venmo‑konto er ikke konfigurert for å refundere mer enn avregnet beløp",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valuta for denne transaksjonen må samsvare med valutaen i PayPal‑kontoen din",noDataFoundTryAnotherVerificationMethod:"Ingen data funnet — prøv en annen verifiseringsmetode",paypalPaymentMethodIsInvalid:"Ugyldig PayPal‑betalingsmetode",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑betalingen er allerede fullført",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑refusjon er ikke tillatt etter delvis refusjon",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑kjøperkonto kan ikke være den samme som selgerkontoen",paypalAuthorizationAmountLimitExceeded:"Grense for PayPal‑autorisasjonsbeløp overskredet",paypalAuthorizationCountLimitExceeded:"Grense for antall PayPal‑autorisasjoner overskredet",cardholderAuthenticationRequired:"Kortholderautentisering kreves",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalinitiert PayPal‑fakturering er ikke aktivert for kontoen din",additionalAuthorizationRequired:"Ytterligere autorisasjon kreves",incorrectPin:"Feil PIN‑kode",pinTryExceeded:"Antall PIN‑forsøk overskredet",offlineIssuerDeclined:"Utsteder offline – avslått",cannotAuthorizeAtThisTimeLifeCycle:"Kan ikke autorisere nå (livssyklus)",cannotAuthorizeAtThisTimePolicy:"Kan ikke autorisere nå (policy)",cardNotActivated:"Kort ikke aktivert",closedCard:"Kort stengt",processorNetworkUnavailableTryAgain:"Prosessornettverk utilgjengelig – prøv igjen",errorText:"Feil",venmoClosed:"Vinduet ble lukket før tokenisering kunne gjennomføres.",paypalClosed:"Vinduet er lukket, kan ikke fastslå type",paypalPopupClosed:"Oppdaget lukking av popup‑vindu",applePayClosed:"Avbrutt"}},nb:{card:{title:"Betalingsmetode",number:{label:"Kortnummer",error:{required:"PÅKREVET",invalid:"Kortnummer er ugyldig",incomplete:"Kortnummeret er ufullstendig",unsupported:"Ikke understøttet korttype"}},expiry:{label:"Utløpsdato",placeholder:"MM / ÅÅ",error:{required:"PÅKREVET",incomplete:"Kortets utløpsdato er ufullstendig",invalid:"Kortets utløpsdato er ugyldig",expired:"Kortet er utløpt"}},cvc:{label:"Sikkerhetskode",placeholder:"CVC",error:{required:"PÅKREVET",incomplete:"Kortets sikkerhetskode er ufullstendig",invalid:"Kortets CVC-nummer er ugyldig"}},name:{label:"Kortinnehavers navn",placeholder:"Fullt navn",error:{required:"PÅKREVET",invalid:"Oppgi fullt navn"}},pay:{button:"Betal"},compact:{button:"Kort"}},status:{success:"Suksess",error:"Vi kan ikke godkjenne betalingsmåten din. Vennligst velg en annen betalingsmetode og prøv på nytt."},errors:{doNotHonor:"Avslått uten begrunnelse",insufficientFunds:"Utilstrekkelige midler",limitExceeded:"Grense overskredet",cardholdersActivityLimitExceeded:"Kortholders aktivitetsgrense overskredet",expiredCard:"Kortet er utløpt",invalidCreditCardNumber:"Ugyldig kortnummer",invalidExpirationDate:"Ugyldig utløpsdato",noAccount:"Ingen konto",cardAccountLengthError:"Feil lengde på kortets kontonummer",noSuchIssuer:"Utsteder finnes ikke",cardIssuerDeclinedCvv:"Kortutsteder avslo CVV",voiceAuthorizationRequired:"Stemmeautorisasjon kreves",processorDeclinedPossibleLostCard:"Avslått av prosessor – mulig tapt kort",processorDeclinedPossibleStolenCard:"Avslått av prosessor – mulig stjålet kort",processorDeclinedFraudSuspected:"Avslått av prosessor – mistanke om svindel",transactionNotAllowed:"Transaksjon ikke tillatt",duplicateTransaction:"Duplisert transaksjon",cardholderStoppedBilling:"Kortholder stoppet fakturering",cardholderStoppedAllBilling:"Kortholder stoppet all fakturering",invalidTransaction:"Ugyldig transaksjon",violation:"Brudd",securityViolation:"Sikkerhetsbrudd",declinedUpdatedCardholderAvailable:"Avslått – oppdaterte kortholderdata tilgjengelige",processorDoesNotSupportThisFeature:"Prosessoren støtter ikke denne funksjonen",cardTypeNotEnabled:"Korttype ikke aktivert",setUpErrorMerchant:"Oppsettsfeil – forhandler",invalidMerchantId:"Ugyldig forhandler‑ID",setUpErrorAmount:"Oppsettsfeil – beløp",setUpErrorHierarchy:"Oppsettsfeil – hierarki",setUpErrorCard:"Oppsettsfeil – kort",setUpErrorTerminal:"Oppsettsfeil – terminal",encryptionError:"Krypteringsfeil",surchargeNotPermitted:"Tilleggsavgift ikke tillatt",inconsistentData:"Inkonsistente data",noActionTaken:"Ingen tiltak gjort",partialApprovalForAmountInGroupIiiVersion:"Delvis godkjenning av beløp (Group III‑versjon)",authorizationCouldNotBeFound:"Autorisasjon ble ikke funnet",alreadyReversed:"Allerede tilbakeført",processorDeclined:"Avslått av prosessor",invalidAuthorizationCode:"Ugyldig autorisasjonskode",invalidStore:"Ugyldig butikk",declinedCallForApproval:"Avslått – ring for godkjenning",invalidClientId:"Ugyldig klient‑ID",errorDoNotRetryCallIssuer:"Feil – ikke prøv igjen, kontakt utsteder",declinedCallIssuer:"Avslått – kontakt utsteder",invalidMerchantNumber:"Ugyldig forhandlernummer",declined:"Avslått",callIssuerPickUpCard:"Kontakt utsteder. Inndra kortet",invalidAmount:"Ugyldig beløp",invalidSkuNumber:"Ugyldig SKU‑nummer",invalidCreditPlan:"Ugyldig kredittplan",creditCardNumberDoesNotMatchMethodOfPayment:"Kortnummer stemmer ikke med betalingsmetode",invalidLevelIiiPurchase:"Ugyldig Level III‑kjøp",cardReportedAsLostOrStolen:"Kort rapportert tapt eller stjålet",reversalAmountDoesNotMatchAuthorizationAmount:"Tilbakeføringsbeløp stemmer ikke med autorisert beløp",invalidTransactionDivisionNumber:"Ugyldig transaksjonsdivisjonsnummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transaksjonsbeløpet overskrider divisjonsgrensen",issuerOrCardholderHasPutARestrictionOnTheCard:"Utsteder eller kortholder har lagt begrensning på kortet",merchantNotMastercardSecurecodeEnabled:"Forhandler har ikke aktivert Mastercard SecureCode",addressVerificationFailed:"Adresseverifisering mislyktes",addressVerificationAndCardSecurityCodeFailed:"Adresseverifisering og sikkerhetskode mislyktes",invalidTransactionData:"Ugyldige transaksjonsdata",invalidTaxAmount:"Ugyldig skattebeløp",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Innstillinger i PayPal‑bedriftskonto førte til at transaksjonen mislyktes",invalidCurrencyCode:"Ugyldig valutakode",refundTimeLimitExceeded:"Tidsgrense for refusjon overskredet",paypalBusinessAccountRestricted:"PayPal‑bedriftskonto begrenset",authorizationExpired:"Autorisasjon utløpt",paypalBusinessAccountLockedOrClosed:"PayPal‑bedriftskonto låst eller stengt",paypalBlockingDuplicateOrderIds:"PayPal blokkerer dupliserte ordre‑IDer",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑kjøper trakk tilbake forhåndsgodkjent betalingsautorisasjon",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑mottakers konto er ugyldig eller mangler bekreftet e‑post",paypalPayeeEmailIncorrectlyFormatted:"PayPal‑mottakers e‑post er feil formatert",paypalValidationError:"PayPal‑valideringsfeil",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Betalingsmiddel i PayPal‑konto ble avslått av prosessor eller bank, eller kan ikke brukes for denne betalingen",payerAccountIsLockedOrClosed:"Betalers konto er låst eller stengt",payerCannotPayForThisTransactionWithPaypal:"Betaler kan ikke betale denne transaksjonen med PayPal",transactionRefusedDueToPaypalRiskModel:"Transaksjon avslått grunnet PayPals risikomodell",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",paypalMerchantAccountConfigurationError:"Konfigurasjonsfeil i PayPal‑forhandlerkonto",invalidUserCredentials:"Ugyldige brukeropplysninger",paypalPendingPaymentsAreNotSupported:"Ventende PayPal‑betalinger støttes ikke",paypalDomesticTransactionRequired:"Innenlandsk PayPal‑transaksjon kreves",paypalPhoneNumberRequired:"PayPal‑telefonnummer kreves",paypalTaxInfoRequired:"PayPal‑skatteinformasjon kreves",paypalPayeeBlockedTransaction:"PayPal‑mottaker blokkerte transaksjonen",paypalTransactionLimitExceeded:"PayPal‑transaksjonsgrense overskredet",paypalReferenceTransactionsNotEnabledForYourAccount:"Referansetransaksjoner er ikke aktivert for PayPal‑kontoen din",currencyNotEnabledForYourPaypalSellerAccount:"Valuta er ikke aktivert for din PayPal‑selgerkonto",paypalPayeeEmailPermissionDeniedForThisRequest:"Tilgang til PayPal‑mottakers e‑post ble nektet for denne forespørselen",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ eller Venmo‑konto er ikke konfigurert for å refundere mer enn avregnet beløp",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valuta for denne transaksjonen må samsvare med valutaen i PayPal‑kontoen din",noDataFoundTryAnotherVerificationMethod:"Ingen data funnet — prøv en annen verifiseringsmetode",paypalPaymentMethodIsInvalid:"Ugyldig PayPal‑betalingsmetode",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑betalingen er allerede fullført",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑refusjon er ikke tillatt etter delvis refusjon",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑kjøperkonto kan ikke være den samme som selgerkontoen",paypalAuthorizationAmountLimitExceeded:"Grense for PayPal‑autorisasjonsbeløp overskredet",paypalAuthorizationCountLimitExceeded:"Grense for antall PayPal‑autorisasjoner overskredet",cardholderAuthenticationRequired:"Kortholderautentisering kreves",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalinitiert PayPal‑fakturering er ikke aktivert for kontoen din",additionalAuthorizationRequired:"Ytterligere autorisasjon kreves",incorrectPin:"Feil PIN‑kode",pinTryExceeded:"Antall PIN‑forsøk overskredet",offlineIssuerDeclined:"Utsteder offline – avslått",cannotAuthorizeAtThisTimeLifeCycle:"Kan ikke autorisere nå (livssyklus)",cannotAuthorizeAtThisTimePolicy:"Kan ikke autorisere nå (policy)",cardNotActivated:"Kort ikke aktivert",closedCard:"Kort stengt",processorNetworkUnavailableTryAgain:"Prosessornettverk utilgjengelig – prøv igjen",errorText:"Feil",venmoClosed:"Vinduet ble lukket før tokenisering kunne gjennomføres.",paypalClosed:"Vinduet er lukket, kan ikke fastslå type",paypalPopupClosed:"Oppdaget lukking av popup‑vindu",applePayClosed:"Avbrutt"}},nl:{card:{title:"Betaalmethode",number:{label:"Kaartnummer",error:{required:"VEREIST",invalid:"Je kaartnummer is ongeldig",incomplete:"Je kaartnummer is onvolledig",unsupported:"Niet ondersteund"}},expiry:{label:"Vervaldatum",placeholder:"MM / JJ",error:{required:"VEREIST",incomplete:"De vervaldatum van je kaart is onvolledig",invalid:"De vervaldatum van je betaalkaart is ongeldig",expired:"Je kaart is vervallen"}},cvc:{label:"Beveiligingscode",placeholder:"CVC",error:{required:"VEREIST",incomplete:"De beveiligingscode van je betaalkaart is onvolledig",invalid:"De CVC-code van je betaalkaart is ongeldig"}},name:{label:"Naam kaarthouder",placeholder:"Volledige naam",error:{required:"VEREIST",invalid:"Geef je volledige naam op"}},pay:{button:"Betalen"},compact:{button:"Kaart"}},status:{success:"Succes",error:"We kunnen je betaalmethode niet verifiëren. Kies een andere betaalmethode en probeer het opnieuw."},errors:{doNotHonor:"Weigering zonder opgaaf van reden",insufficientFunds:"Onvoldoende saldo",limitExceeded:"Limiet overschreden",cardholdersActivityLimitExceeded:"Activiteitslimiet kaarthouder overschreden",expiredCard:"Kaart verlopen",invalidCreditCardNumber:"Ongeldig kaartnummer",invalidExpirationDate:"Ongeldige vervaldatum",noAccount:"Geen rekening",cardAccountLengthError:"Onjuiste lengte rekeningnummer kaart",noSuchIssuer:"Uitgevende instelling niet gevonden",cardIssuerDeclinedCvv:"Uitgever heeft CVV geweigerd",voiceAuthorizationRequired:"Spraakautorisatie vereist",processorDeclinedPossibleLostCard:"Door verwerker geweigerd – mogelijk kaart verloren",processorDeclinedPossibleStolenCard:"Door verwerker geweigerd – mogelijk kaart gestolen",processorDeclinedFraudSuspected:"Door verwerker geweigerd – vermoedelijke fraude",transactionNotAllowed:"Transactie niet toegestaan",duplicateTransaction:"Dubbele transactie",cardholderStoppedBilling:"Kaarthouder heeft incasso stopgezet",cardholderStoppedAllBilling:"Kaarthouder heeft alle incasso’s stopgezet",invalidTransaction:"Ongeldige transactie",violation:"Overtreding",securityViolation:"Beveiligingsschending",declinedUpdatedCardholderAvailable:"Geweigerd – bijgewerkte kaarthoudergegevens beschikbaar",processorDoesNotSupportThisFeature:"Verwerker ondersteunt deze functie niet",cardTypeNotEnabled:"Kaarttype niet ingeschakeld",setUpErrorMerchant:"Instellingsfout – handelaar",invalidMerchantId:"Ongeldige merchant-ID",setUpErrorAmount:"Instellingsfout – bedrag",setUpErrorHierarchy:"Instellingsfout – hiërarchie",setUpErrorCard:"Instellingsfout – kaart",setUpErrorTerminal:"Instellingsfout – terminal",encryptionError:"Versleutelingsfout",surchargeNotPermitted:"Toeslag niet toegestaan",inconsistentData:"Inconsistente gegevens",noActionTaken:"Geen actie ondernomen",partialApprovalForAmountInGroupIiiVersion:"Gedeeltelijke goedkeuring van bedrag (Group III-versie)",authorizationCouldNotBeFound:"Autorisatie niet gevonden",alreadyReversed:"Reeds teruggedraaid",processorDeclined:"Door verwerker geweigerd",invalidAuthorizationCode:"Ongeldige autorisatiecode",invalidStore:"Ongeldige winkel",declinedCallForApproval:"Geweigerd – bel voor goedkeuring",invalidClientId:"Ongeldige client-ID",errorDoNotRetryCallIssuer:"Fout – niet opnieuw proberen, uitgever contacteren",declinedCallIssuer:"Geweigerd – uitgever contacteren",invalidMerchantNumber:"Ongeldig merchantnummer",declined:"Geweigerd",callIssuerPickUpCard:"Bel uitgever. Neem de kaart in",invalidAmount:"Ongeldig bedrag",invalidSkuNumber:"Ongeldig SKU‑nummer",invalidCreditPlan:"Ongeldig kredietplan",creditCardNumberDoesNotMatchMethodOfPayment:"Kaartnummer komt niet overeen met de betaalmethode",invalidLevelIiiPurchase:"Ongeldige Level III‑aankoop",cardReportedAsLostOrStolen:"Kaart gemeld als verloren of gestolen",reversalAmountDoesNotMatchAuthorizationAmount:"Terugboekingsbedrag komt niet overeen met autorisatiebedrag",invalidTransactionDivisionNumber:"Ongeldig transactiedivisienummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transactiebedrag overschrijdt divisielimiet",issuerOrCardholderHasPutARestrictionOnTheCard:"Uitgever of kaarthouder heeft een beperking ingesteld",merchantNotMastercardSecurecodeEnabled:"Handelaar heeft Mastercard SecureCode niet ingeschakeld",addressVerificationFailed:"Adresverificatie mislukt",addressVerificationAndCardSecurityCodeFailed:"Adresverificatie en beveiligingscode mislukt",invalidTransactionData:"Ongeldige transactiegegevens",invalidTaxAmount:"Ongeldig belastingbedrag",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Voorkeuren van PayPal‑zakelijke rekening hebben de transactie doen mislukken",invalidCurrencyCode:"Ongeldige valutacode",refundTimeLimitExceeded:"Tijdslimiet voor terugbetaling overschreden",paypalBusinessAccountRestricted:"PayPal‑zakelijke rekening beperkt",authorizationExpired:"Autorisatie verlopen",paypalBusinessAccountLockedOrClosed:"PayPal‑zakelijke rekening geblokkeerd of gesloten",paypalBlockingDuplicateOrderIds:"PayPal blokkeert dubbele bestel‑ID's",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑koper heeft vooraf goedgekeurde betalingsautorisatie ingetrokken",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑begunstigdeaccount ongeldig of geen bevestigd e‑mailadres",paypalPayeeEmailIncorrectlyFormatted:"E‑mailadres van PayPal‑begunstigde onjuist geformatteerd",paypalValidationError:"PayPal‑validatiefout",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Betaalmiddel in PayPal‑account geweigerd door verwerker of bank, of niet bruikbaar voor deze betaling",payerAccountIsLockedOrClosed:"Rekening van betaler is geblokkeerd of gesloten",payerCannotPayForThisTransactionWithPaypal:"Betaler kan deze transactie niet met PayPal betalen",transactionRefusedDueToPaypalRiskModel:"Transactie geweigerd door PayPal‑risicomodel",invalidSecurePaymentData:"Ongeldige beveiligde betalingsgegevens",paypalMerchantAccountConfigurationError:"Configuratiefout PayPal‑verkopersaccount",invalidUserCredentials:"Ongeldige gebruikersgegevens",paypalPendingPaymentsAreNotSupported:"Wachtende PayPal‑betalingen worden niet ondersteund",paypalDomesticTransactionRequired:"Binnenlandse PayPal‑transactie vereist",paypalPhoneNumberRequired:"PayPal‑telefoonnummer vereist",paypalTaxInfoRequired:"PayPal‑belastinginformatie vereist",paypalPayeeBlockedTransaction:"PayPal‑begunstigde heeft transactie geblokkeerd",paypalTransactionLimitExceeded:"Transactielimiet PayPal overschreden",paypalReferenceTransactionsNotEnabledForYourAccount:"Referentietransacties niet ingeschakeld voor uw PayPal‑account",currencyNotEnabledForYourPaypalSellerAccount:"Valuta niet ingeschakeld voor uw PayPal‑verkopersaccount",paypalPayeeEmailPermissionDeniedForThisRequest:"Toegang tot e‑mail van PayPal‑begunstigde geweigerd voor dit verzoek",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ of Venmo‑account niet geconfigureerd om meer dan het verrekende bedrag te restitueren",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valuta van deze transactie moet overeenkomen met die van uw PayPal‑account",noDataFoundTryAnotherVerificationMethod:"Geen gegevens gevonden — probeer een andere verificatiemethode",paypalPaymentMethodIsInvalid:"PayPal‑betaalmethode is ongeldig",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑betaling is al voltooid",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑terugbetaling niet toegestaan na gedeeltelijke terugbetaling",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑kopersaccount mag niet hetzelfde zijn als verkopersaccount",paypalAuthorizationAmountLimitExceeded:"Limiet voor PayPal‑autorisatiebedrag overschreden",paypalAuthorizationCountLimitExceeded:"Limiet voor aantal PayPal‑autorisaties overschreden",cardholderAuthenticationRequired:"Authenticatie kaarthouder vereist",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanaalgestarte PayPal‑facturatie is niet ingeschakeld voor uw account",additionalAuthorizationRequired:"Extra autorisatie vereist",incorrectPin:"Onjuiste pincode",pinTryExceeded:"Maximum aantal pogingen voor pincode overschreden",offlineIssuerDeclined:"Offline door uitgever geweigerd",cannotAuthorizeAtThisTimeLifeCycle:"Nu niet te autoriseren (levenscyclus)",cannotAuthorizeAtThisTimePolicy:"Nu niet te autoriseren (beleid)",cardNotActivated:"Kaart niet geactiveerd",closedCard:"Kaart gesloten",processorNetworkUnavailableTryAgain:"Processornetwerk niet beschikbaar – probeer opnieuw",errorText:"Fout",venmoClosed:"Venster gesloten voordat tokenisatie kon plaatsvinden.",paypalClosed:"Venster is gesloten, type kan niet worden bepaald",paypalPopupClosed:"Detectie van sluiten van pop‑up",applePayClosed:"Geannuleerd"}},pl:{card:{title:"Metoda płatności",number:{label:"Numer karty",error:{required:"WYMAGANE",invalid:"Numer karty jest nieprawidłowy",incomplete:"Numer karty jest niepełny",unsupported:"Nieobsługiwany typ karty"}},expiry:{label:"Data ważności",placeholder:"MM / RR",error:{required:"WYMAGANE",incomplete:"Data ważności karty jest niepełna",invalid:"Termin ważności karty jest nieprawidłowy",expired:"Karta straciła ważność"}},cvc:{label:"Kod bezpieczeństwa",placeholder:"Kod CVC",error:{required:"WYMAGANE",incomplete:"Kod zabezpieczający karty jest niekompletny",invalid:"CVC karty jest nieprawidłowy"}},name:{label:"Imię i nazwisko posiadacza karty",placeholder:"Imię i nazwisko",error:{required:"WYMAGANE",invalid:"Podaj pełne imię i nazwisko"}},pay:{button:"Zapłać"},compact:{button:"Karta"}},status:{success:"Sukces",error:"Nie możemy uwierzytelnić metody płatności. Wybierz inną metodę płatności i spróbuj ponownie."},errors:{doNotHonor:"Odmowa bez podania przyczyny",insufficientFunds:"Niewystarczające środki",limitExceeded:"Przekroczono limit",cardholdersActivityLimitExceeded:"Przekroczono limit aktywności posiadacza karty",expiredCard:"Karta wygasła",invalidCreditCardNumber:"Nieprawidłowy numer karty",invalidExpirationDate:"Nieprawidłowa data ważności",noAccount:"Brak konta",cardAccountLengthError:"Nieprawidłowa długość numeru konta karty",noSuchIssuer:"Wydawca nie istnieje",cardIssuerDeclinedCvv:"Wydawca karty odrzucił CVV",voiceAuthorizationRequired:"Wymagana autoryzacja głosowa",processorDeclinedPossibleLostCard:"Odrzucono przez procesor – możliwa utrata karty",processorDeclinedPossibleStolenCard:"Odrzucono przez procesor – możliwa kradzież karty",processorDeclinedFraudSuspected:"Odrzucono przez procesor – podejrzenie oszustwa",transactionNotAllowed:"Transakcja niedozwolona",duplicateTransaction:"Zduplikowana transakcja",cardholderStoppedBilling:"Posiadacz karty zatrzymał rozliczenia",cardholderStoppedAllBilling:"Posiadacz karty zatrzymał wszystkie obciążenia",invalidTransaction:"Nieprawidłowa transakcja",violation:"Naruszenie",securityViolation:"Naruszenie bezpieczeństwa",declinedUpdatedCardholderAvailable:"Odrzucono – dostępne zaktualizowane dane posiadacza",processorDoesNotSupportThisFeature:"Procesor nie obsługuje tej funkcji",cardTypeNotEnabled:"Typ karty nieaktywny",setUpErrorMerchant:"Błąd konfiguracji – sprzedawca",invalidMerchantId:"Nieprawidłowy identyfikator sprzedawcy",setUpErrorAmount:"Błąd konfiguracji – kwota",setUpErrorHierarchy:"Błąd konfiguracji – hierarchia",setUpErrorCard:"Błąd konfiguracji – karta",setUpErrorTerminal:"Błąd konfiguracji – terminal",encryptionError:"Błąd szyfrowania",surchargeNotPermitted:"Dodatkowa opłata niedozwolona",inconsistentData:"Niespójne dane",noActionTaken:"Nie podjęto żadnych działań",partialApprovalForAmountInGroupIiiVersion:"Częściowa akceptacja kwoty (wersja Group III)",authorizationCouldNotBeFound:"Nie znaleziono autoryzacji",alreadyReversed:"Już odwrócono",processorDeclined:"Odrzucono przez procesor",invalidAuthorizationCode:"Nieprawidłowy kod autoryzacji",invalidStore:"Nieprawidłowy sklep",declinedCallForApproval:"Odrzucono – zadzwoń w celu zatwierdzenia",invalidClientId:"Nieprawidłowy identyfikator klienta",errorDoNotRetryCallIssuer:"Błąd – nie ponawiać, skontaktuj się z wystawcą",declinedCallIssuer:"Odrzucono – skontaktuj się z wystawcą",invalidMerchantNumber:"Nieprawidłowy numer sprzedawcy",declined:"Odrzucono",callIssuerPickUpCard:"Zadzwoń do wystawcy. Zatrzymać kartę",invalidAmount:"Nieprawidłowa kwota",invalidSkuNumber:"Nieprawidłowy numer SKU",invalidCreditPlan:"Nieprawidłowy plan kredytowy",creditCardNumberDoesNotMatchMethodOfPayment:"Numer karty nie odpowiada metodzie płatności",invalidLevelIiiPurchase:"Nieprawidłowy zakup poziomu III",cardReportedAsLostOrStolen:"Karta zgłoszona jako zgubiona lub skradziona",reversalAmountDoesNotMatchAuthorizationAmount:"Kwota odwrócenia nie odpowiada kwocie autoryzacji",invalidTransactionDivisionNumber:"Nieprawidłowy numer działu transakcji",transactionAmountExceedsTheTransactionDivisionLimit:"Kwota transakcji przekracza limit działu",issuerOrCardholderHasPutARestrictionOnTheCard:"Wystawca lub posiadacz nałożył ograniczenie na kartę",merchantNotMastercardSecurecodeEnabled:"Sprzedawca nie włączył Mastercard SecureCode",addressVerificationFailed:"Weryfikacja adresu nie powiodła się",addressVerificationAndCardSecurityCodeFailed:"Weryfikacja adresu i kodu bezpieczeństwa nie powiodła się",invalidTransactionData:"Nieprawidłowe dane transakcji",invalidTaxAmount:"Nieprawidłowa kwota podatku",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Ustawienia firmowego konta PayPal spowodowały odrzucenie transakcji",invalidCurrencyCode:"Nieprawidłowy kod waluty",refundTimeLimitExceeded:"Przekroczono termin zwrotu",paypalBusinessAccountRestricted:"Firmowe konto PayPal ograniczone",authorizationExpired:"Autoryzacja wygasła",paypalBusinessAccountLockedOrClosed:"Firmowe konto PayPal zablokowane lub zamknięte",paypalBlockingDuplicateOrderIds:"PayPal blokuje zduplikowane identyfikatory zamówień",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Kupujący PayPal odwołał wstępnie zatwierdzoną autoryzację płatności",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Konto odbiorcy PayPal jest nieprawidłowe lub nie ma potwierdzonego e‑maila",paypalPayeeEmailIncorrectlyFormatted:"E‑mail odbiorcy PayPal ma nieprawidłowy format",paypalValidationError:"Błąd walidacji PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Instrument płatniczy na koncie PayPal został odrzucony przez procesor lub bank albo nie może być użyty do tej płatności",payerAccountIsLockedOrClosed:"Konto płatnika jest zablokowane lub zamknięte",payerCannotPayForThisTransactionWithPaypal:"Płatnik nie może zapłacić za tę transakcję przez PayPal",transactionRefusedDueToPaypalRiskModel:"Transakcja odrzucona przez model ryzyka PayPal",invalidSecurePaymentData:"Nieprawidłowe dane bezpiecznej płatności",paypalMerchantAccountConfigurationError:"Błąd konfiguracji konta sprzedawcy PayPal",invalidUserCredentials:"Nieprawidłowe dane logowania użytkownika",paypalPendingPaymentsAreNotSupported:"Oczekujące płatności PayPal nie są obsługiwane",paypalDomesticTransactionRequired:"Wymagana transakcja krajowa PayPal",paypalPhoneNumberRequired:"Wymagany numer telefonu PayPal",paypalTaxInfoRequired:"Wymagane informacje podatkowe PayPal",paypalPayeeBlockedTransaction:"Odbiorca PayPal zablokował transakcję",paypalTransactionLimitExceeded:"Przekroczono limit transakcji PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Transakcje referencyjne PayPal nie są włączone dla Twojego konta",currencyNotEnabledForYourPaypalSellerAccount:"Waluta nie jest włączona dla Twojego konta sprzedawcy PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Dostęp do e‑maila odbiorcy PayPal dla tego żądania zabroniony",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Konto PayPal lub Venmo nie jest skonfigurowane do zwrotów przekraczających rozliczoną kwotę",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Waluta tej transakcji musi odpowiadać walucie Twojego konta PayPal",noDataFoundTryAnotherVerificationMethod:"Nie znaleziono danych — spróbuj innej metody weryfikacji",paypalPaymentMethodIsInvalid:"Nieprawidłowa metoda płatności PayPal",paypalPaymentHasAlreadyBeenCompleted:"Płatność PayPal została już zakończona",paypalRefundIsNotAllowedAfterPartialRefund:"Zwrot PayPal niedozwolony po częściowym zwrocie",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Konto kupującego PayPal nie może być takie samo jak konto sprzedawcy",paypalAuthorizationAmountLimitExceeded:"Przekroczono limit kwoty autoryzacji PayPal",paypalAuthorizationCountLimitExceeded:"Przekroczono limit liczby autoryzacji PayPal",cardholderAuthenticationRequired:"Wymagana uwierzytelnienie posiadacza karty",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Rozliczanie zainicjowane przez kanał PayPal nie jest włączone dla Twojego konta",additionalAuthorizationRequired:"Wymagana dodatkowa autoryzacja",incorrectPin:"Nieprawidłowy PIN",pinTryExceeded:"Przekroczono liczbę prób PIN",offlineIssuerDeclined:"Wystawca offline – odrzucono",cannotAuthorizeAtThisTimeLifeCycle:"Nie można autoryzować w tej chwili (cykl życia)",cannotAuthorizeAtThisTimePolicy:"Nie można autoryzować w tej chwili (polityka)",cardNotActivated:"Karta nieaktywna",closedCard:"Karta zamknięta",processorNetworkUnavailableTryAgain:"Sieć procesora niedostępna – spróbuj ponownie",errorText:"Błąd",venmoClosed:"Okno zostało zamknięte przed dokonaniem tokenizacji.",paypalClosed:"Okno jest zamknięte, nie można określić typu",paypalPopupClosed:"Wykryto zamknięcie okna podręcznego",applePayClosed:"Anulowano"}},pt:{card:{title:"Forma de pagamento",number:{label:"Número do cartão",error:{required:"OBRIGATÓRIO",invalid:"O número do seu cartão é inválido",incomplete:"O número do seu cartão está incompleto",unsupported:"Tipo de cartão não suportado"}},expiry:{label:"Data de validade",placeholder:"MM / AA",error:{required:"OBRIGATÓRIO",incomplete:"A data de validade do cartão está incompleta",invalid:"A data de validade do seu cartão é inválida",expired:"O seu cartão expirou"}},cvc:{label:"Código de segurança",placeholder:"CVC",error:{required:"OBRIGATÓRIO",incomplete:"O código de segurança de seu cartão está incompleto",invalid:"O CVC do seu cartão é inválido"}},name:{label:"Nome do titular do cartão",placeholder:"Nome completo",error:{required:"OBRIGATÓRIO",invalid:"Forneça o seu nome completo"}},pay:{button:"Pagar"},compact:{button:"Cartão"}},status:{success:"Sucesso",error:"Não foi possível autenticar o seu método de pagamento. Selecione outro método de pagamento e tente novamente."},errors:{doNotHonor:"Recusado sem explicação",insufficientFunds:"Fundos insuficientes",limitExceeded:"Limite excedido",cardholdersActivityLimitExceeded:"Limite de atividade do titular excedido",expiredCard:"Cartão expirado",invalidCreditCardNumber:"Número do cartão inválido",invalidExpirationDate:"Data de validade inválida",noAccount:"Sem conta",cardAccountLengthError:"Comprimento do número de conta incorreto",noSuchIssuer:"Emissor não encontrado",cardIssuerDeclinedCvv:"Emissor recusou o CVV",voiceAuthorizationRequired:"Autorização por voz necessária",processorDeclinedPossibleLostCard:"Recusado pelo processador – possível cartão perdido",processorDeclinedPossibleStolenCard:"Recusado pelo processador – possível cartão roubado",processorDeclinedFraudSuspected:"Recusado pelo processador – suspeita de fraude",transactionNotAllowed:"Transação não permitida",duplicateTransaction:"Transação duplicada",cardholderStoppedBilling:"Titular interrompeu a cobrança",cardholderStoppedAllBilling:"Titular interrompeu todas as cobranças",invalidTransaction:"Transação inválida",violation:"Violação",securityViolation:"Violação de segurança",declinedUpdatedCardholderAvailable:"Recusado – dados atualizados do titular disponíveis",processorDoesNotSupportThisFeature:"Processador não suporta este recurso",cardTypeNotEnabled:"Tipo de cartão não habilitado",setUpErrorMerchant:"Erro de configuração – comerciante",invalidMerchantId:"ID do comerciante inválido",setUpErrorAmount:"Erro de configuração – valor",setUpErrorHierarchy:"Erro de configuração – hierarquia",setUpErrorCard:"Erro de configuração – cartão",setUpErrorTerminal:"Erro de configuração – terminal",encryptionError:"Erro de criptografia",surchargeNotPermitted:"Sobretaxa não permitida",inconsistentData:"Dados inconsistentes",noActionTaken:"Nenhuma ação tomada",partialApprovalForAmountInGroupIiiVersion:"Aprovação parcial do valor (versão Group III)",authorizationCouldNotBeFound:"Autorização não encontrada",alreadyReversed:"Já estornado",processorDeclined:"Recusado pelo processador",invalidAuthorizationCode:"Código de autorização inválido",invalidStore:"Loja inválida",declinedCallForApproval:"Recusado – ligar para aprovação",invalidClientId:"ID do cliente inválido",errorDoNotRetryCallIssuer:"Erro – não tente novamente, contate o emissor",declinedCallIssuer:"Recusado – contate o emissor",invalidMerchantNumber:"Número do comerciante inválido",declined:"Recusado",callIssuerPickUpCard:"Ligue para o emissor. Reter o cartão",invalidAmount:"Valor inválido",invalidSkuNumber:"Número de SKU inválido",invalidCreditPlan:"Plano de crédito inválido",creditCardNumberDoesNotMatchMethodOfPayment:"Número do cartão não corresponde ao método de pagamento",invalidLevelIiiPurchase:"Compra de nível III inválida",cardReportedAsLostOrStolen:"Cartão reportado como perdido ou roubado",reversalAmountDoesNotMatchAuthorizationAmount:"Valor do estorno não corresponde ao valor autorizado",invalidTransactionDivisionNumber:"Número de divisão de transação inválido",transactionAmountExceedsTheTransactionDivisionLimit:"Valor da transação excede o limite da divisão",issuerOrCardholderHasPutARestrictionOnTheCard:"Emissor ou titular colocou uma restrição no cartão",merchantNotMastercardSecurecodeEnabled:"Comerciante não tem Mastercard SecureCode habilitado",addressVerificationFailed:"Falha na verificação de endereço",addressVerificationAndCardSecurityCodeFailed:"Falha na verificação de endereço e código de segurança",invalidTransactionData:"Dados de transação inválidos",invalidTaxAmount:"Valor de imposto inválido",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Preferências da conta empresarial PayPal resultaram na falha da transação",invalidCurrencyCode:"Código de moeda inválido",refundTimeLimitExceeded:"Prazo de reembolso excedido",paypalBusinessAccountRestricted:"Conta empresarial PayPal restrita",authorizationExpired:"Autorização expirada",paypalBusinessAccountLockedOrClosed:"Conta empresarial PayPal bloqueada ou encerrada",paypalBlockingDuplicateOrderIds:"PayPal bloqueando IDs de pedido duplicados",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Comprador PayPal revogou a autorização de pagamento pré‑aprovada",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Conta do beneficiário PayPal inválida ou sem e‑mail confirmado",paypalPayeeEmailIncorrectlyFormatted:"E‑mail do beneficiário PayPal formatado incorretamente",paypalValidationError:"Erro de validação do PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Instrumento de pagamento na conta PayPal foi recusado pelo processador ou banco, ou não pode ser usado para este pagamento",payerAccountIsLockedOrClosed:"Conta do pagador bloqueada ou encerrada",payerCannotPayForThisTransactionWithPaypal:"Pagador não pode pagar esta transação com PayPal",transactionRefusedDueToPaypalRiskModel:"Transação recusada devido ao modelo de risco do PayPal",invalidSecurePaymentData:"Dados de pagamento seguro inválidos",paypalMerchantAccountConfigurationError:"Erro de configuração da conta do comerciante PayPal",invalidUserCredentials:"Credenciais de usuário inválidas",paypalPendingPaymentsAreNotSupported:"Pagamentos pendentes do PayPal não são suportados",paypalDomesticTransactionRequired:"Transação doméstica PayPal necessária",paypalPhoneNumberRequired:"Número de telefone do PayPal necessário",paypalTaxInfoRequired:"Informações fiscais do PayPal necessárias",paypalPayeeBlockedTransaction:"Beneficiário do PayPal bloqueou a transação",paypalTransactionLimitExceeded:"Limite de transações do PayPal excedido",paypalReferenceTransactionsNotEnabledForYourAccount:"Transações de referência do PayPal não habilitadas para sua conta",currencyNotEnabledForYourPaypalSellerAccount:"Moeda não habilitada para sua conta de vendedor PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Permissão de e‑mail do beneficiário negada para esta solicitação",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Conta PayPal ou Venmo não configurada para reembolsar além do valor liquidado",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"A moeda desta transação deve corresponder à da sua conta PayPal",noDataFoundTryAnotherVerificationMethod:"Nenhum dado encontrado — tente outro método de verificação",paypalPaymentMethodIsInvalid:"Método de pagamento PayPal inválido",paypalPaymentHasAlreadyBeenCompleted:"O pagamento PayPal já foi concluído",paypalRefundIsNotAllowedAfterPartialRefund:"Reembolso PayPal não permitido após reembolso parcial",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"A conta do comprador PayPal não pode ser igual à do vendedor",paypalAuthorizationAmountLimitExceeded:"Limite do valor de autorização do PayPal excedido",paypalAuthorizationCountLimitExceeded:"Limite da quantidade de autorizações do PayPal excedido",cardholderAuthenticationRequired:"Autenticação do titular necessária",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Faturamento iniciado por canal do PayPal não habilitado para sua conta",additionalAuthorizationRequired:"Autorização adicional necessária",incorrectPin:"PIN incorreto",pinTryExceeded:"Número de tentativas de PIN excedido",offlineIssuerDeclined:"Emissor offline – recusado",cannotAuthorizeAtThisTimeLifeCycle:"Não é possível autorizar no momento (ciclo de vida)",cannotAuthorizeAtThisTimePolicy:"Não é possível autorizar no momento (política)",cardNotActivated:"Cartão não ativado",closedCard:"Cartão encerrado",processorNetworkUnavailableTryAgain:"Rede do processador indisponível – tente novamente",errorText:"Erro",venmoClosed:"A janela foi fechada antes que a tokenização pudesse ocorrer.",paypalClosed:"A janela está fechada, não é possível determinar o tipo",paypalPopupClosed:"Deteção de fecho de pop‑up",applePayClosed:"Cancelado"}},ro:{card:{title:"Metoda de plată",number:{label:"Numărul cardului",error:{required:"NECESAR",invalid:"Numărul cardului dvs. nu este valid",incomplete:"Numărul cardului dvs. nu este complet",unsupported:"Tipul cardului nu este acceptat"}},expiry:{label:"Data de expirare",placeholder:"LL / AA",error:{required:"NECESAR",incomplete:"Data de expirare a cardului dvs. este incompletă",invalid:"Data de expirare a cardului dvs. nu este validă",expired:"Cardul dvs. a expirat"}},cvc:{label:"Codul de securitate",placeholder:"CVC",error:{required:"NECESAR",incomplete:"Codul de securitate al cardului dvs. este incomplet",invalid:"Numărul CVC al cardului dvs. nu este valid"}},name:{label:"Nume titular card",placeholder:"Nume complet",error:{required:"NECESAR",invalid:"Vă rugăm să furnizați numele dvs. complet"}},pay:{button:"Plătiți"},compact:{button:"Card"}},status:{success:"Succes",error:"Nu putem să vă autentificăm metoda de plată. Vă rugăm să alegeți o altă metodă de plată și să încercați din nou."},errors:{doNotHonor:"Refuzat fără motiv",insufficientFunds:"Fonduri insuficiente",limitExceeded:"Limită depășită",cardholdersActivityLimitExceeded:"Limită de activitate a titularului depășită",expiredCard:"Card expirat",invalidCreditCardNumber:"Număr de card invalid",invalidExpirationDate:"Data de expirare invalidă",noAccount:"Fără cont",cardAccountLengthError:"Lungime invalidă a numărului de cont al cardului",noSuchIssuer:"Emitent inexistent",cardIssuerDeclinedCvv:"Emitentul a refuzat CVV-ul",voiceAuthorizationRequired:"Este necesară autorizare vocală",processorDeclinedPossibleLostCard:"Refuzat de procesator – posibil card pierdut",processorDeclinedPossibleStolenCard:"Refuzat de procesator – posibil card furat",processorDeclinedFraudSuspected:"Refuzat de procesator – suspiciune de fraudă",transactionNotAllowed:"Tranzacție nepermisă",duplicateTransaction:"Tranzacție duplicată",cardholderStoppedBilling:"Titularul cardului a oprit facturarea",cardholderStoppedAllBilling:"Titularul a oprit toate facturările",invalidTransaction:"Tranzacție invalidă",violation:"Încălcare",securityViolation:"Încălcare de securitate",declinedUpdatedCardholderAvailable:"Refuzat – date actualizate ale titularului disponibile",processorDoesNotSupportThisFeature:"Procesatorul nu suportă această funcționalitate",cardTypeNotEnabled:"Tip de card neactivat",setUpErrorMerchant:"Eroare de configurare – comerciant",invalidMerchantId:"ID comerciant invalid",setUpErrorAmount:"Eroare de configurare – sumă",setUpErrorHierarchy:"Eroare de configurare – ierarhie",setUpErrorCard:"Eroare de configurare – card",setUpErrorTerminal:"Eroare de configurare – terminal",encryptionError:"Eroare de criptare",surchargeNotPermitted:"Suprataxa nu este permisă",inconsistentData:"Date inconsistente",noActionTaken:"Nu s-a efectuat nicio acțiune",partialApprovalForAmountInGroupIiiVersion:"Aprobare parțială a sumei (versiunea Group III)",authorizationCouldNotBeFound:"Autorizarea nu a fost găsită",alreadyReversed:"Deja inversat",processorDeclined:"Refuzat de procesator",invalidAuthorizationCode:"Cod de autorizare invalid",invalidStore:"Magazin invalid",declinedCallForApproval:"Refuzat – apelați pentru aprobare",invalidClientId:"ID client invalid",errorDoNotRetryCallIssuer:"Eroare – nu reîncercați, contactați emitentul",declinedCallIssuer:"Refuzat – contactați emitentul",invalidMerchantNumber:"Număr comerciant invalid",declined:"Refuzat",callIssuerPickUpCard:"Contactați emitentul. Ridicați cardul",invalidAmount:"Sumă invalidă",invalidSkuNumber:"Număr SKU invalid",invalidCreditPlan:"Plan de credit invalid",creditCardNumberDoesNotMatchMethodOfPayment:"Numărul cardului nu corespunde metodei de plată",invalidLevelIiiPurchase:"Achiziție de nivel III invalidă",cardReportedAsLostOrStolen:"Card raportat ca pierdut sau furat",reversalAmountDoesNotMatchAuthorizationAmount:"Suma inversată nu corespunde sumei autorizate",invalidTransactionDivisionNumber:"Număr de divizie a tranzacției invalid",transactionAmountExceedsTheTransactionDivisionLimit:"Suma tranzacției depășește limita diviziei",issuerOrCardholderHasPutARestrictionOnTheCard:"Emitentul sau titularul a impus o restricție pe card",merchantNotMastercardSecurecodeEnabled:"Comerciantul nu are activat Mastercard SecureCode",addressVerificationFailed:"Verificarea adresei a eșuat",addressVerificationAndCardSecurityCodeFailed:"Verificarea adresei și a codului de securitate a eșuat",invalidTransactionData:"Datele tranzacției sunt invalide",invalidTaxAmount:"Sumă de taxă invalidă",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Preferințele contului PayPal Business au dus la eșecul tranzacției",invalidCurrencyCode:"Cod valutar invalid",refundTimeLimitExceeded:"Limita de timp pentru rambursare depășită",paypalBusinessAccountRestricted:"Contul PayPal Business este restricționat",authorizationExpired:"Autorizarea a expirat",paypalBusinessAccountLockedOrClosed:"Contul PayPal Business este blocat sau închis",paypalBlockingDuplicateOrderIds:"PayPal blochează ID-urile de comandă duplicate",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Cumpărătorul PayPal a revocat autorizarea de plată preaprobată",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Contul beneficiarului PayPal este invalid sau nu are un e-mail confirmat",paypalPayeeEmailIncorrectlyFormatted:"E-mailul beneficiarului PayPal este formatat incorect",paypalValidationError:"Eroare de validare PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Instrumentul de plată din contul PayPal a fost refuzat de către procesator sau bancă, sau nu poate fi folosit pentru această plată",payerAccountIsLockedOrClosed:"Contul plătitorului este blocat sau închis",payerCannotPayForThisTransactionWithPaypal:"Plătitorul nu poate plăti această tranzacție cu PayPal",transactionRefusedDueToPaypalRiskModel:"Tranzacție refuzată din cauza modelului de risc PayPal",invalidSecurePaymentData:"Date de plată securizată invalide",paypalMerchantAccountConfigurationError:"Eroare de configurare a contului comerciantului PayPal",invalidUserCredentials:"Date de autentificare utilizator invalide",paypalPendingPaymentsAreNotSupported:"Plățile în așteptare PayPal nu sunt acceptate",paypalDomesticTransactionRequired:"Este necesară o tranzacție internă PayPal",paypalPhoneNumberRequired:"Este necesar numărul de telefon PayPal",paypalTaxInfoRequired:"Sunt necesare informațiile fiscale PayPal",paypalPayeeBlockedTransaction:"Beneficiarul PayPal a blocat tranzacția",paypalTransactionLimitExceeded:"Limita tranzacțiilor PayPal a fost depășită",paypalReferenceTransactionsNotEnabledForYourAccount:"Tranzacțiile de referință PayPal nu sunt activate pentru contul dvs.",currencyNotEnabledForYourPaypalSellerAccount:"Moneda nu este activată pentru contul dvs. de vânzător PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Permisiunea pentru e-mailul beneficiarului PayPal a fost refuzată pentru această solicitare",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Contul PayPal sau Venmo nu este configurat pentru rambursări ce depășesc suma decontată",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Moneda acestei tranzacții trebuie să corespundă cu moneda contului dvs. PayPal",noDataFoundTryAnotherVerificationMethod:"Nu s-au găsit date — încercați o altă metodă de verificare",paypalPaymentMethodIsInvalid:"Metoda de plată PayPal este invalidă",paypalPaymentHasAlreadyBeenCompleted:"Plata PayPal a fost deja finalizată",paypalRefundIsNotAllowedAfterPartialRefund:"Rambursarea PayPal nu este permisă după rambursare parțială",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Contul cumpărătorului PayPal nu poate fi același cu contul vânzătorului",paypalAuthorizationAmountLimitExceeded:"Limită depășită pentru suma autorizată PayPal",paypalAuthorizationCountLimitExceeded:"Limită depășită pentru numărul de autorizări PayPal",cardholderAuthenticationRequired:"Este necesară autentificarea titularului cardului",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Facturarea inițiată de canal PayPal nu este activată pentru contul dvs.",additionalAuthorizationRequired:"Este necesară o autorizare suplimentară",incorrectPin:"PIN incorect",pinTryExceeded:"Numărul de încercări PIN a fost depășit",offlineIssuerDeclined:"Emitent offline – refuzat",cannotAuthorizeAtThisTimeLifeCycle:"Nu se poate autoriza în acest moment (ciclu de viață)",cannotAuthorizeAtThisTimePolicy:"Nu se poate autoriza în acest moment (politică)",cardNotActivated:"Card neactivat",closedCard:"Card închis",processorNetworkUnavailableTryAgain:"Rețeaua procesorului este indisponibilă – încercați din nou",errorText:"Eroare",venmoClosed:"Fereastra a fost închisă înainte de efectuarea tokenizării.",paypalClosed:"Fereastra este închisă, nu se poate determina tipul",paypalPopupClosed:"S-a detectat închiderea ferestrei pop‑up",applePayClosed:"Anulat"}},ua:{card:{title:"Спосіб оплати",number:{label:"Номер картки",error:{required:"ОБОВʼЯЗКОВО",invalid:"Невірний номер картки",incomplete:"Номер картки неповний",unsupported:"Непідтримуваний тип картки"}},expiry:{label:"Термін дії",placeholder:"ММ / РР",error:{required:"ОБОВʼЯЗКОВО",invalid:"Невірний термін дії картки",incomplete:"Термін дії картки вказано не повністю",expired:"Термін дії картки минув"}},cvc:{label:"Код безпеки",placeholder:"CVC",error:{required:"ОБОВʼЯЗКОВО",incomplete:"Код безпеки картки введено не повністю",invalid:"Невірний CVC-код картки"}},name:{label:"Імʼя власника картки",placeholder:"Повне імʼя",error:{required:"ОБОВʼЯЗКОВО",invalid:"Вкажіть своє повне імʼя"}},pay:{button:"Сплатити"},compact:{button:"Картка"}},status:{success:"Платіж успішний!",error:"Не вдалося підтвердити ваш спосіб оплати. Будь ласка, оберіть інший спосіб оплати та спробуйте ще раз."},errors:{doNotHonor:"Відмовлено без пояснення",insufficientFunds:"Недостатньо коштів",limitExceeded:"Перевищено ліміт",cardholdersActivityLimitExceeded:"Перевищено ліміт активності держателя картки",expiredCard:"Прострочена картка",invalidCreditCardNumber:"Недійсний номер картки",invalidExpirationDate:"Недійсна дата закінчення терміну дії картки",noAccount:"Рахунок відсутній",cardAccountLengthError:"Неправильна довжина номера рахунку картки",noSuchIssuer:"Емітент не існує",cardIssuerDeclinedCvv:"Емітент картки відхилив CVV",voiceAuthorizationRequired:"Потрібна голосова авторизація",processorDeclinedPossibleLostCard:"Відхилено процесором – можливо, картку втрачено",processorDeclinedPossibleStolenCard:"Відхилено процесором – можливо, картку викрадено",processorDeclinedFraudSuspected:"Відхилено процесором – підозра на шахрайство",transactionNotAllowed:"Операцію не дозволено",duplicateTransaction:"Дубльована транзакція",cardholderStoppedBilling:"Держатель картки зупинив виставлення рахунків",cardholderStoppedAllBilling:"Держатель картки зупинив усі списання",invalidTransaction:"Недійсна транзакція",violation:"Порушення",securityViolation:"Порушення безпеки",declinedUpdatedCardholderAvailable:"Відхилено – доступні оновлені дані держателя",processorDoesNotSupportThisFeature:"Процесор не підтримує цю функцію",cardTypeNotEnabled:"Тип картки не активовано",setUpErrorMerchant:"Помилка налаштування – мерчант",invalidMerchantId:"Недійсний ID мерчанта",setUpErrorAmount:"Помилка налаштування – сума",setUpErrorHierarchy:"Помилка налаштування – ієрархія",setUpErrorCard:"Помилка налаштування – картка",setUpErrorTerminal:"Помилка налаштування – термінал",encryptionError:"Помилка шифрування",surchargeNotPermitted:"Додаткову комісію не дозволено",inconsistentData:"Непослідовні дані",noActionTaken:"Дій не вжито",partialApprovalForAmountInGroupIiiVersion:"Часткове схвалення суми у версії Group III",authorizationCouldNotBeFound:"Авторизацію не знайдено",alreadyReversed:"Вже сторновано",processorDeclined:"Відхилено процесором",invalidAuthorizationCode:"Недійсний код авторизації",invalidStore:"Недійсний магазин",declinedCallForApproval:"Відхилено – зателефонуйте для схвалення",invalidClientId:"Недійсний ID клієнта",errorDoNotRetryCallIssuer:"Помилка – не повторюйте, зверніться до емітента",declinedCallIssuer:"Відхилено – зверніться до емітента",invalidMerchantNumber:"Недійсний номер мерчанта",declined:"Відхилено",callIssuerPickUpCard:"Зателефонуйте емітенту. Вилучіть картку",invalidAmount:"Недійсна сума",invalidSkuNumber:"Недійсний номер SKU",invalidCreditPlan:"Недійсний кредитний план",creditCardNumberDoesNotMatchMethodOfPayment:"Номер картки не відповідає способу оплати",invalidLevelIiiPurchase:"Недійсна покупка рівня III",cardReportedAsLostOrStolen:"Картку заявлено як втрачено або викрадено",reversalAmountDoesNotMatchAuthorizationAmount:"Сума сторнування не відповідає сумі авторизації",invalidTransactionDivisionNumber:"Недійсний номер підрозділу операції",transactionAmountExceedsTheTransactionDivisionLimit:"Сума операції перевищує ліміт підрозділу операцій",issuerOrCardholderHasPutARestrictionOnTheCard:"Емітент або держатель встановив обмеження на картку",merchantNotMastercardSecurecodeEnabled:"Мерчант не активував Mastercard SecureCode",addressVerificationFailed:"Перевірка адреси не пройдена",addressVerificationAndCardSecurityCodeFailed:"Перевірка адреси та коду безпеки не пройдена",invalidTransactionData:"Недійсні дані транзакції",invalidTaxAmount:"Недійсна сума податку",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Налаштування бізнес-рахунку PayPal призвели до відмови транзакції",invalidCurrencyCode:"Недійсний код валюти",refundTimeLimitExceeded:"Перевищено строк повернення коштів",paypalBusinessAccountRestricted:"Бізнес-рахунок PayPal обмежено",authorizationExpired:"Термін дії авторизації минув",paypalBusinessAccountLockedOrClosed:"Бізнес-рахунок PayPal заблоковано або закрито",paypalBlockingDuplicateOrderIds:"PayPal блокує дубльовані ідентифікатори замовлень",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Покупець PayPal відкликав попередньо схвалену авторизацію платежу",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Рахунок одержувача PayPal недійсний або немає підтвердженої електронної пошти",paypalPayeeEmailIncorrectlyFormatted:"Електронна пошта одержувача PayPal має неправильний формат",paypalValidationError:"Помилка валідації PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Платіжний інструмент у рахунку PayPal відхилено процесором або банком, або його не можна використати для цього платежу",payerAccountIsLockedOrClosed:"Рахунок платника заблоковано або закрито",payerCannotPayForThisTransactionWithPaypal:"Платник не може оплатити цю транзакцію через PayPal",transactionRefusedDueToPaypalRiskModel:"Транзакцію відхилено через модель ризиків PayPal",invalidSecurePaymentData:"Недійсні дані безпечного платежу",paypalMerchantAccountConfigurationError:"Помилка конфігурації облікового запису мерчанта PayPal",invalidUserCredentials:"Недійсні облікові дані користувача",paypalPendingPaymentsAreNotSupported:"Очікувані платежі PayPal не підтримуються",paypalDomesticTransactionRequired:"Потрібна внутрішня транзакція PayPal",paypalPhoneNumberRequired:"Потрібен номер телефону PayPal",paypalTaxInfoRequired:"Потрібна податкова інформація PayPal",paypalPayeeBlockedTransaction:"Одержувач PayPal заблокував транзакцію",paypalTransactionLimitExceeded:"Перевищено ліміт транзакцій PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Референсні транзакції PayPal не активовано для вашого облікового запису",currencyNotEnabledForYourPaypalSellerAccount:"Валюта не активована для вашого продавця PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Доступ до електронної пошти одержувача PayPal для цього запиту заборонено",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Обліковий запис PayPal або Venmo не налаштований на повернення суми понад зараховану",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Валюта цієї транзакції має відповідати валюті вашого рахунку PayPal",noDataFoundTryAnotherVerificationMethod:"Дані не знайдено — спробуйте інший метод підтвердження",paypalPaymentMethodIsInvalid:"Недійсний спосіб оплати PayPal",paypalPaymentHasAlreadyBeenCompleted:"Платіж PayPal вже завершено",paypalRefundIsNotAllowedAfterPartialRefund:"Повернення PayPal не дозволене після часткового повернення",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Обліковий запис покупця PayPal не може збігатися з обліковим записом продавця",paypalAuthorizationAmountLimitExceeded:"Перевищено ліміт суми авторизації PayPal",paypalAuthorizationCountLimitExceeded:"Перевищено ліміт кількості авторизацій PayPal",cardholderAuthenticationRequired:"Потрібна автентифікація держателя картки",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Виставлення рахунків, ініційоване каналом PayPal, не активовано для вашого облікового запису",additionalAuthorizationRequired:"Потрібна додаткова авторизація",incorrectPin:"Невірний PIN-код",pinTryExceeded:"Перевищено кількість спроб PIN",offlineIssuerDeclined:"Емітент офлайн відхилив",cannotAuthorizeAtThisTimeLifeCycle:"Неможливо виконати авторизацію зараз (життєвий цикл)",cannotAuthorizeAtThisTimePolicy:"Неможливо виконати авторизацію зараз (політика)",cardNotActivated:"Картку не активовано",closedCard:"Картку закрито",processorNetworkUnavailableTryAgain:"Мережа процесора недоступна – спробуйте ще раз",errorText:"Помилка",venmoClosed:"Вікно закрито до виконання токенізації.",paypalClosed:"Вікно закрите, неможливо визначити тип",paypalPopupClosed:"Виявлено закриття спливаючого вікна",applePayClosed:"Скасовано"}},sk:{card:{title:"Spôsob platby",number:{label:"Číslo karty",error:{required:"POŽADOVANÉ",invalid:"Číslo vašej karty je neplatné",incomplete:"Číslo vašej karty je neúplné",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Dátum ukončenia platnosti",placeholder:"MM / RR",error:{required:"POŽADOVANÉ",incomplete:"Dátum vypršania platnosti vašej karty je neúplný",invalid:"Dátum vypršania platnosti vašej karty je neplatný",expired:"Platnosť vašej karty vypršala"}},cvc:{label:"Bezpečnostný kód",placeholder:"CVC",error:{required:"POŽADOVANÉ",incomplete:"Bezpečnostný kód vašej karty je neúplný",invalid:"Číslo CVC vašej karty je neplatné"}},name:{label:"Držiteľ karty",placeholder:"Celé meno",error:{required:"POŽADOVANÉ",invalid:"Zadajte vaše celé meno"}},pay:{button:"Zaplatiť"},compact:{button:"Karta"}},status:{success:"Úspech",error:"Nemôžeme overiť váš spôsob platby. Vyberte si iný spôsob platby a skúste to znova."},errors:{doNotHonor:"Odmietnuté bez uvedenia dôvodu",insufficientFunds:"Nedostatočné prostriedky",limitExceeded:"Prekročený limit",cardholdersActivityLimitExceeded:"Prekročený limit aktivity držiteľa karty",expiredCard:"Karta po dobe platnosti",invalidCreditCardNumber:"Neplatné číslo karty",invalidExpirationDate:"Neplatný dátum platnosti",noAccount:"Žiadny účet",cardAccountLengthError:"Neplatná dĺžka čísla účtu karty",noSuchIssuer:"Vydavateľ neexistuje",cardIssuerDeclinedCvv:"Vydavateľ karty odmietol CVV",voiceAuthorizationRequired:"Vyžaduje sa hlasová autorizácia",processorDeclinedPossibleLostCard:"Odmietnuté procesorom – možná strata karty",processorDeclinedPossibleStolenCard:"Odmietnuté procesorom – možná krádež karty",processorDeclinedFraudSuspected:"Odmietnuté procesorom – podozrenie na podvod",transactionNotAllowed:"Transakcia nie je povolená",duplicateTransaction:"Duplicitná transakcia",cardholderStoppedBilling:"Držiteľ karty zastavil účtovanie",cardholderStoppedAllBilling:"Držiteľ karty zastavil všetky účtovania",invalidTransaction:"Neplatná transakcia",violation:"Porušenie",securityViolation:"Porušenie zabezpečenia",declinedUpdatedCardholderAvailable:"Odmietnuté – dostupné aktualizované údaje držiteľa",processorDoesNotSupportThisFeature:"Procesor túto funkciu nepodporuje",cardTypeNotEnabled:"Typ karty nie je povolený",setUpErrorMerchant:"Chyba nastavenia – obchodník",invalidMerchantId:"Neplatné ID obchodníka",setUpErrorAmount:"Chyba nastavenia – suma",setUpErrorHierarchy:"Chyba nastavenia – hierarchia",setUpErrorCard:"Chyba nastavenia – karta",setUpErrorTerminal:"Chyba nastavenia – terminál",encryptionError:"Chyba šifrovania",surchargeNotPermitted:"Príplatok nie je povolený",inconsistentData:"Nekonzistentné údaje",noActionTaken:"Nevykonali sa žiadne kroky",partialApprovalForAmountInGroupIiiVersion:"Čiastočné schválenie sumy (verzia Group III)",authorizationCouldNotBeFound:"Autorizácia sa nenašla",alreadyReversed:"Už zvrátené",processorDeclined:"Odmietnuté procesorom",invalidAuthorizationCode:"Neplatný autorizačný kód",invalidStore:"Neplatný obchod",declinedCallForApproval:"Odmietnuté – volajte pre schválenie",invalidClientId:"Neplatné ID klienta",errorDoNotRetryCallIssuer:"Chyba – neskúšajte znova, kontaktujte vydavateľa",declinedCallIssuer:"Odmietnuté – kontaktujte vydavateľa",invalidMerchantNumber:"Neplatné číslo obchodníka",declined:"Odmietnuté",callIssuerPickUpCard:"Kontaktujte vydavateľa. Zaistite zadržanie karty",invalidAmount:"Neplatná suma",invalidSkuNumber:"Neplatné číslo SKU",invalidCreditPlan:"Neplatný splátkový plán",creditCardNumberDoesNotMatchMethodOfPayment:"Číslo karty nezodpovedá spôsobu platby",invalidLevelIiiPurchase:"Neplatný nákup úrovne III",cardReportedAsLostOrStolen:"Karta nahlásená ako stratená alebo odcudzená",reversalAmountDoesNotMatchAuthorizationAmount:"Suma zvrátenia nezodpovedá autorizačnej sume",invalidTransactionDivisionNumber:"Neplatné číslo divízie transakcie",transactionAmountExceedsTheTransactionDivisionLimit:"Suma transakcie prekračuje limit divízie",issuerOrCardholderHasPutARestrictionOnTheCard:"Vydavateľ alebo držiteľ uvalil na kartu obmedzenie",merchantNotMastercardSecurecodeEnabled:"Obchodník nemá aktivovaný Mastercard SecureCode",addressVerificationFailed:"Overenie adresy zlyhalo",addressVerificationAndCardSecurityCodeFailed:"Overenie adresy a bezpečnostného kódu zlyhalo",invalidTransactionData:"Neplatné údaje transakcie",invalidTaxAmount:"Neplatná výška dane",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Nastavenie firemného účtu PayPal spôsobilo zlyhanie transakcie",invalidCurrencyCode:"Neplatný kód meny",refundTimeLimitExceeded:"Prekročený časový limit pre vrátenie",paypalBusinessAccountRestricted:"Firemný účet PayPal je obmedzený",authorizationExpired:"Platnosť autorizácie vypršala",paypalBusinessAccountLockedOrClosed:"Firemný účet PayPal je zamknutý alebo uzavretý",paypalBlockingDuplicateOrderIds:"PayPal blokuje duplicitné ID objednávok",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Kupujúci na PayPal zrušil predbežne schválenú autorizáciu platby",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Účet príjemcu PayPal je neplatný alebo nemá potvrdený e‑mail",paypalPayeeEmailIncorrectlyFormatted:"E‑mail príjemcu PayPal je nesprávne formátovaný",paypalValidationError:"Chyba validácie PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Platobný nástroj v účte PayPal bol odmietnutý procesorom alebo bankou, alebo sa nedá použiť na túto platbu",payerAccountIsLockedOrClosed:"Účet platcu je zamknutý alebo zrušený",payerCannotPayForThisTransactionWithPaypal:"Platca nemôže uhradiť túto transakciu cez PayPal",transactionRefusedDueToPaypalRiskModel:"Transakcia odmietnutá z dôvodu rizikového modelu PayPal",invalidSecurePaymentData:"Neplatné údaje o zabezpečenej platbe",paypalMerchantAccountConfigurationError:"Chyba konfigurácie účtu obchodníka PayPal",invalidUserCredentials:"Neplatné prihlasovacie údaje používateľa",paypalPendingPaymentsAreNotSupported:"Čakajúce platby PayPal nie sú podporované",paypalDomesticTransactionRequired:"Vyžaduje sa domáca transakcia PayPal",paypalPhoneNumberRequired:"Vyžaduje sa telefónne číslo PayPal",paypalTaxInfoRequired:"Vyžadujú sa daňové informácie PayPal",paypalPayeeBlockedTransaction:"Príjemca PayPal zablokoval transakciu",paypalTransactionLimitExceeded:"Prekročený limit transakcií PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Referenčné transakcie PayPal nie sú pre váš účet povolené",currencyNotEnabledForYourPaypalSellerAccount:"Mena nie je povolená pre váš predajný účet PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Prístup k e‑mailu príjemcu PayPal pre túto požiadavku bol zamietnutý",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Účet PayPal alebo Venmo nie je nastavený na vrátenie sumy vyššej ako vyrovnaná",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Mena tejto transakcie sa musí zhodovať s menou vášho účtu PayPal",noDataFoundTryAnotherVerificationMethod:"Nenašli sa žiadne údaje — skúste inú metódu overenia",paypalPaymentMethodIsInvalid:"Neplatná platobná metóda PayPal",paypalPaymentHasAlreadyBeenCompleted:"Platba cez PayPal už bola dokončená",paypalRefundIsNotAllowedAfterPartialRefund:"Vrátenie cez PayPal nie je povolené po čiastočnom vrátení",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Účet kupujúceho PayPal nesmie byť rovnaký ako účet predajcu",paypalAuthorizationAmountLimitExceeded:"Prekročený limit sumy autorizácie PayPal",paypalAuthorizationCountLimitExceeded:"Prekročený limit počtu autorizácií PayPal",cardholderAuthenticationRequired:"Vyžaduje sa autentifikácia držiteľa karty",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Fakturácia iniciovaná kanálom PayPal nie je pre váš účet povolená",additionalAuthorizationRequired:"Vyžaduje sa dodatočná autorizácia",incorrectPin:"Nesprávny PIN",pinTryExceeded:"Prekročený počet pokusov o PIN",offlineIssuerDeclined:"Vydavateľ offline – odmietnuté",cannotAuthorizeAtThisTimeLifeCycle:"Teraz nie je možné autorizovať (životný cyklus)",cannotAuthorizeAtThisTimePolicy:"Teraz nie je možné autorizovať (politika)",cardNotActivated:"Karta nie je aktivovaná",closedCard:"Karta uzavretá",processorNetworkUnavailableTryAgain:"Sieť procesora nie je dostupná – skúste znova",errorText:"Chyba",venmoClosed:"Okno bolo zatvorené skôr, ako mohlo dôjsť k tokenizácii.",paypalClosed:"Okno je zatvorené, nie je možné určiť typ",paypalPopupClosed:"Zistené zatvorenie vyskakovacieho okna",applePayClosed:"Zrušené"}},sl:{card:{title:"Način plačila",number:{label:"Številka kartice",error:{required:"OBVEZNO",invalid:"Številka vaše kartice ni veljavna",incomplete:"Številka vaše kartice ni popolna",unsupported:"Nepodprta vrsta kartice"}},expiry:{label:"Datum poteka",placeholder:"MM / LL",error:{required:"OBVEZNO",incomplete:"Datum poteka vaše kartice ni popoln",invalid:"Datum poteka vaše kartice ni veljaven",expired:"Vaša kartica je potekla"}},cvc:{label:"Varnostna koda",placeholder:"CVC",error:{required:"OBVEZNO",incomplete:"Varnostna koda vaše kartice ni popolna",invalid:"Koda CVC vaše kartice ni veljavna"}},name:{label:"Ime imetnika kartice",placeholder:"Polno ime",error:{required:"OBVEZNO",invalid:"Vnesite svoje polno ime"}},pay:{button:"Plačaj"},compact:{button:"Kartica"}},status:{success:"Uspeh",error:"Vašega načina plačila ne moremo preveriti. Izberite drug način plačila in poskusite znova."},errors:{doNotHonor:"Zavrnjeno brez pojasnila",insufficientFunds:"Nezadostna sredstva",limitExceeded:"Prekoračena omejitev",cardholdersActivityLimitExceeded:"Prekoračena omejitev dejavnosti imetnika kartice",expiredCard:"Kartica je potekla",invalidCreditCardNumber:"Neveljavna številka kartice",invalidExpirationDate:"Neveljaven datum poteka",noAccount:"Ni računa",cardAccountLengthError:"Neveljavna dolžina številke računa kartice",noSuchIssuer:"Izdajatelj ne obstaja",cardIssuerDeclinedCvv:"Izdajatelj kartice je zavrnil CVV",voiceAuthorizationRequired:"Potrebna je glasovna avtorizacija",processorDeclinedPossibleLostCard:"Procesor zavrnil – možna izgubljena kartica",processorDeclinedPossibleStolenCard:"Procesor zavrnil – možna ukradena kartica",processorDeclinedFraudSuspected:"Procesor zavrnil – sum goljufije",transactionNotAllowed:"Transakcija ni dovoljena",duplicateTransaction:"Podvojena transakcija",cardholderStoppedBilling:"Imetnik kartice je ustavil zaračunavanje",cardholderStoppedAllBilling:"Imetnik kartice je ustavil vsa zaračunavanja",invalidTransaction:"Neveljavna transakcija",violation:"Kršitev",securityViolation:"Kršitev varnosti",declinedUpdatedCardholderAvailable:"Zavrnjeno – na voljo posodobljeni podatki imetnika",processorDoesNotSupportThisFeature:"Procesor te funkcije ne podpira",cardTypeNotEnabled:"Vrsta kartice ni omogočena",setUpErrorMerchant:"Napaka pri nastavitvi – trgovec",invalidMerchantId:"Neveljaven ID trgovca",setUpErrorAmount:"Napaka pri nastavitvi – znesek",setUpErrorHierarchy:"Napaka pri nastavitvi – hierarhija",setUpErrorCard:"Napaka pri nastavitvi – kartica",setUpErrorTerminal:"Napaka pri nastavitvi – terminal",encryptionError:"Napaka šifriranja",surchargeNotPermitted:"Dopolnilna pristojbina ni dovoljena",inconsistentData:"Nedosledni podatki",noActionTaken:"Brez izvedenih ukrepov",partialApprovalForAmountInGroupIiiVersion:"Delna odobritev zneska (različica Group III)",authorizationCouldNotBeFound:"Odobritev ni bila najdena",alreadyReversed:"Že razveljavljeno",processorDeclined:"Procesor zavrnil",invalidAuthorizationCode:"Neveljavna avtorizacijska koda",invalidStore:"Neveljavna trgovina",declinedCallForApproval:"Zavrnjeno – pokličite za odobritev",invalidClientId:"Neveljaven ID odjemalca",errorDoNotRetryCallIssuer:"Napaka – ne poskušajte znova, kontaktirajte izdajatelja",declinedCallIssuer:"Zavrnjeno – kontaktirajte izdajatelja",invalidMerchantNumber:"Neveljavna številka trgovca",declined:"Zavrnjeno",callIssuerPickUpCard:"Pokličite izdajatelja. Prevzemite kartico",invalidAmount:"Neveljaven znesek",invalidSkuNumber:"Neveljavna številka SKU",invalidCreditPlan:"Neveljaven kreditni načrt",creditCardNumberDoesNotMatchMethodOfPayment:"Številka kartice ne ustreza načinu plačila",invalidLevelIiiPurchase:"Neveljaven nakup 3. ravni",cardReportedAsLostOrStolen:"Kartica prijavljena kot izgubljena ali ukradena",reversalAmountDoesNotMatchAuthorizationAmount:"Znesek razveljavitve ne ustreza odobrenemu znesku",invalidTransactionDivisionNumber:"Neveljavna številka oddelka transakcije",transactionAmountExceedsTheTransactionDivisionLimit:"Znesek transakcije presega omejitev oddelka",issuerOrCardholderHasPutARestrictionOnTheCard:"Izdajatelj ali imetnik je uvedel omejitev na kartici",merchantNotMastercardSecurecodeEnabled:"Trgovec nima omogočenega Mastercard SecureCode",addressVerificationFailed:"Preverjanje naslova ni uspelo",addressVerificationAndCardSecurityCodeFailed:"Preverjanje naslova in varnostne kode ni uspelo",invalidTransactionData:"Neveljavni podatki transakcije",invalidTaxAmount:"Neveljaven znesek davka",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Nastavitve poslovnega računa PayPal so povzročile neuspeh transakcije",invalidCurrencyCode:"Neveljavna oznaka valute",refundTimeLimitExceeded:"Presežen časovni limit za vračilo",paypalBusinessAccountRestricted:"Poslovni račun PayPal je omejen",authorizationExpired:"Odobritev je potekla",paypalBusinessAccountLockedOrClosed:"Poslovni račun PayPal je zaklenjen ali zaprt",paypalBlockingDuplicateOrderIds:"PayPal blokira podvojene ID-je naročil",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Kupec na PayPal je preklical predhodno odobreno plačilo",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Račun prejemnika PayPal je neveljaven ali nima potrjenega e‑poštnega naslova",paypalPayeeEmailIncorrectlyFormatted:"E‑poštni naslov prejemnika PayPal je napačno oblikovan",paypalValidationError:"Napaka validacije PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Plačilno sredstvo na računu PayPal je zavrnil procesor ali banka, ali pa ga ni mogoče uporabiti za to plačilo",payerAccountIsLockedOrClosed:"Račun plačnika je zaklenjen ali zaprt",payerCannotPayForThisTransactionWithPaypal:"Plačnik ne more plačati te transakcije s PayPal",transactionRefusedDueToPaypalRiskModel:"Transakcija je bila zavrnjena zaradi PayPal modela tveganja",invalidSecurePaymentData:"Neveljavni varni plačilni podatki",paypalMerchantAccountConfigurationError:"Napaka konfiguracije trgovskega računa PayPal",invalidUserCredentials:"Neveljavne uporabniške poverilnice",paypalPendingPaymentsAreNotSupported:"Čakajoča plačila PayPal niso podprta",paypalDomesticTransactionRequired:"Zahtevana je domača transakcija PayPal",paypalPhoneNumberRequired:"Zahtevana je telefonska številka PayPal",paypalTaxInfoRequired:"Zahtevani so davčni podatki PayPal",paypalPayeeBlockedTransaction:"Prejemnik PayPal je blokiral transakcijo",paypalTransactionLimitExceeded:"Presežena omejitev transakcij PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Referenčne transakcije PayPal niso omogočene za vaš račun",currencyNotEnabledForYourPaypalSellerAccount:"Valuta ni omogočena za vaš prodajni račun PayPal",paypalPayeeEmailPermissionDeniedForThisRequest:"Dovoljenje za e‑pošto prejemnika PayPal je zavrnjeno za to zahtevo",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Račun PayPal ali Venmo ni nastavljen za vračila nad poravnan znesek",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Valuta te transakcije se mora ujemati z valuto vašega računa PayPal",noDataFoundTryAnotherVerificationMethod:"Podatkov ni mogoče najti — poskusite drug način preverjanja",paypalPaymentMethodIsInvalid:"Neveljaven način plačila PayPal",paypalPaymentHasAlreadyBeenCompleted:"Plačilo preko PayPal je že zaključeno",paypalRefundIsNotAllowedAfterPartialRefund:"Vračilo preko PayPal ni dovoljeno po delnem vračilu",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Račun kupca PayPal ne sme biti enak računu prodajalca",paypalAuthorizationAmountLimitExceeded:"Presežen limit zneska odobritve PayPal",paypalAuthorizationCountLimitExceeded:"Presežen limit števila odobritev PayPal",cardholderAuthenticationRequired:"Zahtevana je overitev imetnika kartice",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Zaračunavanje, ki ga sproži kanal PayPal, ni omogočeno za vaš račun",additionalAuthorizationRequired:"Zahtevana je dodatna odobritev",incorrectPin:"Napačen PIN",pinTryExceeded:"Preseženo število poskusov PIN",offlineIssuerDeclined:"Izdajatelj brez povezave – zavrnjeno",cannotAuthorizeAtThisTimeLifeCycle:"Trenutno ni mogoče odobriti (življenjski cikel)",cannotAuthorizeAtThisTimePolicy:"Trenutno ni mogoče odobriti (politika)",cardNotActivated:"Kartica ni aktivirana",closedCard:"Kartica je zaprta",processorNetworkUnavailableTryAgain:"Omrežje procesorja ni na voljo – poskusite znova",errorText:"Napaka",venmoClosed:"Okno je bilo zaprto, preden je lahko prišlo do tokenizacije.",paypalClosed:"Okno je zaprto, vrste ni mogoče določiti",paypalPopupClosed:"Zaznano zaprtje pojavnega okna",applePayClosed:"Preklicano"}},sv:{card:{title:"Betalningsmetod",number:{label:"Kortnummer",error:{required:"OBLIGATORISKT",invalid:"Ditt kortnummer är ogiltigt",incomplete:"Kortnumret är ofullständigt",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Sista giltighetsdag",placeholder:"MM / ÅÅ",error:{required:"OBLIGATORISKT",incomplete:"Kortets utgångsdatum är ofullständigt",invalid:"Kortets utgångsdatum är ogiltigt",expired:"Ditt kort har gått ut"}},cvc:{label:"Säkerhetskod",placeholder:"CVC",error:{required:"OBLIGATORISKT",incomplete:"Kortets säkerhetskod är ofullständig",invalid:"Kortets CVC-kod är ogiltig"}},name:{label:"Kortinnehavarens namn",placeholder:"Fullständigt namn",error:{required:"OBLIGATORISKT",invalid:"Ange ditt fullständiga namn"}},pay:{button:"Betala"},compact:{button:"Kort"}},status:{success:"Framgång",error:"Vi kan inte verifiera din betalningsmetod. Vänligen välj en annan betalningsmetod och försök igen."},errors:{doNotHonor:"Nekad utan förklaring",insufficientFunds:"Otillräckliga medel",limitExceeded:"Gräns överskriden",cardholdersActivityLimitExceeded:"Korthavarens aktivitetsgräns överskriden",expiredCard:"Kortet har gått ut",invalidCreditCardNumber:"Ogiltigt kortnummer",invalidExpirationDate:"Ogiltigt utgångsdatum",noAccount:"Inget konto",cardAccountLengthError:"Felaktig längd på kortets kontonummer",noSuchIssuer:"Utfärdare finns inte",cardIssuerDeclinedCvv:"Kortutfärdaren nekade CVV",voiceAuthorizationRequired:"Röstauktorisering krävs",processorDeclinedPossibleLostCard:"Nekad av processor – möjligt förlorat kort",processorDeclinedPossibleStolenCard:"Nekad av processor – möjligt stulet kort",processorDeclinedFraudSuspected:"Nekad av processor – misstänkt bedrägeri",transactionNotAllowed:"Transaktionen tillåts inte",duplicateTransaction:"Duplicerad transaktion",cardholderStoppedBilling:"Korthavaren stoppade debitering",cardholderStoppedAllBilling:"Korthavaren stoppade all debitering",invalidTransaction:"Ogiltig transaktion",violation:"Överträdelse",securityViolation:"Säkerhetsöverträdelse",declinedUpdatedCardholderAvailable:"Nekad – uppdaterad korthavarinfo finns",processorDoesNotSupportThisFeature:"Processorn stöder inte denna funktion",cardTypeNotEnabled:"Korttyp inte aktiverad",setUpErrorMerchant:"Konfigurationsfel – handlare",invalidMerchantId:"Ogiltigt handlare-ID",setUpErrorAmount:"Konfigurationsfel – belopp",setUpErrorHierarchy:"Konfigurationsfel – hierarki",setUpErrorCard:"Konfigurationsfel – kort",setUpErrorTerminal:"Konfigurationsfel – terminal",encryptionError:"Krypteringsfel",surchargeNotPermitted:"Tilläggsavgift inte tillåten",inconsistentData:"Inkonsistenta data",noActionTaken:"Ingen åtgärd vidtogs",partialApprovalForAmountInGroupIiiVersion:"Delvis godkännande av belopp (Group III-version)",authorizationCouldNotBeFound:"Auktorisering kunde inte hittas",alreadyReversed:"Redan återförd",processorDeclined:"Nekad av processor",invalidAuthorizationCode:"Ogiltig auktoriseringskod",invalidStore:"Ogiltig butik",declinedCallForApproval:"Nekad – ring för godkännande",invalidClientId:"Ogiltigt klient-ID",errorDoNotRetryCallIssuer:"Fel – försök inte igen, kontakta utfärdaren",declinedCallIssuer:"Nekad – kontakta utfärdaren",invalidMerchantNumber:"Ogiltigt handlarnummer",declined:"Nekad",callIssuerPickUpCard:"Kontakta utfärdaren. Ta kortet",invalidAmount:"Ogiltigt belopp",invalidSkuNumber:"Ogiltigt SKU‑nummer",invalidCreditPlan:"Ogiltig kreditplan",creditCardNumberDoesNotMatchMethodOfPayment:"Kortnumret matchar inte betalningsmetoden",invalidLevelIiiPurchase:"Ogiltigt Level III‑köp",cardReportedAsLostOrStolen:"Kort anmält som förlorat eller stulet",reversalAmountDoesNotMatchAuthorizationAmount:"Återföringsbelopp matchar inte auktoriserat belopp",invalidTransactionDivisionNumber:"Ogiltigt transaktionsdivisionsnummer",transactionAmountExceedsTheTransactionDivisionLimit:"Transaktionsbeloppet överskrider divisionsgränsen",issuerOrCardholderHasPutARestrictionOnTheCard:"Utfärdare eller korthavare har lagt en begränsning på kortet",merchantNotMastercardSecurecodeEnabled:"Handlaren har inte aktiverat Mastercard SecureCode",addressVerificationFailed:"Adressverifiering misslyckades",addressVerificationAndCardSecurityCodeFailed:"Adressverifiering och säkerhetskod misslyckades",invalidTransactionData:"Ogiltiga transaktionsdata",invalidTaxAmount:"Ogiltigt skattebelopp",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Inställningar i PayPal‑företagskonto ledde till att transaktionen misslyckades",invalidCurrencyCode:"Ogiltig valutakod",refundTimeLimitExceeded:"Tidsgräns för återbetalning överskriden",paypalBusinessAccountRestricted:"PayPal‑företagskonto begränsat",authorizationExpired:"Auktorisering har löpt ut",paypalBusinessAccountLockedOrClosed:"PayPal‑företagskonto låst eller stängt",paypalBlockingDuplicateOrderIds:"PayPal blockerar dubbla order‑ID:n",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal‑köparen har återkallat förhandsgodkänd betalningsauktorisering",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal‑mottagarens konto är ogiltigt eller saknar bekräftad e‑post",paypalPayeeEmailIncorrectlyFormatted:"PayPal‑mottagarens e‑post är felaktigt formaterad",paypalValidationError:"PayPal‑valideringsfel",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Betalningsmedel i PayPal‑kontot nekades av processor eller bank, eller kan inte användas för denna betalning",payerAccountIsLockedOrClosed:"Betalarens konto är låst eller stängt",payerCannotPayForThisTransactionWithPaypal:"Betalaren kan inte betala denna transaktion med PayPal",transactionRefusedDueToPaypalRiskModel:"Transaktionen nekades på grund av PayPals riskmodell",invalidSecurePaymentData:"Ogiltiga säkra betalningsdata",paypalMerchantAccountConfigurationError:"Konfigurationsfel i PayPal‑handlarkonto",invalidUserCredentials:"Ogiltiga användaruppgifter",paypalPendingPaymentsAreNotSupported:"Väntande PayPal‑betalningar stöds inte",paypalDomesticTransactionRequired:"Inhemsk PayPal‑transaktion krävs",paypalPhoneNumberRequired:"PayPal‑telefonnummer krävs",paypalTaxInfoRequired:"PayPal‑skatteinformation krävs",paypalPayeeBlockedTransaction:"PayPal‑mottagaren blockerade transaktionen",paypalTransactionLimitExceeded:"PayPal‑transaktionsgräns överskriden",paypalReferenceTransactionsNotEnabledForYourAccount:"Referenstransaktioner är inte aktiverade för ditt PayPal‑konto",currencyNotEnabledForYourPaypalSellerAccount:"Valuta är inte aktiverad för ditt PayPal‑säljarkonto",paypalPayeeEmailPermissionDeniedForThisRequest:"Åtkomst till PayPal‑mottagarens e‑post nekades för denna begäran",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal‑ eller Venmo‑konto är inte konfigurerat för att återbetala mer än reglerat belopp",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Denna transaktions valuta måste matcha valutan i ditt PayPal‑konto",noDataFoundTryAnotherVerificationMethod:"Inga data hittades — prova en annan verifieringsmetod",paypalPaymentMethodIsInvalid:"Ogiltig PayPal‑betalningsmetod",paypalPaymentHasAlreadyBeenCompleted:"PayPal‑betalningen har redan slutförts",paypalRefundIsNotAllowedAfterPartialRefund:"PayPal‑återbetalning är inte tillåten efter delåterbetalning",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal‑köparkonto får inte vara samma som säljarens konto",paypalAuthorizationAmountLimitExceeded:"Gräns för PayPal‑auktoriseringsbelopp överskriden",paypalAuthorizationCountLimitExceeded:"Gräns för antal PayPal‑auktoriseringar överskriden",cardholderAuthenticationRequired:"Korthavarautentisering krävs",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanalinitierad PayPal‑debitering är inte aktiverad för ditt konto",additionalAuthorizationRequired:"Ytterligare auktorisering krävs",incorrectPin:"Felaktig PIN‑kod",pinTryExceeded:"Antalet PIN‑försök har överskridits",offlineIssuerDeclined:"Utfärdare offline – nekad",cannotAuthorizeAtThisTimeLifeCycle:"Kan inte auktorisera just nu (livscykel)",cannotAuthorizeAtThisTimePolicy:"Kan inte auktorisera just nu (policy)",cardNotActivated:"Kortet är inte aktiverat",closedCard:"Kortet är stängt",processorNetworkUnavailableTryAgain:"Processornätverk inte tillgängligt – försök igen",errorText:"Fel",venmoClosed:"Fönstret stängdes innan tokenisering kunde utföras.",paypalClosed:"Fönstret är stängt, kan inte avgöra typ",paypalPopupClosed:"Upptäckt stängning av popup‑fönster",applePayClosed:"Avbruten"}},th:{card:{title:"วิธีการชำระเงิน",number:{label:"หมายเลขบัตร",error:{required:"ต้องป้อนข้อมูล",invalid:"หมายเลขบัตรของคุณไม่ถูกต้อง",incomplete:"หมายเลขบัตรของคุณไม่ครบถ้วน",unsupported:"ประเภทบัตรของคุณไม่ถูกต้อง"}},expiry:{label:"วันหมดอายุ",placeholder:"ดด / ปป",error:{required:"ต้องป้อนข้อมูล",incomplete:"วันที่หมดอายุของบัตรไม่ครบถ้วน",invalid:"วันที่หมดอายุของบัตรไม่ถูกต้อง",expired:"บัตรของคุณหมดอายุแล้ว"}},cvc:{label:"รหัสความปลอดภัย",placeholder:"CVC",error:{required:"ต้องป้อนข้อมูล",incomplete:"รหัสความปลอดภัยของบัตรไม่ครบถ้วน",invalid:"CVC ของบัตรไม่ถูกต้อง"}},name:{label:"ชื่อเจ้าของบัตร",placeholder:"ชื่อ-นามสกุล",error:{required:"ต้องป้อนข้อมูล",invalid:"โปรดป้อนชื่อ-นามสกุล"}},pay:{button:"ชำระเงิน"},compact:{button:"การ์ด"}},status:{success:"ความสำเร็จ",error:"เราไม่สามารถตรวจสอบวิธีการชำระเงินของคุณได้ โปรดเลือกวิธีการชำระเงินอื่นแล้วลองอีกครั้ง"},errors:{doNotHonor:"ปฏิเสธโดยไม่มีเหตุผล",insufficientFunds:"ยอดเงินไม่เพียงพอ",limitExceeded:"เกินวงเงิน",cardholdersActivityLimitExceeded:"เกินขีดจำกัดการใช้งานของผู้ถือบัตร",expiredCard:"บัตรหมดอายุ",invalidCreditCardNumber:"หมายเลขบัตรไม่ถูกต้อง",invalidExpirationDate:"วันหมดอายุไม่ถูกต้อง",noAccount:"ไม่มีบัญชี",cardAccountLengthError:"ความยาวเลขที่บัญชีบัตรไม่ถูกต้อง",noSuchIssuer:"ไม่พบผู้ออกบัตร",cardIssuerDeclinedCvv:"ผู้ออกบัตรปฏิเสธ CVV",voiceAuthorizationRequired:"จำเป็นต้องยืนยันด้วยเสียง",processorDeclinedPossibleLostCard:"ตัวประมวลผลปฏิเสธ – อาจเป็นบัตรสูญหาย",processorDeclinedPossibleStolenCard:"ตัวประมวลผลปฏิเสธ – อาจเป็นบัตรถูกขโมย",processorDeclinedFraudSuspected:"ตัวประมวลผลปฏิเสธ – สงสัยการทุจริต",transactionNotAllowed:"ไม่อนุญาตให้ทำรายการ",duplicateTransaction:"ทำรายการซ้ำ",cardholderStoppedBilling:"ผู้ถือบัตรหยุดการเรียกเก็บเงิน",cardholderStoppedAllBilling:"ผู้ถือบัตรหยุดการเรียกเก็บเงินทั้งหมด",invalidTransaction:"รายการไม่ถูกต้อง",violation:"การละเมิด",securityViolation:"การละเมิดความปลอดภัย",declinedUpdatedCardholderAvailable:"ปฏิเสธ – มีข้อมูลผู้ถือบัตรที่อัปเดต",processorDoesNotSupportThisFeature:"ตัวประมวลผลไม่รองรับฟังก์ชันนี้",cardTypeNotEnabled:"ยังไม่เปิดใช้งานประเภทบัตร",setUpErrorMerchant:"ข้อผิดพลาดในการตั้งค่า – ร้านค้า",invalidMerchantId:"รหัสร้านค้าไม่ถูกต้อง",setUpErrorAmount:"ข้อผิดพลาดในการตั้งค่า – จำนวนเงิน",setUpErrorHierarchy:"ข้อผิดพลาดในการตั้งค่า – ลำดับชั้น",setUpErrorCard:"ข้อผิดพลาดในการตั้งค่า – บัตร",setUpErrorTerminal:"ข้อผิดพลาดในการตั้งค่า – เครื่อง",encryptionError:"ข้อผิดพลาดในการเข้ารหัส",surchargeNotPermitted:"ไม่อนุญาตให้คิดค่าธรรมเนียมเพิ่มเติม",inconsistentData:"ข้อมูลไม่สอดคล้องกัน",noActionTaken:"ยังไม่ได้ดำเนินการ",partialApprovalForAmountInGroupIiiVersion:"อนุมัติบางส่วนของจำนวนเงิน (เวอร์ชัน Group III)",authorizationCouldNotBeFound:"ไม่พบการอนุมัติ",alreadyReversed:"ได้ทำการยกเลิกแล้ว",processorDeclined:"ตัวประมวลผลปฏิเสธ",invalidAuthorizationCode:"รหัสการอนุมัติไม่ถูกต้อง",invalidStore:"ร้านค้าไม่ถูกต้อง",declinedCallForApproval:"ปฏิเสธ – โทรเพื่อขออนุมัติ",invalidClientId:"รหัสลูกค้าไม่ถูกต้อง",errorDoNotRetryCallIssuer:"ข้อผิดพลาด – ห้ามลองใหม่ ให้ติดต่อผู้ออกบัตร",declinedCallIssuer:"ปฏิเสธ – ติดต่อผู้ออกบัตร",invalidMerchantNumber:"หมายเลขร้านค้าไม่ถูกต้อง",declined:"ถูกปฏิเสธ",callIssuerPickUpCard:"ติดต่อผู้ออกบัตร เพื่อยึดบัตร",invalidAmount:"จำนวนเงินไม่ถูกต้อง",invalidSkuNumber:"หมายเลข SKU ไม่ถูกต้อง",invalidCreditPlan:"แผนเครดิตไม่ถูกต้อง",creditCardNumberDoesNotMatchMethodOfPayment:"หมายเลขบัตรไม่ตรงกับวิธีการชำระเงิน",invalidLevelIiiPurchase:"การซื้อลำดับที่ III ไม่ถูกต้อง",cardReportedAsLostOrStolen:"บัตรถูกรายงานว่าหายหรือถูกขโมย",reversalAmountDoesNotMatchAuthorizationAmount:"จำนวนเงินยกเลิกไม่ตรงกับจำนวนเงินที่อนุมัติ",invalidTransactionDivisionNumber:"หมายเลขแผนกธุรกรรมไม่ถูกต้อง",transactionAmountExceedsTheTransactionDivisionLimit:"จำนวนธุรกรรมเกินวงเงินของแผนก",issuerOrCardholderHasPutARestrictionOnTheCard:"ผู้ออกบัตรหรือผู้ถือบัตรกำหนดข้อจำกัดในบัตร",merchantNotMastercardSecurecodeEnabled:"ร้านค้าไม่ได้เปิดใช้ Mastercard SecureCode",addressVerificationFailed:"การยืนยันที่อยู่ล้มเหลว",addressVerificationAndCardSecurityCodeFailed:"การยืนยันที่อยู่และรหัสความปลอดภัยล้มเหลว",invalidTransactionData:"ข้อมูลธุรกรรมไม่ถูกต้อง",invalidTaxAmount:"จำนวนภาษีไม่ถูกต้อง",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"การตั้งค่าบัญชีธุรกิจ PayPal ทำให้ธุรกรรมล้มเหลว",invalidCurrencyCode:"รหัสสกุลเงินไม่ถูกต้อง",refundTimeLimitExceeded:"เกินกำหนดเวลาสำหรับการคืนเงิน",paypalBusinessAccountRestricted:"บัญชีธุรกิจ PayPal ถูกจำกัด",authorizationExpired:"การอนุมัติหมดอายุ",paypalBusinessAccountLockedOrClosed:"บัญชีธุรกิจ PayPal ถูกล็อกหรือปิด",paypalBlockingDuplicateOrderIds:"PayPal บล็อกหมายเลขคำสั่งซื้อซ้ำ",paypalBuyerRevokedPreApprovedPaymentAuthorization:"ผู้ซื้อ PayPal เพิกถอนการอนุมัติการชำระเงินล่วงหน้า",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"บัญชีผู้รับเงิน PayPal ไม่ถูกต้องหรือไม่มีอีเมลยืนยัน",paypalPayeeEmailIncorrectlyFormatted:"อีเมลของผู้รับเงิน PayPal มีรูปแบบไม่ถูกต้อง",paypalValidationError:"ข้อผิดพลาดการตรวจสอบ PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"เครื่องมือชำระเงินในบัญชี PayPal ถูกตัวประมวลผลหรือธนาคารปฏิเสธ หรือไม่สามารถใช้สำหรับการชำระเงินนี้ได้",payerAccountIsLockedOrClosed:"บัญชีของผู้ชำระเงินถูกล็อกหรือปิด",payerCannotPayForThisTransactionWithPaypal:"ผู้ชำระเงินไม่สามารถชำระธุรกรรมนี้ด้วย PayPal ได้",transactionRefusedDueToPaypalRiskModel:"ธุรกรรมถูกปฏิเสธเนื่องจากโมเดลความเสี่ยงของ PayPal",invalidSecurePaymentData:"ข้อมูลการชำระเงินที่ปลอดภัยไม่ถูกต้อง",paypalMerchantAccountConfigurationError:"ข้อผิดพลาดในการกำหนดค่าบัญชีร้านค้า PayPal",invalidUserCredentials:"ข้อมูลรับรองผู้ใช้ไม่ถูกต้อง",paypalPendingPaymentsAreNotSupported:"ไม่รองรับการชำระเงิน PayPal ที่รอดำเนินการ",paypalDomesticTransactionRequired:"ต้องทำธุรกรรม PayPal ภายในประเทศ",paypalPhoneNumberRequired:"ต้องระบุหมายเลขโทรศัพท์ PayPal",paypalTaxInfoRequired:"ต้องระบุข้อมูลภาษี PayPal",paypalPayeeBlockedTransaction:"ผู้รับเงิน PayPal บล็อกธุรกรรม",paypalTransactionLimitExceeded:"เกินวงเงินธุรกรรม PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"ไม่ได้เปิดใช้ธุรกรรมอ้างอิงของ PayPal สำหรับบัญชีของคุณ",currencyNotEnabledForYourPaypalSellerAccount:"ยังไม่ได้เปิดใช้สกุลเงินในบัญชีผู้ขาย PayPal ของคุณ",paypalPayeeEmailPermissionDeniedForThisRequest:"ไม่มีสิทธิ์ใช้อีเมลผู้รับเงิน PayPal สำหรับคำขอนี้",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"บัญชี PayPal หรือ Venmo ไม่ถูกกำหนดค่าสำหรับการคืนเงินมากกว่าจำนวนที่ชำระแล้ว",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"สกุลเงินของธุรกรรมนี้ต้องตรงกับสกุลเงินในบัญชี PayPal ของคุณ",noDataFoundTryAnotherVerificationMethod:"ไม่พบข้อมูล — โปรดลองวิธีการยืนยันอื่น",paypalPaymentMethodIsInvalid:"วิธีการชำระเงิน PayPal ไม่ถูกต้อง",paypalPaymentHasAlreadyBeenCompleted:"การชำระเงิน PayPal เสร็จสมบูรณ์แล้ว",paypalRefundIsNotAllowedAfterPartialRefund:"ไม่อนุญาตให้คืนเงิน PayPal หลังจากคืนเงินบางส่วน",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"บัญชีผู้ซื้อ PayPal ต้องไม่เหมือนกับบัญชีผู้ขาย",paypalAuthorizationAmountLimitExceeded:"จำนวนเงินที่อนุมัติของ PayPal เกินวงเงิน",paypalAuthorizationCountLimitExceeded:"จำนวนครั้งที่อนุมัติของ PayPal เกินวงเงิน",cardholderAuthenticationRequired:"ต้องมีการยืนยันตัวตนของผู้ถือบัตร",paypalChannelInitiatedBillingNotEnabledForYourAccount:"ระบบเรียกเก็บเงิน PayPal ที่เริ่มโดยช่องทางไม่ได้เปิดใช้สำหรับบัญชีของคุณ",additionalAuthorizationRequired:"ต้องได้รับอนุมัติเพิ่มเติม",incorrectPin:"รหัส PIN ไม่ถูกต้อง",pinTryExceeded:"จำนวนครั้งในการลอง PIN เกินกำหนด",offlineIssuerDeclined:"ผู้ออกบัตรออฟไลน์ปฏิเสธ",cannotAuthorizeAtThisTimeLifeCycle:"ไม่สามารถอนุมัติได้ในขณะนี้ (วัฏจักรชีวิต)",cannotAuthorizeAtThisTimePolicy:"ไม่สามารถอนุมัติได้ในขณะนี้ (นโยบาย)",cardNotActivated:"บัตรยังไม่ได้เปิดใช้งาน",closedCard:"บัตรถูกปิด",processorNetworkUnavailableTryAgain:"เครือข่ายตัวประมวลผลไม่พร้อมใช้งาน – โปรดลองอีกครั้ง",errorText:"ข้อผิดพลาด",venmoClosed:"หน้าต่างถูกปิดก่อนที่จะทำการสร้างโทเค็นได้.",paypalClosed:"หน้าต่างถูกปิด ไม่สามารถระบุประเภทได้",paypalPopupClosed:"ตรวจพบการปิดหน้าต่างป๊อปอัป",applePayClosed:"ยกเลิกแล้ว"}},tr:{card:{title:"Ödeme yöntemi",number:{label:"Kart numarası",error:{required:"GEREKLI",invalid:"Kart numaranız geçersiz",incomplete:"Kart numaranız eksik",unsupported:"Desteklenmeyen kart türü"}},expiry:{label:"Son Kullanma Tarihi",placeholder:"AA / YY",error:{required:"GEREKLI",incomplete:"Kartınızın son kullanma tarihi eksik",invalid:"Kartınızın son kullanım tarihi geçersiz",expired:"Kartınızın süresi dolmuş"}},cvc:{label:"Güvenlik kodu",placeholder:"CVC",error:{required:"GEREKLI",incomplete:"Kartınızın güvenlik kodu eksik",invalid:"Kartınızın CVC'si geçersiz"}},name:{label:"Kart sahibinin adı",placeholder:"Ad ve soyadı",error:{required:"GEREKLI",invalid:"Lütfen tam adınızı girin"}},pay:{button:"Öde"},compact:{button:"Kart"}},status:{success:"Başarı",error:"Ödeme yönteminizi doğrulayamıyoruz. Lütfen farklı bir ödeme yöntemi seçin ve tekrar deneyin."},errors:{doNotHonor:"Açıklamasız reddedildi",insufficientFunds:"Yetersiz bakiye",limitExceeded:"Limit aşıldı",cardholdersActivityLimitExceeded:"Kart sahibinin işlem limiti aşıldı",expiredCard:"Kartın süresi dolmuş",invalidCreditCardNumber:"Geçersiz kart numarası",invalidExpirationDate:"Geçersiz son kullanma tarihi",noAccount:"Hesap yok",cardAccountLengthError:"Kart hesap numarası uzunluğu hatalı",noSuchIssuer:"Böyle bir kart sağlayıcısı yok",cardIssuerDeclinedCvv:"Kart sağlayıcısı CVV’yi reddetti",voiceAuthorizationRequired:"Sesli doğrulama gerekli",processorDeclinedPossibleLostCard:"İşlemci tarafından reddedildi – kart kayıp olabilir",processorDeclinedPossibleStolenCard:"İşlemci tarafından reddedildi – kart çalıntı olabilir",processorDeclinedFraudSuspected:"İşlemci tarafından reddedildi – şüpheli dolandırıcılık",transactionNotAllowed:"İşleme izin verilmiyor",duplicateTransaction:"Mükerrer işlem",cardholderStoppedBilling:"Kart sahibi faturalamayı durdurdu",cardholderStoppedAllBilling:"Kart sahibi tüm tahsilatları durdurdu",invalidTransaction:"Geçersiz işlem",violation:"İhlal",securityViolation:"Güvenlik ihlali",declinedUpdatedCardholderAvailable:"Reddedildi – güncellenmiş kart sahibi bilgisi mevcut",processorDoesNotSupportThisFeature:"İşlemci bu özelliği desteklemiyor",cardTypeNotEnabled:"Kart türü etkin değil",setUpErrorMerchant:"Kurulum hatası – üye işyeri",invalidMerchantId:"Geçersiz üye işyeri kimliği",setUpErrorAmount:"Kurulum hatası – tutar",setUpErrorHierarchy:"Kurulum hatası – hiyerarşi",setUpErrorCard:"Kurulum hatası – kart",setUpErrorTerminal:"Kurulum hatası – terminal",encryptionError:"Şifreleme hatası",surchargeNotPermitted:"Ek ücret izinli değil",inconsistentData:"Tutarsız veriler",noActionTaken:"İşlem yapılmadı",partialApprovalForAmountInGroupIiiVersion:"Tutar için kısmi onay (Group III sürümü)",authorizationCouldNotBeFound:"Yetkilendirme bulunamadı",alreadyReversed:"Zaten geri alındı",processorDeclined:"İşlemci tarafından reddedildi",invalidAuthorizationCode:"Geçersiz yetkilendirme kodu",invalidStore:"Geçersiz mağaza",declinedCallForApproval:"Reddedildi – onay için arayın",invalidClientId:"Geçersiz istemci kimliği",errorDoNotRetryCallIssuer:"Hata – tekrar denemeyin, kart sağlayıcısını arayın",declinedCallIssuer:"Reddedildi – kart sağlayıcısını arayın",invalidMerchantNumber:"Geçersiz üye işyeri numarası",declined:"Reddedildi",callIssuerPickUpCard:"Kart sağlayıcısını arayın. Kartı toplayın",invalidAmount:"Geçersiz tutar",invalidSkuNumber:"Geçersiz SKU numarası",invalidCreditPlan:"Geçersiz kredi planı",creditCardNumberDoesNotMatchMethodOfPayment:"Kart numarası ödeme yöntemiyle eşleşmiyor",invalidLevelIiiPurchase:"Geçersiz seviye III alışveriş",cardReportedAsLostOrStolen:"Kart kayıp veya çalıntı olarak bildirildi",reversalAmountDoesNotMatchAuthorizationAmount:"İade tutarı yetkilendirilen tutarla uyuşmuyor",invalidTransactionDivisionNumber:"Geçersiz işlem bölümü numarası",transactionAmountExceedsTheTransactionDivisionLimit:"İşlem tutarı bölüm limitini aşıyor",issuerOrCardholderHasPutARestrictionOnTheCard:"Kart sağlayıcısı veya kart sahibi karta kısıtlama koydu",merchantNotMastercardSecurecodeEnabled:"Üye işyeri Mastercard SecureCode etkin değil",addressVerificationFailed:"Adres doğrulama başarısız",addressVerificationAndCardSecurityCodeFailed:"Adres doğrulama ve güvenlik kodu başarısız",invalidTransactionData:"Geçersiz işlem verisi",invalidTaxAmount:"Geçersiz vergi tutarı",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal işletme hesabı tercihleri işlemin başarısız olmasına neden oldu",invalidCurrencyCode:"Geçersiz para birimi kodu",refundTimeLimitExceeded:"İade süresi aşıldı",paypalBusinessAccountRestricted:"PayPal işletme hesabı kısıtlı",authorizationExpired:"Yetkilendirme süresi doldu",paypalBusinessAccountLockedOrClosed:"PayPal işletme hesabı kilitli veya kapalı",paypalBlockingDuplicateOrderIds:"PayPal yinelenen sipariş kimliklerini engelliyor",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal alıcısı ön onaylı ödeme yetkisini iptal etti",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal alıcı hesabı geçersiz veya doğrulanmış e‑posta yok",paypalPayeeEmailIncorrectlyFormatted:"PayPal alıcı e‑postası hatalı biçimlendirilmiş",paypalValidationError:"PayPal doğrulama hatası",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPal hesabındaki ödeme aracı işlemci veya banka tarafından reddedildi ya da bu ödeme için kullanılamaz",payerAccountIsLockedOrClosed:"Ödeyenin hesabı kilitli veya kapalı",payerCannotPayForThisTransactionWithPaypal:"Ödeyen bu işlemi PayPal ile ödeyemez",transactionRefusedDueToPaypalRiskModel:"İşlem PayPal risk modeli nedeniyle reddedildi",invalidSecurePaymentData:"Geçersiz güvenli ödeme verisi",paypalMerchantAccountConfigurationError:"PayPal üye işyeri hesabı yapılandırma hatası",invalidUserCredentials:"Geçersiz kullanıcı bilgileri",paypalPendingPaymentsAreNotSupported:"Bekleyen PayPal ödemeleri desteklenmiyor",paypalDomesticTransactionRequired:"Yurtiçi PayPal işlemi gerekli",paypalPhoneNumberRequired:"PayPal telefon numarası gerekli",paypalTaxInfoRequired:"PayPal vergi bilgisi gerekli",paypalPayeeBlockedTransaction:"PayPal alıcısı işlemi engelledi",paypalTransactionLimitExceeded:"PayPal işlem limiti aşıldı",paypalReferenceTransactionsNotEnabledForYourAccount:"PayPal referans işlemleri hesabınız için etkin değil",currencyNotEnabledForYourPaypalSellerAccount:"Para birimi PayPal satıcı hesabınız için etkin değil",paypalPayeeEmailPermissionDeniedForThisRequest:"Bu istek için PayPal alıcısının e‑postasına izin verilmedi",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal veya Venmo hesabı, tahsil edilenden fazla iade için yapılandırılmamış",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Bu işlemin para birimi PayPal hesabınızdaki para birimiyle eşleşmelidir",noDataFoundTryAnotherVerificationMethod:"Veri bulunamadı — başka bir doğrulama yöntemi deneyin",paypalPaymentMethodIsInvalid:"Geçersiz PayPal ödeme yöntemi",paypalPaymentHasAlreadyBeenCompleted:"PayPal ödemesi zaten tamamlandı",paypalRefundIsNotAllowedAfterPartialRefund:"Kısmi iadenin ardından PayPal iadesine izin verilmez",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal alıcı hesabı satıcı hesabıyla aynı olamaz",paypalAuthorizationAmountLimitExceeded:"PayPal yetkilendirme tutarı limiti aşıldı",paypalAuthorizationCountLimitExceeded:"PayPal yetkilendirme sayısı limiti aşıldı",cardholderAuthenticationRequired:"Kart sahibinin kimlik doğrulaması gerekli",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Kanal başlatımlı PayPal faturalandırma hesabınız için etkin değil",additionalAuthorizationRequired:"Ek yetkilendirme gerekli",incorrectPin:"Hatalı PIN",pinTryExceeded:"PIN deneme sayısı aşıldı",offlineIssuerDeclined:"Çevrimdışı sağlayıcı reddetti",cannotAuthorizeAtThisTimeLifeCycle:"Şu anda yetkilendirilemiyor (Yaşam döngüsü)",cannotAuthorizeAtThisTimePolicy:"Şu anda yetkilendirilemiyor (Politika)",cardNotActivated:"Kart etkinleştirilmedi",closedCard:"Kart kapalı",processorNetworkUnavailableTryAgain:"İşlemci ağı kullanılamıyor – tekrar deneyin",errorText:"Hata",venmoClosed:"Tokenleştirme gerçekleşmeden önce pencere kapatıldı.",paypalClosed:"Pencere kapalı, tür belirlenemiyor",paypalPopupClosed:"Açılır pencere kapanması algılandı",applePayClosed:"İptal edildi"}},vi:{card:{title:"Phương thức thanh toán",number:{label:"Số thẻ",error:{required:"BẮT BUỘC",invalid:"Số thẻ của quý vị không hợp lệ",incomplete:"Số thẻ của quý vị không đầy đủ",unsupported:"Không hỗ trợ loại thẻ"}},expiry:{label:"Ngày hết hạn",placeholder:"MM / YY",error:{required:"BẮT BUỘC",incomplete:"Ngày hết hạn trên thẻ không hợp lệ",invalid:"Ngày hết hạn của thẻ không hợp lệ",expired:"Thẻ của quý vị đã hết hạn"}},cvc:{label:"Mã bảo mật",placeholder:"CVC",error:{required:"BẮT BUỘC",incomplete:"Mã bảo mật của thẻ không đầy đủ",invalid:"CVC thẻ của bạn không hợp lệ"}},name:{label:"Tên chủ thẻ",placeholder:"Họ và tên",error:{required:"BẮT BUỘC",invalid:"Vui lòng cung cấp tên đầy đủ của bạn"}},pay:{button:"Thanh toán"},compact:{button:"Thẻ"}},status:{success:"Thành công",error:"Chúng tôi không thể xác thực phương thức thanh toán của bạn. Vui lòng chọn phương thức thanh toán khác và thử lại."},errors:{doNotHonor:"Từ chối không rõ lý do",insufficientFunds:"Không đủ tiền",limitExceeded:"Vượt quá hạn mức",cardholdersActivityLimitExceeded:"Vượt quá hạn mức hoạt động của chủ thẻ",expiredCard:"Thẻ đã hết hạn",invalidCreditCardNumber:"Số thẻ không hợp lệ",invalidExpirationDate:"Ngày hết hạn không hợp lệ",noAccount:"Không có tài khoản",cardAccountLengthError:"Độ dài số tài khoản thẻ không hợp lệ",noSuchIssuer:"Không tìm thấy đơn vị phát hành",cardIssuerDeclinedCvv:"Đơn vị phát hành từ chối CVV",voiceAuthorizationRequired:"Yêu cầu ủy quyền bằng giọng nói",processorDeclinedPossibleLostCard:"Bộ xử lý từ chối – có thể thẻ bị thất lạc",processorDeclinedPossibleStolenCard:"Bộ xử lý từ chối – có thể thẻ bị đánh cắp",processorDeclinedFraudSuspected:"Bộ xử lý từ chối – nghi ngờ gian lận",transactionNotAllowed:"Giao dịch không được phép",duplicateTransaction:"Giao dịch trùng lặp",cardholderStoppedBilling:"Chủ thẻ đã dừng việc lập hóa đơn",cardholderStoppedAllBilling:"Chủ thẻ đã dừng tất cả các khoản thu",invalidTransaction:"Giao dịch không hợp lệ",violation:"Vi phạm",securityViolation:"Vi phạm bảo mật",declinedUpdatedCardholderAvailable:"Bị từ chối – có thông tin chủ thẻ cập nhật",processorDoesNotSupportThisFeature:"Bộ xử lý không hỗ trợ tính năng này",cardTypeNotEnabled:"Loại thẻ chưa được kích hoạt",setUpErrorMerchant:"Lỗi cấu hình – đơn vị chấp nhận thẻ",invalidMerchantId:"ID đơn vị chấp nhận thẻ không hợp lệ",setUpErrorAmount:"Lỗi cấu hình – số tiền",setUpErrorHierarchy:"Lỗi cấu hình – phân cấp",setUpErrorCard:"Lỗi cấu hình – thẻ",setUpErrorTerminal:"Lỗi cấu hình – thiết bị",encryptionError:"Lỗi mã hóa",surchargeNotPermitted:"Không cho phép phụ phí",inconsistentData:"Dữ liệu không nhất quán",noActionTaken:"Chưa thực hiện hành động",partialApprovalForAmountInGroupIiiVersion:"Phê duyệt một phần số tiền (phiên bản Group III)",authorizationCouldNotBeFound:"Không tìm thấy ủy quyền",alreadyReversed:"Đã đảo ngược",processorDeclined:"Bộ xử lý từ chối",invalidAuthorizationCode:"Mã ủy quyền không hợp lệ",invalidStore:"Cửa hàng không hợp lệ",declinedCallForApproval:"Bị từ chối – gọi để phê duyệt",invalidClientId:"ID khách hàng không hợp lệ",errorDoNotRetryCallIssuer:"Lỗi – không thử lại, hãy liên hệ đơn vị phát hành",declinedCallIssuer:"Bị từ chối – liên hệ đơn vị phát hành",invalidMerchantNumber:"Số đơn vị chấp nhận thẻ không hợp lệ",declined:"Bị từ chối",callIssuerPickUpCard:"Gọi đơn vị phát hành. Thu hồi thẻ",invalidAmount:"Số tiền không hợp lệ",invalidSkuNumber:"Số SKU không hợp lệ",invalidCreditPlan:"Gói tín dụng không hợp lệ",creditCardNumberDoesNotMatchMethodOfPayment:"Số thẻ không khớp với phương thức thanh toán",invalidLevelIiiPurchase:"Giao dịch cấp III không hợp lệ",cardReportedAsLostOrStolen:"Thẻ được báo mất hoặc bị đánh cắp",reversalAmountDoesNotMatchAuthorizationAmount:"Số tiền đảo ngược không khớp số tiền ủy quyền",invalidTransactionDivisionNumber:"Số phân khu giao dịch không hợp lệ",transactionAmountExceedsTheTransactionDivisionLimit:"Số tiền giao dịch vượt quá hạn mức phân khu",issuerOrCardholderHasPutARestrictionOnTheCard:"Đơn vị phát hành hoặc chủ thẻ đã đặt hạn chế trên thẻ",merchantNotMastercardSecurecodeEnabled:"Đơn vị chấp nhận thẻ chưa bật Mastercard SecureCode",addressVerificationFailed:"Xác minh địa chỉ thất bại",addressVerificationAndCardSecurityCodeFailed:"Xác minh địa chỉ và mã bảo mật thất bại",invalidTransactionData:"Dữ liệu giao dịch không hợp lệ",invalidTaxAmount:"Số tiền thuế không hợp lệ",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"Tùy chọn tài khoản doanh nghiệp PayPal khiến giao dịch thất bại",invalidCurrencyCode:"Mã tiền tệ không hợp lệ",refundTimeLimitExceeded:"Quá thời hạn hoàn tiền",paypalBusinessAccountRestricted:"Tài khoản doanh nghiệp PayPal bị hạn chế",authorizationExpired:"Ủy quyền đã hết hạn",paypalBusinessAccountLockedOrClosed:"Tài khoản doanh nghiệp PayPal bị khóa hoặc đóng",paypalBlockingDuplicateOrderIds:"PayPal đang chặn ID đơn hàng trùng",paypalBuyerRevokedPreApprovedPaymentAuthorization:"Người mua PayPal đã thu hồi ủy quyền thanh toán đã duyệt trước",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"Tài khoản người nhận PayPal không hợp lệ hoặc chưa có email xác nhận",paypalPayeeEmailIncorrectlyFormatted:"Email người nhận PayPal sai định dạng",paypalValidationError:"Lỗi xác thực PayPal",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"Phương tiện thanh toán trong tài khoản PayPal bị bộ xử lý hoặc ngân hàng từ chối, hoặc không thể dùng cho khoản thanh toán này",payerAccountIsLockedOrClosed:"Tài khoản người trả bị khóa hoặc đóng",payerCannotPayForThisTransactionWithPaypal:"Người trả không thể thanh toán giao dịch này bằng PayPal",transactionRefusedDueToPaypalRiskModel:"Giao dịch bị từ chối do mô hình rủi ro của PayPal",invalidSecurePaymentData:"Dữ liệu thanh toán bảo mật không hợp lệ",paypalMerchantAccountConfigurationError:"Lỗi cấu hình tài khoản người bán PayPal",invalidUserCredentials:"Thông tin xác thực người dùng không hợp lệ",paypalPendingPaymentsAreNotSupported:"Không hỗ trợ thanh toán PayPal đang chờ xử lý",paypalDomesticTransactionRequired:"Yêu cầu giao dịch PayPal nội địa",paypalPhoneNumberRequired:"Yêu cầu số điện thoại PayPal",paypalTaxInfoRequired:"Yêu cầu thông tin thuế PayPal",paypalPayeeBlockedTransaction:"Người nhận PayPal đã chặn giao dịch",paypalTransactionLimitExceeded:"Vượt quá hạn mức giao dịch PayPal",paypalReferenceTransactionsNotEnabledForYourAccount:"Giao dịch tham chiếu PayPal chưa được bật cho tài khoản của bạn",currencyNotEnabledForYourPaypalSellerAccount:"Đơn vị tiền tệ chưa được bật cho tài khoản người bán PayPal của bạn",paypalPayeeEmailPermissionDeniedForThisRequest:"Không có quyền email người nhận PayPal cho yêu cầu này",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"Tài khoản PayPal hoặc Venmo không được cấu hình để hoàn tiền vượt quá số tiền đã quyết toán",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"Tiền tệ của giao dịch này phải khớp với tiền tệ trong tài khoản PayPal của bạn",noDataFoundTryAnotherVerificationMethod:"Không tìm thấy dữ liệu — hãy thử phương thức xác minh khác",paypalPaymentMethodIsInvalid:"Phương thức thanh toán PayPal không hợp lệ",paypalPaymentHasAlreadyBeenCompleted:"Thanh toán PayPal đã được hoàn tất",paypalRefundIsNotAllowedAfterPartialRefund:"Không cho phép hoàn tiền PayPal sau hoàn tiền một phần",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"Tài khoản người mua PayPal không được trùng với tài khoản người bán",paypalAuthorizationAmountLimitExceeded:"Vượt quá hạn mức số tiền ủy quyền PayPal",paypalAuthorizationCountLimitExceeded:"Vượt quá hạn mức số lần ủy quyền PayPal",cardholderAuthenticationRequired:"Yêu cầu xác thực chủ thẻ",paypalChannelInitiatedBillingNotEnabledForYourAccount:"Thanh toán do kênh khởi tạo của PayPal chưa được bật cho tài khoản của bạn",additionalAuthorizationRequired:"Cần ủy quyền bổ sung",incorrectPin:"PIN không chính xác",pinTryExceeded:"Vượt quá số lần thử PIN",offlineIssuerDeclined:"Đơn vị phát hành ngoại tuyến từ chối",cannotAuthorizeAtThisTimeLifeCycle:"Không thể ủy quyền lúc này (vòng đời)",cannotAuthorizeAtThisTimePolicy:"Không thể ủy quyền lúc này (chính sách)",cardNotActivated:"Thẻ chưa được kích hoạt",closedCard:"Thẻ đã đóng",processorNetworkUnavailableTryAgain:"Mạng của bộ xử lý không khả dụng – vui lòng thử lại",errorText:"Lỗi",venmoClosed:"Cửa sổ đã đóng trước khi quá trình token hóa có thể diễn ra.",paypalClosed:"Cửa sổ đã đóng, không thể xác định loại",paypalPopupClosed:"Phát hiện đóng cửa sổ bật lên",applePayClosed:"Đã hủy"}},zh:{card:{title:"支付方式",number:{label:"卡号",error:{required:"必填",invalid:"您的卡号无效",incomplete:"您的银行卡卡号不完整",unsupported:"不支持的卡类型"}},expiry:{label:"有效期",placeholder:"月份 / 年份",error:{required:"必填",incomplete:"您银行卡的有效期不完整",invalid:"您银行卡的有效期无效",expired:"您的银行卡已过期"}},cvc:{label:"安全代码",placeholder:"CVC",error:{required:"必填",incomplete:"您银行卡的安全码不完整",invalid:"您银行卡的 CVC 无效"}},name:{label:"持卡人姓名",placeholder:"全名",error:{required:"必填",invalid:"请提供您的全名"}},pay:{button:"支付"},compact:{button:"卡片"}},status:{success:"成功",error:"我们无法验证您的付款方式。请选择其他付款方式并重试。"},errors:{doNotHonor:"无理由拒绝",insufficientFunds:"资金不足",limitExceeded:"超出限额",cardholdersActivityLimitExceeded:"持卡人活动限额已超出",expiredCard:"卡片已过期",invalidCreditCardNumber:"卡号无效",invalidExpirationDate:"有效期无效",noAccount:"无账户",cardAccountLengthError:"卡账户号码长度错误",noSuchIssuer:"找不到发卡机构",cardIssuerDeclinedCvv:"发卡机构拒绝了CVV",voiceAuthorizationRequired:"需要语音授权",processorDeclinedPossibleLostCard:"处理方拒绝 – 可能为挂失卡",processorDeclinedPossibleStolenCard:"处理方拒绝 – 可能为被盗卡",processorDeclinedFraudSuspected:"处理方拒绝 – 疑似欺诈",transactionNotAllowed:"不允许的交易",duplicateTransaction:"重复交易",cardholderStoppedBilling:"持卡人已停止扣款",cardholderStoppedAllBilling:"持卡人已停止所有扣款",invalidTransaction:"无效交易",violation:"违规",securityViolation:"安全违规",declinedUpdatedCardholderAvailable:"已拒绝 – 可用的更新持卡人信息",processorDoesNotSupportThisFeature:"处理方不支持此功能",cardTypeNotEnabled:"卡类型未启用",setUpErrorMerchant:"设置错误 – 商户",invalidMerchantId:"无效的商户ID",setUpErrorAmount:"设置错误 – 金额",setUpErrorHierarchy:"设置错误 – 层级",setUpErrorCard:"设置错误 – 卡片",setUpErrorTerminal:"设置错误 – 终端",encryptionError:"加密错误",surchargeNotPermitted:"不允许附加费用",inconsistentData:"数据不一致",noActionTaken:"未采取任何操作",partialApprovalForAmountInGroupIiiVersion:"部分金额批准(Group III 版本)",authorizationCouldNotBeFound:"未找到授权",alreadyReversed:"已冲正",processorDeclined:"处理方已拒绝",invalidAuthorizationCode:"无效的授权代码",invalidStore:"无效的商店",declinedCallForApproval:"已拒绝 – 请致电以批准",invalidClientId:"无效的客户端ID",errorDoNotRetryCallIssuer:"错误 – 请勿重试,联系发卡机构",declinedCallIssuer:"已拒绝 – 请联系发卡机构",invalidMerchantNumber:"无效的商户编号",declined:"已拒绝",callIssuerPickUpCard:"联系发卡机构。收回卡片",invalidAmount:"无效金额",invalidSkuNumber:"无效的SKU编号",invalidCreditPlan:"无效的信用计划",creditCardNumberDoesNotMatchMethodOfPayment:"卡号与支付方式不匹配",invalidLevelIiiPurchase:"无效的三级购买",cardReportedAsLostOrStolen:"卡片已被报告丢失或被盗",reversalAmountDoesNotMatchAuthorizationAmount:"冲正金额与授权金额不匹配",invalidTransactionDivisionNumber:"无效的交易部门编号",transactionAmountExceedsTheTransactionDivisionLimit:"交易金额超过部门限额",issuerOrCardholderHasPutARestrictionOnTheCard:"发卡机构或持卡人对卡片设置了限制",merchantNotMastercardSecurecodeEnabled:"商户未启用Mastercard SecureCode",addressVerificationFailed:"地址验证失败",addressVerificationAndCardSecurityCodeFailed:"地址验证和安全码验证失败",invalidTransactionData:"无效的交易数据",invalidTaxAmount:"无效的税额",paypalBusinessAccountPreferenceResultedInTheTransactionFailing:"PayPal企业账户偏好导致交易失败",invalidCurrencyCode:"无效的货币代码",refundTimeLimitExceeded:"超过退款时限",paypalBusinessAccountRestricted:"PayPal企业账户受限",authorizationExpired:"授权已过期",paypalBusinessAccountLockedOrClosed:"PayPal企业账户被锁定或关闭",paypalBlockingDuplicateOrderIds:"PayPal正在阻止重复订单ID",paypalBuyerRevokedPreApprovedPaymentAuthorization:"PayPal买家撤销了预先批准的付款授权",paypalPayeeAccountInvalidOrDoesNotHaveAConfirmedEmail:"PayPal收款人账户无效或没有已确认的电子邮箱",paypalPayeeEmailIncorrectlyFormatted:"PayPal收款人电子邮箱格式不正确",paypalValidationError:"PayPal验证错误",fundingInstrumentInThePaypalAccountWasDeclinedByTheProcessorOrBankOrItCantBeUsedForThisPayment:"PayPal账户中的付款方式被处理方或银行拒绝,或不能用于此付款",payerAccountIsLockedOrClosed:"付款人的账户已锁定或关闭",payerCannotPayForThisTransactionWithPaypal:"付款人无法使用PayPal支付此交易",transactionRefusedDueToPaypalRiskModel:"因PayPal风险模型而拒绝交易",invalidSecurePaymentData:"无效的安全支付数据",paypalMerchantAccountConfigurationError:"PayPal商户账户配置错误",invalidUserCredentials:"无效的用户凭据",paypalPendingPaymentsAreNotSupported:"不支持待处理的PayPal付款",paypalDomesticTransactionRequired:"需要国内PayPal交易",paypalPhoneNumberRequired:"需要PayPal电话号码",paypalTaxInfoRequired:"需要PayPal税务信息",paypalPayeeBlockedTransaction:"PayPal收款人已阻止该交易",paypalTransactionLimitExceeded:"超出PayPal交易限额",paypalReferenceTransactionsNotEnabledForYourAccount:"您的账户未启用PayPal参考交易",currencyNotEnabledForYourPaypalSellerAccount:"您的PayPal卖家账户未启用该货币",paypalPayeeEmailPermissionDeniedForThisRequest:"此请求的PayPal收款人邮箱权限被拒绝",paypalOrVenmoAccountNotConfiguredToRefundMoreThanSettledAmount:"PayPal或Venmo账户未配置为退款超过已结算金额",currencyOfThisTransactionMustMatchCurrencyOfYourPaypalAccount:"该交易的货币必须与您的PayPal账户货币一致",noDataFoundTryAnotherVerificationMethod:"未找到数据 — 请尝试其他验证方式",paypalPaymentMethodIsInvalid:"无效的PayPal付款方式",paypalPaymentHasAlreadyBeenCompleted:"PayPal付款已完成",paypalRefundIsNotAllowedAfterPartialRefund:"部分退款后不允许PayPal退款",paypalBuyerAccountCantBeTheSameAsTheSellerAccount:"PayPal买家账户不得与卖家账户相同",paypalAuthorizationAmountLimitExceeded:"超出PayPal授权金额上限",paypalAuthorizationCountLimitExceeded:"超出PayPal授权次数上限",cardholderAuthenticationRequired:"需要持卡人身份验证",paypalChannelInitiatedBillingNotEnabledForYourAccount:"您的账户未启用渠道发起的PayPal计费",additionalAuthorizationRequired:"需要额外授权",incorrectPin:"PIN码不正确",pinTryExceeded:"PIN码尝试次数超限",offlineIssuerDeclined:"离线发卡机构拒绝",cannotAuthorizeAtThisTimeLifeCycle:"目前无法授权(生命周期)",cannotAuthorizeAtThisTimePolicy:"目前无法授权(策略)",cardNotActivated:"卡片未激活",closedCard:"卡片已关闭",processorNetworkUnavailableTryAgain:"处理方网络不可用 – 请重试",errorText:"错误",venmoClosed:"在完成令牌化之前窗口已关闭。",paypalClosed:"窗口已关闭,无法确定类型",paypalPopupClosed:"检测到弹出窗口关闭",applePayClosed:"已取消"}}},wt=()=>{const t=navigator==null?void 0:navigator.language.split("-")[0];return _t[t]||_t.en},Ln=(t,e={})=>{var n,s,o,l,d,c,u,h,p,m,y,f,g,E,N,w,I,x,_,L,V,H,G,j,B,U,J,z,W,q,k,v,O,M,P,T,b,R,S,C,F,Q,ie,D,ae,Pe,Un,Kn,qn,Hn,Yn,Gn,Wn,$n,Qn,Zn,Xn,Jn,ei,ai;if(!t)return wt();const a=_t[t]||wt(),r=Object.keys(Dn.errors||{}).reduce((ti,ac)=>(ti[ac]=a.status.error,ti),{}),i=K(K(K({},r),a.errors||{}),e.errors||{});return{card:{title:((n=e==null?void 0:e.card)==null?void 0:n.title)||a.card.title,number:{label:((o=(s=e==null?void 0:e.card)==null?void 0:s.number)==null?void 0:o.label)||a.card.number.label,error:{required:((c=(d=(l=e==null?void 0:e.card)==null?void 0:l.number)==null?void 0:d.error)==null?void 0:c.required)||a.card.number.error.required,invalid:((p=(h=(u=e==null?void 0:e.card)==null?void 0:u.number)==null?void 0:h.error)==null?void 0:p.invalid)||a.card.number.error.invalid,incomplete:((f=(y=(m=e==null?void 0:e.card)==null?void 0:m.number)==null?void 0:y.error)==null?void 0:f.incomplete)||a.card.number.error.incomplete,unsupported:((N=(E=(g=e==null?void 0:e.card)==null?void 0:g.number)==null?void 0:E.error)==null?void 0:N.unsupported)||a.card.number.error.unsupported}},expiry:{label:((I=(w=e==null?void 0:e.card)==null?void 0:w.expiry)==null?void 0:I.label)||a.card.expiry.label,placeholder:((_=(x=e==null?void 0:e.card)==null?void 0:x.expiry)==null?void 0:_.placeholder)||a.card.expiry.placeholder,error:{required:((H=(V=(L=e==null?void 0:e.card)==null?void 0:L.expiry)==null?void 0:V.error)==null?void 0:H.required)||a.card.expiry.error.required,invalid:((B=(j=(G=e==null?void 0:e.card)==null?void 0:G.expiry)==null?void 0:j.error)==null?void 0:B.invalid)||a.card.expiry.error.invalid,incomplete:((z=(J=(U=e==null?void 0:e.card)==null?void 0:U.expiry)==null?void 0:J.error)==null?void 0:z.incomplete)||a.card.expiry.error.incomplete,expired:((k=(q=(W=e==null?void 0:e.card)==null?void 0:W.expiry)==null?void 0:q.error)==null?void 0:k.expired)||a.card.expiry.error.expired}},cvc:{label:((O=(v=e==null?void 0:e.card)==null?void 0:v.cvc)==null?void 0:O.label)||a.card.cvc.label,placeholder:((P=(M=e==null?void 0:e.card)==null?void 0:M.cvc)==null?void 0:P.placeholder)||a.card.cvc.placeholder,error:{required:((R=(b=(T=e==null?void 0:e.card)==null?void 0:T.cvc)==null?void 0:b.error)==null?void 0:R.required)||a.card.cvc.error.required,incomplete:((F=(C=(S=e==null?void 0:e.card)==null?void 0:S.cvc)==null?void 0:C.error)==null?void 0:F.incomplete)||a.card.cvc.error.incomplete,invalid:((D=(ie=(Q=e==null?void 0:e.card)==null?void 0:Q.cvc)==null?void 0:ie.error)==null?void 0:D.invalid)||a.card.cvc.error.invalid}},name:{label:((Pe=(ae=e==null?void 0:e.card)==null?void 0:ae.name)==null?void 0:Pe.label)||a.card.name.label,placeholder:((Kn=(Un=e==null?void 0:e.card)==null?void 0:Un.name)==null?void 0:Kn.placeholder)||a.card.name.placeholder,error:{required:((Yn=(Hn=(qn=e==null?void 0:e.card)==null?void 0:qn.name)==null?void 0:Hn.error)==null?void 0:Yn.required)||a.card.name.error.required,invalid:(($n=(Wn=(Gn=e==null?void 0:e.card)==null?void 0:Gn.name)==null?void 0:Wn.error)==null?void 0:$n.invalid)||a.card.name.error.invalid}},pay:{button:((Zn=(Qn=e==null?void 0:e.card)==null?void 0:Qn.pay)==null?void 0:Zn.button)||a.card.pay.button},compact:{button:((Jn=(Xn=e==null?void 0:e.card)==null?void 0:Xn.compact)==null?void 0:Jn.button)||a.card.compact.button}},status:{success:((ei=e==null?void 0:e.status)==null?void 0:ei.success)||a.status.success,error:((ai=e==null?void 0:e.status)==null?void 0:ai.error)||a.status.error},errors:i}};class Od extends Da{constructor(){super({messages:wt(),locale:(navigator==null?void 0:navigator.language.split("-")[0])||"en"})}setMessages(e){const a=this.locale(),r=Ln(a,e);this.setState({locale:a,messages:r,overrides:e})}setLocale(e){const a=this.overrides(),r=Ln(e,a);this.setState({locale:e,messages:r,overrides:a})}overrides(){const{overrides:e}=this.getState();return e}messages(){const{messages:e}=this.getState();return e}locale(){const{locale:e}=this.getState();return e}dir(){return this.locale()==="ar"?"rtl":"ltr"}}/*!
|
|
359
|
+
`);C(this,"element",document.createElement("div"));this.element.classList.add(X.successContainer),this.element.innerHTML=this.template}render(){return this.element}}const Pi={container:"_container_hoha1_1",title:"_title_hoha1_5"};class sc{constructor(t){C(this,"element");C(this,"message",document.createElement("p"));C(this,"icon",new ac);this.translate=t,this.element=document.createElement("div"),this.element.classList.add(Pi.container),this.message.classList.add(Pi.title),this.message.textContent=t.messages().status.success,this.element.append(this.icon.render(),this.message),this.translate.subscribe(({messages:e})=>{this.message.textContent=e.status.success})}addClassName(t){this.element.classList.add(t)}removeClassName(t){this.element.classList.remove(t)}render(){return this.element}}class oc{constructor(t){C(this,"isLoading",!1);C(this,"isFormOpen",!1);C(this,"checkout");C(this,"container",document.createElement("div"));C(this,"loader",new Jo);C(this,"success");C(this,"buttons");C(this,"form");this.config=t,this.buttons=new zl(t),this.form=new ic({translate:t.state.translate,className:ge.hidden,stylesState:t.state.styles,isDefaultVariant:t.state.checkout.getState().variant==="default"}),this.success=new sc(t.state.translate),this.success.addClassName(ge.hidden),this.container.append(this.loader.render(),this.buttons.render(),this.form.render()),this.checkout=document.createElement("div"),this.checkout.classList.add(ge.checkout),this.checkout.append(this.container,this.success.render())}init(){return W(this,null,function*(){this.buttons.addEventListener("ready",()=>W(this,null,function*(){this.loader.setClassName(ge.hidden);const{variant:t}=this.config.state.checkout.getState();this.form.setDefaultVariant(t==="default"),this.buttons.showButton(),t==="default"&&(this.form.element.classList.remove(ge.hidden),this.isFormOpen=!0)})),this.buttons.addEventListener("open",()=>W(this,null,function*(){this.isLoading||(this.hideError(),yield ue(this.buttons.buttons,Lt.close,Lt.transition),this.buttons.buttons.classList.add(ge.hidden),this.form.element.classList.add(ge.formInitial),this.form.element.classList.remove(ge.hidden),yield ue(this.form.element,Xe.open,Xe.transition),this.isFormOpen=!0)})),this.buttons.addEventListener("error",t=>{const{onCheckoutFail:e}=this.config.state.checkout.getState(),n=this.config.state.translate.messages(),a=Ze(t,n);this.buttons.showExternalError(a),e==null||e(t)}),this.buttons.addEventListener("success",t=>{const{clientToken:e}=this.config.state.checkout.getState();switch(t.type){case"apple":return this.handleSuccess({clientSession:e,applePay:t});case"google":return this.handleSuccess({clientSession:e,googlePay:t});case"paypal":return this.handleSuccess({clientSession:e,paypal:{billing_agreement_token:t}});case"venmo":return this.handleSuccess({clientSession:e,braintree:{nonce:t}})}}),this.form.addEventListener("close",()=>W(this,null,function*(){if(this.isLoading)return;this.hideError(),yield ue(this.form.element,Xe.close,Xe.transition),this.form.element.classList.add(ge.hidden);const{variant:t}=this.config.state.checkout.getState();t!=="default"&&(this.buttons.buttons.classList.add(ge.btnsInitial),this.buttons.buttons.classList.remove(ge.hidden),yield ue(this.buttons.buttons,Lt.open,Lt.transition)),this.isFormOpen=!1})),this.form.addEventListener("submit",t=>W(this,null,function*(){if(this.isLoading||(this.form.touchSubmit(),!this.form.validate()))return;const n=t.number.replace(/\D/g,""),a=this.config.state.checkout.getState(),i=this.config.service.ev.getEv(),[o,s]=yield Promise.all([i.encrypt(n),i.encrypt(t.cvc)]),[l,c]=t.expiry.split("/");yield this.handleSuccess({clientSession:a.clientToken,card:{firstSixDigits:n.slice(0,6),lastFourDigits:n.slice(-4),expMonth:Number(l),expYear:Number(c),cardBrand:t.cardBrand||"",number:o,cvc:s,type:re.CARD,metadata:{name:t.name,userAgent:navigator==null?void 0:navigator.userAgent}}})})),yield this.buttons.init()})}handleError(t){var i;const e=this.config.state.checkout.getState();console.error(t);const n=this.config.state.translate.messages(),a=Ze(t,n);this.buttons.showExternalError(a),this.showError(a),(i=e.onCheckoutFail)==null||i.call(e,t),this.setLoading(!1)}handleSuccess(t){return W(this,null,function*(){var a,i,o;if(this.isLoading)return;this.hideError(),this.setLoading(!0);const e=this.config.state.checkout.getState(),n=this.config.state.translate.messages();try{const s=yield yl(t,e.environment,e.apiVersion);if(s.error)throw new Error(((a=s.error)==null?void 0:a.message)||n.status.error);if(s.three_ds_session_id){yield this.config.service.ev.initThreeDs({threeDsId:s.three_ds_session_id,onSuccess:()=>{this.setLoading(!1),this.handleSuccess(ee(K({},t),{threeDsSessionId:s.three_ds_session_id}))},onError:()=>{this.handleError("Three DS Error")}});return}if(s.payment_status===Ar.FAILED||s.payment_status===Ar.DECLINED){this.handleError((i=s.status_reason)==null?void 0:i.status_reason);return}yield this.showSuccess(),(o=e.onCheckoutComplete)==null||o.call(e,s),this.setLoading(!1)}catch(s){this.handleError(s)}})}showSuccess(){return W(this,null,function*(){this.container.classList.add(ge.hidden),this.success.removeClassName(ge.hidden),yield ue(this.success.element,Xe.open,Xe.transition)})}hideError(){this.form.hideError()}showError(t){this.isFormOpen&&this.form.showError(t)}setLoading(t){this.isLoading=t,this.form.setLoading(t),this.loader.setClassName(!t||this.isFormOpen?ge.hidden:"")}render(){return this.checkout}}class lc{constructor(t){C(this,"component");this.config=t}init(){return W(this,null,function*(){const{checkout:t,transaction:e,translate:n,styles:a}=this.config.state,{apiVersion:i}=t.getState();t.subscribe(({clientToken:o,environment:s,locale:l,translate:c,styles:d})=>{l&&n.locale()!==l&&n.setLocale(l),c&&n.overrides()!==c&&n.setMessages(c),d&&a.setState(d),e.updateTransaction(o,s,i).then(u=>{var h,p;if(u)return this.config.service.ev.initEv({teamId:(h=u.evervault)==null?void 0:h.team_id,appId:(p=u.evervault)==null?void 0:p.app_id})}).catch(console.error)})})}mount(){return W(this,null,function*(){return this.component||(this.component=new oc(this.config)),yield this.init(),yield this.component.init(),this.component.render()})}}class Rt{constructor(t){C(this,"initialState");C(this,"state");C(this,"observer",new he);this.initialState=t,this.state=t}getState(){return this.state}setState(t){this.state=t,this.observer.emit(t)}clearState(){this.state=this.initialState,this.observer.clear()}subscribe(t){return this.observer.addListener(t)}}const cc={clientToken:"",environment:"sandbox",apiVersion:"1.0.0",variant:"default"};class dc extends Rt{constructor(t){super(K(K({},cc),t))}}const uc={};class pc extends Rt{constructor(t){super(K(K({},uc),t))}}class hc extends Rt{constructor(e){super(e||null);C(this,"clientToken","")}updateTransaction(e,n,a){return W(this,null,function*(){if(this.clientToken===e)return this.getState();this.clientToken=e;const i=yield _l(e,n,a);return this.setState(i),i})}}const fc={card:{required:"يتطلب",number:{label:"رقم البطاقة",error:{invalid:"رقم البطاقة غير صالح",incomplete:"رقم البطاقة غير كامل",unsupported:"نوع البطاقة غير المدعوم"}},expiry:{label:"تاريخ الانتهاء",placeholder:"سنة / شهر",error:{invalid:"تاريخ انتهاء صلاحية البطاقة غير صالح",incomplete:"تاريخ انتهاء الصلاحية الخاص ببطاقتك غير كامل",expired:"تاريخ انتهاء صلاحية بطاقتك في الماضي"}},cvc:{label:"رمز الأمان",placeholder:"CVC",error:{incomplete:"رمز الأمان الخاص ببطاقتك غير كامل",invalid:"رمز التحقق من البطاقة (CVC) الخاص ببطاقتك غير صالح"}},name:{label:"اسم حامل البطاقة",placeholder:"الاسم الكامل على البطاقة",error:{invalid:"يرجى إدخال اسمك الكامل"}},pay:{button:"الراتب"},compact:{button:"البطاقة"}},status:{success:"تمت عملية الدفع الخاصة بك بنجاح!",error:"لم نتمكن من التحقق من طريقة الدفع الخاصة بك. يرجى اختيار طريقة دفع أخرى وإعادة المحاولة."},errors:{doNotHonor:"رفض بدون سبب",insufficientFunds:"رصيد غير كافٍ",limitExceeded:"تجاوز الحد",expiredCard:"انتهت صلاحية البطاقة",invalidCreditCardNumber:"رقم البطاقة غير صالح",processorDeclinedFraudSuspected:"رفض المعالج – اشتباه احتيال",cardholderAuthenticationRequired:"مطلوب مصادقة حامل البطاقة",offlineIssuerDeclined:"رفض المُصدِر أثناء عدم الاتصال",cardReportedAsLostOrStolen:"أُبلغ عن البطاقة كمفقودة أو مسروقة",invalidSecurePaymentData:"بيانات دفع آمنة غير صالحة",declined:"مرفوض",errorText:"خطأ",venmoClosed:"تم إغلاق النافذة قبل اكتمال عملية الترميز.",paypalClosed:"النافذة مغلقة، لا يمكن تحديد النوع",paypalPopupClosed:"تم اكتشاف إغلاق النافذة المنبثقة",applePayClosed:"تم الإلغاء"}},mc={card:{required:"ЗАДЪЛЖИТЕЛНО",number:{label:"Информация за картата",error:{invalid:"Номерът на Вашата карта е неправилен",incomplete:"Номерът на Вашата карта е непълен",unsupported:"Неподдържан тип карта"}},expiry:{label:"Дата на валидност",placeholder:"ММ / ГГ",error:{incomplete:"Датата на валидност на вашата карта е непълна",invalid:"Датата на валидност на вашата карта е невалидна",expired:"Датата на валидност на вашата карта е в миналото"}},cvc:{label:"Код за сигурност",placeholder:"CVC",error:{incomplete:"Кодът за сигурност на вашата карта е непълен",invalid:"Кодът за сигурност на вашата карта е невалиден"}},name:{label:"Име на картодържателя",placeholder:"Пълно име върху картата",error:{invalid:"Моля, въведете трите си имена"}},pay:{button:"Платете"},compact:{button:"Карта"}},status:{success:"Успех",error:"Не можем да удостоверим автентичността на вашия метод на плащане. Моля, изберете друг метод на плащане и опитайте отново."},errors:{doNotHonor:"Отказ без основание",insufficientFunds:"Недостатъчни средства",limitExceeded:"Надвишен лимит",expiredCard:"Изтекла карта",invalidCreditCardNumber:"Невалиден номер на карта",processorDeclinedFraudSuspected:"Отказано от процесора – съмнение за измама",cardholderAuthenticationRequired:"Изисква се удостоверяване на картодържателя",offlineIssuerDeclined:"Издателят офлайн отказа",cardReportedAsLostOrStolen:"Картата е докладвана като изгубена или открадната",invalidSecurePaymentData:"Невалидни данни за защитено плащане",declined:"Отказано",errorText:"Грешка",venmoClosed:"Прозорецът беше затворен преди да се извърши токенизация.",paypalClosed:"Прозорецът е затворен, типът не може да бъде определен",paypalPopupClosed:"Засечено затваряне на изскачащ прозорец",applePayClosed:"Отменено"}},vc={card:{required:"POVINNÝ ÚDAJ",number:{label:"Číslo karty",error:{invalid:"Číslo Vaší karty je neplatné",incomplete:"Číslo vaší karty je neúplné",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Datum konce platnosti",placeholder:"MM / RR",error:{incomplete:"Datum konce platnosti vaší karty je neúplné",invalid:"Datum konce platnosti karty je neplatné",expired:"Platnost vaší karty vypršela"}},cvc:{label:"Bezpečnostní kód",placeholder:"CVC",error:{incomplete:"Bezpečnostní kód vaší karty je neúplný",invalid:"CVC vaší karty je neplatné"}},name:{label:"Jméno držitele karty",placeholder:"Celé jméno",error:{invalid:"Uvďte prosím celé své jméno"}},pay:{button:"Platit"},compact:{button:"Karta"}},status:{success:"Úspěch",error:"Váš způsob platby se nám nedaří ověřit. Zvolte prosím jiný způsob platby a zkuste to znovu."},errors:{doNotHonor:"Odmítnuto bez udání důvodu",insufficientFunds:"Nedostatečné prostředky",limitExceeded:"Překročen limit",expiredCard:"Karta s prošlou platností",invalidCreditCardNumber:"Neplatné číslo karty",processorDeclinedFraudSuspected:"Odmítnuto procesorem – podezření na podvod",cardholderAuthenticationRequired:"Je vyžadováno ověření držitele karty",offlineIssuerDeclined:"Vydavatel offline – odmítnuto",cardReportedAsLostOrStolen:"Karta nahlášena jako ztracená nebo odcizená",invalidSecurePaymentData:"Neplatná data zabezpečené platby",declined:"Odmítnuto",errorText:"Chyba",venmoClosed:"Okno bylo zavřeno dříve, než došlo k tokenizaci.",paypalClosed:"Okno je zavřené, nelze určit typ",paypalPopupClosed:"Zjištěno zavření vyskakovacího okna",applePayClosed:"Zrušeno"}},gc={card:{required:"PÅKRÆVET",number:{label:"Kortnummer",error:{invalid:"Kortnummeret er ugyldigt",incomplete:"Kortnummeret er ufuldstændigt",unsupported:"Ikke understøttet korttype"}},expiry:{label:"Udløbsdato",placeholder:"MM / ÅÅ",error:{incomplete:"Kortets udløbsdato er ikke komplet",invalid:"Dit korts udløbsdato er ugyldig",expired:"Dit kort er udløbet"}},cvc:{label:"Sikkerhedskode",placeholder:"CVC",error:{incomplete:"Dit korts sikkerhedskode er ikke komplet",invalid:"Dit korts CVC er ugyldigt"}},name:{label:"Kortholderens navn",placeholder:"Fulde navn",error:{invalid:"Angiv dit fulde navn"}},pay:{button:"Betal"},compact:{button:"Kredit- eller betalingskort"}},status:{success:"Succes",error:"Vi kan ikke godkende din betalingsmetode. Vælg venligst en anden betalingsmetode og prøv igen."},errors:{doNotHonor:"Afvist uden begrundelse",insufficientFunds:"Utilstrækkelige midler",limitExceeded:"Grænse overskredet",expiredCard:"Kortet er udløbet",invalidCreditCardNumber:"Ugyldigt kortnummer",processorDeclinedFraudSuspected:"Afvist af processor – mistanke om svindel",cardholderAuthenticationRequired:"Kortholdergodkendelse kræves",offlineIssuerDeclined:"Udsteder offline – afvist",cardReportedAsLostOrStolen:"Kortet er meldt mistet eller stjålet",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",declined:"Afvist",errorText:"Fejl",venmoClosed:"Vinduet blev lukket, før tokenisering kunne finde sted.",paypalClosed:"Vinduet er lukket, typen kan ikke bestemmes",paypalPopupClosed:"Registreret lukning af pop op‑vindue",applePayClosed:"Annulleret"}},yc={card:{required:"Pflichtfeld",number:{label:"Kartennummer",error:{invalid:"Ihre Kartennummer ist ungültig",incomplete:"Ihre Kartennummer ist unvollständig",unsupported:"Nicht unterstützter Kartentyp"}},expiry:{label:"Ablaufdatum",placeholder:"MM / JJ",error:{incomplete:"Das Ablaufdatum Ihrer Karte ist unvollständig",invalid:"Das Ablaufdatum Ihrer Karte ist ungültig",expired:"Ihre Karte ist ungültig"}},cvc:{label:"Sicherheitscode",placeholder:"CVC",error:{incomplete:"Der Sicherheitscode Ihrer Karte ist unvollständig",invalid:"Die Prüfziffer/CVC Ihrer Karte ist ungültig"}},name:{label:"Name des/der Karteninhaber",placeholder:"Vollständiger Name",error:{invalid:"Bitte geben Sie Ihren vollständigen Namen ein"}},pay:{button:"Bezahlen"},compact:{button:"Kredit- oder Debitkarte"}},status:{success:"Erfolg",error:"Wir können Ihre Zahlungsmethode nicht authentifizieren. Bitte wählen Sie eine andere Zahlungsmethode und versuchen Sie es erneut."},errors:{doNotHonor:"Keine Genehmigung",insufficientFunds:"Unzureichende Deckung",limitExceeded:"Limit überschritten",expiredCard:"Karte abgelaufen",invalidCreditCardNumber:"Ungültige Kartennummer",processorDeclinedFraudSuspected:"Vom Prozessor abgelehnt – Betrugsverdacht",cardholderAuthenticationRequired:"Authentifizierung des Karteninhabers erforderlich",offlineIssuerDeclined:"Offline vom Aussteller abgelehnt",cardReportedAsLostOrStolen:"Karte als verloren oder gestohlen gemeldet",invalidSecurePaymentData:"Ungültige sichere Zahlungsdaten",declined:"Abgelehnt",errorText:"Fehler",venmoClosed:"Fenster wurde geschlossen, bevor die Tokenisierung erfolgen konnte.",paypalClosed:"Fenster ist geschlossen, Typ kann nicht bestimmt werden",paypalPopupClosed:"Schließen des Pop-ups erkannt",applePayClosed:"Abgebrochen"}},bc={card:{required:"Απαιτούμενο",number:{label:"Αριθμός κάρτας",error:{invalid:"Ο αριθμός της κάρτας σας δεν είναι έγκυρος",incomplete:"Ο αριθμός της κάρτας σας είναι ελλιπής",unsupported:"Δεν υποστηρίζεται ο τύπος της κάρτας"}},expiry:{label:"Ημερομηνία λήξης",placeholder:"ΜΜ / ΕΕ",error:{incomplete:"Η ημερομηνία λήξης της κάρτας σας είναι ελλιπής",invalid:"Η ημερομηνία λήξης της κάρτας σας δεν είναι έγκυρη",expired:"Η κάρτα σας έχει λήξει"}},cvc:{label:"Κωδικός ασφαλείας",placeholder:"CVC",error:{incomplete:"Ο κωδικός ασφαλείας της κάρτας σας είναι ελλιπής",invalid:"Το CVC της κάρτας σας δεν είναι έγκυρο"}},name:{label:"Όνομα κατόχου κάρτας",placeholder:"Πλήρες όνομα στην κάρτα",error:{invalid:"Συμπληρώστε το ονοματεπώνυμό σας"}},pay:{button:"Πληρωμή"},compact:{button:"Kάρτα"}},status:{success:"Επιτυχία",error:"Δεν μπορούμε να πιστοποιήσουμε τη μέθοδο πληρωμής σας. Παρακαλούμε επιλέξτε μια διαφορετική μέθοδο πληρωμής και προσπαθήστε ξανά."},errors:{doNotHonor:"Απόρριψη χωρίς αιτιολόγηση",insufficientFunds:"Ανεπαρκή κεφάλαια",limitExceeded:"Υπέρβαση ορίου",expiredCard:"Η κάρτα έχει λήξει",invalidCreditCardNumber:"Μη έγκυρος αριθμός κάρτας",processorDeclinedFraudSuspected:"Απόρριψη από επεξεργαστή – υποψία απάτης",cardholderAuthenticationRequired:"Απαιτείται ταυτοποίηση κατόχου κάρτας",offlineIssuerDeclined:"Ο εκδότης εκτός σύνδεσης – απορρίφθηκε",cardReportedAsLostOrStolen:"Η κάρτα δηλώθηκε χαμένη ή κλεμμένη",invalidSecurePaymentData:"Μη έγκυρα δεδομένα ασφαλούς πληρωμής",declined:"Απορρίφθηκε",errorText:"Σφάλμα",venmoClosed:"Το παράθυρο έκλεισε πριν ολοκληρωθεί η δημιουργία token.",paypalClosed:"Το παράθυρο είναι κλειστό, δεν είναι δυνατός ο προσδιορισμός του τύπου",paypalPopupClosed:"Εντοπίστηκε κλείσιμο αναδυόμενου παραθύρου",applePayClosed:"Ακυρώθηκε"}},Ri={card:{required:"REQUIRED",number:{label:"Card number",error:{invalid:"Your card number is invalid",incomplete:"Your card number is incomplete",unsupported:"Unsupported card type"}},expiry:{label:"Expiry date",placeholder:"MM / YY",error:{invalid:"Your card’s expiry date is invalid",incomplete:"Your card’s expiry date is incomplete",expired:"Your card’s expiry {date} is in the past"}},cvc:{label:"Security code",placeholder:"CVC",error:{incomplete:"Your card’s security code is incomplete",invalid:"Your card’s CVC is invalid"}},name:{label:"Cardholder name",placeholder:"Full name on card",error:{invalid:"Please provide your full name"}},pay:{button:"Pay"},compact:{button:"Card"}},status:{success:"Your payment was successful!",error:"We are unable to authenticate your payment method. Please choose a different payment method and try again."},errors:{doNotHonor:"Do Not Honor",insufficientFunds:"Insufficient Funds",limitExceeded:"Limit Exceeded",expiredCard:"Expired Card",invalidCreditCardNumber:"Invalid Credit Card Number",processorDeclinedFraudSuspected:"Processor Declined – Fraud Suspected",cardholderAuthenticationRequired:"Cardholder Authentication Required",offlineIssuerDeclined:"Offline Issuer Declined",cardReportedAsLostOrStolen:"Card reported as lost or stolen",invalidSecurePaymentData:"Invalid Secure Payment Data",declined:"Declined",errorText:"Error",venmoClosed:"Frame closed before tokenization could occur.",paypalClosed:"Window is closed, cannot determine type",paypalPopupClosed:"Detected popup close",applePayClosed:"Cancelled"}},Nr={ar:fc,en:Ri,bg:mc,cs:vc,da:gc,de:yc,el:bc,es:{card:{required:"OBLIGATORIO",number:{label:"Número de tarjeta",error:{invalid:"El número de tu tarjeta no es válido",incomplete:"El número de tu tarjeta está incompleto",unsupported:"Tipo de tarjeta no soportado"}},expiry:{label:"Fecha de caducidad",placeholder:"MM / AA",error:{incomplete:"La fecha de caducidad de la tarjeta está incompleta",invalid:"La fecha de caducidad de la tarjeta no es válida",expired:"La tarjeta ha caducado"}},cvc:{label:"Código de seguridad",placeholder:"CVC",error:{incomplete:"El código de seguridad de la tarjeta está incompleto",invalid:"El CVC de tu tarjeta no es válido"}},name:{label:"Nombre del titular de la tarjeta",placeholder:"Nombre completo",error:{invalid:"Proporciona tu nombre completo"}},pay:{button:"Pagar"},compact:{button:"Tarjeta"}},status:{success:"Éxito",error:"No podemos autenticar su método de pago. Elija otro método de pago e inténtelo de nuevo."},errors:{doNotHonor:"Rechazo sin explicación",insufficientFunds:"Fondos insuficientes",limitExceeded:"Límite excedido",expiredCard:"Tarjeta expirada",invalidCreditCardNumber:"Número de tarjeta inválido",processorDeclinedFraudSuspected:"Rechazado por el procesador – sospecha de fraude",cardholderAuthenticationRequired:"Se requiere autenticación del titular",offlineIssuerDeclined:"Emisor fuera de línea – rechazado",cardReportedAsLostOrStolen:"Tarjeta reportada como perdida o robada",invalidSecurePaymentData:"Datos de pago seguro inválidos",declined:"Rechazado",errorText:"Error",venmoClosed:"La ventana se cerró antes de que pudiera realizarse la tokenización.",paypalClosed:"La ventana está cerrada, no se puede determinar el tipo",paypalPopupClosed:"Cierre de ventana emergente detectado",applePayClosed:"Cancelado"}},et:{card:{required:"NÕUTAV",number:{label:"Kaardi number",error:{invalid:"Teie kaardinumber ei sobi",incomplete:"Teie kaardinumber on puudulik",unsupported:"Toetamata kaardi tüüp"}},expiry:{label:"Aegumiskuupäev",placeholder:"KK / AA",error:{incomplete:"Teie kaardi aegumiskuupäev on puudulik",invalid:"Teie kaardi aegumiskuupäev on kehtetu",expired:"Teie kaart on aegunud"}},cvc:{label:"Turvakood",placeholder:"CVC",error:{incomplete:"Teie kaardi turvakood on puudulik",invalid:"Teie kaardi CVC on kehtetu"}},name:{label:"Kaardiomaniku nimi",placeholder:"Täisnimi",error:{invalid:"Esitage oma täisnimi"}},pay:{button:"Maksa"},compact:{button:"Krediit- või deebetkaart"}},status:{success:"Edu",error:"Me ei suuda teie makseviisi autentida. Palun valige teine makseviis ja proovige uuesti."},errors:{doNotHonor:"Tagasi lükatud ilma selgituseta",insufficientFunds:"Ebapiisavad vahendid",limitExceeded:"Limite ületatud",expiredCard:"Kaart on aegunud",invalidCreditCardNumber:"Vigane kaardinumber",processorDeclinedFraudSuspected:"Töötleja keeldus – pettuse kahtlus",cardholderAuthenticationRequired:"Nõutav kaardiomaniku autentimine",offlineIssuerDeclined:"Väljastaja võrguühenduseta – tagasi lükatud",cardReportedAsLostOrStolen:"Kaart on märgitud kadunuks või varastatuks",invalidSecurePaymentData:"Vigased turvalise makse andmed",declined:"Tagasi lükatud",errorText:"Viga",venmoClosed:"Aken suleti enne, kui tokeniseerimine sai toimuda.",paypalClosed:"Aken on suletud, tüüpi ei saa määrata",paypalPopupClosed:"Tuvastati hüpikakna sulgemine",applePayClosed:"Tühistatud"}},fi:{card:{required:"PAKOLLINEN",number:{label:"Kortin numero",error:{invalid:"Kortin numero ei kelpaa",incomplete:"Kortin numero on puutteellinen",unsupported:"Ei tuettu korttityyppi"}},expiry:{label:"Erääntymispäivä",placeholder:"KK / VV",error:{incomplete:"Kortin voimassaoloaika on puutteellinen",invalid:"Kortin voimassaoloaika on virheellinen",expired:"Korttisi on vanhentunut"}},cvc:{label:"Turvakoodi",placeholder:"CVC-koodi",error:{incomplete:"Kortin turvakoodi on puutteellinen",invalid:"Kortin CVC ei kelpaa"}},name:{label:"Kortinhaltijan nimi",placeholder:"Koko nimi",error:{invalid:"Anna koko nimesi"}},pay:{button:"Maksa"},compact:{button:"Luotto- tai pankkikortti"}},status:{success:"Menestys",error:"Emme pysty todentamaan maksutapaasi. Valitse toinen maksutapa ja yritä uudelleen."},errors:{doNotHonor:"Hylätty ilman perustetta",insufficientFunds:"Riittämättömät varat",limitExceeded:"Raja ylitetty",expiredCard:"Kortti on vanhentunut",invalidCreditCardNumber:"Virheellinen kortin numero",processorDeclinedFraudSuspected:"Käsittelijä hylkäsi – petosepäily",cardholderAuthenticationRequired:"Kortinhaltijan tunnistautuminen vaaditaan",offlineIssuerDeclined:"Myöntäjä offline – hylätty",cardReportedAsLostOrStolen:"Kortti ilmoitettu kadonneeksi tai varastetuksi",invalidSecurePaymentData:"Virheelliset suojatun maksun tiedot",declined:"Hylätty",errorText:"Virhe",venmoClosed:"Ikkuna suljettiin ennen kuin tokenisointi ehti tapahtua.",paypalClosed:"Ikkuna on suljettu, tyyppiä ei voi määrittää",paypalPopupClosed:"Havaittiin ponnahdusikkunan sulkeminen",applePayClosed:"Peruutettu"}},fil:{card:{required:"KAILANGAN",number:{label:"Numero ng card",error:{invalid:"Hindi valid ang numero ng kard mo",incomplete:"Ang numero ng iyong kard ay kulang",unsupported:"Hindi sinusuportahang uri ng card"}},expiry:{label:"Petsa ng pagkapaso",placeholder:"BB / TT",error:{incomplete:"Ang petsa ng pagkapaso ng iyong kard ay kulang",invalid:"Hindi valid ang petsa ng pagkapaso ng iyong kard",expired:"Napaso na ang iyong kard"}},cvc:{label:"Security code",placeholder:"CVC",error:{incomplete:"Ang security code ng iyong kard ay kulang",invalid:"Hindi valid ang CVC ng iyong kard"}},name:{label:"Pangalan ng may-ari ng kard",placeholder:"Buong pangalan",error:{invalid:"Pakibigay ang iyong buong pangalan"}},pay:{button:"Magbayad"},compact:{button:"Luotto- tai pankkikortti"}},status:{success:"Tagumpay",error:"Hindi namin ma-authenticate ang iyong paraan ng pagbabayad. Mangyaring pumili ng ibang paraan ng pagbabayad at subukang muli."},errors:{doNotHonor:"Tinanggihan nang walang paliwanag",insufficientFunds:"Hindi sapat ang pondo",limitExceeded:"Lumampas sa limitasyon",expiredCard:"Paso na ang kard",invalidCreditCardNumber:"Di-wastong numero ng kard",processorDeclinedFraudSuspected:"Tinanggihan ng prosesor – pinaghihinalaang pandaraya",cardholderAuthenticationRequired:"Kailangan ang pagpapatunay ng may-ari ng kard",offlineIssuerDeclined:"Tinanggihan ng issuer offline",cardReportedAsLostOrStolen:"Iniulat na nawawala o ninakaw ang kard",invalidSecurePaymentData:"Di-wastong secure payment data",declined:"Tinanggihan",errorText:"Error",venmoClosed:"Isinara ang window bago maisagawa ang tokenization.",paypalClosed:"Sarado ang window, hindi matukoy ang uri",paypalPopupClosed:"Nakita ang pagsasara ng pop-up",applePayClosed:"Kanselado"}},fr:{card:{required:"OBLIGATOIRE",number:{label:"Numéro de la carte",error:{invalid:"Votre numéro de carte n'est pas valide",incomplete:"Votre numéro de carte est incomplet",unsupported:"Type de carte non supporté"}},expiry:{label:"Date d'expiration",placeholder:"MM / AA",error:{incomplete:"La date d'expiration de votre carte est incomplète",invalid:"La date d'expiration de votre carte n'est pas valide",expired:"Votre carte a expiré"}},cvc:{label:"Code de sécurité",placeholder:"CVC",error:{incomplete:"Le code de sécurité de votre carte est incomplet",invalid:"Le code CVC de votre carte n'est pas valide"}},name:{label:"Nom du titulaire de la carte",placeholder:"Nom complet",error:{invalid:"Veuillez indiquer votre nom complet"}},pay:{button:"Payer"},compact:{button:"Carte"}},status:{success:"Succès",error:"Nous ne sommes pas en mesure d'authentifier votre méthode de paiement. Veuillez choisir un autre mode de paiement et réessayer."},errors:{doNotHonor:"Refus sans explication",insufficientFunds:"Fonds insuffisants",limitExceeded:"Limite dépassée",expiredCard:"Carte expirée",invalidCreditCardNumber:"Numéro de carte invalide",processorDeclinedFraudSuspected:"Refusé par le processeur – suspicion de fraude",cardholderAuthenticationRequired:"Authentification du titulaire requise",offlineIssuerDeclined:"Émetteur hors ligne – refus",cardReportedAsLostOrStolen:"Carte déclarée perdue ou volée",invalidSecurePaymentData:"Données de paiement sécurisées invalides",declined:"Refusé",errorText:"Erreur",venmoClosed:"La fenêtre a été fermée avant que la tokenisation ne puisse avoir lieu.",paypalClosed:"La fenêtre est fermée, impossible de déterminer le type",paypalPopupClosed:"Fermeture de fenêtre contextuelle détectée",applePayClosed:"Annulé"}},hr:{card:{required:"POTREBNO",number:{label:"Broj kartice",error:{invalid:"Broj vaše kartice nije valjan",incomplete:"Broj vaše kartice nije potpun",unsupported:"Nepodržana vrsta kartice"}},expiry:{label:"Datum isteka",placeholder:"MM / GG",error:{incomplete:"Datum isteka vaše kartice je nepotpun",invalid:"Datum isteka vaše kartice nije valjan",expired:"Kartica je istekla"}},cvc:{label:"Sigurnosni kod",placeholder:"CVC",error:{incomplete:"Sigurnosni kôd vaše kartice je nepotpun",invalid:"Kontrolni broj (CVC) vaše kartice nije valjan"}},name:{label:"Ime vlasnika kartice",placeholder:"Puno ime",error:{invalid:"Unesite svoje puno ime"}},pay:{button:"Plati"},compact:{button:"Kartica"}},status:{success:"Uspjeh",error:"Ne možemo provjeriti autentičnost vašeg načina plaćanja. Odaberite drugi način plaćanja i pokušajte ponovno."},errors:{doNotHonor:"Odbijeno bez obrazloženja",insufficientFunds:"Nedovoljno sredstava",limitExceeded:"Prekoračen limit",expiredCard:"Kartica je istekla",invalidCreditCardNumber:"Nevažeći broj kartice",processorDeclinedFraudSuspected:"Procesor odbio – sumnja na prijevaru",cardholderAuthenticationRequired:"Potrebna autentikacija vlasnika kartice",offlineIssuerDeclined:"Izdavatelj izvan mreže – odbijeno",cardReportedAsLostOrStolen:"Kartica prijavljena kao izgubljena ili ukradena",invalidSecurePaymentData:"Nevažeći sigurni podaci za plaćanje",declined:"Odbijeno",errorText:"Pogreška",venmoClosed:"Prozor je zatvoren prije nego što je mogla biti izvršena tokenizacija.",paypalClosed:"Prozor je zatvoren, nije moguće odrediti vrstu",paypalPopupClosed:"Otkriveno zatvaranje skočnog prozora",applePayClosed:"Otkazano"}},hu:{card:{required:"KÖTELEZŐ",number:{label:"Kártya száma",error:{invalid:"A kártyaszáma érvénytelen",incomplete:"A kártyaszáma hiányos",unsupported:"Nem támogatott kártya típusa"}},expiry:{label:"Lejárat dátuma",placeholder:"HH / ÉÉ",error:{incomplete:"A kártyája lejárati dátuma hiányos",invalid:"A kártyája lejárati dátuma érvénytelen",expired:"A kártyája lejárt"}},cvc:{label:"Biztonsági kód",placeholder:"CVC",error:{incomplete:"A kártyája biztonsági kódja hiányos",invalid:"A kártya CVC-kódja érvénytelen"}},name:{label:"Kártyabirtokos neve",placeholder:"Teljes név",error:{invalid:"Adja meg a teljes nevét"}},pay:{button:"Fizetés"},compact:{button:"Hitel- vagy bankkártya"}},status:{success:"Siker",error:"Nem tudjuk hitelesíteni a fizetési módját. Kérjük, válasszon másik fizetési módot, és próbálja meg újra."},errors:{doNotHonor:"Elutasítva indoklás nélkül",insufficientFunds:"Elégtelen fedezet",limitExceeded:"Limit túllépve",expiredCard:"Lejárt kártya",invalidCreditCardNumber:"Érvénytelen kártyaszám",processorDeclinedFraudSuspected:"Feldolgozó elutasította – csalás gyanúja",cardholderAuthenticationRequired:"Kártyabirtokosi hitelesítés szükséges",offlineIssuerDeclined:"Kibocsátó offline – elutasítva",cardReportedAsLostOrStolen:"Kártya elveszettnek vagy ellopottnak jelentve",invalidSecurePaymentData:"Érvénytelen biztonságos fizetési adatok",declined:"Elutasítva",errorText:"Hiba",venmoClosed:"Az ablak bezárult, mielőtt a tokenizáció megtörténhetett volna.",paypalClosed:"Az ablak zárva van, a típust nem lehet meghatározni",paypalPopupClosed:"Észlelt felugró ablak bezárása",applePayClosed:"Megszakítva"}},id:{card:{required:"WAJIB DIISI",number:{label:"Nomor kartu",error:{invalid:"Nomor kartu Anda tidak valid",incomplete:"Nomor kartu Anda tidak lengkap",unsupported:"Tipe kartu tidak didukung"}},expiry:{label:"Tanggal kedaluwarsa",placeholder:"BB / TT",error:{incomplete:"Tanggal kedaluwarsa kartu Anda tidak lengkap",invalid:"Tanggal kedaluwarsa kartu Anda tidak valid",expired:"Kartu Anda telah kedaluwarsa"}},cvc:{label:"Kode keamanan",placeholder:"CVC",error:{incomplete:"Kode keamanan kartu Anda tidak lengkap",invalid:"CVC kartu Anda tidak valid"}},name:{label:"Nama pemegang kartu",placeholder:"Nama lengkap",error:{invalid:"Berikan nama lengkap Anda"}},pay:{button:"Bayar"},compact:{button:"Kartu"}},status:{success:"Sukses",error:"Kami tidak dapat mengautentikasi metode pembayaran Anda. Silakan pilih metode pembayaran lain dan coba lagi."},errors:{doNotHonor:"Ditolak tanpa alasan",insufficientFunds:"Dana tidak mencukupi",limitExceeded:"Melebihi batas",expiredCard:"Kartu kedaluwarsa",invalidCreditCardNumber:"Nomor kartu tidak valid",processorDeclinedFraudSuspected:"Ditolak prosesor – dicurigai penipuan",cardholderAuthenticationRequired:"Diperlukan autentikasi pemegang kartu",offlineIssuerDeclined:"Penerbit offline menolak",cardReportedAsLostOrStolen:"Kartu dilaporkan hilang atau dicuri",invalidSecurePaymentData:"Data pembayaran aman tidak valid",declined:"Ditolak",errorText:"Kesalahan",venmoClosed:"Jendela ditutup sebelum tokenisasi dapat dilakukan.",paypalClosed:"Jendela ditutup, tidak dapat menentukan tipe",paypalPopupClosed:"Terdeteksi penutupan jendela pop-up",applePayClosed:"Dibatalkan"}},it:{card:{required:"OBBLIGATORIO",number:{label:"Numero di carta",error:{invalid:"Il numero della carta non è valido",incomplete:"Il numero della carta è incompleto",unsupported:"Tipo di carta non supportato"}},expiry:{label:"Data di scadenza",placeholder:"MM / AA",error:{incomplete:"La data di scadenza della carta non è completa",invalid:"La data di scadenza della carta non è valida",expired:"La tua carta è scaduta"}},cvc:{label:"Codice di sicurezza",placeholder:"CVC",error:{incomplete:"Il codice di sicurezza della carta non è completo",invalid:"Il CVC della carta non è valido"}},name:{label:"Nome del titolare della carta",placeholder:"Nome e cognome",error:{invalid:"Inserisci il tuo nome completo"}},pay:{button:"Paga"},compact:{button:"Carta"}},status:{success:"Il successo",error:"Non siamo in grado di autenticare il suo metodo di pagamento. Scegliere un altro metodo di pagamento e riprovare."},errors:{doNotHonor:"Rifiutato senza spiegazione",insufficientFunds:"Fondi insufficienti",limitExceeded:"Limite superato",expiredCard:"Carta scaduta",invalidCreditCardNumber:"Numero di carta non valido",processorDeclinedFraudSuspected:"Rifiutato dal processore – sospetto di frode",cardholderAuthenticationRequired:"Autenticazione del titolare richiesta",offlineIssuerDeclined:"Emittente offline – rifiutato",cardReportedAsLostOrStolen:"Carta segnalata come smarrita o rubata",invalidSecurePaymentData:"Dati di pagamento sicuro non validi",declined:"Rifiutato",errorText:"Errore",venmoClosed:"La finestra è stata chiusa prima che la tokenizzazione potesse avvenire.",paypalClosed:"La finestra è chiusa, impossibile determinare il tipo",paypalPopupClosed:"Rilevata chiusura del popup",applePayClosed:"Annullato"}},ja:{card:{required:"必須",number:{label:"カード番号",error:{invalid:"カード番号が無効です",incomplete:"カード番号に不備があります",unsupported:"サポートされていないカードタイプ"}},expiry:{label:"有効期限",placeholder:"MM (月) / YY (年)",error:{incomplete:"カードの有効期限に不備があります",invalid:"カードの有効期間の満了月が無効です",expired:"カードの有効期限が切れています"}},cvc:{label:"セキュリティコード",placeholder:"セキュリティコード",error:{incomplete:"カードのセキュリティコードに不備があります",invalid:"カードのセキュリティコードが無効です"}},name:{label:"カード保有者の名前",placeholder:"氏名",error:{invalid:"氏名を入力してください"}},pay:{button:"支払う"},compact:{button:"カード"}},status:{success:"成功",error:"お客様のお支払い方法を認証できません。別のお支払い方法を選択し、再度お試しください。"},errors:{doNotHonor:"承認不可(理由なし)",insufficientFunds:"残高不足",limitExceeded:"限度額超過",expiredCard:"カードの有効期限切れ",invalidCreditCardNumber:"無効なカード番号",processorDeclinedFraudSuspected:"プロセッサにより拒否 – 不正の疑い",cardholderAuthenticationRequired:"カード保有者の認証が必要です",offlineIssuerDeclined:"オフラインの発行会社により拒否",cardReportedAsLostOrStolen:"カードは紛失または盗難として報告済み",invalidSecurePaymentData:"無効なセキュア支払いデータ",declined:"拒否されました",errorText:"エラー",venmoClosed:"トークン化が行われる前にウィンドウが閉じられました。",paypalClosed:"ウィンドウが閉じられているため、種類を判別できません",paypalPopupClosed:"ポップアップの閉鎖を検出しました",applePayClosed:"キャンセルされました"}},ko:{card:{required:"필수",number:{label:"카드 번호",error:{invalid:"카드 번호가 잘못되었습니다",incomplete:"카드 번호가 불완전합니다",unsupported:"지원되지 않는 카드 유형"}},expiry:{label:"만료 날짜",placeholder:"MM / YY",error:{incomplete:"카드의 유효기간 만료일이 불완전합니다",invalid:"카드의 유효기간 만료일이 잘못되었습니다",expired:"카드가 만료되었습니다"}},cvc:{label:"보안 코드",placeholder:"보안 코드(CVC)",error:{incomplete:"카드의 보안 코드가 불완전합니다",invalid:"카드의 보안 코드(CVC)가 잘못되었습니다"}},name:{label:"카드 소유자 이름",placeholder:"성명",error:{invalid:"성명을 입력하십시오"}},pay:{button:"결제"},compact:{button:"카드 번호"}},status:{success:"성공",error:"결제 방법을 인증할 수 없습니다. 다른 결제 방법을 선택하고 다시 시도해 주세요."},errors:{doNotHonor:"사유 없이 승인 거절",insufficientFunds:"잔액 부족",limitExceeded:"한도 초과",expiredCard:"카드 유효기간 만료",invalidCreditCardNumber:"잘못된 카드 번호",processorDeclinedFraudSuspected:"프로세서 거절 – 사기 의심",cardholderAuthenticationRequired:"카드 소지자 인증 필요",offlineIssuerDeclined:"오프라인 발급사 거절",cardReportedAsLostOrStolen:"카드가 분실 또는 도난으로 신고됨",invalidSecurePaymentData:"잘못된 보안 결제 데이터",declined:"거절됨",errorText:"오류",venmoClosed:"토큰화가 진행되기 전에 창이 닫혔습니다.",paypalClosed:"창이 닫혀 있어 유형을 확인할 수 없습니다",paypalPopupClosed:"팝업 창 닫힘 감지됨",applePayClosed:"취소됨"}},lt:{card:{required:"PRIVALOMA",number:{label:"Kortelės numeris",error:{invalid:"Negaliojantis kortelės numeris",incomplete:"Neišsamus kortelės numeris",unsupported:"Nepalaikomas kortelės tipas"}},expiry:{label:"Galiojimo pabaigos data",placeholder:"mm / MM",error:{incomplete:"Neišsami jūsų kortelės galiojimo pabaigos data",invalid:"Netinkama jūsų kortelės galiojimo pabaigos data",expired:"Kortelė baigė galioti"}},cvc:{label:"Saugos kodas",placeholder:"CVC",error:{incomplete:"Neišsamus jūsų kortelės saugos kodas",invalid:"Jūsų kortelės CVC negalioja"}},name:{label:"Kortelės turėtojo vardas ir pavardė",placeholder:"Vardas ir pavardė",error:{invalid:"Įveskite ir vardą ir pavardę"}},pay:{button:"Mokėti"},compact:{button:"Kortelė"}},status:{success:"Sėkmė",error:"Negalime patvirtinti jūsų mokėjimo būdo. Pasirinkite kitą mokėjimo būdą ir bandykite dar kartą."},errors:{doNotHonor:"Atmesta be paaiškinimo",insufficientFunds:"Nepakanka lėšų",limitExceeded:"Viršyta riba",expiredCard:"Kortelė nebegalioja",invalidCreditCardNumber:"Neteisingas kortelės numeris",processorDeclinedFraudSuspected:"Procesorius atmetė – įtariamas sukčiavimas",cardholderAuthenticationRequired:"Reikalingas kortelės turėtojo autentifikavimas",offlineIssuerDeclined:"Leidėjas neprisijungęs – atmesta",cardReportedAsLostOrStolen:"Kortelė pranešta kaip pamesta ar pavogta",invalidSecurePaymentData:"Neteisingi saugaus mokėjimo duomenys",declined:"Atmesta",errorText:"Klaida",venmoClosed:"Langas uždarytas prieš atliekant tokenizaciją.",paypalClosed:"Langas uždarytas, negalima nustatyti tipo",paypalPopupClosed:"Aptiktas iššokančiojo lango uždarymas",applePayClosed:"Atšaukta"}},lv:{card:{required:"OBLIGĀTI",number:{label:"Kartes numurs",error:{invalid:"Kartes numurs nav derīgs",incomplete:"Kartes numurs nav pilnīgs",unsupported:"Nepareizs kartes tips"}},expiry:{label:"Derīguma termiņš",placeholder:"MM / YY",error:{incomplete:"Kartes derīguma termiņa datums nav pilnīgs",invalid:"Kartes derīguma termiņa beigu datums nav derīgs",expired:"Kartes derīgums ir beidzies"}},cvc:{label:"Drošības kods",placeholder:"CVC",error:{incomplete:"Kartes drošības kods nav pilnīgs",invalid:"Kartes CVC nav derīgs"}},name:{label:"Kartes īpašnieka vārds",placeholder:"Vārds, uzvārds",error:{invalid:"Norādiet savu vārdu un uzvārdu"}},pay:{button:"Maksāt"},compact:{button:"Karte"}},status:{success:"Panākumi",error:"Mēs nevaram pārbaudīt jūsu maksājuma metodes autentiskumu. Lūdzu, izvēlieties citu maksājumu metodi un mēģiniet vēlreiz."},errors:{doNotHonor:"Noraidīt bez pamatojuma",insufficientFunds:"Nepietiek līdzekļu",limitExceeded:"Pārsniegts limits",expiredCard:"Karte ir beigusies",invalidCreditCardNumber:"Nederīgs kartes numurs",processorDeclinedFraudSuspected:"Procesors noraidīja – aizdomas par krāpšanu",cardholderAuthenticationRequired:"Nepieciešama kartes turētāja autentifikācija",offlineIssuerDeclined:"Izdevējs bezsaistē – noraidīts",cardReportedAsLostOrStolen:"Karte ziņota kā nozagta vai pazaudēta",invalidSecurePaymentData:"Nederīgi drošas maksāšanas dati",declined:"Noraidīts",errorText:"Kļūda",venmoClosed:"Logs tika aizvērts pirms notika tokenizācija.",paypalClosed:"Logs ir aizvērts, nav iespējams noteikt tipu",paypalPopupClosed:"Konstatēta uznirstošā loga aizvēršana",applePayClosed:"Atcelts"}},ms:{card:{required:"DIPERLUKAN",number:{label:"Nombor kad",error:{invalid:"Nombor kad anda tidak sah",incomplete:"Nombor kad anda tidak lengkap",unsupported:"Tipe kad tidak sah"}},expiry:{label:"Tarikh tamat tempoh",placeholder:"BB / TT",error:{incomplete:"Tarikh tamat tempoh kad anda tidak lengkap",invalid:"Tarikh tamat tempoh kad anda tidak sah",expired:"Kad anda telah tamat tempoh"}},cvc:{label:"Kod keselamatan",placeholder:"CVC",error:{incomplete:"Kod keselamatan kad anda tidak lengkap",invalid:"CVC kad anda tidak sah"}},name:{label:"Nama pemegang kad",placeholder:"Nama penuh",error:{invalid:"Sila berikan nama penuh anda"}},pay:{button:"Bayar"},compact:{button:"Kad"}},status:{success:"Kejayaan",error:"Kami tidak dapat mengesahkan kaedah pembayaran anda. Sila pilih kaedah pembayaran lain dan cuba lagi."},errors:{doNotHonor:"Ditolak tanpa alasan",insufficientFunds:"Dana tidak mencukupi",limitExceeded:"Had melebihi",expiredCard:"Kad tamat tempoh",invalidCreditCardNumber:"Nombor kad tidak sah",processorDeclinedFraudSuspected:"Ditolak pemproses – disyaki penipuan",cardholderAuthenticationRequired:"Pengesahan pemegang kad diperlukan",offlineIssuerDeclined:"Penerbit luar talian menolak",cardReportedAsLostOrStolen:"Kad dilaporkan hilang atau dicuri",invalidSecurePaymentData:"Data pembayaran selamat tidak sah",declined:"Ditolak",errorText:"Ralat",venmoClosed:"Tetingkap ditutup sebelum tokenisasi dapat dilakukan.",paypalClosed:"Tetingkap ditutup, jenis tidak dapat ditentukan",paypalPopupClosed:"Pengesan penutupan tetingkap timbul",applePayClosed:"Dibatalkan"}},ru:{card:{required:"ОБЯЗАТЕЛЬНО",number:{label:"Номер карты",error:{invalid:"Неверный номер карты",incomplete:"Номер карты неполон",unsupported:"Неподдерживаемый тип карты"}},expiry:{label:"Срок действия",placeholder:"ММ / ГГ",error:{incomplete:"Срок действия карты указан не полностью",invalid:"Указанный срок действия карты недействителен",expired:"Срок действия карты истек"}},cvc:{label:"Код безопасности",placeholder:"CVC",error:{incomplete:"Код безопасности карты введен не полностью",invalid:"Код CVC карты недействителен"}},name:{label:"Имя владельца карты",placeholder:"Имя, фамилия",error:{invalid:"Введите свое имя и фамилию"}},pay:{button:"Оплатить"},compact:{button:"Кредитная карта"}},status:{success:"Успех",error:"Мы не можем проверить подлинность вашего способа оплаты. Пожалуйста, выберите другой способ оплаты и повторите попытку."},errors:{doNotHonor:"Отказ без объяснения причин",insufficientFunds:"Недостаточно средств",limitExceeded:"Превышен лимит",expiredCard:"Срок действия карты истёк",invalidCreditCardNumber:"Недействительный номер карты",processorDeclinedFraudSuspected:"Отклонено процессингом – подозрение на мошенничество",cardholderAuthenticationRequired:"Требуется аутентификация держателя карты",offlineIssuerDeclined:"Эмитент офлайн отклонил",cardReportedAsLostOrStolen:"Карта заявлена как утерянная или украденная",invalidSecurePaymentData:"Недействительные данные безопасного платежа",declined:"Отклонено",errorText:"Ошибка",venmoClosed:"Окно закрыто до выполнения токенизации.",paypalClosed:"Окно закрыто, не удаётся определить тип",paypalPopupClosed:"Обнаружено закрытие всплывающего окна",applePayClosed:"Отменено"}},mt:{card:{required:"MEĦTIEĠ/A",number:{label:"Numru tal-karta",error:{invalid:"In-numru tal-karta tiegħek mhuwiex tajjeb",incomplete:"In-numru tal-karta tiegħek mhuwiex komplut",unsupported:"Tip ta' karta mhux appoġġjat"}},expiry:{label:"Data tal-iskadenza",placeholder:"XX / SS",error:{incomplete:"Id-data tal-iskadenza tal-karta tiegħek mhix sħiħa",invalid:"Id-data tal-iskadenza tal-karta tiegħek mhix tajba",expired:"Il-karta tiegħek skadiet"}},cvc:{label:"Kodiċi tas-sigurtà",placeholder:"CVC",error:{incomplete:"Il-kodiċi tas-sigurtà tal-karta tiegħek mhux sħiħ",invalid:"Is-CVC tal-karta tiegħek mhux tajjeb"}},name:{label:"Isem id-detentur tal-karta",placeholder:"Isem u kunjom",error:{invalid:"Jekk jogħġbok ipprovdi isemek kollu"}},pay:{button:"Ħallas"},compact:{button:"Karta"}},status:{success:"Suċċess",error:"Aħna ma nistgħux jawtentikaw il-metodu tal-ħlas tiegħek. Jekk jogħġbok agħżel metodu ta' ħlas differenti u erġa' pprova."},errors:{doNotHonor:"Miċħud mingħajr spjegazzjoni",insufficientFunds:"Fondijiet insuffiċjenti",limitExceeded:"Limitu eċċessiv",expiredCard:"Karta skaduta",invalidCreditCardNumber:"Numru tal-karta invalidu",processorDeclinedFraudSuspected:"Miċħud mill-proċessur – suspett ta’ frodi",cardholderAuthenticationRequired:"Meħtieġa awtentikazzjoni tad-detentur tal-karta",offlineIssuerDeclined:"Emittent offline – miċħud",cardReportedAsLostOrStolen:"Karta rrappurtata mitlufa jew misruqa",invalidSecurePaymentData:"Dejta ta’ ħlas sigura invalida",declined:"Miċħud",errorText:"Żball",venmoClosed:"It-tieqa ngħalqet qabel ma setgħet issir it-tokenizzazzjoni.",paypalClosed:"It-tieqa magħluqa, ma jistax jiġi determinat it-tip",paypalPopupClosed:"Innotata għeluq ta’ pop‑up",applePayClosed:"Ikkanċellat"}},no:{card:{required:"PÅKREVD",number:{label:"Kortnummer",error:{invalid:"Kortnummeret er ugyldig",incomplete:"Kortnummeret er ufullstendig",unsupported:"Ikke støttet korttype"}},expiry:{label:"Utløpsdato",placeholder:"MM / ÅÅ",error:{invalid:"Utløpsdatoen er ugyldig",incomplete:"Kortets utløpsdato er ufullstendig",expired:"Kortet har utløpt"}},cvc:{label:"Sikkerhetskode",placeholder:"CVC",error:{incomplete:"Sikkerhetskoden er ufullstendig",invalid:"CVC-koden er ugyldig"}},name:{label:"Kortholders navn",placeholder:"Fullt navn",error:{invalid:"Oppgi fullt navn"}},pay:{button:"Betal"},compact:{button:"Kort"}},status:{success:"Betalingen var vellykket!",error:"Vi kan ikke autentisere betalingsmetoden din. Velg en annen betalingsmetode og prøv igjen."},errors:{doNotHonor:"Avslått uten begrunnelse",insufficientFunds:"Utilstrekkelige midler",limitExceeded:"Grense overskredet",expiredCard:"Kortet er utløpt",invalidCreditCardNumber:"Ugyldig kortnummer",processorDeclinedFraudSuspected:"Avslått av prosessor – mistanke om svindel",cardholderAuthenticationRequired:"Kortholderautentisering kreves",offlineIssuerDeclined:"Utsteder offline – avslått",cardReportedAsLostOrStolen:"Kort rapportert tapt eller stjålet",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",declined:"Avslått",errorText:"Feil",venmoClosed:"Vinduet ble lukket før tokenisering kunne gjennomføres.",paypalClosed:"Vinduet er lukket, kan ikke fastslå type",paypalPopupClosed:"Oppdaget lukking av popup‑vindu",applePayClosed:"Avbrutt"}},nb:{card:{required:"PÅKREVET",number:{label:"Kortnummer",error:{invalid:"Kortnummer er ugyldig",incomplete:"Kortnummeret er ufullstendig",unsupported:"Ikke understøttet korttype"}},expiry:{label:"Utløpsdato",placeholder:"MM / ÅÅ",error:{incomplete:"Kortets utløpsdato er ufullstendig",invalid:"Kortets utløpsdato er ugyldig",expired:"Kortet er utløpt"}},cvc:{label:"Sikkerhetskode",placeholder:"CVC",error:{incomplete:"Kortets sikkerhetskode er ufullstendig",invalid:"Kortets CVC-nummer er ugyldig"}},name:{label:"Kortinnehavers navn",placeholder:"Fullt navn",error:{invalid:"Oppgi fullt navn"}},pay:{button:"Betal"},compact:{button:"Kort"}},status:{success:"Suksess",error:"Vi kan ikke godkjenne betalingsmåten din. Vennligst velg en annen betalingsmetode og prøv på nytt."},errors:{doNotHonor:"Avslått uten begrunnelse",insufficientFunds:"Utilstrekkelige midler",limitExceeded:"Grense overskredet",expiredCard:"Kortet er utløpt",invalidCreditCardNumber:"Ugyldig kortnummer",processorDeclinedFraudSuspected:"Avslått av prosessor – mistanke om svindel",cardholderAuthenticationRequired:"Kortholderautentisering kreves",offlineIssuerDeclined:"Utsteder offline – avslått",cardReportedAsLostOrStolen:"Kort rapportert tapt eller stjålet",invalidSecurePaymentData:"Ugyldige sikre betalingsdata",declined:"Avslått",errorText:"Feil",venmoClosed:"Vinduet ble lukket før tokenisering kunne gjennomføres.",paypalClosed:"Vinduet er lukket, kan ikke fastslå type",paypalPopupClosed:"Oppdaget lukking av popup‑vindu",applePayClosed:"Avbrutt"}},nl:{card:{required:"VEREIST",number:{label:"Kaartnummer",error:{invalid:"Je kaartnummer is ongeldig",incomplete:"Je kaartnummer is onvolledig",unsupported:"Niet ondersteund"}},expiry:{label:"Vervaldatum",placeholder:"MM / JJ",error:{incomplete:"De vervaldatum van je kaart is onvolledig",invalid:"De vervaldatum van je betaalkaart is ongeldig",expired:"Je kaart is vervallen"}},cvc:{label:"Beveiligingscode",placeholder:"CVC",error:{incomplete:"De beveiligingscode van je betaalkaart is onvolledig",invalid:"De CVC-code van je betaalkaart is ongeldig"}},name:{label:"Naam kaarthouder",placeholder:"Volledige naam",error:{invalid:"Geef je volledige naam op"}},pay:{button:"Betalen"},compact:{button:"Kaart"}},status:{success:"Succes",error:"We kunnen je betaalmethode niet verifiëren. Kies een andere betaalmethode en probeer het opnieuw."},errors:{doNotHonor:"Weigering zonder opgaaf van reden",insufficientFunds:"Onvoldoende saldo",limitExceeded:"Limiet overschreden",expiredCard:"Kaart verlopen",invalidCreditCardNumber:"Ongeldig kaartnummer",processorDeclinedFraudSuspected:"Door verwerker geweigerd – vermoedelijke fraude",cardholderAuthenticationRequired:"Authenticatie kaarthouder vereist",offlineIssuerDeclined:"Offline door uitgever geweigerd",cardReportedAsLostOrStolen:"Kaart gemeld als verloren of gestolen",invalidSecurePaymentData:"Ongeldige beveiligde betalingsgegevens",declined:"Geweigerd",errorText:"Fout",venmoClosed:"Venster gesloten voordat tokenisatie kon plaatsvinden.",paypalClosed:"Venster is gesloten, type kan niet worden bepaald",paypalPopupClosed:"Detectie van sluiten van pop‑up",applePayClosed:"Geannuleerd"}},pl:{card:{required:"WYMAGANE",number:{label:"Numer karty",error:{invalid:"Numer karty jest nieprawidłowy",incomplete:"Numer karty jest niepełny",unsupported:"Nieobsługiwany typ karty"}},expiry:{label:"Data ważności",placeholder:"MM / RR",error:{incomplete:"Data ważności karty jest niepełna",invalid:"Termin ważności karty jest nieprawidłowy",expired:"Karta straciła ważność"}},cvc:{label:"Kod bezpieczeństwa",placeholder:"Kod CVC",error:{incomplete:"Kod zabezpieczający karty jest niekompletny",invalid:"CVC karty jest nieprawidłowy"}},name:{label:"Imię i nazwisko posiadacza karty",placeholder:"Imię i nazwisko",error:{invalid:"Podaj pełne imię i nazwisko"}},pay:{button:"Zapłać"},compact:{button:"Karta"}},status:{success:"Sukces",error:"Nie możemy uwierzytelnić metody płatności. Wybierz inną metodę płatności i spróbuj ponownie."},errors:{doNotHonor:"Odmowa bez podania przyczyny",insufficientFunds:"Niewystarczające środki",limitExceeded:"Przekroczono limit",expiredCard:"Karta wygasła",invalidCreditCardNumber:"Nieprawidłowy numer karty",processorDeclinedFraudSuspected:"Odrzucono przez procesor – podejrzenie oszustwa",cardholderAuthenticationRequired:"Wymagana uwierzytelnienie posiadacza karty",offlineIssuerDeclined:"Wystawca offline – odrzucono",cardReportedAsLostOrStolen:"Karta zgłoszona jako zgubiona lub skradziona",invalidSecurePaymentData:"Nieprawidłowe dane bezpiecznej płatności",declined:"Odrzucono",errorText:"Błąd",venmoClosed:"Okno zostało zamknięte przed dokonaniem tokenizacji.",paypalClosed:"Okno jest zamknięte, nie można określić typu",paypalPopupClosed:"Wykryto zamknięcie okna podręcznego",applePayClosed:"Anulowano"}},pt:{card:{required:"OBRIGATÓRIO",number:{label:"Número do cartão",error:{invalid:"O número do seu cartão é inválido",incomplete:"O número do seu cartão está incompleto",unsupported:"Tipo de cartão não suportado"}},expiry:{label:"Data de validade",placeholder:"MM / AA",error:{incomplete:"A data de validade do cartão está incompleta",invalid:"A data de validade do seu cartão é inválida",expired:"O seu cartão expirou"}},cvc:{label:"Código de segurança",placeholder:"CVC",error:{incomplete:"O código de segurança de seu cartão está incompleto",invalid:"O CVC do seu cartão é inválido"}},name:{label:"Nome do titular do cartão",placeholder:"Nome completo",error:{invalid:"Forneça o seu nome completo"}},pay:{button:"Pagar"},compact:{button:"Cartão"}},status:{success:"Sucesso",error:"Não foi possível autenticar o seu método de pagamento. Selecione outro método de pagamento e tente novamente."},errors:{doNotHonor:"Recusado sem explicação",insufficientFunds:"Fundos insuficientes",limitExceeded:"Limite excedido",expiredCard:"Cartão expirado",invalidCreditCardNumber:"Número do cartão inválido",processorDeclinedFraudSuspected:"Recusado pelo processador – suspeita de fraude",cardholderAuthenticationRequired:"Autenticação do titular necessária",offlineIssuerDeclined:"Emissor offline – recusado",cardReportedAsLostOrStolen:"Cartão reportado como perdido ou roubado",invalidSecurePaymentData:"Dados de pagamento seguro inválidos",declined:"Recusado",errorText:"Erro",venmoClosed:"A janela foi fechada antes que a tokenização pudesse ocorrer.",paypalClosed:"A janela está fechada, não é possível determinar o tipo",paypalPopupClosed:"Deteção de fecho de pop‑up",applePayClosed:"Cancelado"}},ro:{card:{required:"NECESAR",number:{label:"Numărul cardului",error:{invalid:"Numărul cardului dvs. nu este valid",incomplete:"Numărul cardului dvs. nu este complet",unsupported:"Tipul cardului nu este acceptat"}},expiry:{label:"Data de expirare",placeholder:"LL / AA",error:{incomplete:"Data de expirare a cardului dvs. este incompletă",invalid:"Data de expirare a cardului dvs. nu este validă",expired:"Cardul dvs. a expirat"}},cvc:{label:"Codul de securitate",placeholder:"CVC",error:{incomplete:"Codul de securitate al cardului dvs. este incomplet",invalid:"Numărul CVC al cardului dvs. nu este valid"}},name:{label:"Nume titular card",placeholder:"Nume complet",error:{invalid:"Vă rugăm să furnizați numele dvs. complet"}},pay:{button:"Plătiți"},compact:{button:"Card"}},status:{success:"Succes",error:"Nu putem să vă autentificăm metoda de plată. Vă rugăm să alegeți o altă metodă de plată și să încercați din nou."},errors:{doNotHonor:"Refuzat fără motiv",insufficientFunds:"Fonduri insuficiente",limitExceeded:"Limită depășită",expiredCard:"Card expirat",invalidCreditCardNumber:"Număr de card invalid",processorDeclinedFraudSuspected:"Refuzat de procesator – suspiciune de fraudă",cardholderAuthenticationRequired:"Este necesară autentificarea titularului cardului",offlineIssuerDeclined:"Emitent offline – refuzat",cardReportedAsLostOrStolen:"Card raportat ca pierdut sau furat",invalidSecurePaymentData:"Date de plată securizată invalide",declined:"Refuzat",errorText:"Eroare",venmoClosed:"Fereastra a fost închisă înainte de efectuarea tokenizării.",paypalClosed:"Fereastra este închisă, nu se poate determina tipul",paypalPopupClosed:"S-a detectat închiderea ferestrei pop‑up",applePayClosed:"Anulat"}},ua:{card:{required:"ОБОВʼЯЗКОВО",number:{label:"Номер картки",error:{invalid:"Невірний номер картки",incomplete:"Номер картки неповний",unsupported:"Непідтримуваний тип картки"}},expiry:{label:"Термін дії",placeholder:"ММ / РР",error:{invalid:"Невірний термін дії картки",incomplete:"Термін дії картки вказано не повністю",expired:"Термін дії картки минув"}},cvc:{label:"Код безпеки",placeholder:"CVC",error:{incomplete:"Код безпеки картки введено не повністю",invalid:"Невірний CVC-код картки"}},name:{label:"Імʼя власника картки",placeholder:"Повне імʼя",error:{invalid:"Вкажіть своє повне імʼя"}},pay:{button:"Сплатити"},compact:{button:"Картка"}},status:{success:"Платіж успішний!",error:"Не вдалося підтвердити ваш спосіб оплати. Будь ласка, оберіть інший спосіб оплати та спробуйте ще раз."},errors:{doNotHonor:"Відмовлено без пояснення",insufficientFunds:"Недостатньо коштів",limitExceeded:"Перевищено ліміт",expiredCard:"Прострочена картка",invalidCreditCardNumber:"Недійсний номер картки",processorDeclinedFraudSuspected:"Відхилено процесором – підозра на шахрайство",cardholderAuthenticationRequired:"Потрібна автентифікація держателя картки",offlineIssuerDeclined:"Емітент офлайн відхилив",cardReportedAsLostOrStolen:"Картку заявлено як втрачено або викрадено",invalidSecurePaymentData:"Недійсні дані безпечного платежу",declined:"Відхилено",errorText:"Помилка",venmoClosed:"Вікно закрито до виконання токенізації.",paypalClosed:"Вікно закрите, неможливо визначити тип",paypalPopupClosed:"Виявлено закриття спливаючого вікна",applePayClosed:"Скасовано"}},sk:{card:{required:"POŽADOVANÉ",number:{label:"Číslo karty",error:{invalid:"Číslo vašej karty je neplatné",incomplete:"Číslo vašej karty je neúplné",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Dátum ukončenia platnosti",placeholder:"MM / RR",error:{incomplete:"Dátum vypršania platnosti vašej karty je neúplný",invalid:"Dátum vypršania platnosti vašej karty je neplatný",expired:"Platnosť vašej karty vypršala"}},cvc:{label:"Bezpečnostný kód",placeholder:"CVC",error:{incomplete:"Bezpečnostný kód vašej karty je neúplný",invalid:"Číslo CVC vašej karty je neplatné"}},name:{label:"Držiteľ karty",placeholder:"Celé meno",error:{invalid:"Zadajte vaše celé meno"}},pay:{button:"Zaplatiť"},compact:{button:"Karta"}},status:{success:"Úspech",error:"Nemôžeme overiť váš spôsob platby. Vyberte si iný spôsob platby a skúste to znova."},errors:{doNotHonor:"Odmietnuté bez uvedenia dôvodu",insufficientFunds:"Nedostatočné prostriedky",limitExceeded:"Prekročený limit",expiredCard:"Karta po dobe platnosti",invalidCreditCardNumber:"Neplatné číslo karty",processorDeclinedFraudSuspected:"Odmietnuté procesorom – podozrenie na podvod",cardholderAuthenticationRequired:"Vyžaduje sa autentifikácia držiteľa karty",offlineIssuerDeclined:"Vydavateľ offline – odmietnuté",cardReportedAsLostOrStolen:"Karta nahlásená ako stratená alebo odcudzená",invalidSecurePaymentData:"Neplatné údaje o zabezpečenej platbe",declined:"Odmietnuté",errorText:"Chyba",venmoClosed:"Okno bolo zatvorené skôr, ako mohlo dôjsť k tokenizácii.",paypalClosed:"Okno je zatvorené, nie je možné určiť typ",paypalPopupClosed:"Zistené zatvorenie vyskakovacieho okna",applePayClosed:"Zrušené"}},sl:{card:{required:"OBVEZNO",number:{label:"Številka kartice",error:{invalid:"Številka vaše kartice ni veljavna",incomplete:"Številka vaše kartice ni popolna",unsupported:"Nepodprta vrsta kartice"}},expiry:{label:"Datum poteka",placeholder:"MM / LL",error:{incomplete:"Datum poteka vaše kartice ni popoln",invalid:"Datum poteka vaše kartice ni veljaven",expired:"Vaša kartica je potekla"}},cvc:{label:"Varnostna koda",placeholder:"CVC",error:{incomplete:"Varnostna koda vaše kartice ni popolna",invalid:"Koda CVC vaše kartice ni veljavna"}},name:{label:"Ime imetnika kartice",placeholder:"Polno ime",error:{invalid:"Vnesite svoje polno ime"}},pay:{button:"Plačaj"},compact:{button:"Kartica"}},status:{success:"Uspeh",error:"Vašega načina plačila ne moremo preveriti. Izberite drug način plačila in poskusite znova."},errors:{doNotHonor:"Zavrnjeno brez pojasnila",insufficientFunds:"Nezadostna sredstva",limitExceeded:"Prekoračena omejitev",expiredCard:"Kartica je potekla",invalidCreditCardNumber:"Neveljavna številka kartice",processorDeclinedFraudSuspected:"Procesor zavrnil – sum goljufije",cardholderAuthenticationRequired:"Zahtevana je overitev imetnika kartice",offlineIssuerDeclined:"Izdajatelj brez povezave – zavrnjeno",cardReportedAsLostOrStolen:"Kartica prijavljena kot izgubljena ali ukradena",invalidSecurePaymentData:"Neveljavni varni plačilni podatki",declined:"Zavrnjeno",errorText:"Napaka",venmoClosed:"Okno je bilo zaprto, preden je lahko prišlo do tokenizacije.",paypalClosed:"Okno je zaprto, vrste ni mogoče določiti",paypalPopupClosed:"Zaznano zaprtje pojavnega okna",applePayClosed:"Preklicano"}},sv:{card:{required:"OBLIGATORISKT",number:{label:"Kortnummer",error:{invalid:"Ditt kortnummer är ogiltigt",incomplete:"Kortnumret är ofullständigt",unsupported:"Nepodporovaný typ karty"}},expiry:{label:"Sista giltighetsdag",placeholder:"MM / ÅÅ",error:{incomplete:"Kortets utgångsdatum är ofullständigt",invalid:"Kortets utgångsdatum är ogiltigt",expired:"Ditt kort har gått ut"}},cvc:{label:"Säkerhetskod",placeholder:"CVC",error:{incomplete:"Kortets säkerhetskod är ofullständig",invalid:"Kortets CVC-kod är ogiltig"}},name:{label:"Kortinnehavarens namn",placeholder:"Fullständigt namn",error:{invalid:"Ange ditt fullständiga namn"}},pay:{button:"Betala"},compact:{button:"Kort"}},status:{success:"Framgång",error:"Vi kan inte verifiera din betalningsmetod. Vänligen välj en annan betalningsmetod och försök igen."},errors:{doNotHonor:"Nekad utan förklaring",insufficientFunds:"Otillräckliga medel",limitExceeded:"Gräns överskriden",expiredCard:"Kortet har gått ut",invalidCreditCardNumber:"Ogiltigt kortnummer",processorDeclinedFraudSuspected:"Nekad av processor – misstänkt bedrägeri",cardholderAuthenticationRequired:"Korthavarautentisering krävs",offlineIssuerDeclined:"Utfärdare offline – nekad",cardReportedAsLostOrStolen:"Kort anmält som förlorat eller stulet",invalidSecurePaymentData:"Ogiltiga säkra betalningsdata",declined:"Nekad",errorText:"Fel",venmoClosed:"Fönstret stängdes innan tokenisering kunde utföras.",paypalClosed:"Fönstret är stängt, kan inte avgöra typ",paypalPopupClosed:"Upptäckt stängning av popup‑fönster",applePayClosed:"Avbruten"}},th:{card:{required:"ต้องป้อนข้อมูล",number:{label:"หมายเลขบัตร",error:{invalid:"หมายเลขบัตรของคุณไม่ถูกต้อง",incomplete:"หมายเลขบัตรของคุณไม่ครบถ้วน",unsupported:"ประเภทบัตรของคุณไม่ถูกต้อง"}},expiry:{label:"วันหมดอายุ",placeholder:"ดด / ปป",error:{incomplete:"วันที่หมดอายุของบัตรไม่ครบถ้วน",invalid:"วันที่หมดอายุของบัตรไม่ถูกต้อง",expired:"บัตรของคุณหมดอายุแล้ว"}},cvc:{label:"รหัสความปลอดภัย",placeholder:"CVC",error:{incomplete:"รหัสความปลอดภัยของบัตรไม่ครบถ้วน",invalid:"CVC ของบัตรไม่ถูกต้อง"}},name:{label:"ชื่อเจ้าของบัตร",placeholder:"ชื่อ-นามสกุล",error:{invalid:"โปรดป้อนชื่อ-นามสกุล"}},pay:{button:"ชำระเงิน"},compact:{button:"การ์ด"}},status:{success:"ความสำเร็จ",error:"เราไม่สามารถตรวจสอบวิธีการชำระเงินของคุณได้ โปรดเลือกวิธีการชำระเงินอื่นแล้วลองอีกครั้ง"},errors:{doNotHonor:"ปฏิเสธโดยไม่มีเหตุผล",insufficientFunds:"ยอดเงินไม่เพียงพอ",limitExceeded:"เกินวงเงิน",expiredCard:"บัตรหมดอายุ",invalidCreditCardNumber:"หมายเลขบัตรไม่ถูกต้อง",processorDeclinedFraudSuspected:"ตัวประมวลผลปฏิเสธ – สงสัยการทุจริต",cardholderAuthenticationRequired:"ต้องมีการยืนยันตัวตนของผู้ถือบัตร",offlineIssuerDeclined:"ผู้ออกบัตรออฟไลน์ปฏิเสธ",cardReportedAsLostOrStolen:"บัตรถูกรายงานว่าหายหรือถูกขโมย",invalidSecurePaymentData:"ข้อมูลการชำระเงินที่ปลอดภัยไม่ถูกต้อง",declined:"ถูกปฏิเสธ",errorText:"ข้อผิดพลาด",venmoClosed:"หน้าต่างถูกปิดก่อนที่จะทำการสร้างโทเค็นได้.",paypalClosed:"หน้าต่างถูกปิด ไม่สามารถระบุประเภทได้",paypalPopupClosed:"ตรวจพบการปิดหน้าต่างป๊อปอัป",applePayClosed:"ยกเลิกแล้ว"}},tr:{card:{required:"GEREKLI",number:{label:"Kart numarası",error:{invalid:"Kart numaranız geçersiz",incomplete:"Kart numaranız eksik",unsupported:"Desteklenmeyen kart türü"}},expiry:{label:"Son Kullanma Tarihi",placeholder:"AA / YY",error:{incomplete:"Kartınızın son kullanma tarihi eksik",invalid:"Kartınızın son kullanım tarihi geçersiz",expired:"Kartınızın süresi dolmuş"}},cvc:{label:"Güvenlik kodu",placeholder:"CVC",error:{incomplete:"Kartınızın güvenlik kodu eksik",invalid:"Kartınızın CVC'si geçersiz"}},name:{label:"Kart sahibinin adı",placeholder:"Ad ve soyadı",error:{invalid:"Lütfen tam adınızı girin"}},pay:{button:"Öde"},compact:{button:"Kart"}},status:{success:"Başarı",error:"Ödeme yönteminizi doğrulayamıyoruz. Lütfen farklı bir ödeme yöntemi seçin ve tekrar deneyin."},errors:{doNotHonor:"Açıklamasız reddedildi",insufficientFunds:"Yetersiz bakiye",limitExceeded:"Limit aşıldı",expiredCard:"Kartın süresi dolmuş",invalidCreditCardNumber:"Geçersiz kart numarası",processorDeclinedFraudSuspected:"İşlemci tarafından reddedildi – şüpheli dolandırıcılık",cardholderAuthenticationRequired:"Kart sahibinin kimlik doğrulaması gerekli",offlineIssuerDeclined:"Çevrimdışı sağlayıcı reddetti",cardReportedAsLostOrStolen:"Kart kayıp veya çalıntı olarak bildirildi",invalidSecurePaymentData:"Geçersiz güvenli ödeme verisi",declined:"Reddedildi",errorText:"Hata",venmoClosed:"Tokenleştirme gerçekleşmeden önce pencere kapatıldı.",paypalClosed:"Pencere kapalı, tür belirlenemiyor",paypalPopupClosed:"Açılır pencere kapanması algılandı",applePayClosed:"İptal edildi"}},vi:{card:{required:"BẮT BUỘC",number:{label:"Số thẻ",error:{invalid:"Số thẻ của quý vị không hợp lệ",incomplete:"Số thẻ của quý vị không đầy đủ",unsupported:"Không hỗ trợ loại thẻ"}},expiry:{label:"Ngày hết hạn",placeholder:"MM / YY",error:{incomplete:"Ngày hết hạn trên thẻ không hợp lệ",invalid:"Ngày hết hạn của thẻ không hợp lệ",expired:"Thẻ của quý vị đã hết hạn"}},cvc:{label:"Mã bảo mật",placeholder:"CVC",error:{incomplete:"Mã bảo mật của thẻ không đầy đủ",invalid:"CVC thẻ của bạn không hợp lệ"}},name:{label:"Tên chủ thẻ",placeholder:"Họ và tên",error:{invalid:"Vui lòng cung cấp tên đầy đủ của bạn"}},pay:{button:"Thanh toán"},compact:{button:"Thẻ"}},status:{success:"Thành công",error:"Chúng tôi không thể xác thực phương thức thanh toán của bạn. Vui lòng chọn phương thức thanh toán khác và thử lại."},errors:{doNotHonor:"Từ chối không rõ lý do",insufficientFunds:"Không đủ tiền",limitExceeded:"Vượt quá hạn mức",expiredCard:"Thẻ đã hết hạn",invalidCreditCardNumber:"Số thẻ không hợp lệ",processorDeclinedFraudSuspected:"Bộ xử lý từ chối – nghi ngờ gian lận",cardholderAuthenticationRequired:"Yêu cầu xác thực chủ thẻ",offlineIssuerDeclined:"Đơn vị phát hành ngoại tuyến từ chối",cardReportedAsLostOrStolen:"Thẻ được báo mất hoặc bị đánh cắp",invalidSecurePaymentData:"Dữ liệu thanh toán bảo mật không hợp lệ",declined:"Bị từ chối",errorText:"Lỗi",venmoClosed:"Cửa sổ đã đóng trước khi quá trình token hóa có thể diễn ra.",paypalClosed:"Cửa sổ đã đóng, không thể xác định loại",paypalPopupClosed:"Phát hiện đóng cửa sổ bật lên",applePayClosed:"Đã hủy"}},zh:{card:{required:"必填",number:{label:"卡号",error:{invalid:"您的卡号无效",incomplete:"您的银行卡卡号不完整",unsupported:"不支持的卡类型"}},expiry:{label:"有效期",placeholder:"月份 / 年份",error:{incomplete:"您银行卡的有效期不完整",invalid:"您银行卡的有效期无效",expired:"您的银行卡已过期"}},cvc:{label:"安全代码",placeholder:"CVC",error:{incomplete:"您银行卡的安全码不完整",invalid:"您银行卡的 CVC 无效"}},name:{label:"持卡人姓名",placeholder:"全名",error:{invalid:"请提供您的全名"}},pay:{button:"支付"},compact:{button:"卡片"}},status:{success:"成功",error:"我们无法验证您的付款方式。请选择其他付款方式并重试。"},errors:{doNotHonor:"无理由拒绝",insufficientFunds:"资金不足",limitExceeded:"超出限额",expiredCard:"卡片已过期",invalidCreditCardNumber:"卡号无效",processorDeclinedFraudSuspected:"处理方拒绝 – 疑似欺诈",cardholderAuthenticationRequired:"需要持卡人身份验证",offlineIssuerDeclined:"离线发卡机构拒绝",cardReportedAsLostOrStolen:"卡片已被报告丢失或被盗",invalidSecurePaymentData:"无效的安全支付数据",declined:"已拒绝",errorText:"错误",venmoClosed:"在完成令牌化之前窗口已关闭。",paypalClosed:"窗口已关闭,无法确定类型",paypalPopupClosed:"检测到弹出窗口关闭",applePayClosed:"已取消"}}},kr=()=>{const r=navigator==null?void 0:navigator.language.split("-")[0];return Nr[r]||Nr.en},Si=(r,t={})=>{var i,o,s,l,c,d,u,h,p,f,m,v,y,A,x,k,I,L,N,S,U,q,$,F,z,B,J,D,Y,H,E,g,P,V,b,T,_,O,M,w,j,Q,ae,R,te,be,Bi,Ki;if(!r)return kr();const e=Nr[r]||kr(),n=Object.keys(Ri.errors||{}).reduce((Hi,Kc)=>(Hi[Kc]=e.status.error,Hi),{}),a=K(K(K({},n),e.errors||{}),t.errors||{});return{card:{required:((i=t==null?void 0:t.card)==null?void 0:i.required)||e.card.required,number:{label:((s=(o=t==null?void 0:t.card)==null?void 0:o.number)==null?void 0:s.label)||e.card.number.label,error:{invalid:((d=(c=(l=t==null?void 0:t.card)==null?void 0:l.number)==null?void 0:c.error)==null?void 0:d.invalid)||e.card.number.error.invalid,incomplete:((p=(h=(u=t==null?void 0:t.card)==null?void 0:u.number)==null?void 0:h.error)==null?void 0:p.incomplete)||e.card.number.error.incomplete,unsupported:((v=(m=(f=t==null?void 0:t.card)==null?void 0:f.number)==null?void 0:m.error)==null?void 0:v.unsupported)||e.card.number.error.unsupported}},expiry:{label:((A=(y=t==null?void 0:t.card)==null?void 0:y.expiry)==null?void 0:A.label)||e.card.expiry.label,placeholder:((k=(x=t==null?void 0:t.card)==null?void 0:x.expiry)==null?void 0:k.placeholder)||e.card.expiry.placeholder,error:{invalid:((N=(L=(I=t==null?void 0:t.card)==null?void 0:I.expiry)==null?void 0:L.error)==null?void 0:N.invalid)||e.card.expiry.error.invalid,incomplete:((q=(U=(S=t==null?void 0:t.card)==null?void 0:S.expiry)==null?void 0:U.error)==null?void 0:q.incomplete)||e.card.expiry.error.incomplete,expired:((z=(F=($=t==null?void 0:t.card)==null?void 0:$.expiry)==null?void 0:F.error)==null?void 0:z.expired)||e.card.expiry.error.expired}},cvc:{label:((J=(B=t==null?void 0:t.card)==null?void 0:B.cvc)==null?void 0:J.label)||e.card.cvc.label,placeholder:((Y=(D=t==null?void 0:t.card)==null?void 0:D.cvc)==null?void 0:Y.placeholder)||e.card.cvc.placeholder,error:{incomplete:((g=(E=(H=t==null?void 0:t.card)==null?void 0:H.cvc)==null?void 0:E.error)==null?void 0:g.incomplete)||e.card.cvc.error.incomplete,invalid:((b=(V=(P=t==null?void 0:t.card)==null?void 0:P.cvc)==null?void 0:V.error)==null?void 0:b.invalid)||e.card.cvc.error.invalid}},name:{label:((_=(T=t==null?void 0:t.card)==null?void 0:T.name)==null?void 0:_.label)||e.card.name.label,placeholder:((M=(O=t==null?void 0:t.card)==null?void 0:O.name)==null?void 0:M.placeholder)||e.card.name.placeholder,error:{invalid:((Q=(j=(w=t==null?void 0:t.card)==null?void 0:w.name)==null?void 0:j.error)==null?void 0:Q.invalid)||e.card.name.error.invalid}},pay:{button:((R=(ae=t==null?void 0:t.card)==null?void 0:ae.pay)==null?void 0:R.button)||e.card.pay.button},compact:{button:((be=(te=t==null?void 0:t.card)==null?void 0:te.compact)==null?void 0:be.button)||e.card.compact.button}},status:{success:((Bi=t==null?void 0:t.status)==null?void 0:Bi.success)||e.status.success,error:((Ki=t==null?void 0:t.status)==null?void 0:Ki.error)||e.status.error},errors:a}};class _c extends Rt{constructor(){super({messages:kr(),locale:(navigator==null?void 0:navigator.language.split("-")[0])||"en"})}setMessages(t){const e=this.locale(),n=Si(e,t);this.setState({locale:e,messages:n,overrides:t})}setLocale(t){const e=this.overrides(),n=Si(t,e);this.setState({locale:t,messages:n,overrides:e})}overrides(){const{overrides:t}=this.getState();return t}messages(){const{messages:t}=this.getState();return t}locale(){const{locale:t}=this.getState();return t}dir(){return this.locale()==="ar"?"rtl":"ltr"}}/*!
|
|
360
360
|
* paypal-js v8.4.2 (2025-09-04T17:21:30.135Z)
|
|
361
361
|
* Copyright 2020-present, PayPal, Inc. All rights reserved.
|
|
362
362
|
*
|
|
@@ -371,7 +371,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
371
371
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
372
372
|
* See the License for the specific language governing permissions and
|
|
373
373
|
* limitations under the License.
|
|
374
|
-
*/function
|
|
374
|
+
*/function Ec(r,t){var e={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(r);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(e[n[a]]=r[n[a]]);return e}typeof SuppressedError=="function"&&SuppressedError;function Cc(r,t){var e=document.querySelector('script[src="'.concat(r,'"]'));if(e===null)return null;var n=Di(r,t),a=e.cloneNode();if(delete a.dataset.uidAuto,Object.keys(a.dataset).length!==Object.keys(n.dataset).length)return null;var i=!0;return Object.keys(a.dataset).forEach(function(o){a.dataset[o]!==n.dataset[o]&&(i=!1)}),i?e:null}function wc(r){var t=r.url,e=r.attributes,n=r.onSuccess,a=r.onError,i=Di(t,e);i.onerror=a,i.onload=n,document.head.insertBefore(i,document.head.firstElementChild)}function Ac(r){var t=r.sdkBaseUrl,e=r.environment,n=Ec(r,["sdkBaseUrl","environment"]),a=t||xc(e),i=n,o=Object.keys(i).filter(function(c){return typeof i[c]!="undefined"&&i[c]!==null&&i[c]!==""}).reduce(function(c,d){var u=i[d].toString();return d=Tc(d),d.substring(0,4)==="data"||d==="crossorigin"?c.attributes[d]=u:c.queryParams[d]=u,c},{queryParams:{},attributes:{}}),s=o.queryParams,l=o.attributes;return s["merchant-id"]&&s["merchant-id"].indexOf(",")!==-1&&(l["data-merchant-id"]=s["merchant-id"],s["merchant-id"]="*"),{url:"".concat(a,"?").concat(Ic(s)),attributes:l}}function Tc(r){var t=function(e,n){return(n?"-":"")+e.toLowerCase()};return r.replace(/[A-Z]+(?![a-z])|[A-Z]/g,t)}function Ic(r){var t="";return Object.keys(r).forEach(function(e){t.length!==0&&(t+="&"),t+=e+"="+r[e]}),t}function xc(r){return r==="sandbox"?"https://www.sandbox.paypal.com/sdk/js":"https://www.paypal.com/sdk/js"}function Di(r,t){t===void 0&&(t={});var e=document.createElement("script");return e.src=r,Object.keys(t).forEach(function(n){e.setAttribute(n,t[n]),n==="data-csp-nonce"&&e.setAttribute("nonce",t["data-csp-nonce"])}),e}function Nc(r,t){if(t===void 0&&(t=Promise),Vi(r,t),typeof document=="undefined")return t.resolve(null);var e=Ac(r),n=e.url,a=e.attributes,i=a["data-namespace"]||"paypal",o=Mi(i);return a["data-js-sdk-library"]||(a["data-js-sdk-library"]="paypal-js"),Cc(n,a)&&o?t.resolve(o):kc({url:n,attributes:a},t).then(function(){var s=Mi(i);if(s)return s;throw new Error("The window.".concat(i," global variable is not available."))})}function kc(r,t){t===void 0&&(t=Promise),Vi(r,t);var e=r.url,n=r.attributes;if(typeof e!="string"||e.length===0)throw new Error("Invalid url.");if(typeof n!="undefined"&&typeof n!="object")throw new Error("Expected attributes to be an object.");return new t(function(a,i){if(typeof document=="undefined")return a();wc({url:e,attributes:n,onSuccess:function(){return a()},onError:function(){var o=new Error('The script "'.concat(e,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.'));return i(o)}})})}function Mi(r){return window[r]}function Vi(r,t){if(typeof r!="object"||r===null)throw new Error("Expected an options object.");var e=r.environment;if(e&&e!=="production"&&e!=="sandbox")throw new Error('The `environment` option must be either "production" or "sandbox".');if(typeof t!="undefined"&&typeof t!="function")throw new Error("Expected PromisePonyfill to be a function.")}const Oc={layout:"vertical",tagline:!1,height:40,borderRadius:12};class Lc{constructor(){C(this,"paypal",null)}init(t){return W(this,null,function*(){try{this.paypal=yield Nc(t)}catch(e){throw this.paypal=null,e}})}isLoaded(){return this.paypal!==null&&this.paypal.Buttons!==void 0}render(t,e){return W(this,null,function*(){var n,a;if(!t.isConnected)throw new Error("PayPal parent element must be connected to DOM before render()");if(this.paypal){const i=K(K({},Oc),(e==null?void 0:e.style)||{}),o=ee(K({fundingSource:"paypal"},e),{style:i}),s=(a=(n=this.paypal).Buttons)==null?void 0:a.call(n,o);if(!s)throw new Error("PayPal Buttons instance is null");console.log("PayPalService: Buttons instance created, calling render()..."),yield s.render(t)}})}}function we(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Or={exports:{}},Fi;function Pc(){return Fi||(Fi=1,function(r,t){(function(e){r.exports=e()})(function(){return function(){function e(n,a,i){function o(c,d){if(!a[c]){if(!n[c]){var u=typeof we=="function"&&we;if(!d&&u)return u(c,!0);if(s)return s(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var p=a[c]={exports:{}};n[c][0].call(p.exports,function(f){var m=n[c][1][f];return o(m||f)},p,p.exports,e,n,a,i)}return a[c].exports}for(var s=typeof we=="function"&&we,l=0;l<i.length;l++)o(i[l]);return o}return e}()({1:[function(e,n,a){var i={};function o(s){var l,c=JSON.stringify(s);if(!s.forceScriptReload&&(l=i[c],l))return l;var d=document.createElement("script"),u=s.dataAttributes||{},h=s.container||document.head;return d.src=s.src,d.id=s.id||"",d.async=!0,s.type&&d.setAttribute("type","".concat(s.type)),s.crossorigin&&d.setAttribute("crossorigin","".concat(s.crossorigin)),s.integrity&&d.setAttribute("integrity","".concat(s.integrity)),Object.keys(u).forEach(function(p){d.setAttribute("data-".concat(p),"".concat(u[p]))}),l=new Promise(function(p,f){d.addEventListener("load",function(){p(d)}),d.addEventListener("error",function(){f(new Error("".concat(s.src," failed to load.")))}),d.addEventListener("abort",function(){f(new Error("".concat(s.src," has aborted.")))}),h.appendChild(d)}),i[c]=l,l}o.clearCache=function(){i={}},n.exports=o},{}],2:[function(e,n,a){n.exports=e("./dist/load-script")},{"./dist/load-script":1}],3:[function(e,n,a){function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var s=Math.random()*16|0,l=o==="x"?s:s&3|8;return l.toString(16)})}n.exports=i},{}],4:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];setTimeout(function(){try{o.apply(void 0,s)}catch(c){console.log("Error in callback function"),console.log(c)}},1)}}a.deferred=i},{}],5:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){var s=!1;return function(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];s||(s=!0,o.apply(void 0,l))}}a.once=i},{}],6:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o,s){if(!s)return o;o.then(function(l){return s(null,l)}).catch(function(l){return s(l)})}a.promiseOrCallback=i},{}],7:[function(e,n,a){var i=e("./lib/deferred"),o=e("./lib/once"),s=e("./lib/promise-or-callback");function l(c){return function(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var h,p=d[d.length-1];return typeof p=="function"&&(h=d.pop(),h=o.once(i.deferred(h))),s.promiseOrCallback(c.apply(this,d),h)}}l.wrapPrototype=function(c,d){d===void 0&&(d={});var u=d.ignoreMethods||[],h=d.transformPrivateMethods===!0,p=Object.getOwnPropertyNames(c.prototype).filter(function(f){var m,v=f!=="constructor"&&typeof c.prototype[f]=="function",y=u.indexOf(f)===-1;return h?m=!0:m=f.charAt(0)!=="_",v&&m&&y});return p.forEach(function(f){var m=c.prototype[f];c.prototype[f]=l(m)}),c},n.exports=l},{"./lib/deferred":4,"./lib/once":5,"./lib/promise-or-callback":6}],8:[function(e,n,a){(function(i,o){typeof a=="object"&&typeof n!="undefined"?o(a):(i=typeof globalThis!="undefined"?globalThis:i||self,o(i.loadAxo={}))})(this,function(i){/*! *****************************************************************************
|
|
375
375
|
Copyright (c) Microsoft Corporation.
|
|
376
376
|
|
|
377
377
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -384,7 +384,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
384
384
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
385
385
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
386
386
|
PERFORMANCE OF THIS SOFTWARE.
|
|
387
|
-
***************************************************************************** */function s(P,T,b,R){function S(C){return C instanceof b?C:new b(function(F){F(C)})}return new(b||(b=Promise))(function(C,F){function Q(ae){try{D(R.next(ae))}catch(Pe){F(Pe)}}function ie(ae){try{D(R.throw(ae))}catch(Pe){F(Pe)}}function D(ae){ae.done?C(ae.value):S(ae.value).then(Q,ie)}D((R=R.apply(P,[])).next())})}function o(P,T){var b={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},R,S,C,F;return F={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(F[Symbol.iterator]=function(){return this}),F;function Q(D){return function(ae){return ie([D,ae])}}function ie(D){if(R)throw new TypeError("Generator is already executing.");for(;b;)try{if(R=1,S&&(C=D[0]&2?S.return:D[0]?S.throw||((C=S.return)&&C.call(S),0):S.next)&&!(C=C.call(S,D[1])).done)return C;switch(S=0,C&&(D=[D[0]&2,C.value]),D[0]){case 0:case 1:C=D;break;case 4:return b.label++,{value:D[1],done:!1};case 5:b.label++,S=D[1],D=[0];continue;case 7:D=b.ops.pop(),b.trys.pop();continue;default:if(C=b.trys,!(C=C.length>0&&C[C.length-1])&&(D[0]===6||D[0]===2)){b=0;continue}if(D[0]===3&&(!C||D[1]>C[0]&&D[1]<C[3])){b.label=D[1];break}if(D[0]===6&&b.label<C[1]){b.label=C[1],C=D;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(D);break}C[2]&&b.ops.pop(),b.trys.pop();continue}D=T.call(P,b)}catch(ae){D=[6,ae],S=0}finally{R=C=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}}var l={},d={};function c(P){var T,b=JSON.stringify(P);if(!P.forceScriptReload&&(T=d[b],T))return T;var R=document.createElement("script"),S=P.dataAttributes||{},C=P.container||document.head;return R.src=P.src,R.id=P.id||"",R.async=!0,P.type&&R.setAttribute("type","".concat(P.type)),P.crossorigin&&R.setAttribute("crossorigin","".concat(P.crossorigin)),Object.keys(S).forEach(function(F){R.setAttribute("data-".concat(F),"".concat(S[F]))}),T=new Promise(function(F,Q){R.addEventListener("load",function(){F(R)}),R.addEventListener("error",function(){Q(new Error("".concat(P.src," failed to load.")))}),R.addEventListener("abort",function(){Q(new Error("".concat(P.src," has aborted.")))}),C.appendChild(R)}),d[b]=T,T}c.clearCache=function(){d={}};var u=c,h=function(T){var b=document.querySelector('link[href="'.concat(T.href,'"]'));if(b)return Promise.resolve(b);b=document.createElement("link");var R=T.container||document.head;return b.setAttribute("rel","stylesheet"),b.setAttribute("type","text/css"),b.setAttribute("href",T.href),b.setAttribute("id",T.id),R.firstChild?R.insertBefore(b,R.firstChild):R.appendChild(b),Promise.resolve(b)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=m=l.loadScript=void 0;var p=u,m=l.loadScript=p,y=h;l.loadStylesheet=y;var f="https://www.paypalobjects.com",g={minified:"axo.min",unminified:"axo"},E="fastlane",N="connect-boba",w="".concat(N,"/locales/"),I={AXO_ASSET_NAME:g,AXO_ASSET_PATH:N,LOCALE_PATH:w,CDNX_PROD:f},x={BT:"BT",PPCP:"PPCP"};function _(){return typeof window.define=="function"&&!!window.define.amd}function L(){return _()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function V(P,T,b){var R,S;return b===void 0&&(b=!0),s(this,void 0,void 0,function(){var C,F;return o(this,function(Q){if(C=G(),C&&C[P.module]){if(T&&((R=C[P.module])===null||R===void 0?void 0:R.VERSION)!==T)throw F=(S=C[P.module])===null||S===void 0?void 0:S.VERSION,new Error("".concat(P.module," already loaded with version ").concat(F," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(P.module," without specifying version"));return[2,H(P,T,b)]})})}function H(P,T,b){if(b===void 0&&(b=!0),_()){var R=b?P.amdModule.minified:P.amdModule.unminified;return new Promise(function(C,F){window.require([R],C,F)})}var S=b?P.script.minified:P.script.unminified;return m({id:"".concat(P.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(S)})}function G(){return window==null?void 0:window.braintree}var j,B,U={Client:"client",HostedCardFields:"hostedFields"},J="braintree",z=(j={},j[U.Client]="client",j[U.HostedCardFields]="hosted-fields",j),W=(B={},B[U.Client]={id:"client",module:U.Client,amdModule:{unminified:"".concat(J,"/").concat(z[U.Client]),minified:"".concat(J,"/").concat(z[U.Client],".min")},script:{unminified:"".concat(z[U.Client],".js"),minified:"".concat(z[U.Client],".min.js")}},B[U.HostedCardFields]={id:"hcf",module:U.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(z[U.HostedCardFields]),minified:"".concat(J,"/").concat(z[U.HostedCardFields],".min")},script:{unminified:"".concat(z[U.HostedCardFields],".js"),minified:"".concat(z[U.HostedCardFields],".min.js")}},B);function q(P){return s(this,void 0,void 0,function(){var T,b,R,S;return o(this,function(C){switch(C.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=P.btSdkVersion,b=P.minified,R=O(P),S=M(P),P.platform!==x.BT?[3,2]:[4,Promise.all([V(W.hostedFields,T,b),k(R,b)])];case 1:return C.sent(),[3,5];case 2:return P.platform!==x.PPCP?[3,4]:[4,Promise.all([V(W.client,T,b),V(W.hostedFields,T,b),k(R,b)])];case 3:return C.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:S}}]}})})}function k(P,T){var b;if(T===void 0&&(T=!0),_()){L()&&requirejs.config({paths:(b={},b[E]=P,b)});var R="".concat(E,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(S,C){window.require([R],S,C)})}return m({id:"axo-id",src:P,forceScriptReload:!0})}function v(P){var T=P.assetUrl,b=P.bundleId;return b?"https://cdn-".concat(b,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function O(P){var T,b=(P==null?void 0:P.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,R=_()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(b,".js");return v({assetUrl:R,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function M(P){var T;return v({assetUrl:I.LOCALE_PATH,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}n.constants=I,n.loadAxo=q})},{}],9:[function(a,r,i){var n=a("./constants").BRAINTREE_VERSION,s=a("./request/graphql"),o=a("./request"),l=a("../lib/is-verified-domain"),d=a("../lib/braintree-error"),c=a("../lib/convert-to-braintree-error"),u=a("./get-configuration").getConfiguration,h=a("../lib/create-authorization-data"),p=a("../lib/add-metadata"),m=a("@braintree/wrap-promise"),y=a("../lib/once"),f=a("../lib/deferred"),g=a("../lib/assign").assign,E=a("../lib/analytics"),N=a("./errors"),w=a("../lib/constants").VERSION,I=a("../lib/constants").GRAPHQL_URLS,x=a("../lib/methods"),_=a("../lib/convert-methods-to-error"),L=a("../lib/assets"),V=a("../lib/constants").FRAUDNET_FNCLS,H=a("../lib/constants").FRAUDNET_SOURCE,G=a("../lib/constants").FRAUDNET_URL,j={};function B(z){var W,q;if(z=z||{},W=JSON.stringify(z),q=z.gatewayConfiguration,!q)throw new d(N.CLIENT_MISSING_GATEWAY_CONFIGURATION);if(["assetsUrl","clientApiUrl","configUrl"].forEach(function(k){if(k in q&&!l(q[k]))throw new d({type:N.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:N.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:k+" property is on an invalid domain."})}),this.getConfiguration=function(){return JSON.parse(W)},this._request=o,this._configuration=this.getConfiguration(),this._clientApiBaseUrl=q.clientApiUrl+"/v1/",q.graphQL){if(!l(q.graphQL.url))throw new d({type:N.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:N.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:"graphQL.url property is on an invalid domain."});this._graphQL=new s({graphQL:q.graphQL})}}B.initialize=function(z){var W,q,k=j[z.authorization];if(k)return E.sendEvent(k,"custom.client.load.cached"),k;try{q=h(z.authorization)}catch(v){return Promise.reject(new d(N.CLIENT_INVALID_AUTHORIZATION))}return k=u(q,z.sessionId).then(function(v){return z.debug&&(v.isDebug=!0),v.authorization=z.authorization,W=new B(v),W}),j[z.authorization]=k,E.sendEvent(k,"custom.client.load.initialized"),k.then(function(v){return E.sendEvent(W,"custom.client.load.succeeded"),v}).catch(function(v){return delete j[z.authorization],Promise.reject(v)})},B.clearCache=function(){j={}},B.prototype._findOrCreateFraudnetJSON=function(z){var W=document.querySelector('script[fncls="'+V+'"]'),q,k,v,O;W||(W=document.body.appendChild(document.createElement("script")),W.type="application/json",W.setAttribute("fncls",V)),q=this.getConfiguration(),k={rda_tenant:"bt_card",mid:q.gatewayConfiguration.merchantId},v=q.authorizationFingerprint,v&&v.split("&").forEach(function(M){var P=M.split("=");P[0]==="customer_id"&&P.length>1&&(k.cid=P[1])}),O={f:z.substr(0,32),fp:k,bu:!1,s:H},W.text=JSON.stringify(O)},B.prototype.request=function(z,W){var q=this,k=new Promise(function(v,O){var M,P,T,b,R=!!(z.endpoint==="payment_methods/credit_cards"&&q.getConfiguration().gatewayConfiguration.creditCards.collectDeviceData);if(z.api!=="graphQLApi"&&(z.method?z.endpoint||(M="options.endpoint"):M="options.method"),M)throw new d({type:N.CLIENT_OPTION_REQUIRED.type,code:N.CLIENT_OPTION_REQUIRED.code,message:M+" is required when making a request."});if("api"in z?P=z.api:P="clientApi",b={method:z.method,graphQL:q._graphQL,timeout:z.timeout,metadata:q._configuration.analyticsMetadata},P==="clientApi")T=q._clientApiBaseUrl,b.data=p.addMetadata(q._configuration,z.data);else if(P==="graphQLApi")T=I[q._configuration.gatewayConfiguration.environment],z.endpoint="",b.method="post",b.data=g({clientSdkMetadata:{platform:q._configuration.analyticsMetadata.platform,source:q._configuration.analyticsMetadata.source,integration:q._configuration.analyticsMetadata.integration,sessionId:q._configuration.analyticsMetadata.sessionId,version:w}},z.data),b.headers=J(q._configuration);else throw new d({type:N.CLIENT_OPTION_INVALID.type,code:N.CLIENT_OPTION_INVALID.code,message:"options.api is invalid."});b.url=T+z.endpoint,b.sendAnalyticsEvent=function(S){E.sendEvent(q,S)},q._request(b,function(S,C,F){var Q,ie;if(ie=U(F,S),ie){O(ie);return}if(P==="graphQLApi"&&C.errors){O(c(C.errors,{type:N.CLIENT_GRAPHQL_REQUEST_ERROR.type,code:N.CLIENT_GRAPHQL_REQUEST_ERROR.code,message:N.CLIENT_GRAPHQL_REQUEST_ERROR.message}));return}Q=g({_httpStatus:F},C),R&&Q.creditCards&&Q.creditCards.length>0&&(q._findOrCreateFraudnetJSON(Q.creditCards[0].nonce),L.loadScript({src:G,forceScriptReload:!0})),v(Q)})});if(typeof W=="function"){W=y(f(W)),k.then(function(v){W(null,v,v._httpStatus)}).catch(function(v){var O=v&&v.details&&v.details.httpStatus;W(v,null,O)});return}return k};function U(z,W){var q;if(z===-1?q=new d(N.CLIENT_REQUEST_TIMEOUT):z===401?q=new d(N.CLIENT_AUTHORIZATION_INVALID):z===403?q=new d(N.CLIENT_AUTHORIZATION_INSUFFICIENT):z===429?q=new d(N.CLIENT_RATE_LIMITED):z>=500?q=new d(N.CLIENT_GATEWAY_NETWORK):(z<200||z>=400)&&(q=c(W,{type:N.CLIENT_REQUEST_ERROR.type,code:N.CLIENT_REQUEST_ERROR.code,message:N.CLIENT_REQUEST_ERROR.message})),q)return q.details=q.details||{},q.details.httpStatus=z,q}B.prototype.toJSON=function(){return this.getConfiguration()},B.prototype.getVersion=function(){return w},B.prototype.teardown=m(function(){var z=this;return delete j[z.getConfiguration().authorization],_(z,x(B.prototype)),Promise.resolve()});function J(z){var W=z.authorizationFingerprint||z.authorization;return{Authorization:"Bearer "+W,"Braintree-Version":n}}r.exports=B},{"../lib/add-metadata":29,"../lib/analytics":30,"../lib/assets":31,"../lib/assign":32,"../lib/braintree-error":33,"../lib/constants":34,"../lib/convert-methods-to-error":35,"../lib/convert-to-braintree-error":36,"../lib/create-authorization-data":37,"../lib/deferred":38,"../lib/is-verified-domain":43,"../lib/methods":45,"../lib/once":46,"./constants":10,"./errors":11,"./get-configuration":12,"./request":25,"./request/graphql":23,"@braintree/wrap-promise":7}],10:[function(a,r,i){r.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],11:[function(a,r,i){var n=a("../lib/braintree-error");r.exports={CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN:{type:n.types.MERCHANT,code:"CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN"},CLIENT_OPTION_REQUIRED:{type:n.types.MERCHANT,code:"CLIENT_OPTION_REQUIRED"},CLIENT_OPTION_INVALID:{type:n.types.MERCHANT,code:"CLIENT_OPTION_INVALID"},CLIENT_MISSING_GATEWAY_CONFIGURATION:{type:n.types.INTERNAL,code:"CLIENT_MISSING_GATEWAY_CONFIGURATION",message:"Missing gatewayConfiguration."},CLIENT_INVALID_AUTHORIZATION:{type:n.types.MERCHANT,code:"CLIENT_INVALID_AUTHORIZATION",message:"Authorization is invalid. Make sure your client token or tokenization key is valid."},CLIENT_GATEWAY_NETWORK:{type:n.types.NETWORK,code:"CLIENT_GATEWAY_NETWORK",message:"Cannot contact the gateway at this time."},CLIENT_REQUEST_TIMEOUT:{type:n.types.NETWORK,code:"CLIENT_REQUEST_TIMEOUT",message:"Request timed out waiting for a reply."},CLIENT_REQUEST_ERROR:{type:n.types.NETWORK,code:"CLIENT_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_GRAPHQL_REQUEST_ERROR:{type:n.types.NETWORK,code:"CLIENT_GRAPHQL_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_RATE_LIMITED:{type:n.types.MERCHANT,code:"CLIENT_RATE_LIMITED",message:"You are being rate-limited; please try again in a few minutes."},CLIENT_AUTHORIZATION_INSUFFICIENT:{type:n.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INSUFFICIENT",message:"The authorization used has insufficient privileges."},CLIENT_AUTHORIZATION_INVALID:{type:n.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INVALID",message:"Either the client token has expired and a new one should be generated or the tokenization key has been deactivated or deleted."}}},{"../lib/braintree-error":33}],12:[function(a,r,i){var n=a("../lib/braintree-error"),s=a("@braintree/wrap-promise"),o=a("./request"),l=a("@braintree/uuid"),d=a("../lib/constants"),c=a("./errors"),u=a("./request/graphql"),h=a("../lib/constants").GRAPHQL_URLS,p=a("../lib/is-date-string-before-or-on"),m=a("./constants").BRAINTREE_VERSION;function y(f,g){return new Promise(function(E,N){var w,I,x,_,L=g||l(),V={merchantAppId:window.location.host,platform:d.PLATFORM,sdkVersion:d.VERSION,source:d.SOURCE,integration:d.INTEGRATION,integrationType:d.INTEGRATION,sessionId:L};I=f.attrs,x=f.configUrl,I._meta=V,I.braintreeLibraryVersion=d.BRAINTREE_LIBRARY_VERSION,I.configVersion="3",_={url:x,method:"GET",data:I},I.authorizationFingerprint&&f.graphQL?(p(f.graphQL.date,m)&&(_.graphQL=new u({graphQL:{url:f.graphQL.url,features:["configuration"]}})),_.metadata=V):I.tokenizationKey&&(_.graphQL=new u({graphQL:{url:h[f.environment],features:["configuration"]}}),_.metadata=V),o(_,function(H,G,j){var B;if(H){j===403?B=c.CLIENT_AUTHORIZATION_INSUFFICIENT:j===401?B=c.CLIENT_AUTHORIZATION_INVALID:B=c.CLIENT_GATEWAY_NETWORK,N(new n({type:B.type,code:B.code,message:B.message,details:{originalError:H}}));return}w={authorizationType:I.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:I.authorizationFingerprint,analyticsMetadata:V,gatewayConfiguration:G},E(w)})})}r.exports={getConfiguration:s(y)}},{"../lib/braintree-error":33,"../lib/constants":34,"../lib/is-date-string-before-or-on":41,"./constants":10,"./errors":11,"./request":25,"./request/graphql":23,"@braintree/uuid":3,"@braintree/wrap-promise":7}],13:[function(a,r,i){var n=a("../lib/braintree-error"),s=a("./client"),o="3.126.0",l=a("@braintree/wrap-promise"),d=a("../lib/errors");function c(u){return u.authorization?s.initialize(u):Promise.reject(new n({type:d.INSTANTIATION_OPTION_REQUIRED.type,code:d.INSTANTIATION_OPTION_REQUIRED.code,message:"options.authorization is required when instantiating a client."}))}r.exports={create:l(c),VERSION:o}},{"../lib/braintree-error":33,"../lib/errors":40,"./client":9,"@braintree/wrap-promise":7}],14:[function(a,r,i){var n=a("../../lib/querystring"),s=a("../../lib/assign").assign,o=a("./prep-body"),l=a("./parse-body"),d=a("./xhr"),c=d.isAvailable,u=a("./graphql/request"),h=a("./default-request"),p=1,m=408;function y(N){return!N||N===m}function f(N){var w=!N.data&&N.errors&&N.errors[0]&&N.errors[0].extensions&&N.errors[0].extensions.errorClass;return w==="UNKNOWN"||w==="INTERNAL"}function g(N,w,I){var x,_,L,V,H,G,j,B=N.url,U=N.graphQL,J=N.timeout,z=d.getRequestObject(),W=I,q=!!(U&&U.isGraphQLRequest(B,N.data));N.headers=s({"Content-Type":"application/json"},N.headers),q?L=new u(N):L=new h(N),B=L.getUrl(),V=L.getBody(),H=L.getMethod(),G=L.getHeaders(),H==="GET"&&(B=n.queryify(B,V),V=null),c?z.onreadystatechange=function(){if(z.readyState===4){if(z.status===0&&q){delete N.graphQL,g(N,w,I);return}if(j=l(z.responseText),_=L.adaptResponseBody(j),x=L.determineStatus(z.status,j),x>=400||x<200){if(q&&f(j)){delete N.graphQL,g(N,w,I);return}if(w<p&&y(x)){w++,g(N,w,I);return}W(_||"error",null,x||500)}else W(null,_,x)}}:(N.headers&&(B=n.queryify(B,G)),z.onload=function(){W(null,l(z.responseText),z.status)},z.onerror=function(){W("error",null,500)},z.onprogress=function(){},z.ontimeout=function(){W("timeout",null,-1)});try{z.open(H,B,!0)}catch(k){if(!q)throw k;delete N.graphQL,g(N,w,I);return}z.timeout=J,c&&Object.keys(G).forEach(function(k){z.setRequestHeader(k,G[k])});try{z.send(o(H,V))}catch(k){}}function E(N,w){g(N,0,w)}r.exports={request:E}},{"../../lib/assign":32,"../../lib/querystring":47,"./default-request":15,"./graphql/request":24,"./parse-body":26,"./prep-body":27,"./xhr":28}],15:[function(a,r,i){function n(s){this._url=s.url,this._data=s.data,this._method=s.method,this._headers=s.headers}n.prototype.getUrl=function(){return this._url},n.prototype.getBody=function(){return this._data},n.prototype.getMethod=function(){return this._method},n.prototype.getHeaders=function(){return this._headers},n.prototype.adaptResponseBody=function(s){return s},n.prototype.determineStatus=function(s){return s},r.exports=n},{}],16:[function(a,r,i){var n=a("./error"),s=a("../../../../lib/assign").assign,o={creditCard:{AMERICAN_EXPRESS:"American Express",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",SOLO:"Solo",UK_MAESTRO:"UK Maestro",UNION_PAY:"UnionPay",VISA:"Visa",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard"},applePayWeb:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},visaCheckout:{VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},googlePay:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},masterpass:{VISA:"visa",MASTERCARD:"master",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",DINERS:"diners",INTERNATIONAL_MAESTRO:"maestro",JCB:"jcb"}};function l(u,h){var p;return u.data&&!u.errors?p=d(u,h):p=n(u),p}function d(u,h){var p=u.data.clientConfiguration,m;return m={environment:p.environment.toLowerCase(),clientApiUrl:p.clientApiUrl,assetsUrl:p.assetsUrl,analytics:{url:p.analyticsUrl},merchantId:p.merchantId,venmo:"off"},p.supportedFeatures&&(m.graphQL={url:h._graphQL._config.url,features:p.supportedFeatures.map(function(y){return y.toLowerCase()})}),p.braintreeApi&&(m.braintreeApi=p.braintreeApi),p.applePayWeb&&(m.applePayWeb=p.applePayWeb,m.applePayWeb.supportedNetworks=c(p.applePayWeb.supportedCardBrands,o.applePayWeb),delete m.applePayWeb.supportedCardBrands),p.fastlane&&(m.fastlane=p.fastlane),p.ideal&&(m.ideal=p.ideal),p.creditCard?(m.challenges=p.creditCard.challenges.map(function(y){return y.toLowerCase()}),m.creditCards={supportedCardTypes:c(p.creditCard.supportedCardBrands,o.creditCard)},m.threeDSecureEnabled=p.creditCard.threeDSecureEnabled,m.threeDSecure=p.creditCard.threeDSecure):(m.challenges=[],m.creditCards={supportedCardTypes:[]},m.threeDSecureEnabled=!1),p.googlePay&&(m.androidPay={displayName:p.googlePay.displayName,enabled:!0,environment:p.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:p.googlePay.googleAuthorization,paypalClientId:p.googlePay.paypalClientId,supportedNetworks:c(p.googlePay.supportedCardBrands,o.googlePay)}),p.venmo&&(m.payWithVenmo={merchantId:p.venmo.merchantId,accessToken:p.venmo.accessToken,environment:p.venmo.environment.toLowerCase(),enrichedCustomerDataEnabled:p.venmo.enrichedCustomerDataEnabled}),p.paypal?(m.paypalEnabled=!0,m.paypal=s({},p.paypal),m.paypal.currencyIsoCode=m.paypal.currencyCode,m.paypal.environment=m.paypal.environment.toLowerCase(),delete m.paypal.currencyCode):m.paypalEnabled=!1,p.unionPay&&(m.unionPay={enabled:!0,merchantAccountId:p.unionPay.merchantAccountId}),p.visaCheckout&&(m.visaCheckout={apikey:p.visaCheckout.apiKey,encryptionKey:p.visaCheckout.encryptionKey,externalClientId:p.visaCheckout.externalClientId,supportedCardTypes:c(p.visaCheckout.supportedCardBrands,o.visaCheckout)}),p.masterpass&&(m.masterpass={merchantCheckoutId:p.masterpass.merchantCheckoutId,supportedNetworks:c(p.masterpass.supportedCardBrands,o.masterpass)}),p.usBankAccount&&(m.usBankAccount={routeId:p.usBankAccount.routeId,plaid:{publicKey:p.usBankAccount.plaidPublicKey}}),m}function c(u,h){return u.reduce(function(p,m){return h.hasOwnProperty(m)?p.concat(h[m]):p},[])}r.exports=l},{"../../../../lib/assign":32,"./error":19}],17:[function(a,r,i){var n=a("./error"),s={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},l={PSDTWO:"psd2"};function d(u){var h;return u.data&&!u.errors?h=c(u):h=n(u),h}function c(u){var h=u.data.tokenizeCreditCardForPayPalConnect,p=h.paymentMethod.details,m=p.last4?p.last4.substr(2,4):"",y=p.binData,f,g;return y&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach(function(E){y[E]?y[E]=o[y[E]]:y[E]="Unknown"}),["issuingBank","countryOfIssuance","productId","business","consumer","purchase","corporate"].forEach(function(E){y[E]||(y[E]="Unknown")})),f={creditCards:[{binData:y,consumed:!1,description:m?"ending in "+m:"",nonce:h.paymentMethod.id,details:{cardholderName:p.cardholderName,expirationMonth:p.expirationMonth,expirationYear:p.expirationYear,bin:p.bin||"",cardType:s[p.brandCode]||"Unknown",lastFour:p.last4||"",lastTwo:m},type:"CreditCard",threeDSecureInfo:null}]},h.authenticationInsight&&(g=h.authenticationInsight.customerAuthenticationRegulationEnvironment,f.creditCards[0].authenticationInsight={regulationEnvironment:l[g]||g.toLowerCase()}),f}r.exports=d},{"./error":19}],18:[function(a,r,i){var n=a("./error"),s={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},o={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},l={PSDTWO:"psd2"};function d(u){var h;return u.data&&!u.errors?h=c(u):h=n(u),h}function c(u){var h=u.data.tokenizeCreditCard,p=h.creditCard,m=p.last4?p.last4.substr(2,4):"",y=p.binData,f,g;return y&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach(function(E){y[E]?y[E]=o[y[E]]:y[E]="Unknown"}),["issuingBank","countryOfIssuance","productId","business","consumer","purchase","corporate"].forEach(function(E){y[E]||(y[E]="Unknown")})),f={creditCards:[{binData:y,consumed:!1,description:m?"ending in "+m:"",nonce:h.token,details:{cardholderName:p.cardholderName,expirationMonth:p.expirationMonth,expirationYear:p.expirationYear,bin:p.bin||"",cardType:s[p.brandCode]||"Unknown",lastFour:p.last4||"",lastTwo:m},type:"CreditCard",threeDSecureInfo:null}]},h.authenticationInsight&&(g=h.authenticationInsight.customerAuthenticationRegulationEnvironment,f.creditCards[0].authenticationInsight={regulationEnvironment:l[g]||g.toLowerCase()}),f}r.exports=d},{"./error":19}],19:[function(a,r,i){function n(u){var h,p=u.errors&&u.errors[0]&&u.errors[0].extensions&&u.errors[0].extensions.errorClass;return p==="VALIDATION"?h=o(u):p?h=s(u):h={error:{message:"There was a problem serving your request"},fieldErrors:[]},h}function s(u){return{error:{message:u.errors[0].message},fieldErrors:[]}}function o(u){var h=l(u.errors);return h.length===0?{error:{message:u.errors[0].message}}:{error:{message:c(h)},fieldErrors:h}}function l(u){var h=[];return u.forEach(function(p){p.extensions&&p.extensions.inputPath&&d(p.extensions.inputPath.slice(1),p,h)}),h}function d(u,h,p){var m,y=h.extensions.legacyCode,f=u[0];if(u.length===1){p.push({code:y,field:f,message:h.message});return}p.forEach(function(g){g.field===f&&(m=g)}),m||(m={field:f,fieldErrors:[]},p.push(m)),d(u.slice(1),h,m.fieldErrors)}function c(u){var h={creditCard:"Credit card is invalid"},p=u[0].field;return h[p]}r.exports=n},{}],20:[function(a,r,i){var n="query ClientConfiguration { clientConfiguration { analyticsUrl environment merchantId assetsUrl clientApiUrl creditCard { supportedCardBrands challenges threeDSecureEnabled threeDSecure { cardinalAuthenticationJWT cardinalSongbirdUrl cardinalSongbirdIdentityHash } } applePayWeb { countryCode currencyCode merchantIdentifier supportedCardBrands } fastlane { enabled tokensOnDemand { enabled tokenExchange { enabled } } } googlePay { displayName supportedCardBrands environment googleAuthorization paypalClientId } ideal { routeId assetsUrl } masterpass { merchantCheckoutId supportedCardBrands } paypal { displayName clientId assetsUrl environment environmentNoNetwork unvettedMerchant braintreeClientId billingAgreementsEnabled merchantAccountId currencyCode payeeEmail } unionPay { merchantAccountId } usBankAccount { routeId plaidPublicKey } venmo { merchantId accessToken environment enrichedCustomerDataEnabled } visaCheckout { apiKey externalClientId supportedCardBrands } braintreeApi { accessToken url } supportedFeatures } }";function s(){return{query:n,operationName:"ClientConfiguration"}}r.exports=s},{}],21:[function(a,r,i){var n=a("../../../../lib/assign").assign;function s(u){var h=u.hasAuthenticationInsight,p="mutation TokenizeCreditCardForPayPalConnect($input: TokenizeCreditCardForPayPalConnectInput!";return h&&(p+=", $authenticationInsightInput: AuthenticationInsightInput!"),p+=") { tokenizeCreditCardForPayPalConnect(input: $input) { clientMutationId paymentMethod { id details { ... on CreditCardDetails { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId business consumer purchase corporate } } } }",h&&(p+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),p+=" } }",p}function o(u,h){var p=u.creditCard,m=p.fastlane||{},y="fastlane"in p&&"termsAndConditionsVersion"in p.fastlane&&p.fastlane.termsAndConditionsVersion,f="fastlane"in p&&"termsAndConditionsCountry"in p.fastlane&&p.fastlane.termsAndConditionsCountry,g=p.email,E="hasBuyerConsent"in m&&m.hasBuyerConsent,N=p.shippingAddress,w=l(u,h),I=n({},w.input,{email:g,optIn:E,phone:p.phone});return y&&(I.termsAndConditionsVersion=y),f&&(I.termsAndConditionsCountry=f),"authAssertion"in m&&(I.authAssertion=m.authAssertion),N&&(I.shippingAddress=N),{input:I}}function l(u,h){var p=u.creditCard,m=p&&p.billingAddress,y=p&&p.expirationDate,f=p&&(p.expirationMonth||y&&y.split("/")[0].trim()),g=p&&(p.expirationYear||y&&y.split("/")[1].trim()),E={input:{creditCard:{number:p&&p.number,expirationMonth:f,expirationYear:g,cvv:p&&p.cvv,cardholderName:p&&p.cardholderName},options:{}}};return h.hasAuthenticationInsight&&(E.authenticationInsightInput={merchantAccountId:u.merchantAccountId}),m&&(E.input.creditCard.billingAddress=m),E.input=d(u,E.input),E}function d(u,h){var p;return u.creditCard&&u.creditCard.options&&typeof u.creditCard.options.validate=="boolean"?p=u.creditCard.options.validate:u.authorizationFingerprint&&u.tokenizationKey||u.authorizationFingerprint?p=!0:u.tokenizationKey&&(p=!1),typeof p=="boolean"&&(h.options=n({validate:p},h.options)),h}function c(u){var h={hasAuthenticationInsight:!!(u.authenticationInsight&&u.merchantAccountId)};return{query:s(h),variables:o(u,h),operationName:"TokenizeCreditCardForPayPalConnect"}}r.exports=c},{"../../../../lib/assign":32}],22:[function(a,r,i){var n=a("../../../../lib/assign").assign;function s(c){var u=c.hasAuthenticationInsight,h="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!";return u&&(h+=", $authenticationInsightInput: AuthenticationInsightInput!"),h+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId business consumer purchase corporate } } ",u&&(h+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),h+=" } }",h}function o(c,u){var h=c.creditCard,p=h&&h.billingAddress,m=h&&h.expirationDate,y=h&&(h.expirationMonth||m&&m.split("/")[0].trim()),f=h&&(h.expirationYear||m&&m.split("/")[1].trim()),g={input:{creditCard:{number:h&&h.number,expirationMonth:y,expirationYear:f,cvv:h&&h.cvv,cardholderName:h&&h.cardholderName},options:{}}};return u.hasAuthenticationInsight&&(g.authenticationInsightInput={merchantAccountId:c.merchantAccountId}),p&&(g.input.creditCard.billingAddress=p),g.input=l(c,g.input),g}function l(c,u){var h;return c.creditCard&&c.creditCard.options&&typeof c.creditCard.options.validate=="boolean"?h=c.creditCard.options.validate:c.authorizationFingerprint&&c.tokenizationKey||c.authorizationFingerprint?h=!0:c.tokenizationKey&&(h=!1),typeof h=="boolean"&&(u.options=n({validate:h},u.options)),u}function d(c){var u={hasAuthenticationInsight:!!(c.authenticationInsight&&c.merchantAccountId)};return{query:s(u),variables:o(c,u),operationName:"TokenizeCreditCard"}}r.exports=d},{"../../../../lib/assign":32}],23:[function(a,r,i){var n={tokenize_credit_cards:"payment_methods/credit_cards",configuration:"configuration"},s=["creditCard.options.unionPayEnrollment"];function o(d){this._config=d.graphQL}o.prototype.getGraphQLEndpoint=function(){return this._config.url},o.prototype.isGraphQLRequest=function(d,c){var u,h=this.getClientApiPath(d);return!this._isGraphQLEnabled()||!h||(u=this._config.features.some(function(p){return n[p]===h}),l(c))?!1:u},o.prototype.getClientApiPath=function(d){var c,u="/client_api/v1/",h=d.split(u);return h.length>1&&(c=h[1].split("?")[0]),c},o.prototype._isGraphQLEnabled=function(){return!!this._config};function l(d){return s.some(function(c){var u=c.split(".").reduce(function(h,p){return h&&h[p]},d);return u!==void 0})}r.exports=o},{}],24:[function(a,r,i){var n=a("../../constants").BRAINTREE_VERSION,s=a("../../../lib/assign").assign,o=a("../../../lib/snake-case-to-camel-case"),l=a("../../../lib/is-fastlane-checkout"),d=a("./generators/credit-card-tokenization"),c=a("./adapters/credit-card-tokenization"),u=a("./adapters/credit-card-tokenization-fastlane"),h=a("./generators/credit-card-for-fastlane-tokenization"),p=a("./generators/configuration"),m=a("./adapters/configuration"),y={"payment_methods/credit_cards":function(w,I){return I?h(w):d(w)},configuration:p},f={"payment_methods/credit_cards":function(w,I,x){return x?u(w,I):c(w,I)},configuration:m};function g(w){var I=w.graphQL.getClientApiPath(w.url);this._graphQL=w.graphQL,this._data=w.data,this._method=w.method,this._headers=w.headers,this._clientSdkMetadata={source:w.metadata.source,integration:w.metadata.integration,sessionId:w.metadata.sessionId},this._sendAnalyticsEvent=w.sendAnalyticsEvent||Function.prototype,this._generator=y[I],this._adapter=f[I],this._sendAnalyticsEvent("graphql.init")}g.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},g.prototype.getBody=function(){var w=N(this._data),I=this._generator(w,l(this._data.creditCard)),x=s({clientSdkMetadata:this._clientSdkMetadata},I);return JSON.stringify(x)},g.prototype.getMethod=function(){return"POST"},g.prototype.getHeaders=function(){var w,I;return this._data.authorizationFingerprint?(this._sendAnalyticsEvent("graphql.authorization-fingerprint"),w=this._data.authorizationFingerprint):(this._sendAnalyticsEvent("graphql.tokenization-key"),w=this._data.tokenizationKey),I={Authorization:"Bearer "+w,"Braintree-Version":n},s({},this._headers,I)},g.prototype.adaptResponseBody=function(w){return this._adapter(w,this,"creditCard"in this._data&&l(this._data.creditCard))},g.prototype.determineStatus=function(w,I){var x,_;return w===200?(_=I.errors&&I.errors[0]&&I.errors[0].extensions&&I.errors[0].extensions.errorClass,I.data&&!I.errors?x=200:_==="VALIDATION"?x=422:_==="AUTHORIZATION"?x=403:_==="AUTHENTICATION"?x=401:E(_,I)?x=403:x=500):w?x=w:x=500,this._sendAnalyticsEvent("graphql.status."+w),this._sendAnalyticsEvent("graphql.determinedStatus."+x),x};function E(w,I){return!w&&I.errors[0].message}function N(w){var I={};return Object.keys(w).forEach(function(x){var _=o(x);typeof w[x]=="object"?I[_]=N(w[x]):typeof w[x]=="number"?I[_]=String(w[x]):I[_]=w[x]}),I}r.exports=g},{"../../../lib/assign":32,"../../../lib/is-fastlane-checkout":42,"../../../lib/snake-case-to-camel-case":48,"../../constants":10,"./adapters/configuration":16,"./adapters/credit-card-tokenization":18,"./adapters/credit-card-tokenization-fastlane":17,"./generators/configuration":20,"./generators/credit-card-for-fastlane-tokenization":21,"./generators/credit-card-tokenization":22}],25:[function(a,r,i){var n=a("../../lib/once"),s=a("./ajax-driver");r.exports=function(o,l){l=n(l||Function.prototype),o.method=(o.method||"GET").toUpperCase(),o.timeout=o.timeout==null?6e4:o.timeout,o.data=o.data||{},s.request(o,l)}},{"../../lib/once":46,"./ajax-driver":14}],26:[function(a,r,i){r.exports=function(n){try{n=JSON.parse(n)}catch(s){}return n}},{}],27:[function(a,r,i){r.exports=function(n,s){if(typeof n!="string")throw new Error("Method must be a string");return n.toLowerCase()!=="get"&&s!=null&&(s=typeof s=="string"?s:JSON.stringify(s)),s}},{}],28:[function(a,r,i){var n=typeof window!="undefined"&&window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest;function s(){return n?new window.XMLHttpRequest:new window.XDomainRequest}r.exports={isAvailable:n,getRequestObject:s}},{}],29:[function(a,r,i){var n=a("./create-authorization-data"),s=a("./json-clone"),o=a("./constants");function l(c,u){var h,p=u?s(u):{},m=n(c.authorization).attrs,y=s(c.analyticsMetadata);p.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION;for(h in p._meta)p._meta.hasOwnProperty(h)&&(y[h]=p._meta[h]);return p._meta=y,m.tokenizationKey?p.tokenizationKey=m.tokenizationKey:p.authorizationFingerprint=m.authorizationFingerprint,p}function d(c){var u=c.getConfiguration(),h=n(u.authorization).attrs,p=u.gatewayConfiguration.environment==="production",m={api_integration_type:u.analyticsMetadata.integrationType,app_id:window.location.host,c_sdk_ver:o.VERSION,component:"braintreeclientsdk",merchant_sdk_env:p?"production":"sandbox",merchant_id:u.gatewayConfiguration.merchantId,event_source:"web",platform:o.PLATFORM,platform_version:window.navigator.userAgent,session_id:u.analyticsMetadata.sessionId,client_session_id:u.analyticsMetadata.sessionId,tenant_name:"braintree",product_name:"BT_DCC",space_key:"SKDUYK"};return h.tokenizationKey?m.tokenization_key=h.tokenizationKey:m.auth_fingerprint=h.authorizationFingerprint,m}r.exports={addMetadata:l,addEventMetadata:d}},{"./constants":34,"./create-authorization-data":37,"./json-clone":44}],30:[function(a,r,i){var n=a("./constants"),s=a("./add-metadata"),o=a("./assign").assign;function l(u,h,p){return d(u,h,{},p)}function d(u,h,p,m){var y=Date.now();return p.flow==="vault"?p.context_type="BA_Token":p.flow==="checkout"&&(p.context_type="EC_Token"),Promise.resolve(u).then(function(f){var g=f._request,E=n.ANALYTICS_URL,N=n.ANALYTICS_PREFIX+h,w=f.getConfiguration(),I=w.gatewayConfiguration.environment==="production",x={events:[],tracking:[]},_=s.addEventMetadata(f,x);return _.event_name=N,_.t=y,x.events=[{level:"info",event:N,payload:o({env:I?"production":"sandbox",timestamp:y},p)}],x.tracking=[_],p&&typeof p=="object"&&(x.tracking=[c(_,p)]),g({url:E,method:"post",data:x,timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},m)}).catch(function(f){m&&m(f)})}function c(u,h){var p={},m=o({},h);return Object.keys(m).forEach(function(y){n.ALLOWED_EXTRA_EVENT_FIELDS.indexOf(y)===-1&&delete m[y]}),p=o(u,m),p}r.exports={sendEvent:l,sendEventPlus:d}},{"./add-metadata":29,"./assign":32,"./constants":34}],31:[function(a,r,i){var n=a("@braintree/asset-loader/load-script"),s=a("@paypal/accelerated-checkout-loader");r.exports={loadScript:n,loadFastlane:s.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":8}],32:[function(a,r,i){var n=typeof Object.assign=="function"?Object.assign:s;function s(o){var l,d,c;for(l=1;l<arguments.length;l++){d=arguments[l];for(c in d)d.hasOwnProperty(c)&&(o[c]=d[c])}return o}r.exports={assign:n,_assign:s}},{}],33:[function(a,r,i){var n=a("./enumerate");function s(o){if(!s.types.hasOwnProperty(o.type))throw new Error(o.type+" is not a valid type.");if(!o.code)throw new Error("Error code required.");if(!o.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=o.code,this.message=o.message,this.type=o.type,this.details=o.details}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.types=n(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),s.findRootError=function(o){return o instanceof s&&o.details&&o.details.originalError?s.findRootError(o.details.originalError):o},r.exports=s},{"./enumerate":39}],34:[function(a,r,i){var n="3.126.0",s="web",o={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},d={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};r.exports={ANALYTICS_PREFIX:s+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:o,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:d,INTEGRATION_TIMEOUT_MS:6e4,VERSION:n,INTEGRATION:"custom",SOURCE:"client",PLATFORM:s,BRAINTREE_LIBRARY_VERSION:"braintree/"+s+"/"+n,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],35:[function(a,r,i){var n=a("./braintree-error"),s=a("./errors");r.exports=function(o,l){l.forEach(function(d){o[d]=function(){throw new n({type:s.METHOD_CALLED_AFTER_TEARDOWN.type,code:s.METHOD_CALLED_AFTER_TEARDOWN.code,message:d+" cannot be called after teardown."})}})}},{"./braintree-error":33,"./errors":40}],36:[function(a,r,i){var n=a("./braintree-error");function s(o,l){return o instanceof n?o:new n({type:l.type,code:l.code,message:l.message,details:{originalError:o}})}r.exports=s},{"./braintree-error":33}],37:[function(a,r,i){var n=a("../lib/vendor/polyfill").atob,s=a("../lib/constants").CLIENT_API_URLS;function o(c){return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(c)}function l(c){var u=c.split("_"),h=u[0],p=u.slice(2).join("_");return{merchantId:p,environment:h}}function d(c){var u,h,p={attrs:{},configUrl:""};return o(c)?(h=l(c),p.environment=h.environment,p.attrs.tokenizationKey=c,p.configUrl=s[h.environment]+"/merchants/"+h.merchantId+"/client_api/v1/configuration"):(u=JSON.parse(n(c)),p.environment=u.environment,p.attrs.authorizationFingerprint=u.authorizationFingerprint,p.configUrl=u.configUrl,p.graphQL=u.graphQL),p}r.exports=d},{"../lib/constants":34,"../lib/vendor/polyfill":49}],38:[function(a,r,i){r.exports=function(n){return function(){var s=arguments;setTimeout(function(){n.apply(null,s)},1)}}},{}],39:[function(a,r,i){function n(s,o){return o=o==null?"":o,s.reduce(function(l,d){return l[d]=o+d,l},{})}r.exports=n},{}],40:[function(a,r,i){var n=a("./braintree-error");r.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:n.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:n.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:n.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:n.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:n.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":33}],41:[function(a,r,i){function n(o){var l=o.split("-");return new Date(l[0],l[1],l[2])}function s(o,l){return n(o)<=n(l)}r.exports=s},{}],42:[function(a,r,i){r.exports=function(n){return n&&n.hasOwnProperty("fastlane")&&n.fastlane}},{}],43:[function(a,r,i){var n,s={"paypal.com":1,"braintreepayments.com":1,"braintreegateway.com":1,"braintree-api.com":1};function o(d){return d.split(".").slice(-2).join(".")}function l(d){var c;return d=d.toLowerCase(),/^https:/.test(d)?(n=n||document.createElement("a"),n.href=d,c=o(n.hostname),s.hasOwnProperty(c)):!1}r.exports=l},{}],44:[function(a,r,i){r.exports=function(n){return JSON.parse(JSON.stringify(n))}},{}],45:[function(a,r,i){r.exports=function(n){return Object.keys(n).filter(function(s){return typeof n[s]=="function"})}},{}],46:[function(a,r,i){function n(s){var o=!1;return function(){o||(o=!0,s.apply(null,arguments))}}r.exports=n},{}],47:[function(a,r,i){function n(u){var h;for(h in u)if(u.hasOwnProperty(h))return!0;return!1}function s(u){return u&&typeof u=="object"&&typeof u.length=="number"&&Object.prototype.toString.call(u)==="[object Array]"||!1}function o(u){return u=u||window.location.href,/\?/.test(u)}function l(u){var h,p;return u=u||window.location.href,o(u)?(h=u.split("?")[1]||"",h=h.replace(/#.*$/,"").split("&"),p=h.reduce(function(m,y){var f=y.split("="),g=decodeURIComponent(f[0]),E=decodeURIComponent(f[1]);return m[g]=E,m},{}),p):{}}function d(u,h){var p,m,y,f=[];for(y in u)u.hasOwnProperty(y)&&(m=u[y],h?s(u)?p=h+"[]":p=h+"["+y+"]":p=y,typeof m=="object"?f.push(d(m,p)):f.push(encodeURIComponent(p)+"="+encodeURIComponent(m)));return f.join("&")}function c(u,h){return u=u||"",h!=null&&typeof h=="object"&&n(h)&&(u+=u.indexOf("?")===-1?"?":"",u+=u.indexOf("=")!==-1?"&":"",u+=d(h)),u}r.exports={parse:l,stringify:d,queryify:c,hasQueryParams:o}},{}],48:[function(a,r,i){r.exports=function(n){return n.indexOf("_")===-1?n:n.toLowerCase().replace(/(\_\w)/g,function(s){return s[1].toUpperCase()})}},{}],49:[function(a,r,i){var n=typeof atob=="function"?atob:s;function s(o){var l,d,c,u,h,p,m,y,f=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$/,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",E="";if(!f.test(o))throw new Error("Non base64 encoded input passed to window.atob polyfill");y=0;do u=g.indexOf(o.charAt(y++)),h=g.indexOf(o.charAt(y++)),p=g.indexOf(o.charAt(y++)),m=g.indexOf(o.charAt(y++)),l=(u&63)<<2|h>>4&3,d=(h&15)<<4|p>>2&15,c=(p&3)<<6|m&63,E+=String.fromCharCode(l)+(d?String.fromCharCode(d):"")+(c?String.fromCharCode(c):"");while(y<o.length);return E}r.exports={atob:function(o){return n.call(window,o)},_atob:s}},{}]},{},[13])(13)})}(Rt)),Rt.exports}var Hd=qd();const Yd=At(Hd);var xt={exports:{}},Vn;function Gd(){return Vn||(Vn=1,function(t,e){(function(a){t.exports=a()})(function(){return function(){function a(r,i,n){function s(d,c){if(!i[d]){if(!r[d]){var u=typeof Ce=="function"&&Ce;if(!c&&u)return u(d,!0);if(o)return o(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var p=i[d]={exports:{}};r[d][0].call(p.exports,function(m){var y=r[d][1][m];return s(y||m)},p,p.exports,a,r,i,n)}return i[d].exports}for(var o=typeof Ce=="function"&&Ce,l=0;l<n.length;l++)s(n[l]);return s}return a}()({1:[function(a,r,i){var n={};function s(o){var l,d=JSON.stringify(o);if(!o.forceScriptReload&&(l=n[d],l))return l;var c=document.createElement("script"),u=o.dataAttributes||{},h=o.container||document.head;return c.src=o.src,c.id=o.id||"",c.async=!0,o.type&&c.setAttribute("type","".concat(o.type)),o.crossorigin&&c.setAttribute("crossorigin","".concat(o.crossorigin)),o.integrity&&c.setAttribute("integrity","".concat(o.integrity)),Object.keys(u).forEach(function(p){c.setAttribute("data-".concat(p),"".concat(u[p]))}),l=new Promise(function(p,m){c.addEventListener("load",function(){p(c)}),c.addEventListener("error",function(){m(new Error("".concat(o.src," failed to load.")))}),c.addEventListener("abort",function(){m(new Error("".concat(o.src," has aborted.")))}),h.appendChild(c)}),n[d]=l,l}s.clearCache=function(){n={}},r.exports=s},{}],2:[function(a,r,i){r.exports=a("./dist/load-script")},{"./dist/load-script":1}],3:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s){return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];setTimeout(function(){try{s.apply(void 0,o)}catch(d){console.log("Error in callback function"),console.log(d)}},1)}}i.deferred=n},{}],4:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s){var o=!1;return function(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];o||(o=!0,s.apply(void 0,l))}}i.once=n},{}],5:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s,o){if(!o)return s;s.then(function(l){return o(null,l)}).catch(function(l){return o(l)})}i.promiseOrCallback=n},{}],6:[function(a,r,i){var n=a("./lib/deferred"),s=a("./lib/once"),o=a("./lib/promise-or-callback");function l(d){return function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var h,p=c[c.length-1];return typeof p=="function"&&(h=c.pop(),h=s.once(n.deferred(h))),o.promiseOrCallback(d.apply(this,c),h)}}l.wrapPrototype=function(d,c){c===void 0&&(c={});var u=c.ignoreMethods||[],h=c.transformPrivateMethods===!0,p=Object.getOwnPropertyNames(d.prototype).filter(function(m){var y,f=m!=="constructor"&&typeof d.prototype[m]=="function",g=u.indexOf(m)===-1;return h?y=!0:y=m.charAt(0)!=="_",f&&y&&g});return p.forEach(function(m){var y=d.prototype[m];d.prototype[m]=l(y)}),d},r.exports=l},{"./lib/deferred":3,"./lib/once":4,"./lib/promise-or-callback":5}],7:[function(a,r,i){(function(n,s){typeof i=="object"&&typeof r!="undefined"?s(i):(n=typeof globalThis!="undefined"?globalThis:n||self,s(n.loadAxo={}))})(this,function(n){/*! *****************************************************************************
|
|
387
|
+
***************************************************************************** */function o(b,T,_,O){function M(w){return w instanceof _?w:new _(function(j){j(w)})}return new(_||(_=Promise))(function(w,j){function Q(te){try{R(O.next(te))}catch(be){j(be)}}function ae(te){try{R(O.throw(te))}catch(be){j(be)}}function R(te){te.done?w(te.value):M(te.value).then(Q,ae)}R((O=O.apply(b,[])).next())})}function s(b,T){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},O,M,w,j;return j={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function Q(R){return function(te){return ae([R,te])}}function ae(R){if(O)throw new TypeError("Generator is already executing.");for(;_;)try{if(O=1,M&&(w=R[0]&2?M.return:R[0]?M.throw||((w=M.return)&&w.call(M),0):M.next)&&!(w=w.call(M,R[1])).done)return w;switch(M=0,w&&(R=[R[0]&2,w.value]),R[0]){case 0:case 1:w=R;break;case 4:return _.label++,{value:R[1],done:!1};case 5:_.label++,M=R[1],R=[0];continue;case 7:R=_.ops.pop(),_.trys.pop();continue;default:if(w=_.trys,!(w=w.length>0&&w[w.length-1])&&(R[0]===6||R[0]===2)){_=0;continue}if(R[0]===3&&(!w||R[1]>w[0]&&R[1]<w[3])){_.label=R[1];break}if(R[0]===6&&_.label<w[1]){_.label=w[1],w=R;break}if(w&&_.label<w[2]){_.label=w[2],_.ops.push(R);break}w[2]&&_.ops.pop(),_.trys.pop();continue}R=T.call(b,_)}catch(te){R=[6,te],M=0}finally{O=w=0}if(R[0]&5)throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}}var l={},c={};function d(b){var T,_=JSON.stringify(b);if(!b.forceScriptReload&&(T=c[_],T))return T;var O=document.createElement("script"),M=b.dataAttributes||{},w=b.container||document.head;return O.src=b.src,O.id=b.id||"",O.async=!0,b.type&&O.setAttribute("type","".concat(b.type)),b.crossorigin&&O.setAttribute("crossorigin","".concat(b.crossorigin)),Object.keys(M).forEach(function(j){O.setAttribute("data-".concat(j),"".concat(M[j]))}),T=new Promise(function(j,Q){O.addEventListener("load",function(){j(O)}),O.addEventListener("error",function(){Q(new Error("".concat(b.src," failed to load.")))}),O.addEventListener("abort",function(){Q(new Error("".concat(b.src," has aborted.")))}),w.appendChild(O)}),c[_]=T,T}d.clearCache=function(){c={}};var u=d,h=function(T){var _=document.querySelector('link[href="'.concat(T.href,'"]'));if(_)return Promise.resolve(_);_=document.createElement("link");var O=T.container||document.head;return _.setAttribute("rel","stylesheet"),_.setAttribute("type","text/css"),_.setAttribute("href",T.href),_.setAttribute("id",T.id),O.firstChild?O.insertBefore(_,O.firstChild):O.appendChild(_),Promise.resolve(_)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=f=l.loadScript=void 0;var p=u,f=l.loadScript=p,m=h;l.loadStylesheet=m;var v="https://www.paypalobjects.com",y={minified:"axo.min",unminified:"axo"},A="fastlane",x="connect-boba",k="".concat(x,"/locales/"),I={AXO_ASSET_NAME:y,AXO_ASSET_PATH:x,LOCALE_PATH:k,CDNX_PROD:v},L={BT:"BT",PPCP:"PPCP"};function N(){return typeof window.define=="function"&&!!window.define.amd}function S(){return N()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function U(b,T,_){var O,M;return _===void 0&&(_=!0),o(this,void 0,void 0,function(){var w,j;return s(this,function(Q){if(w=$(),w&&w[b.module]){if(T&&((O=w[b.module])===null||O===void 0?void 0:O.VERSION)!==T)throw j=(M=w[b.module])===null||M===void 0?void 0:M.VERSION,new Error("".concat(b.module," already loaded with version ").concat(j," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(b.module," without specifying version"));return[2,q(b,T,_)]})})}function q(b,T,_){if(_===void 0&&(_=!0),N()){var O=_?b.amdModule.minified:b.amdModule.unminified;return new Promise(function(w,j){window.require([O],w,j)})}var M=_?b.script.minified:b.script.unminified;return f({id:"".concat(b.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(M)})}function $(){return window==null?void 0:window.braintree}var F,z,B={Client:"client",HostedCardFields:"hostedFields"},J="braintree",D=(F={},F[B.Client]="client",F[B.HostedCardFields]="hosted-fields",F),Y=(z={},z[B.Client]={id:"client",module:B.Client,amdModule:{unminified:"".concat(J,"/").concat(D[B.Client]),minified:"".concat(J,"/").concat(D[B.Client],".min")},script:{unminified:"".concat(D[B.Client],".js"),minified:"".concat(D[B.Client],".min.js")}},z[B.HostedCardFields]={id:"hcf",module:B.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(D[B.HostedCardFields]),minified:"".concat(J,"/").concat(D[B.HostedCardFields],".min")},script:{unminified:"".concat(D[B.HostedCardFields],".js"),minified:"".concat(D[B.HostedCardFields],".min.js")}},z);function H(b){return o(this,void 0,void 0,function(){var T,_,O,M;return s(this,function(w){switch(w.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=b.btSdkVersion,_=b.minified,O=P(b),M=V(b),b.platform!==L.BT?[3,2]:[4,Promise.all([U(Y.hostedFields,T,_),E(O,_)])];case 1:return w.sent(),[3,5];case 2:return b.platform!==L.PPCP?[3,4]:[4,Promise.all([U(Y.client,T,_),U(Y.hostedFields,T,_),E(O,_)])];case 3:return w.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:M}}]}})})}function E(b,T){var _;if(T===void 0&&(T=!0),N()){S()&&requirejs.config({paths:(_={},_[A]=b,_)});var O="".concat(A,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(M,w){window.require([O],M,w)})}return f({id:"axo-id",src:b,forceScriptReload:!0})}function g(b){var T=b.assetUrl,_=b.bundleId;return _?"https://cdn-".concat(_,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function P(b){var T,_=(b==null?void 0:b.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,O=N()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(_,".js");return g({assetUrl:O,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function V(b){var T;return g({assetUrl:I.LOCALE_PATH,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}i.constants=I,i.loadAxo=H})},{}],9:[function(e,n,a){var i=e("./constants").BRAINTREE_VERSION,o=e("./request/graphql"),s=e("./request"),l=e("../lib/is-verified-domain"),c=e("../lib/braintree-error"),d=e("../lib/convert-to-braintree-error"),u=e("./get-configuration").getConfiguration,h=e("../lib/create-authorization-data"),p=e("../lib/add-metadata"),f=e("@braintree/wrap-promise"),m=e("../lib/once"),v=e("../lib/deferred"),y=e("../lib/assign").assign,A=e("../lib/analytics"),x=e("./errors"),k=e("../lib/constants").VERSION,I=e("../lib/constants").GRAPHQL_URLS,L=e("../lib/methods"),N=e("../lib/convert-methods-to-error"),S=e("../lib/assets"),U=e("../lib/constants").FRAUDNET_FNCLS,q=e("../lib/constants").FRAUDNET_SOURCE,$=e("../lib/constants").FRAUDNET_URL,F={};function z(D){var Y,H;if(D=D||{},Y=JSON.stringify(D),H=D.gatewayConfiguration,!H)throw new c(x.CLIENT_MISSING_GATEWAY_CONFIGURATION);if(["assetsUrl","clientApiUrl","configUrl"].forEach(function(E){if(E in H&&!l(H[E]))throw new c({type:x.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:x.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:E+" property is on an invalid domain."})}),this.getConfiguration=function(){return JSON.parse(Y)},this._request=s,this._configuration=this.getConfiguration(),this._clientApiBaseUrl=H.clientApiUrl+"/v1/",H.graphQL){if(!l(H.graphQL.url))throw new c({type:x.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.type,code:x.CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN.code,message:"graphQL.url property is on an invalid domain."});this._graphQL=new o({graphQL:H.graphQL})}}z.initialize=function(D){var Y,H,E=F[D.authorization];if(E)return A.sendEvent(E,"custom.client.load.cached"),E;try{H=h(D.authorization)}catch(g){return Promise.reject(new c(x.CLIENT_INVALID_AUTHORIZATION))}return E=u(H,D.sessionId).then(function(g){return D.debug&&(g.isDebug=!0),g.authorization=D.authorization,Y=new z(g),Y}),F[D.authorization]=E,A.sendEvent(E,"custom.client.load.initialized"),E.then(function(g){return A.sendEvent(Y,"custom.client.load.succeeded"),g}).catch(function(g){return delete F[D.authorization],Promise.reject(g)})},z.clearCache=function(){F={}},z.prototype._findOrCreateFraudnetJSON=function(D){var Y=document.querySelector('script[fncls="'+U+'"]'),H,E,g,P;Y||(Y=document.body.appendChild(document.createElement("script")),Y.type="application/json",Y.setAttribute("fncls",U)),H=this.getConfiguration(),E={rda_tenant:"bt_card",mid:H.gatewayConfiguration.merchantId},g=H.authorizationFingerprint,g&&g.split("&").forEach(function(V){var b=V.split("=");b[0]==="customer_id"&&b.length>1&&(E.cid=b[1])}),P={f:D.substr(0,32),fp:E,bu:!1,s:q},Y.text=JSON.stringify(P)},z.prototype.request=function(D,Y){var H=this,E=new Promise(function(g,P){var V,b,T,_,O=!!(D.endpoint==="payment_methods/credit_cards"&&H.getConfiguration().gatewayConfiguration.creditCards.collectDeviceData);if(D.api!=="graphQLApi"&&(D.method?D.endpoint||(V="options.endpoint"):V="options.method"),V)throw new c({type:x.CLIENT_OPTION_REQUIRED.type,code:x.CLIENT_OPTION_REQUIRED.code,message:V+" is required when making a request."});if("api"in D?b=D.api:b="clientApi",_={method:D.method,graphQL:H._graphQL,timeout:D.timeout,metadata:H._configuration.analyticsMetadata},b==="clientApi")T=H._clientApiBaseUrl,_.data=p.addMetadata(H._configuration,D.data);else if(b==="graphQLApi")T=I[H._configuration.gatewayConfiguration.environment],D.endpoint="",_.method="post",_.data=y({clientSdkMetadata:{platform:H._configuration.analyticsMetadata.platform,source:H._configuration.analyticsMetadata.source,integration:H._configuration.analyticsMetadata.integration,sessionId:H._configuration.analyticsMetadata.sessionId,version:k}},D.data),_.headers=J(H._configuration);else throw new c({type:x.CLIENT_OPTION_INVALID.type,code:x.CLIENT_OPTION_INVALID.code,message:"options.api is invalid."});_.url=T+D.endpoint,_.sendAnalyticsEvent=function(M){A.sendEvent(H,M)},H._request(_,function(M,w,j){var Q,ae;if(ae=B(j,M),ae){P(ae);return}if(b==="graphQLApi"&&w.errors){P(d(w.errors,{type:x.CLIENT_GRAPHQL_REQUEST_ERROR.type,code:x.CLIENT_GRAPHQL_REQUEST_ERROR.code,message:x.CLIENT_GRAPHQL_REQUEST_ERROR.message}));return}Q=y({_httpStatus:j},w),O&&Q.creditCards&&Q.creditCards.length>0&&(H._findOrCreateFraudnetJSON(Q.creditCards[0].nonce),S.loadScript({src:$,forceScriptReload:!0})),g(Q)})});if(typeof Y=="function"){Y=m(v(Y)),E.then(function(g){Y(null,g,g._httpStatus)}).catch(function(g){var P=g&&g.details&&g.details.httpStatus;Y(g,null,P)});return}return E};function B(D,Y){var H;if(D===-1?H=new c(x.CLIENT_REQUEST_TIMEOUT):D===401?H=new c(x.CLIENT_AUTHORIZATION_INVALID):D===403?H=new c(x.CLIENT_AUTHORIZATION_INSUFFICIENT):D===429?H=new c(x.CLIENT_RATE_LIMITED):D>=500?H=new c(x.CLIENT_GATEWAY_NETWORK):(D<200||D>=400)&&(H=d(Y,{type:x.CLIENT_REQUEST_ERROR.type,code:x.CLIENT_REQUEST_ERROR.code,message:x.CLIENT_REQUEST_ERROR.message})),H)return H.details=H.details||{},H.details.httpStatus=D,H}z.prototype.toJSON=function(){return this.getConfiguration()},z.prototype.getVersion=function(){return k},z.prototype.teardown=f(function(){var D=this;return delete F[D.getConfiguration().authorization],N(D,L(z.prototype)),Promise.resolve()});function J(D){var Y=D.authorizationFingerprint||D.authorization;return{Authorization:"Bearer "+Y,"Braintree-Version":i}}n.exports=z},{"../lib/add-metadata":29,"../lib/analytics":30,"../lib/assets":31,"../lib/assign":32,"../lib/braintree-error":33,"../lib/constants":34,"../lib/convert-methods-to-error":35,"../lib/convert-to-braintree-error":36,"../lib/create-authorization-data":37,"../lib/deferred":38,"../lib/is-verified-domain":43,"../lib/methods":45,"../lib/once":46,"./constants":10,"./errors":11,"./get-configuration":12,"./request":25,"./request/graphql":23,"@braintree/wrap-promise":7}],10:[function(e,n,a){n.exports={BRAINTREE_VERSION:"2018-05-10"}},{}],11:[function(e,n,a){var i=e("../lib/braintree-error");n.exports={CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN:{type:i.types.MERCHANT,code:"CLIENT_GATEWAY_CONFIGURATION_INVALID_DOMAIN"},CLIENT_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"CLIENT_OPTION_REQUIRED"},CLIENT_OPTION_INVALID:{type:i.types.MERCHANT,code:"CLIENT_OPTION_INVALID"},CLIENT_MISSING_GATEWAY_CONFIGURATION:{type:i.types.INTERNAL,code:"CLIENT_MISSING_GATEWAY_CONFIGURATION",message:"Missing gatewayConfiguration."},CLIENT_INVALID_AUTHORIZATION:{type:i.types.MERCHANT,code:"CLIENT_INVALID_AUTHORIZATION",message:"Authorization is invalid. Make sure your client token or tokenization key is valid."},CLIENT_GATEWAY_NETWORK:{type:i.types.NETWORK,code:"CLIENT_GATEWAY_NETWORK",message:"Cannot contact the gateway at this time."},CLIENT_REQUEST_TIMEOUT:{type:i.types.NETWORK,code:"CLIENT_REQUEST_TIMEOUT",message:"Request timed out waiting for a reply."},CLIENT_REQUEST_ERROR:{type:i.types.NETWORK,code:"CLIENT_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_GRAPHQL_REQUEST_ERROR:{type:i.types.NETWORK,code:"CLIENT_GRAPHQL_REQUEST_ERROR",message:"There was a problem with your request."},CLIENT_RATE_LIMITED:{type:i.types.MERCHANT,code:"CLIENT_RATE_LIMITED",message:"You are being rate-limited; please try again in a few minutes."},CLIENT_AUTHORIZATION_INSUFFICIENT:{type:i.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INSUFFICIENT",message:"The authorization used has insufficient privileges."},CLIENT_AUTHORIZATION_INVALID:{type:i.types.MERCHANT,code:"CLIENT_AUTHORIZATION_INVALID",message:"Either the client token has expired and a new one should be generated or the tokenization key has been deactivated or deleted."}}},{"../lib/braintree-error":33}],12:[function(e,n,a){var i=e("../lib/braintree-error"),o=e("@braintree/wrap-promise"),s=e("./request"),l=e("@braintree/uuid"),c=e("../lib/constants"),d=e("./errors"),u=e("./request/graphql"),h=e("../lib/constants").GRAPHQL_URLS,p=e("../lib/is-date-string-before-or-on"),f=e("./constants").BRAINTREE_VERSION;function m(v,y){return new Promise(function(A,x){var k,I,L,N,S=y||l(),U={merchantAppId:window.location.host,platform:c.PLATFORM,sdkVersion:c.VERSION,source:c.SOURCE,integration:c.INTEGRATION,integrationType:c.INTEGRATION,sessionId:S};I=v.attrs,L=v.configUrl,I._meta=U,I.braintreeLibraryVersion=c.BRAINTREE_LIBRARY_VERSION,I.configVersion="3",N={url:L,method:"GET",data:I},I.authorizationFingerprint&&v.graphQL?(p(v.graphQL.date,f)&&(N.graphQL=new u({graphQL:{url:v.graphQL.url,features:["configuration"]}})),N.metadata=U):I.tokenizationKey&&(N.graphQL=new u({graphQL:{url:h[v.environment],features:["configuration"]}}),N.metadata=U),s(N,function(q,$,F){var z;if(q){F===403?z=d.CLIENT_AUTHORIZATION_INSUFFICIENT:F===401?z=d.CLIENT_AUTHORIZATION_INVALID:z=d.CLIENT_GATEWAY_NETWORK,x(new i({type:z.type,code:z.code,message:z.message,details:{originalError:q}}));return}k={authorizationType:I.tokenizationKey?"TOKENIZATION_KEY":"CLIENT_TOKEN",authorizationFingerprint:I.authorizationFingerprint,analyticsMetadata:U,gatewayConfiguration:$},A(k)})})}n.exports={getConfiguration:o(m)}},{"../lib/braintree-error":33,"../lib/constants":34,"../lib/is-date-string-before-or-on":41,"./constants":10,"./errors":11,"./request":25,"./request/graphql":23,"@braintree/uuid":3,"@braintree/wrap-promise":7}],13:[function(e,n,a){var i=e("../lib/braintree-error"),o=e("./client"),s="3.126.0",l=e("@braintree/wrap-promise"),c=e("../lib/errors");function d(u){return u.authorization?o.initialize(u):Promise.reject(new i({type:c.INSTANTIATION_OPTION_REQUIRED.type,code:c.INSTANTIATION_OPTION_REQUIRED.code,message:"options.authorization is required when instantiating a client."}))}n.exports={create:l(d),VERSION:s}},{"../lib/braintree-error":33,"../lib/errors":40,"./client":9,"@braintree/wrap-promise":7}],14:[function(e,n,a){var i=e("../../lib/querystring"),o=e("../../lib/assign").assign,s=e("./prep-body"),l=e("./parse-body"),c=e("./xhr"),d=c.isAvailable,u=e("./graphql/request"),h=e("./default-request"),p=1,f=408;function m(x){return!x||x===f}function v(x){var k=!x.data&&x.errors&&x.errors[0]&&x.errors[0].extensions&&x.errors[0].extensions.errorClass;return k==="UNKNOWN"||k==="INTERNAL"}function y(x,k,I){var L,N,S,U,q,$,F,z=x.url,B=x.graphQL,J=x.timeout,D=c.getRequestObject(),Y=I,H=!!(B&&B.isGraphQLRequest(z,x.data));x.headers=o({"Content-Type":"application/json"},x.headers),H?S=new u(x):S=new h(x),z=S.getUrl(),U=S.getBody(),q=S.getMethod(),$=S.getHeaders(),q==="GET"&&(z=i.queryify(z,U),U=null),d?D.onreadystatechange=function(){if(D.readyState===4){if(D.status===0&&H){delete x.graphQL,y(x,k,I);return}if(F=l(D.responseText),N=S.adaptResponseBody(F),L=S.determineStatus(D.status,F),L>=400||L<200){if(H&&v(F)){delete x.graphQL,y(x,k,I);return}if(k<p&&m(L)){k++,y(x,k,I);return}Y(N||"error",null,L||500)}else Y(null,N,L)}}:(x.headers&&(z=i.queryify(z,$)),D.onload=function(){Y(null,l(D.responseText),D.status)},D.onerror=function(){Y("error",null,500)},D.onprogress=function(){},D.ontimeout=function(){Y("timeout",null,-1)});try{D.open(q,z,!0)}catch(E){if(!H)throw E;delete x.graphQL,y(x,k,I);return}D.timeout=J,d&&Object.keys($).forEach(function(E){D.setRequestHeader(E,$[E])});try{D.send(s(q,U))}catch(E){}}function A(x,k){y(x,0,k)}n.exports={request:A}},{"../../lib/assign":32,"../../lib/querystring":47,"./default-request":15,"./graphql/request":24,"./parse-body":26,"./prep-body":27,"./xhr":28}],15:[function(e,n,a){function i(o){this._url=o.url,this._data=o.data,this._method=o.method,this._headers=o.headers}i.prototype.getUrl=function(){return this._url},i.prototype.getBody=function(){return this._data},i.prototype.getMethod=function(){return this._method},i.prototype.getHeaders=function(){return this._headers},i.prototype.adaptResponseBody=function(o){return o},i.prototype.determineStatus=function(o){return o},n.exports=i},{}],16:[function(e,n,a){var i=e("./error"),o=e("../../../../lib/assign").assign,s={creditCard:{AMERICAN_EXPRESS:"American Express",DISCOVER:"Discover",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",SOLO:"Solo",UK_MAESTRO:"UK Maestro",UNION_PAY:"UnionPay",VISA:"Visa",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard"},applePayWeb:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},visaCheckout:{VISA:"Visa",MASTERCARD:"MasterCard",DISCOVER:"Discover",AMERICAN_EXPRESS:"American Express"},googlePay:{VISA:"visa",MASTERCARD:"mastercard",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",INTERNATIONAL_MAESTRO:"maestro",ELO:"elo"},masterpass:{VISA:"visa",MASTERCARD:"master",DISCOVER:"discover",AMERICAN_EXPRESS:"amex",DINERS:"diners",INTERNATIONAL_MAESTRO:"maestro",JCB:"jcb"}};function l(u,h){var p;return u.data&&!u.errors?p=c(u,h):p=i(u),p}function c(u,h){var p=u.data.clientConfiguration,f;return f={environment:p.environment.toLowerCase(),clientApiUrl:p.clientApiUrl,assetsUrl:p.assetsUrl,analytics:{url:p.analyticsUrl},merchantId:p.merchantId,venmo:"off"},p.supportedFeatures&&(f.graphQL={url:h._graphQL._config.url,features:p.supportedFeatures.map(function(m){return m.toLowerCase()})}),p.braintreeApi&&(f.braintreeApi=p.braintreeApi),p.applePayWeb&&(f.applePayWeb=p.applePayWeb,f.applePayWeb.supportedNetworks=d(p.applePayWeb.supportedCardBrands,s.applePayWeb),delete f.applePayWeb.supportedCardBrands),p.fastlane&&(f.fastlane=p.fastlane),p.ideal&&(f.ideal=p.ideal),p.creditCard?(f.challenges=p.creditCard.challenges.map(function(m){return m.toLowerCase()}),f.creditCards={supportedCardTypes:d(p.creditCard.supportedCardBrands,s.creditCard)},f.threeDSecureEnabled=p.creditCard.threeDSecureEnabled,f.threeDSecure=p.creditCard.threeDSecure):(f.challenges=[],f.creditCards={supportedCardTypes:[]},f.threeDSecureEnabled=!1),p.googlePay&&(f.androidPay={displayName:p.googlePay.displayName,enabled:!0,environment:p.googlePay.environment.toLowerCase(),googleAuthorizationFingerprint:p.googlePay.googleAuthorization,paypalClientId:p.googlePay.paypalClientId,supportedNetworks:d(p.googlePay.supportedCardBrands,s.googlePay)}),p.venmo&&(f.payWithVenmo={merchantId:p.venmo.merchantId,accessToken:p.venmo.accessToken,environment:p.venmo.environment.toLowerCase(),enrichedCustomerDataEnabled:p.venmo.enrichedCustomerDataEnabled}),p.paypal?(f.paypalEnabled=!0,f.paypal=o({},p.paypal),f.paypal.currencyIsoCode=f.paypal.currencyCode,f.paypal.environment=f.paypal.environment.toLowerCase(),delete f.paypal.currencyCode):f.paypalEnabled=!1,p.unionPay&&(f.unionPay={enabled:!0,merchantAccountId:p.unionPay.merchantAccountId}),p.visaCheckout&&(f.visaCheckout={apikey:p.visaCheckout.apiKey,encryptionKey:p.visaCheckout.encryptionKey,externalClientId:p.visaCheckout.externalClientId,supportedCardTypes:d(p.visaCheckout.supportedCardBrands,s.visaCheckout)}),p.masterpass&&(f.masterpass={merchantCheckoutId:p.masterpass.merchantCheckoutId,supportedNetworks:d(p.masterpass.supportedCardBrands,s.masterpass)}),p.usBankAccount&&(f.usBankAccount={routeId:p.usBankAccount.routeId,plaid:{publicKey:p.usBankAccount.plaidPublicKey}}),f}function d(u,h){return u.reduce(function(p,f){return h.hasOwnProperty(f)?p.concat(h[f]):p},[])}n.exports=l},{"../../../../lib/assign":32,"./error":19}],17:[function(e,n,a){var i=e("./error"),o={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},s={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},l={PSDTWO:"psd2"};function c(u){var h;return u.data&&!u.errors?h=d(u):h=i(u),h}function d(u){var h=u.data.tokenizeCreditCardForPayPalConnect,p=h.paymentMethod.details,f=p.last4?p.last4.substr(2,4):"",m=p.binData,v,y;return m&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach(function(A){m[A]?m[A]=s[m[A]]:m[A]="Unknown"}),["issuingBank","countryOfIssuance","productId","business","consumer","purchase","corporate"].forEach(function(A){m[A]||(m[A]="Unknown")})),v={creditCards:[{binData:m,consumed:!1,description:f?"ending in "+f:"",nonce:h.paymentMethod.id,details:{cardholderName:p.cardholderName,expirationMonth:p.expirationMonth,expirationYear:p.expirationYear,bin:p.bin||"",cardType:o[p.brandCode]||"Unknown",lastFour:p.last4||"",lastTwo:f},type:"CreditCard",threeDSecureInfo:null}]},h.authenticationInsight&&(y=h.authenticationInsight.customerAuthenticationRegulationEnvironment,v.creditCards[0].authenticationInsight={regulationEnvironment:l[y]||y.toLowerCase()}),v}n.exports=c},{"./error":19}],18:[function(e,n,a){var i=e("./error"),o={AMERICAN_EXPRESS:"American Express",DINERS:"Discover",DISCOVER:"Discover",ELO:"Elo",HIPER:"Hiper",HIPERCARD:"Hipercard",INTERNATIONAL_MAESTRO:"Maestro",JCB:"JCB",MASTERCARD:"MasterCard",UK_MAESTRO:"Maestro",UNION_PAY:"UnionPay",VISA:"Visa"},s={YES:"Yes",NO:"No",UNKNOWN:"Unknown"},l={PSDTWO:"psd2"};function c(u){var h;return u.data&&!u.errors?h=d(u):h=i(u),h}function d(u){var h=u.data.tokenizeCreditCard,p=h.creditCard,f=p.last4?p.last4.substr(2,4):"",m=p.binData,v,y;return m&&(["commercial","debit","durbinRegulated","healthcare","payroll","prepaid"].forEach(function(A){m[A]?m[A]=s[m[A]]:m[A]="Unknown"}),["issuingBank","countryOfIssuance","productId","business","consumer","purchase","corporate"].forEach(function(A){m[A]||(m[A]="Unknown")})),v={creditCards:[{binData:m,consumed:!1,description:f?"ending in "+f:"",nonce:h.token,details:{cardholderName:p.cardholderName,expirationMonth:p.expirationMonth,expirationYear:p.expirationYear,bin:p.bin||"",cardType:o[p.brandCode]||"Unknown",lastFour:p.last4||"",lastTwo:f},type:"CreditCard",threeDSecureInfo:null}]},h.authenticationInsight&&(y=h.authenticationInsight.customerAuthenticationRegulationEnvironment,v.creditCards[0].authenticationInsight={regulationEnvironment:l[y]||y.toLowerCase()}),v}n.exports=c},{"./error":19}],19:[function(e,n,a){function i(u){var h,p=u.errors&&u.errors[0]&&u.errors[0].extensions&&u.errors[0].extensions.errorClass;return p==="VALIDATION"?h=s(u):p?h=o(u):h={error:{message:"There was a problem serving your request"},fieldErrors:[]},h}function o(u){return{error:{message:u.errors[0].message},fieldErrors:[]}}function s(u){var h=l(u.errors);return h.length===0?{error:{message:u.errors[0].message}}:{error:{message:d(h)},fieldErrors:h}}function l(u){var h=[];return u.forEach(function(p){p.extensions&&p.extensions.inputPath&&c(p.extensions.inputPath.slice(1),p,h)}),h}function c(u,h,p){var f,m=h.extensions.legacyCode,v=u[0];if(u.length===1){p.push({code:m,field:v,message:h.message});return}p.forEach(function(y){y.field===v&&(f=y)}),f||(f={field:v,fieldErrors:[]},p.push(f)),c(u.slice(1),h,f.fieldErrors)}function d(u){var h={creditCard:"Credit card is invalid"},p=u[0].field;return h[p]}n.exports=i},{}],20:[function(e,n,a){var i="query ClientConfiguration { clientConfiguration { analyticsUrl environment merchantId assetsUrl clientApiUrl creditCard { supportedCardBrands challenges threeDSecureEnabled threeDSecure { cardinalAuthenticationJWT cardinalSongbirdUrl cardinalSongbirdIdentityHash } } applePayWeb { countryCode currencyCode merchantIdentifier supportedCardBrands } fastlane { enabled tokensOnDemand { enabled tokenExchange { enabled } } } googlePay { displayName supportedCardBrands environment googleAuthorization paypalClientId } ideal { routeId assetsUrl } masterpass { merchantCheckoutId supportedCardBrands } paypal { displayName clientId assetsUrl environment environmentNoNetwork unvettedMerchant braintreeClientId billingAgreementsEnabled merchantAccountId currencyCode payeeEmail } unionPay { merchantAccountId } usBankAccount { routeId plaidPublicKey } venmo { merchantId accessToken environment enrichedCustomerDataEnabled } visaCheckout { apiKey externalClientId supportedCardBrands } braintreeApi { accessToken url } supportedFeatures } }";function o(){return{query:i,operationName:"ClientConfiguration"}}n.exports=o},{}],21:[function(e,n,a){var i=e("../../../../lib/assign").assign;function o(u){var h=u.hasAuthenticationInsight,p="mutation TokenizeCreditCardForPayPalConnect($input: TokenizeCreditCardForPayPalConnectInput!";return h&&(p+=", $authenticationInsightInput: AuthenticationInsightInput!"),p+=") { tokenizeCreditCardForPayPalConnect(input: $input) { clientMutationId paymentMethod { id details { ... on CreditCardDetails { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId business consumer purchase corporate } } } }",h&&(p+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),p+=" } }",p}function s(u,h){var p=u.creditCard,f=p.fastlane||{},m="fastlane"in p&&"termsAndConditionsVersion"in p.fastlane&&p.fastlane.termsAndConditionsVersion,v="fastlane"in p&&"termsAndConditionsCountry"in p.fastlane&&p.fastlane.termsAndConditionsCountry,y=p.email,A="hasBuyerConsent"in f&&f.hasBuyerConsent,x=p.shippingAddress,k=l(u,h),I=i({},k.input,{email:y,optIn:A,phone:p.phone});return m&&(I.termsAndConditionsVersion=m),v&&(I.termsAndConditionsCountry=v),"authAssertion"in f&&(I.authAssertion=f.authAssertion),x&&(I.shippingAddress=x),{input:I}}function l(u,h){var p=u.creditCard,f=p&&p.billingAddress,m=p&&p.expirationDate,v=p&&(p.expirationMonth||m&&m.split("/")[0].trim()),y=p&&(p.expirationYear||m&&m.split("/")[1].trim()),A={input:{creditCard:{number:p&&p.number,expirationMonth:v,expirationYear:y,cvv:p&&p.cvv,cardholderName:p&&p.cardholderName},options:{}}};return h.hasAuthenticationInsight&&(A.authenticationInsightInput={merchantAccountId:u.merchantAccountId}),f&&(A.input.creditCard.billingAddress=f),A.input=c(u,A.input),A}function c(u,h){var p;return u.creditCard&&u.creditCard.options&&typeof u.creditCard.options.validate=="boolean"?p=u.creditCard.options.validate:u.authorizationFingerprint&&u.tokenizationKey||u.authorizationFingerprint?p=!0:u.tokenizationKey&&(p=!1),typeof p=="boolean"&&(h.options=i({validate:p},h.options)),h}function d(u){var h={hasAuthenticationInsight:!!(u.authenticationInsight&&u.merchantAccountId)};return{query:o(h),variables:s(u,h),operationName:"TokenizeCreditCardForPayPalConnect"}}n.exports=d},{"../../../../lib/assign":32}],22:[function(e,n,a){var i=e("../../../../lib/assign").assign;function o(d){var u=d.hasAuthenticationInsight,h="mutation TokenizeCreditCard($input: TokenizeCreditCardInput!";return u&&(h+=", $authenticationInsightInput: AuthenticationInsightInput!"),h+=") { tokenizeCreditCard(input: $input) { token creditCard { bin brandCode last4 cardholderName expirationMonth expirationYear binData { prepaid healthcare debit durbinRegulated commercial payroll issuingBank countryOfIssuance productId business consumer purchase corporate } } ",u&&(h+=" authenticationInsight(input: $authenticationInsightInput) { customerAuthenticationRegulationEnvironment }"),h+=" } }",h}function s(d,u){var h=d.creditCard,p=h&&h.billingAddress,f=h&&h.expirationDate,m=h&&(h.expirationMonth||f&&f.split("/")[0].trim()),v=h&&(h.expirationYear||f&&f.split("/")[1].trim()),y={input:{creditCard:{number:h&&h.number,expirationMonth:m,expirationYear:v,cvv:h&&h.cvv,cardholderName:h&&h.cardholderName},options:{}}};return u.hasAuthenticationInsight&&(y.authenticationInsightInput={merchantAccountId:d.merchantAccountId}),p&&(y.input.creditCard.billingAddress=p),y.input=l(d,y.input),y}function l(d,u){var h;return d.creditCard&&d.creditCard.options&&typeof d.creditCard.options.validate=="boolean"?h=d.creditCard.options.validate:d.authorizationFingerprint&&d.tokenizationKey||d.authorizationFingerprint?h=!0:d.tokenizationKey&&(h=!1),typeof h=="boolean"&&(u.options=i({validate:h},u.options)),u}function c(d){var u={hasAuthenticationInsight:!!(d.authenticationInsight&&d.merchantAccountId)};return{query:o(u),variables:s(d,u),operationName:"TokenizeCreditCard"}}n.exports=c},{"../../../../lib/assign":32}],23:[function(e,n,a){var i={tokenize_credit_cards:"payment_methods/credit_cards",configuration:"configuration"},o=["creditCard.options.unionPayEnrollment"];function s(c){this._config=c.graphQL}s.prototype.getGraphQLEndpoint=function(){return this._config.url},s.prototype.isGraphQLRequest=function(c,d){var u,h=this.getClientApiPath(c);return!this._isGraphQLEnabled()||!h||(u=this._config.features.some(function(p){return i[p]===h}),l(d))?!1:u},s.prototype.getClientApiPath=function(c){var d,u="/client_api/v1/",h=c.split(u);return h.length>1&&(d=h[1].split("?")[0]),d},s.prototype._isGraphQLEnabled=function(){return!!this._config};function l(c){return o.some(function(d){var u=d.split(".").reduce(function(h,p){return h&&h[p]},c);return u!==void 0})}n.exports=s},{}],24:[function(e,n,a){var i=e("../../constants").BRAINTREE_VERSION,o=e("../../../lib/assign").assign,s=e("../../../lib/snake-case-to-camel-case"),l=e("../../../lib/is-fastlane-checkout"),c=e("./generators/credit-card-tokenization"),d=e("./adapters/credit-card-tokenization"),u=e("./adapters/credit-card-tokenization-fastlane"),h=e("./generators/credit-card-for-fastlane-tokenization"),p=e("./generators/configuration"),f=e("./adapters/configuration"),m={"payment_methods/credit_cards":function(k,I){return I?h(k):c(k)},configuration:p},v={"payment_methods/credit_cards":function(k,I,L){return L?u(k,I):d(k,I)},configuration:f};function y(k){var I=k.graphQL.getClientApiPath(k.url);this._graphQL=k.graphQL,this._data=k.data,this._method=k.method,this._headers=k.headers,this._clientSdkMetadata={source:k.metadata.source,integration:k.metadata.integration,sessionId:k.metadata.sessionId},this._sendAnalyticsEvent=k.sendAnalyticsEvent||Function.prototype,this._generator=m[I],this._adapter=v[I],this._sendAnalyticsEvent("graphql.init")}y.prototype.getUrl=function(){return this._graphQL.getGraphQLEndpoint()},y.prototype.getBody=function(){var k=x(this._data),I=this._generator(k,l(this._data.creditCard)),L=o({clientSdkMetadata:this._clientSdkMetadata},I);return JSON.stringify(L)},y.prototype.getMethod=function(){return"POST"},y.prototype.getHeaders=function(){var k,I;return this._data.authorizationFingerprint?(this._sendAnalyticsEvent("graphql.authorization-fingerprint"),k=this._data.authorizationFingerprint):(this._sendAnalyticsEvent("graphql.tokenization-key"),k=this._data.tokenizationKey),I={Authorization:"Bearer "+k,"Braintree-Version":i},o({},this._headers,I)},y.prototype.adaptResponseBody=function(k){return this._adapter(k,this,"creditCard"in this._data&&l(this._data.creditCard))},y.prototype.determineStatus=function(k,I){var L,N;return k===200?(N=I.errors&&I.errors[0]&&I.errors[0].extensions&&I.errors[0].extensions.errorClass,I.data&&!I.errors?L=200:N==="VALIDATION"?L=422:N==="AUTHORIZATION"?L=403:N==="AUTHENTICATION"?L=401:A(N,I)?L=403:L=500):k?L=k:L=500,this._sendAnalyticsEvent("graphql.status."+k),this._sendAnalyticsEvent("graphql.determinedStatus."+L),L};function A(k,I){return!k&&I.errors[0].message}function x(k){var I={};return Object.keys(k).forEach(function(L){var N=s(L);typeof k[L]=="object"?I[N]=x(k[L]):typeof k[L]=="number"?I[N]=String(k[L]):I[N]=k[L]}),I}n.exports=y},{"../../../lib/assign":32,"../../../lib/is-fastlane-checkout":42,"../../../lib/snake-case-to-camel-case":48,"../../constants":10,"./adapters/configuration":16,"./adapters/credit-card-tokenization":18,"./adapters/credit-card-tokenization-fastlane":17,"./generators/configuration":20,"./generators/credit-card-for-fastlane-tokenization":21,"./generators/credit-card-tokenization":22}],25:[function(e,n,a){var i=e("../../lib/once"),o=e("./ajax-driver");n.exports=function(s,l){l=i(l||Function.prototype),s.method=(s.method||"GET").toUpperCase(),s.timeout=s.timeout==null?6e4:s.timeout,s.data=s.data||{},o.request(s,l)}},{"../../lib/once":46,"./ajax-driver":14}],26:[function(e,n,a){n.exports=function(i){try{i=JSON.parse(i)}catch(o){}return i}},{}],27:[function(e,n,a){n.exports=function(i,o){if(typeof i!="string")throw new Error("Method must be a string");return i.toLowerCase()!=="get"&&o!=null&&(o=typeof o=="string"?o:JSON.stringify(o)),o}},{}],28:[function(e,n,a){var i=typeof window!="undefined"&&window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest;function o(){return i?new window.XMLHttpRequest:new window.XDomainRequest}n.exports={isAvailable:i,getRequestObject:o}},{}],29:[function(e,n,a){var i=e("./create-authorization-data"),o=e("./json-clone"),s=e("./constants");function l(d,u){var h,p=u?o(u):{},f=i(d.authorization).attrs,m=o(d.analyticsMetadata);p.braintreeLibraryVersion=s.BRAINTREE_LIBRARY_VERSION;for(h in p._meta)p._meta.hasOwnProperty(h)&&(m[h]=p._meta[h]);return p._meta=m,f.tokenizationKey?p.tokenizationKey=f.tokenizationKey:p.authorizationFingerprint=f.authorizationFingerprint,p}function c(d){var u=d.getConfiguration(),h=i(u.authorization).attrs,p=u.gatewayConfiguration.environment==="production",f={api_integration_type:u.analyticsMetadata.integrationType,app_id:window.location.host,c_sdk_ver:s.VERSION,component:"braintreeclientsdk",merchant_sdk_env:p?"production":"sandbox",merchant_id:u.gatewayConfiguration.merchantId,event_source:"web",platform:s.PLATFORM,platform_version:window.navigator.userAgent,session_id:u.analyticsMetadata.sessionId,client_session_id:u.analyticsMetadata.sessionId,tenant_name:"braintree",product_name:"BT_DCC",space_key:"SKDUYK"};return h.tokenizationKey?f.tokenization_key=h.tokenizationKey:f.auth_fingerprint=h.authorizationFingerprint,f}n.exports={addMetadata:l,addEventMetadata:c}},{"./constants":34,"./create-authorization-data":37,"./json-clone":44}],30:[function(e,n,a){var i=e("./constants"),o=e("./add-metadata"),s=e("./assign").assign;function l(u,h,p){return c(u,h,{},p)}function c(u,h,p,f){var m=Date.now();return p.flow==="vault"?p.context_type="BA_Token":p.flow==="checkout"&&(p.context_type="EC_Token"),Promise.resolve(u).then(function(v){var y=v._request,A=i.ANALYTICS_URL,x=i.ANALYTICS_PREFIX+h,k=v.getConfiguration(),I=k.gatewayConfiguration.environment==="production",L={events:[],tracking:[]},N=o.addEventMetadata(v,L);return N.event_name=x,N.t=m,L.events=[{level:"info",event:x,payload:s({env:I?"production":"sandbox",timestamp:m},p)}],L.tracking=[N],p&&typeof p=="object"&&(L.tracking=[d(N,p)]),y({url:A,method:"post",data:L,timeout:i.ANALYTICS_REQUEST_TIMEOUT_MS},f)}).catch(function(v){f&&f(v)})}function d(u,h){var p={},f=s({},h);return Object.keys(f).forEach(function(m){i.ALLOWED_EXTRA_EVENT_FIELDS.indexOf(m)===-1&&delete f[m]}),p=s(u,f),p}n.exports={sendEvent:l,sendEventPlus:c}},{"./add-metadata":29,"./assign":32,"./constants":34}],31:[function(e,n,a){var i=e("@braintree/asset-loader/load-script"),o=e("@paypal/accelerated-checkout-loader");n.exports={loadScript:i,loadFastlane:o.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":8}],32:[function(e,n,a){var i=typeof Object.assign=="function"?Object.assign:o;function o(s){var l,c,d;for(l=1;l<arguments.length;l++){c=arguments[l];for(d in c)c.hasOwnProperty(d)&&(s[d]=c[d])}return s}n.exports={assign:i,_assign:o}},{}],33:[function(e,n,a){var i=e("./enumerate");function o(s){if(!o.types.hasOwnProperty(s.type))throw new Error(s.type+" is not a valid type.");if(!s.code)throw new Error("Error code required.");if(!s.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=s.code,this.message=s.message,this.type=s.type,this.details=s.details}o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o.types=i(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),o.findRootError=function(s){return s instanceof o&&s.details&&s.details.originalError?o.findRootError(s.details.originalError):s},n.exports=o},{"./enumerate":39}],34:[function(e,n,a){var i="3.126.0",o="web",s={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},c={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};n.exports={ANALYTICS_PREFIX:o+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:s,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:c,INTEGRATION_TIMEOUT_MS:6e4,VERSION:i,INTEGRATION:"custom",SOURCE:"client",PLATFORM:o,BRAINTREE_LIBRARY_VERSION:"braintree/"+o+"/"+i,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],35:[function(e,n,a){var i=e("./braintree-error"),o=e("./errors");n.exports=function(s,l){l.forEach(function(c){s[c]=function(){throw new i({type:o.METHOD_CALLED_AFTER_TEARDOWN.type,code:o.METHOD_CALLED_AFTER_TEARDOWN.code,message:c+" cannot be called after teardown."})}})}},{"./braintree-error":33,"./errors":40}],36:[function(e,n,a){var i=e("./braintree-error");function o(s,l){return s instanceof i?s:new i({type:l.type,code:l.code,message:l.message,details:{originalError:s}})}n.exports=o},{"./braintree-error":33}],37:[function(e,n,a){var i=e("../lib/vendor/polyfill").atob,o=e("../lib/constants").CLIENT_API_URLS;function s(d){return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(d)}function l(d){var u=d.split("_"),h=u[0],p=u.slice(2).join("_");return{merchantId:p,environment:h}}function c(d){var u,h,p={attrs:{},configUrl:""};return s(d)?(h=l(d),p.environment=h.environment,p.attrs.tokenizationKey=d,p.configUrl=o[h.environment]+"/merchants/"+h.merchantId+"/client_api/v1/configuration"):(u=JSON.parse(i(d)),p.environment=u.environment,p.attrs.authorizationFingerprint=u.authorizationFingerprint,p.configUrl=u.configUrl,p.graphQL=u.graphQL),p}n.exports=c},{"../lib/constants":34,"../lib/vendor/polyfill":49}],38:[function(e,n,a){n.exports=function(i){return function(){var o=arguments;setTimeout(function(){i.apply(null,o)},1)}}},{}],39:[function(e,n,a){function i(o,s){return s=s==null?"":s,o.reduce(function(l,c){return l[c]=s+c,l},{})}n.exports=i},{}],40:[function(e,n,a){var i=e("./braintree-error");n.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:i.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:i.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:i.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:i.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":33}],41:[function(e,n,a){function i(s){var l=s.split("-");return new Date(l[0],l[1],l[2])}function o(s,l){return i(s)<=i(l)}n.exports=o},{}],42:[function(e,n,a){n.exports=function(i){return i&&i.hasOwnProperty("fastlane")&&i.fastlane}},{}],43:[function(e,n,a){var i,o={"paypal.com":1,"braintreepayments.com":1,"braintreegateway.com":1,"braintree-api.com":1};function s(c){return c.split(".").slice(-2).join(".")}function l(c){var d;return c=c.toLowerCase(),/^https:/.test(c)?(i=i||document.createElement("a"),i.href=c,d=s(i.hostname),o.hasOwnProperty(d)):!1}n.exports=l},{}],44:[function(e,n,a){n.exports=function(i){return JSON.parse(JSON.stringify(i))}},{}],45:[function(e,n,a){n.exports=function(i){return Object.keys(i).filter(function(o){return typeof i[o]=="function"})}},{}],46:[function(e,n,a){function i(o){var s=!1;return function(){s||(s=!0,o.apply(null,arguments))}}n.exports=i},{}],47:[function(e,n,a){function i(u){var h;for(h in u)if(u.hasOwnProperty(h))return!0;return!1}function o(u){return u&&typeof u=="object"&&typeof u.length=="number"&&Object.prototype.toString.call(u)==="[object Array]"||!1}function s(u){return u=u||window.location.href,/\?/.test(u)}function l(u){var h,p;return u=u||window.location.href,s(u)?(h=u.split("?")[1]||"",h=h.replace(/#.*$/,"").split("&"),p=h.reduce(function(f,m){var v=m.split("="),y=decodeURIComponent(v[0]),A=decodeURIComponent(v[1]);return f[y]=A,f},{}),p):{}}function c(u,h){var p,f,m,v=[];for(m in u)u.hasOwnProperty(m)&&(f=u[m],h?o(u)?p=h+"[]":p=h+"["+m+"]":p=m,typeof f=="object"?v.push(c(f,p)):v.push(encodeURIComponent(p)+"="+encodeURIComponent(f)));return v.join("&")}function d(u,h){return u=u||"",h!=null&&typeof h=="object"&&i(h)&&(u+=u.indexOf("?")===-1?"?":"",u+=u.indexOf("=")!==-1?"&":"",u+=c(h)),u}n.exports={parse:l,stringify:c,queryify:d,hasQueryParams:s}},{}],48:[function(e,n,a){n.exports=function(i){return i.indexOf("_")===-1?i:i.toLowerCase().replace(/(\_\w)/g,function(o){return o[1].toUpperCase()})}},{}],49:[function(e,n,a){var i=typeof atob=="function"?atob:o;function o(s){var l,c,d,u,h,p,f,m,v=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$/,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",A="";if(!v.test(s))throw new Error("Non base64 encoded input passed to window.atob polyfill");m=0;do u=y.indexOf(s.charAt(m++)),h=y.indexOf(s.charAt(m++)),p=y.indexOf(s.charAt(m++)),f=y.indexOf(s.charAt(m++)),l=(u&63)<<2|h>>4&3,c=(h&15)<<4|p>>2&15,d=(p&3)<<6|f&63,A+=String.fromCharCode(l)+(c?String.fromCharCode(c):"")+(d?String.fromCharCode(d):"");while(m<s.length);return A}n.exports={atob:function(s){return i.call(window,s)},_atob:o}},{}]},{},[13])(13)})}(Or)),Or.exports}var Rc=Pc();const Sc=Cr(Rc);var Lr={exports:{}},Ui;function Dc(){return Ui||(Ui=1,function(r,t){(function(e){r.exports=e()})(function(){return function(){function e(n,a,i){function o(c,d){if(!a[c]){if(!n[c]){var u=typeof we=="function"&&we;if(!d&&u)return u(c,!0);if(s)return s(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var p=a[c]={exports:{}};n[c][0].call(p.exports,function(f){var m=n[c][1][f];return o(m||f)},p,p.exports,e,n,a,i)}return a[c].exports}for(var s=typeof we=="function"&&we,l=0;l<i.length;l++)o(i[l]);return o}return e}()({1:[function(e,n,a){var i={};function o(s){var l,c=JSON.stringify(s);if(!s.forceScriptReload&&(l=i[c],l))return l;var d=document.createElement("script"),u=s.dataAttributes||{},h=s.container||document.head;return d.src=s.src,d.id=s.id||"",d.async=!0,s.type&&d.setAttribute("type","".concat(s.type)),s.crossorigin&&d.setAttribute("crossorigin","".concat(s.crossorigin)),s.integrity&&d.setAttribute("integrity","".concat(s.integrity)),Object.keys(u).forEach(function(p){d.setAttribute("data-".concat(p),"".concat(u[p]))}),l=new Promise(function(p,f){d.addEventListener("load",function(){p(d)}),d.addEventListener("error",function(){f(new Error("".concat(s.src," failed to load.")))}),d.addEventListener("abort",function(){f(new Error("".concat(s.src," has aborted.")))}),h.appendChild(d)}),i[c]=l,l}o.clearCache=function(){i={}},n.exports=o},{}],2:[function(e,n,a){n.exports=e("./dist/load-script")},{"./dist/load-script":1}],3:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];setTimeout(function(){try{o.apply(void 0,s)}catch(c){console.log("Error in callback function"),console.log(c)}},1)}}a.deferred=i},{}],4:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){var s=!1;return function(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];s||(s=!0,o.apply(void 0,l))}}a.once=i},{}],5:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o,s){if(!s)return o;o.then(function(l){return s(null,l)}).catch(function(l){return s(l)})}a.promiseOrCallback=i},{}],6:[function(e,n,a){var i=e("./lib/deferred"),o=e("./lib/once"),s=e("./lib/promise-or-callback");function l(c){return function(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var h,p=d[d.length-1];return typeof p=="function"&&(h=d.pop(),h=o.once(i.deferred(h))),s.promiseOrCallback(c.apply(this,d),h)}}l.wrapPrototype=function(c,d){d===void 0&&(d={});var u=d.ignoreMethods||[],h=d.transformPrivateMethods===!0,p=Object.getOwnPropertyNames(c.prototype).filter(function(f){var m,v=f!=="constructor"&&typeof c.prototype[f]=="function",y=u.indexOf(f)===-1;return h?m=!0:m=f.charAt(0)!=="_",v&&m&&y});return p.forEach(function(f){var m=c.prototype[f];c.prototype[f]=l(m)}),c},n.exports=l},{"./lib/deferred":3,"./lib/once":4,"./lib/promise-or-callback":5}],7:[function(e,n,a){(function(i,o){typeof a=="object"&&typeof n!="undefined"?o(a):(i=typeof globalThis!="undefined"?globalThis:i||self,o(i.loadAxo={}))})(this,function(i){/*! *****************************************************************************
|
|
388
388
|
Copyright (c) Microsoft Corporation.
|
|
389
389
|
|
|
390
390
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -397,7 +397,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
397
397
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
398
398
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
399
399
|
PERFORMANCE OF THIS SOFTWARE.
|
|
400
|
-
***************************************************************************** */function s(P,T,b,R){function S(C){return C instanceof b?C:new b(function(F){F(C)})}return new(b||(b=Promise))(function(C,F){function Q(ae){try{D(R.next(ae))}catch(Pe){F(Pe)}}function ie(ae){try{D(R.throw(ae))}catch(Pe){F(Pe)}}function D(ae){ae.done?C(ae.value):S(ae.value).then(Q,ie)}D((R=R.apply(P,[])).next())})}function o(P,T){var b={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},R,S,C,F;return F={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(F[Symbol.iterator]=function(){return this}),F;function Q(D){return function(ae){return ie([D,ae])}}function ie(D){if(R)throw new TypeError("Generator is already executing.");for(;b;)try{if(R=1,S&&(C=D[0]&2?S.return:D[0]?S.throw||((C=S.return)&&C.call(S),0):S.next)&&!(C=C.call(S,D[1])).done)return C;switch(S=0,C&&(D=[D[0]&2,C.value]),D[0]){case 0:case 1:C=D;break;case 4:return b.label++,{value:D[1],done:!1};case 5:b.label++,S=D[1],D=[0];continue;case 7:D=b.ops.pop(),b.trys.pop();continue;default:if(C=b.trys,!(C=C.length>0&&C[C.length-1])&&(D[0]===6||D[0]===2)){b=0;continue}if(D[0]===3&&(!C||D[1]>C[0]&&D[1]<C[3])){b.label=D[1];break}if(D[0]===6&&b.label<C[1]){b.label=C[1],C=D;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(D);break}C[2]&&b.ops.pop(),b.trys.pop();continue}D=T.call(P,b)}catch(ae){D=[6,ae],S=0}finally{R=C=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}}var l={},d={};function c(P){var T,b=JSON.stringify(P);if(!P.forceScriptReload&&(T=d[b],T))return T;var R=document.createElement("script"),S=P.dataAttributes||{},C=P.container||document.head;return R.src=P.src,R.id=P.id||"",R.async=!0,P.type&&R.setAttribute("type","".concat(P.type)),P.crossorigin&&R.setAttribute("crossorigin","".concat(P.crossorigin)),Object.keys(S).forEach(function(F){R.setAttribute("data-".concat(F),"".concat(S[F]))}),T=new Promise(function(F,Q){R.addEventListener("load",function(){F(R)}),R.addEventListener("error",function(){Q(new Error("".concat(P.src," failed to load.")))}),R.addEventListener("abort",function(){Q(new Error("".concat(P.src," has aborted.")))}),C.appendChild(R)}),d[b]=T,T}c.clearCache=function(){d={}};var u=c,h=function(T){var b=document.querySelector('link[href="'.concat(T.href,'"]'));if(b)return Promise.resolve(b);b=document.createElement("link");var R=T.container||document.head;return b.setAttribute("rel","stylesheet"),b.setAttribute("type","text/css"),b.setAttribute("href",T.href),b.setAttribute("id",T.id),R.firstChild?R.insertBefore(b,R.firstChild):R.appendChild(b),Promise.resolve(b)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=m=l.loadScript=void 0;var p=u,m=l.loadScript=p,y=h;l.loadStylesheet=y;var f="https://www.paypalobjects.com",g={minified:"axo.min",unminified:"axo"},E="fastlane",N="connect-boba",w="".concat(N,"/locales/"),I={AXO_ASSET_NAME:g,AXO_ASSET_PATH:N,LOCALE_PATH:w,CDNX_PROD:f},x={BT:"BT",PPCP:"PPCP"};function _(){return typeof window.define=="function"&&!!window.define.amd}function L(){return _()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function V(P,T,b){var R,S;return b===void 0&&(b=!0),s(this,void 0,void 0,function(){var C,F;return o(this,function(Q){if(C=G(),C&&C[P.module]){if(T&&((R=C[P.module])===null||R===void 0?void 0:R.VERSION)!==T)throw F=(S=C[P.module])===null||S===void 0?void 0:S.VERSION,new Error("".concat(P.module," already loaded with version ").concat(F," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(P.module," without specifying version"));return[2,H(P,T,b)]})})}function H(P,T,b){if(b===void 0&&(b=!0),_()){var R=b?P.amdModule.minified:P.amdModule.unminified;return new Promise(function(C,F){window.require([R],C,F)})}var S=b?P.script.minified:P.script.unminified;return m({id:"".concat(P.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(S)})}function G(){return window==null?void 0:window.braintree}var j,B,U={Client:"client",HostedCardFields:"hostedFields"},J="braintree",z=(j={},j[U.Client]="client",j[U.HostedCardFields]="hosted-fields",j),W=(B={},B[U.Client]={id:"client",module:U.Client,amdModule:{unminified:"".concat(J,"/").concat(z[U.Client]),minified:"".concat(J,"/").concat(z[U.Client],".min")},script:{unminified:"".concat(z[U.Client],".js"),minified:"".concat(z[U.Client],".min.js")}},B[U.HostedCardFields]={id:"hcf",module:U.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(z[U.HostedCardFields]),minified:"".concat(J,"/").concat(z[U.HostedCardFields],".min")},script:{unminified:"".concat(z[U.HostedCardFields],".js"),minified:"".concat(z[U.HostedCardFields],".min.js")}},B);function q(P){return s(this,void 0,void 0,function(){var T,b,R,S;return o(this,function(C){switch(C.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=P.btSdkVersion,b=P.minified,R=O(P),S=M(P),P.platform!==x.BT?[3,2]:[4,Promise.all([V(W.hostedFields,T,b),k(R,b)])];case 1:return C.sent(),[3,5];case 2:return P.platform!==x.PPCP?[3,4]:[4,Promise.all([V(W.client,T,b),V(W.hostedFields,T,b),k(R,b)])];case 3:return C.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:S}}]}})})}function k(P,T){var b;if(T===void 0&&(T=!0),_()){L()&&requirejs.config({paths:(b={},b[E]=P,b)});var R="".concat(E,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(S,C){window.require([R],S,C)})}return m({id:"axo-id",src:P,forceScriptReload:!0})}function v(P){var T=P.assetUrl,b=P.bundleId;return b?"https://cdn-".concat(b,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function O(P){var T,b=(P==null?void 0:P.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,R=_()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(b,".js");return v({assetUrl:R,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function M(P){var T;return v({assetUrl:I.LOCALE_PATH,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}n.constants=I,n.loadAxo=q})},{}],8:[function(a,r,i){var n=a("../lib/braintree-error");r.exports={DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS:{type:n.types.MERCHANT,code:"DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS",message:"Data Collector must be created with Kount and/or PayPal."}}},{"../lib/braintree-error":13}],9:[function(a,r,i){var n=a("../lib/constants").FRAUDNET_FNCLS,s=a("../lib/constants").FRAUDNET_SOURCE,o=a("../lib/constants").FRAUDNET_URL,l=a("../lib/assets").loadScript,d=32,c;function u(g){var E=new p;return g=g||{},!g.sessionId&&c?(E.sessionId=c,Promise.resolve(E)):E.initialize(g)}function h(){c=null}function p(){}p.prototype.initialize=function(g){var E=g.environment,N=this;return this.sessionId=g.sessionId||g.clientSessionId,this.sessionId&&(this.sessionId=this.sessionId.substring(0,d)),g.sessionId||(c=this.sessionId),this._beaconId=y(this.sessionId),this._parameterBlock=f(this.sessionId,this._beaconId,E,g.cb1),l({src:o}).then(function(w){return N._thirdPartyBlock=w,N}).catch(function(){return null})},p.prototype.teardown=function(){m(document.querySelector('iframe[title="ppfniframe"]')),m(document.querySelector('iframe[title="pbf"]')),m(this._parameterBlock),m(this._thirdPartyBlock)};function m(g){g&&g.parentNode&&g.parentNode.removeChild(g)}function y(g){var E=new Date().getTime()/1e3;return"https://b.stats.paypal.com/counter.cgi?i=127.0.0.1&p="+g+"&t="+E+"&a=14"}function f(g,E,N,w){var I=document.body.appendChild(document.createElement("script")),x={f:g,s,b:E,cb1:w};return N!=="production"&&(x.sandbox=!0),I.type="application/json",I.setAttribute("fncls",n),I.text=JSON.stringify(x),I}r.exports={setup:u,clearSessionIdCache:h}},{"../lib/assets":11,"../lib/constants":14}],10:[function(a,r,i){var n=a("./fraudnet"),s=a("../lib/braintree-error"),o=a("../lib/basic-component-verification"),l=a("../lib/create-deferred-client"),d=a("../lib/create-assets-url"),c=a("../lib/methods"),u=a("../lib/convert-methods-to-error"),h="3.126.0",p=a("@braintree/wrap-promise"),m=a("./errors");function y(E){var N="Data Collector",w={_instances:[]},I={};return o.verify({name:N,client:E.client,authorization:E.authorization}).then(function(){return w._instantiatedWithAClient=!E.useDeferredClient,w._createPromise=l.create({authorization:E.authorization,client:E.client,debug:E.debug,assetsUrl:d.create(E.authorization),name:N}).then(function(x){var _=x.getConfiguration();return n.setup({sessionId:E.riskCorrelationId||E.clientMetadataId||E.correlationId,clientSessionId:_.analyticsMetadata.sessionId,environment:_.gatewayConfiguration.environment,cb1:E.cb1}).then(function(L){L&&(I.correlation_id=L.sessionId,w._instances.push(L))})}).then(function(){return w._instances.length===0?Promise.reject(new s(m.DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS)):(w.deviceData=JSON.stringify(I),w.rawDeviceData=I,w)}),w.teardown=f(w),w.getDeviceData=g(w),w._instantiatedWithAClient?w._createPromise:w})}function f(E){return p(function(){return E._createPromise.then(function(){E._instances.forEach(function(w){w&&w.teardown()}),u(E,c(E))})})}function g(E){return p(function(w){return w=w||{},E._createPromise.then(function(){return w.raw?Promise.resolve(E.rawDeviceData):Promise.resolve(E.deviceData)})})}r.exports={create:p(y),VERSION:h}},{"../lib/basic-component-verification":12,"../lib/braintree-error":13,"../lib/convert-methods-to-error":15,"../lib/create-assets-url":16,"../lib/create-deferred-client":17,"../lib/methods":20,"./errors":8,"./fraudnet":9,"@braintree/wrap-promise":6}],11:[function(a,r,i){var n=a("@braintree/asset-loader/load-script"),s=a("@paypal/accelerated-checkout-loader");r.exports={loadScript:n,loadFastlane:s.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":7}],12:[function(a,r,i){var n=a("./braintree-error"),s=a("./errors"),o="3.126.0";function l(d){var c,u,h;return d?(h=d.name,c=d.client,u=d.authorization,!c&&!u?Promise.reject(new n({type:s.INSTANTIATION_OPTION_REQUIRED.type,code:s.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+h+"."})):!u&&c.getVersion()!==o?Promise.reject(new n({type:s.INCOMPATIBLE_VERSIONS.type,code:s.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+c.getVersion()+") and "+h+" (version "+o+") components must be from the same SDK version."})):Promise.resolve()):Promise.reject(new n({type:s.INVALID_USE_OF_INTERNAL_FUNCTION.type,code:s.INVALID_USE_OF_INTERNAL_FUNCTION.code,message:"Options must be passed to basicComponentVerification function."}))}r.exports={verify:l}},{"./braintree-error":13,"./errors":19}],13:[function(a,r,i){var n=a("./enumerate");function s(o){if(!s.types.hasOwnProperty(o.type))throw new Error(o.type+" is not a valid type.");if(!o.code)throw new Error("Error code required.");if(!o.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=o.code,this.message=o.message,this.type=o.type,this.details=o.details}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.types=n(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),s.findRootError=function(o){return o instanceof s&&o.details&&o.details.originalError?s.findRootError(o.details.originalError):o},r.exports=s},{"./enumerate":18}],14:[function(a,r,i){var n="3.126.0",s="web",o={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},d={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};r.exports={ANALYTICS_PREFIX:s+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:o,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:d,INTEGRATION_TIMEOUT_MS:6e4,VERSION:n,INTEGRATION:"custom",SOURCE:"client",PLATFORM:s,BRAINTREE_LIBRARY_VERSION:"braintree/"+s+"/"+n,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],15:[function(a,r,i){var n=a("./braintree-error"),s=a("./errors");r.exports=function(o,l){l.forEach(function(d){o[d]=function(){throw new n({type:s.METHOD_CALLED_AFTER_TEARDOWN.type,code:s.METHOD_CALLED_AFTER_TEARDOWN.code,message:d+" cannot be called after teardown."})}})}},{"./braintree-error":13,"./errors":19}],16:[function(a,r,i){var n=a("./constants").ASSETS_URLS;function s(o){return n.production}r.exports={create:s}},{"./constants":14}],17:[function(a,r,i){var n=a("./braintree-error"),s=a("./assets"),o=a("./errors"),l="3.126.0";function d(c){var u=Promise.resolve();return c.client?Promise.resolve(c.client):(window.braintree&&window.braintree.client||(u=s.loadScript({src:c.assetsUrl+"/web/"+l+"/js/client.min.js"}).catch(function(h){return Promise.reject(new n({type:o.CLIENT_SCRIPT_FAILED_TO_LOAD.type,code:o.CLIENT_SCRIPT_FAILED_TO_LOAD.code,message:o.CLIENT_SCRIPT_FAILED_TO_LOAD.message,details:{originalError:h}}))})),u.then(function(){return window.braintree.client.VERSION!==l?Promise.reject(new n({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+c.name+" (version "+l+") components must be from the same SDK version."})):window.braintree.client.create({authorization:c.authorization,debug:c.debug})}))}r.exports={create:d}},{"./assets":11,"./braintree-error":13,"./errors":19}],18:[function(a,r,i){function n(s,o){return o=o==null?"":o,s.reduce(function(l,d){return l[d]=o+d,l},{})}r.exports=n},{}],19:[function(a,r,i){var n=a("./braintree-error");r.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:n.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:n.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:n.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:n.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:n.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":13}],20:[function(a,r,i){r.exports=function(n){return Object.keys(n).filter(function(s){return typeof n[s]=="function"})}},{}]},{},[10])(10)})}(xt)),xt.exports}var Wd=Gd();const $d=At(Wd);var Ot={exports:{}},Fn;function Qd(){return Fn||(Fn=1,function(t,e){(function(a){t.exports=a()})(function(){return function(){function a(r,i,n){function s(d,c){if(!i[d]){if(!r[d]){var u=typeof Ce=="function"&&Ce;if(!c&&u)return u(d,!0);if(o)return o(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var p=i[d]={exports:{}};r[d][0].call(p.exports,function(m){var y=r[d][1][m];return s(y||m)},p,p.exports,a,r,i,n)}return i[d].exports}for(var o=typeof Ce=="function"&&Ce,l=0;l<n.length;l++)s(n[l]);return s}return a}()({1:[function(a,r,i){var n={};function s(o){var l,d=JSON.stringify(o);if(!o.forceScriptReload&&(l=n[d],l))return l;var c=document.createElement("script"),u=o.dataAttributes||{},h=o.container||document.head;return c.src=o.src,c.id=o.id||"",c.async=!0,o.type&&c.setAttribute("type","".concat(o.type)),o.crossorigin&&c.setAttribute("crossorigin","".concat(o.crossorigin)),o.integrity&&c.setAttribute("integrity","".concat(o.integrity)),Object.keys(u).forEach(function(p){c.setAttribute("data-".concat(p),"".concat(u[p]))}),l=new Promise(function(p,m){c.addEventListener("load",function(){p(c)}),c.addEventListener("error",function(){m(new Error("".concat(o.src," failed to load.")))}),c.addEventListener("abort",function(){m(new Error("".concat(o.src," has aborted.")))}),h.appendChild(c)}),n[d]=l,l}s.clearCache=function(){n={}},r.exports=s},{}],2:[function(a,r,i){r.exports=a("./dist/load-script")},{"./dist/load-script":1}],3:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,/Android/i.test(s)}},{}],4:[function(a,r,i){var n=a("./is-edge"),s=a("./is-samsung"),o=a("./is-duckduckgo"),l=a("./is-opera"),d=a("./is-silk");r.exports=function(u){return u=u||window.navigator.userAgent,(u.indexOf("Chrome")!==-1||u.indexOf("CriOS")!==-1)&&!n(u)&&!s(u)&&!o(u)&&!l(u)&&!d(u)}},{"./is-duckduckgo":5,"./is-edge":6,"./is-opera":14,"./is-samsung":15,"./is-silk":16}],5:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,s.indexOf("DuckDuckGo/")!==-1}},{}],6:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,s.indexOf("Edge/")!==-1||s.indexOf("Edg/")!==-1}},{}],7:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,/FxiOS/i.test(s)}},{}],8:[function(a,r,i){var n=a("./is-ios");function s(o){return/\bGSA\b/.test(o)}r.exports=function(l){return l=l||window.navigator.userAgent,n(l)&&s(l)}},{"./is-ios":12}],9:[function(a,r,i){var n=a("./is-ios"),s=a("./is-ios-firefox"),o=/webkit/i;function l(u){return o.test(u)}function d(u){return u.indexOf("CriOS")>-1}function c(u){return u.indexOf("FBAN")>-1}r.exports=function(h){return h=h||window.navigator.userAgent,n(h)&&l(h)&&!d(h)&&!s(h)&&!c(h)}},{"./is-ios":12,"./is-ios-firefox":7}],10:[function(a,r,i){var n=a("./is-ios"),s=a("./is-ios-google-search-app");r.exports=function(l){return l=l||window.navigator.userAgent,n(l)?s(l)?!0:/.+AppleWebKit(?!.*Safari)/i.test(l):!1}},{"./is-ios":12,"./is-ios-google-search-app":8}],11:[function(a,r,i){var n=a("./is-ios-webview");r.exports=function(o,l){return l=typeof l!="undefined"?l:window.statusbar.visible,n(o)&&l}},{"./is-ios-webview":10}],12:[function(a,r,i){var n=a("./is-ipados");r.exports=function(o,l,d){l===void 0&&(l=!0),o=o||window.navigator.userAgent;var c=/iPhone|iPod|iPad/i.test(o);return l?c||n(o,d):c}},{"./is-ipados":13}],13:[function(a,r,i){r.exports=function(s,o){return s=s||window.navigator.userAgent,o=o||window.document,/Mac|iPad/i.test(s)&&"ontouchend"in o}},{}],14:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,s.indexOf("OPR/")!==-1||s.indexOf("Opera/")!==-1||s.indexOf("OPT/")!==-1}},{}],15:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,/SamsungBrowser/i.test(s)}},{}],16:[function(a,r,i){r.exports=function(s){return s=s||window.navigator.userAgent,s.indexOf("Silk/")!==-1}},{}],17:[function(a,r,i){var n=48,s=a("./is-android"),o=a("./is-ios-firefox"),l=a("./is-ios-webview"),d=a("./is-chrome"),c=a("./is-samsung"),u=a("./is-duckduckgo");function h(f){f=f||window.navigator.userAgent;var g=f.match(/CriOS\/(\d+)\./);if(!g)return!1;var E=parseInt(g[1],10);return E<n}function p(f){return f=f||window.navigator.userAgent,f.indexOf("Opera Mini")>-1}function m(f){var g=/Version\/[\d.]+/i;return f=f||window.navigator.userAgent,s(f)?g.test(f)&&!p(f)&&!u(f):!1}function y(f){return!d(f)&&!c(f)&&/samsung/i.test(f)}r.exports=function(g){return g=g||window.navigator.userAgent,!(l(g)||o(g)||m(g)||p(g)||h(g)||y(g))}},{"./is-android":3,"./is-chrome":4,"./is-duckduckgo":5,"./is-ios-firefox":7,"./is-ios-webview":10,"./is-samsung":15}],18:[function(a,r,i){r.exports=a("./dist/is-android")},{"./dist/is-android":3}],19:[function(a,r,i){r.exports=a("./dist/is-chrome")},{"./dist/is-chrome":4}],20:[function(a,r,i){r.exports=a("./dist/is-ios-safari")},{"./dist/is-ios-safari":9}],21:[function(a,r,i){r.exports=a("./dist/is-ios-webview")},{"./dist/is-ios-webview":10}],22:[function(a,r,i){r.exports=a("./dist/is-ios-wkwebview")},{"./dist/is-ios-wkwebview":11}],23:[function(a,r,i){r.exports=a("./dist/is-ios")},{"./dist/is-ios":12}],24:[function(a,r,i){r.exports=a("./dist/is-samsung")},{"./dist/is-samsung":15}],25:[function(a,r,i){r.exports=a("./dist/supports-popups")},{"./dist/supports-popups":17}],26:[function(a,r,i){var n=typeof Promise!="undefined"?Promise:null,s=function(){function o(l){var d=this;if(typeof l=="function"){this._promise=new o.Promise(l);return}this._promise=new o.Promise(function(c,u){d._resolveFunction=c,d._rejectFunction=u}),l=l||{},this._onResolve=l.onResolve||o.defaultOnResolve,this._onReject=l.onReject||o.defaultOnReject,o.shouldCatchExceptions(l)&&this._promise.catch(function(){}),this._resetState()}return o.defaultOnResolve=function(l){return o.Promise.resolve(l)},o.defaultOnReject=function(l){return o.Promise.reject(l)},o.setPromise=function(l){o.Promise=l},o.shouldCatchExceptions=function(l){return l.hasOwnProperty("suppressUnhandledPromiseMessage")?!!l.suppressUnhandledPromiseMessage:!!o.suppressUnhandledPromiseMessage},o.all=function(l){return o.Promise.all(l)},o.allSettled=function(l){return o.Promise.allSettled(l)},o.race=function(l){return o.Promise.race(l)},o.reject=function(l){return o.Promise.reject(l)},o.resolve=function(l){return o.Promise.resolve(l)},o.prototype.then=function(){for(var l,d=[],c=0;c<arguments.length;c++)d[c]=arguments[c];return(l=this._promise).then.apply(l,d)},o.prototype.catch=function(){for(var l,d=[],c=0;c<arguments.length;c++)d[c]=arguments[c];return(l=this._promise).catch.apply(l,d)},o.prototype.resolve=function(l){var d=this;return this.isFulfilled?this:(this._setResolved(),o.Promise.resolve().then(function(){return d._onResolve(l)}).then(function(c){d._resolveFunction(c)}).catch(function(c){d._resetState(),d.reject(c)}),this)},o.prototype.reject=function(l){var d=this;return this.isFulfilled?this:(this._setRejected(),o.Promise.resolve().then(function(){return d._onReject(l)}).then(function(c){d._setResolved(),d._resolveFunction(c)}).catch(function(c){return d._rejectFunction(c)}),this)},o.prototype._resetState=function(){this.isFulfilled=!1,this.isResolved=!1,this.isRejected=!1},o.prototype._setResolved=function(){this.isFulfilled=!0,this.isResolved=!0,this.isRejected=!1},o.prototype._setRejected=function(){this.isFulfilled=!0,this.isResolved=!1,this.isRejected=!0},o.Promise=n,o}();r.exports=s},{}],27:[function(a,r,i){var n=a("./lib/set-attributes"),s=a("./lib/default-attributes"),o=a("./lib/assign");r.exports=function(d){d===void 0&&(d={});var c=document.createElement("iframe"),u=(0,o.assign)({},s.defaultAttributes,d);return u.style&&typeof u.style!="string"&&((0,o.assign)(c.style,u.style),delete u.style),(0,n.setAttributes)(c,u),c.getAttribute("id")||(c.id=c.name),c}},{"./lib/assign":28,"./lib/default-attributes":29,"./lib/set-attributes":30}],28:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.assign=void 0;function n(s){for(var o=[],l=1;l<arguments.length;l++)o[l-1]=arguments[l];return o.forEach(function(d){typeof d=="object"&&Object.keys(d).forEach(function(c){s[c]=d[c]})}),s}i.assign=n},{}],29:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.defaultAttributes=void 0,i.defaultAttributes={src:"about:blank",frameBorder:0,allowtransparency:!0,scrolling:"no"}},{}],30:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.setAttributes=void 0;function n(s,o){for(var l in o)if(o.hasOwnProperty(l)){var d=o[l];d==null?s.removeAttribute(l):s.setAttribute(l,d)}}i.setAttributes=n},{}],31:[function(a,r,i){function n(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(s){var o=Math.random()*16|0,l=s==="x"?o:o&3|8;return l.toString(16)})}r.exports=n},{}],32:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s){return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];setTimeout(function(){try{s.apply(void 0,o)}catch(d){console.log("Error in callback function"),console.log(d)}},1)}}i.deferred=n},{}],33:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s){var o=!1;return function(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];o||(o=!0,s.apply(void 0,l))}}i.once=n},{}],34:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0});function n(s,o){if(!o)return s;s.then(function(l){return o(null,l)}).catch(function(l){return o(l)})}i.promiseOrCallback=n},{}],35:[function(a,r,i){var n=a("./lib/deferred"),s=a("./lib/once"),o=a("./lib/promise-or-callback");function l(d){return function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var h,p=c[c.length-1];return typeof p=="function"&&(h=c.pop(),h=s.once(n.deferred(h))),o.promiseOrCallback(d.apply(this,c),h)}}l.wrapPrototype=function(d,c){c===void 0&&(c={});var u=c.ignoreMethods||[],h=c.transformPrivateMethods===!0,p=Object.getOwnPropertyNames(d.prototype).filter(function(m){var y,f=m!=="constructor"&&typeof d.prototype[m]=="function",g=u.indexOf(m)===-1;return h?y=!0:y=m.charAt(0)!=="_",f&&y&&g});return p.forEach(function(m){var y=d.prototype[m];d.prototype[m]=l(y)}),d},r.exports=l},{"./lib/deferred":32,"./lib/once":33,"./lib/promise-or-callback":34}],36:[function(a,r,i){(function(n,s){typeof i=="object"&&typeof r!="undefined"?s(i):(n=typeof globalThis!="undefined"?globalThis:n||self,s(n.loadAxo={}))})(this,function(n){/*! *****************************************************************************
|
|
400
|
+
***************************************************************************** */function o(b,T,_,O){function M(w){return w instanceof _?w:new _(function(j){j(w)})}return new(_||(_=Promise))(function(w,j){function Q(te){try{R(O.next(te))}catch(be){j(be)}}function ae(te){try{R(O.throw(te))}catch(be){j(be)}}function R(te){te.done?w(te.value):M(te.value).then(Q,ae)}R((O=O.apply(b,[])).next())})}function s(b,T){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},O,M,w,j;return j={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function Q(R){return function(te){return ae([R,te])}}function ae(R){if(O)throw new TypeError("Generator is already executing.");for(;_;)try{if(O=1,M&&(w=R[0]&2?M.return:R[0]?M.throw||((w=M.return)&&w.call(M),0):M.next)&&!(w=w.call(M,R[1])).done)return w;switch(M=0,w&&(R=[R[0]&2,w.value]),R[0]){case 0:case 1:w=R;break;case 4:return _.label++,{value:R[1],done:!1};case 5:_.label++,M=R[1],R=[0];continue;case 7:R=_.ops.pop(),_.trys.pop();continue;default:if(w=_.trys,!(w=w.length>0&&w[w.length-1])&&(R[0]===6||R[0]===2)){_=0;continue}if(R[0]===3&&(!w||R[1]>w[0]&&R[1]<w[3])){_.label=R[1];break}if(R[0]===6&&_.label<w[1]){_.label=w[1],w=R;break}if(w&&_.label<w[2]){_.label=w[2],_.ops.push(R);break}w[2]&&_.ops.pop(),_.trys.pop();continue}R=T.call(b,_)}catch(te){R=[6,te],M=0}finally{O=w=0}if(R[0]&5)throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}}var l={},c={};function d(b){var T,_=JSON.stringify(b);if(!b.forceScriptReload&&(T=c[_],T))return T;var O=document.createElement("script"),M=b.dataAttributes||{},w=b.container||document.head;return O.src=b.src,O.id=b.id||"",O.async=!0,b.type&&O.setAttribute("type","".concat(b.type)),b.crossorigin&&O.setAttribute("crossorigin","".concat(b.crossorigin)),Object.keys(M).forEach(function(j){O.setAttribute("data-".concat(j),"".concat(M[j]))}),T=new Promise(function(j,Q){O.addEventListener("load",function(){j(O)}),O.addEventListener("error",function(){Q(new Error("".concat(b.src," failed to load.")))}),O.addEventListener("abort",function(){Q(new Error("".concat(b.src," has aborted.")))}),w.appendChild(O)}),c[_]=T,T}d.clearCache=function(){c={}};var u=d,h=function(T){var _=document.querySelector('link[href="'.concat(T.href,'"]'));if(_)return Promise.resolve(_);_=document.createElement("link");var O=T.container||document.head;return _.setAttribute("rel","stylesheet"),_.setAttribute("type","text/css"),_.setAttribute("href",T.href),_.setAttribute("id",T.id),O.firstChild?O.insertBefore(_,O.firstChild):O.appendChild(_),Promise.resolve(_)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=f=l.loadScript=void 0;var p=u,f=l.loadScript=p,m=h;l.loadStylesheet=m;var v="https://www.paypalobjects.com",y={minified:"axo.min",unminified:"axo"},A="fastlane",x="connect-boba",k="".concat(x,"/locales/"),I={AXO_ASSET_NAME:y,AXO_ASSET_PATH:x,LOCALE_PATH:k,CDNX_PROD:v},L={BT:"BT",PPCP:"PPCP"};function N(){return typeof window.define=="function"&&!!window.define.amd}function S(){return N()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function U(b,T,_){var O,M;return _===void 0&&(_=!0),o(this,void 0,void 0,function(){var w,j;return s(this,function(Q){if(w=$(),w&&w[b.module]){if(T&&((O=w[b.module])===null||O===void 0?void 0:O.VERSION)!==T)throw j=(M=w[b.module])===null||M===void 0?void 0:M.VERSION,new Error("".concat(b.module," already loaded with version ").concat(j," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(b.module," without specifying version"));return[2,q(b,T,_)]})})}function q(b,T,_){if(_===void 0&&(_=!0),N()){var O=_?b.amdModule.minified:b.amdModule.unminified;return new Promise(function(w,j){window.require([O],w,j)})}var M=_?b.script.minified:b.script.unminified;return f({id:"".concat(b.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(M)})}function $(){return window==null?void 0:window.braintree}var F,z,B={Client:"client",HostedCardFields:"hostedFields"},J="braintree",D=(F={},F[B.Client]="client",F[B.HostedCardFields]="hosted-fields",F),Y=(z={},z[B.Client]={id:"client",module:B.Client,amdModule:{unminified:"".concat(J,"/").concat(D[B.Client]),minified:"".concat(J,"/").concat(D[B.Client],".min")},script:{unminified:"".concat(D[B.Client],".js"),minified:"".concat(D[B.Client],".min.js")}},z[B.HostedCardFields]={id:"hcf",module:B.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(D[B.HostedCardFields]),minified:"".concat(J,"/").concat(D[B.HostedCardFields],".min")},script:{unminified:"".concat(D[B.HostedCardFields],".js"),minified:"".concat(D[B.HostedCardFields],".min.js")}},z);function H(b){return o(this,void 0,void 0,function(){var T,_,O,M;return s(this,function(w){switch(w.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=b.btSdkVersion,_=b.minified,O=P(b),M=V(b),b.platform!==L.BT?[3,2]:[4,Promise.all([U(Y.hostedFields,T,_),E(O,_)])];case 1:return w.sent(),[3,5];case 2:return b.platform!==L.PPCP?[3,4]:[4,Promise.all([U(Y.client,T,_),U(Y.hostedFields,T,_),E(O,_)])];case 3:return w.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:M}}]}})})}function E(b,T){var _;if(T===void 0&&(T=!0),N()){S()&&requirejs.config({paths:(_={},_[A]=b,_)});var O="".concat(A,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(M,w){window.require([O],M,w)})}return f({id:"axo-id",src:b,forceScriptReload:!0})}function g(b){var T=b.assetUrl,_=b.bundleId;return _?"https://cdn-".concat(_,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function P(b){var T,_=(b==null?void 0:b.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,O=N()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(_,".js");return g({assetUrl:O,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function V(b){var T;return g({assetUrl:I.LOCALE_PATH,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}i.constants=I,i.loadAxo=H})},{}],8:[function(e,n,a){var i=e("../lib/braintree-error");n.exports={DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS:{type:i.types.MERCHANT,code:"DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS",message:"Data Collector must be created with Kount and/or PayPal."}}},{"../lib/braintree-error":13}],9:[function(e,n,a){var i=e("../lib/constants").FRAUDNET_FNCLS,o=e("../lib/constants").FRAUDNET_SOURCE,s=e("../lib/constants").FRAUDNET_URL,l=e("../lib/assets").loadScript,c=32,d;function u(y){var A=new p;return y=y||{},!y.sessionId&&d?(A.sessionId=d,Promise.resolve(A)):A.initialize(y)}function h(){d=null}function p(){}p.prototype.initialize=function(y){var A=y.environment,x=this;return this.sessionId=y.sessionId||y.clientSessionId,this.sessionId&&(this.sessionId=this.sessionId.substring(0,c)),y.sessionId||(d=this.sessionId),this._beaconId=m(this.sessionId),this._parameterBlock=v(this.sessionId,this._beaconId,A,y.cb1),l({src:s}).then(function(k){return x._thirdPartyBlock=k,x}).catch(function(){return null})},p.prototype.teardown=function(){f(document.querySelector('iframe[title="ppfniframe"]')),f(document.querySelector('iframe[title="pbf"]')),f(this._parameterBlock),f(this._thirdPartyBlock)};function f(y){y&&y.parentNode&&y.parentNode.removeChild(y)}function m(y){var A=new Date().getTime()/1e3;return"https://b.stats.paypal.com/counter.cgi?i=127.0.0.1&p="+y+"&t="+A+"&a=14"}function v(y,A,x,k){var I=document.body.appendChild(document.createElement("script")),L={f:y,s:o,b:A,cb1:k};return x!=="production"&&(L.sandbox=!0),I.type="application/json",I.setAttribute("fncls",i),I.text=JSON.stringify(L),I}n.exports={setup:u,clearSessionIdCache:h}},{"../lib/assets":11,"../lib/constants":14}],10:[function(e,n,a){var i=e("./fraudnet"),o=e("../lib/braintree-error"),s=e("../lib/basic-component-verification"),l=e("../lib/create-deferred-client"),c=e("../lib/create-assets-url"),d=e("../lib/methods"),u=e("../lib/convert-methods-to-error"),h="3.126.0",p=e("@braintree/wrap-promise"),f=e("./errors");function m(A){var x="Data Collector",k={_instances:[]},I={};return s.verify({name:x,client:A.client,authorization:A.authorization}).then(function(){return k._instantiatedWithAClient=!A.useDeferredClient,k._createPromise=l.create({authorization:A.authorization,client:A.client,debug:A.debug,assetsUrl:c.create(A.authorization),name:x}).then(function(L){var N=L.getConfiguration();return i.setup({sessionId:A.riskCorrelationId||A.clientMetadataId||A.correlationId,clientSessionId:N.analyticsMetadata.sessionId,environment:N.gatewayConfiguration.environment,cb1:A.cb1}).then(function(S){S&&(I.correlation_id=S.sessionId,k._instances.push(S))})}).then(function(){return k._instances.length===0?Promise.reject(new o(f.DATA_COLLECTOR_REQUIRES_CREATE_OPTIONS)):(k.deviceData=JSON.stringify(I),k.rawDeviceData=I,k)}),k.teardown=v(k),k.getDeviceData=y(k),k._instantiatedWithAClient?k._createPromise:k})}function v(A){return p(function(){return A._createPromise.then(function(){A._instances.forEach(function(k){k&&k.teardown()}),u(A,d(A))})})}function y(A){return p(function(k){return k=k||{},A._createPromise.then(function(){return k.raw?Promise.resolve(A.rawDeviceData):Promise.resolve(A.deviceData)})})}n.exports={create:p(m),VERSION:h}},{"../lib/basic-component-verification":12,"../lib/braintree-error":13,"../lib/convert-methods-to-error":15,"../lib/create-assets-url":16,"../lib/create-deferred-client":17,"../lib/methods":20,"./errors":8,"./fraudnet":9,"@braintree/wrap-promise":6}],11:[function(e,n,a){var i=e("@braintree/asset-loader/load-script"),o=e("@paypal/accelerated-checkout-loader");n.exports={loadScript:i,loadFastlane:o.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":7}],12:[function(e,n,a){var i=e("./braintree-error"),o=e("./errors"),s="3.126.0";function l(c){var d,u,h;return c?(h=c.name,d=c.client,u=c.authorization,!d&&!u?Promise.reject(new i({type:o.INSTANTIATION_OPTION_REQUIRED.type,code:o.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+h+"."})):!u&&d.getVersion()!==s?Promise.reject(new i({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+d.getVersion()+") and "+h+" (version "+s+") components must be from the same SDK version."})):Promise.resolve()):Promise.reject(new i({type:o.INVALID_USE_OF_INTERNAL_FUNCTION.type,code:o.INVALID_USE_OF_INTERNAL_FUNCTION.code,message:"Options must be passed to basicComponentVerification function."}))}n.exports={verify:l}},{"./braintree-error":13,"./errors":19}],13:[function(e,n,a){var i=e("./enumerate");function o(s){if(!o.types.hasOwnProperty(s.type))throw new Error(s.type+" is not a valid type.");if(!s.code)throw new Error("Error code required.");if(!s.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=s.code,this.message=s.message,this.type=s.type,this.details=s.details}o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o.types=i(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),o.findRootError=function(s){return s instanceof o&&s.details&&s.details.originalError?o.findRootError(s.details.originalError):s},n.exports=o},{"./enumerate":18}],14:[function(e,n,a){var i="3.126.0",o="web",s={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},c={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};n.exports={ANALYTICS_PREFIX:o+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:s,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:c,INTEGRATION_TIMEOUT_MS:6e4,VERSION:i,INTEGRATION:"custom",SOURCE:"client",PLATFORM:o,BRAINTREE_LIBRARY_VERSION:"braintree/"+o+"/"+i,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],15:[function(e,n,a){var i=e("./braintree-error"),o=e("./errors");n.exports=function(s,l){l.forEach(function(c){s[c]=function(){throw new i({type:o.METHOD_CALLED_AFTER_TEARDOWN.type,code:o.METHOD_CALLED_AFTER_TEARDOWN.code,message:c+" cannot be called after teardown."})}})}},{"./braintree-error":13,"./errors":19}],16:[function(e,n,a){var i=e("./constants").ASSETS_URLS;function o(s){return i.production}n.exports={create:o}},{"./constants":14}],17:[function(e,n,a){var i=e("./braintree-error"),o=e("./assets"),s=e("./errors"),l="3.126.0";function c(d){var u=Promise.resolve();return d.client?Promise.resolve(d.client):(window.braintree&&window.braintree.client||(u=o.loadScript({src:d.assetsUrl+"/web/"+l+"/js/client.min.js"}).catch(function(h){return Promise.reject(new i({type:s.CLIENT_SCRIPT_FAILED_TO_LOAD.type,code:s.CLIENT_SCRIPT_FAILED_TO_LOAD.code,message:s.CLIENT_SCRIPT_FAILED_TO_LOAD.message,details:{originalError:h}}))})),u.then(function(){return window.braintree.client.VERSION!==l?Promise.reject(new i({type:s.INCOMPATIBLE_VERSIONS.type,code:s.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+d.name+" (version "+l+") components must be from the same SDK version."})):window.braintree.client.create({authorization:d.authorization,debug:d.debug})}))}n.exports={create:c}},{"./assets":11,"./braintree-error":13,"./errors":19}],18:[function(e,n,a){function i(o,s){return s=s==null?"":s,o.reduce(function(l,c){return l[c]=s+c,l},{})}n.exports=i},{}],19:[function(e,n,a){var i=e("./braintree-error");n.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:i.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:i.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:i.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:i.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":13}],20:[function(e,n,a){n.exports=function(i){return Object.keys(i).filter(function(o){return typeof i[o]=="function"})}},{}]},{},[10])(10)})}(Lr)),Lr.exports}var Mc=Dc();const Vc=Cr(Mc);var Pr={exports:{}},ji;function Fc(){return ji||(ji=1,function(r,t){(function(e){r.exports=e()})(function(){return function(){function e(n,a,i){function o(c,d){if(!a[c]){if(!n[c]){var u=typeof we=="function"&&we;if(!d&&u)return u(c,!0);if(s)return s(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var p=a[c]={exports:{}};n[c][0].call(p.exports,function(f){var m=n[c][1][f];return o(m||f)},p,p.exports,e,n,a,i)}return a[c].exports}for(var s=typeof we=="function"&&we,l=0;l<i.length;l++)o(i[l]);return o}return e}()({1:[function(e,n,a){var i={};function o(s){var l,c=JSON.stringify(s);if(!s.forceScriptReload&&(l=i[c],l))return l;var d=document.createElement("script"),u=s.dataAttributes||{},h=s.container||document.head;return d.src=s.src,d.id=s.id||"",d.async=!0,s.type&&d.setAttribute("type","".concat(s.type)),s.crossorigin&&d.setAttribute("crossorigin","".concat(s.crossorigin)),s.integrity&&d.setAttribute("integrity","".concat(s.integrity)),Object.keys(u).forEach(function(p){d.setAttribute("data-".concat(p),"".concat(u[p]))}),l=new Promise(function(p,f){d.addEventListener("load",function(){p(d)}),d.addEventListener("error",function(){f(new Error("".concat(s.src," failed to load.")))}),d.addEventListener("abort",function(){f(new Error("".concat(s.src," has aborted.")))}),h.appendChild(d)}),i[c]=l,l}o.clearCache=function(){i={}},n.exports=o},{}],2:[function(e,n,a){n.exports=e("./dist/load-script")},{"./dist/load-script":1}],3:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,/Android/i.test(o)}},{}],4:[function(e,n,a){var i=e("./is-edge"),o=e("./is-samsung"),s=e("./is-duckduckgo"),l=e("./is-opera"),c=e("./is-silk");n.exports=function(u){return u=u||window.navigator.userAgent,(u.indexOf("Chrome")!==-1||u.indexOf("CriOS")!==-1)&&!i(u)&&!o(u)&&!s(u)&&!l(u)&&!c(u)}},{"./is-duckduckgo":5,"./is-edge":6,"./is-opera":14,"./is-samsung":15,"./is-silk":16}],5:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,o.indexOf("DuckDuckGo/")!==-1}},{}],6:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,o.indexOf("Edge/")!==-1||o.indexOf("Edg/")!==-1}},{}],7:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,/FxiOS/i.test(o)}},{}],8:[function(e,n,a){var i=e("./is-ios");function o(s){return/\bGSA\b/.test(s)}n.exports=function(l){return l=l||window.navigator.userAgent,i(l)&&o(l)}},{"./is-ios":12}],9:[function(e,n,a){var i=e("./is-ios"),o=e("./is-ios-firefox"),s=/webkit/i;function l(u){return s.test(u)}function c(u){return u.indexOf("CriOS")>-1}function d(u){return u.indexOf("FBAN")>-1}n.exports=function(h){return h=h||window.navigator.userAgent,i(h)&&l(h)&&!c(h)&&!o(h)&&!d(h)}},{"./is-ios":12,"./is-ios-firefox":7}],10:[function(e,n,a){var i=e("./is-ios"),o=e("./is-ios-google-search-app");n.exports=function(l){return l=l||window.navigator.userAgent,i(l)?o(l)?!0:/.+AppleWebKit(?!.*Safari)/i.test(l):!1}},{"./is-ios":12,"./is-ios-google-search-app":8}],11:[function(e,n,a){var i=e("./is-ios-webview");n.exports=function(s,l){return l=typeof l!="undefined"?l:window.statusbar.visible,i(s)&&l}},{"./is-ios-webview":10}],12:[function(e,n,a){var i=e("./is-ipados");n.exports=function(s,l,c){l===void 0&&(l=!0),s=s||window.navigator.userAgent;var d=/iPhone|iPod|iPad/i.test(s);return l?d||i(s,c):d}},{"./is-ipados":13}],13:[function(e,n,a){n.exports=function(o,s){return o=o||window.navigator.userAgent,s=s||window.document,/Mac|iPad/i.test(o)&&"ontouchend"in s}},{}],14:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,o.indexOf("OPR/")!==-1||o.indexOf("Opera/")!==-1||o.indexOf("OPT/")!==-1}},{}],15:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,/SamsungBrowser/i.test(o)}},{}],16:[function(e,n,a){n.exports=function(o){return o=o||window.navigator.userAgent,o.indexOf("Silk/")!==-1}},{}],17:[function(e,n,a){var i=48,o=e("./is-android"),s=e("./is-ios-firefox"),l=e("./is-ios-webview"),c=e("./is-chrome"),d=e("./is-samsung"),u=e("./is-duckduckgo");function h(v){v=v||window.navigator.userAgent;var y=v.match(/CriOS\/(\d+)\./);if(!y)return!1;var A=parseInt(y[1],10);return A<i}function p(v){return v=v||window.navigator.userAgent,v.indexOf("Opera Mini")>-1}function f(v){var y=/Version\/[\d.]+/i;return v=v||window.navigator.userAgent,o(v)?y.test(v)&&!p(v)&&!u(v):!1}function m(v){return!c(v)&&!d(v)&&/samsung/i.test(v)}n.exports=function(y){return y=y||window.navigator.userAgent,!(l(y)||s(y)||f(y)||p(y)||h(y)||m(y))}},{"./is-android":3,"./is-chrome":4,"./is-duckduckgo":5,"./is-ios-firefox":7,"./is-ios-webview":10,"./is-samsung":15}],18:[function(e,n,a){n.exports=e("./dist/is-android")},{"./dist/is-android":3}],19:[function(e,n,a){n.exports=e("./dist/is-chrome")},{"./dist/is-chrome":4}],20:[function(e,n,a){n.exports=e("./dist/is-ios-safari")},{"./dist/is-ios-safari":9}],21:[function(e,n,a){n.exports=e("./dist/is-ios-webview")},{"./dist/is-ios-webview":10}],22:[function(e,n,a){n.exports=e("./dist/is-ios-wkwebview")},{"./dist/is-ios-wkwebview":11}],23:[function(e,n,a){n.exports=e("./dist/is-ios")},{"./dist/is-ios":12}],24:[function(e,n,a){n.exports=e("./dist/is-samsung")},{"./dist/is-samsung":15}],25:[function(e,n,a){n.exports=e("./dist/supports-popups")},{"./dist/supports-popups":17}],26:[function(e,n,a){var i=typeof Promise!="undefined"?Promise:null,o=function(){function s(l){var c=this;if(typeof l=="function"){this._promise=new s.Promise(l);return}this._promise=new s.Promise(function(d,u){c._resolveFunction=d,c._rejectFunction=u}),l=l||{},this._onResolve=l.onResolve||s.defaultOnResolve,this._onReject=l.onReject||s.defaultOnReject,s.shouldCatchExceptions(l)&&this._promise.catch(function(){}),this._resetState()}return s.defaultOnResolve=function(l){return s.Promise.resolve(l)},s.defaultOnReject=function(l){return s.Promise.reject(l)},s.setPromise=function(l){s.Promise=l},s.shouldCatchExceptions=function(l){return l.hasOwnProperty("suppressUnhandledPromiseMessage")?!!l.suppressUnhandledPromiseMessage:!!s.suppressUnhandledPromiseMessage},s.all=function(l){return s.Promise.all(l)},s.allSettled=function(l){return s.Promise.allSettled(l)},s.race=function(l){return s.Promise.race(l)},s.reject=function(l){return s.Promise.reject(l)},s.resolve=function(l){return s.Promise.resolve(l)},s.prototype.then=function(){for(var l,c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return(l=this._promise).then.apply(l,c)},s.prototype.catch=function(){for(var l,c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return(l=this._promise).catch.apply(l,c)},s.prototype.resolve=function(l){var c=this;return this.isFulfilled?this:(this._setResolved(),s.Promise.resolve().then(function(){return c._onResolve(l)}).then(function(d){c._resolveFunction(d)}).catch(function(d){c._resetState(),c.reject(d)}),this)},s.prototype.reject=function(l){var c=this;return this.isFulfilled?this:(this._setRejected(),s.Promise.resolve().then(function(){return c._onReject(l)}).then(function(d){c._setResolved(),c._resolveFunction(d)}).catch(function(d){return c._rejectFunction(d)}),this)},s.prototype._resetState=function(){this.isFulfilled=!1,this.isResolved=!1,this.isRejected=!1},s.prototype._setResolved=function(){this.isFulfilled=!0,this.isResolved=!0,this.isRejected=!1},s.prototype._setRejected=function(){this.isFulfilled=!0,this.isResolved=!1,this.isRejected=!0},s.Promise=i,s}();n.exports=o},{}],27:[function(e,n,a){var i=e("./lib/set-attributes"),o=e("./lib/default-attributes"),s=e("./lib/assign");n.exports=function(c){c===void 0&&(c={});var d=document.createElement("iframe"),u=(0,s.assign)({},o.defaultAttributes,c);return u.style&&typeof u.style!="string"&&((0,s.assign)(d.style,u.style),delete u.style),(0,i.setAttributes)(d,u),d.getAttribute("id")||(d.id=d.name),d}},{"./lib/assign":28,"./lib/default-attributes":29,"./lib/set-attributes":30}],28:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.assign=void 0;function i(o){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];return s.forEach(function(c){typeof c=="object"&&Object.keys(c).forEach(function(d){o[d]=c[d]})}),o}a.assign=i},{}],29:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.defaultAttributes=void 0,a.defaultAttributes={src:"about:blank",frameBorder:0,allowtransparency:!0,scrolling:"no"}},{}],30:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.setAttributes=void 0;function i(o,s){for(var l in s)if(s.hasOwnProperty(l)){var c=s[l];c==null?o.removeAttribute(l):o.setAttribute(l,c)}}a.setAttributes=i},{}],31:[function(e,n,a){function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var s=Math.random()*16|0,l=o==="x"?s:s&3|8;return l.toString(16)})}n.exports=i},{}],32:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];setTimeout(function(){try{o.apply(void 0,s)}catch(c){console.log("Error in callback function"),console.log(c)}},1)}}a.deferred=i},{}],33:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o){var s=!1;return function(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];s||(s=!0,o.apply(void 0,l))}}a.once=i},{}],34:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0});function i(o,s){if(!s)return o;o.then(function(l){return s(null,l)}).catch(function(l){return s(l)})}a.promiseOrCallback=i},{}],35:[function(e,n,a){var i=e("./lib/deferred"),o=e("./lib/once"),s=e("./lib/promise-or-callback");function l(c){return function(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var h,p=d[d.length-1];return typeof p=="function"&&(h=d.pop(),h=o.once(i.deferred(h))),s.promiseOrCallback(c.apply(this,d),h)}}l.wrapPrototype=function(c,d){d===void 0&&(d={});var u=d.ignoreMethods||[],h=d.transformPrivateMethods===!0,p=Object.getOwnPropertyNames(c.prototype).filter(function(f){var m,v=f!=="constructor"&&typeof c.prototype[f]=="function",y=u.indexOf(f)===-1;return h?m=!0:m=f.charAt(0)!=="_",v&&m&&y});return p.forEach(function(f){var m=c.prototype[f];c.prototype[f]=l(m)}),c},n.exports=l},{"./lib/deferred":32,"./lib/once":33,"./lib/promise-or-callback":34}],36:[function(e,n,a){(function(i,o){typeof a=="object"&&typeof n!="undefined"?o(a):(i=typeof globalThis!="undefined"?globalThis:i||self,o(i.loadAxo={}))})(this,function(i){/*! *****************************************************************************
|
|
401
401
|
Copyright (c) Microsoft Corporation.
|
|
402
402
|
|
|
403
403
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -410,7 +410,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
410
410
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
411
411
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
412
412
|
PERFORMANCE OF THIS SOFTWARE.
|
|
413
|
-
***************************************************************************** */function s(P,T,b,R){function S(C){return C instanceof b?C:new b(function(F){F(C)})}return new(b||(b=Promise))(function(C,F){function Q(ae){try{D(R.next(ae))}catch(Pe){F(Pe)}}function ie(ae){try{D(R.throw(ae))}catch(Pe){F(Pe)}}function D(ae){ae.done?C(ae.value):S(ae.value).then(Q,ie)}D((R=R.apply(P,[])).next())})}function o(P,T){var b={label:0,sent:function(){if(C[0]&1)throw C[1];return C[1]},trys:[],ops:[]},R,S,C,F;return F={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(F[Symbol.iterator]=function(){return this}),F;function Q(D){return function(ae){return ie([D,ae])}}function ie(D){if(R)throw new TypeError("Generator is already executing.");for(;b;)try{if(R=1,S&&(C=D[0]&2?S.return:D[0]?S.throw||((C=S.return)&&C.call(S),0):S.next)&&!(C=C.call(S,D[1])).done)return C;switch(S=0,C&&(D=[D[0]&2,C.value]),D[0]){case 0:case 1:C=D;break;case 4:return b.label++,{value:D[1],done:!1};case 5:b.label++,S=D[1],D=[0];continue;case 7:D=b.ops.pop(),b.trys.pop();continue;default:if(C=b.trys,!(C=C.length>0&&C[C.length-1])&&(D[0]===6||D[0]===2)){b=0;continue}if(D[0]===3&&(!C||D[1]>C[0]&&D[1]<C[3])){b.label=D[1];break}if(D[0]===6&&b.label<C[1]){b.label=C[1],C=D;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(D);break}C[2]&&b.ops.pop(),b.trys.pop();continue}D=T.call(P,b)}catch(ae){D=[6,ae],S=0}finally{R=C=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}}var l={},d={};function c(P){var T,b=JSON.stringify(P);if(!P.forceScriptReload&&(T=d[b],T))return T;var R=document.createElement("script"),S=P.dataAttributes||{},C=P.container||document.head;return R.src=P.src,R.id=P.id||"",R.async=!0,P.type&&R.setAttribute("type","".concat(P.type)),P.crossorigin&&R.setAttribute("crossorigin","".concat(P.crossorigin)),Object.keys(S).forEach(function(F){R.setAttribute("data-".concat(F),"".concat(S[F]))}),T=new Promise(function(F,Q){R.addEventListener("load",function(){F(R)}),R.addEventListener("error",function(){Q(new Error("".concat(P.src," failed to load.")))}),R.addEventListener("abort",function(){Q(new Error("".concat(P.src," has aborted.")))}),C.appendChild(R)}),d[b]=T,T}c.clearCache=function(){d={}};var u=c,h=function(T){var b=document.querySelector('link[href="'.concat(T.href,'"]'));if(b)return Promise.resolve(b);b=document.createElement("link");var R=T.container||document.head;return b.setAttribute("rel","stylesheet"),b.setAttribute("type","text/css"),b.setAttribute("href",T.href),b.setAttribute("id",T.id),R.firstChild?R.insertBefore(b,R.firstChild):R.appendChild(b),Promise.resolve(b)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=m=l.loadScript=void 0;var p=u,m=l.loadScript=p,y=h;l.loadStylesheet=y;var f="https://www.paypalobjects.com",g={minified:"axo.min",unminified:"axo"},E="fastlane",N="connect-boba",w="".concat(N,"/locales/"),I={AXO_ASSET_NAME:g,AXO_ASSET_PATH:N,LOCALE_PATH:w,CDNX_PROD:f},x={BT:"BT",PPCP:"PPCP"};function _(){return typeof window.define=="function"&&!!window.define.amd}function L(){return _()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function V(P,T,b){var R,S;return b===void 0&&(b=!0),s(this,void 0,void 0,function(){var C,F;return o(this,function(Q){if(C=G(),C&&C[P.module]){if(T&&((R=C[P.module])===null||R===void 0?void 0:R.VERSION)!==T)throw F=(S=C[P.module])===null||S===void 0?void 0:S.VERSION,new Error("".concat(P.module," already loaded with version ").concat(F," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(P.module," without specifying version"));return[2,H(P,T,b)]})})}function H(P,T,b){if(b===void 0&&(b=!0),_()){var R=b?P.amdModule.minified:P.amdModule.unminified;return new Promise(function(C,F){window.require([R],C,F)})}var S=b?P.script.minified:P.script.unminified;return m({id:"".concat(P.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(S)})}function G(){return window==null?void 0:window.braintree}var j,B,U={Client:"client",HostedCardFields:"hostedFields"},J="braintree",z=(j={},j[U.Client]="client",j[U.HostedCardFields]="hosted-fields",j),W=(B={},B[U.Client]={id:"client",module:U.Client,amdModule:{unminified:"".concat(J,"/").concat(z[U.Client]),minified:"".concat(J,"/").concat(z[U.Client],".min")},script:{unminified:"".concat(z[U.Client],".js"),minified:"".concat(z[U.Client],".min.js")}},B[U.HostedCardFields]={id:"hcf",module:U.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(z[U.HostedCardFields]),minified:"".concat(J,"/").concat(z[U.HostedCardFields],".min")},script:{unminified:"".concat(z[U.HostedCardFields],".js"),minified:"".concat(z[U.HostedCardFields],".min.js")}},B);function q(P){return s(this,void 0,void 0,function(){var T,b,R,S;return o(this,function(C){switch(C.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=P.btSdkVersion,b=P.minified,R=O(P),S=M(P),P.platform!==x.BT?[3,2]:[4,Promise.all([V(W.hostedFields,T,b),k(R,b)])];case 1:return C.sent(),[3,5];case 2:return P.platform!==x.PPCP?[3,4]:[4,Promise.all([V(W.client,T,b),V(W.hostedFields,T,b),k(R,b)])];case 3:return C.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:S}}]}})})}function k(P,T){var b;if(T===void 0&&(T=!0),_()){L()&&requirejs.config({paths:(b={},b[E]=P,b)});var R="".concat(E,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(S,C){window.require([R],S,C)})}return m({id:"axo-id",src:P,forceScriptReload:!0})}function v(P){var T=P.assetUrl,b=P.bundleId;return b?"https://cdn-".concat(b,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function O(P){var T,b=(P==null?void 0:P.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,R=_()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(b,".js");return v({assetUrl:R,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function M(P){var T;return v({assetUrl:I.LOCALE_PATH,bundleId:(T=P==null?void 0:P.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}n.constants=I,n.loadAxo=q})},{}],37:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.Framebus=void 0;var n=a("./lib"),s=typeof window!="undefined"&&window.Promise,o=function(){function l(d){d===void 0&&(d={}),this.origin=d.origin||"*",this.channel=d.channel||"",this.verifyDomain=d.verifyDomain,this.targetFrames=d.targetFrames||[],this.limitBroadcastToFramesArray=!!d.targetFrames,this.isDestroyed=!1,this.listeners=[],this.hasAdditionalChecksForOnListeners=!!(this.verifyDomain||this.limitBroadcastToFramesArray)}return l.setPromise=function(d){l.Promise=d},l.target=function(d){return new l(d)},l.prototype.addTargetFrame=function(d){this.limitBroadcastToFramesArray&&this.targetFrames.push(d)},l.prototype.include=function(d){return d==null||d.Window==null||d.constructor!==d.Window?!1:(n.childWindows.push(d),!0)},l.prototype.target=function(d){return l.target(d)},l.prototype.emit=function(d,c,u){if(this.isDestroyed)return!1;var h=this.origin;if(d=this.namespaceEvent(d),(0,n.isntString)(d)||(0,n.isntString)(h))return!1;typeof c=="function"&&(u=c,c=void 0);var p=(0,n.packagePayload)(d,h,c,u);return p?(this.limitBroadcastToFramesArray?this.targetFramesAsWindows().forEach(function(m){(0,n.sendMessage)(m,p,h)}):(0,n.broadcast)(p,{origin:h,frame:window.top||window.self}),!0):!1},l.prototype.emitAsPromise=function(d,c){var u=this;return new l.Promise(function(h,p){var m=u.emit(d,c,function(y){h(y)});m||p(new Error('Listener not added for "'.concat(d,'"')))})},l.prototype.on=function(d,c){if(this.isDestroyed)return!1;var u=this,h=this.origin,p=c;return d=this.namespaceEvent(d),(0,n.subscriptionArgsInvalid)(d,p,h)?!1:(this.hasAdditionalChecksForOnListeners&&(p=function(){for(var m=[],y=0;y<arguments.length;y++)m[y]=arguments[y];u.passesVerifyDomainCheck(this&&this.origin)&&u.hasMatchingTargetFrame(this&&this.source)&&c.apply(void 0,m)}),this.listeners.push({eventName:d,handler:p,originalHandler:c}),n.subscribers[h]=n.subscribers[h]||{},n.subscribers[h][d]=n.subscribers[h][d]||[],n.subscribers[h][d].push(p),!0)},l.prototype.off=function(d,c){var u=c;if(this.isDestroyed)return!1;if(this.hasAdditionalChecksForOnListeners)for(var h=0;h<this.listeners.length;h++){var p=this.listeners[h];p.originalHandler===c&&(u=p.handler)}d=this.namespaceEvent(d);var m=this.origin;if((0,n.subscriptionArgsInvalid)(d,u,m))return!1;var y=n.subscribers[m]&&n.subscribers[m][d];if(!y)return!1;for(var h=0;h<y.length;h++)if(y[h]===u)return y.splice(h,1),!0;return!1},l.prototype.teardown=function(){if(!this.isDestroyed){this.isDestroyed=!0;for(var d=0;d<this.listeners.length;d++){var c=this.listeners[d];this.off(c.eventName,c.handler)}this.listeners.length=0}},l.prototype.passesVerifyDomainCheck=function(d){return this.verifyDomain?this.checkOrigin(d):!0},l.prototype.targetFramesAsWindows=function(){return this.limitBroadcastToFramesArray?this.targetFrames.map(function(d){return d instanceof HTMLIFrameElement?d.contentWindow:d}).filter(function(d){return d}):[]},l.prototype.hasMatchingTargetFrame=function(d){if(!this.limitBroadcastToFramesArray)return!0;var c=this.targetFramesAsWindows().find(function(u){return u===d});return!!c},l.prototype.checkOrigin=function(d){var c,u=document.createElement("a");u.href=location.href,u.protocol==="https:"?c=u.host.replace(/:443$/,""):u.protocol==="http:"?c=u.host.replace(/:80$/,""):c=u.host;var h=u.protocol+"//"+c;return h===d?!0:this.verifyDomain?this.verifyDomain(d):!0},l.prototype.namespaceEvent=function(d){return this.channel?"".concat(this.channel,":").concat(d):d},l.Promise=s,l}();i.Framebus=o},{"./lib":45}],38:[function(a,r,i){var n=a("./lib"),s=a("./framebus");(0,n.attach)(),r.exports=s.Framebus},{"./framebus":37,"./lib":45}],39:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.detach=i.attach=void 0;var n=a("./"),s=!1;function o(){s||typeof window=="undefined"||(s=!0,window.addEventListener("message",n.onMessage,!1))}i.attach=o;function l(){s=!1,window.removeEventListener("message",n.onMessage,!1)}i.detach=l},{"./":45}],40:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.broadcastToChildWindows=void 0;var n=a("./");function s(o,l,d){for(var c=n.childWindows.length-1;c>=0;c--){var u=n.childWindows[c];u.closed?n.childWindows.splice(c,1):d!==u&&(0,n.broadcast)(o,{origin:l,frame:u.top})}}i.broadcastToChildWindows=s},{"./":45}],41:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.broadcast=void 0;var n=a("./");function s(o,l){var d=0,c,u=l.origin,h=l.frame;try{for(h.postMessage(o,u),(0,n.hasOpener)(h)&&h.opener.top!==window.top&&s(o,{origin:u,frame:h.opener.top});c=h.frames[d];)s(o,{origin:u,frame:c}),d++}catch(p){}}i.broadcast=s},{"./":45}],42:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.subscribers=i.childWindows=i.prefix=void 0,i.prefix="/*framebus*/",i.childWindows=[],i.subscribers={}},{}],43:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.dispatch=void 0;var n=a("./");function s(o,l,d,c,u){if(n.subscribers[o]&&n.subscribers[o][l]){var h=[];d&&h.push(d),c&&h.push(c);for(var p=0;p<n.subscribers[o][l].length;p++)n.subscribers[o][l][p].apply(u,h)}}i.dispatch=s},{"./":45}],44:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.hasOpener=void 0;function n(s){return!(s.top!==s||s.opener==null||s.opener===s||s.opener.closed===!0)}i.hasOpener=n},{}],45:[function(a,r,i){var n=this&&this.__createBinding||(Object.create?function(o,l,d,c){c===void 0&&(c=d);var u=Object.getOwnPropertyDescriptor(l,d);(!u||("get"in u?!l.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return l[d]}}),Object.defineProperty(o,c,u)}:function(o,l,d,c){c===void 0&&(c=d),o[c]=l[d]}),s=this&&this.__exportStar||function(o,l){for(var d in o)d!=="default"&&!Object.prototype.hasOwnProperty.call(l,d)&&n(l,o,d)};Object.defineProperty(i,"__esModule",{value:!0}),s(a("./attach"),i),s(a("./broadcast-to-child-windows"),i),s(a("./broadcast"),i),s(a("./constants"),i),s(a("./dispatch"),i),s(a("./has-opener"),i),s(a("./is-not-string"),i),s(a("./message"),i),s(a("./package-payload"),i),s(a("./send-message"),i),s(a("./subscribe-replier"),i),s(a("./subscription-args-invalid"),i),s(a("./types"),i),s(a("./unpack-payload"),i)},{"./attach":39,"./broadcast":41,"./broadcast-to-child-windows":40,"./constants":42,"./dispatch":43,"./has-opener":44,"./is-not-string":46,"./message":47,"./package-payload":48,"./send-message":49,"./subscribe-replier":50,"./subscription-args-invalid":51,"./types":52,"./unpack-payload":53}],46:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.isntString=void 0;function n(s){return typeof s!="string"}i.isntString=n},{}],47:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.onMessage=void 0;var n=a("./");function s(o){if(!(0,n.isntString)(o.data)){var l=(0,n.unpackPayload)(o);if(l){var d=l.eventData,c=l.reply;(0,n.dispatch)("*",l.event,d,c,o),(0,n.dispatch)(o.origin,l.event,d,c,o),(0,n.broadcastToChildWindows)(o.data,l.origin,o.source)}}}i.onMessage=s},{"./":45}],48:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.packagePayload=void 0;var n=a("./");function s(o,l,d,c){var u,h={event:o,origin:l};typeof c=="function"&&(h.reply=(0,n.subscribeReplier)(c,l)),h.eventData=d;try{u=n.prefix+JSON.stringify(h)}catch(p){throw new Error("Could not stringify event: ".concat(p.message))}return u}i.packagePayload=s},{"./":45}],49:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.sendMessage=void 0;function n(s,o,l){try{s.postMessage(o,l)}catch(d){}}i.sendMessage=n},{}],50:[function(a,r,i){var n=this&&this.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(i,"__esModule",{value:!0}),i.subscribeReplier=void 0;var s=a("../framebus"),o=n(a("@braintree/uuid"));function l(d,c){var u=(0,o.default)();function h(p,m){d(p,m),s.Framebus.target({origin:c}).off(u,h)}return s.Framebus.target({origin:c}).on(u,h),u}i.subscribeReplier=l},{"../framebus":37,"@braintree/uuid":31}],51:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.subscriptionArgsInvalid=void 0;var n=a("./");function s(o,l,d){return(0,n.isntString)(o)||typeof l!="function"?!0:(0,n.isntString)(d)}i.subscriptionArgsInvalid=s},{"./":45}],52:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0})},{}],53:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.unpackPayload=void 0;var n=a("./");function s(o){var l;if(o.data.slice(0,n.prefix.length)!==n.prefix)return!1;try{l=JSON.parse(o.data.slice(n.prefix.length))}catch(h){return!1}if(l.reply){var d=o.origin,c=o.source,u=l.reply;l.reply=function(p){if(c){var m=(0,n.packagePayload)(u,d,p);m&&c.postMessage(m,d)}}}return l}i.unpackPayload=s},{"./":45}],54:[function(a,r,i){var n=a("./create-authorization-data"),s=a("./json-clone"),o=a("./constants");function l(c,u){var h,p=u?s(u):{},m=n(c.authorization).attrs,y=s(c.analyticsMetadata);p.braintreeLibraryVersion=o.BRAINTREE_LIBRARY_VERSION;for(h in p._meta)p._meta.hasOwnProperty(h)&&(y[h]=p._meta[h]);return p._meta=y,m.tokenizationKey?p.tokenizationKey=m.tokenizationKey:p.authorizationFingerprint=m.authorizationFingerprint,p}function d(c){var u=c.getConfiguration(),h=n(u.authorization).attrs,p=u.gatewayConfiguration.environment==="production",m={api_integration_type:u.analyticsMetadata.integrationType,app_id:window.location.host,c_sdk_ver:o.VERSION,component:"braintreeclientsdk",merchant_sdk_env:p?"production":"sandbox",merchant_id:u.gatewayConfiguration.merchantId,event_source:"web",platform:o.PLATFORM,platform_version:window.navigator.userAgent,session_id:u.analyticsMetadata.sessionId,client_session_id:u.analyticsMetadata.sessionId,tenant_name:"braintree",product_name:"BT_DCC",space_key:"SKDUYK"};return h.tokenizationKey?m.tokenization_key=h.tokenizationKey:m.auth_fingerprint=h.authorizationFingerprint,m}r.exports={addMetadata:l,addEventMetadata:d}},{"./constants":60,"./create-authorization-data":63,"./json-clone":80}],55:[function(a,r,i){var n=a("./constants"),s=a("./add-metadata"),o=a("./assign").assign;function l(u,h,p){return d(u,h,{},p)}function d(u,h,p,m){var y=Date.now();return p.flow==="vault"?p.context_type="BA_Token":p.flow==="checkout"&&(p.context_type="EC_Token"),Promise.resolve(u).then(function(f){var g=f._request,E=n.ANALYTICS_URL,N=n.ANALYTICS_PREFIX+h,w=f.getConfiguration(),I=w.gatewayConfiguration.environment==="production",x={events:[],tracking:[]},_=s.addEventMetadata(f,x);return _.event_name=N,_.t=y,x.events=[{level:"info",event:N,payload:o({env:I?"production":"sandbox",timestamp:y},p)}],x.tracking=[_],p&&typeof p=="object"&&(x.tracking=[c(_,p)]),g({url:E,method:"post",data:x,timeout:n.ANALYTICS_REQUEST_TIMEOUT_MS},m)}).catch(function(f){m&&m(f)})}function c(u,h){var p={},m=o({},h);return Object.keys(m).forEach(function(y){n.ALLOWED_EXTRA_EVENT_FIELDS.indexOf(y)===-1&&delete m[y]}),p=o(u,m),p}r.exports={sendEvent:l,sendEventPlus:d}},{"./add-metadata":54,"./assign":57,"./constants":60}],56:[function(a,r,i){var n=a("@braintree/asset-loader/load-script"),s=a("@paypal/accelerated-checkout-loader");r.exports={loadScript:n,loadFastlane:s.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":36}],57:[function(a,r,i){var n=typeof Object.assign=="function"?Object.assign:s;function s(o){var l,d,c;for(l=1;l<arguments.length;l++){d=arguments[l];for(c in d)d.hasOwnProperty(c)&&(o[c]=d[c])}return o}r.exports={assign:n,_assign:s}},{}],58:[function(a,r,i){var n=a("./braintree-error"),s=a("./errors"),o="3.126.0";function l(d){var c,u,h;return d?(h=d.name,c=d.client,u=d.authorization,!c&&!u?Promise.reject(new n({type:s.INSTANTIATION_OPTION_REQUIRED.type,code:s.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+h+"."})):!u&&c.getVersion()!==o?Promise.reject(new n({type:s.INCOMPATIBLE_VERSIONS.type,code:s.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+c.getVersion()+") and "+h+" (version "+o+") components must be from the same SDK version."})):Promise.resolve()):Promise.reject(new n({type:s.INVALID_USE_OF_INTERNAL_FUNCTION.type,code:s.INVALID_USE_OF_INTERNAL_FUNCTION.code,message:"Options must be passed to basicComponentVerification function."}))}r.exports={verify:l}},{"./braintree-error":59,"./errors":66}],59:[function(a,r,i){var n=a("./enumerate");function s(o){if(!s.types.hasOwnProperty(o.type))throw new Error(o.type+" is not a valid type.");if(!o.code)throw new Error("Error code required.");if(!o.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=o.code,this.message=o.message,this.type=o.type,this.details=o.details}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.types=n(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),s.findRootError=function(o){return o instanceof s&&o.details&&o.details.originalError?s.findRootError(o.details.originalError):o},r.exports=s},{"./enumerate":65}],60:[function(a,r,i){var n="3.126.0",s="web",o={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},d={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};r.exports={ANALYTICS_PREFIX:s+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:o,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:d,INTEGRATION_TIMEOUT_MS:6e4,VERSION:n,INTEGRATION:"custom",SOURCE:"client",PLATFORM:s,BRAINTREE_LIBRARY_VERSION:"braintree/"+s+"/"+n,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],61:[function(a,r,i){var n=a("./braintree-error"),s=a("./errors");r.exports=function(o,l){l.forEach(function(d){o[d]=function(){throw new n({type:s.METHOD_CALLED_AFTER_TEARDOWN.type,code:s.METHOD_CALLED_AFTER_TEARDOWN.code,message:d+" cannot be called after teardown."})}})}},{"./braintree-error":59,"./errors":66}],62:[function(a,r,i){var n=a("./constants").ASSETS_URLS;function s(o){return n.production}r.exports={create:s}},{"./constants":60}],63:[function(a,r,i){var n=a("../lib/vendor/polyfill").atob,s=a("../lib/constants").CLIENT_API_URLS;function o(c){return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(c)}function l(c){var u=c.split("_"),h=u[0],p=u.slice(2).join("_");return{merchantId:p,environment:h}}function d(c){var u,h,p={attrs:{},configUrl:""};return o(c)?(h=l(c),p.environment=h.environment,p.attrs.tokenizationKey=c,p.configUrl=s[h.environment]+"/merchants/"+h.merchantId+"/client_api/v1/configuration"):(u=JSON.parse(n(c)),p.environment=u.environment,p.attrs.authorizationFingerprint=u.authorizationFingerprint,p.configUrl=u.configUrl,p.graphQL=u.graphQL),p}r.exports=d},{"../lib/constants":60,"../lib/vendor/polyfill":86}],64:[function(a,r,i){var n=a("./braintree-error"),s=a("./assets"),o=a("./errors"),l="3.126.0";function d(c){var u=Promise.resolve();return c.client?Promise.resolve(c.client):(window.braintree&&window.braintree.client||(u=s.loadScript({src:c.assetsUrl+"/web/"+l+"/js/client.min.js"}).catch(function(h){return Promise.reject(new n({type:o.CLIENT_SCRIPT_FAILED_TO_LOAD.type,code:o.CLIENT_SCRIPT_FAILED_TO_LOAD.code,message:o.CLIENT_SCRIPT_FAILED_TO_LOAD.message,details:{originalError:h}}))})),u.then(function(){return window.braintree.client.VERSION!==l?Promise.reject(new n({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+c.name+" (version "+l+") components must be from the same SDK version."})):window.braintree.client.create({authorization:c.authorization,debug:c.debug})}))}r.exports={create:d}},{"./assets":56,"./braintree-error":59,"./errors":66}],65:[function(a,r,i){function n(s,o){return o=o==null?"":o,s.reduce(function(l,d){return l[d]=o+d,l},{})}r.exports=n},{}],66:[function(a,r,i){var n=a("./braintree-error");r.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:n.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:n.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:n.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:n.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:n.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":59}],67:[function(a,r,i){var n=a("./strategies/popup"),s=a("./strategies/popup-bridge"),o=a("./strategies/modal"),l=a("framebus"),d=a("../shared/events"),c=a("../shared/errors"),u=a("../shared/constants"),h=a("@braintree/uuid"),p=a("@braintree/iframer"),m=a("../../braintree-error"),y=a("../shared/browser-detection"),f=a("./../../assign").assign,g=a("../../constants").BUS_CONFIGURATION_REQUEST_EVENT,E=["name","dispatchFrameUrl","openFrameUrl"];function N(){}function w(x){if(!x)throw new Error("Valid configuration is required");if(E.forEach(function(_){if(!x.hasOwnProperty(_))throw new Error("A valid frame "+_+" must be provided")}),!/^[\w_]+$/.test(x.name))throw new Error("A valid frame name must be provided")}function I(x){w(x),this._serviceId=h().replace(/-/g,""),this._options={name:x.name+"_"+this._serviceId,dispatchFrameUrl:x.dispatchFrameUrl,openFrameUrl:x.openFrameUrl,height:x.height,width:x.width,top:x.top,left:x.left},this.state=x.state||{},this._bus=new l({channel:this._serviceId}),this._setBusEvents()}I.prototype.initialize=function(x){var _=function(){x(),this._bus.off(d.DISPATCH_FRAME_READY,_)}.bind(this);this._bus.on(d.DISPATCH_FRAME_READY,_),this._writeDispatchFrame()},I.prototype._writeDispatchFrame=function(){var x=u.DISPATCH_FRAME_NAME+"_"+this._serviceId,_=this._options.dispatchFrameUrl;this._dispatchFrame=p({"aria-hidden":!0,name:x,title:x,src:_,class:u.DISPATCH_FRAME_CLASS,height:0,width:0,style:{position:"absolute",left:"-9999px"}}),document.body.appendChild(this._dispatchFrame)},I.prototype._setBusEvents=function(){this._bus.on(d.DISPATCH_FRAME_REPORT,function(x,_){this._onCompleteCallback&&this._onCompleteCallback.call(null,x.err,x.payload),this._frame.close(),this._onCompleteCallback=null,_&&_()}.bind(this)),this._bus.on(g,function(x){x(this.state)}.bind(this))},I.prototype.open=function(x,_){if(x=x||{},this._frame=this._getFrameForEnvironment(x),this._frame.initialize(_),!(this._frame instanceof s)){if(f(this.state,x.state),this._onCompleteCallback=_,this._frame.open(),this.isFrameClosed()){this._cleanupFrame(),_&&_(new m(c.FRAME_SERVICE_FRAME_OPEN_FAILED));return}this._pollForPopupClose()}},I.prototype.redirect=function(x){this._frame&&!this.isFrameClosed()&&this._frame.redirect(x)},I.prototype.close=function(){this.isFrameClosed()||this._frame.close()},I.prototype.focus=function(){this.isFrameClosed()||this._frame.focus()},I.prototype.createHandler=function(x){return x=x||{},{close:function(){x.beforeClose&&x.beforeClose(),this.close()}.bind(this),focus:function(){x.beforeFocus&&x.beforeFocus(),this.focus()}.bind(this)}},I.prototype.createNoopHandler=function(){return{close:N,focus:N}},I.prototype.teardown=function(){this.close(),this._dispatchFrame.parentNode.removeChild(this._dispatchFrame),this._dispatchFrame=null,this._cleanupFrame()},I.prototype.isFrameClosed=function(){return this._frame==null||this._frame.isClosed()},I.prototype._cleanupFrame=function(){this._frame=null,clearInterval(this._popupInterval),this._popupInterval=null},I.prototype._pollForPopupClose=function(){return this._popupInterval=setInterval(function(){this.isFrameClosed()&&(this._cleanupFrame(),this._onCompleteCallback&&this._onCompleteCallback(new m(c.FRAME_SERVICE_FRAME_CLOSED)))}.bind(this),u.POPUP_POLL_INTERVAL),this._popupInterval},I.prototype._getFrameForEnvironment=function(x){var _=y.supportsPopups(),L=!!window.popupBridge,V=f({},this._options,x);return L?new s(V):_?new n(V):new o(V)},r.exports=I},{"../../braintree-error":59,"../../constants":60,"../shared/browser-detection":74,"../shared/constants":75,"../shared/errors":76,"../shared/events":77,"./../../assign":57,"./strategies/modal":69,"./strategies/popup":72,"./strategies/popup-bridge":70,"@braintree/iframer":27,"@braintree/uuid":31,framebus:38}],68:[function(a,r,i){var n=a("./frame-service");r.exports={create:function(o,l){var d=new n(o);d.initialize(function(){l(d)})}}},{"./frame-service":67}],69:[function(a,r,i){var n=a("@braintree/iframer"),s=a("../../../assign").assign,o=a("../../shared/browser-detection"),l={position:"fixed",top:0,left:0,bottom:0,padding:0,margin:0,border:0,outline:"none",zIndex:20001,background:"#FFFFFF"};function d(){}function c(u){this._closed=null,this._frame=null,this._options=u||{},this._container=this._options.container||document.body}c.prototype.initialize=d,c.prototype.open=function(){var u={src:this._options.openFrameUrl,name:this._options.name,scrolling:"yes",height:"100%",width:"100%",style:s({},l),title:"Lightbox Frame"};o.isIos()?(o.isIosWKWebview()&&(this._lockScrolling(),u.style={}),this._el=document.createElement("div"),s(this._el.style,l,{height:"100%",width:"100%",overflow:"auto","-webkit-overflow-scrolling":"touch"}),this._frame=n(u),this._el.appendChild(this._frame)):this._el=this._frame=n(u),this._closed=!1,this._container.appendChild(this._el)},c.prototype.focus=d,c.prototype.close=function(){this._container.removeChild(this._el),this._frame=null,this._closed=!0,o.isIosWKWebview()&&this._unlockScrolling()},c.prototype.isClosed=function(){return!!this._closed},c.prototype.redirect=function(u){this._frame.src=u},c.prototype._unlockScrolling=function(){document.body.style.overflow=this._savedBodyProperties.overflowStyle,document.body.style.position=this._savedBodyProperties.positionStyle,window.scrollTo(this._savedBodyProperties.left,this._savedBodyProperties.top),delete this._savedBodyProperties},c.prototype._lockScrolling=function(){var u=document.documentElement;this._savedBodyProperties={left:(window.pageXOffset||u.scrollLeft)-(u.clientLeft||0),top:(window.pageYOffset||u.scrollTop)-(u.clientTop||0),overflowStyle:document.body.style.overflow,positionStyle:document.body.style.position},document.body.style.overflow="hidden",document.body.style.position="fixed",window.scrollTo(0,0)},r.exports=c},{"../../../assign":57,"../../shared/browser-detection":74,"@braintree/iframer":27}],70:[function(a,r,i){var n=a("../../../braintree-error"),s=a("../../shared/errors");function o(){}function l(d){this._closed=null,this._options=d}l.prototype.initialize=function(d){var c=this;window.popupBridge.onComplete=function(u,h){var p=!h&&!u;if(c._closed=!0,u||p){d(new n(s.FRAME_SERVICE_FRAME_CLOSED));return}d(null,h)}},l.prototype.open=function(d){var c;d=d||{},c=d.openFrameUrl||this._options.openFrameUrl,this._closed=!1,window.popupBridge.open(c)},l.prototype.focus=o,l.prototype.close=o,l.prototype.isClosed=function(){return!!this._closed},l.prototype.redirect=function(d){this.open({openFrameUrl:d})},r.exports=l},{"../../../braintree-error":59,"../../shared/errors":76}],71:[function(a,r,i){var n=a("../../../shared/constants"),s=a("./position");function o(l,d,c){return typeof d!="undefined"?d:s[l](c)}r.exports=function(d){var c=d.height||n.DEFAULT_POPUP_HEIGHT,u=d.width||n.DEFAULT_POPUP_WIDTH,h=o("top",d.top,c),p=o("left",d.left,u);return[n.POPUP_BASE_OPTIONS,"height="+c,"width="+u,"top="+h,"left="+p].join(",")}},{"../../../shared/constants":75,"./position":73}],72:[function(a,r,i){var n=a("./compose-options");function s(){}function o(l){this._frame=null,this._options=l||{}}o.prototype.initialize=s,o.prototype.open=function(){this._frame=window.open(this._options.openFrameUrl,this._options.name,n(this._options))},o.prototype.focus=function(){this._frame.focus()},o.prototype.close=function(){this._frame.closed||this._frame.close()},o.prototype.isClosed=function(){return!this._frame||!!this._frame.closed},o.prototype.redirect=function(l){this._frame.location.href=l},r.exports=o},{"./compose-options":71}],73:[function(a,r,i){function n(l){var d=window.outerHeight||document.documentElement.clientHeight,c=window.screenY==null?window.screenTop:window.screenY;return o(d,l,c)}function s(l){var d=window.outerWidth||document.documentElement.clientWidth,c=window.screenX==null?window.screenLeft:window.screenX;return o(d,l,c)}function o(l,d,c){return(l-d)/2+c}r.exports={top:n,left:s,center:o}},{}],74:[function(a,r,i){r.exports={isIos:a("@braintree/browser-detection/is-ios"),isIosWKWebview:a("@braintree/browser-detection/is-ios-wkwebview"),supportsPopups:a("@braintree/browser-detection/supports-popups")}},{"@braintree/browser-detection/is-ios":23,"@braintree/browser-detection/is-ios-wkwebview":22,"@braintree/browser-detection/supports-popups":25}],75:[function(a,r,i){r.exports={DISPATCH_FRAME_NAME:"dispatch",DISPATCH_FRAME_CLASS:"braintree-dispatch-frame",POPUP_BASE_OPTIONS:"resizable,scrollbars",DEFAULT_POPUP_WIDTH:450,DEFAULT_POPUP_HEIGHT:535,POPUP_POLL_INTERVAL:100,POPUP_CLOSE_TIMEOUT:100}},{}],76:[function(a,r,i){var n=a("../../braintree-error");r.exports={FRAME_SERVICE_FRAME_CLOSED:{type:n.types.INTERNAL,code:"FRAME_SERVICE_FRAME_CLOSED",message:"Frame closed before tokenization could occur."},FRAME_SERVICE_FRAME_OPEN_FAILED:{type:n.types.INTERNAL,code:"FRAME_SERVICE_FRAME_OPEN_FAILED",message:"Frame failed to open."}}},{"../../braintree-error":59}],77:[function(a,r,i){var n=a("../../enumerate");r.exports=n(["DISPATCH_FRAME_READY","DISPATCH_FRAME_REPORT"],"frameService:")},{"../../enumerate":65}],78:[function(a,r,i){r.exports=function(s){s=s||window;try{return s.self!==s.top}catch(o){return!0}}},{}],79:[function(a,r,i){var n,s={"paypal.com":1,"braintreepayments.com":1,"braintreegateway.com":1,"braintree-api.com":1};function o(d){return d.split(".").slice(-2).join(".")}function l(d){var c;return d=d.toLowerCase(),/^https:/.test(d)?(n=n||document.createElement("a"),n.href=d,c=o(n.hostname),s.hasOwnProperty(c)):!1}r.exports=l},{}],80:[function(a,r,i){r.exports=function(n){return JSON.parse(JSON.stringify(n))}},{}],81:[function(a,r,i){r.exports=function(n){return Object.keys(n).filter(function(s){return typeof n[s]=="function"})}},{}],82:[function(a,r,i){function n(u){var h;for(h in u)if(u.hasOwnProperty(h))return!0;return!1}function s(u){return u&&typeof u=="object"&&typeof u.length=="number"&&Object.prototype.toString.call(u)==="[object Array]"||!1}function o(u){return u=u||window.location.href,/\?/.test(u)}function l(u){var h,p;return u=u||window.location.href,o(u)?(h=u.split("?")[1]||"",h=h.replace(/#.*$/,"").split("&"),p=h.reduce(function(m,y){var f=y.split("="),g=decodeURIComponent(f[0]),E=decodeURIComponent(f[1]);return m[g]=E,m},{}),p):{}}function d(u,h){var p,m,y,f=[];for(y in u)u.hasOwnProperty(y)&&(m=u[y],h?s(u)?p=h+"[]":p=h+"["+y+"]":p=y,typeof m=="object"?f.push(d(m,p)):f.push(encodeURIComponent(p)+"="+encodeURIComponent(m)));return f.join("&")}function c(u,h){return u=u||"",h!=null&&typeof h=="object"&&n(h)&&(u+=u.indexOf("?")===-1?"?":"",u+=u.indexOf("=")!==-1?"&":"",u+=d(h)),u}r.exports={parse:l,stringify:d,queryify:c,hasQueryParams:o}},{}],83:[function(a,r,i){r.exports=function(n){return n.indexOf("_")===-1?n:n.toLowerCase().replace(/(\_\w)/g,function(s){return s[1].toUpperCase()})}},{}],84:[function(a,r,i){var n=a("./querystring");function s(){return n.parse(window.location.href)}r.exports={getUrlParams:s}},{"./querystring":82}],85:[function(a,r,i){function n(s){return s?"":".min"}r.exports=n},{}],86:[function(a,r,i){var n=typeof atob=="function"?atob:s;function s(o){var l,d,c,u,h,p,m,y,f=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$/,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",E="";if(!f.test(o))throw new Error("Non base64 encoded input passed to window.atob polyfill");y=0;do u=g.indexOf(o.charAt(y++)),h=g.indexOf(o.charAt(y++)),p=g.indexOf(o.charAt(y++)),m=g.indexOf(o.charAt(y++)),l=(u&63)<<2|h>>4&3,d=(h&15)<<4|p>>2&15,c=(p&3)<<6|m&63,E+=String.fromCharCode(l)+(d?String.fromCharCode(d):"")+(c?String.fromCharCode(c):"");while(y<o.length);return E}r.exports={atob:function(o){return n.call(window,o)},_atob:s}},{}],87:[function(a,r,i){var n=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},s=n(a("./venmo-desktop"));r.exports=function(l){var d=new s.default(l);return d.initialize()}},{"./venmo-desktop":89}],88:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.VENMO_PAYMENT_CONTEXT_STATUS_QUERY=i.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY=i.UPDATE_PAYMENT_CONTEXT_QUERY=i.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY=i.CREATE_PAYMENT_CONTEXT_QUERY=i.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=void 0,i.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=`mutation CreateVenmoQRCodePaymentContext($input: CreateVenmoQRCodePaymentContextInput!) {
|
|
413
|
+
***************************************************************************** */function o(b,T,_,O){function M(w){return w instanceof _?w:new _(function(j){j(w)})}return new(_||(_=Promise))(function(w,j){function Q(te){try{R(O.next(te))}catch(be){j(be)}}function ae(te){try{R(O.throw(te))}catch(be){j(be)}}function R(te){te.done?w(te.value):M(te.value).then(Q,ae)}R((O=O.apply(b,[])).next())})}function s(b,T){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},O,M,w,j;return j={next:Q(0),throw:Q(1),return:Q(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function Q(R){return function(te){return ae([R,te])}}function ae(R){if(O)throw new TypeError("Generator is already executing.");for(;_;)try{if(O=1,M&&(w=R[0]&2?M.return:R[0]?M.throw||((w=M.return)&&w.call(M),0):M.next)&&!(w=w.call(M,R[1])).done)return w;switch(M=0,w&&(R=[R[0]&2,w.value]),R[0]){case 0:case 1:w=R;break;case 4:return _.label++,{value:R[1],done:!1};case 5:_.label++,M=R[1],R=[0];continue;case 7:R=_.ops.pop(),_.trys.pop();continue;default:if(w=_.trys,!(w=w.length>0&&w[w.length-1])&&(R[0]===6||R[0]===2)){_=0;continue}if(R[0]===3&&(!w||R[1]>w[0]&&R[1]<w[3])){_.label=R[1];break}if(R[0]===6&&_.label<w[1]){_.label=w[1],w=R;break}if(w&&_.label<w[2]){_.label=w[2],_.ops.push(R);break}w[2]&&_.ops.pop(),_.trys.pop();continue}R=T.call(b,_)}catch(te){R=[6,te],M=0}finally{O=w=0}if(R[0]&5)throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}}var l={},c={};function d(b){var T,_=JSON.stringify(b);if(!b.forceScriptReload&&(T=c[_],T))return T;var O=document.createElement("script"),M=b.dataAttributes||{},w=b.container||document.head;return O.src=b.src,O.id=b.id||"",O.async=!0,b.type&&O.setAttribute("type","".concat(b.type)),b.crossorigin&&O.setAttribute("crossorigin","".concat(b.crossorigin)),Object.keys(M).forEach(function(j){O.setAttribute("data-".concat(j),"".concat(M[j]))}),T=new Promise(function(j,Q){O.addEventListener("load",function(){j(O)}),O.addEventListener("error",function(){Q(new Error("".concat(b.src," failed to load.")))}),O.addEventListener("abort",function(){Q(new Error("".concat(b.src," has aborted.")))}),w.appendChild(O)}),c[_]=T,T}d.clearCache=function(){c={}};var u=d,h=function(T){var _=document.querySelector('link[href="'.concat(T.href,'"]'));if(_)return Promise.resolve(_);_=document.createElement("link");var O=T.container||document.head;return _.setAttribute("rel","stylesheet"),_.setAttribute("type","text/css"),_.setAttribute("href",T.href),_.setAttribute("id",T.id),O.firstChild?O.insertBefore(_,O.firstChild):O.appendChild(_),Promise.resolve(_)};Object.defineProperty(l,"__esModule",{value:!0}),l.loadStylesheet=f=l.loadScript=void 0;var p=u,f=l.loadScript=p,m=h;l.loadStylesheet=m;var v="https://www.paypalobjects.com",y={minified:"axo.min",unminified:"axo"},A="fastlane",x="connect-boba",k="".concat(x,"/locales/"),I={AXO_ASSET_NAME:y,AXO_ASSET_PATH:x,LOCALE_PATH:k,CDNX_PROD:v},L={BT:"BT",PPCP:"PPCP"};function N(){return typeof window.define=="function"&&!!window.define.amd}function S(){return N()&&typeof window.requirejs=="function"&&typeof window.requirejs.config=="function"}function U(b,T,_){var O,M;return _===void 0&&(_=!0),o(this,void 0,void 0,function(){var w,j;return s(this,function(Q){if(w=$(),w&&w[b.module]){if(T&&((O=w[b.module])===null||O===void 0?void 0:O.VERSION)!==T)throw j=(M=w[b.module])===null||M===void 0?void 0:M.VERSION,new Error("".concat(b.module," already loaded with version ").concat(j," cannot load version ").concat(T));return[2,!0]}if(!T)throw new Error("Attempted to load ".concat(b.module," without specifying version"));return[2,q(b,T,_)]})})}function q(b,T,_){if(_===void 0&&(_=!0),N()){var O=_?b.amdModule.minified:b.amdModule.unminified;return new Promise(function(w,j){window.require([O],w,j)})}var M=_?b.script.minified:b.script.unminified;return f({id:"".concat(b.id,"-").concat(T),src:"https://js.braintreegateway.com/web/".concat(T,"/js/").concat(M)})}function $(){return window==null?void 0:window.braintree}var F,z,B={Client:"client",HostedCardFields:"hostedFields"},J="braintree",D=(F={},F[B.Client]="client",F[B.HostedCardFields]="hosted-fields",F),Y=(z={},z[B.Client]={id:"client",module:B.Client,amdModule:{unminified:"".concat(J,"/").concat(D[B.Client]),minified:"".concat(J,"/").concat(D[B.Client],".min")},script:{unminified:"".concat(D[B.Client],".js"),minified:"".concat(D[B.Client],".min.js")}},z[B.HostedCardFields]={id:"hcf",module:B.HostedCardFields,amdModule:{unminified:"".concat(J,"/").concat(D[B.HostedCardFields]),minified:"".concat(J,"/").concat(D[B.HostedCardFields],".min")},script:{unminified:"".concat(D[B.HostedCardFields],".js"),minified:"".concat(D[B.HostedCardFields],".min.js")}},z);function H(b){return o(this,void 0,void 0,function(){var T,_,O,M;return s(this,function(w){switch(w.label){case 0:return performance.mark("pp_axo_sdk_init_invoked"),T=b.btSdkVersion,_=b.minified,O=P(b),M=V(b),b.platform!==L.BT?[3,2]:[4,Promise.all([U(Y.hostedFields,T,_),E(O,_)])];case 1:return w.sent(),[3,5];case 2:return b.platform!==L.PPCP?[3,4]:[4,Promise.all([U(Y.client,T,_),U(Y.hostedFields,T,_),E(O,_)])];case 3:return w.sent(),[3,5];case 4:throw new Error("unsupported axo platform");case 5:return[2,{metadata:{localeUrl:M}}]}})})}function E(b,T){var _;if(T===void 0&&(T=!0),N()){S()&&requirejs.config({paths:(_={},_[A]=b,_)});var O="".concat(A,"/").concat(T?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified);return new Promise(function(M,w){window.require([O],M,w)})}return f({id:"axo-id",src:b,forceScriptReload:!0})}function g(b){var T=b.assetUrl,_=b.bundleId;return _?"https://cdn-".concat(_,".static.engineering.dev.paypalinc.com/").concat(T):"".concat(I.CDNX_PROD,"/").concat(T)}function P(b){var T,_=(b==null?void 0:b.minified)!==!1?I.AXO_ASSET_NAME.minified:I.AXO_ASSET_NAME.unminified,O=N()?I.AXO_ASSET_PATH:"".concat(I.AXO_ASSET_PATH,"/").concat(_,".js");return g({assetUrl:O,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}function V(b){var T;return g({assetUrl:I.LOCALE_PATH,bundleId:(T=b==null?void 0:b.metadata)===null||T===void 0?void 0:T.bundleIdOverride})}i.constants=I,i.loadAxo=H})},{}],37:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.Framebus=void 0;var i=e("./lib"),o=typeof window!="undefined"&&window.Promise,s=function(){function l(c){c===void 0&&(c={}),this.origin=c.origin||"*",this.channel=c.channel||"",this.verifyDomain=c.verifyDomain,this.targetFrames=c.targetFrames||[],this.limitBroadcastToFramesArray=!!c.targetFrames,this.isDestroyed=!1,this.listeners=[],this.hasAdditionalChecksForOnListeners=!!(this.verifyDomain||this.limitBroadcastToFramesArray)}return l.setPromise=function(c){l.Promise=c},l.target=function(c){return new l(c)},l.prototype.addTargetFrame=function(c){this.limitBroadcastToFramesArray&&this.targetFrames.push(c)},l.prototype.include=function(c){return c==null||c.Window==null||c.constructor!==c.Window?!1:(i.childWindows.push(c),!0)},l.prototype.target=function(c){return l.target(c)},l.prototype.emit=function(c,d,u){if(this.isDestroyed)return!1;var h=this.origin;if(c=this.namespaceEvent(c),(0,i.isntString)(c)||(0,i.isntString)(h))return!1;typeof d=="function"&&(u=d,d=void 0);var p=(0,i.packagePayload)(c,h,d,u);return p?(this.limitBroadcastToFramesArray?this.targetFramesAsWindows().forEach(function(f){(0,i.sendMessage)(f,p,h)}):(0,i.broadcast)(p,{origin:h,frame:window.top||window.self}),!0):!1},l.prototype.emitAsPromise=function(c,d){var u=this;return new l.Promise(function(h,p){var f=u.emit(c,d,function(m){h(m)});f||p(new Error('Listener not added for "'.concat(c,'"')))})},l.prototype.on=function(c,d){if(this.isDestroyed)return!1;var u=this,h=this.origin,p=d;return c=this.namespaceEvent(c),(0,i.subscriptionArgsInvalid)(c,p,h)?!1:(this.hasAdditionalChecksForOnListeners&&(p=function(){for(var f=[],m=0;m<arguments.length;m++)f[m]=arguments[m];u.passesVerifyDomainCheck(this&&this.origin)&&u.hasMatchingTargetFrame(this&&this.source)&&d.apply(void 0,f)}),this.listeners.push({eventName:c,handler:p,originalHandler:d}),i.subscribers[h]=i.subscribers[h]||{},i.subscribers[h][c]=i.subscribers[h][c]||[],i.subscribers[h][c].push(p),!0)},l.prototype.off=function(c,d){var u=d;if(this.isDestroyed)return!1;if(this.hasAdditionalChecksForOnListeners)for(var h=0;h<this.listeners.length;h++){var p=this.listeners[h];p.originalHandler===d&&(u=p.handler)}c=this.namespaceEvent(c);var f=this.origin;if((0,i.subscriptionArgsInvalid)(c,u,f))return!1;var m=i.subscribers[f]&&i.subscribers[f][c];if(!m)return!1;for(var h=0;h<m.length;h++)if(m[h]===u)return m.splice(h,1),!0;return!1},l.prototype.teardown=function(){if(!this.isDestroyed){this.isDestroyed=!0;for(var c=0;c<this.listeners.length;c++){var d=this.listeners[c];this.off(d.eventName,d.handler)}this.listeners.length=0}},l.prototype.passesVerifyDomainCheck=function(c){return this.verifyDomain?this.checkOrigin(c):!0},l.prototype.targetFramesAsWindows=function(){return this.limitBroadcastToFramesArray?this.targetFrames.map(function(c){return c instanceof HTMLIFrameElement?c.contentWindow:c}).filter(function(c){return c}):[]},l.prototype.hasMatchingTargetFrame=function(c){if(!this.limitBroadcastToFramesArray)return!0;var d=this.targetFramesAsWindows().find(function(u){return u===c});return!!d},l.prototype.checkOrigin=function(c){var d,u=document.createElement("a");u.href=location.href,u.protocol==="https:"?d=u.host.replace(/:443$/,""):u.protocol==="http:"?d=u.host.replace(/:80$/,""):d=u.host;var h=u.protocol+"//"+d;return h===c?!0:this.verifyDomain?this.verifyDomain(c):!0},l.prototype.namespaceEvent=function(c){return this.channel?"".concat(this.channel,":").concat(c):c},l.Promise=o,l}();a.Framebus=s},{"./lib":45}],38:[function(e,n,a){var i=e("./lib"),o=e("./framebus");(0,i.attach)(),n.exports=o.Framebus},{"./framebus":37,"./lib":45}],39:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.detach=a.attach=void 0;var i=e("./"),o=!1;function s(){o||typeof window=="undefined"||(o=!0,window.addEventListener("message",i.onMessage,!1))}a.attach=s;function l(){o=!1,window.removeEventListener("message",i.onMessage,!1)}a.detach=l},{"./":45}],40:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.broadcastToChildWindows=void 0;var i=e("./");function o(s,l,c){for(var d=i.childWindows.length-1;d>=0;d--){var u=i.childWindows[d];u.closed?i.childWindows.splice(d,1):c!==u&&(0,i.broadcast)(s,{origin:l,frame:u.top})}}a.broadcastToChildWindows=o},{"./":45}],41:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.broadcast=void 0;var i=e("./");function o(s,l){var c=0,d,u=l.origin,h=l.frame;try{for(h.postMessage(s,u),(0,i.hasOpener)(h)&&h.opener.top!==window.top&&o(s,{origin:u,frame:h.opener.top});d=h.frames[c];)o(s,{origin:u,frame:d}),c++}catch(p){}}a.broadcast=o},{"./":45}],42:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.subscribers=a.childWindows=a.prefix=void 0,a.prefix="/*framebus*/",a.childWindows=[],a.subscribers={}},{}],43:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.dispatch=void 0;var i=e("./");function o(s,l,c,d,u){if(i.subscribers[s]&&i.subscribers[s][l]){var h=[];c&&h.push(c),d&&h.push(d);for(var p=0;p<i.subscribers[s][l].length;p++)i.subscribers[s][l][p].apply(u,h)}}a.dispatch=o},{"./":45}],44:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.hasOpener=void 0;function i(o){return!(o.top!==o||o.opener==null||o.opener===o||o.opener.closed===!0)}a.hasOpener=i},{}],45:[function(e,n,a){var i=this&&this.__createBinding||(Object.create?function(s,l,c,d){d===void 0&&(d=c);var u=Object.getOwnPropertyDescriptor(l,c);(!u||("get"in u?!l.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return l[c]}}),Object.defineProperty(s,d,u)}:function(s,l,c,d){d===void 0&&(d=c),s[d]=l[c]}),o=this&&this.__exportStar||function(s,l){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(l,c)&&i(l,s,c)};Object.defineProperty(a,"__esModule",{value:!0}),o(e("./attach"),a),o(e("./broadcast-to-child-windows"),a),o(e("./broadcast"),a),o(e("./constants"),a),o(e("./dispatch"),a),o(e("./has-opener"),a),o(e("./is-not-string"),a),o(e("./message"),a),o(e("./package-payload"),a),o(e("./send-message"),a),o(e("./subscribe-replier"),a),o(e("./subscription-args-invalid"),a),o(e("./types"),a),o(e("./unpack-payload"),a)},{"./attach":39,"./broadcast":41,"./broadcast-to-child-windows":40,"./constants":42,"./dispatch":43,"./has-opener":44,"./is-not-string":46,"./message":47,"./package-payload":48,"./send-message":49,"./subscribe-replier":50,"./subscription-args-invalid":51,"./types":52,"./unpack-payload":53}],46:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.isntString=void 0;function i(o){return typeof o!="string"}a.isntString=i},{}],47:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.onMessage=void 0;var i=e("./");function o(s){if(!(0,i.isntString)(s.data)){var l=(0,i.unpackPayload)(s);if(l){var c=l.eventData,d=l.reply;(0,i.dispatch)("*",l.event,c,d,s),(0,i.dispatch)(s.origin,l.event,c,d,s),(0,i.broadcastToChildWindows)(s.data,l.origin,s.source)}}}a.onMessage=o},{"./":45}],48:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.packagePayload=void 0;var i=e("./");function o(s,l,c,d){var u,h={event:s,origin:l};typeof d=="function"&&(h.reply=(0,i.subscribeReplier)(d,l)),h.eventData=c;try{u=i.prefix+JSON.stringify(h)}catch(p){throw new Error("Could not stringify event: ".concat(p.message))}return u}a.packagePayload=o},{"./":45}],49:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.sendMessage=void 0;function i(o,s,l){try{o.postMessage(s,l)}catch(c){}}a.sendMessage=i},{}],50:[function(e,n,a){var i=this&&this.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(a,"__esModule",{value:!0}),a.subscribeReplier=void 0;var o=e("../framebus"),s=i(e("@braintree/uuid"));function l(c,d){var u=(0,s.default)();function h(p,f){c(p,f),o.Framebus.target({origin:d}).off(u,h)}return o.Framebus.target({origin:d}).on(u,h),u}a.subscribeReplier=l},{"../framebus":37,"@braintree/uuid":31}],51:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.subscriptionArgsInvalid=void 0;var i=e("./");function o(s,l,c){return(0,i.isntString)(s)||typeof l!="function"?!0:(0,i.isntString)(c)}a.subscriptionArgsInvalid=o},{"./":45}],52:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0})},{}],53:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.unpackPayload=void 0;var i=e("./");function o(s){var l;if(s.data.slice(0,i.prefix.length)!==i.prefix)return!1;try{l=JSON.parse(s.data.slice(i.prefix.length))}catch(h){return!1}if(l.reply){var c=s.origin,d=s.source,u=l.reply;l.reply=function(p){if(d){var f=(0,i.packagePayload)(u,c,p);f&&d.postMessage(f,c)}}}return l}a.unpackPayload=o},{"./":45}],54:[function(e,n,a){var i=e("./create-authorization-data"),o=e("./json-clone"),s=e("./constants");function l(d,u){var h,p=u?o(u):{},f=i(d.authorization).attrs,m=o(d.analyticsMetadata);p.braintreeLibraryVersion=s.BRAINTREE_LIBRARY_VERSION;for(h in p._meta)p._meta.hasOwnProperty(h)&&(m[h]=p._meta[h]);return p._meta=m,f.tokenizationKey?p.tokenizationKey=f.tokenizationKey:p.authorizationFingerprint=f.authorizationFingerprint,p}function c(d){var u=d.getConfiguration(),h=i(u.authorization).attrs,p=u.gatewayConfiguration.environment==="production",f={api_integration_type:u.analyticsMetadata.integrationType,app_id:window.location.host,c_sdk_ver:s.VERSION,component:"braintreeclientsdk",merchant_sdk_env:p?"production":"sandbox",merchant_id:u.gatewayConfiguration.merchantId,event_source:"web",platform:s.PLATFORM,platform_version:window.navigator.userAgent,session_id:u.analyticsMetadata.sessionId,client_session_id:u.analyticsMetadata.sessionId,tenant_name:"braintree",product_name:"BT_DCC",space_key:"SKDUYK"};return h.tokenizationKey?f.tokenization_key=h.tokenizationKey:f.auth_fingerprint=h.authorizationFingerprint,f}n.exports={addMetadata:l,addEventMetadata:c}},{"./constants":60,"./create-authorization-data":63,"./json-clone":80}],55:[function(e,n,a){var i=e("./constants"),o=e("./add-metadata"),s=e("./assign").assign;function l(u,h,p){return c(u,h,{},p)}function c(u,h,p,f){var m=Date.now();return p.flow==="vault"?p.context_type="BA_Token":p.flow==="checkout"&&(p.context_type="EC_Token"),Promise.resolve(u).then(function(v){var y=v._request,A=i.ANALYTICS_URL,x=i.ANALYTICS_PREFIX+h,k=v.getConfiguration(),I=k.gatewayConfiguration.environment==="production",L={events:[],tracking:[]},N=o.addEventMetadata(v,L);return N.event_name=x,N.t=m,L.events=[{level:"info",event:x,payload:s({env:I?"production":"sandbox",timestamp:m},p)}],L.tracking=[N],p&&typeof p=="object"&&(L.tracking=[d(N,p)]),y({url:A,method:"post",data:L,timeout:i.ANALYTICS_REQUEST_TIMEOUT_MS},f)}).catch(function(v){f&&f(v)})}function d(u,h){var p={},f=s({},h);return Object.keys(f).forEach(function(m){i.ALLOWED_EXTRA_EVENT_FIELDS.indexOf(m)===-1&&delete f[m]}),p=s(u,f),p}n.exports={sendEvent:l,sendEventPlus:c}},{"./add-metadata":54,"./assign":57,"./constants":60}],56:[function(e,n,a){var i=e("@braintree/asset-loader/load-script"),o=e("@paypal/accelerated-checkout-loader");n.exports={loadScript:i,loadFastlane:o.loadAxo}},{"@braintree/asset-loader/load-script":2,"@paypal/accelerated-checkout-loader":36}],57:[function(e,n,a){var i=typeof Object.assign=="function"?Object.assign:o;function o(s){var l,c,d;for(l=1;l<arguments.length;l++){c=arguments[l];for(d in c)c.hasOwnProperty(d)&&(s[d]=c[d])}return s}n.exports={assign:i,_assign:o}},{}],58:[function(e,n,a){var i=e("./braintree-error"),o=e("./errors"),s="3.126.0";function l(c){var d,u,h;return c?(h=c.name,d=c.client,u=c.authorization,!d&&!u?Promise.reject(new i({type:o.INSTANTIATION_OPTION_REQUIRED.type,code:o.INSTANTIATION_OPTION_REQUIRED.code,message:"options.client is required when instantiating "+h+"."})):!u&&d.getVersion()!==s?Promise.reject(new i({type:o.INCOMPATIBLE_VERSIONS.type,code:o.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+d.getVersion()+") and "+h+" (version "+s+") components must be from the same SDK version."})):Promise.resolve()):Promise.reject(new i({type:o.INVALID_USE_OF_INTERNAL_FUNCTION.type,code:o.INVALID_USE_OF_INTERNAL_FUNCTION.code,message:"Options must be passed to basicComponentVerification function."}))}n.exports={verify:l}},{"./braintree-error":59,"./errors":66}],59:[function(e,n,a){var i=e("./enumerate");function o(s){if(!o.types.hasOwnProperty(s.type))throw new Error(s.type+" is not a valid type.");if(!s.code)throw new Error("Error code required.");if(!s.message)throw new Error("Error message required.");this.name="BraintreeError",this.code=s.code,this.message=s.message,this.type=s.type,this.details=s.details}o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o.types=i(["CUSTOMER","MERCHANT","NETWORK","INTERNAL","UNKNOWN"]),o.findRootError=function(s){return s instanceof o&&s.details&&s.details.originalError?o.findRootError(s.details.originalError):s},n.exports=o},{"./enumerate":65}],60:[function(e,n,a){var i="3.126.0",o="web",s={production:"https://api.braintreegateway.com:443",sandbox:"https://api.sandbox.braintreegateway.com:443"},l={production:"https://assets.braintreegateway.com",sandbox:"https://assets.braintreegateway.com"},c={production:"https://payments.braintree-api.com/graphql",sandbox:"https://payments.sandbox.braintree-api.com/graphql"};n.exports={ANALYTICS_PREFIX:o+".",ANALYTICS_REQUEST_TIMEOUT_MS:2e3,ANALYTICS_URL:"https://www.paypal.com/xoplatform/logger/api/logger",ASSETS_URLS:l,CLIENT_API_URLS:s,FRAUDNET_SOURCE:"BRAINTREE_SIGNIN",FRAUDNET_FNCLS:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",FRAUDNET_URL:"https://c.paypal.com/da/r/fb.js",BUS_CONFIGURATION_REQUEST_EVENT:"BUS_CONFIGURATION_REQUEST",GRAPHQL_URLS:c,INTEGRATION_TIMEOUT_MS:6e4,VERSION:i,INTEGRATION:"custom",SOURCE:"client",PLATFORM:o,BRAINTREE_LIBRARY_VERSION:"braintree/"+o+"/"+i,ALLOWED_EXTRA_EVENT_FIELDS:["context_id","context_type"]}},{}],61:[function(e,n,a){var i=e("./braintree-error"),o=e("./errors");n.exports=function(s,l){l.forEach(function(c){s[c]=function(){throw new i({type:o.METHOD_CALLED_AFTER_TEARDOWN.type,code:o.METHOD_CALLED_AFTER_TEARDOWN.code,message:c+" cannot be called after teardown."})}})}},{"./braintree-error":59,"./errors":66}],62:[function(e,n,a){var i=e("./constants").ASSETS_URLS;function o(s){return i.production}n.exports={create:o}},{"./constants":60}],63:[function(e,n,a){var i=e("../lib/vendor/polyfill").atob,o=e("../lib/constants").CLIENT_API_URLS;function s(d){return/^[a-zA-Z0-9]+_[a-zA-Z0-9]+_[a-zA-Z0-9_]+$/.test(d)}function l(d){var u=d.split("_"),h=u[0],p=u.slice(2).join("_");return{merchantId:p,environment:h}}function c(d){var u,h,p={attrs:{},configUrl:""};return s(d)?(h=l(d),p.environment=h.environment,p.attrs.tokenizationKey=d,p.configUrl=o[h.environment]+"/merchants/"+h.merchantId+"/client_api/v1/configuration"):(u=JSON.parse(i(d)),p.environment=u.environment,p.attrs.authorizationFingerprint=u.authorizationFingerprint,p.configUrl=u.configUrl,p.graphQL=u.graphQL),p}n.exports=c},{"../lib/constants":60,"../lib/vendor/polyfill":86}],64:[function(e,n,a){var i=e("./braintree-error"),o=e("./assets"),s=e("./errors"),l="3.126.0";function c(d){var u=Promise.resolve();return d.client?Promise.resolve(d.client):(window.braintree&&window.braintree.client||(u=o.loadScript({src:d.assetsUrl+"/web/"+l+"/js/client.min.js"}).catch(function(h){return Promise.reject(new i({type:s.CLIENT_SCRIPT_FAILED_TO_LOAD.type,code:s.CLIENT_SCRIPT_FAILED_TO_LOAD.code,message:s.CLIENT_SCRIPT_FAILED_TO_LOAD.message,details:{originalError:h}}))})),u.then(function(){return window.braintree.client.VERSION!==l?Promise.reject(new i({type:s.INCOMPATIBLE_VERSIONS.type,code:s.INCOMPATIBLE_VERSIONS.code,message:"Client (version "+window.braintree.client.VERSION+") and "+d.name+" (version "+l+") components must be from the same SDK version."})):window.braintree.client.create({authorization:d.authorization,debug:d.debug})}))}n.exports={create:c}},{"./assets":56,"./braintree-error":59,"./errors":66}],65:[function(e,n,a){function i(o,s){return s=s==null?"":s,o.reduce(function(l,c){return l[c]=s+c,l},{})}n.exports=i},{}],66:[function(e,n,a){var i=e("./braintree-error");n.exports={INVALID_USE_OF_INTERNAL_FUNCTION:{type:i.types.INTERNAL,code:"INVALID_USE_OF_INTERNAL_FUNCTION"},INSTANTIATION_OPTION_REQUIRED:{type:i.types.MERCHANT,code:"INSTANTIATION_OPTION_REQUIRED"},INCOMPATIBLE_VERSIONS:{type:i.types.MERCHANT,code:"INCOMPATIBLE_VERSIONS"},CLIENT_SCRIPT_FAILED_TO_LOAD:{type:i.types.NETWORK,code:"CLIENT_SCRIPT_FAILED_TO_LOAD",message:"Braintree client script could not be loaded."},METHOD_CALLED_AFTER_TEARDOWN:{type:i.types.MERCHANT,code:"METHOD_CALLED_AFTER_TEARDOWN"}}},{"./braintree-error":59}],67:[function(e,n,a){var i=e("./strategies/popup"),o=e("./strategies/popup-bridge"),s=e("./strategies/modal"),l=e("framebus"),c=e("../shared/events"),d=e("../shared/errors"),u=e("../shared/constants"),h=e("@braintree/uuid"),p=e("@braintree/iframer"),f=e("../../braintree-error"),m=e("../shared/browser-detection"),v=e("./../../assign").assign,y=e("../../constants").BUS_CONFIGURATION_REQUEST_EVENT,A=["name","dispatchFrameUrl","openFrameUrl"];function x(){}function k(L){if(!L)throw new Error("Valid configuration is required");if(A.forEach(function(N){if(!L.hasOwnProperty(N))throw new Error("A valid frame "+N+" must be provided")}),!/^[\w_]+$/.test(L.name))throw new Error("A valid frame name must be provided")}function I(L){k(L),this._serviceId=h().replace(/-/g,""),this._options={name:L.name+"_"+this._serviceId,dispatchFrameUrl:L.dispatchFrameUrl,openFrameUrl:L.openFrameUrl,height:L.height,width:L.width,top:L.top,left:L.left},this.state=L.state||{},this._bus=new l({channel:this._serviceId}),this._setBusEvents()}I.prototype.initialize=function(L){var N=function(){L(),this._bus.off(c.DISPATCH_FRAME_READY,N)}.bind(this);this._bus.on(c.DISPATCH_FRAME_READY,N),this._writeDispatchFrame()},I.prototype._writeDispatchFrame=function(){var L=u.DISPATCH_FRAME_NAME+"_"+this._serviceId,N=this._options.dispatchFrameUrl;this._dispatchFrame=p({"aria-hidden":!0,name:L,title:L,src:N,class:u.DISPATCH_FRAME_CLASS,height:0,width:0,style:{position:"absolute",left:"-9999px"}}),document.body.appendChild(this._dispatchFrame)},I.prototype._setBusEvents=function(){this._bus.on(c.DISPATCH_FRAME_REPORT,function(L,N){this._onCompleteCallback&&this._onCompleteCallback.call(null,L.err,L.payload),this._frame.close(),this._onCompleteCallback=null,N&&N()}.bind(this)),this._bus.on(y,function(L){L(this.state)}.bind(this))},I.prototype.open=function(L,N){if(L=L||{},this._frame=this._getFrameForEnvironment(L),this._frame.initialize(N),!(this._frame instanceof o)){if(v(this.state,L.state),this._onCompleteCallback=N,this._frame.open(),this.isFrameClosed()){this._cleanupFrame(),N&&N(new f(d.FRAME_SERVICE_FRAME_OPEN_FAILED));return}this._pollForPopupClose()}},I.prototype.redirect=function(L){this._frame&&!this.isFrameClosed()&&this._frame.redirect(L)},I.prototype.close=function(){this.isFrameClosed()||this._frame.close()},I.prototype.focus=function(){this.isFrameClosed()||this._frame.focus()},I.prototype.createHandler=function(L){return L=L||{},{close:function(){L.beforeClose&&L.beforeClose(),this.close()}.bind(this),focus:function(){L.beforeFocus&&L.beforeFocus(),this.focus()}.bind(this)}},I.prototype.createNoopHandler=function(){return{close:x,focus:x}},I.prototype.teardown=function(){this.close(),this._dispatchFrame.parentNode.removeChild(this._dispatchFrame),this._dispatchFrame=null,this._cleanupFrame()},I.prototype.isFrameClosed=function(){return this._frame==null||this._frame.isClosed()},I.prototype._cleanupFrame=function(){this._frame=null,clearInterval(this._popupInterval),this._popupInterval=null},I.prototype._pollForPopupClose=function(){return this._popupInterval=setInterval(function(){this.isFrameClosed()&&(this._cleanupFrame(),this._onCompleteCallback&&this._onCompleteCallback(new f(d.FRAME_SERVICE_FRAME_CLOSED)))}.bind(this),u.POPUP_POLL_INTERVAL),this._popupInterval},I.prototype._getFrameForEnvironment=function(L){var N=m.supportsPopups(),S=!!window.popupBridge,U=v({},this._options,L);return S?new o(U):N?new i(U):new s(U)},n.exports=I},{"../../braintree-error":59,"../../constants":60,"../shared/browser-detection":74,"../shared/constants":75,"../shared/errors":76,"../shared/events":77,"./../../assign":57,"./strategies/modal":69,"./strategies/popup":72,"./strategies/popup-bridge":70,"@braintree/iframer":27,"@braintree/uuid":31,framebus:38}],68:[function(e,n,a){var i=e("./frame-service");n.exports={create:function(s,l){var c=new i(s);c.initialize(function(){l(c)})}}},{"./frame-service":67}],69:[function(e,n,a){var i=e("@braintree/iframer"),o=e("../../../assign").assign,s=e("../../shared/browser-detection"),l={position:"fixed",top:0,left:0,bottom:0,padding:0,margin:0,border:0,outline:"none",zIndex:20001,background:"#FFFFFF"};function c(){}function d(u){this._closed=null,this._frame=null,this._options=u||{},this._container=this._options.container||document.body}d.prototype.initialize=c,d.prototype.open=function(){var u={src:this._options.openFrameUrl,name:this._options.name,scrolling:"yes",height:"100%",width:"100%",style:o({},l),title:"Lightbox Frame"};s.isIos()?(s.isIosWKWebview()&&(this._lockScrolling(),u.style={}),this._el=document.createElement("div"),o(this._el.style,l,{height:"100%",width:"100%",overflow:"auto","-webkit-overflow-scrolling":"touch"}),this._frame=i(u),this._el.appendChild(this._frame)):this._el=this._frame=i(u),this._closed=!1,this._container.appendChild(this._el)},d.prototype.focus=c,d.prototype.close=function(){this._container.removeChild(this._el),this._frame=null,this._closed=!0,s.isIosWKWebview()&&this._unlockScrolling()},d.prototype.isClosed=function(){return!!this._closed},d.prototype.redirect=function(u){this._frame.src=u},d.prototype._unlockScrolling=function(){document.body.style.overflow=this._savedBodyProperties.overflowStyle,document.body.style.position=this._savedBodyProperties.positionStyle,window.scrollTo(this._savedBodyProperties.left,this._savedBodyProperties.top),delete this._savedBodyProperties},d.prototype._lockScrolling=function(){var u=document.documentElement;this._savedBodyProperties={left:(window.pageXOffset||u.scrollLeft)-(u.clientLeft||0),top:(window.pageYOffset||u.scrollTop)-(u.clientTop||0),overflowStyle:document.body.style.overflow,positionStyle:document.body.style.position},document.body.style.overflow="hidden",document.body.style.position="fixed",window.scrollTo(0,0)},n.exports=d},{"../../../assign":57,"../../shared/browser-detection":74,"@braintree/iframer":27}],70:[function(e,n,a){var i=e("../../../braintree-error"),o=e("../../shared/errors");function s(){}function l(c){this._closed=null,this._options=c}l.prototype.initialize=function(c){var d=this;window.popupBridge.onComplete=function(u,h){var p=!h&&!u;if(d._closed=!0,u||p){c(new i(o.FRAME_SERVICE_FRAME_CLOSED));return}c(null,h)}},l.prototype.open=function(c){var d;c=c||{},d=c.openFrameUrl||this._options.openFrameUrl,this._closed=!1,window.popupBridge.open(d)},l.prototype.focus=s,l.prototype.close=s,l.prototype.isClosed=function(){return!!this._closed},l.prototype.redirect=function(c){this.open({openFrameUrl:c})},n.exports=l},{"../../../braintree-error":59,"../../shared/errors":76}],71:[function(e,n,a){var i=e("../../../shared/constants"),o=e("./position");function s(l,c,d){return typeof c!="undefined"?c:o[l](d)}n.exports=function(c){var d=c.height||i.DEFAULT_POPUP_HEIGHT,u=c.width||i.DEFAULT_POPUP_WIDTH,h=s("top",c.top,d),p=s("left",c.left,u);return[i.POPUP_BASE_OPTIONS,"height="+d,"width="+u,"top="+h,"left="+p].join(",")}},{"../../../shared/constants":75,"./position":73}],72:[function(e,n,a){var i=e("./compose-options");function o(){}function s(l){this._frame=null,this._options=l||{}}s.prototype.initialize=o,s.prototype.open=function(){this._frame=window.open(this._options.openFrameUrl,this._options.name,i(this._options))},s.prototype.focus=function(){this._frame.focus()},s.prototype.close=function(){this._frame.closed||this._frame.close()},s.prototype.isClosed=function(){return!this._frame||!!this._frame.closed},s.prototype.redirect=function(l){this._frame.location.href=l},n.exports=s},{"./compose-options":71}],73:[function(e,n,a){function i(l){var c=window.outerHeight||document.documentElement.clientHeight,d=window.screenY==null?window.screenTop:window.screenY;return s(c,l,d)}function o(l){var c=window.outerWidth||document.documentElement.clientWidth,d=window.screenX==null?window.screenLeft:window.screenX;return s(c,l,d)}function s(l,c,d){return(l-c)/2+d}n.exports={top:i,left:o,center:s}},{}],74:[function(e,n,a){n.exports={isIos:e("@braintree/browser-detection/is-ios"),isIosWKWebview:e("@braintree/browser-detection/is-ios-wkwebview"),supportsPopups:e("@braintree/browser-detection/supports-popups")}},{"@braintree/browser-detection/is-ios":23,"@braintree/browser-detection/is-ios-wkwebview":22,"@braintree/browser-detection/supports-popups":25}],75:[function(e,n,a){n.exports={DISPATCH_FRAME_NAME:"dispatch",DISPATCH_FRAME_CLASS:"braintree-dispatch-frame",POPUP_BASE_OPTIONS:"resizable,scrollbars",DEFAULT_POPUP_WIDTH:450,DEFAULT_POPUP_HEIGHT:535,POPUP_POLL_INTERVAL:100,POPUP_CLOSE_TIMEOUT:100}},{}],76:[function(e,n,a){var i=e("../../braintree-error");n.exports={FRAME_SERVICE_FRAME_CLOSED:{type:i.types.INTERNAL,code:"FRAME_SERVICE_FRAME_CLOSED",message:"Frame closed before tokenization could occur."},FRAME_SERVICE_FRAME_OPEN_FAILED:{type:i.types.INTERNAL,code:"FRAME_SERVICE_FRAME_OPEN_FAILED",message:"Frame failed to open."}}},{"../../braintree-error":59}],77:[function(e,n,a){var i=e("../../enumerate");n.exports=i(["DISPATCH_FRAME_READY","DISPATCH_FRAME_REPORT"],"frameService:")},{"../../enumerate":65}],78:[function(e,n,a){n.exports=function(o){o=o||window;try{return o.self!==o.top}catch(s){return!0}}},{}],79:[function(e,n,a){var i,o={"paypal.com":1,"braintreepayments.com":1,"braintreegateway.com":1,"braintree-api.com":1};function s(c){return c.split(".").slice(-2).join(".")}function l(c){var d;return c=c.toLowerCase(),/^https:/.test(c)?(i=i||document.createElement("a"),i.href=c,d=s(i.hostname),o.hasOwnProperty(d)):!1}n.exports=l},{}],80:[function(e,n,a){n.exports=function(i){return JSON.parse(JSON.stringify(i))}},{}],81:[function(e,n,a){n.exports=function(i){return Object.keys(i).filter(function(o){return typeof i[o]=="function"})}},{}],82:[function(e,n,a){function i(u){var h;for(h in u)if(u.hasOwnProperty(h))return!0;return!1}function o(u){return u&&typeof u=="object"&&typeof u.length=="number"&&Object.prototype.toString.call(u)==="[object Array]"||!1}function s(u){return u=u||window.location.href,/\?/.test(u)}function l(u){var h,p;return u=u||window.location.href,s(u)?(h=u.split("?")[1]||"",h=h.replace(/#.*$/,"").split("&"),p=h.reduce(function(f,m){var v=m.split("="),y=decodeURIComponent(v[0]),A=decodeURIComponent(v[1]);return f[y]=A,f},{}),p):{}}function c(u,h){var p,f,m,v=[];for(m in u)u.hasOwnProperty(m)&&(f=u[m],h?o(u)?p=h+"[]":p=h+"["+m+"]":p=m,typeof f=="object"?v.push(c(f,p)):v.push(encodeURIComponent(p)+"="+encodeURIComponent(f)));return v.join("&")}function d(u,h){return u=u||"",h!=null&&typeof h=="object"&&i(h)&&(u+=u.indexOf("?")===-1?"?":"",u+=u.indexOf("=")!==-1?"&":"",u+=c(h)),u}n.exports={parse:l,stringify:c,queryify:d,hasQueryParams:s}},{}],83:[function(e,n,a){n.exports=function(i){return i.indexOf("_")===-1?i:i.toLowerCase().replace(/(\_\w)/g,function(o){return o[1].toUpperCase()})}},{}],84:[function(e,n,a){var i=e("./querystring");function o(){return i.parse(window.location.href)}n.exports={getUrlParams:o}},{"./querystring":82}],85:[function(e,n,a){function i(o){return o?"":".min"}n.exports=i},{}],86:[function(e,n,a){var i=typeof atob=="function"?atob:o;function o(s){var l,c,d,u,h,p,f,m,v=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})([=]{1,2})?$/,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",A="";if(!v.test(s))throw new Error("Non base64 encoded input passed to window.atob polyfill");m=0;do u=y.indexOf(s.charAt(m++)),h=y.indexOf(s.charAt(m++)),p=y.indexOf(s.charAt(m++)),f=y.indexOf(s.charAt(m++)),l=(u&63)<<2|h>>4&3,c=(h&15)<<4|p>>2&15,d=(p&3)<<6|f&63,A+=String.fromCharCode(l)+(c?String.fromCharCode(c):"")+(d?String.fromCharCode(d):"");while(m<s.length);return A}n.exports={atob:function(s){return i.call(window,s)},_atob:o}},{}],87:[function(e,n,a){var i=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},o=i(e("./venmo-desktop"));n.exports=function(l){var c=new o.default(l);return c.initialize()}},{"./venmo-desktop":89}],88:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.VENMO_PAYMENT_CONTEXT_STATUS_QUERY=a.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY=a.UPDATE_PAYMENT_CONTEXT_QUERY=a.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY=a.CREATE_PAYMENT_CONTEXT_QUERY=a.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=void 0,a.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY=`mutation CreateVenmoQRCodePaymentContext($input: CreateVenmoQRCodePaymentContextInput!) {
|
|
414
414
|
createVenmoQRCodePaymentContext(input: $input) {
|
|
415
415
|
clientMutationId
|
|
416
416
|
venmoQRCodePaymentContext {
|
|
@@ -420,7 +420,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
420
420
|
expiresAt
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
}`,
|
|
423
|
+
}`,a.CREATE_PAYMENT_CONTEXT_QUERY=`mutation CreateVenmoPaymentContext($input: CreateVenmoPaymentContextInput!) {
|
|
424
424
|
createVenmoPaymentContext(input: $input) {
|
|
425
425
|
clientMutationId
|
|
426
426
|
venmoPaymentContext {
|
|
@@ -430,15 +430,15 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
430
430
|
expiresAt
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
}`,
|
|
433
|
+
}`,a.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY=`mutation UpdateVenmoQRCodePaymentContext($input: UpdateVenmoQRCodePaymentContextInput!) {
|
|
434
434
|
updateVenmoQRCodePaymentContext(input: $input) {
|
|
435
435
|
clientMutationId
|
|
436
436
|
}
|
|
437
|
-
}`,
|
|
437
|
+
}`,a.UPDATE_PAYMENT_CONTEXT_QUERY=`mutation UpdateVenmoPaymentContextStatus($input: UpdateVenmoPaymentContextStatusInput!) {
|
|
438
438
|
updateVenmoPaymentContextStatus(input: $input) {
|
|
439
439
|
clientMutationId
|
|
440
440
|
}
|
|
441
|
-
}`,
|
|
441
|
+
}`,a.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY=`query PaymentContext($id: ID!) {
|
|
442
442
|
node(id: $id) {
|
|
443
443
|
... on VenmoQRCodePaymentContext {
|
|
444
444
|
status
|
|
@@ -446,7 +446,7 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
446
446
|
userName
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
}`,
|
|
449
|
+
}`,a.VENMO_PAYMENT_CONTEXT_STATUS_QUERY=`query PaymentContext($id: ID!) {
|
|
450
450
|
node(id: $id) {
|
|
451
451
|
... on VenmoPaymentContext {
|
|
452
452
|
status
|
|
@@ -480,12 +480,12 @@ ${y}::-ms-input-placeholder{${m}}
|
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
}`},{}],89:[function(a,r,i){var n=this&&this.__assign||function(){return n=Object.assign||function(y){for(var f,g=1,E=arguments.length;g<E;g++){f=arguments[g];for(var N in f)Object.prototype.hasOwnProperty.call(f,N)&&(y[N]=f[N])}return y},n.apply(this,arguments)},s=this&&this.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(i,"__esModule",{value:!0});var o=s(a("framebus")),l=s(a("@braintree/iframer")),d=s(a("@braintree/uuid")),c=a("../shared/events"),u=a("./queries"),h=1e3,p=2e3,m=function(){function y(f){this.isHidden=!0,this.env=f.environment,this.id=d.default(),this.profileId=f.profileId,this.displayName=f.displayName,this.paymentMethodUsage=f.paymentMethodUsage,this.shouldUseLegacyQRCodeMutation=!this.paymentMethodUsage;var g=f.url+"#"+this.env+"_"+this.id;this.bus=new o.default({channel:this.id,verifyDomain:f.verifyDomain,targetFrames:[]}),this.apiRequest=f.apiRequest,this.sendEvent=f.sendEvent,this.Promise=f.Promise,this.alertBox=document.createElement("div"),this.alertBox.setAttribute("data-venmo-desktop-id",this.id),this.alertBox.setAttribute("role","alert"),this.alertBox.style.position="fixed",this.alertBox.style.display="none",this.alertBox.style.height="1px",this.alertBox.style.width="1px",this.alertBox.style.overflow="hidden",this.alertBox.style.zIndex="0",this.iframe=l.default({src:g,name:"venmo-desktop-iframe",style:{display:"none",position:"fixed",top:"0",bottom:"0",right:"0",left:"0",height:"100%",width:"100%",zIndex:"9999999"},title:"Venmo Desktop"}),this.bus.addTargetFrame(this.iframe)}return y.prototype.initialize=function(){var f=this;return new this.Promise(function(g){f.bus.on(c.VENMO_DESKTOP_IFRAME_READY,function(){g(f)}),f.bus.on(c.VENMO_DESKTOP_REQUEST_NEW_QR_CODE,function(){f.sendEvent("venmo.tokenize.desktop.restarted-from-error-view"),f.startPolling()}),document.body.appendChild(f.iframe),document.body.appendChild(f.alertBox)})},y.prototype.launchDesktopFlow=function(){var f=this;this.isHidden=!1;var g=new this.Promise(function(E,N){f.launchDesktopPromiseRejectFunction=N;var w=function(){f.bus.off(c.VENMO_DESKTOP_CUSTOMER_CANCELED,x),f.bus.off(c.VENMO_DESKTOP_UNKNOWN_ERROR,I)},I=function(_){w(),f.sendEvent("venmo.tokenize.desktop.unknown-error"),N({allowUIToHandleError:!1,reason:"UNKNOWN_ERROR",err:_})},x=function(){w(),f.updateVenmoDesktopPaymentContext("CANCELED"),f.sendEvent("venmo.tokenize.desktop.status-change.canceled-from-modal"),N({allowUIToHandleError:!1,reason:"CUSTOMER_CANCELED"})};f.completedHandler=function(_){w(),E(_)},f.bus.on(c.VENMO_DESKTOP_CUSTOMER_CANCELED,x),f.bus.on(c.VENMO_DESKTOP_UNKNOWN_ERROR,I)});return this.iframe.style.display="block",this.setAlert("Generating a QR code, get your Venmo app ready"),this.iframe.focus(),this.startPolling(),g.then(function(E){return delete f.venmoContextId,delete f.launchDesktopPromiseRejectFunction,E}).catch(function(E){return delete f.venmoContextId,delete f.launchDesktopPromiseRejectFunction,f.Promise.reject(E)})},y.prototype.triggerCompleted=function(f){var g=this;this.isHidden||setTimeout(function(){g.completedHandler&&g.completedHandler(f),delete g.completedHandler},p)},y.prototype.triggerRejected=function(f){this.launchDesktopPromiseRejectFunction&&this.launchDesktopPromiseRejectFunction(f)},y.prototype.hideDesktopFlow=function(){this.setAlert(""),this.iframe.style.display="none",this.bus.emit(c.VENMO_DESKTOP_CLOSED_FROM_PARENT),this.isHidden=!0},y.prototype.displayError=function(f){this.isHidden||(this.bus.emit(c.VENMO_DESKTOP_DISPLAY_ERROR,{message:f}),this.setAlert(f))},y.prototype.displayQRCode=function(f,g){this.isHidden||(this.bus.emit(c.VENMO_DESKTOP_DISPLAY_QR_CODE,{id:f,merchantId:g}),this.setAlert("To scan the QR code, open your Venmo app"))},y.prototype.authorize=function(){this.isHidden||(this.bus.emit(c.VENMO_DESKTOP_AUTHORIZE),this.setAlert("Venmo account authorized"))},y.prototype.authorizing=function(){this.isHidden||(this.bus.emit(c.VENMO_DESKTOP_AUTHORIZING),this.setAlert("Authorize on your Venmo app"))},y.prototype.startPolling=function(){var f=this;return this.createVenmoDesktopPaymentContext().then(function(g){var E=new Date(g.expiresAt).getTime()-new Date(g.createdAt).getTime(),N=Date.now()+E;return f.displayQRCode(g.id,g.merchantId),f.pollForStatusChange(g.status,N)}).then(function(g){if(g){var E=g.userName||"";E="@"+E.replace("@",""),f.triggerCompleted({paymentMethodNonce:g.paymentMethodId,username:E,payerInfo:g.payerInfo,id:f.venmoContextId||""})}}).catch(function(g){g.allowUIToHandleError||(f.sendEvent("venmo.tokenize.desktop.unhandled-error"),f.triggerRejected(g))})},y.prototype.pollForStatusChange=function(f,g){var E=this;return this.venmoContextId?Date.now()>g?this.updateVenmoDesktopPaymentContext("EXPIRED").then(function(){return E.displayError("Something went wrong"),E.sendEvent("venmo.tokenize.desktop.status-change.sdk-timeout"),E.Promise.reject({allowUIToHandleError:!0,reason:"TIMEOUT"})}):this.lookupVenmoDesktopPaymentContext().then(function(N){if(!E.venmoContextId||!N)return E.Promise.resolve();var w=N.status;if(w!==f)switch(f=w,E.sendEvent("venmo.tokenize.desktop.status-change."+f.toLowerCase()),f){case"CREATED":break;case"EXPIRED":case"FAILED":case"CANCELED":var I=f==="CANCELED"?"The authorization was canceled":"Something went wrong";return E.displayError(I),E.Promise.reject({allowUIToHandleError:!0,reason:f});case"SCANNED":E.authorizing();break;case"APPROVED":return E.authorize(),E.Promise.resolve(N)}return new E.Promise(function(x,_){setTimeout(function(){E.pollForStatusChange(f,g).then(x).catch(_)},h)})}):this.Promise.resolve()},y.prototype.teardown=function(){this.bus.teardown(),this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.alertBox.parentNode&&this.alertBox.parentNode.removeChild(this.alertBox)},y.prototype.setAlert=function(f){this.alertBox.style.display=f?"block":"none",this.alertBox.textContent=f},y.prototype.createPaymentContextFromGraphqlLegacyQRCodeMutation=function(f){return this.apiRequest(u.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,{input:{environment:this.env,intent:f}}).then(function(g){return g.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext})},y.prototype.createPaymentContextFromGraphQL=function(f){var g={intent:f,paymentMethodUsage:this.paymentMethodUsage,customerClient:"DESKTOP"};return this.profileId&&(g.merchantProfileId=this.profileId),this.displayName&&(g.displayName=this.displayName),this.apiRequest(u.CREATE_PAYMENT_CONTEXT_QUERY,{input:g}).then(function(E){return E.createVenmoPaymentContext.venmoPaymentContext})},y.prototype.createVenmoDesktopPaymentContext=function(){var f=this,g=this.shouldUseLegacyQRCodeMutation?this.createPaymentContextFromGraphqlLegacyQRCodeMutation("PAY_FROM_APP"):this.createPaymentContextFromGraphQL("PAY_FROM_APP");return g.then(function(E){f.venmoContextId=E.id;var N=f.profileId||E.merchantId;return{id:E.id,status:E.status,merchantId:N,createdAt:E.createdAt,expiresAt:E.expiresAt}})},y.prototype.updateVenmoDesktopPaymentContext=function(f,g){if(g===void 0&&(g={}),!this.venmoContextId)return this.Promise.resolve();var E={input:n({id:this.venmoContextId,status:f},g)},N=this.shouldUseLegacyQRCodeMutation?u.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:u.UPDATE_PAYMENT_CONTEXT_QUERY;return this.apiRequest(N,E).then(function(){})},y.prototype.lookupVenmoDesktopPaymentContext=function(){if(!this.venmoContextId)return this.Promise.resolve();var f=this.shouldUseLegacyQRCodeMutation?u.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:u.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return this.apiRequest(f,{id:this.venmoContextId}).then(function(g){return g.node})},y}();i.default=m},{"../shared/events":94,"./queries":88,"@braintree/iframer":27,"@braintree/uuid":31,framebus:38}],90:[function(a,r,i){var n=a("../lib/analytics"),s=a("../lib/basic-component-verification"),o=a("../lib/create-deferred-client"),l=a("../lib/create-assets-url"),d=a("./shared/errors"),c=a("@braintree/wrap-promise"),u=a("../lib/braintree-error"),h=a("./venmo"),p=a("./shared/supports-venmo"),m="3.126.0";function y(g){var E="Venmo";return s.verify({name:E,client:g.client,authorization:g.authorization}).then(function(){var N,w;return g.profileId&&typeof g.profileId!="string"?Promise.reject(new u(d.VENMO_INVALID_PROFILE_ID)):g.deepLinkReturnUrl&&typeof g.deepLinkReturnUrl!="string"?Promise.reject(new u(d.VENMO_INVALID_DEEP_LINK_RETURN_URL)):(N=o.create({authorization:g.authorization,client:g.client,debug:g.debug,assetsUrl:l.create(g.authorization),name:E}).then(function(I){var x=I.getConfiguration();return g.client=I,x.gatewayConfiguration.payWithVenmo?I:Promise.reject(new u(d.VENMO_NOT_ENABLED))}),g.createPromise=N,w=new h(g),n.sendEvent(N,"venmo.initialized"),N.then(function(){return w}))})}function f(g){return p.isBrowserSupported(g)}r.exports={create:c(y),isBrowserSupported:f,VERSION:m}},{"../lib/analytics":55,"../lib/basic-component-verification":58,"../lib/braintree-error":59,"../lib/create-assets-url":62,"../lib/create-deferred-client":64,"./shared/errors":93,"./shared/supports-venmo":96,"./venmo":98,"@braintree/wrap-promise":35}],91:[function(a,r,i){var n=a("@braintree/browser-detection/is-android"),s=a("@braintree/browser-detection/is-chrome"),o=a("@braintree/browser-detection/is-ios"),l=a("@braintree/browser-detection/is-ios-safari"),d=a("@braintree/browser-detection/is-ios-webview"),c=a("@braintree/browser-detection/is-samsung");function u(){return n()&&window.navigator.userAgent.toLowerCase().indexOf("wv")>-1}function h(){return o()?d()||!l():!1}function p(){var y=window.navigator.userAgent.toLowerCase();return y.indexOf("huawei")>-1&&y.indexOf("fban")>-1?!0:n()?y.indexOf("fb_iab")>-1||y.indexOf("instagram")>-1:!1}function m(){return o()&&s()}r.exports={isAndroid:n,isAndroidWebview:u,isChrome:s,isIos:o,isIosChrome:m,isSamsung:c,isIosSafari:l,isIosWebview:d,isFacebookOwnedBrowserOnAndroid:p,doesNotSupportWindowOpenInIos:h}},{"@braintree/browser-detection/is-android":18,"@braintree/browser-detection/is-chrome":19,"@braintree/browser-detection/is-ios":23,"@braintree/browser-detection/is-ios-safari":20,"@braintree/browser-detection/is-ios-webview":21,"@braintree/browser-detection/is-samsung":24}],92:[function(a,r,i){r.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_APP_OR_MOBILE_AUTH_URL:"https://venmo.com/go/checkout",VENMO_MOBILE_APP_AUTH_ONLY_URL:"https://venmo.com/braintree/checkout",VENMO_WEB_LOGIN_URL:"https://account.venmo.com/go/web"}},{}],93:[function(a,r,i){var n=a("../../lib/braintree-error");r.exports={VENMO_NOT_ENABLED:{type:n.types.MERCHANT,code:"VENMO_NOT_ENABLED",message:"Venmo is not enabled for this merchant."},VENMO_TOKENIZATION_REQUEST_ACTIVE:{type:n.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE:{type:n.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE",message:"No tokenization in progress."},VENMO_APP_FAILED:{type:n.types.UNKNOWN,code:"VENMO_APP_FAILED",message:"Venmo app encountered a problem."},VENMO_APP_CANCELED:{type:n.types.CUSTOMER,code:"VENMO_APP_CANCELED",message:"Venmo app authorization was canceled."},VENMO_CANCELED:{type:n.types.CUSTOMER,code:"VENMO_CANCELED",message:"User canceled Venmo authorization, or Venmo app is not available."},VENMO_CUSTOMER_CANCELED:{type:n.types.CUSTOMER,code:"VENMO_CUSTOMER_CANCELED",message:"User canceled Venmo authorization."},VENMO_NETWORK_ERROR:{type:n.types.NETWORK,code:"VENMO_NETWORK_ERROR",message:"Something went wrong making the request"},VENMO_DESKTOP_CANCELED:{type:n.types.CUSTOMER,code:"VENMO_DESKTOP_CANCELED",message:"User canceled Venmo authorization by closing the Venmo Desktop modal."},VENMO_TOKENIZATION_CANCELED_BY_MERCHANT:{type:n.types.MERCHANT,code:"VENMO_TOKENIZATION_CANCELED_BY_MERCHANT",message:"The Venmo tokenization was canceled by the merchant."},VENMO_DESKTOP_UNKNOWN_ERROR:{type:n.types.UNKNOWN,code:"VENMO_DESKTOP_UNKNOWN_ERROR",message:"Something went wrong with the Venmo Desktop flow."},VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED:{type:n.types.NETWORK,code:"VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED",message:"Something went wrong creating the Venmo Payment Context."},VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR:{type:n.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR",message:"Something went wrong during mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED:{type:n.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED",message:"The Venmo authorization request is expired."},VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED:{type:n.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED",message:"The Venmo authorization was canceled"},VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT:{type:n.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT",message:"Customer took too long to authorize Venmo payment."},VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID:{type:n.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID",message:"No Venmo payment context ID available."},VENMO_MOBILE_POLLING_TOKENIZATION_FAILED:{type:n.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_FAILED",message:"The Venmo authorization failed."},VENMO_INVALID_PROFILE_ID:{type:n.types.MERCHANT,code:"VENMO_INVALID_PROFILE_ID",message:"Venmo profile ID is invalid."},VENMO_INVALID_DEEP_LINK_RETURN_URL:{type:n.types.MERCHANT,code:"VENMO_INVALID_DEEP_LINK_RETURN_URL",message:"Venmo deep link return URL is invalid."},VENMO_TOKENIZATION_FAILED:{type:n.types.UNKNOWN,code:"VENMO_TOKENIZATION_FAILED",message:"Venmo encountered a problem"},VENMO_ECD_DISABLED:{type:n.types.MERCHANT,code:"ECD_DISABLED",message:"Cannot collect customer data when ECD is disabled. Enable this feature in the Control Panel to collect this data."}}},{"../../lib/braintree-error":59}],94:[function(a,r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.VENMO_DESKTOP_UNKNOWN_ERROR=i.VENMO_DESKTOP_REQUEST_NEW_QR_CODE=i.VENMO_DESKTOP_CLOSED_FROM_PARENT=i.VENMO_DESKTOP_IFRAME_READY=i.VENMO_DESKTOP_DISPLAY_QR_CODE=i.VENMO_DESKTOP_DISPLAY_ERROR=i.VENMO_DESKTOP_CUSTOMER_CANCELED=i.VENMO_DESKTOP_AUTHORIZING=i.VENMO_DESKTOP_AUTHORIZE=i.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT=void 0,i.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT="VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT",i.VENMO_DESKTOP_AUTHORIZE="VENMO_DESKTOP_AUTHORIZE",i.VENMO_DESKTOP_AUTHORIZING="VENMO_DESKTOP_AUTHORIZING",i.VENMO_DESKTOP_CUSTOMER_CANCELED="VENMO_DESKTOP_CUSTOMER_CANCELED",i.VENMO_DESKTOP_DISPLAY_ERROR="VENMO_DESKTOP_DISPLAY_ERROR",i.VENMO_DESKTOP_DISPLAY_QR_CODE="VENMO_DESKTOP_DISPLAY_QR_CODE",i.VENMO_DESKTOP_IFRAME_READY="VENMO_DESKTOP_IFRAME_READY",i.VENMO_DESKTOP_CLOSED_FROM_PARENT="VENMO_DESKTOP_CLOSED_FROM_PARENT",i.VENMO_DESKTOP_REQUEST_NEW_QR_CODE="VENMO_DESKTOP_REQUEST_NEW_QR_CODE",i.VENMO_DESKTOP_UNKNOWN_ERROR="VENMO_DESKTOP_UNKNOWN_ERROR"},{}],95:[function(a,r,i){var n=a("./constants");function s(o){return o.useAllowDesktopWebLogin?n.VENMO_WEB_LOGIN_URL:o.mobileWebFallBack?n.VENMO_APP_OR_MOBILE_AUTH_URL:n.VENMO_MOBILE_APP_AUTH_ONLY_URL}r.exports=s},{"./constants":92}],96:[function(a,r,i){var n=a("./browser-detection"),s=a("../../lib/in-iframe");function o(l){var d,c,u,h,p,m=n.isAndroid(),y=m||n.isIos(),f=m&&n.isChrome(),g=n.isIosSafari()||f;return l=l||{},c=(l.allowDesktopWebLogin||l.allowDesktop)===!0,h=l.hasOwnProperty("allowNewBrowserTab")?l.allowNewBrowserTab:!0,p=l.hasOwnProperty("allowWebviews")?l.allowWebviews:!0,u=h&&!s(),d=!u&&n.isIosChrome()||n.isFacebookOwnedBrowserOnAndroid()||n.isSamsung(),d||!p&&(n.isAndroidWebview()||n.isIosWebview())?!1:y?h?y:g:c}r.exports={isBrowserSupported:o}},{"../../lib/in-iframe":78,"./browser-detection":91}],97:[function(a,r,i){var n=a("../../lib/frame-service/external"),s=a("../../lib/use-min"),o=a("@braintree/extended-promise"),l=a("../shared/errors"),d=a("../../lib/braintree-error"),c="3.126.0",u=`<svg width="198" height="58" viewBox="0 0 198 58" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
483
|
+
}`},{}],89:[function(e,n,a){var i=this&&this.__assign||function(){return i=Object.assign||function(m){for(var v,y=1,A=arguments.length;y<A;y++){v=arguments[y];for(var x in v)Object.prototype.hasOwnProperty.call(v,x)&&(m[x]=v[x])}return m},i.apply(this,arguments)},o=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(a,"__esModule",{value:!0});var s=o(e("framebus")),l=o(e("@braintree/iframer")),c=o(e("@braintree/uuid")),d=e("../shared/events"),u=e("./queries"),h=1e3,p=2e3,f=function(){function m(v){this.isHidden=!0,this.env=v.environment,this.id=c.default(),this.profileId=v.profileId,this.displayName=v.displayName,this.paymentMethodUsage=v.paymentMethodUsage,this.shouldUseLegacyQRCodeMutation=!this.paymentMethodUsage;var y=v.url+"#"+this.env+"_"+this.id;this.bus=new s.default({channel:this.id,verifyDomain:v.verifyDomain,targetFrames:[]}),this.apiRequest=v.apiRequest,this.sendEvent=v.sendEvent,this.Promise=v.Promise,this.alertBox=document.createElement("div"),this.alertBox.setAttribute("data-venmo-desktop-id",this.id),this.alertBox.setAttribute("role","alert"),this.alertBox.style.position="fixed",this.alertBox.style.display="none",this.alertBox.style.height="1px",this.alertBox.style.width="1px",this.alertBox.style.overflow="hidden",this.alertBox.style.zIndex="0",this.iframe=l.default({src:y,name:"venmo-desktop-iframe",style:{display:"none",position:"fixed",top:"0",bottom:"0",right:"0",left:"0",height:"100%",width:"100%",zIndex:"9999999"},title:"Venmo Desktop"}),this.bus.addTargetFrame(this.iframe)}return m.prototype.initialize=function(){var v=this;return new this.Promise(function(y){v.bus.on(d.VENMO_DESKTOP_IFRAME_READY,function(){y(v)}),v.bus.on(d.VENMO_DESKTOP_REQUEST_NEW_QR_CODE,function(){v.sendEvent("venmo.tokenize.desktop.restarted-from-error-view"),v.startPolling()}),document.body.appendChild(v.iframe),document.body.appendChild(v.alertBox)})},m.prototype.launchDesktopFlow=function(){var v=this;this.isHidden=!1;var y=new this.Promise(function(A,x){v.launchDesktopPromiseRejectFunction=x;var k=function(){v.bus.off(d.VENMO_DESKTOP_CUSTOMER_CANCELED,L),v.bus.off(d.VENMO_DESKTOP_UNKNOWN_ERROR,I)},I=function(N){k(),v.sendEvent("venmo.tokenize.desktop.unknown-error"),x({allowUIToHandleError:!1,reason:"UNKNOWN_ERROR",err:N})},L=function(){k(),v.updateVenmoDesktopPaymentContext("CANCELED"),v.sendEvent("venmo.tokenize.desktop.status-change.canceled-from-modal"),x({allowUIToHandleError:!1,reason:"CUSTOMER_CANCELED"})};v.completedHandler=function(N){k(),A(N)},v.bus.on(d.VENMO_DESKTOP_CUSTOMER_CANCELED,L),v.bus.on(d.VENMO_DESKTOP_UNKNOWN_ERROR,I)});return this.iframe.style.display="block",this.setAlert("Generating a QR code, get your Venmo app ready"),this.iframe.focus(),this.startPolling(),y.then(function(A){return delete v.venmoContextId,delete v.launchDesktopPromiseRejectFunction,A}).catch(function(A){return delete v.venmoContextId,delete v.launchDesktopPromiseRejectFunction,v.Promise.reject(A)})},m.prototype.triggerCompleted=function(v){var y=this;this.isHidden||setTimeout(function(){y.completedHandler&&y.completedHandler(v),delete y.completedHandler},p)},m.prototype.triggerRejected=function(v){this.launchDesktopPromiseRejectFunction&&this.launchDesktopPromiseRejectFunction(v)},m.prototype.hideDesktopFlow=function(){this.setAlert(""),this.iframe.style.display="none",this.bus.emit(d.VENMO_DESKTOP_CLOSED_FROM_PARENT),this.isHidden=!0},m.prototype.displayError=function(v){this.isHidden||(this.bus.emit(d.VENMO_DESKTOP_DISPLAY_ERROR,{message:v}),this.setAlert(v))},m.prototype.displayQRCode=function(v,y){this.isHidden||(this.bus.emit(d.VENMO_DESKTOP_DISPLAY_QR_CODE,{id:v,merchantId:y}),this.setAlert("To scan the QR code, open your Venmo app"))},m.prototype.authorize=function(){this.isHidden||(this.bus.emit(d.VENMO_DESKTOP_AUTHORIZE),this.setAlert("Venmo account authorized"))},m.prototype.authorizing=function(){this.isHidden||(this.bus.emit(d.VENMO_DESKTOP_AUTHORIZING),this.setAlert("Authorize on your Venmo app"))},m.prototype.startPolling=function(){var v=this;return this.createVenmoDesktopPaymentContext().then(function(y){var A=new Date(y.expiresAt).getTime()-new Date(y.createdAt).getTime(),x=Date.now()+A;return v.displayQRCode(y.id,y.merchantId),v.pollForStatusChange(y.status,x)}).then(function(y){if(y){var A=y.userName||"";A="@"+A.replace("@",""),v.triggerCompleted({paymentMethodNonce:y.paymentMethodId,username:A,payerInfo:y.payerInfo,id:v.venmoContextId||""})}}).catch(function(y){y.allowUIToHandleError||(v.sendEvent("venmo.tokenize.desktop.unhandled-error"),v.triggerRejected(y))})},m.prototype.pollForStatusChange=function(v,y){var A=this;return this.venmoContextId?Date.now()>y?this.updateVenmoDesktopPaymentContext("EXPIRED").then(function(){return A.displayError("Something went wrong"),A.sendEvent("venmo.tokenize.desktop.status-change.sdk-timeout"),A.Promise.reject({allowUIToHandleError:!0,reason:"TIMEOUT"})}):this.lookupVenmoDesktopPaymentContext().then(function(x){if(!A.venmoContextId||!x)return A.Promise.resolve();var k=x.status;if(k!==v)switch(v=k,A.sendEvent("venmo.tokenize.desktop.status-change."+v.toLowerCase()),v){case"CREATED":break;case"EXPIRED":case"FAILED":case"CANCELED":var I=v==="CANCELED"?"The authorization was canceled":"Something went wrong";return A.displayError(I),A.Promise.reject({allowUIToHandleError:!0,reason:v});case"SCANNED":A.authorizing();break;case"APPROVED":return A.authorize(),A.Promise.resolve(x)}return new A.Promise(function(L,N){setTimeout(function(){A.pollForStatusChange(v,y).then(L).catch(N)},h)})}):this.Promise.resolve()},m.prototype.teardown=function(){this.bus.teardown(),this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.alertBox.parentNode&&this.alertBox.parentNode.removeChild(this.alertBox)},m.prototype.setAlert=function(v){this.alertBox.style.display=v?"block":"none",this.alertBox.textContent=v},m.prototype.createPaymentContextFromGraphqlLegacyQRCodeMutation=function(v){return this.apiRequest(u.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,{input:{environment:this.env,intent:v}}).then(function(y){return y.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext})},m.prototype.createPaymentContextFromGraphQL=function(v){var y={intent:v,paymentMethodUsage:this.paymentMethodUsage,customerClient:"DESKTOP"};return this.profileId&&(y.merchantProfileId=this.profileId),this.displayName&&(y.displayName=this.displayName),this.apiRequest(u.CREATE_PAYMENT_CONTEXT_QUERY,{input:y}).then(function(A){return A.createVenmoPaymentContext.venmoPaymentContext})},m.prototype.createVenmoDesktopPaymentContext=function(){var v=this,y=this.shouldUseLegacyQRCodeMutation?this.createPaymentContextFromGraphqlLegacyQRCodeMutation("PAY_FROM_APP"):this.createPaymentContextFromGraphQL("PAY_FROM_APP");return y.then(function(A){v.venmoContextId=A.id;var x=v.profileId||A.merchantId;return{id:A.id,status:A.status,merchantId:x,createdAt:A.createdAt,expiresAt:A.expiresAt}})},m.prototype.updateVenmoDesktopPaymentContext=function(v,y){if(y===void 0&&(y={}),!this.venmoContextId)return this.Promise.resolve();var A={input:i({id:this.venmoContextId,status:v},y)},x=this.shouldUseLegacyQRCodeMutation?u.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:u.UPDATE_PAYMENT_CONTEXT_QUERY;return this.apiRequest(x,A).then(function(){})},m.prototype.lookupVenmoDesktopPaymentContext=function(){if(!this.venmoContextId)return this.Promise.resolve();var v=this.shouldUseLegacyQRCodeMutation?u.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:u.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return this.apiRequest(v,{id:this.venmoContextId}).then(function(y){return y.node})},m}();a.default=f},{"../shared/events":94,"./queries":88,"@braintree/iframer":27,"@braintree/uuid":31,framebus:38}],90:[function(e,n,a){var i=e("../lib/analytics"),o=e("../lib/basic-component-verification"),s=e("../lib/create-deferred-client"),l=e("../lib/create-assets-url"),c=e("./shared/errors"),d=e("@braintree/wrap-promise"),u=e("../lib/braintree-error"),h=e("./venmo"),p=e("./shared/supports-venmo"),f="3.126.0";function m(y){var A="Venmo";return o.verify({name:A,client:y.client,authorization:y.authorization}).then(function(){var x,k;return y.profileId&&typeof y.profileId!="string"?Promise.reject(new u(c.VENMO_INVALID_PROFILE_ID)):y.deepLinkReturnUrl&&typeof y.deepLinkReturnUrl!="string"?Promise.reject(new u(c.VENMO_INVALID_DEEP_LINK_RETURN_URL)):(x=s.create({authorization:y.authorization,client:y.client,debug:y.debug,assetsUrl:l.create(y.authorization),name:A}).then(function(I){var L=I.getConfiguration();return y.client=I,L.gatewayConfiguration.payWithVenmo?I:Promise.reject(new u(c.VENMO_NOT_ENABLED))}),y.createPromise=x,k=new h(y),i.sendEvent(x,"venmo.initialized"),x.then(function(){return k}))})}function v(y){return p.isBrowserSupported(y)}n.exports={create:d(m),isBrowserSupported:v,VERSION:f}},{"../lib/analytics":55,"../lib/basic-component-verification":58,"../lib/braintree-error":59,"../lib/create-assets-url":62,"../lib/create-deferred-client":64,"./shared/errors":93,"./shared/supports-venmo":96,"./venmo":98,"@braintree/wrap-promise":35}],91:[function(e,n,a){var i=e("@braintree/browser-detection/is-android"),o=e("@braintree/browser-detection/is-chrome"),s=e("@braintree/browser-detection/is-ios"),l=e("@braintree/browser-detection/is-ios-safari"),c=e("@braintree/browser-detection/is-ios-webview"),d=e("@braintree/browser-detection/is-samsung");function u(){return i()&&window.navigator.userAgent.toLowerCase().indexOf("wv")>-1}function h(){return s()?c()||!l():!1}function p(){var m=window.navigator.userAgent.toLowerCase();return m.indexOf("huawei")>-1&&m.indexOf("fban")>-1?!0:i()?m.indexOf("fb_iab")>-1||m.indexOf("instagram")>-1:!1}function f(){return s()&&o()}n.exports={isAndroid:i,isAndroidWebview:u,isChrome:o,isIos:s,isIosChrome:f,isSamsung:d,isIosSafari:l,isIosWebview:c,isFacebookOwnedBrowserOnAndroid:p,doesNotSupportWindowOpenInIos:h}},{"@braintree/browser-detection/is-android":18,"@braintree/browser-detection/is-chrome":19,"@braintree/browser-detection/is-ios":23,"@braintree/browser-detection/is-ios-safari":20,"@braintree/browser-detection/is-ios-webview":21,"@braintree/browser-detection/is-samsung":24}],92:[function(e,n,a){n.exports={DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY:500,DEFAULT_PROCESS_RESULTS_DELAY:1e3,VENMO_APP_OR_MOBILE_AUTH_URL:"https://venmo.com/go/checkout",VENMO_MOBILE_APP_AUTH_ONLY_URL:"https://venmo.com/braintree/checkout",VENMO_WEB_LOGIN_URL:"https://account.venmo.com/go/web"}},{}],93:[function(e,n,a){var i=e("../../lib/braintree-error");n.exports={VENMO_NOT_ENABLED:{type:i.types.MERCHANT,code:"VENMO_NOT_ENABLED",message:"Venmo is not enabled for this merchant."},VENMO_TOKENIZATION_REQUEST_ACTIVE:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_ACTIVE",message:"Another tokenization request is active."},VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE",message:"No tokenization in progress."},VENMO_APP_FAILED:{type:i.types.UNKNOWN,code:"VENMO_APP_FAILED",message:"Venmo app encountered a problem."},VENMO_APP_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_APP_CANCELED",message:"Venmo app authorization was canceled."},VENMO_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_CANCELED",message:"User canceled Venmo authorization, or Venmo app is not available."},VENMO_CUSTOMER_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_CUSTOMER_CANCELED",message:"User canceled Venmo authorization."},VENMO_NETWORK_ERROR:{type:i.types.NETWORK,code:"VENMO_NETWORK_ERROR",message:"Something went wrong making the request"},VENMO_DESKTOP_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_DESKTOP_CANCELED",message:"User canceled Venmo authorization by closing the Venmo Desktop modal."},VENMO_TOKENIZATION_CANCELED_BY_MERCHANT:{type:i.types.MERCHANT,code:"VENMO_TOKENIZATION_CANCELED_BY_MERCHANT",message:"The Venmo tokenization was canceled by the merchant."},VENMO_DESKTOP_UNKNOWN_ERROR:{type:i.types.UNKNOWN,code:"VENMO_DESKTOP_UNKNOWN_ERROR",message:"Something went wrong with the Venmo Desktop flow."},VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED:{type:i.types.NETWORK,code:"VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED",message:"Something went wrong creating the Venmo Payment Context."},VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR:{type:i.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR",message:"Something went wrong during mobile polling."},VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_EXPIRED",message:"The Venmo authorization request is expired."},VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED",message:"The Venmo authorization was canceled"},VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT:{type:i.types.CUSTOMER,code:"VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT",message:"Customer took too long to authorize Venmo payment."},VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID:{type:i.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID",message:"No Venmo payment context ID available."},VENMO_MOBILE_POLLING_TOKENIZATION_FAILED:{type:i.types.UNKNOWN,code:"VENMO_MOBILE_POLLING_TOKENIZATION_FAILED",message:"The Venmo authorization failed."},VENMO_INVALID_PROFILE_ID:{type:i.types.MERCHANT,code:"VENMO_INVALID_PROFILE_ID",message:"Venmo profile ID is invalid."},VENMO_INVALID_DEEP_LINK_RETURN_URL:{type:i.types.MERCHANT,code:"VENMO_INVALID_DEEP_LINK_RETURN_URL",message:"Venmo deep link return URL is invalid."},VENMO_TOKENIZATION_FAILED:{type:i.types.UNKNOWN,code:"VENMO_TOKENIZATION_FAILED",message:"Venmo encountered a problem"},VENMO_ECD_DISABLED:{type:i.types.MERCHANT,code:"ECD_DISABLED",message:"Cannot collect customer data when ECD is disabled. Enable this feature in the Control Panel to collect this data."}}},{"../../lib/braintree-error":59}],94:[function(e,n,a){Object.defineProperty(a,"__esModule",{value:!0}),a.VENMO_DESKTOP_UNKNOWN_ERROR=a.VENMO_DESKTOP_REQUEST_NEW_QR_CODE=a.VENMO_DESKTOP_CLOSED_FROM_PARENT=a.VENMO_DESKTOP_IFRAME_READY=a.VENMO_DESKTOP_DISPLAY_QR_CODE=a.VENMO_DESKTOP_DISPLAY_ERROR=a.VENMO_DESKTOP_CUSTOMER_CANCELED=a.VENMO_DESKTOP_AUTHORIZING=a.VENMO_DESKTOP_AUTHORIZE=a.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT=void 0,a.VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT="VENMO_DESKTOP_AUTHORIZATION_TIMED_OUT",a.VENMO_DESKTOP_AUTHORIZE="VENMO_DESKTOP_AUTHORIZE",a.VENMO_DESKTOP_AUTHORIZING="VENMO_DESKTOP_AUTHORIZING",a.VENMO_DESKTOP_CUSTOMER_CANCELED="VENMO_DESKTOP_CUSTOMER_CANCELED",a.VENMO_DESKTOP_DISPLAY_ERROR="VENMO_DESKTOP_DISPLAY_ERROR",a.VENMO_DESKTOP_DISPLAY_QR_CODE="VENMO_DESKTOP_DISPLAY_QR_CODE",a.VENMO_DESKTOP_IFRAME_READY="VENMO_DESKTOP_IFRAME_READY",a.VENMO_DESKTOP_CLOSED_FROM_PARENT="VENMO_DESKTOP_CLOSED_FROM_PARENT",a.VENMO_DESKTOP_REQUEST_NEW_QR_CODE="VENMO_DESKTOP_REQUEST_NEW_QR_CODE",a.VENMO_DESKTOP_UNKNOWN_ERROR="VENMO_DESKTOP_UNKNOWN_ERROR"},{}],95:[function(e,n,a){var i=e("./constants");function o(s){return s.useAllowDesktopWebLogin?i.VENMO_WEB_LOGIN_URL:s.mobileWebFallBack?i.VENMO_APP_OR_MOBILE_AUTH_URL:i.VENMO_MOBILE_APP_AUTH_ONLY_URL}n.exports=o},{"./constants":92}],96:[function(e,n,a){var i=e("./browser-detection"),o=e("../../lib/in-iframe");function s(l){var c,d,u,h,p,f=i.isAndroid(),m=f||i.isIos(),v=f&&i.isChrome(),y=i.isIosSafari()||v;return l=l||{},d=(l.allowDesktopWebLogin||l.allowDesktop)===!0,h=l.hasOwnProperty("allowNewBrowserTab")?l.allowNewBrowserTab:!0,p=l.hasOwnProperty("allowWebviews")?l.allowWebviews:!0,u=h&&!o(),c=!u&&i.isIosChrome()||i.isFacebookOwnedBrowserOnAndroid()||i.isSamsung(),c||!p&&(i.isAndroidWebview()||i.isIosWebview())?!1:m?h?m:y:d}n.exports={isBrowserSupported:s}},{"../../lib/in-iframe":78,"./browser-detection":91}],97:[function(e,n,a){var i=e("../../lib/frame-service/external"),o=e("../../lib/use-min"),s=e("@braintree/extended-promise"),l=e("../shared/errors"),c=e("../../lib/braintree-error"),d="3.126.0",u=`<svg width="198" height="58" viewBox="0 0 198 58" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
484
484
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M43.0702 13.6572C44.1935 15.4585 44.6999 17.3139 44.6999 19.6576C44.6999 27.1328 38.1277 36.8436 32.7935 43.6625H20.6099L15.7236 15.2939L26.3917 14.3105L28.9751 34.4966C31.389 30.6783 34.3678 24.6779 34.3678 20.587C34.3678 18.3477 33.9727 16.8225 33.3553 15.5666L43.0702 13.6572Z" fill="white"/>
|
|
485
485
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M56.8965 26.1491C58.8596 26.1491 63.8018 25.2772 63.8018 22.5499C63.8018 21.2402 62.8481 20.587 61.7242 20.587C59.7579 20.587 57.1776 22.8763 56.8965 26.1491ZM56.6715 31.5506C56.6715 34.8807 58.5787 36.1873 61.107 36.1873C63.8603 36.1873 66.4966 35.534 69.923 33.8433L68.6324 42.3523C66.2183 43.4976 62.4559 44.2617 58.8039 44.2617C49.5403 44.2617 46.2249 38.8071 46.2249 31.9879C46.2249 23.1496 51.6179 13.765 62.7365 13.765C68.858 13.765 72.2809 17.0949 72.2809 21.7317C72.2815 29.2066 62.4005 31.4965 56.6715 31.5506Z" fill="white"/>
|
|
486
486
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M103.067 20.3142C103.067 21.4052 102.897 22.9875 102.727 24.0216L99.5262 43.6622H89.1385L92.0585 25.658C92.1139 25.1696 92.284 24.1865 92.284 23.6411C92.284 22.3314 91.4414 22.0047 90.4282 22.0047C89.0826 22.0047 87.7337 22.6042 86.8354 23.0418L83.5234 43.6625H73.0772L77.8495 14.257H86.8908L87.0052 16.6041C89.1382 15.2404 91.9469 13.7656 95.932 13.7656C101.212 13.765 103.067 16.3845 103.067 20.3142Z" fill="white"/>
|
|
487
487
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M133.906 16.9841C136.881 14.9131 139.69 13.765 143.563 13.765C148.897 13.765 150.753 16.3845 150.753 20.3142C150.753 21.4052 150.583 22.9875 150.413 24.0216L147.216 43.6622H136.825L139.801 25.2774C139.855 24.786 139.971 24.1865 139.971 23.8063C139.971 22.3317 139.128 22.0047 138.115 22.0047C136.824 22.0047 135.535 22.5501 134.577 23.0418L131.266 43.6625H120.878L123.854 25.2777C123.908 24.7863 124.02 24.1868 124.02 23.8065C124.02 22.332 123.177 22.0049 122.167 22.0049C120.819 22.0049 119.473 22.6045 118.574 23.0421L115.26 43.6628H104.817L109.589 14.2573H118.52L118.8 16.7122C120.878 15.241 123.684 13.7662 127.446 13.7662C130.704 13.765 132.837 15.129 133.906 16.9841Z" fill="white"/>
|
|
488
488
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M171.426 25.5502C171.426 23.1496 170.808 21.513 168.956 21.513C164.857 21.513 164.015 28.55 164.015 32.1498C164.015 34.8807 164.802 36.5709 166.653 36.5709C170.528 36.5709 171.426 29.1497 171.426 25.5502ZM153.458 31.7152C153.458 22.442 158.511 13.765 170.136 13.765C178.896 13.765 182.098 18.7854 182.098 25.7148C182.098 34.8805 177.099 44.3723 165.194 44.3723C156.378 44.3723 153.458 38.7525 153.458 31.7152Z" fill="white"/>
|
|
489
|
-
</svg>`,h="Tap cancel payment to cancel and return to the business. Continue payment will relaunch the payment window.",p=400,
|
|
490
|
-
`)}function w(_){var L=document.getElementById(y.backdrop),V,H,G,j,B,U,J,z;if(L){L.classList.remove("hidden");return}V=document.createElement("style"),H=document.createElement("div"),G=document.createElement("div"),j=document.createElement("div"),B=document.createElement("div"),U=document.createElement("div"),J=document.createElement("button"),z=document.createElement("button"),_&&(V.nonce=_),V.id="venmo-desktop-web__injected-styles",V.innerHTML=N(),H.id=y.backdrop,G.id=y.backdropContainer,j.id=y.venmoLogo,j.innerHTML=u,B.id=y.message,B.innerText="What would you like to do?",U.id=y.instructions,U.innerText=h,J.id=y.continueButton,J.innerText="Continue payment",z.id=y.cancelButton,z.innerText="Cancel payment",document.head.appendChild(V),G.appendChild(j),G.appendChild(B),G.appendChild(U),G.appendChild(J),G.appendChild(z),H.appendChild(G),document.body.appendChild(H),H.addEventListener("click",function(W){W.stopPropagation()})}function I(_){return w(_.styleCspNonce),f(_)}function x(_){var L=new o,V="venmoDesktopWebLogin",H=_.assetsUrl,G=_.debug||!1,j=g(),B=H+"/web/"+c+"/html";return n.create({name:V,dispatchFrameUrl:B+"/dispatch-frame"+s(G)+".html",openFrameUrl:B+"/venmo-landing-frame"+s(G)+".html",top:j.top,left:j.left,height:m,width:p},function(U){L.resolve(U)}),L}r.exports={runWebLogin:I,openPopup:f,setupDesktopWebLogin:x,POPUP_WIDTH:p,POPUP_HEIGHT:m}},{"../../lib/braintree-error":59,"../../lib/frame-service/external":68,"../../lib/use-min":85,"../shared/errors":93,"@braintree/extended-promise":26}],98:[function(a,r,i){var n=a("../lib/analytics"),s=a("../lib/assign").assign,o=a("./shared/supports-venmo"),l=a("./shared/browser-detection"),d=a("./shared/constants"),c=a("./shared/errors"),u=a("../lib/querystring"),h=a("../lib/is-verified-domain"),p=a("../lib/methods"),m=a("../lib/convert-methods-to-error"),y=a("@braintree/wrap-promise"),f=a("../lib/braintree-error"),g=a("../lib/in-iframe"),E=a("@braintree/extended-promise"),N=a("./shared/get-venmo-url"),w=a("./shared/web-login-backdrop"),I=a("../lib/snake-case-to-camel-case"),x=a("../lib/url-params"),_=a("./external/"),L=a("./external/queries"),V="3.126.0",H=250,G=3e5;E.suppressUnhandledPromiseMessage=!0;function j(k){var v=this;this._allowDesktopWebLogin=k.allowDesktopWebLogin||!1,this._mobileWebFallBack=k.mobileWebFallBack||!1,this._createPromise=k.createPromise,this._allowNewBrowserTab=k.allowNewBrowserTab!==!1,this._allowWebviews=k.allowWebviews!==!1,this._allowDesktop=k.allowDesktop===!0,this._useRedirectForIOS=k.useRedirectForIOS===!0,this._profileId=k.profileId,this._displayName=k.displayName,this._deepLinkReturnUrl=k.deepLinkReturnUrl,this._ignoreHistoryChanges=k.ignoreHistoryChanges,this._paymentMethodUsage=(k.paymentMethodUsage||"").toUpperCase(),this._shouldUseLegacyFlow=!this._paymentMethodUsage,this._requireManualReturn=k.requireManualReturn===!0,this._useDesktopQRFlow=this._allowDesktop&&this._isDesktop()&&!this._allowDesktopWebLogin,this._useAllowDesktopWebLogin=this._allowDesktopWebLogin&&this._isDesktop(),this._cannotHaveReturnUrls=g()||this._requireManualReturn,this._allowAndroidRecreation=k.allowAndroidRecreation!==!1,this._maxRetryCount=3,this._collectCustomerBillingAddress=k.collectCustomerBillingAddress||!1,this._collectCustomerShippingAddress=k.collectCustomerShippingAddress||!1,this._isFinalAmount=k.isFinalAmount||!1,this._lineItems=k.lineItems,this._subTotalAmount=k.subTotalAmount,this._discountAmount=k.discountAmount,this._taxAmount=k.taxAmount,this._shippingAmount=k.shippingAmount,this._totalAmount=k.totalAmount,this._cspNonce=(this._mobileWebFallBack||this._allowDesktopWebLogin)&&(k.styleCspNonce||!1),this._shouldCreateVenmoPaymentContext=this._cannotHaveReturnUrls||!this._shouldUseLegacyFlow,n.sendEvent(this._createPromise,"venmo.desktop-flow.configured."+String(!!this._allowDesktop)),this.hasTokenizationResult()?n.sendEvent(this._createPromise,"venmo.appswitch.return-in-new-tab"):this._useDesktopQRFlow?this._createPromise=this._createPromise.then(function(O){var M=O.getConfiguration().gatewayConfiguration;return _({url:M.assetsUrl+"/web/"+V+"/html/venmo-desktop-frame.html",environment:M.environment==="production"?"PRODUCTION":"SANDBOX",profileId:v._profileId||M.payWithVenmo.merchantId,paymentMethodUsage:v._paymentMethodUsage,displayName:v._displayName,Promise,apiRequest:function(P,T){return O.request({api:"graphQLApi",data:{query:P,variables:T}}).then(function(b){return b.data})},sendEvent:function(P){n.sendEvent(v._createPromise,P)},verifyDomain:h}).then(function(P){return v._venmoDesktopInstance=P,n.sendEvent(v._createPromise,"venmo.desktop-flow.presented"),O}).catch(function(){return n.sendEvent(v._createPromise,"venmo.desktop-flow.setup-failed"),v._useDesktopQRFlow=!1,O})}):this._shouldCreateVenmoPaymentContext&&(this._mobilePollingInterval=H,this._mobilePollingExpiresThreshold=G,this._createPromise=this._createPromise.then(function(O){var M,P,T=v._cannotHaveReturnUrls?"manual-return":"mobile-payment-context",b=O.getConfiguration();return P=w.setupDesktopWebLogin({assetsUrl:b.gatewayConfiguration.assetsUrl,debug:b.isDebug}).then(function(R){v._frameServiceInstance=R}).catch(function(R){return R}),v._mobilePollingContextEnvironment=b.gatewayConfiguration.environment.toUpperCase(),M=v._createVenmoPaymentContext(O).then(function(){return n.sendEvent(v._createPromise,"venmo."+T+".presented"),O}).catch(function(R){return n.sendEvent(v._createPromise,"venmo."+T+".setup-failed"),Promise.reject(new f({type:c.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.type,code:c.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.code,message:B(R)?R.details.originalError[0].message:c.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.message,details:{originalError:R}}))}),E.all([P,M]).then(function(R){var S=R[1];return Promise.resolve(S)}).catch(function(R){return Promise.reject(R)})}))}function B(k){return k.details&&k.details.originalError&&k.details.originalError[0]&&k.details.originalError[0].extensions&&k.details.originalError[0].extensions.errorClass==="VALIDATION"&&k.details.originalError[0].extensions.errorType==="user_error"}j.prototype._createVenmoPaymentContext=function(k,v){var O=this,M,P,T=k.getConfiguration(),b=T.gatewayConfiguration.payWithVenmo,R=!1,S=O._useAllowDesktopWebLogin?"NATIVE_WEB":"MOBILE_WEB";if(!this._shouldCreateVenmoPaymentContext)return Promise.resolve();if(this._shouldUseLegacyFlow)M=k.request({api:"graphQLApi",data:{query:L.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{environment:this._mobilePollingContextEnvironment,intent:"PAY_FROM_APP"}}}}).then(function(C){return C.data.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext});else{if((this._collectCustomerBillingAddress||this._collectCustomerShippingAddress)&&!b.enrichedCustomerDataEnabled)return Promise.reject(new f(c.VENMO_ECD_DISABLED));this._lineItems&&this._lineItems.forEach(function(C){C.unitTaxAmount=C.unitTaxAmount||"0"}),P={subTotalAmount:this._subTotalAmount,discountAmount:this._discountAmount,taxAmount:this._taxAmount,shippingAmount:this._shippingAmount,totalAmount:this._totalAmount,lineItems:this._lineItems},R=Object.keys(P).some(function(C){return P[C]!==void 0}),M=k.request({api:"graphQLApi",data:{query:L.CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{paymentMethodUsage:this._paymentMethodUsage,intent:"CONTINUE",customerClient:S,isFinalAmount:this._isFinalAmount,displayName:this._displayName,paysheetDetails:{collectCustomerBillingAddress:this._collectCustomerBillingAddress,collectCustomerShippingAddress:this._collectCustomerShippingAddress,transactionDetails:R?P:void 0}}}}}).then(function(C){return C.data.createVenmoPaymentContext.venmoPaymentContext})}return M.then(function(C){var F=new Date(C.expiresAt)-new Date(C.createdAt),Q=F*.6666;clearTimeout(O._refreshPaymentContextTimeout),O._refreshPaymentContextTimeout=setTimeout(function(){O._tokenizationInProgress||O._createVenmoPaymentContext(k,!0)},Q),!(v&&O._tokenizationInProgress)&&(O._venmoPaymentContextStatus=C.status,O._venmoPaymentContextId=C.id)})},j.prototype._popupBridgeIsInstalled=function(){return window.popupBridge&&typeof window.popupBridge.open=="function"},j.prototype._venmoNativeAppIsInstalled=function(){return!!(window.popupBridge&&(window.parent&&window.parent.popupBridge.isVenmoInstalled||window.popupBridge.isVenmoInstalled))},j.prototype._handleDeepLinkAppSwitch=function(k){q()?this._handleIosWebviewDeepLink(k):this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(k):(n.sendEvent(this._createPromise,"venmo.appswitch.start.webview"),this._venmoWindow=window.open(k))},j.prototype._handleIosWebviewDeepLink=function(k){n.sendEvent(this._createPromise,"venmo.appswitch.start.ios-webview"),g()?this._handleIosWebviewInIframe(k):!this._venmoNativeAppIsInstalled()&&this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(k):window.location.href=k},j.prototype._handleIosWebviewInIframe=function(k){this._venmoNativeAppIsInstalled()?this._handleIFrameBreakout(k):this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(k):this._handleIFrameBreakout(k)},j.prototype._handlePopupBridgeAppSwitch=function(k){n.sendEvent(this._createPromise,"venmo.appswitch.start.popup-bridge"),window.popupBridge.open(k)},j.prototype._handleBrowserAppSwitch=function(k){n.sendEvent(this._createPromise,"venmo.appswitch.start.browser"),l.doesNotSupportWindowOpenInIos()||this._shouldUseRedirectStrategy()||this._mobileWebFallBack&&l.isAndroid()&&l.isChrome()?window.location.href=k:this._venmoWindow=window.open(k)},j.prototype._handleIFrameBreakout=function(k){window.top.location.href=k},j.prototype.appSwitch=function(k){this._deepLinkReturnUrl?this._handleDeepLinkAppSwitch(k):this._handleBrowserAppSwitch(k)},j.prototype.getUrl=function(){return this._createPromise.then(function(k){var v=k.getConfiguration(),O={},M=this._deepLinkReturnUrl||window.location.href.replace(window.location.hash,""),P=v.gatewayConfiguration.payWithVenmo,T=v.analyticsMetadata,b=P.accessToken,R={_meta:{version:T.sdkVersion,integration:T.integration,platform:T.platform,sessionId:T.sessionId}};return this._isDebug=v.isDebug,this._assetsUrl=v.gatewayConfiguration.assetsUrl,M=M.replace(/#*$/,""),this._venmoPaymentContextId&&(this._shouldUseLegacyFlow?b+="|pcid:"+this._venmoPaymentContextId:O.resource_id=this._venmoPaymentContextId),this._shouldIncludeReturnUrls()||this._useAllowDesktopWebLogin?(this._useAllowDesktopWebLogin&&(M=this._assetsUrl+"/web/"+V+"/html/redirect-frame.html"),O["x-success"]=M+"#venmoSuccess=1",O["x-cancel"]=M+"#venmoCancel=1",O["x-error"]=M+"#venmoError=1"):(O["x-success"]="NOOP",O["x-cancel"]="NOOP",O["x-error"]="NOOP"),this._allowAndroidRecreation?O.allowAndroidRecreation=1:O.allowAndroidRecreation=0,O.ua=window.navigator.userAgent,O.braintree_merchant_id=this._profileId||P.merchantId,O.braintree_access_token=b,O.braintree_environment=P.environment,O.braintree_sdk_data=btoa(JSON.stringify(R)),N({useAllowDesktopWebLogin:this._useAllowDesktopWebLogin,mobileWebFallBack:this._mobileWebFallBack})+"?"+u.stringify(O)}.bind(this))},j.prototype.isBrowserSupported=function(){return o.isBrowserSupported({allowNewBrowserTab:this._allowNewBrowserTab,allowWebviews:this._allowWebviews,allowDesktop:this._allowDesktop,allowDesktopWebLogin:this._allowDesktopWebLogin})},j.prototype.hasTokenizationResult=function(){return this._hasTokenizationResult()},j.prototype._hasTokenizationResult=function(k){var v=U(k),O=x.getUrlParams();return O.resource_id?this._venmoPaymentContextId=O.resource_id:v.id&&(this._venmoPaymentContextId=v.id),typeof(v.venmoSuccess||v.venmoError||v.venmoCancel)!="undefined"},j.prototype._shouldIncludeReturnUrls=function(){return this._deepLinkReturnUrl?!0:!this._cannotHaveReturnUrls},j.prototype._isDesktop=function(){return!(l.isIos()||l.isAndroid())},j.prototype.tokenize=function(k){var v=this,O;return k=k||{},this._tokenizationInProgress===!0?Promise.reject(new f(c.VENMO_TOKENIZATION_REQUEST_ACTIVE)):(this._tokenizationInProgress=!0,this._useDesktopQRFlow?O=this._tokenizeForDesktopQRFlow(k):this._useAllowDesktopWebLogin?O=this._tokenizeWebLoginWithRedirect(k):this._cannotHaveReturnUrls?O=this._tokenizeForMobileWithManualReturn():O=this._tokenizeForMobileWithHashChangeListeners(k),O.then(function(M){return v._createPromise.then(function(P){return v._createVenmoPaymentContext(P)}).then(function(){return v._tokenizationInProgress=!1,v._venmoWindow=null,z(M)})}).catch(function(M){return v._createPromise.then(function(P){return v._createVenmoPaymentContext(P)}).then(function(){return v._tokenizationInProgress=!1,v._venmoWindow=null,Promise.reject(M)})}))},j.prototype.cancelTokenization=function(){return this._tokenizationInProgress?(this._removeVisibilityEventListener(),this._tokenizePromise&&this._tokenizePromise.reject(new f(c.VENMO_TOKENIZATION_CANCELED_BY_MERCHANT)),Promise.all([this._cancelMobilePaymentContext(),this._cancelVenmoDesktopContext()])):Promise.reject(new f(c.VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE))},j.prototype._tokenizeWebLoginWithRedirect=function(){var k=this,v;return n.sendEventPlus(k._createPromise,"venmo.tokenize.web-login.start",{context_id:k._venmoPaymentContextId}),this._tokenizePromise=new E,this.getUrl().then(function(O){return v={checkForStatusChange:k._checkPaymentContextStatusAndProcessResult.bind(k),cancelTokenization:k.cancelTokenization.bind(k),frameServiceInstance:k._frameServiceInstance,venmoUrl:O,debug:k._isDebug,checkPaymentContextStatus:k._checkPaymentContextStatus.bind(k)},k._cspNonce&&(v=s({},v,{styleCspNonce:k._cspNonce})),w.runWebLogin(v).then(function(M){n.sendEventPlus(k._createPromise,"venmo.tokenize.web-login.success",{context_id:k._venmoPaymentContextId}),k._tokenizePromise.resolve({paymentMethodNonce:M.paymentMethodId,username:M.userName,payerInfo:M.payerInfo,id:k._venmoPaymentContextId})}).catch(function(M){n.sendEventPlus(k._createPromise,"venmo.tokenize.web-login.failure",{context_id:k._venmoPaymentContextId}),k._tokenizePromise.reject(M)}),k._tokenizePromise})},j.prototype._queryPaymentContextStatus=function(k){var v=this;return this._createPromise.then(function(O){var M=v._shouldUseLegacyFlow?L.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:L.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return O.request({api:"graphQLApi",data:{query:M,variables:{id:k}}})}).then(function(O){return O.data.node})},j.prototype._checkPaymentContextStatusAndProcessResult=function(k){var v=this;return v._checkPaymentContextStatus().then(function(O){var M=O.status;if(M!==v._venmoPaymentContextStatus)switch(v._venmoPaymentContextStatus=M,n.sendEventPlus(v._createPromise,"venmo.tokenize.web-login.status-change",{context_id:v._venmoPaymentContextId}),M){case"APPROVED":return Promise.resolve(O);case"CANCELED":return Promise.reject(new f(c.VENMO_CUSTOMER_CANCELED));case"FAILED":return Promise.reject(new f(c.VENMO_TOKENIZATION_FAILED))}return new Promise(function(P,T){k<v._maxRetryCount?(k++,v._checkPaymentContextStatusAndProcessResult(k).then(P).catch(T)):T(new f(c.VENMO_TOKENIZATION_FAILED))})})},j.prototype._checkPaymentContextStatus=function(){var k=this;return k._queryPaymentContextStatus(k._venmoPaymentContextId).catch(function(v){return Promise.reject(new f({type:c.VENMO_NETWORK_ERROR.type,code:c.VENMO_NETWORK_ERROR.code,message:c.VENMO_NETWORK_ERROR.message,details:v}))}).then(function(v){return Promise.resolve(v)})},j.prototype._pollForStatusChange=function(){var k=this;return k._venmoPaymentContextId?Date.now()>k._mobilePollingContextExpiresIn?Promise.reject(new f(c.VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT)):k._venmoWindow&&k._venmoWindow.closed&&k._venmoPaymentContextStatus==="CREATED"?(n.sendEvent(k._createPromise,"venmo.appswitch.browser-window.closed"),k._cancelMobilePaymentContext().then(function(){n.sendEventPlus(k._createPromise,"venmo.tokenize.manual-return.canceled",{context_id:k._venmoPaymentContextId})}).catch(function(v){n.sendEventPlus(k._createPromise,"venmo.tokenize.manual-return.canceled.error",{context_id:k._venmoPaymentContextId})}),Promise.reject(new f(c.VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED))):this._queryPaymentContextStatus(this._venmoPaymentContextId).catch(function(v){return Promise.reject(new f({type:c.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.type,code:c.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.code,message:c.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.message,details:{originalError:v}}))}).then(function(v){var O=v.status;if(O!==k._venmoPaymentContextStatus)switch(k._venmoPaymentContextStatus=O,n.sendEventPlus(k._createPromise,"venmo.tokenize.manual-return.status-change."+O.toLowerCase(),{context_id:k._venmoPaymentContextId}),O){case"EXPIRED":case"FAILED":case"CANCELED":return Promise.reject(new f(c["VENMO_MOBILE_POLLING_TOKENIZATION_"+O]));case"APPROVED":return Promise.resolve(v)}return new Promise(function(M,P){setTimeout(function(){k._pollForStatusChange().then(M).catch(P)},k._mobilePollingInterval)})}):Promise.reject(new f(c.VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID))},j.prototype._tokenizeForMobileWithManualReturn=function(){var k=this;return n.sendEventPlus(this._createPromise,"venmo.tokenize.manual-return.start",{context_id:k._venmoPaymentContextId}),this._mobilePollingContextExpiresIn=Date.now()+this._mobilePollingExpiresThreshold,this._tokenizePromise=new E,this._pollForStatusChange().then(function(v){n.sendEventPlus(k._createPromise,"venmo.tokenize.manual-return.success",{context_id:k._venmoPaymentContextId}),k._tokenizePromise.resolve({paymentMethodNonce:v.paymentMethodId,username:v.userName,payerInfo:v.payerInfo,id:k._venmoPaymentContextId})}).catch(function(v){n.sendEventPlus(k._createPromise,"venmo.tokenize.manual-return.failure",{context_id:k._venmoPaymentContextId}),k._tokenizePromise.reject(v)}),this.getUrl().then(function(v){return k.appSwitch(v),k._tokenizePromise})},j.prototype._shouldUseRedirectStrategy=function(){return l.isIos()?this._mobileWebFallBack===!0?!0:this._useRedirectForIOS:!1},j.prototype._tokenizeForMobileWithHashChangeListeners=function(k){var v=this,O,M;if(this.hasTokenizationResult())return this.processHashChangeFlowResults();n.sendEvent(this._createPromise,"venmo.tokenize.mobile.start"),this._tokenizePromise=new E,this._previousHash=window.location.hash;function P(T){var b;v.processHashChangeFlowResults(T).catch(function(R){b=R}).then(function(R){!v._ignoreHistoryChanges&&window.location.hash!==v._previousHash&&(window.location.hash=v._previousHash),v._removeVisibilityEventListener(),b?v._tokenizePromise.reject(b):v._tokenizePromise.resolve(R),delete v._tokenizePromise})}return this._onHashChangeListener=function(T){var b=T.newURL.split("#")[1];v._hasTokenizationResult(b)&&(O=!0,clearTimeout(M),P(b))},window.addEventListener("hashchange",this._onHashChangeListener,!1),this._visibilityChangeListener=function(){var T=k.processResultsDelay||d.DEFAULT_PROCESS_RESULTS_DELAY;window.document.hidden||(v._venmoWindow&&!v._venmoWindow.closed&&v._venmoWindow.close(),O||(M=setTimeout(P,T)))},this.getUrl().then(function(T){return v.appSwitch(T),setTimeout(function(){window.document.addEventListener(W(),v._visibilityChangeListener)},d.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY),v._tokenizePromise})},j.prototype._tokenizeForDesktopQRFlow=function(){var k=this;return n.sendEvent(this._createPromise,"venmo.tokenize.desktop.start"),this._tokenizePromise=new E,this._createPromise.then(function(){return k._venmoDesktopInstance.launchDesktopFlow()}).then(function(v){k._venmoDesktopInstance.hideDesktopFlow(),n.sendEvent(k._createPromise,"venmo.tokenize.desktop.success"),k._tokenizePromise.resolve(v)}).catch(function(v){if(n.sendEvent(k._createPromise,"venmo.tokenize.desktop.failure"),k._venmoDesktopInstance&&k._venmoDesktopInstance.hideDesktopFlow(),v&&v.reason==="CUSTOMER_CANCELED"){k._tokenizePromise.reject(new f(c.VENMO_DESKTOP_CANCELED));return}k._tokenizePromise.reject(new f({type:c.VENMO_DESKTOP_UNKNOWN_ERROR.type,code:c.VENMO_DESKTOP_UNKNOWN_ERROR.code,message:c.VENMO_DESKTOP_UNKNOWN_ERROR.message,details:{originalError:v}}))}),this._tokenizePromise},j.prototype._cancelMobilePaymentContext=function(){var k=this;return this._createPromise.then(function(v){var O;return k._venmoPaymentContextId?(O=k._shouldUseLegacyFlow?L.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:L.UPDATE_PAYMENT_CONTEXT_QUERY,v.request({api:"graphQLApi",data:{query:O,variables:{input:{id:k._venmoPaymentContextId,status:"CANCELED"}}}})):Promise.resolve()})},j.prototype._cancelVenmoDesktopContext=function(){var k=this;return this._createPromise.then(function(){return k._venmoDesktopInstance&&k._venmoDesktopInstance.updateVenmoDesktopPaymentContext("CANCELED"),Promise.resolve()})},j.prototype.teardown=function(){var k=this;return this._removeVisibilityEventListener(),this._createPromise.then(function(){k._venmoDesktopInstance&&k._venmoDesktopInstance.teardown(),clearTimeout(k._refreshPaymentContextTimeout),k._cancelMobilePaymentContext(),m(this,p(j.prototype))}.bind(this))},j.prototype._removeVisibilityEventListener=function(){window.removeEventListener("hashchange",this._onHashChangeListener),window.document.removeEventListener(W(),this._visibilityChangeListener),delete this._visibilityChangeListener,delete this._onHashChangeListener},j.prototype.processHashChangeFlowResults=function(k){var v=this,O=U(k);return new Promise(function(M,P){v._shouldUseLegacyFlow?O.venmoSuccess?(n.sendEvent(v._createPromise,"venmo.appswitch.handle.success"),window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:succeeded"),M(O)):O.venmoError?(n.sendEvent(v._createPromise,"venmo.appswitch.handle.error"),window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:failed"),P(new f({type:c.VENMO_APP_FAILED.type,code:c.VENMO_APP_FAILED.code,message:c.VENMO_APP_FAILED.message,details:{originalError:{message:decodeURIComponent(O.errorMessage),code:O.errorCode}}}))):O.venmoCancel?(n.sendEvent(v._createPromise,"venmo.appswitch.handle.cancel"),window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:canceled"),P(new f(c.VENMO_APP_CANCELED))):(n.sendEvent(v._createPromise,"venmo.appswitch.cancel-or-unavailable"),P(new f(c.VENMO_CANCELED))):v._pollForStatusChange().then(function(T){return n.sendEventPlus(v._createPromise,"venmo.appswitch.handle.payment-context-status-query.success",{context_id:v._venmoPaymentContextId}),window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:succeeded"),M({paymentMethodNonce:T.paymentMethodId,username:T.userName,payerInfo:T.payerInfo,id:v._venmoPaymentContextId})}).catch(function(T){T.code===c.VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED.code?(window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:canceled"),P(T)):window.popupBridge&&n.sendEvent(v._createPromise,"popup-bridge:venmo:failed"),n.sendEventPlus(v._createPromise,"venmo.process-results.payment-context-status-query-failed",{context_id:v._venmoPaymentContextId}),M(O)}),v._clearFragmentParameters()})},j.prototype._clearFragmentParameters=function(){this._ignoreHistoryChanges||typeof window.history.replaceState=="function"&&window.location.hash&&history.pushState({},"",window.location.href.slice(0,window.location.href.indexOf("#")))};function U(k){var v=(k||window.location.hash.substring(1)).split("&"),O=v.reduce(function(M,P){var T=P.split("="),b=decodeURIComponent(T[0]).replace(/\W/g,""),R=I(b),S=decodeURIComponent(T[1]);return M[R]=S,M},{});return O.resourceId&&(O.id=O.resourceId),O}function J(k){return k=k||"","@"+k.replace("@","")}function z(k){var v={nonce:k.paymentMethodNonce,type:"VenmoAccount",details:{username:J(k.username),paymentContextId:k.id}};return k.payerInfo&&(v.details.payerInfo=k.payerInfo,v.details.payerInfo.userName=J(k.payerInfo.userName)),v}function W(){var k;return typeof window.document.hidden!="undefined"?k="visibilitychange":typeof window.document.msHidden!="undefined"?k="msvisibilitychange":typeof window.document.webkitHidden!="undefined"&&(k="webkitvisibilitychange"),k}function q(){return window.navigator.platform&&/iPhone|iPad|iPod/.test(window.navigator.platform)}r.exports=y.wrapPrototype(j)},{"../lib/analytics":55,"../lib/assign":57,"../lib/braintree-error":59,"../lib/convert-methods-to-error":61,"../lib/in-iframe":78,"../lib/is-verified-domain":79,"../lib/methods":81,"../lib/querystring":82,"../lib/snake-case-to-camel-case":83,"../lib/url-params":84,"./external/":87,"./external/queries":88,"./shared/browser-detection":91,"./shared/constants":92,"./shared/errors":93,"./shared/get-venmo-url":95,"./shared/supports-venmo":96,"./shared/web-login-backdrop":97,"@braintree/extended-promise":26,"@braintree/wrap-promise":35}]},{},[90])(90)})}(Ot)),Ot.exports}var Zd=Qd();const Xd=At(Zd);class Jd{constructor(){A(this,"client",null);A(this,"venmoInstance",null);A(this,"deviceData",null)}init(e){return Y(this,null,function*(){try{this.client=yield Yd.create({authorization:e.authorization});try{const a=yield $d.create({client:this.client,paypal:!0});this.deviceData=a.deviceData||null}catch(a){console.warn("Braintree device data collection failed:",a),this.deviceData=null}}catch(a){throw console.error("Failed to initialize Braintree client:",a),a}})}createVenmo(e){return Y(this,null,function*(){if(!this.client)throw new Error("Braintree client must be initialized before creating Venmo instance");try{return this.venmoInstance=yield Xd.create(K({client:this.client,allowDesktop:!0,mobileWebFallBack:!0,allowDesktopWebLogin:!0,paymentMethodUsage:"multi_use"},e)),this.venmoInstance}catch(a){throw console.error("Failed to create Venmo instance:",a),a}})}isBrowserSupported(){var e,a;return(a=(e=this.venmoInstance)==null?void 0:e.isBrowserSupported())!=null?a:!1}hasTokenizationResult(){var e,a;return(a=(e=this.venmoInstance)==null?void 0:e.hasTokenizationResult())!=null?a:!1}tokenize(){return Y(this,null,function*(){if(!this.venmoInstance)throw new Error("Venmo instance not initialized");return new Promise((e,a)=>{this.venmoInstance.tokenize(void 0,(r,i)=>{if(r)a(r);else{const n=ee(K({},i),{device_data:this.deviceData||void 0}),s=i,o=(s==null?void 0:s.billingAddress)||(s==null?void 0:s.billing_address);if(o){const l={city:o.adminArea2,country:o.countryCode,line1:o.line1,line2:o.line2,postal_code:o.postalCode,state:o.adminArea1};n.billing_address=l}e(n)}})})})}}class Bn{constructor(){A(this,"ev",new oi);A(this,"paypal",new Kd);A(this,"braintree",new Jd);A(this,"state",{translate:new Od,checkout:new Ad,transaction:new Td,styles:new Ed});A(this,"checkout",new bd({state:this.state,service:{ev:this.ev,paypal:this.paypal,braintree:this.braintree}}))}clearState(){Object.values(this.state).forEach(e=>e.clearState())}}const ec=Object.freeze(Object.defineProperty({__proto__:null,Core:Bn},Symbol.toStringTag,{value:"Module"}));re.Core=Bn,re.PayNextCheckout=be,re.PaymentMethod=te,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})});
|
|
489
|
+
</svg>`,h="Tap cancel payment to cancel and return to the business. Continue payment will relaunch the payment window.",p=400,f=570,m={backdrop:"venmo-desktop-web-backdrop",backdropHidden:"venmo-desktop-web-backdrop.hidden",backdropContainer:"venmo-backdrop-container",cancelButton:"venmo-popup-cancel-button",continueButton:"venmo-popup-continue-button",message:"venmo-message",instructions:"venmo-instructions",venmoLogo:"venmo-full-logo"};s.suppressUnhandledPromiseMessage=!0;function v(N){var S=N.frameServiceInstance,U=N.venmoUrl,q=N.checkForStatusChange,$=N.cancelTokenization,F=N.checkPaymentContextStatus,z=new s;return document.getElementById(m.continueButton).addEventListener("click",function(){S.focus()}),document.getElementById(m.cancelButton).addEventListener("click",function(){S.close(),$(),A()}),S.open({},function(B){var J=1;B?z.reject(B):q(J).then(function(D){z.resolve(D)}).catch(function(D){F().then(function(Y){Y.status==="CREATED"?z.reject(new c(l.VENMO_CUSTOMER_CANCELED)):z.reject(D)})}),S.close(),A()}),S.redirect(U),z}function y(){var N=Math.round((window.outerHeight-f)/2)+window.screenTop,S=Math.round((window.outerWidth-p)/2)+window.screenLeft;return{top:N,left:S}}function A(){document.getElementById("venmo-desktop-web-backdrop").classList.add("hidden")}function x(){var N=["#"+m.backdropHidden+" {","display: none;","}","#"+m.backdrop+" {","z-index: 3141592632;","cursor: pointer;","position: fixed;","top: 0;","left: 0;","bottom: 0;","width: 100%;","background: rgba(0, 0, 0, 0.8);","}"],S=["#"+m.backdropContainer+" {","display: flex;","align-content: center;","justify-content: center;","align-items: center;","width: 100%;","height: 100%;","flex-direction: column;","}"],U=["#"+m.cancelButton+" {","height: 24px;","width: 380px;","font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;","font-style: normal;","font-weight: 700;","font-size: 18px;","line-height: 24px;","text-align: center;","background-color: transparent;","border: none;","color: #FFFFFF;","margin-top: 28px;","}"],q=["#"+m.continueButton+" {","width: 400px;","height: 50px;","background: #0074DE;","border-radius: 24px;","border: none;","font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;","font-style: normal;","font-weight: 700;","font-size: 18px;","color: #FFFFFF;","margin-top: 44px;","}"],$=["#"+m.message+" {","font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;","font-style: normal;","font-weight: 500;","font-size: 24px;","line-height: 32px;","text-align: center;","color: #FFFFFF;","margin-top: 32px;","}"],F=["#"+m.instructions+" {","font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;","font-style: normal;","font-weight: 400;","font-size: 16px;","line-height: 20px;","text-align: center;","color: #FFFFFF;","margin-top: 16px;","width: 400px;","}"],z=N.concat(S,U,q,$,F);return z.join(`
|
|
490
|
+
`)}function k(N){var S=document.getElementById(m.backdrop),U,q,$,F,z,B,J,D;if(S){S.classList.remove("hidden");return}U=document.createElement("style"),q=document.createElement("div"),$=document.createElement("div"),F=document.createElement("div"),z=document.createElement("div"),B=document.createElement("div"),J=document.createElement("button"),D=document.createElement("button"),N&&(U.nonce=N),U.id="venmo-desktop-web__injected-styles",U.innerHTML=x(),q.id=m.backdrop,$.id=m.backdropContainer,F.id=m.venmoLogo,F.innerHTML=u,z.id=m.message,z.innerText="What would you like to do?",B.id=m.instructions,B.innerText=h,J.id=m.continueButton,J.innerText="Continue payment",D.id=m.cancelButton,D.innerText="Cancel payment",document.head.appendChild(U),$.appendChild(F),$.appendChild(z),$.appendChild(B),$.appendChild(J),$.appendChild(D),q.appendChild($),document.body.appendChild(q),q.addEventListener("click",function(Y){Y.stopPropagation()})}function I(N){return k(N.styleCspNonce),v(N)}function L(N){var S=new s,U="venmoDesktopWebLogin",q=N.assetsUrl,$=N.debug||!1,F=y(),z=q+"/web/"+d+"/html";return i.create({name:U,dispatchFrameUrl:z+"/dispatch-frame"+o($)+".html",openFrameUrl:z+"/venmo-landing-frame"+o($)+".html",top:F.top,left:F.left,height:f,width:p},function(B){S.resolve(B)}),S}n.exports={runWebLogin:I,openPopup:v,setupDesktopWebLogin:L,POPUP_WIDTH:p,POPUP_HEIGHT:f}},{"../../lib/braintree-error":59,"../../lib/frame-service/external":68,"../../lib/use-min":85,"../shared/errors":93,"@braintree/extended-promise":26}],98:[function(e,n,a){var i=e("../lib/analytics"),o=e("../lib/assign").assign,s=e("./shared/supports-venmo"),l=e("./shared/browser-detection"),c=e("./shared/constants"),d=e("./shared/errors"),u=e("../lib/querystring"),h=e("../lib/is-verified-domain"),p=e("../lib/methods"),f=e("../lib/convert-methods-to-error"),m=e("@braintree/wrap-promise"),v=e("../lib/braintree-error"),y=e("../lib/in-iframe"),A=e("@braintree/extended-promise"),x=e("./shared/get-venmo-url"),k=e("./shared/web-login-backdrop"),I=e("../lib/snake-case-to-camel-case"),L=e("../lib/url-params"),N=e("./external/"),S=e("./external/queries"),U="3.126.0",q=250,$=3e5;A.suppressUnhandledPromiseMessage=!0;function F(E){var g=this;this._allowDesktopWebLogin=E.allowDesktopWebLogin||!1,this._mobileWebFallBack=E.mobileWebFallBack||!1,this._createPromise=E.createPromise,this._allowNewBrowserTab=E.allowNewBrowserTab!==!1,this._allowWebviews=E.allowWebviews!==!1,this._allowDesktop=E.allowDesktop===!0,this._useRedirectForIOS=E.useRedirectForIOS===!0,this._profileId=E.profileId,this._displayName=E.displayName,this._deepLinkReturnUrl=E.deepLinkReturnUrl,this._ignoreHistoryChanges=E.ignoreHistoryChanges,this._paymentMethodUsage=(E.paymentMethodUsage||"").toUpperCase(),this._shouldUseLegacyFlow=!this._paymentMethodUsage,this._requireManualReturn=E.requireManualReturn===!0,this._useDesktopQRFlow=this._allowDesktop&&this._isDesktop()&&!this._allowDesktopWebLogin,this._useAllowDesktopWebLogin=this._allowDesktopWebLogin&&this._isDesktop(),this._cannotHaveReturnUrls=y()||this._requireManualReturn,this._allowAndroidRecreation=E.allowAndroidRecreation!==!1,this._maxRetryCount=3,this._collectCustomerBillingAddress=E.collectCustomerBillingAddress||!1,this._collectCustomerShippingAddress=E.collectCustomerShippingAddress||!1,this._isFinalAmount=E.isFinalAmount||!1,this._lineItems=E.lineItems,this._subTotalAmount=E.subTotalAmount,this._discountAmount=E.discountAmount,this._taxAmount=E.taxAmount,this._shippingAmount=E.shippingAmount,this._totalAmount=E.totalAmount,this._cspNonce=(this._mobileWebFallBack||this._allowDesktopWebLogin)&&(E.styleCspNonce||!1),this._shouldCreateVenmoPaymentContext=this._cannotHaveReturnUrls||!this._shouldUseLegacyFlow,i.sendEvent(this._createPromise,"venmo.desktop-flow.configured."+String(!!this._allowDesktop)),this.hasTokenizationResult()?i.sendEvent(this._createPromise,"venmo.appswitch.return-in-new-tab"):this._useDesktopQRFlow?this._createPromise=this._createPromise.then(function(P){var V=P.getConfiguration().gatewayConfiguration;return N({url:V.assetsUrl+"/web/"+U+"/html/venmo-desktop-frame.html",environment:V.environment==="production"?"PRODUCTION":"SANDBOX",profileId:g._profileId||V.payWithVenmo.merchantId,paymentMethodUsage:g._paymentMethodUsage,displayName:g._displayName,Promise,apiRequest:function(b,T){return P.request({api:"graphQLApi",data:{query:b,variables:T}}).then(function(_){return _.data})},sendEvent:function(b){i.sendEvent(g._createPromise,b)},verifyDomain:h}).then(function(b){return g._venmoDesktopInstance=b,i.sendEvent(g._createPromise,"venmo.desktop-flow.presented"),P}).catch(function(){return i.sendEvent(g._createPromise,"venmo.desktop-flow.setup-failed"),g._useDesktopQRFlow=!1,P})}):this._shouldCreateVenmoPaymentContext&&(this._mobilePollingInterval=q,this._mobilePollingExpiresThreshold=$,this._createPromise=this._createPromise.then(function(P){var V,b,T=g._cannotHaveReturnUrls?"manual-return":"mobile-payment-context",_=P.getConfiguration();return b=k.setupDesktopWebLogin({assetsUrl:_.gatewayConfiguration.assetsUrl,debug:_.isDebug}).then(function(O){g._frameServiceInstance=O}).catch(function(O){return O}),g._mobilePollingContextEnvironment=_.gatewayConfiguration.environment.toUpperCase(),V=g._createVenmoPaymentContext(P).then(function(){return i.sendEvent(g._createPromise,"venmo."+T+".presented"),P}).catch(function(O){return i.sendEvent(g._createPromise,"venmo."+T+".setup-failed"),Promise.reject(new v({type:d.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.type,code:d.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.code,message:z(O)?O.details.originalError[0].message:d.VENMO_MOBILE_PAYMENT_CONTEXT_SETUP_FAILED.message,details:{originalError:O}}))}),A.all([b,V]).then(function(O){var M=O[1];return Promise.resolve(M)}).catch(function(O){return Promise.reject(O)})}))}function z(E){return E.details&&E.details.originalError&&E.details.originalError[0]&&E.details.originalError[0].extensions&&E.details.originalError[0].extensions.errorClass==="VALIDATION"&&E.details.originalError[0].extensions.errorType==="user_error"}F.prototype._createVenmoPaymentContext=function(E,g){var P=this,V,b,T=E.getConfiguration(),_=T.gatewayConfiguration.payWithVenmo,O=!1,M=P._useAllowDesktopWebLogin?"NATIVE_WEB":"MOBILE_WEB";if(!this._shouldCreateVenmoPaymentContext)return Promise.resolve();if(this._shouldUseLegacyFlow)V=E.request({api:"graphQLApi",data:{query:S.LEGACY_CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{environment:this._mobilePollingContextEnvironment,intent:"PAY_FROM_APP"}}}}).then(function(w){return w.data.createVenmoQRCodePaymentContext.venmoQRCodePaymentContext});else{if((this._collectCustomerBillingAddress||this._collectCustomerShippingAddress)&&!_.enrichedCustomerDataEnabled)return Promise.reject(new v(d.VENMO_ECD_DISABLED));this._lineItems&&this._lineItems.forEach(function(w){w.unitTaxAmount=w.unitTaxAmount||"0"}),b={subTotalAmount:this._subTotalAmount,discountAmount:this._discountAmount,taxAmount:this._taxAmount,shippingAmount:this._shippingAmount,totalAmount:this._totalAmount,lineItems:this._lineItems},O=Object.keys(b).some(function(w){return b[w]!==void 0}),V=E.request({api:"graphQLApi",data:{query:S.CREATE_PAYMENT_CONTEXT_QUERY,variables:{input:{paymentMethodUsage:this._paymentMethodUsage,intent:"CONTINUE",customerClient:M,isFinalAmount:this._isFinalAmount,displayName:this._displayName,paysheetDetails:{collectCustomerBillingAddress:this._collectCustomerBillingAddress,collectCustomerShippingAddress:this._collectCustomerShippingAddress,transactionDetails:O?b:void 0}}}}}).then(function(w){return w.data.createVenmoPaymentContext.venmoPaymentContext})}return V.then(function(w){var j=new Date(w.expiresAt)-new Date(w.createdAt),Q=j*.6666;clearTimeout(P._refreshPaymentContextTimeout),P._refreshPaymentContextTimeout=setTimeout(function(){P._tokenizationInProgress||P._createVenmoPaymentContext(E,!0)},Q),!(g&&P._tokenizationInProgress)&&(P._venmoPaymentContextStatus=w.status,P._venmoPaymentContextId=w.id)})},F.prototype._popupBridgeIsInstalled=function(){return window.popupBridge&&typeof window.popupBridge.open=="function"},F.prototype._venmoNativeAppIsInstalled=function(){return!!(window.popupBridge&&(window.parent&&window.parent.popupBridge.isVenmoInstalled||window.popupBridge.isVenmoInstalled))},F.prototype._handleDeepLinkAppSwitch=function(E){H()?this._handleIosWebviewDeepLink(E):this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(E):(i.sendEvent(this._createPromise,"venmo.appswitch.start.webview"),this._venmoWindow=window.open(E))},F.prototype._handleIosWebviewDeepLink=function(E){i.sendEvent(this._createPromise,"venmo.appswitch.start.ios-webview"),y()?this._handleIosWebviewInIframe(E):!this._venmoNativeAppIsInstalled()&&this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(E):window.location.href=E},F.prototype._handleIosWebviewInIframe=function(E){this._venmoNativeAppIsInstalled()?this._handleIFrameBreakout(E):this._popupBridgeIsInstalled()?this._handlePopupBridgeAppSwitch(E):this._handleIFrameBreakout(E)},F.prototype._handlePopupBridgeAppSwitch=function(E){i.sendEvent(this._createPromise,"venmo.appswitch.start.popup-bridge"),window.popupBridge.open(E)},F.prototype._handleBrowserAppSwitch=function(E){i.sendEvent(this._createPromise,"venmo.appswitch.start.browser"),l.doesNotSupportWindowOpenInIos()||this._shouldUseRedirectStrategy()||this._mobileWebFallBack&&l.isAndroid()&&l.isChrome()?window.location.href=E:this._venmoWindow=window.open(E)},F.prototype._handleIFrameBreakout=function(E){window.top.location.href=E},F.prototype.appSwitch=function(E){this._deepLinkReturnUrl?this._handleDeepLinkAppSwitch(E):this._handleBrowserAppSwitch(E)},F.prototype.getUrl=function(){return this._createPromise.then(function(E){var g=E.getConfiguration(),P={},V=this._deepLinkReturnUrl||window.location.href.replace(window.location.hash,""),b=g.gatewayConfiguration.payWithVenmo,T=g.analyticsMetadata,_=b.accessToken,O={_meta:{version:T.sdkVersion,integration:T.integration,platform:T.platform,sessionId:T.sessionId}};return this._isDebug=g.isDebug,this._assetsUrl=g.gatewayConfiguration.assetsUrl,V=V.replace(/#*$/,""),this._venmoPaymentContextId&&(this._shouldUseLegacyFlow?_+="|pcid:"+this._venmoPaymentContextId:P.resource_id=this._venmoPaymentContextId),this._shouldIncludeReturnUrls()||this._useAllowDesktopWebLogin?(this._useAllowDesktopWebLogin&&(V=this._assetsUrl+"/web/"+U+"/html/redirect-frame.html"),P["x-success"]=V+"#venmoSuccess=1",P["x-cancel"]=V+"#venmoCancel=1",P["x-error"]=V+"#venmoError=1"):(P["x-success"]="NOOP",P["x-cancel"]="NOOP",P["x-error"]="NOOP"),this._allowAndroidRecreation?P.allowAndroidRecreation=1:P.allowAndroidRecreation=0,P.ua=window.navigator.userAgent,P.braintree_merchant_id=this._profileId||b.merchantId,P.braintree_access_token=_,P.braintree_environment=b.environment,P.braintree_sdk_data=btoa(JSON.stringify(O)),x({useAllowDesktopWebLogin:this._useAllowDesktopWebLogin,mobileWebFallBack:this._mobileWebFallBack})+"?"+u.stringify(P)}.bind(this))},F.prototype.isBrowserSupported=function(){return s.isBrowserSupported({allowNewBrowserTab:this._allowNewBrowserTab,allowWebviews:this._allowWebviews,allowDesktop:this._allowDesktop,allowDesktopWebLogin:this._allowDesktopWebLogin})},F.prototype.hasTokenizationResult=function(){return this._hasTokenizationResult()},F.prototype._hasTokenizationResult=function(E){var g=B(E),P=L.getUrlParams();return P.resource_id?this._venmoPaymentContextId=P.resource_id:g.id&&(this._venmoPaymentContextId=g.id),typeof(g.venmoSuccess||g.venmoError||g.venmoCancel)!="undefined"},F.prototype._shouldIncludeReturnUrls=function(){return this._deepLinkReturnUrl?!0:!this._cannotHaveReturnUrls},F.prototype._isDesktop=function(){return!(l.isIos()||l.isAndroid())},F.prototype.tokenize=function(E){var g=this,P;return E=E||{},this._tokenizationInProgress===!0?Promise.reject(new v(d.VENMO_TOKENIZATION_REQUEST_ACTIVE)):(this._tokenizationInProgress=!0,this._useDesktopQRFlow?P=this._tokenizeForDesktopQRFlow(E):this._useAllowDesktopWebLogin?P=this._tokenizeWebLoginWithRedirect(E):this._cannotHaveReturnUrls?P=this._tokenizeForMobileWithManualReturn():P=this._tokenizeForMobileWithHashChangeListeners(E),P.then(function(V){return g._createPromise.then(function(b){return g._createVenmoPaymentContext(b)}).then(function(){return g._tokenizationInProgress=!1,g._venmoWindow=null,D(V)})}).catch(function(V){return g._createPromise.then(function(b){return g._createVenmoPaymentContext(b)}).then(function(){return g._tokenizationInProgress=!1,g._venmoWindow=null,Promise.reject(V)})}))},F.prototype.cancelTokenization=function(){return this._tokenizationInProgress?(this._removeVisibilityEventListener(),this._tokenizePromise&&this._tokenizePromise.reject(new v(d.VENMO_TOKENIZATION_CANCELED_BY_MERCHANT)),Promise.all([this._cancelMobilePaymentContext(),this._cancelVenmoDesktopContext()])):Promise.reject(new v(d.VENMO_TOKENIZATION_REQUEST_NOT_ACTIVE))},F.prototype._tokenizeWebLoginWithRedirect=function(){var E=this,g;return i.sendEventPlus(E._createPromise,"venmo.tokenize.web-login.start",{context_id:E._venmoPaymentContextId}),this._tokenizePromise=new A,this.getUrl().then(function(P){return g={checkForStatusChange:E._checkPaymentContextStatusAndProcessResult.bind(E),cancelTokenization:E.cancelTokenization.bind(E),frameServiceInstance:E._frameServiceInstance,venmoUrl:P,debug:E._isDebug,checkPaymentContextStatus:E._checkPaymentContextStatus.bind(E)},E._cspNonce&&(g=o({},g,{styleCspNonce:E._cspNonce})),k.runWebLogin(g).then(function(V){i.sendEventPlus(E._createPromise,"venmo.tokenize.web-login.success",{context_id:E._venmoPaymentContextId}),E._tokenizePromise.resolve({paymentMethodNonce:V.paymentMethodId,username:V.userName,payerInfo:V.payerInfo,id:E._venmoPaymentContextId})}).catch(function(V){i.sendEventPlus(E._createPromise,"venmo.tokenize.web-login.failure",{context_id:E._venmoPaymentContextId}),E._tokenizePromise.reject(V)}),E._tokenizePromise})},F.prototype._queryPaymentContextStatus=function(E){var g=this;return this._createPromise.then(function(P){var V=g._shouldUseLegacyFlow?S.LEGACY_VENMO_PAYMENT_CONTEXT_STATUS_QUERY:S.VENMO_PAYMENT_CONTEXT_STATUS_QUERY;return P.request({api:"graphQLApi",data:{query:V,variables:{id:E}}})}).then(function(P){return P.data.node})},F.prototype._checkPaymentContextStatusAndProcessResult=function(E){var g=this;return g._checkPaymentContextStatus().then(function(P){var V=P.status;if(V!==g._venmoPaymentContextStatus)switch(g._venmoPaymentContextStatus=V,i.sendEventPlus(g._createPromise,"venmo.tokenize.web-login.status-change",{context_id:g._venmoPaymentContextId}),V){case"APPROVED":return Promise.resolve(P);case"CANCELED":return Promise.reject(new v(d.VENMO_CUSTOMER_CANCELED));case"FAILED":return Promise.reject(new v(d.VENMO_TOKENIZATION_FAILED))}return new Promise(function(b,T){E<g._maxRetryCount?(E++,g._checkPaymentContextStatusAndProcessResult(E).then(b).catch(T)):T(new v(d.VENMO_TOKENIZATION_FAILED))})})},F.prototype._checkPaymentContextStatus=function(){var E=this;return E._queryPaymentContextStatus(E._venmoPaymentContextId).catch(function(g){return Promise.reject(new v({type:d.VENMO_NETWORK_ERROR.type,code:d.VENMO_NETWORK_ERROR.code,message:d.VENMO_NETWORK_ERROR.message,details:g}))}).then(function(g){return Promise.resolve(g)})},F.prototype._pollForStatusChange=function(){var E=this;return E._venmoPaymentContextId?Date.now()>E._mobilePollingContextExpiresIn?Promise.reject(new v(d.VENMO_MOBILE_POLLING_TOKENIZATION_TIMEOUT)):E._venmoWindow&&E._venmoWindow.closed&&E._venmoPaymentContextStatus==="CREATED"?(i.sendEvent(E._createPromise,"venmo.appswitch.browser-window.closed"),E._cancelMobilePaymentContext().then(function(){i.sendEventPlus(E._createPromise,"venmo.tokenize.manual-return.canceled",{context_id:E._venmoPaymentContextId})}).catch(function(g){i.sendEventPlus(E._createPromise,"venmo.tokenize.manual-return.canceled.error",{context_id:E._venmoPaymentContextId})}),Promise.reject(new v(d.VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED))):this._queryPaymentContextStatus(this._venmoPaymentContextId).catch(function(g){return Promise.reject(new v({type:d.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.type,code:d.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.code,message:d.VENMO_MOBILE_POLLING_TOKENIZATION_NETWORK_ERROR.message,details:{originalError:g}}))}).then(function(g){var P=g.status;if(P!==E._venmoPaymentContextStatus)switch(E._venmoPaymentContextStatus=P,i.sendEventPlus(E._createPromise,"venmo.tokenize.manual-return.status-change."+P.toLowerCase(),{context_id:E._venmoPaymentContextId}),P){case"EXPIRED":case"FAILED":case"CANCELED":return Promise.reject(new v(d["VENMO_MOBILE_POLLING_TOKENIZATION_"+P]));case"APPROVED":return Promise.resolve(g)}return new Promise(function(V,b){setTimeout(function(){E._pollForStatusChange().then(V).catch(b)},E._mobilePollingInterval)})}):Promise.reject(new v(d.VENMO_MOBILE_POLLING_TOKENIZATION_NO_CONTEXT_ID))},F.prototype._tokenizeForMobileWithManualReturn=function(){var E=this;return i.sendEventPlus(this._createPromise,"venmo.tokenize.manual-return.start",{context_id:E._venmoPaymentContextId}),this._mobilePollingContextExpiresIn=Date.now()+this._mobilePollingExpiresThreshold,this._tokenizePromise=new A,this._pollForStatusChange().then(function(g){i.sendEventPlus(E._createPromise,"venmo.tokenize.manual-return.success",{context_id:E._venmoPaymentContextId}),E._tokenizePromise.resolve({paymentMethodNonce:g.paymentMethodId,username:g.userName,payerInfo:g.payerInfo,id:E._venmoPaymentContextId})}).catch(function(g){i.sendEventPlus(E._createPromise,"venmo.tokenize.manual-return.failure",{context_id:E._venmoPaymentContextId}),E._tokenizePromise.reject(g)}),this.getUrl().then(function(g){return E.appSwitch(g),E._tokenizePromise})},F.prototype._shouldUseRedirectStrategy=function(){return l.isIos()?this._mobileWebFallBack===!0?!0:this._useRedirectForIOS:!1},F.prototype._tokenizeForMobileWithHashChangeListeners=function(E){var g=this,P,V;if(this.hasTokenizationResult())return this.processHashChangeFlowResults();i.sendEvent(this._createPromise,"venmo.tokenize.mobile.start"),this._tokenizePromise=new A,this._previousHash=window.location.hash;function b(T){var _;g.processHashChangeFlowResults(T).catch(function(O){_=O}).then(function(O){!g._ignoreHistoryChanges&&window.location.hash!==g._previousHash&&(window.location.hash=g._previousHash),g._removeVisibilityEventListener(),_?g._tokenizePromise.reject(_):g._tokenizePromise.resolve(O),delete g._tokenizePromise})}return this._onHashChangeListener=function(T){var _=T.newURL.split("#")[1];g._hasTokenizationResult(_)&&(P=!0,clearTimeout(V),b(_))},window.addEventListener("hashchange",this._onHashChangeListener,!1),this._visibilityChangeListener=function(){var T=E.processResultsDelay||c.DEFAULT_PROCESS_RESULTS_DELAY;window.document.hidden||(g._venmoWindow&&!g._venmoWindow.closed&&g._venmoWindow.close(),P||(V=setTimeout(b,T)))},this.getUrl().then(function(T){return g.appSwitch(T),setTimeout(function(){window.document.addEventListener(Y(),g._visibilityChangeListener)},c.DOCUMENT_VISIBILITY_CHANGE_EVENT_DELAY),g._tokenizePromise})},F.prototype._tokenizeForDesktopQRFlow=function(){var E=this;return i.sendEvent(this._createPromise,"venmo.tokenize.desktop.start"),this._tokenizePromise=new A,this._createPromise.then(function(){return E._venmoDesktopInstance.launchDesktopFlow()}).then(function(g){E._venmoDesktopInstance.hideDesktopFlow(),i.sendEvent(E._createPromise,"venmo.tokenize.desktop.success"),E._tokenizePromise.resolve(g)}).catch(function(g){if(i.sendEvent(E._createPromise,"venmo.tokenize.desktop.failure"),E._venmoDesktopInstance&&E._venmoDesktopInstance.hideDesktopFlow(),g&&g.reason==="CUSTOMER_CANCELED"){E._tokenizePromise.reject(new v(d.VENMO_DESKTOP_CANCELED));return}E._tokenizePromise.reject(new v({type:d.VENMO_DESKTOP_UNKNOWN_ERROR.type,code:d.VENMO_DESKTOP_UNKNOWN_ERROR.code,message:d.VENMO_DESKTOP_UNKNOWN_ERROR.message,details:{originalError:g}}))}),this._tokenizePromise},F.prototype._cancelMobilePaymentContext=function(){var E=this;return this._createPromise.then(function(g){var P;return E._venmoPaymentContextId?(P=E._shouldUseLegacyFlow?S.LEGACY_UPDATE_PAYMENT_CONTEXT_QUERY:S.UPDATE_PAYMENT_CONTEXT_QUERY,g.request({api:"graphQLApi",data:{query:P,variables:{input:{id:E._venmoPaymentContextId,status:"CANCELED"}}}})):Promise.resolve()})},F.prototype._cancelVenmoDesktopContext=function(){var E=this;return this._createPromise.then(function(){return E._venmoDesktopInstance&&E._venmoDesktopInstance.updateVenmoDesktopPaymentContext("CANCELED"),Promise.resolve()})},F.prototype.teardown=function(){var E=this;return this._removeVisibilityEventListener(),this._createPromise.then(function(){E._venmoDesktopInstance&&E._venmoDesktopInstance.teardown(),clearTimeout(E._refreshPaymentContextTimeout),E._cancelMobilePaymentContext(),f(this,p(F.prototype))}.bind(this))},F.prototype._removeVisibilityEventListener=function(){window.removeEventListener("hashchange",this._onHashChangeListener),window.document.removeEventListener(Y(),this._visibilityChangeListener),delete this._visibilityChangeListener,delete this._onHashChangeListener},F.prototype.processHashChangeFlowResults=function(E){var g=this,P=B(E);return new Promise(function(V,b){g._shouldUseLegacyFlow?P.venmoSuccess?(i.sendEvent(g._createPromise,"venmo.appswitch.handle.success"),window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:succeeded"),V(P)):P.venmoError?(i.sendEvent(g._createPromise,"venmo.appswitch.handle.error"),window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:failed"),b(new v({type:d.VENMO_APP_FAILED.type,code:d.VENMO_APP_FAILED.code,message:d.VENMO_APP_FAILED.message,details:{originalError:{message:decodeURIComponent(P.errorMessage),code:P.errorCode}}}))):P.venmoCancel?(i.sendEvent(g._createPromise,"venmo.appswitch.handle.cancel"),window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:canceled"),b(new v(d.VENMO_APP_CANCELED))):(i.sendEvent(g._createPromise,"venmo.appswitch.cancel-or-unavailable"),b(new v(d.VENMO_CANCELED))):g._pollForStatusChange().then(function(T){return i.sendEventPlus(g._createPromise,"venmo.appswitch.handle.payment-context-status-query.success",{context_id:g._venmoPaymentContextId}),window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:succeeded"),V({paymentMethodNonce:T.paymentMethodId,username:T.userName,payerInfo:T.payerInfo,id:g._venmoPaymentContextId})}).catch(function(T){T.code===d.VENMO_MOBILE_POLLING_TOKENIZATION_CANCELED.code?(window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:canceled"),b(T)):window.popupBridge&&i.sendEvent(g._createPromise,"popup-bridge:venmo:failed"),i.sendEventPlus(g._createPromise,"venmo.process-results.payment-context-status-query-failed",{context_id:g._venmoPaymentContextId}),V(P)}),g._clearFragmentParameters()})},F.prototype._clearFragmentParameters=function(){this._ignoreHistoryChanges||typeof window.history.replaceState=="function"&&window.location.hash&&history.pushState({},"",window.location.href.slice(0,window.location.href.indexOf("#")))};function B(E){var g=(E||window.location.hash.substring(1)).split("&"),P=g.reduce(function(V,b){var T=b.split("="),_=decodeURIComponent(T[0]).replace(/\W/g,""),O=I(_),M=decodeURIComponent(T[1]);return V[O]=M,V},{});return P.resourceId&&(P.id=P.resourceId),P}function J(E){return E=E||"","@"+E.replace("@","")}function D(E){var g={nonce:E.paymentMethodNonce,type:"VenmoAccount",details:{username:J(E.username),paymentContextId:E.id}};return E.payerInfo&&(g.details.payerInfo=E.payerInfo,g.details.payerInfo.userName=J(E.payerInfo.userName)),g}function Y(){var E;return typeof window.document.hidden!="undefined"?E="visibilitychange":typeof window.document.msHidden!="undefined"?E="msvisibilitychange":typeof window.document.webkitHidden!="undefined"&&(E="webkitvisibilitychange"),E}function H(){return window.navigator.platform&&/iPhone|iPad|iPod/.test(window.navigator.platform)}n.exports=m.wrapPrototype(F)},{"../lib/analytics":55,"../lib/assign":57,"../lib/braintree-error":59,"../lib/convert-methods-to-error":61,"../lib/in-iframe":78,"../lib/is-verified-domain":79,"../lib/methods":81,"../lib/querystring":82,"../lib/snake-case-to-camel-case":83,"../lib/url-params":84,"./external/":87,"./external/queries":88,"./shared/browser-detection":91,"./shared/constants":92,"./shared/errors":93,"./shared/get-venmo-url":95,"./shared/supports-venmo":96,"./shared/web-login-backdrop":97,"@braintree/extended-promise":26,"@braintree/wrap-promise":35}]},{},[90])(90)})}(Pr)),Pr.exports}var Uc=Fc();const jc=Cr(Uc);class zc{constructor(){C(this,"client",null);C(this,"venmoInstance",null);C(this,"deviceData",null)}init(t){return W(this,null,function*(){try{this.client=yield Sc.create({authorization:t.authorization});try{const e=yield Vc.create({client:this.client,paypal:!0});this.deviceData=e.deviceData||null}catch(e){console.warn("Braintree device data collection failed:",e),this.deviceData=null}}catch(e){throw console.error("Failed to initialize Braintree client:",e),e}})}createVenmo(t){return W(this,null,function*(){if(!this.client)throw new Error("Braintree client must be initialized before creating Venmo instance");try{return this.venmoInstance=yield jc.create(K({client:this.client,allowDesktop:!0,mobileWebFallBack:!0,allowDesktopWebLogin:!0,paymentMethodUsage:"multi_use"},t)),this.venmoInstance}catch(e){throw console.error("Failed to create Venmo instance:",e),e}})}isBrowserSupported(){var t,e;return(e=(t=this.venmoInstance)==null?void 0:t.isBrowserSupported())!=null?e:!1}hasTokenizationResult(){var t,e;return(e=(t=this.venmoInstance)==null?void 0:t.hasTokenizationResult())!=null?e:!1}tokenize(){return W(this,null,function*(){if(!this.venmoInstance)throw new Error("Venmo instance not initialized");return new Promise((t,e)=>{this.venmoInstance.tokenize(void 0,(n,a)=>{if(n)e(n);else{const i=ee(K({},a),{device_data:this.deviceData||void 0}),o=a,s=(o==null?void 0:o.billingAddress)||(o==null?void 0:o.billing_address);if(s){const l={city:s.adminArea2,country:s.countryCode,line1:s.line1,line2:s.line2,postal_code:s.postalCode,state:s.adminArea1};i.billing_address=l}t(i)}})})})}}class zi{constructor(){C(this,"ev",new Yi);C(this,"paypal",new Lc);C(this,"braintree",new zc);C(this,"state",{translate:new _c,checkout:new dc,transaction:new hc,styles:new pc});C(this,"checkout",new lc({state:this.state,service:{ev:this.ev,paypal:this.paypal,braintree:this.braintree}}))}clearState(){Object.values(this.state).forEach(t=>t.clearState())}}const Bc=Object.freeze(Object.defineProperty({__proto__:null,Core:zi},Symbol.toStringTag,{value:"Module"}));ne.Core=zi,ne.PayNextCheckout=_e,ne.PaymentMethod=re,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})});
|
|
491
491
|
//# sourceMappingURL=index.umd.js.map
|