@zonos/elements 1.3.104 → 1.3.106

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.
Files changed (91) hide show
  1. package/dist/cjs/{CheckoutConfig-33c1075c.js → CheckoutConfig-c97f0f83.js} +16 -3
  2. package/dist/cjs/{cart-e04e756f.js → cart-31e4e866.js} +1 -0
  3. package/dist/cjs/{createCustomEvent-3442779d.js → createCustomEvent-18fbf653.js} +1 -1
  4. package/dist/cjs/index.cjs.js +8 -8
  5. package/dist/cjs/{paypal-9f73932e.js → paypal-a101e3ca.js} +1 -1
  6. package/dist/cjs/zonos-address_7.cjs.entry.js +1 -1
  7. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +9 -7
  9. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  16. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +5 -3
  17. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  18. package/dist/collection/scripts/_getTempCartById.js +12 -2
  19. package/dist/collection/scripts/cart/_setupCartData.js +5 -1
  20. package/dist/esm/{CheckoutConfig-690e8e05.js → CheckoutConfig-4d2a508c.js} +16 -3
  21. package/dist/esm/{cart-8deffb25.js → cart-5621d0fe.js} +1 -0
  22. package/dist/esm/{createCustomEvent-eef7531d.js → createCustomEvent-a9206df5.js} +1 -1
  23. package/dist/esm/index.js +9 -9
  24. package/dist/esm/{paypal-44d7ebfe.js → paypal-869c30e1.js} +1 -1
  25. package/dist/esm/zonos-address_7.entry.js +1 -1
  26. package/dist/esm/zonos-cart-items_13.entry.js +3 -3
  27. package/dist/esm/zonos-checkout.entry.js +9 -7
  28. package/dist/esm/zonos-controller.entry.js +1 -1
  29. package/dist/esm/zonos-country-flag.entry.js +1 -1
  30. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  31. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  32. package/dist/esm/zonos-hello.entry.js +1 -1
  33. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  34. package/dist/esm/zonos-notification_3.entry.js +2 -2
  35. package/dist/esm-es5/CheckoutConfig-4d2a508c.js +1 -0
  36. package/dist/esm-es5/{cart-8deffb25.js → cart-5621d0fe.js} +1 -1
  37. package/dist/esm-es5/{createCustomEvent-eef7531d.js → createCustomEvent-a9206df5.js} +1 -1
  38. package/dist/esm-es5/index.js +1 -1
  39. package/dist/esm-es5/{paypal-44d7ebfe.js → paypal-869c30e1.js} +1 -1
  40. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  41. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  42. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  43. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  44. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  45. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  46. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  47. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  48. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  49. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  50. package/dist/scripts/index.js +1 -1
  51. package/dist/scripts/loadZonos.js +1 -1
  52. package/dist/scripts/zonos.js +1 -1
  53. package/dist/types/scripts/_getTempCartById.d.ts +4 -1
  54. package/dist/zonos-elements/index.esm.js +1 -1
  55. package/dist/zonos-elements/{p-8698d30d.system.js → p-062b6df4.system.js} +1 -1
  56. package/dist/zonos-elements/{p-0d9d1b05.system.entry.js → p-139e32ba.system.entry.js} +1 -1
  57. package/dist/zonos-elements/{p-8f9f041b.system.entry.js → p-1bb59ce2.system.entry.js} +1 -1
  58. package/dist/zonos-elements/{p-ffd09491.system.js → p-1c295409.system.js} +1 -1
  59. package/dist/zonos-elements/{p-ace6b9b9.system.entry.js → p-21586642.system.entry.js} +1 -1
  60. package/dist/zonos-elements/{p-e38e84bd.system.js → p-239331fa.system.js} +1 -1
  61. package/dist/zonos-elements/{p-d38ec4aa.entry.js → p-23b042ad.entry.js} +1 -1
  62. package/dist/zonos-elements/p-272121e2.js +1 -0
  63. package/dist/zonos-elements/{p-e56d52d1.system.js → p-2babfaa4.system.js} +1 -1
  64. package/dist/zonos-elements/{p-baf90f15.js → p-39346436.js} +1 -1
  65. package/dist/zonos-elements/{p-c36477c1.entry.js → p-43ef8bf8.entry.js} +1 -1
  66. package/dist/zonos-elements/{p-074e0cef.js → p-523c0f7d.js} +1 -1
  67. package/dist/zonos-elements/{p-a749580b.system.entry.js → p-5a704905.system.entry.js} +1 -1
  68. package/dist/zonos-elements/{p-fc7fcdb2.system.entry.js → p-5b6fa002.system.entry.js} +1 -1
  69. package/dist/zonos-elements/p-64f0fcce.system.js +1 -0
  70. package/dist/zonos-elements/p-65512b26.entry.js +1 -0
  71. package/dist/zonos-elements/{p-db0a8873.js → p-6a310417.js} +1 -1
  72. package/dist/zonos-elements/{p-7248fa2a.entry.js → p-7152f8ca.entry.js} +1 -1
  73. package/dist/zonos-elements/{p-b9fb03b4.entry.js → p-7562828c.entry.js} +1 -1
  74. package/dist/zonos-elements/{p-3f7b25c0.system.entry.js → p-7f93ce41.system.entry.js} +1 -1
  75. package/dist/zonos-elements/{p-e5972566.system.entry.js → p-82fec811.system.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-377e09b5.system.entry.js → p-a0c012a5.system.entry.js} +1 -1
  77. package/dist/zonos-elements/{p-04a51a04.entry.js → p-a8b27301.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-da96d02c.system.entry.js → p-c2e463b7.system.entry.js} +1 -1
  79. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  80. package/dist/zonos-elements/{p-d7bcfc30.entry.js → p-cfda42ba.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-fbb8b3ef.entry.js → p-d002dd35.entry.js} +1 -1
  82. package/dist/zonos-elements/{p-99924ecf.system.entry.js → p-e3b110c7.system.entry.js} +1 -1
  83. package/dist/zonos-elements/{p-91155a2e.entry.js → p-f5e54692.entry.js} +1 -1
  84. package/dist/zonos-elements/p-fb624d44.entry.js +1 -0
  85. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  86. package/package.json +1 -1
  87. package/dist/esm-es5/CheckoutConfig-690e8e05.js +0 -1
  88. package/dist/zonos-elements/p-15c0e868.system.js +0 -1
  89. package/dist/zonos-elements/p-7593ea46.js +0 -1
  90. package/dist/zonos-elements/p-b325daa2.entry.js +0 -1
  91. package/dist/zonos-elements/p-d3743479.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as s,H as n,d as a,c as t}from"./p-5b7da777.js";import{d as e}from"./p-a24da794.js";import{c as i}from"./p-b4b7f705.js";import{j as p}from"./p-baf90f15.js";import{a as c,l as m}from"./p-970fa103.js";import{c as l}from"./p-db0a8873.js";import"./p-032159ed.js";import"./p-e559d12d.js";const r=class{constructor(s){o(this,s),this.notificationArray=[]}async showNotification(o){const s=`id-${Math.random().toString(36).substring(2,9)}`,n=Object.assign(Object.assign({},o),{id:s,timeout:o.timeout||5e3,transitionClass:"",type:o.type||"success"});this.notificationArray=[...this.notificationArray,n],setTimeout((()=>{this.updateTransitionClass({id:s,transitionClass:"show"})}),50),setTimeout((()=>{this.removeNotification(s)}),n.timeout)}updateTransitionClass({id:o,transitionClass:s}){this.notificationArray=this.notificationArray.map((n=>n.id===o?Object.assign(Object.assign({},n),{transitionClass:s}):n))}removeNotification(o){this.updateTransitionClass({id:o,transitionClass:""}),setTimeout((()=>{this.notificationArray=this.notificationArray.filter((s=>s.id!==o))}),300)}render(){return s(n,{key:"17c08c90c6c1dfade4e43451c196127a0f53429e",class:i(["zonos--elements zonos--notification"]),style:{"--font-family":e()}},s("div",{key:"6624419d86a5c7518539069dbc5c9d7c08262c75",class:"zonos--notification-items"},this.notificationArray.map((o=>s("div",{"aria-hidden":"true",class:i(["zonos--notification-item",o.type,o.transitionClass]),key:o.id,onClick:()=>{this.removeNotification(o.id)}},s("zonos-text",{textColor:"gray-0"},o.message))))))}};r.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";const y=class{constructor(s){o(this,s),this.titleText=void 0,this.stripe=p.stripe,this.stripeElements=p.stripeElements}watchInitStripe(){if(!this.stripeElements)return;const o=p.stripePaymentElement||this.stripeElements.create("payment",{layout:"tabs"}),s=this.el.querySelector(".zonos--payment-component");s?(o.mount(s),o.on("change",(o=>{p.stripePaymentEventData=o})),p.stripePaymentElement=o):c("Cannot find container element for paymentElement")}componentDidLoad(){this.watchInitStripe()}render(){return s(n,{key:"b0f902ab028fc148e5ac2e6b6620844aa88329f0",class:"zonos--payment zonos--elements"},this.titleText&&s("zonos-text",{key:"826ddc56d763a6064e4ba5bd331853950d68a8b5",class:"zonos--title",type:"semiBoldLabel"},this.titleText),s("div",{key:"4f987cfa5d2d1d2b0db48f435f9119095b1a7373",class:"zonos--payment-component"}),s("div",{key:"bbdfdeee14b9a919b896bbe525763d850739cb4a",class:"zonos--payment-paypal-container"}))}get el(){return a(this)}static get watchers(){return{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}}};y.style=".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";const h=class{constructor(s){o(this,s),this.paypalSessionDone=t(this,"paypalSessionDone",7),this.paypalSessionFail=t(this,"paypalSessionFail",7)}async loadPaypal(){if(!window.Zonos.paypal)return void m("Paypal is not available");const o=l({onPaypalFail:()=>{m("onPaypalFail"),this.paypalSessionFail.emit()},onPaypalSessionDone:({orderId:o})=>{m("onPaypalSessionDone","info",{orderId:o}),this.paypalSessionDone.emit({orderId:o})}});if(!(null==o?void 0:o.length))return void m("There are no paypal buttons available");const s=this.el.querySelector(".zonos--payment-paypal-container");s?o.forEach((async o=>{await o.render(s)})):m("Cannot find container element for paypal buttons")}componentDidLoad(){this.loadPaypal()}render(){return s(n,{key:"23a85e68d356392c530adc7d006cbe4ffc5ff87c",class:"zonos--paypal-payment zonos--elements"},s("div",{key:"1488f9507505eaea91141c09265295acff6ca085",class:"zonos--payment-paypal-container"}))}get el(){return a(this)}};h.style=".sc-zonos-paypal-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-paypal-payment-h *.sc-zonos-paypal-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-paypal-payment-h img.sc-zonos-paypal-payment{max-width:100%}.sc-zonos-paypal-payment-h dl.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h dd.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h1.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h2.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h3.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h4.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h5.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h6.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h hr.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h figure.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h p.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h pre.sc-zonos-paypal-payment{margin:0}.sc-zonos-paypal-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-paypal-payment-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}";export{r as zonos_notification,y as zonos_payment,h as zonos_paypal_payment}
