tf-checkout-react 1.0.39 → 1.0.43
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/components/stripePayment/index.d.ts +3 -1
- package/dist/tf-checkout-react.cjs.development.css +3 -3
- package/dist/tf-checkout-react.cjs.development.js +73 -44
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +76 -47
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/dist/types/billing-info-data.d.ts +3 -1
- package/package.json +1 -1
- package/src/api/index.ts +2 -2
- package/src/components/billing-info-container/index.tsx +29 -15
- package/src/components/billing-info-container/style.css +8 -5
- package/src/components/loginModal/style.css +4 -0
- package/src/components/paymentContainer/index.tsx +5 -0
- package/src/components/stripePayment/index.tsx +23 -4
- package/src/components/ticketsContainer/index.tsx +3 -0
- package/src/components/ticketsContainer/style.css +17 -3
- package/src/types/billing-info-data.ts +3 -1
|
@@ -19,6 +19,7 @@ import Container from '@mui/material/Container';
|
|
|
19
19
|
import Alert from '@mui/material/Alert';
|
|
20
20
|
import { useStripe, useElements, CardNumberElement, CardExpiryElement, CardCvcElement, Elements } from '@stripe/react-stripe-js';
|
|
21
21
|
import { loadStripe } from '@stripe/stripe-js';
|
|
22
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
22
23
|
import SVG from 'react-inlinesvg';
|
|
23
24
|
import _sortBy from 'lodash-es/sortBy';
|
|
24
25
|
import _has from 'lodash-es/has';
|
|
@@ -30,7 +31,6 @@ import _isObject from 'lodash-es/isObject';
|
|
|
30
31
|
import FormControl from '@mui/material/FormControl';
|
|
31
32
|
import MenuItem from '@mui/material/MenuItem';
|
|
32
33
|
import Select from '@mui/material/Select';
|
|
33
|
-
import CircularProgress from '@mui/material/CircularProgress';
|
|
34
34
|
import Button$1 from 'react-bootstrap/Button';
|
|
35
35
|
import jwt_decode from 'jwt-decode';
|
|
36
36
|
|
|
@@ -890,7 +890,7 @@ function styleInject(css, ref) {
|
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
-
var css_248z = ".style_billing-info-container__3ZE3J{margin:0 auto;max-width:800px}.style_billing-info-container__3ZE3J .style_is-half__1W_rP{width:49%}.style_billing-info-container__3ZE3J p{color:#000}.style_billing-info-container__twoFields__2tDqt{display:flex;justify-content:space-between;margin-top:15px}.style_billing-info-container__singleField__2bcsf{margin-top:15px}button{margin-top:10px}.style_account-actions-block__16OH-{color:#182026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,Icons16,sans-serif;margin-top:10px}.style_login-register-button__fGgZf,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO:hover{background-color:#212529;border:#f28051;border-radius:5px;color:#fff;cursor:pointer;display:block;font-family:Inter-Bold;font-size:26px;font-weight:700;line-height:1.15;margin-top:10px;min-height:46px;outline:none;overflow:hidden;padding:14px 12px 12px;position:relative;text-align:center;text-overflow:ellipsis;text-transform:uppercase;width:49%}.style_logo-image-container__2A2uH{margin-top:5px;text-align:center;width:49%}.style_logo-image-container__2A2uH img{height:30px}.style_login-block__22kcN{align-items:center;display:flex;flex-direction:column}.
|
|
893
|
+
var css_248z = ".style_billing-info-container__3ZE3J{margin:0 auto;max-width:800px}.style_billing-info-container__3ZE3J .style_is-half__1W_rP{width:49%}.style_billing-info-container__3ZE3J p{color:#000}.style_billing-info-container__3ZE3J .style_main-header__2OFWa{font-size:2rem;font-weight:600}.style_billing-info-container__twoFields__2tDqt{display:flex;justify-content:space-between;margin-top:15px}.style_billing-info-container__singleField__2bcsf{margin-top:15px}button{margin-top:10px}.style_account-actions-block__16OH-{color:#182026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,Icons16,sans-serif;margin-top:10px}.style_login-register-button__fGgZf,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO:hover{background-color:#212529;border:#f28051;border-radius:5px;color:#fff;cursor:pointer;display:block;font-family:Inter-Bold;font-size:26px;font-weight:700;line-height:1.15;margin-top:10px;min-height:46px;outline:none;overflow:hidden;padding:14px 12px 12px;position:relative;text-align:center;text-overflow:ellipsis;text-transform:uppercase;width:49%}.style_logo-image-container__2A2uH{margin-top:5px;text-align:center;width:49%}.style_logo-image-container__2A2uH img{height:30px}.style_login-block__22kcN{align-items:center;display:flex;flex-direction:column}.style_login-register-button__fGgZf:hover{background-color:#505050!important;border-color:#505050!important}.style_login-register-block__36tu5{display:flex;justify-content:space-between}";
|
|
894
894
|
styleInject(css_248z);
|
|
895
895
|
|
|
896
896
|
var combineValidators = function combineValidators() {
|
|
@@ -935,10 +935,6 @@ if (isWindowDefined && localStorage.getItem('auth_guest_token')) {
|
|
|
935
935
|
ttfHeaders['Authorization-Guest'] = /*#__PURE__*/localStorage.getItem('auth_guest_token');
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
939
|
-
ttfHeaders['X-Source-Origin'] = 'houseofx.com';
|
|
940
|
-
}
|
|
941
|
-
|
|
942
938
|
var publicRequest = /*#__PURE__*/axios.create({
|
|
943
939
|
baseURL: ENV.BASE_URL ,
|
|
944
940
|
headers: ttfHeaders
|
|
@@ -982,9 +978,7 @@ publicRequest.interceptors.request.use(function (config) {
|
|
|
982
978
|
}
|
|
983
979
|
|
|
984
980
|
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
985
|
-
var _updatedHeaders2 = _extends({}, config.headers
|
|
986
|
-
'X-Source-Origin': 'houseofx.com'
|
|
987
|
-
});
|
|
981
|
+
var _updatedHeaders2 = _extends({}, config.headers);
|
|
988
982
|
|
|
989
983
|
config.headers = _updatedHeaders2;
|
|
990
984
|
}
|
|
@@ -1091,7 +1085,7 @@ var getStates = function getStates(countryId) {
|
|
|
1091
1085
|
return publicRequest.get("/countries/" + countryId + "/states/");
|
|
1092
1086
|
};
|
|
1093
1087
|
|
|
1094
|
-
var css_248z$1 = ".style_modal-title__2sUq_{align-items:center;background-color:#fff;display:flex;font-family:Inter;font-size:18px;font-weight:700;height:49px;line-height:22px;padding-left:25px;position:relative}.style_login-modal-body__2sFg5{padding:15px 25px}.style_login-modal-body__2sFg5 input{background:#fff!important}.style_login-modal-body__email__2nnEH,.style_login-modal-body__password__qS3g7{margin-bottom:20px}.style_login-action-button__1g9qt button{background-color:#212529;border:none;border-radius:0;color:#fff;cursor:pointer;font-size:26px;font-weight:600;height:45px;line-height:18px;margin:10px 0;outline:none;padding:10px;width:100%}.style_server_auth__error__1340S{color:red;font-family:Inter;font-size:12px;font-style:normal;padding-left:25px;padding-top:15px}.style_info-text-for-login__28JQf{font-size:14px;margin-bottom:4px;padding-left:10px}";
|
|
1088
|
+
var css_248z$1 = ".style_modal-title__2sUq_{align-items:center;background-color:#fff;display:flex;font-family:Inter;font-size:18px;font-weight:700;height:49px;line-height:22px;padding-left:25px;position:relative}.style_login-modal-body__2sFg5{padding:15px 25px}.style_login-modal-body__2sFg5 input{background:#fff!important}.style_login-modal-body__email__2nnEH,.style_login-modal-body__password__qS3g7{margin-bottom:20px}.style_login-action-button__1g9qt button{background-color:#212529;border:none;border-radius:0;color:#fff;cursor:pointer;font-size:26px;font-weight:600;height:45px;line-height:18px;margin:10px 0;outline:none;padding:10px;width:100%}.style_login-action-button__1g9qt button:hover{background-color:#505050;border-color:#505050}.style_server_auth__error__1340S{color:red;font-family:Inter;font-size:12px;font-style:normal;padding-left:25px;padding-top:15px}.style_info-text-for-login__28JQf{font-size:14px;margin-bottom:4px;padding-left:10px}";
|
|
1095
1089
|
styleInject(css_248z$1);
|
|
1096
1090
|
|
|
1097
1091
|
var style = {
|
|
@@ -2052,6 +2046,7 @@ var BillingInfoContainer = function BillingInfoContainer(_ref4) {
|
|
|
2052
2046
|
}, "Login"))), _map(data, function (item) {
|
|
2053
2047
|
var id = item.id,
|
|
2054
2048
|
label = item.label,
|
|
2049
|
+
labelClassName = item.labelClassName,
|
|
2055
2050
|
fields = item.fields;
|
|
2056
2051
|
|
|
2057
2052
|
if (label === 'Ticket Holders' && !showTicketHolderName && !showDOB) {
|
|
@@ -2060,13 +2055,15 @@ var BillingInfoContainer = function BillingInfoContainer(_ref4) {
|
|
|
2060
2055
|
|
|
2061
2056
|
return React.createElement(SectionContainer, {
|
|
2062
2057
|
key: id
|
|
2063
|
-
}, React.createElement("p",
|
|
2058
|
+
}, React.createElement("p", {
|
|
2059
|
+
className: labelClassName
|
|
2060
|
+
}, label), _map(fields, function (group) {
|
|
2064
2061
|
var groupClassname = group.groupClassname,
|
|
2065
2062
|
groupItems = group.groupItems,
|
|
2066
2063
|
groupLabel = group.groupLabel,
|
|
2067
2064
|
groupLabelClassName = group.groupLabelClassName;
|
|
2068
|
-
return React.createElement(
|
|
2069
|
-
key:
|
|
2065
|
+
return React.createElement(SectionContainer, {
|
|
2066
|
+
key: group.id
|
|
2070
2067
|
}, !isLoggedIn && React.createElement("div", {
|
|
2071
2068
|
className: groupLabelClassName
|
|
2072
2069
|
}, groupLabel), React.createElement("div", {
|
|
@@ -2229,7 +2226,11 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2229
2226
|
error = _ref$error === void 0 ? null : _ref$error,
|
|
2230
2227
|
stripe_client_secret = _ref.stripe_client_secret,
|
|
2231
2228
|
currency = _ref.currency,
|
|
2232
|
-
billing_info = _ref.billing_info
|
|
2229
|
+
billing_info = _ref.billing_info,
|
|
2230
|
+
_ref$isLoading = _ref.isLoading,
|
|
2231
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
2232
|
+
_ref$handleSetLoading = _ref.handleSetLoading,
|
|
2233
|
+
handleSetLoading = _ref$handleSetLoading === void 0 ? function () {} : _ref$handleSetLoading;
|
|
2233
2234
|
var stripe = useStripe();
|
|
2234
2235
|
var elements = useElements();
|
|
2235
2236
|
|
|
@@ -2249,26 +2250,31 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2249
2250
|
while (1) {
|
|
2250
2251
|
switch (_context.prev = _context.next) {
|
|
2251
2252
|
case 0:
|
|
2252
|
-
|
|
2253
|
+
handleSetLoading(true);
|
|
2254
|
+
_context.prev = 1;
|
|
2253
2255
|
event.preventDefault();
|
|
2254
2256
|
|
|
2255
2257
|
if (postalCode) {
|
|
2256
|
-
_context.next =
|
|
2258
|
+
_context.next = 7;
|
|
2257
2259
|
break;
|
|
2258
2260
|
}
|
|
2259
2261
|
|
|
2260
2262
|
setStripeError("Please enter your zip code.");
|
|
2263
|
+
handleSetLoading(false);
|
|
2261
2264
|
return _context.abrupt("return");
|
|
2262
2265
|
|
|
2263
|
-
case
|
|
2266
|
+
case 7:
|
|
2264
2267
|
if (!(!stripe || !elements)) {
|
|
2265
|
-
_context.next =
|
|
2268
|
+
_context.next = 10;
|
|
2266
2269
|
break;
|
|
2267
2270
|
}
|
|
2268
2271
|
|
|
2272
|
+
// Stripe.js has not loaded yet. Make sure to disable
|
|
2273
|
+
// form submission until Stripe.js has loaded.
|
|
2274
|
+
handleSetLoading(false);
|
|
2269
2275
|
return _context.abrupt("return");
|
|
2270
2276
|
|
|
2271
|
-
case
|
|
2277
|
+
case 10:
|
|
2272
2278
|
card = elements.getElement(CardNumberElement);
|
|
2273
2279
|
address = {
|
|
2274
2280
|
city: billing_info.city,
|
|
@@ -2276,7 +2282,7 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2276
2282
|
state: billing_info.state,
|
|
2277
2283
|
postal_code: postalCode
|
|
2278
2284
|
};
|
|
2279
|
-
_context.next =
|
|
2285
|
+
_context.next = 14;
|
|
2280
2286
|
return stripe.createPaymentMethod({
|
|
2281
2287
|
type: 'card',
|
|
2282
2288
|
card: card || {
|
|
@@ -2287,51 +2293,53 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2287
2293
|
}
|
|
2288
2294
|
});
|
|
2289
2295
|
|
|
2290
|
-
case
|
|
2296
|
+
case 14:
|
|
2291
2297
|
paymentMethodReq = _context.sent;
|
|
2292
2298
|
|
|
2293
2299
|
if (!paymentMethodReq.error) {
|
|
2294
|
-
_context.next =
|
|
2300
|
+
_context.next = 19;
|
|
2295
2301
|
break;
|
|
2296
2302
|
}
|
|
2297
2303
|
|
|
2298
2304
|
setStripeError(paymentMethodReq.error.message || null);
|
|
2305
|
+
handleSetLoading(false);
|
|
2299
2306
|
return _context.abrupt("return");
|
|
2300
2307
|
|
|
2301
|
-
case
|
|
2302
|
-
_context.next =
|
|
2308
|
+
case 19:
|
|
2309
|
+
_context.next = 21;
|
|
2303
2310
|
return stripe.confirmCardPayment(stripe_client_secret, {
|
|
2304
2311
|
payment_method: paymentMethodReq.paymentMethod.id
|
|
2305
2312
|
});
|
|
2306
2313
|
|
|
2307
|
-
case
|
|
2314
|
+
case 21:
|
|
2308
2315
|
_yield$stripe$confirm = _context.sent;
|
|
2309
2316
|
_error = _yield$stripe$confirm.error;
|
|
2310
2317
|
|
|
2311
2318
|
if (!_error) {
|
|
2312
|
-
_context.next =
|
|
2319
|
+
_context.next = 27;
|
|
2313
2320
|
break;
|
|
2314
2321
|
}
|
|
2315
2322
|
|
|
2316
2323
|
setStripeError(_error.message);
|
|
2324
|
+
handleSetLoading(false);
|
|
2317
2325
|
return _context.abrupt("return");
|
|
2318
2326
|
|
|
2319
|
-
case
|
|
2327
|
+
case 27:
|
|
2320
2328
|
onSubmit(null);
|
|
2321
|
-
_context.next =
|
|
2329
|
+
_context.next = 33;
|
|
2322
2330
|
break;
|
|
2323
2331
|
|
|
2324
|
-
case
|
|
2325
|
-
_context.prev =
|
|
2326
|
-
_context.t0 = _context["catch"](
|
|
2332
|
+
case 30:
|
|
2333
|
+
_context.prev = 30;
|
|
2334
|
+
_context.t0 = _context["catch"](1);
|
|
2327
2335
|
onSubmit(_context.t0);
|
|
2328
2336
|
|
|
2329
|
-
case
|
|
2337
|
+
case 33:
|
|
2330
2338
|
case "end":
|
|
2331
2339
|
return _context.stop();
|
|
2332
2340
|
}
|
|
2333
2341
|
}
|
|
2334
|
-
}, _callee, null, [[
|
|
2342
|
+
}, _callee, null, [[1, 30]]);
|
|
2335
2343
|
}));
|
|
2336
2344
|
|
|
2337
2345
|
return function handleSubmit(_x) {
|
|
@@ -2343,6 +2351,15 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2343
2351
|
setPostalCode(e.target.value);
|
|
2344
2352
|
};
|
|
2345
2353
|
|
|
2354
|
+
useEffect(function () {
|
|
2355
|
+
if (typeof window !== 'undefined') {
|
|
2356
|
+
var userData = JSON.parse(window.localStorage.getItem('user_data') || '');
|
|
2357
|
+
|
|
2358
|
+
var zipCode = _get(userData, 'zip', '');
|
|
2359
|
+
|
|
2360
|
+
zipCode && setPostalCode(zipCode);
|
|
2361
|
+
}
|
|
2362
|
+
}, []);
|
|
2346
2363
|
return React.createElement("div", {
|
|
2347
2364
|
className: "stripe_payment_container"
|
|
2348
2365
|
}, !!stripeError && React.createElement("div", {
|
|
@@ -2385,9 +2402,9 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2385
2402
|
}))), React.createElement("div", {
|
|
2386
2403
|
className: "payment_button"
|
|
2387
2404
|
}, React.createElement("button", {
|
|
2388
|
-
disabled: !stripe || !!error,
|
|
2405
|
+
disabled: !stripe || !!error || isLoading,
|
|
2389
2406
|
type: "submit"
|
|
2390
|
-
}, "Pay " + getCurrencySymbolByCurrency(currency) + total))));
|
|
2407
|
+
}, isLoading ? React.createElement(CircularProgress, null) : "Pay " + getCurrencySymbolByCurrency(currency) + total))));
|
|
2391
2408
|
};
|
|
2392
2409
|
|
|
2393
2410
|
var testId = ENV.STRIPE_PUBLISHABLE_KEY ;
|
|
@@ -2433,6 +2450,10 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2433
2450
|
error = _useState3[0],
|
|
2434
2451
|
setError = _useState3[1];
|
|
2435
2452
|
|
|
2453
|
+
var _useState4 = useState(false),
|
|
2454
|
+
paymentIsLoading = _useState4[0],
|
|
2455
|
+
setPaymentIsLoading = _useState4[1];
|
|
2456
|
+
|
|
2436
2457
|
var showFormTitle = Boolean(formTitle);
|
|
2437
2458
|
var showErrorText = Boolean(errorText);
|
|
2438
2459
|
useEffect(function () {
|
|
@@ -2497,38 +2518,40 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2497
2518
|
_context2.prev = 0;
|
|
2498
2519
|
|
|
2499
2520
|
if (!error) {
|
|
2500
|
-
_context2.next =
|
|
2521
|
+
_context2.next = 4;
|
|
2501
2522
|
break;
|
|
2502
2523
|
}
|
|
2503
2524
|
|
|
2525
|
+
setPaymentIsLoading(false);
|
|
2504
2526
|
throw error;
|
|
2505
2527
|
|
|
2506
|
-
case
|
|
2528
|
+
case 4:
|
|
2507
2529
|
order_hash = reviewData.order_details.order_hash;
|
|
2508
|
-
_context2.next =
|
|
2530
|
+
_context2.next = 7;
|
|
2509
2531
|
return handlePaymentSuccess(order_hash);
|
|
2510
2532
|
|
|
2511
|
-
case
|
|
2533
|
+
case 7:
|
|
2512
2534
|
paymentSuccessResponse = _context2.sent;
|
|
2513
2535
|
|
|
2514
2536
|
if (paymentSuccessResponse.status === 200) {
|
|
2515
2537
|
handlePayment(paymentSuccessResponse);
|
|
2538
|
+
setPaymentIsLoading(false);
|
|
2516
2539
|
}
|
|
2517
2540
|
|
|
2518
|
-
_context2.next =
|
|
2541
|
+
_context2.next = 14;
|
|
2519
2542
|
break;
|
|
2520
2543
|
|
|
2521
|
-
case
|
|
2522
|
-
_context2.prev =
|
|
2544
|
+
case 11:
|
|
2545
|
+
_context2.prev = 11;
|
|
2523
2546
|
_context2.t0 = _context2["catch"](0);
|
|
2524
2547
|
setError(_get(_context2.t0, 'response.data.message'));
|
|
2525
2548
|
|
|
2526
|
-
case
|
|
2549
|
+
case 14:
|
|
2527
2550
|
case "end":
|
|
2528
2551
|
return _context2.stop();
|
|
2529
2552
|
}
|
|
2530
2553
|
}
|
|
2531
|
-
}, _callee2, null, [[0,
|
|
2554
|
+
}, _callee2, null, [[0, 11]]);
|
|
2532
2555
|
}));
|
|
2533
2556
|
|
|
2534
2557
|
return function handlePaymentMiddleWare(_x) {
|
|
@@ -2577,7 +2600,11 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2577
2600
|
onSubmit: handlePaymentMiddleWare,
|
|
2578
2601
|
error: error,
|
|
2579
2602
|
currency: orderData.currency,
|
|
2580
|
-
billing_info: reviewData.billing_info
|
|
2603
|
+
billing_info: reviewData.billing_info,
|
|
2604
|
+
isLoading: paymentIsLoading,
|
|
2605
|
+
handleSetLoading: function handleSetLoading(value) {
|
|
2606
|
+
return setPaymentIsLoading(value);
|
|
2607
|
+
}
|
|
2581
2608
|
}))))));
|
|
2582
2609
|
};
|
|
2583
2610
|
|
|
@@ -2742,7 +2769,7 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
|
|
|
2742
2769
|
})))));
|
|
2743
2770
|
};
|
|
2744
2771
|
|
|
2745
|
-
var css_248z$6 = "body{margin:0;padding:0}.style_get-tickets-page__11KeR{width:100%}.style_event-detail__tier__2CcMs{background-color:#fff;padding:17px 35px 20px}.style_event-detail__tier-name__116US{color:#000;font-family:Inter-Bold;font-family:Bebas Neue;font-size:.85rem;font-weight:700;letter-spacing:.2em;line-height:1.3;margin-bottom:8px;margin-top:16px;
|
|
2772
|
+
var css_248z$6 = "body{margin:0;padding:0}.style_get-tickets-page__11KeR{width:100%}.style_event-detail__tier__2CcMs{background-color:#fff;padding:17px 35px 20px}.style_event-detail__tier-name__116US{color:#000;font-family:Inter-Bold;font-family:Bebas Neue;font-size:.85rem;font-weight:700;letter-spacing:.2em;line-height:1.3;margin-bottom:8px;margin-top:16px;padding-right:20%;text-transform:uppercase}.style_event-detail__tier-status__IbqO1{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-top:8px;width:100%}.style_event-detail__tier-status__IbqO1.style_ticket-button__Nty1u{background-color:#212529;border:3px solid #000;border-radius:0;color:#fff;cursor:pointer;font-weight:700;letter-spacing:.2em;line-height:1.5;margin-bottom:10px;width:200px}.style_event-tickets-container__3vdaQ{align-items:center;display:flex;justify-content:space-between}.style_event-detail__tier-status__IbqO1.style_ticket-button__Nty1u.style_true__g6yhC{background-color:#c1c3c6;border-color:#afb0b1}.style_event-detail__tier-price__3doIb{color:#000;font-family:Inter-Bold;font-size:1.5rem;font-weight:700;line-height:1;text-align:center}.style_event-detail__tier-price__3doIb p{margin:0}.style_event-detail__tier-price__3doIb .style_fees__19QjH{font-size:14px;font-weight:400;margin-top:4px;text-align:left}.style_event-detail__tier-price__3doIb .style_old-price__2mSOJ{color:red;font-size:1.3rem;margin-bottom:5px;text-decoration:line-through}.style_alert-info__24Mx5{background-color:#d9edf7;border:1px solid #bce8f1;border-radius:4px;color:#3a87ad;font-size:1em;margin:0 35px;padding:8px 15px;text-align:center;text-shadow:0 1px 0 hsla(0,0%,100%,.5)}.style_event-detail__tier-state__2ethF{color:#30bc9d;font-family:Inter-Bold;font-size:.75rem;font-weight:300;line-height:1;text-align:right;text-transform:uppercase}.style_promo-code-block__ttqVr input{font-size:14px;padding:1px 8px}.style_book-button__1krJI{background-color:#212529;border:3px solid #000;border-radius:0;color:#fff;cursor:pointer;display:block;font-size:26px;font-weight:700;height:50px;letter-spacing:.2em;line-height:1.5;margin:25px auto 10px;text-align:center;width:100%}.style_book-button__1krJI:hover{background-color:#505050;border-color:#505050}.style_loader-container__3iPe2{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar{width:5px}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-track{background:#f1f1f1}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-thumb{background:#888}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-thumb:hover{background:#555}.style_get-tickets__3Sghy .style_get-tickets__selectbox__2ApAj{width:100%}.style_disabled__310xq{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.style_hidden__ceCor{display:none}";
|
|
2746
2773
|
styleInject(css_248z$6);
|
|
2747
2774
|
|
|
2748
2775
|
var getTicketSelectOptions = function getTicketSelectOptions(maxCount, minCount, multiplier) {
|
|
@@ -2839,7 +2866,9 @@ var renderTiers = function renderTiers(boxOffice, selectedTickets, handleTicketS
|
|
|
2839
2866
|
className: "event-detail__tier-price"
|
|
2840
2867
|
}, ticketIsDiscounted && React.createElement("p", {
|
|
2841
2868
|
className: "old-price"
|
|
2842
|
-
}, "$ ", (+tier.oldPrice).toFixed(2)), React.createElement("p", null, isSoldOut ? 'SOLD OUT' : "$ " + (+tier.cost || +tier.price).toFixed(2))
|
|
2869
|
+
}, "$ ", (+tier.oldPrice).toFixed(2)), React.createElement("p", null, isSoldOut ? 'SOLD OUT' : "$ " + (+tier.cost || +tier.price).toFixed(2)), !isSoldOut && React.createElement("p", {
|
|
2870
|
+
className: 'fees'
|
|
2871
|
+
}, tier.taxesIncluded ? '(incl. Fees)' : '(excl. Fees)')), React.createElement("div", {
|
|
2843
2872
|
className: "event-detail__tier-state",
|
|
2844
2873
|
style: {
|
|
2845
2874
|
minWidth: 55
|