namespace Google\Site_Kit_Dependencies;
// Don't redefine the functions if included multiple times.
if (!\function_exists('Google\\Site_Kit_Dependencies\\GuzzleHttp\\Psr7\\str')) {
require __DIR__ . '/functions.php';
}sc-stripe-add-method {
display: block;
}
sc-stripe-add-method [hidden] {
display: none;
}
.loader {
display: grid;
height: 128px;
gap: 2em;
}
.loader__row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1em;
}
.loader__details {
display: grid;
gap: 0.5em;
}import{proxyCustomElement,HTMLElement,h,Fragment}from"@stencil/core/internal/client";import{c as checkoutIsLocked}from"./getters2.js";import{a as availableProcessors}from"./getters5.js";import{s as state$1}from"./watchers5.js";import{s as state}from"./mutations2.js";import{o as openWormhole}from"./consumer.js";import{f as formBusy}from"./getters3.js";import{d as defineCustomElement$a}from"./sc-button2.js";import{d as defineCustomElement$9}from"./sc-format-number2.js";import{d as defineCustomElement$8}from"./sc-icon2.js";import{d as defineCustomElement$7}from"./paypal-buttons.js";import{d as defineCustomElement$6}from"./sc-secure-notice2.js";import{d as defineCustomElement$5}from"./sc-skeleton2.js";import{d as defineCustomElement$4}from"./sc-spinner2.js";import{d as defineCustomElement$3}from"./sc-total2.js";import{d as defineCustomElement$2}from"./sc-visually-hidden2.js";const getProcessorData=(e=[],t,s)=>{var o;return(null===(o=(e||[]).find((e=>(null==e?void 0:e.processor_type)===t&&(null==e?void 0:e.live_mode)===!("live"!==s))))||void 0===o?void 0:o.processor_data)||{}},scOrderSubmitCss="sc-order-submit{display:block;width:auto;display:grid;gap:var(--sc-form-row-spacing)}.sc-secure-notice{display:flex;justify-content:center}",ScOrderSubmit$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.loading=void 0,this.paying=void 0,this.type="primary",this.size="medium",this.full=!0,this.icon=void 0,this.showTotal=void 0,this.processors=void 0,this.order=void 0,this.currencyCode="usd",this.processor=void 0,this.secureNoticeText=void 0,this.secureNotice=!0}cannotShipToLocation(){var e,t;return(null===(e=null==state?void 0:state.checkout)||void 0===e?void 0:e.selected_shipping_choice_required)&&!(null===(t=state.checkout)||void 0===t?void 0:t.selected_shipping_choice)}renderPayPalButton(e){const{client_id:t,account_id:s,merchant_initiated_enabled:o}=getProcessorData(availableProcessors(),"paypal",state.mode);return t||s?h("sc-paypal-buttons",{buttons:e,busy:formBusy()||checkoutIsLocked(),mode:state.mode,order:state.checkout,merchantInitiated:o,"currency-code":state.currencyCode,"client-id":t,"merchant-id":s,label:"checkout",color:"blue"}):null}render(){return this.cannotShipToLocation()||checkoutIsLocked("OUT_OF_STOCK")?h("sc-button",{type:this.type,size:this.size,full:this.full,loading:this.loading||this.paying,disabled:!0},!!this.icon&&h("sc-icon",{name:this.icon,slot:"prefix","aria-hidden":"true"}),h("slot",null,wp.i18n.__("Purchase","surecart")),this.showTotal&&h("span",null," ",h("sc-total",null)),h("sc-visually-hidden",null," ",wp.i18n.__("Press enter to purchase","surecart"))):h(Fragment,null,"paypal"===state$1.id&&!(null==state$1?void 0:state$1.method)&&this.renderPayPalButton(["paypal"]),"paypal"===state$1.id&&"card"===(null==state$1?void 0:state$1.method)&&this.renderPayPalButton(["card"]),h("sc-button",{hidden:["paypal","paypal-card"].includes(state$1.id),submit:!0,type:this.type,size:this.size,full:this.full,loading:this.loading||this.paying,disabled:this.loading||this.paying||formBusy()||checkoutIsLocked()||this.cannotShipToLocation()},!!this.icon&&h("sc-icon",{name:this.icon,slot:"prefix","aria-hidden":"true"}),h("slot",null,wp.i18n.__("Purchase","surecart")),this.showTotal&&h("span",null," ",h("sc-total",null)),h("sc-visually-hidden",null," ",wp.i18n.__("Press enter to purchase","surecart"))),this.secureNotice&&"https:"===location.protocol&&h("div",{class:"sc-secure-notice"},h("sc-secure-notice",null,this.secureNoticeText||wp.i18n.__("This is a secure, encrypted payment.","surecart"))))}static get style(){return scOrderSubmitCss}},[4,"sc-order-submit",{loading:[4],paying:[4],type:[513],size:[513],full:[4],icon:[1],showTotal:[4,"show-total"],processors:[16],order:[16],currencyCode:[1,"currency-code"],processor:[1],secureNoticeText:[1,"secure-notice-text"],secureNotice:[4,"secure-notice"]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-order-submit","sc-button","sc-format-number","sc-icon","sc-paypal-buttons","sc-secure-notice","sc-skeleton","sc-spinner","sc-total","sc-visually-hidden"].forEach((e=>{switch(e){case"sc-order-submit":customElements.get(e)||customElements.define(e,ScOrderSubmit$1);break;case"sc-button":customElements.get(e)||defineCustomElement$a();break;case"sc-format-number":customElements.get(e)||defineCustomElement$9();break;case"sc-icon":customElements.get(e)||defineCustomElement$8();break;case"sc-paypal-buttons":customElements.get(e)||defineCustomElement$7();break;case"sc-secure-notice":customElements.get(e)||defineCustomElement$6();break;case"sc-skeleton":customElements.get(e)||defineCustomElement$5();break;case"sc-spinner":customElements.get(e)||defineCustomElement$4();break;case"sc-total":customElements.get(e)||defineCustomElement$3();break;case"sc-visually-hidden":customElements.get(e)||defineCustomElement$2()}}))}openWormhole(ScOrderSubmit$1,["loading","paying","processors","processor","currencyCode","order"],!1);const ScOrderSubmit=ScOrderSubmit$1,defineCustomElement=defineCustomElement$1;export{ScOrderSubmit,defineCustomElement};
Ideale Moratohttps://validator.w3.org/feed/docs/rss2.htmlHello world!Sample PageWhy Play Free Slots Online?Online Casinos Approving PayPal: A Convenient and Secure Alternative for BettorsThe Highest Payout Online Online Casino: An Overview to Discovering the Best Paying Online CasinosSelecting the Ideal CasinoOnline Online Casino Ideal Payments: Maximizing Your JackpotsIdeale Morato