1
+ import{r as o,h as s,H as n,d as a,c as t}from"./p-5b7da777.js";import{d as e}from"./p-a24da794.js";import{c as i}from"./p-b4b7f705.js";import{j as p}from"./p-39346436.js";import{a as c,l as m}from"./p-970fa103.js";import{c as l}from"./p-6a310417.js";import"./p-032159ed.js";import"./p-e559d12d.js";const r=class{constructor(s){o(this,s),this.notificationArray=[]}async showNotification(o){const s=`id-${Math.random().toString(36).substring(2,9)}`,n=Object.assign(Object.assign({},o),{id:s,timeout:o.timeout||5e3,transitionClass:"",type:o.type||"success"});this.notificationArray=[...this.notificationArray,n],setTimeout((()=>{this.updateTransitionClass({id:s,transitionClass:"show"})}),50),setTimeout((()=>{this.removeNotification(s)}),n.timeout)}updateTransitionClass({id:o,transitionClass:s}){this.notificationArray=this.notificationArray.map((n=>n.id===o?Object.assign(Object.assign({},n),{transitionClass:s}):n))}removeNotification(o){this.updateTransitionClass({id:o,transitionClass:""}),setTimeout((()=>{this.notificationArray=this.notificationArray.filter((s=>s.id!==o))}),300)}render(){return s(n,{key:"17c08c90c6c1dfade4e43451c196127a0f53429e",class:i(["zonos--elements zonos--notification"]),style:{"--font-family":e()}},s("div",{key:"6624419d86a5c7518539069dbc5c9d7c08262c75",class:"zonos--notification-items"},this.notificationArray.map((o=>s("div",{"aria-hidden":"true",class:i(["zonos--notification-item",o.type,o.transitionClass]),key:o.id,onClick:()=>{this.removeNotification(o.id)}},s("zonos-text",{textColor:"gray-0"},o.message))))))}};r.style=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";const y=class{constructor(s){o(this,s),this.titleText=void 0,this.stripe=p.stripe,this.stripeElements=p.stripeElements}watchInitStripe(){if(!this.stripeElements)return;const o=p.stripePaymentElement||this.stripeElements.create("payment",{layout:"tabs"}),s=this.el.querySelector(".zonos--payment-component");s?(o.mount(s),o.on("change",(o=>{p.stripePaymentEventData=o})),p.stripePaymentElement=o):c("Cannot find container element for paymentElement")}componentDidLoad(){this.watchInitStripe()}render(){return s(n,{key:"b0f902ab028fc148e5ac2e6b6620844aa88329f0",class:"zonos--payment zonos--elements"},this.titleText&&s("zonos-text",{key:"826ddc56d763a6064e4ba5bd331853950d68a8b5",class:"zonos--title",type:"semiBoldLabel"},this.titleText),s("div",{key:"4f987cfa5d2d1d2b0db48f435f9119095b1a7373",class:"zonos--payment-component"}),s("div",{key:"bbdfdeee14b9a919b896bbe525763d850739cb4a",class:"zonos--payment-paypal-container"}))}get el(){return a(this)}static get watchers(){return{stripeElements:["watchInitStripe"],stripe:["watchInitStripe"]}}};y.style=".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";const h=class{constructor(s){o(this,s),this.paypalSessionDone=t(this,"paypalSessionDone",7),this.paypalSessionFail=t(this,"paypalSessionFail",7)}async loadPaypal(){if(!window.Zonos.paypal)return void m("Paypal is not available");const o=l({onPaypalFail:()=>{m("onPaypalFail"),this.paypalSessionFail.emit()},onPaypalSessionDone:({orderId:o})=>{m("onPaypalSessionDone","info",{orderId:o}),this.paypalSessionDone.emit({orderId:o})}});if(!(null==o?void 0:o.length))return void m("There are no paypal buttons available");const s=this.el.querySelector(".zonos--payment-paypal-container");s?o.forEach((async o=>{await o.render(s)})):m("Cannot find container element for paypal buttons")}componentDidLoad(){this.loadPaypal()}render(){return s(n,{key:"23a85e68d356392c530adc7d006cbe4ffc5ff87c",class:"zonos--paypal-payment zonos--elements"},s("div",{key:"1488f9507505eaea91141c09265295acff6ca085",class:"zonos--payment-paypal-container"}))}get el(){return a(this)}};h.style=".sc-zonos-paypal-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-paypal-payment-h *.sc-zonos-paypal-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-paypal-payment-h img.sc-zonos-paypal-payment{max-width:100%}.sc-zonos-paypal-payment-h dl.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h dd.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h1.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h2.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h3.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h4.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h5.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h h6.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h hr.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h figure.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h p.sc-zonos-paypal-payment,.sc-zonos-paypal-payment-h pre.sc-zonos-paypal-payment{margin:0}.sc-zonos-paypal-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-paypal-payment-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}";export{r as zonos_notification,y as zonos_payment,h as zonos_paypal_payment}
@@ -1 +1 @@
1
- import{d as o,l as n}from"./p-baf90f15.js";import{z as t}from"./p-a24da794.js";import{h as a}from"./p-970fa103.js";const i=async(i,e)=>{var s,d;if((window.location.href.includes("zonos.com")||(null===(s=window.Zonos)||void 0===s?void 0:s.zonosQaUrl)||(null===(d=window.Zonos)||void 0===d?void 0:d.debug))&&!window.Zonos.zonosConversionTest)return;const r=o.checkoutSessionId;if(!r)return;const m={checkoutSessionId:r,countryCode:n.selectedCountryCode,eventName:i,metadata:e,organizationId:t.organizationId};await a("/api/zonos-elements/track-conversion-event",{body:m,method:"POST"})},e=()=>{var o;return null===(o=window.Zonos.zonosApiKey)||void 0===o?void 0:o.includes("test")},s=(o,n)=>new CustomEvent(o,{detail:n});export{s as c,e as g,i as t}
1
+ import{d as o,l as n}from"./p-39346436.js";import{z as t}from"./p-a24da794.js";import{h as a}from"./p-970fa103.js";const i=async(i,e)=>{var s,d;if((window.location.href.includes("zonos.com")||(null===(s=window.Zonos)||void 0===s?void 0:s.zonosQaUrl)||(null===(d=window.Zonos)||void 0===d?void 0:d.debug))&&!window.Zonos.zonosConversionTest)return;const r=o.checkoutSessionId;if(!r)return;const m={checkoutSessionId:r,countryCode:n.selectedCountryCode,eventName:i,metadata:e,organizationId:t.organizationId};await a("/api/zonos-elements/track-conversion-event",{body:m,method:"POST"})},e=()=>{var o;return null===(o=window.Zonos.zonosApiKey)||void 0===o?void 0:o.includes("test")},s=(o,n)=>new CustomEvent(o,{detail:n});export{s as c,e as g,i as t}