@scopetickets/checkout 0.4.1 → 0.4.2

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.cjs CHANGED
@@ -290,18 +290,20 @@ function CardAction({ action, tapped = false }) {
290
290
  const press = useIslandPress("element");
291
291
  const held = tapped || press["data-pressed"] !== void 0;
292
292
  const mark = action.mark === void 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "scopetickets-island-button__mark", "aria-hidden": "true", children: action.mark.node });
293
+ const alone = action.mark?.side === "alone";
293
294
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
294
295
  "button",
295
296
  {
296
297
  type: "button",
297
298
  className: `scopetickets-island-button scopetickets-island-button--${action.role} scopetickets-island-button--block${action.mark === void 0 ? "" : ` scopetickets-island-button--marked-${action.mark.spacing ?? "separate"}`}${action.disabled ? " scopetickets-island-button--disabled" : ""}`,
298
299
  "aria-disabled": action.disabled === true ? true : void 0,
300
+ "aria-label": alone && typeof action.label === "string" ? action.label : void 0,
299
301
  onClick: action.disabled === true ? void 0 : action.onPress,
300
302
  ...press,
301
303
  "data-pressed": held ? "" : void 0,
302
304
  children: [
303
305
  action.mark?.side === "leading" ? mark : null,
304
- action.label,
306
+ alone ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "scopetickets-island-button__mark--alone", "aria-hidden": "true", children: action.mark?.node }) : action.label,
305
307
  action.mark?.side === "trailing" ? mark : null
306
308
  ]
307
309
  }
@@ -11364,6 +11366,108 @@ function payButtonRole(kind) {
11364
11366
  return kind === "WALLET" ? "primary" : "action";
11365
11367
  }
11366
11368
 
