@alma/widgets 4.0.0 → 4.0.1

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/README.md CHANGED
@@ -7,17 +7,16 @@ View all [Changelog](https://github.com/alma/widgets/releases)
7
7
  ## Setup
8
8
 
9
9
  ### Add the widget to your page
10
- TODO: remove => Changes to test precommit
11
10
  ##### CSS
12
11
 
13
12
  ```html
14
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alma/widgets@3.x/dist/widgets.min.css" />
13
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alma/widgets@4.x/dist/widgets.min.css" />
15
14
  ```
16
15
 
17
16
  ##### JS
18
17
 
19
18
  ```html
20
- <script src="https://cdn.jsdelivr.net/npm/@alma/widgets@3.x/dist/widgets.umd.js"></script>
19
+ <script src="https://cdn.jsdelivr.net/npm/@alma/widgets@4.x/dist/widgets.umd.js"></script>
21
20
  ```
22
21
 
23
22
  ### Create the container
@@ -26,7 +26,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var ja;function Fs(){if(ja)return F;ja=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function E(g){if(typeof g=="object"&&g!==null){var R=g.$$typeof;switch(R){case t:switch(g=g.type,g){case l:case c:case r:case o:case a:case u:return g;default:switch(g=g&&g.$$typeof,g){case s:case f:case _:case h:case i:return g;default:return R}}case n:return R}}}function A(g){return E(g)===c}return F.AsyncMode=l,F.ConcurrentMode=c,F.ContextConsumer=s,F.ContextProvider=i,F.Element=t,F.ForwardRef=f,F.Fragment=r,F.Lazy=_,F.Memo=h,F.Portal=n,F.Profiler=o,F.StrictMode=a,F.Suspense=u,F.isAsyncMode=function(g){return A(g)||E(g)===l},F.isConcurrentMode=A,F.isContextConsumer=function(g){return E(g)===s},F.isContextProvider=function(g){return E(g)===i},F.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},F.isForwardRef=function(g){return E(g)===f},F.isFragment=function(g){return E(g)===r},F.isLazy=function(g){return E(g)===_},F.isMemo=function(g){return E(g)===h},F.isPortal=function(g){return E(g)===n},F.isProfiler=function(g){return E(g)===o},F.isStrictMode=function(g){return E(g)===a},F.isSuspense=function(g){return E(g)===u},F.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===c||g===o||g===a||g===u||g===d||typeof g=="object"&&g!==null&&(g.$$typeof===_||g.$$typeof===h||g.$$typeof===i||g.$$typeof===s||g.$$typeof===f||g.$$typeof===v||g.$$typeof===y||g.$$typeof===x||g.$$typeof===b)},F.typeOf=E,F}Wa.exports=Fs();var Us=Wa.exports,za=Us,ks={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Va={};Va[za.ForwardRef]=ks,Va[za.Memo]=Gs;var Un=typeof window!="undefined"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=ct(null)):ct(null);Un.Consumer;var $s=Un.Provider,Ws=$s,js=Un;function Ut(){var e=mt(js);return ka(e),e}var kn;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(kn||(kn={}));var Gn;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Gn||(Gn={}));function qa(e){var t=function(n){var r=Ut(),a=n.value,o=n.children,i=Ke(n,["value","children"]),s=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?r.formatDateToParts(s,i):r.formatTimeToParts(s,i);return o(l)};return t.displayName=Gn[e],t}function yt(e){var t=function(n){var r=Ut(),a=n.value,o=n.children,i=Ke(n,["value","children"]),s=r[e](a,i);if(typeof o=="function")return o(s);var l=r.textComponent||fe;return ce(l,null,s)};return t.displayName=kn[e],t}function Xa(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=Na(r)?Bs(r):r,t},{})}var Za=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=Xa(r),s=Bn.apply(void 0,re([e,t,n,i],a,!1));return Array.isArray(s)?ht.toArray(s):s},Ka=function(e,t){var n=e.defaultRichTextElements,r=Ke(e,["defaultRichTextElements"]),a=Xa(n),o=Ds(T(T(T({},Ga),r),{defaultRichTextElements:a}),t),i={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a};return T(T({},o),{formatMessage:Za.bind(null,i,o.formatters),$t:Za.bind(null,i,o.formatters)})};function $n(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var zs=function(e){he(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=Pa(),n.state={cache:n.cache,intl:Ka($n(n.props),n.cache),prevConfig:$n(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var a=r.prevConfig,o=r.cache,i=$n(n);return Fn(a,i)?null:{intl:Ka(i,o),prevConfig:i}},t.prototype.render=function(){return ka(this.state.intl),ce(Ws,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ga,t}(dt);function Vs(e,t){var n=e.values,r=Ke(e,["values"]),a=t.values,o=Ke(t,["values"]);return Fn(a,n)&&Fn(r,o)}function Ya(e){var t=Ut(),n=t.formatMessage,r=t.textComponent,a=r===void 0?fe:r,o=e.id,i=e.description,s=e.defaultMessage,l=e.values,c=e.children,f=e.tagName,u=f===void 0?a:f,d=e.ignoreTag,h={id:o,description:i,defaultMessage:s},_=n(h,l,{ignoreTag:d});return typeof c=="function"?c(Array.isArray(_)?_:[_]):u?ce(u,null,ht.toArray(_)):ce(fe,null,_)}Ya.displayName="FormattedMessage";var D=hn(Ya,Vs);D.displayName="MemoizedFormattedMessage";var Ja=yt("formatDate");yt("formatTime");var Se=yt("formatNumber");yt("formatList"),yt("formatDisplayName"),qa("formatDate"),qa("formatTime");const qs={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Überprüfen Sie Ihre Rückzahlungsmöglichkeiten, bevor Sie eine Verpflichtung eingehen.","credit-features.information.title":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden.","credit-features.legal-text":"Kredit in Höhe von {totalWithoutFirstInstallment} zu einem festen Sollzinssatz von {taegPercentage} über eine Laufzeit von {installmeentsCountWithoutFirst} Monaten. Ermöglicht, zusätzlich zu einer Anzahlung von {firstInstallmentAmount}, die Finanzierung eines Kaufs in Höhe von {productPriceWithoutCreditCost}. Vorbehaltlich der Prüfung und Annahme durch Alma. Gesetzliche Widerrufsfrist von 14 Tagen. Simulation präsentiert von Alma, eingetragen im RCS Nanterre unter der Nummer 839 100 575, Zahlungsinstitut und Finanzierungsgesellschaft, zugelassen von der ACPR unter der Nummer 17408 (IPC-Nummer / Bankcode).","credit-features.total-credit-cost":"Davon Kreditkosten","eligibility-modal.bullet-1":"Wählen Sie <strong>Alma</strong> beim Check-out. ","eligibility-modal.bullet-2":"Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>","eligibility-modal.bullet-3":"<strong>Behalten Sie die Kontrolle</strong> , indem Sie Ihre Fälligkeitstermine in Ihrem eigenen Tempo vor- oder zurückverlegen.","eligibility-modal.no-eligibility":"Ups, die Prüfung hat anscheinend nicht funktioniert.","eligibility-modal.p1x-bullet-1":"Wählen Sie <strong>Alma - Jetzt bezahlen</strong> zum Zeitpunkt der Zahlung.","eligibility-modal.p1x-bullet-2":"Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>","eligibility-modal.p1x-bullet-3":"<strong> Die Bestätigung </strong> Ihrer Zahlung erfolgt sofort !","eligibility-modal.title-deferred-plan":"Zahlen Sie mit Alma in Raten oder später.","eligibility-modal.title-normal":"Zahlen Sie mit Alma in mehreren Raten.","eligibility-modal.title-pay-now":"Bezahlen Sie auf einmal mit Alma per Kreditkarte.","installments.today":"Heute","installments.total-amount":"Gesamtsumme","installments.total-fees":"Davon Kosten","payment-plan-strings.credit":"Klicken Sie, um mehr zu erfahren","payment-plan-strings.day-abbreviation":"T{deferredDays}","payment-plan-strings.default-message":"Bezahlen Sie zinsfrei in mehreren Raten mit Alma.","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(0% Finanzierung)","payment-plan-strings.pay-now":"Zahlen Sie jetzt {totalAmount}","payment-plan-strings.pay.now.button":"Jetzt bezahlen"},Xs={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Check your repayment capacity before committing yourself.","credit-features.information.title":"Credit is a commitment and must be repaid.","credit-features.legal-text":"Loan of {totalWithoutFirstInstallment} at a fixed interest rate of {taegPercentage} over a period of {installmeentsCountWithoutFirst} months. In addition to a down payment of {firstInstallmentAmount}, this loan can be used to finance a purchase of {productPriceWithoutCreditCost}. Subject to review and acceptance by Alma. Legal cooling-off period of 14 days. Simulation presented by Alma, registered with the RCS Nanterre under number 839 100 575, payment and finance company approved by the ACPR under number 17408 (CIB number / Bank code).","credit-features.total-credit-cost":"Of which cost of credit","eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Let us guide you and validate your payment in <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Stay in control</strong> by advancing or postponing your deadlines at your own pace.","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.p1x-bullet-1":"Choose <strong>Alma - Pay now</strong> at checkout.","eligibility-modal.p1x-bullet-2":"Enter your <strong>credit card details.</strong>","eligibility-modal.p1x-bullet-3":"<strong>Your payment is instantly validated at </strong> !","eligibility-modal.title-deferred-plan":"Pay in installments or later by credit card with Alma.","eligibility-modal.title-normal":"Pay in installments by credit card with Alma.","eligibility-modal.title-pay-now":"Pay cash by credit card with Alma.","installments.today":"Today","installments.total-amount":"Total","installments.total-fees":"Of which costs (incl. VAT)","payment-plan-strings.credit":"Click to find out more","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to pay the {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)","payment-plan-strings.pay-now":"Pay now {totalAmount}","payment-plan-strings.pay.now.button":"Pay now"},Zs={"credit-features.credit-cost-display":"{creditCost} (TAE {taegPercentage})","credit-features.information":"Compruebe tu capacidad de reembolso antes de comprometerte.","credit-features.information.title":"El crédito y/o pago a plazos es un compromiso y debe devolverse.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Préstamo de a un tipo deudor fijo de a lo largo de un periodo de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Además de un depósito de , esto le permitirá financiar una compra de . Sujeto a revisión y aceptación por parte de Alma. Plazo legal de retractación de 14 días. Simulación presentada por Alma, inscrita en el Registro Mercantil de Nanterre con el número 839 100 575, sociedad de pago y financiación autorizada por la ACPR con el número 17408 (número CIB / código bancario).","credit-features.total-credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Déjate guiar y válida tu pago en <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantén el control</strong> adelantando o aplazando los plazos a su propio ritmo.","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.p1x-bullet-1":"Elije <strong>Alma - Pagar ahora</strong> al momento de la compra.","eligibility-modal.p1x-bullet-2":"Introduce los datos de tu tarjeta bancaria en <strong>.</strong>","eligibility-modal.p1x-bullet-3":"<strong>¡La validación </strong> de tu pago es instantánea!","eligibility-modal.title-deferred-plan":"Paga a plazos o posteriormente con tarjeta bancaria con Alma.","eligibility-modal.title-normal":"Pagar a plazos con tarjeta bancaria con Alma.","eligibility-modal.title-pay-now":"Paga de contado con tu tarjeta bancaria a través de alma.","installments.today":"Hoy","installments.total-amount":"Total","installments.total-fees":"De los cuales, costes (IVA incluido)","payment-plan-strings.credit":"Haz click para más información","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)","payment-plan-strings.pay-now":"Pague ahora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar ahora"},Ks={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Vérifiez vos capacités de remboursement avant de vous engager.","credit-features.information.title":"Un crédit vous engage et doit être remboursé.","credit-features.legal-text":"Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).","credit-features.total-credit-cost":"Dont coût du crédit","eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.p1x-bullet-1":"Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.","eligibility-modal.p1x-bullet-2":"Renseignez les informations de votre <strong>carte bancaire.</strong>","eligibility-modal.p1x-bullet-3":"<strong>La validation </strong> de votre paiement est instantanée !","eligibility-modal.title-deferred-plan":"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.","eligibility-modal.title-normal":"Payez en plusieurs fois par carte bancaire avec Alma.","eligibility-modal.title-pay-now":"Payez comptant par carte bancaire avec Alma.","installments.today":"Aujourd'hui","installments.total-amount":"Total","installments.total-fees":"Dont frais (TTC)","payment-plan-strings.credit":"Cliquez pour en savoir plus","payment-plan-strings.day-abbreviation":"J{deferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)","payment-plan-strings.pay-now":"Payer maintenant {totalAmount}","payment-plan-strings.pay.now.button":"Payer maintenant"},Ys={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verificate la vostra capacità di rimborso prima di prendere un impegno.","credit-features.information.title":"Il credito è un impegno e deve essere ripagato.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Prestito a tasso fisso per un periodo di mesi. {firstInstallmentAmount} {productPriceWithoutCreditCost}Oltre a un deposito di , questo vi permetterà di finanziare un acquisto di . Soggetto a revisione e accettazione da parte di Alma. Periodo di recesso legale di 14 giorni. Simulazione presentata da Alma, iscritta al Registro del Commercio e delle Imprese di Nanterre con il numero 839 100 575, società di pagamento e di finanziamento approvata dall'ACPR con il numero 17408 (numero CIB / codice bancario).","credit-features.total-credit-cost":"Di cui commissioni","eligibility-modal.bullet-1":"Seleziona <strong>Alma</strong> come metodo di pagamento.","eligibility-modal.bullet-2":"Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>","eligibility-modal.bullet-3":"<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.","eligibility-modal.no-eligibility":"Ops, sembra che qualcosa non abbia funzionato.","eligibility-modal.p1x-bullet-1":"Scegli <strong>Alma - Paga ora</strong> alla cassa.","eligibility-modal.p1x-bullet-2":"Inserisci i dati della tua <strong>carta bancaria.</strong>","eligibility-modal.p1x-bullet-3":"Ricevi la <strong>conferma di pagamento</strong> istantaneamente!","eligibility-modal.title-deferred-plan":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-normal":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-pay-now":"Paga ora con carta tramite Alma.","installments.today":"Oggi","installments.total-amount":"Totale","installments.total-fees":"Di cui commissioni","payment-plan-strings.credit":"Clicca qui per saperne di più","payment-plan-strings.day-abbreviation":"G{deferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma, senza registrazione.","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)","payment-plan-strings.pay-now":"Paga ora {totalAmount}","payment-plan-strings.pay.now.button":"Paga ora"},Js={"credit-features.credit-cost-display":"{creditCost} (gemiddeld rente percentage {taegPercentage})","credit-features.information":"Controleer uw terugbetalingscapaciteit voordat u een toezegging doet.","credit-features.information.title":"Krediet is een verplichting en moet worden terugbetaald.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Lening van tegen een vaste rentevoet van over een periode van maanden. {firstInstallmentAmount} {productPriceWithoutCreditCost}Naast een aanbetaling van , kun je hiermee een aankoop financieren van . Onder voorbehoud van beoordeling en aanvaarding door Alma. Wettelijke herroepingstermijn van 14 dagen. Simulatie aangeboden door Alma, ingeschreven in het handels- en bedrijvenregister van Nanterre onder nummer 839 100 575, betalings- en financieringsmaatschappij erkend door de ACPR onder nummer 17408 (CIB-nummer / bankcode).","credit-features.total-credit-cost":"Waarvan kredietkosten","eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.bullet-2":"Betaal gemakkelijk <strong>binnen 1 minuut </strong>. Je hebt hier geen account voor nodig.","eligibility-modal.bullet-3":"<strong>Behoud de controle </strong> en bepaal je eigen tempo. Bij Alma schuif je de deadlines gemakkelijk vooruit of achteruit. Zonder bijkomende kosten.","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.p1x-bullet-1":"Kies <strong>Alma - Betaal nu</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.p1x-bullet-2":"Vul je <strong>gegevens </strong> in","eligibility-modal.p1x-bullet-3":"<strong>De bevestiging </strong> van jouw betaling is direct!","eligibility-modal.title-deferred-plan":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-normal":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-pay-now":"Betaal met iDEAL of per creditcard bij Alma.","installments.today":"Vandaag","installments.total-amount":"Totaal","installments.total-fees":"Waarvan kosten (incl. BTW)","payment-plan-strings.credit":"Klik hier voor meer informatie","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Betaal in termijnen bij Alma - helemaal rentevrij","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Vanaf {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(zonder kosten)","payment-plan-strings.pay-now":"Betaal nu {totalAmount}","payment-plan-strings.pay.now.button":"Betaal nu"},Qs={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verifique a sua capacidade de reembolso antes de assumir um compromisso.","credit-features.information.title":"O crédito é um compromisso e deve ser reembolsado.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Empréstimo de a uma taxa de juro fixa de durante um período de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Para além de um depósito de , isto permitir-lhe-á financiar uma compra de . Sujeito a análise e aceitação pela Alma. Prazo legal de retratação de 14 dias. Simulação apresentada pela Alma, inscrita na Conservatória do Registo Comercial e das Sociedades de Nanterre sob o número 839 100 575, sociedade de pagamento e de financiamento aprovada pela ACPR sob o número 17408 (número CIB / código bancário).","credit-features.total-credit-cost":"Incluindo comissões de crédito","eligibility-modal.bullet-1":"Seleccionar <strong>Alma - Pay Now</strong> no final da compra.","eligibility-modal.bullet-2":"Siga as instruções e valide o seu pagamento em <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantenha o controlo</strong> adiando as datas de pagamento ao seu próprio ritmo.","eligibility-modal.no-eligibility":"Ups, parece que a simulação não funcionou.","eligibility-modal.p1x-bullet-1":"Escolha <strong>Alma - Pague agora</strong> no checkout.","eligibility-modal.p1x-bullet-2":"Preencha os dados do seu <strong>cartão de bancário.</strong>","eligibility-modal.p1x-bullet-3":"<strong>A validação </strong> do seu pagamento é instantânea!","eligibility-modal.title-deferred-plan":"Pagar em prestações ou mais tarde por cartão de crédito com Alma.","eligibility-modal.title-normal":"Pagar em prestações por cartão bancário com a Alma.","eligibility-modal.title-pay-now":"Pague na integralidade com a Alma por cartão bancário.","installments.today":"Hoje","installments.total-amount":"Total","installments.total-fees":"Das quais comissões (incl. IVA)","payment-plan-strings.credit":"Clique aqui para saber mais","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagamento em prestações com a Alma","payment-plan-strings.deferred":"{totalAmount} a pagar em {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Até {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"A partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sem encargos)","payment-plan-strings.pay-now":"Pagar agora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar agora"},el=e=>{switch(e.slice(0,2)){case z.fr:return Ks;case z.es:return Zs;case z.it:return Ys;case z.de:return qs;case z.pt:return Qs;case z.nl:return Js;case z.en:default:return Xs}},Qa=({children:e,locale:t})=>m.createElement(zs,{messages:el(t),locale:t,defaultLocale:"en"},e),tl=e=>e.split("").reduce((t,n)=>(t<<5)-t+n.charCodeAt(0)|0,0).toString().replace("-","A"),nl=e=>Date.now()-e>=36e5,rl=()=>({setCache:(o,i)=>{const s=Date.now();sessionStorage.setItem(o,JSON.stringify({value:i,timestamp:s}))},getCache:o=>{const i=sessionStorage.getItem(o)||"";return i?JSON.parse(i):null},clearCache:()=>{sessionStorage.clear()},deleteCache:o=>{sessionStorage.removeItem(o)},createKey:o=>{const{purchaseAmount:i,plans:s,customerBillingCountry:l,customerShippingCountry:c}=o,f=i.toString(),u=JSON.stringify(s);return tl(`${f}${u}${l}${c}`)}});function al(e,t,n=""){return Yo(this,null,function*(){return(yield fetch(n,{method:"POST",headers:Re({"Content-Type":"application/json"},t),cache:"force-cache",body:JSON.stringify(e)})).json()})}const ol=(e,t)=>e.eligible&&t?e.purchase_amount>=(t==null?void 0:t.minAmount)&&e.purchase_amount<=(t==null?void 0:t.maxAmount):!1,il=(e,t)=>{var r;const n=(r=e.constraints)==null?void 0:r.purchase_amount;return n&&t?{minAmount:Math.max(t.minAmount,n==null?void 0:n.minimum),maxAmount:Math.min(t.maxAmount,n==null?void 0:n.maximum)}:t!=null?t:{}},sl=(e,t)=>t?e.map(n=>{const r=(n.deferred_months?n.deferred_months:0)*30+(n.deferred_days?n.deferred_days:0),a=t.find(o=>{const i=(o.deferredMonths?o.deferredMonths:0)*30+(o.deferredDays?o.deferredDays:0);return n.installments_count===o.installmentsCount&&r===i});return Re(Ko(Re({},n),{eligible:ol(n,a)}),il(n,a))}):e.filter(n=>!(n.installments_count===1&&n.deferred_days===0&&n.deferred_months===0));var ll={GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_ebab8bd2-c668-4994-8d44-31fc57c4ce0f",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",BUILD_VERSION:"v4.0.0",npm_config_user_agent:"npm/10.9.2 node/v22.13.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_ebab8bd2-c668-4994-8d44-31fc57c4ce0f",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.13.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/widgets/widgets/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"alma",npm_package_engines_node:">=6.0.0",GRADLE_HOME:"/usr/share/gradle-8.12.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43338473",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/widgets/widgets",SYSTEMD_EXEC_PID:"832",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250202.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.11/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.5/x64",JOURNAL_STREAM:"8:2018",GITHUB_WORKFLOW:"Release",_:"/opt/hostedtoolcache/node/22.13.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/22.13.1/x64",npm_config_npm_version:"10.9.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"false",GITHUB_RUN_ID:"13177575961",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"tag",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"7fb754f5b83b565ba2261aff1538908d087bc2dc",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.0",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_acada320-055a-4237-b117-5d77bde56571",INVOCATION_ID:"4e89f078c1344a4bbb24f5f1cff0ae7d",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/22.13.1/x64/bin/node",npm_package_name:"@alma/widgets",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"22",GITHUB_TRIGGERING_ACTOR:"CamilleFljt",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 307",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"v4.0.0",GITHUB_REPOSITORY:"alma/widgets",STATS_D_D:"false",npm_lifecycle_script:"vite",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"436622633",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"4.0.0",npm_lifecycle_event:"npx",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/widgets/widgets",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-package",RUNNER_PERFLOG:"/home/runner/perflog",npm_package_config_commitizen_path:"./node_modules/cz-conventional-changelog",GITHUB_SHA:"7fb754f5b83b565ba2261aff1538908d087bc2dc",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/tags/v4.0.0",GITHUB_ACTOR:"CamilleFljt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/22.13.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_ebab8bd2-c668-4994-8d44-31fc57c4ce0f",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/widgets/widgets",GITHUB_ACTOR_ID:"112871182",RUNNER_WORKSPACE:"/home/runner/work/widgets",npm_execpath:"/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",STATS_TIS:"mining",GITHUB_EVENT_NAME:"release",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_ebab8bd2-c668-4994-8d44-31fc57c4ce0f",npm_config_global_prefix:"/opt/hostedtoolcache/node/22.13.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"exec",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_ebab8bd2-c668-4994-8d44-31fc57c4ce0f",INIT_CWD:"/home/runner/work/widgets/widgets",EDITOR:"vi",NODE_ENV:"production"};const eo=(e,{domain:t,merchantId:n},r,a,o)=>{var x,E;const[i,s]=ne([]),[l,c]=ne(L.PENDING),{getCache:f,setCache:u,createKey:d}=rl(),h=d({purchaseAmount:e,plans:r,customerBillingCountry:a,customerShippingCountry:o}),_=(x=f(h))==null?void 0:x.value,b=(E=f(h))==null?void 0:E.timestamp,v=b&&nl(b),y=r==null?void 0:r.map(A=>({installments_count:A.installmentsCount,deferred_days:A==null?void 0:A.deferredDays,deferred_months:A==null?void 0:A.deferredMonths}));return me(()=>{if(l===L.PENDING){let A=null;a&&(A={country:a});let g=null;o&&(g={country:o}),_&&!v&&(s(_),c(L.SUCCESS)),(!_||v)&&al({purchase_amount:e,queries:y,billing_address:A,shipping_address:g},{Authorization:`Alma-Merchant-Auth ${n}`,"X-Alma-Agent":`Alma Widget/${ll.VERSION}`},`${t}/v2/payments/eligibility`).then(R=>{u(h,R),s(R),c(L.SUCCESS)}).catch(()=>{c(L.FAILED)})}},[l,e,h,a,o,_,v,y,n,t,u]),[sl(i,r),l]};var Wn={};Wn.match=hl,Wn.parse=to;var ul=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,cl=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,fl=/^(?:(min|max)-)?(.+)/,ml=/(em|rem|px|cm|mm|in|pt|pc)?$/,dl=/(dpi|dpcm|dppx)?$/;function hl(e,t){return to(e).some(function(n){var r=n.inverse,a=n.type==="all"||t.type===n.type;if(a&&r||!(a||r))return!1;var o=n.expressions.every(function(i){var s=i.feature,l=i.modifier,c=i.value,f=t[s];if(!f)return!1;switch(s){case"orientation":case"scan":return f.toLowerCase()===c.toLowerCase();case"width":case"height":case"device-width":case"device-height":c=ao(c),f=ao(f);break;case"resolution":c=ro(c),f=ro(f);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":c=no(c),f=no(f);break;case"grid":case"color":case"color-index":case"monochrome":c=parseInt(c,10)||1,f=parseInt(f,10)||0;break}switch(l){case"min":return f>=c;case"max":return f<=c;default:return f===c}});return o&&!r||!o&&r})}function to(e){return e.split(",").map(function(t){t=t.trim();var n=t.match(ul),r=n[1],a=n[2],o=n[3]||"",i={};return i.inverse=!!r&&r.toLowerCase()==="not",i.type=a?a.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(s){var l=s.match(cl),c=l[1].toLowerCase().match(fl);return{modifier:c[1],feature:c[2],value:l[2]}}),i})}function no(e){var t=Number(e),n;return t||(n=e.match(/^(\d+)\s*\/\s*(\d+)$/),t=n[1]/n[2]),t}function ro(e){var t=parseFloat(e),n=String(e).match(dl)[1];switch(n){case"dpcm":return t/2.54;case"dppx":return t*96;default:return t}}function ao(e){var t=parseFloat(e),n=String(e).match(ml)[1];switch(n){case"em":return t*16;case"rem":return t*16;case"cm":return t*96/2.54;case"mm":return t*96/2.54/10;case"in":return t*96;case"pt":return t*72;case"pc":return t*72/12;default:return t}}var pl=Wn.match,oo=typeof window!="undefined"?window.matchMedia:null;function _l(e,t,n){var r=this,a;oo&&!n&&(a=oo.call(window,e)),a?(this.matches=a.matches,this.media=a.media,a.addListener(s)):(this.matches=pl(e,t),this.media=e),this.addListener=o,this.removeListener=i,this.dispose=l;function o(c){a&&a.addListener(c)}function i(c){a&&a.removeListener(c)}function s(c){r.matches=c.matches,r.media=c.media}function l(){a&&a.removeListener(s)}}function gl(e,t,n){return new _l(e,t,n)}var vl=gl;const yl=vt(vl);var bl=/[A-Z]/g,El=/^ms-/,jn={};function xl(e){return"-"+e.toLowerCase()}function io(e){if(jn.hasOwnProperty(e))return jn[e];var t=e.replace(bl,xl);return jn[e]=El.test(t)?"-"+t:t}function Tl(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(let o=0;o<a;o++){const i=n[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var so={exports:{}},zn,lo;function Cl(){if(lo)return zn;lo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return zn=e,zn}var Vn,uo;function Sl(){if(uo)return Vn;uo=1;var e=Cl();function t(){}function n(){}return n.resetWarningCache=t,Vn=function(){function r(i,s,l,c,f,u){if(u!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Vn}so.exports=Sl()();var qn=so.exports;const B=vt(qn),se=B.oneOfType([B.string,B.number]),Xn={all:B.bool,grid:B.bool,aural:B.bool,braille:B.bool,handheld:B.bool,print:B.bool,projection:B.bool,screen:B.bool,tty:B.bool,tv:B.bool,embossed:B.bool},co={orientation:B.oneOf(["portrait","landscape"]),scan:B.oneOf(["progressive","interlace"]),aspectRatio:B.string,deviceAspectRatio:B.string,height:se,deviceHeight:se,width:se,deviceWidth:se,color:B.bool,colorIndex:B.bool,monochrome:B.bool,resolution:se,type:Object.keys(Xn)},Vo=co,{type:wc}=Vo,Al=Kt(Vo,["type"]),fo=Re({minAspectRatio:B.string,maxAspectRatio:B.string,minDeviceAspectRatio:B.string,maxDeviceAspectRatio:B.string,minHeight:se,maxHeight:se,minDeviceHeight:se,maxDeviceHeight:se,minWidth:se,maxWidth:se,minDeviceWidth:se,maxDeviceWidth:se,minColor:B.number,maxColor:B.number,minColorIndex:B.number,maxColorIndex:B.number,minMonochrome:B.number,maxMonochrome:B.number,minResolution:se,maxResolution:se},Al);var Il={all:Re(Re({},Xn),fo),types:Xn,matchers:co,features:fo};const Ol=e=>`not ${e}`,Nl=(e,t)=>{const n=io(e);return typeof t=="number"&&(t=`${t}px`),t===!0?n:t===!1?Ol(n):`(${n}: ${t})`},Rl=e=>e.join(" and "),wl=e=>{const t=[];return Object.keys(Il.all).forEach(n=>{const r=e[n];r!=null&&t.push(Nl(n,r))}),Rl(t)},Ml=ct(void 0),Pl=e=>e.query||wl(e),mo=e=>e?Object.keys(e).reduce((n,r)=>(n[io(r)]=e[r],n),{}):void 0,ho=()=>{const e=Pt(!1);return me(()=>{e.current=!0},[]),e.current},Hl=e=>{const t=mt(Ml),n=()=>mo(e)||mo(t),[r,a]=ne(n);return me(()=>{const o=n();Tl(r,o)||a(o)},[e,t]),r},Ll=e=>{const t=()=>Pl(e),[n,r]=ne(t);return me(()=>{const a=t();n!==a&&r(a)},[e]),n},Dl=(e,t)=>{const n=()=>yl(e,t||{},!!t),[r,a]=ne(n),o=ho();return me(()=>{if(o){const i=n();return a(i),()=>{i&&i.dispose()}}},[e,t]),r},Bl=e=>{const[t,n]=ne(e.matches);return me(()=>{const r=a=>{n(a.matches)};return e.addListener(r),n(e.matches),()=>{e.removeListener(r)}},[e]),t},Fl=(e,t,n)=>{const r=Hl(t),a=Ll(e);if(!a)throw new Error("Invalid or missing MediaQuery!");const o=Dl(a,r),i=Bl(o),s=ho();return me(()=>{s&&n&&n(i)},[i]),me(()=>()=>{o&&o.dispose()},[]),i};var po={exports:{}};/*!
29
+ */var ja;function Fs(){if(ja)return F;ja=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function E(g){if(typeof g=="object"&&g!==null){var R=g.$$typeof;switch(R){case t:switch(g=g.type,g){case l:case c:case r:case o:case a:case u:return g;default:switch(g=g&&g.$$typeof,g){case s:case f:case _:case h:case i:return g;default:return R}}case n:return R}}}function A(g){return E(g)===c}return F.AsyncMode=l,F.ConcurrentMode=c,F.ContextConsumer=s,F.ContextProvider=i,F.Element=t,F.ForwardRef=f,F.Fragment=r,F.Lazy=_,F.Memo=h,F.Portal=n,F.Profiler=o,F.StrictMode=a,F.Suspense=u,F.isAsyncMode=function(g){return A(g)||E(g)===l},F.isConcurrentMode=A,F.isContextConsumer=function(g){return E(g)===s},F.isContextProvider=function(g){return E(g)===i},F.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},F.isForwardRef=function(g){return E(g)===f},F.isFragment=function(g){return E(g)===r},F.isLazy=function(g){return E(g)===_},F.isMemo=function(g){return E(g)===h},F.isPortal=function(g){return E(g)===n},F.isProfiler=function(g){return E(g)===o},F.isStrictMode=function(g){return E(g)===a},F.isSuspense=function(g){return E(g)===u},F.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===c||g===o||g===a||g===u||g===d||typeof g=="object"&&g!==null&&(g.$$typeof===_||g.$$typeof===h||g.$$typeof===i||g.$$typeof===s||g.$$typeof===f||g.$$typeof===v||g.$$typeof===y||g.$$typeof===x||g.$$typeof===b)},F.typeOf=E,F}Wa.exports=Fs();var Us=Wa.exports,za=Us,ks={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Va={};Va[za.ForwardRef]=ks,Va[za.Memo]=Gs;var Un=typeof window!="undefined"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=ct(null)):ct(null);Un.Consumer;var $s=Un.Provider,Ws=$s,js=Un;function Ut(){var e=mt(js);return ka(e),e}var kn;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(kn||(kn={}));var Gn;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Gn||(Gn={}));function qa(e){var t=function(n){var r=Ut(),a=n.value,o=n.children,i=Ke(n,["value","children"]),s=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?r.formatDateToParts(s,i):r.formatTimeToParts(s,i);return o(l)};return t.displayName=Gn[e],t}function yt(e){var t=function(n){var r=Ut(),a=n.value,o=n.children,i=Ke(n,["value","children"]),s=r[e](a,i);if(typeof o=="function")return o(s);var l=r.textComponent||fe;return ce(l,null,s)};return t.displayName=kn[e],t}function Xa(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=Na(r)?Bs(r):r,t},{})}var Za=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=Xa(r),s=Bn.apply(void 0,re([e,t,n,i],a,!1));return Array.isArray(s)?ht.toArray(s):s},Ka=function(e,t){var n=e.defaultRichTextElements,r=Ke(e,["defaultRichTextElements"]),a=Xa(n),o=Ds(T(T(T({},Ga),r),{defaultRichTextElements:a}),t),i={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a};return T(T({},o),{formatMessage:Za.bind(null,i,o.formatters),$t:Za.bind(null,i,o.formatters)})};function $n(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var zs=function(e){he(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=Pa(),n.state={cache:n.cache,intl:Ka($n(n.props),n.cache),prevConfig:$n(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var a=r.prevConfig,o=r.cache,i=$n(n);return Fn(a,i)?null:{intl:Ka(i,o),prevConfig:i}},t.prototype.render=function(){return ka(this.state.intl),ce(Ws,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ga,t}(dt);function Vs(e,t){var n=e.values,r=Ke(e,["values"]),a=t.values,o=Ke(t,["values"]);return Fn(a,n)&&Fn(r,o)}function Ya(e){var t=Ut(),n=t.formatMessage,r=t.textComponent,a=r===void 0?fe:r,o=e.id,i=e.description,s=e.defaultMessage,l=e.values,c=e.children,f=e.tagName,u=f===void 0?a:f,d=e.ignoreTag,h={id:o,description:i,defaultMessage:s},_=n(h,l,{ignoreTag:d});return typeof c=="function"?c(Array.isArray(_)?_:[_]):u?ce(u,null,ht.toArray(_)):ce(fe,null,_)}Ya.displayName="FormattedMessage";var D=hn(Ya,Vs);D.displayName="MemoizedFormattedMessage";var Ja=yt("formatDate");yt("formatTime");var Se=yt("formatNumber");yt("formatList"),yt("formatDisplayName"),qa("formatDate"),qa("formatTime");const qs={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Überprüfen Sie Ihre Rückzahlungsmöglichkeiten, bevor Sie eine Verpflichtung eingehen.","credit-features.information.title":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden.","credit-features.legal-text":"Kredit in Höhe von {totalWithoutFirstInstallment} zu einem festen Sollzinssatz von {taegPercentage} über eine Laufzeit von {installmeentsCountWithoutFirst} Monaten. Ermöglicht, zusätzlich zu einer Anzahlung von {firstInstallmentAmount}, die Finanzierung eines Kaufs in Höhe von {productPriceWithoutCreditCost}. Vorbehaltlich der Prüfung und Annahme durch Alma. Gesetzliche Widerrufsfrist von 14 Tagen. Simulation präsentiert von Alma, eingetragen im RCS Nanterre unter der Nummer 839 100 575, Zahlungsinstitut und Finanzierungsgesellschaft, zugelassen von der ACPR unter der Nummer 17408 (IPC-Nummer / Bankcode).","credit-features.total-credit-cost":"Davon Kreditkosten","eligibility-modal.bullet-1":"Wählen Sie <strong>Alma</strong> beim Check-out. ","eligibility-modal.bullet-2":"Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>","eligibility-modal.bullet-3":"<strong>Behalten Sie die Kontrolle</strong> , indem Sie Ihre Fälligkeitstermine in Ihrem eigenen Tempo vor- oder zurückverlegen.","eligibility-modal.no-eligibility":"Ups, die Prüfung hat anscheinend nicht funktioniert.","eligibility-modal.p1x-bullet-1":"Wählen Sie <strong>Alma - Jetzt bezahlen</strong> zum Zeitpunkt der Zahlung.","eligibility-modal.p1x-bullet-2":"Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>","eligibility-modal.p1x-bullet-3":"<strong> Die Bestätigung </strong> Ihrer Zahlung erfolgt sofort !","eligibility-modal.title-deferred-plan":"Zahlen Sie mit Alma in Raten oder später.","eligibility-modal.title-normal":"Zahlen Sie mit Alma in mehreren Raten.","eligibility-modal.title-pay-now":"Bezahlen Sie auf einmal mit Alma per Kreditkarte.","installments.today":"Heute","installments.total-amount":"Gesamtsumme","installments.total-fees":"Davon Kosten","payment-plan-strings.credit":"Klicken Sie, um mehr zu erfahren","payment-plan-strings.day-abbreviation":"T{deferredDays}","payment-plan-strings.default-message":"Bezahlen Sie zinsfrei in mehreren Raten mit Alma.","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(0% Finanzierung)","payment-plan-strings.pay-now":"Zahlen Sie jetzt {totalAmount}","payment-plan-strings.pay.now.button":"Jetzt bezahlen"},Xs={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Check your repayment capacity before committing yourself.","credit-features.information.title":"Credit is a commitment and must be repaid.","credit-features.legal-text":"Loan of {totalWithoutFirstInstallment} at a fixed interest rate of {taegPercentage} over a period of {installmeentsCountWithoutFirst} months. In addition to a down payment of {firstInstallmentAmount}, this loan can be used to finance a purchase of {productPriceWithoutCreditCost}. Subject to review and acceptance by Alma. Legal cooling-off period of 14 days. Simulation presented by Alma, registered with the RCS Nanterre under number 839 100 575, payment and finance company approved by the ACPR under number 17408 (CIB number / Bank code).","credit-features.total-credit-cost":"Of which cost of credit","eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Let us guide you and validate your payment in <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Stay in control</strong> by advancing or postponing your deadlines at your own pace.","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.p1x-bullet-1":"Choose <strong>Alma - Pay now</strong> at checkout.","eligibility-modal.p1x-bullet-2":"Enter your <strong>credit card details.</strong>","eligibility-modal.p1x-bullet-3":"<strong>Your payment is instantly validated at </strong> !","eligibility-modal.title-deferred-plan":"Pay in installments or later by credit card with Alma.","eligibility-modal.title-normal":"Pay in installments by credit card with Alma.","eligibility-modal.title-pay-now":"Pay cash by credit card with Alma.","installments.today":"Today","installments.total-amount":"Total","installments.total-fees":"Of which costs (incl. VAT)","payment-plan-strings.credit":"Click to find out more","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to pay the {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)","payment-plan-strings.pay-now":"Pay now {totalAmount}","payment-plan-strings.pay.now.button":"Pay now"},Zs={"credit-features.credit-cost-display":"{creditCost} (TAE {taegPercentage})","credit-features.information":"Compruebe tu capacidad de reembolso antes de comprometerte.","credit-features.information.title":"El crédito y/o pago a plazos es un compromiso y debe devolverse.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Préstamo de a un tipo deudor fijo de a lo largo de un periodo de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Además de un depósito de , esto le permitirá financiar una compra de . Sujeto a revisión y aceptación por parte de Alma. Plazo legal de retractación de 14 días. Simulación presentada por Alma, inscrita en el Registro Mercantil de Nanterre con el número 839 100 575, sociedad de pago y financiación autorizada por la ACPR con el número 17408 (número CIB / código bancario).","credit-features.total-credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Déjate guiar y válida tu pago en <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantén el control</strong> adelantando o aplazando los plazos a su propio ritmo.","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.p1x-bullet-1":"Elije <strong>Alma - Pagar ahora</strong> al momento de la compra.","eligibility-modal.p1x-bullet-2":"Introduce los datos de tu tarjeta bancaria en <strong>.</strong>","eligibility-modal.p1x-bullet-3":"<strong>¡La validación </strong> de tu pago es instantánea!","eligibility-modal.title-deferred-plan":"Paga a plazos o posteriormente con tarjeta bancaria con Alma.","eligibility-modal.title-normal":"Pagar a plazos con tarjeta bancaria con Alma.","eligibility-modal.title-pay-now":"Paga de contado con tu tarjeta bancaria a través de alma.","installments.today":"Hoy","installments.total-amount":"Total","installments.total-fees":"De los cuales, costes (IVA incluido)","payment-plan-strings.credit":"Haz click para más información","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)","payment-plan-strings.pay-now":"Pague ahora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar ahora"},Ks={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Vérifiez vos capacités de remboursement avant de vous engager.","credit-features.information.title":"Un crédit vous engage et doit être remboursé.","credit-features.legal-text":"Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).","credit-features.total-credit-cost":"Dont coût du crédit","eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>","eligibility-modal.bullet-3":"<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.p1x-bullet-1":"Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.","eligibility-modal.p1x-bullet-2":"Renseignez les informations de votre <strong>carte bancaire.</strong>","eligibility-modal.p1x-bullet-3":"<strong>La validation </strong> de votre paiement est instantanée !","eligibility-modal.title-deferred-plan":"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.","eligibility-modal.title-normal":"Payez en plusieurs fois par carte bancaire avec Alma.","eligibility-modal.title-pay-now":"Payez comptant par carte bancaire avec Alma.","installments.today":"Aujourd'hui","installments.total-amount":"Total","installments.total-fees":"Dont frais (TTC)","payment-plan-strings.credit":"Cliquez pour en savoir plus","payment-plan-strings.day-abbreviation":"J{deferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)","payment-plan-strings.pay-now":"Payer maintenant {totalAmount}","payment-plan-strings.pay.now.button":"Payer maintenant"},Ys={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verificate la vostra capacità di rimborso prima di prendere un impegno.","credit-features.information.title":"Il credito è un impegno e deve essere ripagato.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Prestito a tasso fisso per un periodo di mesi. {firstInstallmentAmount} {productPriceWithoutCreditCost}Oltre a un deposito di , questo vi permetterà di finanziare un acquisto di . Soggetto a revisione e accettazione da parte di Alma. Periodo di recesso legale di 14 giorni. Simulazione presentata da Alma, iscritta al Registro del Commercio e delle Imprese di Nanterre con il numero 839 100 575, società di pagamento e di finanziamento approvata dall'ACPR con il numero 17408 (numero CIB / codice bancario).","credit-features.total-credit-cost":"Di cui commissioni","eligibility-modal.bullet-1":"Seleziona <strong>Alma</strong> come metodo di pagamento.","eligibility-modal.bullet-2":"Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>","eligibility-modal.bullet-3":"<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.","eligibility-modal.no-eligibility":"Ops, sembra che qualcosa non abbia funzionato.","eligibility-modal.p1x-bullet-1":"Scegli <strong>Alma - Paga ora</strong> alla cassa.","eligibility-modal.p1x-bullet-2":"Inserisci i dati della tua <strong>carta bancaria.</strong>","eligibility-modal.p1x-bullet-3":"Ricevi la <strong>conferma di pagamento</strong> istantaneamente!","eligibility-modal.title-deferred-plan":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-normal":"Paga a rate con Alma, senza registrazione.","eligibility-modal.title-pay-now":"Paga ora con carta tramite Alma.","installments.today":"Oggi","installments.total-amount":"Totale","installments.total-fees":"Di cui commissioni","payment-plan-strings.credit":"Clicca qui per saperne di più","payment-plan-strings.day-abbreviation":"G{deferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma, senza registrazione.","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)","payment-plan-strings.pay-now":"Paga ora {totalAmount}","payment-plan-strings.pay.now.button":"Paga ora"},Js={"credit-features.credit-cost-display":"{creditCost} (gemiddeld rente percentage {taegPercentage})","credit-features.information":"Controleer uw terugbetalingscapaciteit voordat u een toezegging doet.","credit-features.information.title":"Krediet is een verplichting en moet worden terugbetaald.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Lening van tegen een vaste rentevoet van over een periode van maanden. {firstInstallmentAmount} {productPriceWithoutCreditCost}Naast een aanbetaling van , kun je hiermee een aankoop financieren van . Onder voorbehoud van beoordeling en aanvaarding door Alma. Wettelijke herroepingstermijn van 14 dagen. Simulatie aangeboden door Alma, ingeschreven in het handels- en bedrijvenregister van Nanterre onder nummer 839 100 575, betalings- en financieringsmaatschappij erkend door de ACPR onder nummer 17408 (CIB-nummer / bankcode).","credit-features.total-credit-cost":"Waarvan kredietkosten","eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.bullet-2":"Betaal gemakkelijk <strong>binnen 1 minuut </strong>. Je hebt hier geen account voor nodig.","eligibility-modal.bullet-3":"<strong>Behoud de controle </strong> en bepaal je eigen tempo. Bij Alma schuif je de deadlines gemakkelijk vooruit of achteruit. Zonder bijkomende kosten.","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.p1x-bullet-1":"Kies <strong>Alma - Betaal nu</strong> bij het afrekenen om de eerste termijnbetaling te voldoen. Dit kan gemakkelijk via jouw favoriete betaalmethode.","eligibility-modal.p1x-bullet-2":"Vul je <strong>gegevens </strong> in","eligibility-modal.p1x-bullet-3":"<strong>De bevestiging </strong> van jouw betaling is direct!","eligibility-modal.title-deferred-plan":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-normal":"Betaal in termijnen bij Alma - helemaal rentevrij.","eligibility-modal.title-pay-now":"Betaal met iDEAL of per creditcard bij Alma.","installments.today":"Vandaag","installments.total-amount":"Totaal","installments.total-fees":"Waarvan kosten (incl. BTW)","payment-plan-strings.credit":"Klik hier voor meer informatie","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Betaal in termijnen bij Alma - helemaal rentevrij","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Vanaf {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(zonder kosten)","payment-plan-strings.pay-now":"Betaal nu {totalAmount}","payment-plan-strings.pay.now.button":"Betaal nu"},Qs={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Verifique a sua capacidade de reembolso antes de assumir um compromisso.","credit-features.information.title":"O crédito é um compromisso e deve ser reembolsado.","credit-features.legal-text":"{totalWithoutFirstInstallment} {taegPercentage} {installmeentsCountWithoutFirst} Empréstimo de a uma taxa de juro fixa de durante um período de meses. {firstInstallmentAmount} {productPriceWithoutCreditCost}Para além de um depósito de , isto permitir-lhe-á financiar uma compra de . Sujeito a análise e aceitação pela Alma. Prazo legal de retratação de 14 dias. Simulação apresentada pela Alma, inscrita na Conservatória do Registo Comercial e das Sociedades de Nanterre sob o número 839 100 575, sociedade de pagamento e de financiamento aprovada pela ACPR sob o número 17408 (número CIB / código bancário).","credit-features.total-credit-cost":"Incluindo comissões de crédito","eligibility-modal.bullet-1":"Seleccionar <strong>Alma - Pay Now</strong> no final da compra.","eligibility-modal.bullet-2":"Siga as instruções e valide o seu pagamento em <strong>2 minutos.</strong>","eligibility-modal.bullet-3":"<strong>Mantenha o controlo</strong> adiando as datas de pagamento ao seu próprio ritmo.","eligibility-modal.no-eligibility":"Ups, parece que a simulação não funcionou.","eligibility-modal.p1x-bullet-1":"Escolha <strong>Alma - Pague agora</strong> no checkout.","eligibility-modal.p1x-bullet-2":"Preencha os dados do seu <strong>cartão de bancário.</strong>","eligibility-modal.p1x-bullet-3":"<strong>A validação </strong> do seu pagamento é instantânea!","eligibility-modal.title-deferred-plan":"Pagar em prestações ou mais tarde por cartão de crédito com Alma.","eligibility-modal.title-normal":"Pagar em prestações por cartão bancário com a Alma.","eligibility-modal.title-pay-now":"Pague na integralidade com a Alma por cartão bancário.","installments.today":"Hoje","installments.total-amount":"Total","installments.total-fees":"Das quais comissões (incl. IVA)","payment-plan-strings.credit":"Clique aqui para saber mais","payment-plan-strings.day-abbreviation":"D{deferredDays}","payment-plan-strings.default-message":"Pagamento em prestações com a Alma","payment-plan-strings.deferred":"{totalAmount} a pagar em {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Até {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"A partir de {minAmount}","payment-plan-strings.month-abbreviation":"M{deferredMonths}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sem encargos)","payment-plan-strings.pay-now":"Pagar agora {totalAmount}","payment-plan-strings.pay.now.button":"Pagar agora"},el=e=>{switch(e.slice(0,2)){case z.fr:return Ks;case z.es:return Zs;case z.it:return Ys;case z.de:return qs;case z.pt:return Qs;case z.nl:return Js;case z.en:default:return Xs}},Qa=({children:e,locale:t})=>m.createElement(zs,{messages:el(t),locale:t,defaultLocale:"en"},e),tl=e=>e.split("").reduce((t,n)=>(t<<5)-t+n.charCodeAt(0)|0,0).toString().replace("-","A"),nl=e=>Date.now()-e>=36e5,rl=()=>({setCache:(o,i)=>{const s=Date.now();sessionStorage.setItem(o,JSON.stringify({value:i,timestamp:s}))},getCache:o=>{const i=sessionStorage.getItem(o)||"";return i?JSON.parse(i):null},clearCache:()=>{sessionStorage.clear()},deleteCache:o=>{sessionStorage.removeItem(o)},createKey:o=>{const{purchaseAmount:i,plans:s,customerBillingCountry:l,customerShippingCountry:c}=o,f=i.toString(),u=JSON.stringify(s);return tl(`${f}${u}${l}${c}`)}});function al(e,t,n=""){return Yo(this,null,function*(){return(yield fetch(n,{method:"POST",headers:Re({"Content-Type":"application/json"},t),cache:"force-cache",body:JSON.stringify(e)})).json()})}const ol=(e,t)=>e.eligible&&t?e.purchase_amount>=(t==null?void 0:t.minAmount)&&e.purchase_amount<=(t==null?void 0:t.maxAmount):!1,il=(e,t)=>{var r;const n=(r=e.constraints)==null?void 0:r.purchase_amount;return n&&t?{minAmount:Math.max(t.minAmount,n==null?void 0:n.minimum),maxAmount:Math.min(t.maxAmount,n==null?void 0:n.maximum)}:t!=null?t:{}},sl=(e,t)=>t?e.map(n=>{const r=(n.deferred_months?n.deferred_months:0)*30+(n.deferred_days?n.deferred_days:0),a=t.find(o=>{const i=(o.deferredMonths?o.deferredMonths:0)*30+(o.deferredDays?o.deferredDays:0);return n.installments_count===o.installmentsCount&&r===i});return Re(Ko(Re({},n),{eligible:ol(n,a)}),il(n,a))}):e.filter(n=>!(n.installments_count===1&&n.deferred_days===0&&n.deferred_months===0));var ll={GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_6b91f3c6-b55e-4641-8dbc-67c242aa04e2",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",BUILD_VERSION:"v4.0.1",npm_config_user_agent:"npm/10.9.2 node/v22.13.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_6b91f3c6-b55e-4641-8dbc-67c242aa04e2",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/22.13.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/widgets/widgets/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"alma",npm_package_engines_node:">=6.0.0",GRADLE_HOME:"/usr/share/gradle-8.12.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43338473",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/widgets/widgets",SYSTEMD_EXEC_PID:"835",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20250202.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.11/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.5/x64",JOURNAL_STREAM:"8:5100",GITHUB_WORKFLOW:"Release",_:"/opt/hostedtoolcache/node/22.13.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/22.13.1/x64",npm_config_npm_version:"10.9.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"false",GITHUB_RUN_ID:"13197849404",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"tag",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"303dc9dcbdbc9521c4b8e593abb70d7c21f8d90e",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.1",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_1e1ec046-ce11-43c3-8bd4-d17ecedad2a5",INVOCATION_ID:"ede14c443afe4c389c7eb8757c19d876",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/22.13.1/x64/bin/node",npm_package_name:"@alma/widgets",GITHUB_ACTION:"__run_3",GITHUB_RUN_NUMBER:"23",GITHUB_TRIGGERING_ACTOR:"CamilleFljt",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 376",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"v4.0.1",GITHUB_REPOSITORY:"alma/widgets",STATS_D_D:"false",npm_lifecycle_script:"vite",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"436622633",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"4.0.1",npm_lifecycle_event:"npx",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/widgets/widgets",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-package",RUNNER_PERFLOG:"/home/runner/perflog",npm_package_config_commitizen_path:"./node_modules/cz-conventional-changelog",GITHUB_SHA:"303dc9dcbdbc9521c4b8e593abb70d7c21f8d90e",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/tags/v4.0.1",GITHUB_ACTOR:"CamilleFljt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/22.13.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_6b91f3c6-b55e-4641-8dbc-67c242aa04e2",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/widgets/widgets",GITHUB_ACTOR_ID:"112871182",RUNNER_WORKSPACE:"/home/runner/work/widgets",npm_execpath:"/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",STATS_TIS:"mining",GITHUB_EVENT_NAME:"release",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_6b91f3c6-b55e-4641-8dbc-67c242aa04e2",npm_config_global_prefix:"/opt/hostedtoolcache/node/22.13.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"exec",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_6b91f3c6-b55e-4641-8dbc-67c242aa04e2",INIT_CWD:"/home/runner/work/widgets/widgets",EDITOR:"vi",NODE_ENV:"production"};const eo=(e,{domain:t,merchantId:n},r,a,o)=>{var x,E;const[i,s]=ne([]),[l,c]=ne(L.PENDING),{getCache:f,setCache:u,createKey:d}=rl(),h=d({purchaseAmount:e,plans:r,customerBillingCountry:a,customerShippingCountry:o}),_=(x=f(h))==null?void 0:x.value,b=(E=f(h))==null?void 0:E.timestamp,v=b&&nl(b),y=r==null?void 0:r.map(A=>({installments_count:A.installmentsCount,deferred_days:A==null?void 0:A.deferredDays,deferred_months:A==null?void 0:A.deferredMonths}));return me(()=>{if(l===L.PENDING){let A=null;a&&(A={country:a});let g=null;o&&(g={country:o}),_&&!v&&(s(_),c(L.SUCCESS)),(!_||v)&&al({purchase_amount:e,queries:y,billing_address:A,shipping_address:g},{Authorization:`Alma-Merchant-Auth ${n}`,"X-Alma-Agent":`Alma Widget/${ll.VERSION}`},`${t}/v2/payments/eligibility`).then(R=>{u(h,R),s(R),c(L.SUCCESS)}).catch(()=>{c(L.FAILED)})}},[l,e,h,a,o,_,v,y,n,t,u]),[sl(i,r),l]};var Wn={};Wn.match=hl,Wn.parse=to;var ul=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,cl=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,fl=/^(?:(min|max)-)?(.+)/,ml=/(em|rem|px|cm|mm|in|pt|pc)?$/,dl=/(dpi|dpcm|dppx)?$/;function hl(e,t){return to(e).some(function(n){var r=n.inverse,a=n.type==="all"||t.type===n.type;if(a&&r||!(a||r))return!1;var o=n.expressions.every(function(i){var s=i.feature,l=i.modifier,c=i.value,f=t[s];if(!f)return!1;switch(s){case"orientation":case"scan":return f.toLowerCase()===c.toLowerCase();case"width":case"height":case"device-width":case"device-height":c=ao(c),f=ao(f);break;case"resolution":c=ro(c),f=ro(f);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":c=no(c),f=no(f);break;case"grid":case"color":case"color-index":case"monochrome":c=parseInt(c,10)||1,f=parseInt(f,10)||0;break}switch(l){case"min":return f>=c;case"max":return f<=c;default:return f===c}});return o&&!r||!o&&r})}function to(e){return e.split(",").map(function(t){t=t.trim();var n=t.match(ul),r=n[1],a=n[2],o=n[3]||"",i={};return i.inverse=!!r&&r.toLowerCase()==="not",i.type=a?a.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(s){var l=s.match(cl),c=l[1].toLowerCase().match(fl);return{modifier:c[1],feature:c[2],value:l[2]}}),i})}function no(e){var t=Number(e),n;return t||(n=e.match(/^(\d+)\s*\/\s*(\d+)$/),t=n[1]/n[2]),t}function ro(e){var t=parseFloat(e),n=String(e).match(dl)[1];switch(n){case"dpcm":return t/2.54;case"dppx":return t*96;default:return t}}function ao(e){var t=parseFloat(e),n=String(e).match(ml)[1];switch(n){case"em":return t*16;case"rem":return t*16;case"cm":return t*96/2.54;case"mm":return t*96/2.54/10;case"in":return t*96;case"pt":return t*72;case"pc":return t*72/12;default:return t}}var pl=Wn.match,oo=typeof window!="undefined"?window.matchMedia:null;function _l(e,t,n){var r=this,a;oo&&!n&&(a=oo.call(window,e)),a?(this.matches=a.matches,this.media=a.media,a.addListener(s)):(this.matches=pl(e,t),this.media=e),this.addListener=o,this.removeListener=i,this.dispose=l;function o(c){a&&a.addListener(c)}function i(c){a&&a.removeListener(c)}function s(c){r.matches=c.matches,r.media=c.media}function l(){a&&a.removeListener(s)}}function gl(e,t,n){return new _l(e,t,n)}var vl=gl;const yl=vt(vl);var bl=/[A-Z]/g,El=/^ms-/,jn={};function xl(e){return"-"+e.toLowerCase()}function io(e){if(jn.hasOwnProperty(e))return jn[e];var t=e.replace(bl,xl);return jn[e]=El.test(t)?"-"+t:t}function Tl(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(let o=0;o<a;o++){const i=n[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var so={exports:{}},zn,lo;function Cl(){if(lo)return zn;lo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return zn=e,zn}var Vn,uo;function Sl(){if(uo)return Vn;uo=1;var e=Cl();function t(){}function n(){}return n.resetWarningCache=t,Vn=function(){function r(i,s,l,c,f,u){if(u!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Vn}so.exports=Sl()();var qn=so.exports;const B=vt(qn),se=B.oneOfType([B.string,B.number]),Xn={all:B.bool,grid:B.bool,aural:B.bool,braille:B.bool,handheld:B.bool,print:B.bool,projection:B.bool,screen:B.bool,tty:B.bool,tv:B.bool,embossed:B.bool},co={orientation:B.oneOf(["portrait","landscape"]),scan:B.oneOf(["progressive","interlace"]),aspectRatio:B.string,deviceAspectRatio:B.string,height:se,deviceHeight:se,width:se,deviceWidth:se,color:B.bool,colorIndex:B.bool,monochrome:B.bool,resolution:se,type:Object.keys(Xn)},Vo=co,{type:wc}=Vo,Al=Kt(Vo,["type"]),fo=Re({minAspectRatio:B.string,maxAspectRatio:B.string,minDeviceAspectRatio:B.string,maxDeviceAspectRatio:B.string,minHeight:se,maxHeight:se,minDeviceHeight:se,maxDeviceHeight:se,minWidth:se,maxWidth:se,minDeviceWidth:se,maxDeviceWidth:se,minColor:B.number,maxColor:B.number,minColorIndex:B.number,maxColorIndex:B.number,minMonochrome:B.number,maxMonochrome:B.number,minResolution:se,maxResolution:se},Al);var Il={all:Re(Re({},Xn),fo),types:Xn,matchers:co,features:fo};const Ol=e=>`not ${e}`,Nl=(e,t)=>{const n=io(e);return typeof t=="number"&&(t=`${t}px`),t===!0?n:t===!1?Ol(n):`(${n}: ${t})`},Rl=e=>e.join(" and "),wl=e=>{const t=[];return Object.keys(Il.all).forEach(n=>{const r=e[n];r!=null&&t.push(Nl(n,r))}),Rl(t)},Ml=ct(void 0),Pl=e=>e.query||wl(e),mo=e=>e?Object.keys(e).reduce((n,r)=>(n[io(r)]=e[r],n),{}):void 0,ho=()=>{const e=Pt(!1);return me(()=>{e.current=!0},[]),e.current},Hl=e=>{const t=mt(Ml),n=()=>mo(e)||mo(t),[r,a]=ne(n);return me(()=>{const o=n();Tl(r,o)||a(o)},[e,t]),r},Ll=e=>{const t=()=>Pl(e),[n,r]=ne(t);return me(()=>{const a=t();n!==a&&r(a)},[e]),n},Dl=(e,t)=>{const n=()=>yl(e,t||{},!!t),[r,a]=ne(n),o=ho();return me(()=>{if(o){const i=n();return a(i),()=>{i&&i.dispose()}}},[e,t]),r},Bl=e=>{const[t,n]=ne(e.matches);return me(()=>{const r=a=>{n(a.matches)};return e.addListener(r),n(e.matches),()=>{e.removeListener(r)}},[e]),t},Fl=(e,t,n)=>{const r=Hl(t),a=Ll(e);if(!a)throw new Error("Invalid or missing MediaQuery!");const o=Dl(a,r),i=Bl(o),s=ho();return me(()=>{s&&n&&n(i)},[i]),me(()=>()=>{o&&o.dispose()},[]),i};var po={exports:{}};/*!
30
30
  Copyright (c) 2018 Jed Watson.
31
31
  Licensed under the MIT License (MIT), see
32
32
  http://jedwatson.github.io/classnames