@ranty/ranty-sdk 1.2.8 → 1.2.10-beta.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/dist/index.js +109 -106
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -17281,7 +17281,7 @@ ai([
|
|
|
17281
17281
|
zn = ai([
|
|
17282
17282
|
K("card-home")
|
|
17283
17283
|
], zn);
|
|
17284
|
-
const oE = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}.card-plan__content{display:flex;flex-direction:column;gap:14px}.card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:17px 63px 11px 17px;position:relative;height:47px}.card-plan__items-circle{align-items:center;display:flex}.card-plan__image-circle{margin-top:3%}.card-plan__circle-dot{margin-left:10px}.card-plan__buttons{display:flex;justify-content:space-between;margin:26px 0 15px}.font_semiBold{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:600;margin-bottom:0;margin-top:0}.font_regular{font-family:Inter,Arial,"sans-serif";font-size:12px;font-weight:400;color:#6a6a6a;margin-left:24px}.font_regular p{margin-top:0;margin-bottom:0}.text{font-family:Inter,Arial,"sans-serif";font-size:14px}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;position:absolute;bottom:64%;right:1%}.card-form__title{color:var(--card-form-title-color)}.card-form__subtitle{color:var(--card-form-subtitle-color)}@media only screen and (max-width: 370px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;width:89%;height:100%;margin-bottom:0;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding-top:10px;padding-bottom:44px}.card-plan__buttons{display:flex;align-items:center;margin:14px 0 0}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;top:75px;position:absolute;height:14;width:max-content;margin-left:64px}.card-plan__content{display:flex;flex-direction:column;gap:5px}my-button{padding-bottom:10px}}@media only screen and (min-width: 370px) and (max-width: 800px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;margin:0 8px;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding:20px 10px 15px}.card-plan__buttons{display:flex;align-items:center}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid rgb(228,215,255);font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:table;font-size:14px;top:7px;font-weight:500;position:absolute;height:14;width:max-content;margin-left:34px}my-button{padding-bottom:10px}}
|
|
17284
|
+
const oE = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}:host .card-plan__content{display:flex;flex-direction:column;gap:14px}:host .card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:17px 63px 11px 17px;position:relative;height:47px}:host .card-plan__items-circle{align-items:center;display:flex}:host .card-plan__image-circle{margin-top:3%}:host .card-plan__circle-dot{margin-left:10px;color:#000}:host .card-plan__buttons{display:flex;justify-content:space-between;margin:26px 0 15px}:host .font_semiBold{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:600;margin-bottom:0;margin-top:0}:host .font_regular{font-family:Inter,Arial,"sans-serif";font-size:12px;font-weight:400;color:#6a6a6a;margin-left:24px}:host .font_regular p{margin-top:0;margin-bottom:0}:host .text{font-family:Inter,Arial,"sans-serif";font-size:14px}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;position:absolute;bottom:64%;right:1%}:host .card-form__title{color:var(--card-form-title-color)}:host .card-form__subtitle{color:var(--card-form-subtitle-color)}@media only screen and (max-width: 370px){:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;width:89%;height:100%;margin-bottom:0;padding:20px}:host .card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding-top:10px;padding-bottom:44px}:host .card-plan__buttons{display:flex;align-items:center;margin:14px 0 0}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;top:75px;position:absolute;height:14;width:max-content;margin-left:64px}:host .card-plan__content{display:flex;flex-direction:column;gap:5px}:host my-button{padding-bottom:10px}}@media only screen and (min-width: 370px) and (max-width: 800px){:host .card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;margin:0 8px;padding:20px}:host .card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding:20px 10px 15px}:host .card-plan__buttons{display:flex;align-items:center}:host .card-plan__no-interest{background-color:#e4d7ff;border:1px solid rgb(228,215,255);font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:table;font-size:14px;top:7px;font-weight:500;position:absolute;height:14;width:max-content;margin-left:34px}:host my-button{padding-bottom:10px}}
|
|
17285
17285
|
`;
|
|
17286
17286
|
/**
|
|
17287
17287
|
* @license
|
|
@@ -18290,7 +18290,6 @@ let Ce = class n extends H {
|
|
|
18290
18290
|
Ce.styles = Y`
|
|
18291
18291
|
.background {
|
|
18292
18292
|
overflow: auto;
|
|
18293
|
-
min-height: 100vh;
|
|
18294
18293
|
background: #f4f4f4;
|
|
18295
18294
|
}
|
|
18296
18295
|
`;
|
|
@@ -19050,10 +19049,10 @@ let Te = class n extends H {
|
|
|
19050
19049
|
.isC2P="${this.isC2P}"
|
|
19051
19050
|
></click2pay-card-input>
|
|
19052
19051
|
${this._cardNumber ? this._cardBrand ? this._getBrandImage(this._cardBrand) : this._cardBrand === "NARANJA" ? E`<img
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19052
|
+
alt="naranja"
|
|
19053
|
+
src="https://ranty-sdk-js.naranjax.com/images/naranjax-logo.svg"
|
|
19054
|
+
style="height: 18px; width: 20px; margin-top: 29px;"
|
|
19055
|
+
/>` : E`<img alt="nave" src="${this._icon}" />` : E`<img alt="nave" src="https://ranty-sdk-js.naranjax.com/images/card.svg" />`}
|
|
19057
19056
|
</div>
|
|
19058
19057
|
<div class="panel-id-selection">
|
|
19059
19058
|
<input-expired
|
|
@@ -19231,7 +19230,7 @@ yf([
|
|
|
19231
19230
|
us = yf([
|
|
19232
19231
|
K("drawer-component")
|
|
19233
19232
|
], us);
|
|
19234
|
-
const WE = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.container{display:flex}.panel-container{padding:20px;background:#ffffff;width:100%;border:1px solid #e5e7eb;border-radius:20px;font-family:Inter,Arial,"sans-serif"}.data-text{margin-top:.5em;margin-bottom:.7em;font-size:15px;font-weight:400;color:#6a6a6a}.font{font-size:15px;color:#6a6a6a;font-weight:400}.text-top{margin-bottom:4px!important}.text-bottom{margin-bottom:16px!important}.title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin:0}.cvv-input{margin-top:25px}.top-half{padding:0 5px;border-bottom:.5px solid #6a6a6a}.bottom-half{padding:10px 5px 5px}.button-container{margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap}@media only screen and (max-width: 560px){.mb{margin-bottom:10px}}@media only screen and (max-width: 800px){.panel-container{margin-left:8px;margin-right:8px}}src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}.images{display:flex;align-items:center}.items_card{display:flex;flex-direction:column}.items_card p{margin-bottom:0!important}.items_card span{margin-top:0!important}.items span img{border-radius:4px}.image img{width:40px!important;height:40px!important;margin-top:10px!important;margin-right:10px!important}.data{display:flex;flex-direction:column;padding-top:8px}.items{display:flex;align-items:center}.text{font-size:14px;font-weight:400;color:#141413}.data-card{font-size:12px;display:flex;align-items:center;margin-left:4px}.dot{width:5px;height:5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background:#6a6a6a;margin-right:5px}
|
|
19233
|
+
const WE = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host .container{display:flex}:host .panel-container{padding:20px;background:#ffffff;width:100%;border:1px solid #e5e7eb;border-radius:20px;font-family:Inter,Arial,"sans-serif"}:host .data-text{margin-top:.5em;margin-bottom:.7em;font-size:15px;font-weight:400;color:#6a6a6a}:host .font{font-size:15px;color:#6a6a6a;font-weight:400}:host .font.text-top{margin-bottom:3px}:host .font .font-dni{margin-top:0;margin-bottom:14px}:host .text-top{margin-bottom:4px!important}:host .text-bottom{margin-bottom:16px!important}:host .title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:16px;font-weight:600;margin:0}:host .cvv-input{margin-top:25px}:host .top-half{padding:0 5px;border-bottom:.5px solid #6a6a6a}:host .bottom-half{padding:10px 5px 5px}:host .button-container{margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap}@media only screen and (max-width: 560px){:host .mb{margin-bottom:10px}}@media only screen and (max-width: 800px){:host .panel-container{margin-left:8px;margin-right:8px}}:host src-card{--src-card-art-width: 54px;--src-card-art-height: 35px}:host .images{display:flex;align-items:center}:host .items_card{display:flex;flex-direction:column}:host .items_card p{margin-bottom:0!important}:host .items_card span{margin-top:0!important}:host .items span img{border-radius:4px}:host .image img{width:40px!important;height:40px!important;margin-top:10px!important;margin-right:10px!important}:host .data{display:flex;flex-direction:column;padding-top:8px}:host .items{display:flex;align-items:center}:host .text{font-size:14px;font-weight:400;color:#141413}:host .data-card{font-size:12px;display:flex;align-items:center;margin-left:4px}:host .dot{width:5px;height:5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;background:#6a6a6a;margin-right:5px}
|
|
19235
19234
|
`;
|
|
19236
19235
|
var JE = Object.defineProperty, ZE = Object.getOwnPropertyDescriptor, Ue = (n, e, t, r) => {
|
|
19237
19236
|
for (var i = r > 1 ? void 0 : r ? ZE(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
@@ -19290,8 +19289,8 @@ let Ie = class extends H {
|
|
|
19290
19289
|
<div class="panel-container">
|
|
19291
19290
|
<div class="top-half">
|
|
19292
19291
|
<h4 class="title">Titular de la tarjeta</h4>
|
|
19293
|
-
<p class="font text-top"
|
|
19294
|
-
<p class="font
|
|
19292
|
+
<p class="font text-top">${this.paymentCardOwner}</p>
|
|
19293
|
+
<p class="font font-dni">DNI ${this.cardOwnerDni}</p>
|
|
19295
19294
|
</div>
|
|
19296
19295
|
<div class="bottom-half">
|
|
19297
19296
|
${this.digitalCardData ? E`
|
|
@@ -19478,25 +19477,25 @@ let it = class n extends H {
|
|
|
19478
19477
|
</svg>
|
|
19479
19478
|
</div>
|
|
19480
19479
|
` : this.sonicBranding ? E`
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19480
|
+
<div class="sonic-container">
|
|
19481
|
+
<div id="animContainer">
|
|
19482
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
19483
|
+
</div>
|
|
19484
19484
|
</div>
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
|
|
19494
|
-
|
|
19495
|
-
|
|
19496
|
-
|
|
19497
|
-
|
|
19498
|
-
|
|
19499
|
-
`}
|
|
19485
|
+
` : E`
|
|
19486
|
+
${this.success ? E`
|
|
19487
|
+
<div class="sa-success">
|
|
19488
|
+
<div class="sa-success-tip"></div>
|
|
19489
|
+
<div class="sa-success-long"></div>
|
|
19490
|
+
<div class="sa-success-placeholder"></div>
|
|
19491
|
+
<div class="sa-success-fix"></div>
|
|
19492
|
+
</div>
|
|
19493
|
+
` : E`
|
|
19494
|
+
<div class="spinner-container">
|
|
19495
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
19496
|
+
</div>
|
|
19497
|
+
`}
|
|
19498
|
+
`}
|
|
19500
19499
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
19501
19500
|
<span class="${"subtitle " + this.customClassSub}">${this.message}</span>
|
|
19502
19501
|
|
|
@@ -19970,25 +19969,25 @@ let qe = class n extends H {
|
|
|
19970
19969
|
</svg>
|
|
19971
19970
|
</div>
|
|
19972
19971
|
` : this.sonicBranding ? E`
|
|
19973
|
-
|
|
19974
|
-
|
|
19975
|
-
|
|
19972
|
+
<div class="sonic-container">
|
|
19973
|
+
<div id="animContainer">
|
|
19974
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
19975
|
+
</div>
|
|
19976
19976
|
</div>
|
|
19977
|
-
|
|
19978
|
-
|
|
19979
|
-
|
|
19980
|
-
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
`}
|
|
19977
|
+
` : E`
|
|
19978
|
+
${this.success ? E`
|
|
19979
|
+
<div class="sa-success">
|
|
19980
|
+
<div class="sa-success-tip"></div>
|
|
19981
|
+
<div class="sa-success-long"></div>
|
|
19982
|
+
<div class="sa-success-placeholder"></div>
|
|
19983
|
+
<div class="sa-success-fix"></div>
|
|
19984
|
+
</div>
|
|
19985
|
+
` : E`
|
|
19986
|
+
<div class="spinner-container">
|
|
19987
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
19988
|
+
</div>
|
|
19989
|
+
`}
|
|
19990
|
+
`}
|
|
19992
19991
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
19993
19992
|
<span class="${"subtitle " + this.customClassSub}">${this.subtitle}</span>
|
|
19994
19993
|
</div>
|
|
@@ -21881,28 +21880,28 @@ let $t = class extends H {
|
|
|
21881
21880
|
</div>
|
|
21882
21881
|
</div>
|
|
21883
21882
|
` : this.paymentStatus === "SUCCESS_PROCESSED" ? E`
|
|
21884
|
-
|
|
21885
|
-
|
|
21886
|
-
|
|
21887
|
-
|
|
21888
|
-
|
|
21889
|
-
|
|
21890
|
-
|
|
21891
|
-
|
|
21892
|
-
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
21897
|
-
|
|
21898
|
-
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21902
|
-
|
|
21903
|
-
|
|
21904
|
-
|
|
21905
|
-
|
|
21883
|
+
<click2pay-modal
|
|
21884
|
+
.customClassSub="${n}"
|
|
21885
|
+
.customClass="${e}"
|
|
21886
|
+
.showLoading="${!1}"
|
|
21887
|
+
.success=${this._isSuccess}
|
|
21888
|
+
title="¡Ya se confirmó el pago!"
|
|
21889
|
+
message="Encontrá el detalle de la compra en la tienda."
|
|
21890
|
+
@retry="${this._callbackUrl}"
|
|
21891
|
+
.showButton="${!0}"
|
|
21892
|
+
></click2pay-modal>
|
|
21893
|
+
` : E`
|
|
21894
|
+
<click2pay-modal
|
|
21895
|
+
title="No se pudo realizar el pago"
|
|
21896
|
+
message="No llegó a cobrarse nada. Podés reintentar el pago."
|
|
21897
|
+
.success="${!1}"
|
|
21898
|
+
.showButton="${!0}"
|
|
21899
|
+
.showLoading="${!1}"
|
|
21900
|
+
.image="${t}"
|
|
21901
|
+
@retry="${this._back}"
|
|
21902
|
+
.isVisible="${!0}"
|
|
21903
|
+
></click2pay-modal>
|
|
21904
|
+
`;
|
|
21906
21905
|
}
|
|
21907
21906
|
};
|
|
21908
21907
|
$t.styles = Y`
|
|
@@ -22592,7 +22591,7 @@ kt([
|
|
|
22592
22591
|
ct = kt([
|
|
22593
22592
|
K("click2pay-personal-data")
|
|
22594
22593
|
], ct);
|
|
22595
|
-
const rT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.drawerOpen{opacity:.5;pointer-events:none}.card-form{display:grid;grid-template-columns:repeat(10,1fr);
|
|
22594
|
+
const rT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);max-width:820px;height:auto;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:2.5rem}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:70px;z-index:9}:host .inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}:host .mt{margin-top:10px!important;border:1px solid black!important}
|
|
22596
22595
|
`, iT = (n) => {
|
|
22597
22596
|
n.dispatchEvent(
|
|
22598
22597
|
new Event("renderInstallmentPlans", {
|
|
@@ -23484,7 +23483,7 @@ Rt([
|
|
|
23484
23483
|
mt = Rt([
|
|
23485
23484
|
K("payfac-sdk")
|
|
23486
23485
|
], mt);
|
|
23487
|
-
const hT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.background{background:#f4f4f4;overflow-y:auto}.drawerOpen{opacity:.5;pointer-events:none}.container{display:grid;grid-template-columns:repeat(10,1fr);
|
|
23486
|
+
const hT = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}*{user-select:none}.background{background:#f4f4f4;overflow-y:auto}.drawerOpen{opacity:.5;pointer-events:none}.container{display:grid;grid-template-columns:repeat(10,1fr);max-width:900px;height:auto;margin:0 auto}.container-text{grid-column:1/span 6;grid-row:1/1}.container__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}.container__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}.container__content{grid-column:1/span 6;margin-bottom:126px}.payment__detail{grid-column:7/span 4;padding-left:34px}.contentContainer{opacity:.5;transition:opacity .3s ease-in-out}.container__subtitle-mobile{display:none}.title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}.card-payments-methods{display:flex;gap:2.5rem}@media only screen and (min-width: 360px) and (max-width: 450px){.container__subtitle,.container__title{margin-left:8px;margin-right:8px}.container{display:grid;grid-template-columns:1fr}.container__title{margin-bottom:10px}.container__content{margin-bottom:0;grid-column:span 6}.payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}.inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){.container-text{margin-left:20px}.payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}.container__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){.container{display:grid;width:100%}.container-text{grid-column:2/span 6}.container__content{margin-bottom:0;grid-column:2/span 7}.payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}.qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:70px;z-index:9}.inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}.alert-container{position:absolute;bottom:0;padding:30px 24px}
|
|
23488
23487
|
`;
|
|
23489
23488
|
var fT = Object.defineProperty, pT = Object.getOwnPropertyDescriptor, li = (n, e, t, r) => {
|
|
23490
23489
|
for (var i = r > 1 ? void 0 : r ? pT(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
@@ -23893,8 +23892,11 @@ let gt = class extends H {
|
|
|
23893
23892
|
this.isLoading = r, this.isLoading && (this.isRecieveData = !1);
|
|
23894
23893
|
},
|
|
23895
23894
|
(r) => {
|
|
23896
|
-
const
|
|
23897
|
-
|
|
23895
|
+
const s = this.cardBrands.includes(r == null ? void 0 : r.brand) ? {
|
|
23896
|
+
MASTERCARD: "https://ranty-sdk-js.naranjax.com/images/mastercard-logo.svg",
|
|
23897
|
+
VISA: "https://ranty-sdk-js.naranjax.com/images/visa-logo.svg"
|
|
23898
|
+
}[r == null ? void 0 : r.brand] : this.cardDefault;
|
|
23899
|
+
this.iconRight = s, this.bin = r;
|
|
23898
23900
|
},
|
|
23899
23901
|
(r) => {
|
|
23900
23902
|
this.installmentPlan = r != null ? r : [], this.isRecieveData = !0;
|
|
@@ -24324,7 +24326,7 @@ hi([
|
|
|
24324
24326
|
qn = hi([
|
|
24325
24327
|
K("scof-holder-form")
|
|
24326
24328
|
], qn);
|
|
24327
|
-
const IT = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.card-plan__card-style{font-family:Inter,Arial,"sans-serif";background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}.card-plan__content{display:flex;flex-direction:column;gap:14px}.card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:16px;position:relative;height:47px;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:space-between}.card-plan__content-subtitle .card-content{display:flex;gap:4px;flex-direction:column}.card-plan__items-circle{align-items:center;display:flex;gap:16px
|
|
24329
|
+
const IT = `@charset "UTF-8";/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.card-plan__card-style{font-family:Inter,Arial,"sans-serif";background:#ffffff;border:1px solid #e5e7eb;border-radius:22px;padding:38px 40px 1px;margin-bottom:31px}.card-plan__content{display:flex;flex-direction:column;gap:14px}.card-plan__content-subtitle{border:3px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:16px;position:relative;height:47px;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:space-between;height:auto}.card-plan__content-subtitle .card-content{display:flex;gap:4px;flex-direction:row;justify-content:space-between;align-items:center;width:100%}@media only screen and (max-width: 425px){.card-plan__content-subtitle .card-content{flex-direction:column;align-items:flex-start}}.card-plan__items-circle{align-items:center;display:flex;gap:16px;width:100%}.card-plan__buttons{display:flex;justify-content:space-between;margin:26px 0 15px}.font_semiBold{font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:600;margin-bottom:0;margin-top:0;color:#000}.font_regular{font-family:Inter,Arial,"sans-serif";font-size:12px;font-weight:400;color:#6a6a6a}.font_regular p{margin-top:0;margin-bottom:0}.text{font-family:Inter,Arial,"sans-serif";font-size:12px}.chip{border-radius:.25rem;display:inline-block;font-size:.875rem;font-weight:600;padding:.12rem .5rem}@media only screen and (max-width: 425px){.chip{margin:5px 0 0}}.chip.no-interest{border:1px solid #bedbbe;background-color:#e9f3e9;color:#258825}.chip.plan{border:1px solid #bfd4eb;background-color:#eaf1f8;color:#2b2b2b}.card-form__title{color:var(--card-form-title-color)}.card-form__subtitle{color:var(--card-form-subtitle-color)}@media only screen and (max-width: 370px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;width:89%;height:100%;margin-bottom:0;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding-top:10px;padding-bottom:44px}.card-plan__buttons{display:flex;align-items:center;margin:14px 0 0}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid #e4d7ff;font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:inline-block;font-size:14px;font-weight:500;padding:2px 8px;top:75px;left:-22px;position:absolute;height:14;width:max-content;margin-left:64px}.card-plan__content{display:flex;flex-direction:column;gap:5px}my-button{padding-bottom:10px}}@media only screen and (min-width: 370px) and (max-width: 800px){.card-plan__card-style{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;margin:0 8px;padding:20px}.card-plan__content-subtitle{border:1px solid #e5e7eb;border-radius:8px;padding:16px}.card-plan__buttons{display:flex;align-items:center}.card-plan__no-interest{background-color:#e4d7ff;border:1px solid rgb(228,215,255);font-family:Inter,Arial,"sans-serif";border-radius:4px;color:#2f0092;display:table;font-size:14px;top:14px;font-weight:500;left:190px;position:absolute;height:14;width:max-content;margin-left:34px}my-button{padding-bottom:10px}}
|
|
24328
24330
|
`;
|
|
24329
24331
|
var AT = Object.defineProperty, DT = Object.getOwnPropertyDescriptor, _u = (n, e, t, r) => {
|
|
24330
24332
|
for (var i = r > 1 ? void 0 : r ? DT(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
@@ -24361,7 +24363,7 @@ let Hi = class extends H {
|
|
|
24361
24363
|
}
|
|
24362
24364
|
back() {
|
|
24363
24365
|
var n, e;
|
|
24364
|
-
if (this.stateScof.userCardData && ((e = (n = this.stateScof.userCardData) == null ? void 0 : n.list) == null ? void 0 : e.length) > 0) {
|
|
24366
|
+
if (this.stateScof.userCardData && ((e = (n = this.stateScof.userCardData) == null ? void 0 : n.list) == null ? void 0 : e.length) > 0 && this.stateScof.isAddCardConsent) {
|
|
24365
24367
|
this.createEvent("button-pushed", he.CARD_LIST);
|
|
24366
24368
|
return;
|
|
24367
24369
|
}
|
|
@@ -24407,24 +24409,25 @@ let Hi = class extends H {
|
|
|
24407
24409
|
@change="${this.selectInstallment}"
|
|
24408
24410
|
/>
|
|
24409
24411
|
<div class="card-content">
|
|
24410
|
-
<
|
|
24411
|
-
|
|
24412
|
-
|
|
24413
|
-
|
|
24414
|
-
<
|
|
24415
|
-
|
|
24416
|
-
|
|
24412
|
+
<div>
|
|
24413
|
+
<label class="card-plan__circle-dot font_semiBold">
|
|
24414
|
+
${this.paymentFirstMessage(n.installments, n.name)} de $ ${n.installment_amount.value}
|
|
24415
|
+
</label>
|
|
24416
|
+
<div class="font_regular subtitle">
|
|
24417
|
+
<p class="text">
|
|
24418
|
+
Precio financiado: $ ${n.total_amount.value} | CFT: ${n.total_financial_cost} %
|
|
24419
|
+
</p>
|
|
24420
|
+
</div>
|
|
24421
|
+
</div>
|
|
24422
|
+
<div class="card-content-chip">
|
|
24423
|
+
${this.planName(n) ? E`<p
|
|
24424
|
+
class="chip ${this.isInterestChip(n) ? "no-interest" : ""} ${this.isPlanChip(n) ? "plan" : ""}"
|
|
24425
|
+
>
|
|
24426
|
+
${this.planName(n)}
|
|
24427
|
+
</p>` : ""}
|
|
24417
24428
|
</div>
|
|
24418
24429
|
</div>
|
|
24419
24430
|
</div>
|
|
24420
|
-
<div class="card-content-chip">
|
|
24421
|
-
<p
|
|
24422
|
-
class="chip ml-10 mt-2.5 ${this.isInterestChip(n) ? "no-interest" : ""}
|
|
24423
|
-
${this.isPlanChip(n) ? "plan" : ""}"
|
|
24424
|
-
>
|
|
24425
|
-
${this.planName(n)}
|
|
24426
|
-
</p>
|
|
24427
|
-
</div>
|
|
24428
24431
|
</div>`
|
|
24429
24432
|
)}
|
|
24430
24433
|
`;
|
|
@@ -24527,25 +24530,25 @@ let Xe = class n extends H {
|
|
|
24527
24530
|
</svg>
|
|
24528
24531
|
</div>
|
|
24529
24532
|
` : this.sonicBranding ? E`
|
|
24530
|
-
|
|
24531
|
-
|
|
24532
|
-
|
|
24533
|
+
<div class="sonic-container">
|
|
24534
|
+
<div id="animContainer">
|
|
24535
|
+
<mc-sonic id="mc-sonic" sonicBackground="white"></mc-sonic>
|
|
24536
|
+
</div>
|
|
24533
24537
|
</div>
|
|
24534
|
-
|
|
24535
|
-
|
|
24536
|
-
|
|
24537
|
-
|
|
24538
|
-
|
|
24539
|
-
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
`}
|
|
24538
|
+
` : E`
|
|
24539
|
+
${this.getStatusSuccess ? E`
|
|
24540
|
+
<div class="sa-success">
|
|
24541
|
+
<div class="sa-success-tip"></div>
|
|
24542
|
+
<div class="sa-success-long"></div>
|
|
24543
|
+
<div class="sa-success-placeholder"></div>
|
|
24544
|
+
<div class="sa-success-fix"></div>
|
|
24545
|
+
</div>
|
|
24546
|
+
` : E`
|
|
24547
|
+
<div class="spinner-container">
|
|
24548
|
+
${this.duplicateError ? E`<img src="${this.duplicateImage}" alt="error-image" class="error-image" />` : E`<img src="${this.image}" alt="error-image" class="error-image" />`}
|
|
24549
|
+
</div>
|
|
24550
|
+
`}
|
|
24551
|
+
`}
|
|
24549
24552
|
<span class="${"title " + this.customClass}">${this.title}</span>
|
|
24550
24553
|
<span class="${"subtitle " + this.customClassSub}">${this.message}</span>
|
|
24551
24554
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ranty/ranty-sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10-beta.1",
|
|
4
4
|
"description": "Ranty sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"overrides": {
|
|
87
87
|
"ws": "^8.17.1",
|
|
88
|
-
"follow-redirects": "^1.15.6"
|
|
88
|
+
"follow-redirects": "^1.15.6",
|
|
89
|
+
"fast-xml-parser": "^4.4.1"
|
|
89
90
|
}
|
|
90
91
|
}
|