11369
+ // ../checkout-core/src/geometry/brand-marks.ts
11370
+ var MASTERCARD = {
11371
+ artwork: { width: 32, height: 20 },
11372
+ paths: [
11373
+ {
11374
+ d: "M16 1.99902C18.429 3.82343 20 6.72831 20 10C20 13.2715 18.4287 16.1756 16 18C13.5713 16.1756 12 13.2715 12 10C12 6.72831 13.571 3.82343 16 1.99902Z",
11375
+ opacity: 0.52
11376
+ },
11377
+ {
11378
+ d: "M22 0C27.5228 0 32 4.47715 32 10C32 15.5228 27.5228 20 22 20C19.7291 20 17.6358 19.2421 15.957 17.9668C15.9714 17.9777 15.9855 17.9891 16 18C18.4287 16.1756 20 13.2715 20 10C20 6.72831 18.429 3.82343 16 1.99902C17.6713 0.743699 19.7488 0 22 0Z",
11379
+ opacity: 0.28
11380
+ },
11381
+ {
11382
+ d: "M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C12.2709 20 14.3642 19.2421 16.043 17.9668C16.0286 17.9777 16.0145 17.9891 16 18C13.5713 16.1756 12 13.2715 12 10C12 6.72831 13.571 3.82343 16 1.99902C14.3287 0.743699 12.2512 0 10 0Z",
11383
+ opacity: 0.75
11384
+ }
11385
+ ]
11386
+ };
11387
+ var REVOLUT_PAY = {
11388
+ artwork: { width: 98.0693, height: 18 },
11389
+ paths: [
11390
+ {
11391
+ d: "M90.3467 4.15527L93.4082 12.0918L96.373 4.15527H98.0693L93.4873 15.7773C92.8631 17.3763 92.4916 18 91.0879 18H89.1768V16.5381H90.6016C91.5178 16.538 91.6729 16.3032 92.0439 15.3672L92.5312 14.1582L88.6504 4.15527H90.3467Z"
11392
+ },
11393
+ {
11394
+ d: "M16.2686 3.63281C17.2835 3.63281 18.182 3.83592 18.9385 4.2373C19.6949 4.63886 20.2966 5.21722 20.7266 5.95508C21.1549 6.69191 21.3791 7.57364 21.3926 8.57617C21.3926 8.72451 21.3892 8.87143 21.3828 9.01855C21.3755 9.16937 21.3584 9.31926 21.332 9.46484L21.3232 9.51172H13.7324V9.59473C13.7584 10.1261 13.8797 10.5943 14.0938 10.9834C14.3069 11.3712 14.6151 11.6758 15.0088 11.8887C15.4046 12.1028 15.8624 12.2109 16.3691 12.2109C16.9668 12.2109 17.4833 12.0669 17.9033 11.7822C18.2944 11.5176 18.5628 11.1433 18.7012 10.6699L18.7129 10.6289H21.2266L21.2119 10.6963C21.0837 11.3314 20.822 11.9155 20.4336 12.4316C20.0246 12.9746 19.4777 13.4133 18.8076 13.7354C18.1376 14.0566 17.3571 14.2197 16.4883 14.2197C15.3931 14.2197 14.431 13.9991 13.6289 13.5645C12.8253 13.1298 12.1967 12.508 11.7607 11.7168C11.3259 10.9274 11.1055 9.99836 11.1055 8.95605C11.1055 7.88677 11.322 6.94482 11.75 6.15625C12.1786 5.36575 12.7902 4.73994 13.5674 4.29785C14.3433 3.85609 15.2523 3.63285 16.2686 3.63281ZM16.2891 5.62109C15.8742 5.62109 15.483 5.70982 15.127 5.88477C14.7712 6.05912 14.4722 6.30873 14.2393 6.62598C14.0175 6.92831 13.8765 7.29723 13.8193 7.72266H18.8174C18.7188 7.06657 18.4494 6.54986 18.0176 6.18652C17.5714 5.81148 16.9901 5.62115 16.2891 5.62109Z",
11395
+ evenodd: true
11396
+ },
11397
+ {
11398
+ d: "M37.2314 3.63281C38.2993 3.63284 39.2454 3.85629 40.042 4.29785C40.8395 4.74012 41.4675 5.36529 41.9092 6.15527C42.3508 6.94496 42.5751 7.88041 42.5752 8.93555C42.5752 9.97786 42.3509 10.9075 41.9092 11.6973C41.4676 12.487 40.8394 13.1115 40.042 13.5537C39.2454 13.9953 38.2993 14.2197 37.2314 14.2197C36.1757 14.2197 35.2334 13.9962 34.4307 13.5547C33.6259 13.1122 32.9944 12.487 32.5527 11.6973C32.1111 10.9079 31.8877 9.97832 31.8877 8.93555C31.8878 7.88005 32.1111 6.94454 32.5527 6.15527C32.9944 5.36532 33.627 4.74034 34.4307 4.29785C35.2334 3.85636 36.1756 3.63281 37.2314 3.63281ZM37.2314 5.76074C36.6728 5.76074 36.1791 5.89893 35.7656 6.1709C35.3504 6.44305 35.0256 6.81802 34.7988 7.28516C34.571 7.75293 34.4551 8.30875 34.4551 8.93652C34.4551 9.55122 34.5711 10.1032 34.7988 10.5771C35.0257 11.0508 35.3503 11.4259 35.7656 11.6914C36.1791 11.9566 36.6728 12.0918 37.2314 12.0918C37.803 12.0918 38.2987 11.9564 38.7061 11.6914C39.1145 11.4259 39.4362 11.051 39.6641 10.5771C39.8909 10.1017 40.0078 9.5492 40.0078 8.93555C40.0078 8.30919 39.8909 7.75397 39.6641 7.28516C39.4362 6.81781 39.1144 6.44227 38.7061 6.16992C38.2988 5.89849 37.8029 5.76078 37.2314 5.76074Z",
11399
+ evenodd: true
11400
+ },
11401
+ {
11402
+ d: "M50.5361 9.21484C50.5361 10.1557 50.7172 10.8736 51.0742 11.3467C51.4262 11.8144 51.9715 12.0517 52.6943 12.0518C53.1985 12.0518 53.6353 11.9309 53.9893 11.6924C54.3442 11.4539 54.6228 11.0963 54.8174 10.6299C55.013 10.161 55.1113 9.59062 55.1113 8.93555V3.75195H57.6387V14.1006H55.4209L55.1943 12.8936C54.8958 13.2326 54.5144 13.5354 54.0586 13.7939C53.5595 14.0765 52.9057 14.2197 52.1152 14.2197C51.5668 14.2197 51.0417 14.1411 50.5527 13.9873C50.0616 13.8326 49.6203 13.5709 49.2432 13.207C48.8661 12.8429 48.5626 12.352 48.3418 11.749C48.121 11.1478 48.0088 10.3891 48.0088 9.49512V3.75195H50.5361V9.21484Z"
11403
+ },
11404
+ {
11405
+ d: "M83.7949 4.03809C86.329 4.03809 87.7929 5.30555 87.793 7.62598V14.1006H86.4082L86.2705 12.54C85.6474 13.4367 84.6536 14.2167 82.9375 14.2168C80.7533 14.2168 79.2715 13.125 79.2715 11.3115C79.2716 9.3227 80.655 8.21102 83.2686 8.21094H86.1934V7.52832C86.1932 6.2415 85.2766 5.46199 83.7168 5.46191C82.3131 5.46191 81.3773 6.1247 81.1816 7.13867H79.583C79.8169 5.18887 81.3961 4.03819 83.7949 4.03809ZM83.1123 9.55664C81.6887 9.5567 80.8888 10.0831 80.8887 11.2139C80.8887 12.1887 81.7278 12.8524 83.0537 12.8525C85.0423 12.8525 86.1934 11.7014 86.1934 10.0439V9.55664H83.1123Z",
11406
+ evenodd: true
11407
+ },
11408
+ {
11409
+ d: "M61.7578 3.75195H64.3711V5.94043H61.7578V10.8613C61.7578 11.2717 61.8463 11.6285 61.9814 11.7695C62.1297 11.9235 62.3835 12.0019 62.7393 12.002H64.3711V14.1895H62.1406C61.1586 14.1895 60.4193 13.9458 59.9453 13.4648C59.4714 12.984 59.2314 12.2554 59.2314 11.2998V0.899414H61.7578V3.75195Z"
11410
+ },
11411
+ {
11412
+ d: "M2.62598 14.1006H0V3.47949H2.62598V14.1006Z"
11413
+ },
11414
+ {
11415
+ d: "M6.77148 0C9.02731 0 10.8633 1.83331 10.8633 4.08691C10.8633 6.25385 9.13127 8.06181 6.97949 8.16992L11.252 14.1006H8.13184L3.86816 8.18652C3.84835 8.15897 3.83795 8.12598 3.83789 8.0918V6.0752C3.83815 5.98617 3.91102 5.91406 4 5.91406H6.5127C7.00573 5.914 7.46764 5.71948 7.81348 5.36719C8.1591 5.01496 8.34434 4.54924 8.33496 4.05566C8.31623 3.0701 7.47092 2.26776 6.4502 2.26758H0V0H6.77148Z"
11416
+ },
11417
+ {
11418
+ d: "M26.7383 11.3555L29.3516 3.75195H32.0068L28.2344 14.1006H25.2422L21.4697 3.75195H24.125L26.7383 11.3555Z"
11419
+ },
11420
+ {
11421
+ d: "M46.4316 14.1006H43.9053V0H46.4316V14.1006Z"
11422
+ },
11423
+ {
11424
+ d: "M74.3174 0.450195C77.047 0.450326 78.8408 2.08825 78.8408 4.64258C78.8408 7.19692 77.047 8.85436 74.3174 8.85449H70.7686V14.1006H69.0713V0.450195H74.3174ZM70.7686 7.29492H74.1611C75.9559 7.29478 77.1055 6.26109 77.1055 4.64258C77.1055 3.02417 75.9747 2.00977 74.1807 2.00977H70.7686V7.29492Z",
11425
+ evenodd: true
11426
+ }
11427
+ ]
11428
+ };
11429
+ var SCOPE_TICKETS_WORDMARK = {
11430
+ artwork: { width: 588.88842, height: 100 },
11431
+ paths: [
11432
+ {
11433
+ d: "M147.91988,22.61854L175.16822,22.61854L175.16822,98.80931L193.42213,98.80931L193.42213,22.61854L220.67047,22.61854L220.67047,6.21599L147.91988,6.21599L147.91988,22.61854Z"
11434
+ },
11435
+ {
11436
+ d: "M241.69328,0c-7.27492,0-10.97898,4.09962-10.97898,10.58206,0,6.74615,3.70406,10.84561,10.97898,10.84561,7.01121,0,10.97898-4.09946,10.97898-10.84561,0-6.48244-3.96777-10.58206-10.97898-10.58206Z"
11437
+ },
11438
+ { d: "M232.69887,30.02669H250.42383V98.80926000000001H232.69887Z" },
11439
+ {
11440
+ d: "M294.7326,84.39129c-10.05178,0-15.07843-7.01121-15.07843-19.97339,0-12.83168,5.02665-19.97339,15.07843-19.97339,7.53997,0,12.30291,4.76159,12.96353,11.77145h17.85698c-.92568-15.34366-10.97898-27.38017-30.82051-27.38017-21.55953,0-33.20047,14.68169-33.20047,35.58211,0,21.16413,12.03651,35.58211,33.59738,35.58211,19.44463,0,29.49792-11.64094,30.5568-27.11645h-17.85833c-.79248,6.87801-5.42221,11.50774-13.09539,11.50774Z"
11441
+ },
11442
+ {
11443
+ d: "M399.35578,31.34911L399.35578,30.02652L378.72176,30.02652L354.77925,56.74607L354.77925,.92568L337.97981,.92568L337.97981,98.80927L354.77925,98.80927L354.77925,67.72504L379.38104,98.80927L400.67971,98.80927L400.67971,97.48668L371.57736,61.90457L399.35578,31.34911Z"
11444
+ },
11445
+ {
11446
+ d: "M434.13868,28.83579c-22.08981,0-32.93693,16.13748-32.93693,35.71396,0,19.84154,11.90465,35.45025,33.20064,35.45025,17.72513,0,28.96781-10.18515,30.82186-22.61992h-17.32956c-1.32124,4.23283-5.55407,7.93688-13.4923,7.93688-10.18515,0-14.9454-6.61429-15.07995-16.00562h46.82748v-6.87801c0-18.78266-11.50909-33.59755-32.01125-33.59755ZM419.45699,57.53854c.39557-7.80368,4.76025-13.88787,14.68169-13.88787,9.25947,0,13.62416,6.08418,13.88787,13.88787h-28.56955Z"
11447
+ },
11448
+ {
11449
+ d: "M511.6454,84.52314c-6.08418,0-8.86391-2.77703-8.86391-9.25947v-30.15855h16.53574v-15.0786h-16.53574V11.90465h-1.32124l-15.74191,3.70271v14.41916h-11.90465v15.0786h11.24269v33.99446c0,12.16971,6.35058,20.90042,21.56238,20.90042,5.82047,0,10.84712-1.05888,12.96219-1.7195v-14.81489h-1.32124c-1.9859.66062-4.10097,1.05753-6.61429,1.05753Z"
11450
+ },
11451
+ {
11452
+ d: "M568.78182,57.67174l-12.56662-2.24827c-4.36468-.92702-7.00986-2.77838-7.00986-6.21738,0-3.70406,3.83457-6.21738,9.78959-6.21738,7.27357,0,10.84443,3.96911,10.84443,8.73071h17.46141c0-13.09539-10.84712-22.88363-28.04213-22.88363-17.46141,0-27.38017,8.99442-27.38017,20.2371,0,12.69848,8.99307,18.784,20.1039,20.90042l11.11083,2.11641c5.42491,1.05753,7.93823,3.17395,7.93823,6.61295,0,3.5722-3.57086,6.35058-11.37723,6.35058-8.06739,0-12.16836-4.10097-12.16836-9.39267h-17.72513c.39557,14.41798,9.92144,24.33942,29.89349,24.33942,16.66759,0,29.23421-7.67183,29.23421-21.42918,0-13.62416-8.99576-18.6508-20.10659-20.89907Z"
11453
+ },
11454
+ {
11455
+ d: "M123.04929,16.46569l-3.10576-3.10576c-9.52524-9.52524-24.96881-9.52524-34.49413,0l-3.10569,3.10576c-9.52532,9.52532-24.96889,9.52532-34.49413,0l-3.10576-3.10576c-9.52524-9.52524-24.96881-9.52524-34.49413,0l-3.10569,3.10576c-9.52532,9.52532-9.52532,24.96889,0,34.49413l40.70558,40.7055c9.52524,9.52532,24.96881,9.52532,34.49413,0l40.7055-40.7055c9.52532-9.52524,9.5254-24.96881.00008-34.49413ZM111.39323,39.30415l-40.70605,40.7048c-2.01462,2.01587-4.36772,2.31675-5.59003,2.31675-1.22356,0-3.57667-.30088-5.59128-2.31675L18.80106,39.30415c-2.01587-2.01587-2.318-4.36835-2.318-5.59191,0-1.22294.30088-3.57541,2.31675-5.59066l3.10529-3.10467c2.01587-2.01587,4.36897-2.31675,5.59128-2.31675,1.22356,0,3.57667.30088,5.59128,2.31549l3.10404,3.10467c7.72249,7.72186,17.98613,11.97362,28.90543,11.97362,10.91805,0,21.18169-4.25176,28.90293-11.97237l3.10655-3.10717c2.01336-2.01336,4.36647-2.31424,5.59003-2.31424,1.22231,0,3.57541.30088,5.59003,2.31549l3.1078,3.10717c3.08273,3.0821,3.08273,8.09796-.00125,11.18131Z"
11456
+ }
11457
+ ]
11458
+ };
11459
+ var BRAND_MARKS = {
11460
+ Mastercard: MASTERCARD,
11461
+ RevolutPay: REVOLUT_PAY,
11462
+ ScopeTicketsWordmark: SCOPE_TICKETS_WORDMARK
11463
+ };
11464
+ var CREDIT_MARK_HEIGHT = 12;
11465
+ var PAY_MARK_HEIGHT = 18;
11466
+ function brandMarkBox(mark, height) {
11467
+ const drawn = height ?? mark.artwork.height;
11468
+ return { height: drawn, width: drawn * mark.artwork.width / mark.artwork.height };
11469
+ }
11470
+
11367
11471
  // ../checkout-core/src/view/cards.ts
11368
11472
  var SIGN_IN_WITH_WORDMARK = {
11369
11473
  role: "primary",
@@ -11577,10 +11681,10 @@ var STEP_CARD_ACTIONS = {
11577
11681
  * host's `canMakePayment()` word — see `wallet-report`.
11578
11682
  *
11579
11683
  * THEIR WORDS STAND IN FOR THEIR MARKS. Both are somebody else's trademark, and this
11580
- * package is published: see the manifest note in `brand-marks`, which takes two marks
11581
- * as its stated exception and says a third is the signal to revisit rather than extend.
11582
- * The marks arrive with the integration, from the provider's own SDK, which is what
11583
- * their brand rules ask for anyway.
11684
+ * package is published: see the manifest note in `brand-marks`. On the web the marks
11685
+ * arrive with the integration, from the provider's own SDK, which is what their brand
11686
+ * rules ask for anyway. The native Review has no provider button to borrow, and is the
11687
+ * one place Revolut Pay's mark is ours to draw — see `SHEET_PRESS`.
11584
11688
  */
11585
11689
  /*
11586
11690
  * ONE BUTTON, AND IT IS THE CARD FIELD'S.
@@ -11676,10 +11780,11 @@ var STEP_CARD_ACTIONS = {
11676
11780
  };
11677
11781
  var SHEET_PRESS = {
11678
11782
  revolut_pay: {
11679
- role: payButtonRole("CARD"),
11783
+ role: "primary",
11680
11784
  pays: true,
11681
11785
  picks: "revolut_pay",
11682
- label: "Revolut Pay"
11786
+ label: "Revolut Pay",
11787
+ mark: { side: "alone", brand: "REVOLUT_PAY", height: PAY_MARK_HEIGHT }
11683
11788
  },
11684
11789
  card: { role: payButtonRole("CARD"), pays: true, picks: "card", label: "Pay with Card" }
11685
11790
  };
@@ -11846,64 +11951,6 @@ var SIGN_IN_FUNNEL_CARD = {
11846
11951
  // src/island/marks.tsx
11847
11952
  var import_icons10 = require("@scopetickets/icons");
11848
11953
 
11849
- // ../checkout-core/src/geometry/brand-marks.ts
11850
- var MASTERCARD = {
11851
- artwork: { width: 32, height: 20 },
11852
- paths: [
11853
- {
11854
- d: "M16 1.99902C18.429 3.82343 20 6.72831 20 10C20 13.2715 18.4287 16.1756 16 18C13.5713 16.1756 12 13.2715 12 10C12 6.72831 13.571 3.82343 16 1.99902Z",
11855
- opacity: 0.52
11856
- },
11857
- {
11858
- d: "M22 0C27.5228 0 32 4.47715 32 10C32 15.5228 27.5228 20 22 20C19.7291 20 17.6358 19.2421 15.957 17.9668C15.9714 17.9777 15.9855 17.9891 16 18C18.4287 16.1756 20 13.2715 20 10C20 6.72831 18.429 3.82343 16 1.99902C17.6713 0.743699 19.7488 0 22 0Z",
11859
- opacity: 0.28
11860
- },
11861
- {
11862
- d: "M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C12.2709 20 14.3642 19.2421 16.043 17.9668C16.0286 17.9777 16.0145 17.9891 16 18C13.5713 16.1756 12 13.2715 12 10C12 6.72831 13.571 3.82343 16 1.99902C14.3287 0.743699 12.2512 0 10 0Z",
11863
- opacity: 0.75
11864
- }
11865
- ]
11866
- };
11867
- var SCOPE_TICKETS_WORDMARK = {
11868
- artwork: { width: 588.88842, height: 100 },
11869
- paths: [
11870
- {
11871
- d: "M147.91988,22.61854L175.16822,22.61854L175.16822,98.80931L193.42213,98.80931L193.42213,22.61854L220.67047,22.61854L220.67047,6.21599L147.91988,6.21599L147.91988,22.61854Z"
11872
- },
11873
- {
11874
- d: "M241.69328,0c-7.27492,0-10.97898,4.09962-10.97898,10.58206,0,6.74615,3.70406,10.84561,10.97898,10.84561,7.01121,0,10.97898-4.09946,10.97898-10.84561,0-6.48244-3.96777-10.58206-10.97898-10.58206Z"
11875
- },
11876
- { d: "M232.69887,30.02669H250.42383V98.80926000000001H232.69887Z" },
11877
- {
11878
- d: "M294.7326,84.39129c-10.05178,0-15.07843-7.01121-15.07843-19.97339,0-12.83168,5.02665-19.97339,15.07843-19.97339,7.53997,0,12.30291,4.76159,12.96353,11.77145h17.85698c-.92568-15.34366-10.97898-27.38017-30.82051-27.38017-21.55953,0-33.20047,14.68169-33.20047,35.58211,0,21.16413,12.03651,35.58211,33.59738,35.58211,19.44463,0,29.49792-11.64094,30.5568-27.11645h-17.85833c-.79248,6.87801-5.42221,11.50774-13.09539,11.50774Z"
11879
- },
11880
- {
11881
- d: "M399.35578,31.34911L399.35578,30.02652L378.72176,30.02652L354.77925,56.74607L354.77925,.92568L337.97981,.92568L337.97981,98.80927L354.77925,98.80927L354.77925,67.72504L379.38104,98.80927L400.67971,98.80927L400.67971,97.48668L371.57736,61.90457L399.35578,31.34911Z"
11882
- },
11883
- {
11884
- d: "M434.13868,28.83579c-22.08981,0-32.93693,16.13748-32.93693,35.71396,0,19.84154,11.90465,35.45025,33.20064,35.45025,17.72513,0,28.96781-10.18515,30.82186-22.61992h-17.32956c-1.32124,4.23283-5.55407,7.93688-13.4923,7.93688-10.18515,0-14.9454-6.61429-15.07995-16.00562h46.82748v-6.87801c0-18.78266-11.50909-33.59755-32.01125-33.59755ZM419.45699,57.53854c.39557-7.80368,4.76025-13.88787,14.68169-13.88787,9.25947,0,13.62416,6.08418,13.88787,13.88787h-28.56955Z"
11885
- },
11886
- {
11887
- d: "M511.6454,84.52314c-6.08418,0-8.86391-2.77703-8.86391-9.25947v-30.15855h16.53574v-15.0786h-16.53574V11.90465h-1.32124l-15.74191,3.70271v14.41916h-11.90465v15.0786h11.24269v33.99446c0,12.16971,6.35058,20.90042,21.56238,20.90042,5.82047,0,10.84712-1.05888,12.96219-1.7195v-14.81489h-1.32124c-1.9859.66062-4.10097,1.05753-6.61429,1.05753Z"
11888
- },
11889
- {
11890
- d: "M568.78182,57.67174l-12.56662-2.24827c-4.36468-.92702-7.00986-2.77838-7.00986-6.21738,0-3.70406,3.83457-6.21738,9.78959-6.21738,7.27357,0,10.84443,3.96911,10.84443,8.73071h17.46141c0-13.09539-10.84712-22.88363-28.04213-22.88363-17.46141,0-27.38017,8.99442-27.38017,20.2371,0,12.69848,8.99307,18.784,20.1039,20.90042l11.11083,2.11641c5.42491,1.05753,7.93823,3.17395,7.93823,6.61295,0,3.5722-3.57086,6.35058-11.37723,6.35058-8.06739,0-12.16836-4.10097-12.16836-9.39267h-17.72513c.39557,14.41798,9.92144,24.33942,29.89349,24.33942,16.66759,0,29.23421-7.67183,29.23421-21.42918,0-13.62416-8.99576-18.6508-20.10659-20.89907Z"
11891
- },
11892
- {
11893
- d: "M123.04929,16.46569l-3.10576-3.10576c-9.52524-9.52524-24.96881-9.52524-34.49413,0l-3.10569,3.10576c-9.52532,9.52532-24.96889,9.52532-34.49413,0l-3.10576-3.10576c-9.52524-9.52524-24.96881-9.52524-34.49413,0l-3.10569,3.10576c-9.52532,9.52532-9.52532,24.96889,0,34.49413l40.70558,40.7055c9.52524,9.52532,24.96881,9.52532,34.49413,0l40.7055-40.7055c9.52532-9.52524,9.5254-24.96881.00008-34.49413ZM111.39323,39.30415l-40.70605,40.7048c-2.01462,2.01587-4.36772,2.31675-5.59003,2.31675-1.22356,0-3.57667-.30088-5.59128-2.31675L18.80106,39.30415c-2.01587-2.01587-2.318-4.36835-2.318-5.59191,0-1.22294.30088-3.57541,2.31675-5.59066l3.10529-3.10467c2.01587-2.01587,4.36897-2.31675,5.59128-2.31675,1.22356,0,3.57667.30088,5.59128,2.31549l3.10404,3.10467c7.72249,7.72186,17.98613,11.97362,28.90543,11.97362,10.91805,0,21.18169-4.25176,28.90293-11.97237l3.10655-3.10717c2.01336-2.01336,4.36647-2.31424,5.59003-2.31424,1.22231,0,3.57541.30088,5.59003,2.31549l3.1078,3.10717c3.08273,3.0821,3.08273,8.09796-.00125,11.18131Z"
11894
- }
11895
- ]
11896
- };
11897
- var BRAND_MARKS = {
11898
- Mastercard: MASTERCARD,
11899
- ScopeTicketsWordmark: SCOPE_TICKETS_WORDMARK
11900
- };
11901
- var CREDIT_MARK_HEIGHT = 12;
11902
- function brandMarkBox(mark, height) {
11903
- const drawn = height ?? mark.artwork.height;
11904
- return { height: drawn, width: drawn * mark.artwork.width / mark.artwork.height };
11905
- }
11906
-
11907
11954
  // src/island/brand-marks.tsx
11908
11955
  var import_jsx_runtime28 = require("react/jsx-runtime");
11909
11956
  function BrandMarkSvg({
@@ -11946,6 +11993,9 @@ function BrandMarkSvg({
11946
11993
  }
11947
11994
  );
11948
11995
  }
11996
+ function RevolutPayMark(props) {
11997
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(BrandMarkSvg, { ...props, mark: "RevolutPay", art: BRAND_MARKS.RevolutPay });
11998
+ }
11949
11999
  function ScopeTicketsWordmarkMark(props) {
11950
12000
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(BrandMarkSvg, { ...props, mark: "ScopeTicketsWordmark", art: BRAND_MARKS.ScopeTicketsWordmark });
11951
12001
  }
@@ -11978,6 +12028,8 @@ var GLYPHS = {
11978
12028
  };
11979
12029
  function brandMark(mark, height, title) {
11980
12030
  switch (mark) {
12031
+ case "REVOLUT_PAY":
12032
+ return title === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RevolutPayMark, { height }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RevolutPayMark, { height, title });
11981
12033
  case "SCOPE_TICKETS_WORDMARK":
11982
12034
  return title === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ScopeTicketsWordmarkMark, { height }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ScopeTicketsWordmarkMark, { height, title });
11983
12035
  default: {