fontdue-js 2.8.0 → 2.8.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.
Files changed (99) hide show
  1. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +2 -2
  2. package/dist/__generated__/AddToCartBannerQuery.graphql.js +1 -1
  3. package/dist/__generated__/CartButtonQuery.graphql.d.ts +2 -2
  4. package/dist/__generated__/CartButtonQuery.graphql.js +1 -1
  5. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +2 -2
  6. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +1 -1
  7. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +2 -2
  8. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +1 -1
  9. package/dist/__generated__/CartQuery.graphql.d.ts +2 -2
  10. package/dist/__generated__/CartQuery.graphql.js +1 -1
  11. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +2 -2
  12. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +1 -1
  13. package/dist/__generated__/NewsletterSignupQuery.graphql.d.ts +2 -2
  14. package/dist/__generated__/NewsletterSignupQuery.graphql.js +1 -1
  15. package/dist/__generated__/PriceBarSection_node.graphql.d.ts +1 -1
  16. package/dist/__generated__/PriceBarSection_node.graphql.js +5 -2
  17. package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
  18. package/dist/__generated__/SKUPrice_sku.graphql.js +5 -2
  19. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +2 -2
  20. package/dist/__generated__/StoreModalCartQuery.graphql.js +1 -1
  21. package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +2 -2
  22. package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +1 -1
  23. package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +2 -2
  24. package/dist/__generated__/StoreModalContainerQuery.graphql.js +1 -1
  25. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +2 -2
  26. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +1 -1
  27. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +2 -2
  28. package/dist/__generated__/StoreModalReviewQuery.graphql.js +1 -1
  29. package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +2 -2
  30. package/dist/__generated__/TestFontsForm_Query.graphql.js +1 -1
  31. package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +2 -2
  32. package/dist/__generated__/TestModeBannerQuery.graphql.js +1 -1
  33. package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +2 -2
  34. package/dist/__generated__/ThemeConfigQuery.graphql.js +1 -1
  35. package/dist/components/AddToCartBanner/index.js +3 -3
  36. package/dist/components/BuyButton/index.js +3 -3
  37. package/dist/components/Cart/AddressFields.js +1 -1
  38. package/dist/components/Cart/CartItem/index.js +5 -5
  39. package/dist/components/Cart/CartOrder.js +6 -6
  40. package/dist/components/Cart/CartState.js +3 -3
  41. package/dist/components/Cart/CartTotals.js +1 -1
  42. package/dist/components/Cart/Checkout.js +6 -6
  43. package/dist/components/Cart/CouponCodeInput.js +2 -2
  44. package/dist/components/Cart/Download.js +2 -2
  45. package/dist/components/Cart/IdentityBox.js +1 -1
  46. package/dist/components/Cart/index.js +1 -1
  47. package/dist/components/CartButton/index.js +3 -3
  48. package/dist/components/CharacterViewer/index.js +4 -4
  49. package/dist/components/CollectionAa/index.js +2 -2
  50. package/dist/components/CouponText/index.js +1 -1
  51. package/dist/components/CustomerLoginForm/index.js +1 -1
  52. package/dist/components/Family/FamilyList.js +1 -1
  53. package/dist/components/Family/index.js +1 -1
  54. package/dist/components/FontFamilies/index.js +1 -1
  55. package/dist/components/FontStyle/index.js +1 -1
  56. package/dist/components/NewsletterSignup/index.js +2 -2
  57. package/dist/components/NodePasswordForm/index.js +1 -1
  58. package/dist/components/Precart/License.js +1 -1
  59. package/dist/components/Precart/index.js +5 -5
  60. package/dist/components/Price/index.js +1 -1
  61. package/dist/components/PriceBar/PriceBarSection.js +1 -1
  62. package/dist/components/PriceBar/index.js +1 -1
  63. package/dist/components/Root/productState.js +5 -5
  64. package/dist/components/SKUPrice/index.js +1 -1
  65. package/dist/components/SelectButton/index.js +1 -1
  66. package/dist/components/SpecimenLink/index.js +1 -1
  67. package/dist/components/StoreModal/StoreModalBundleButton.js +1 -1
  68. package/dist/components/StoreModal/StoreModalCart.js +1 -1
  69. package/dist/components/StoreModal/StoreModalCheckout.js +1 -1
  70. package/dist/components/StoreModal/StoreModalContainer.js +1 -1
  71. package/dist/components/StoreModal/StoreModalDownload.js +2 -2
  72. package/dist/components/StoreModal/StoreModalFamily.js +1 -1
  73. package/dist/components/StoreModal/StoreModalFamilyButton.js +1 -1
  74. package/dist/components/StoreModal/StoreModalIndex.js +1 -1
  75. package/dist/components/StoreModal/StoreModalIndexItem.js +1 -1
  76. package/dist/components/StoreModal/StoreModalProduct.js +1 -1
  77. package/dist/components/StoreModal/StoreModalReview.js +5 -5
  78. package/dist/components/StoreModal/StoreModalReviewIdentity.js +1 -1
  79. package/dist/components/StoreModal/StoreModalStyleButton.js +1 -1
  80. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +1 -1
  81. package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
  82. package/dist/components/StoreModalProductSummary/index.js +3 -3
  83. package/dist/components/StripeProvider/index.js +1 -1
  84. package/dist/components/TestFontsForm/index.js +2 -2
  85. package/dist/components/TestModeBanner/index.js +1 -1
  86. package/dist/components/ThemeConfig/index.js +1 -1
  87. package/dist/components/TypeTester/TypeTesterFeatures.js +1 -1
  88. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +1 -1
  89. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +1 -1
  90. package/dist/components/TypeTester/TypeTesterStandalone.js +1 -1
  91. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -3
  92. package/dist/components/TypeTester/TypeTesterToolbar.js +1 -1
  93. package/dist/components/TypeTester/TypeTesterVariableAxes.js +1 -1
  94. package/dist/components/TypeTester/index.js +4 -4
  95. package/dist/components/TypeTester/useFeaturesData.js +1 -1
  96. package/dist/components/TypeTesters/index.js +4 -4
  97. package/dist/components/VariableTableAmounts/index.js +2 -2
  98. package/dist/components/useTotalStyles.js +1 -1
  99. package/package.json +9 -8
@@ -28,10 +28,10 @@ const DESKTOP = 'desktop';
28
28
  // countryData will take care of knowing which address fields
29
29
  // are required
30
30
  const IDENTITY_REQUIRED_FIELDS = ['name', 'email', 'phone', 'country'];
31
- _Checkout_identity2.default.hash && _Checkout_identity2.default.hash !== "e69fe84d0b5b4a205aa52d5eefe1048d" && console.error("The definition of 'Checkout_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_identity;
32
- const updateCustomerMutation = (_CheckoutUpdateCustomerMutation2.default.hash && _CheckoutUpdateCustomerMutation2.default.hash !== "0b5cfd0771be9b3107817aefcc7029cf" && console.error("The definition of 'CheckoutUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CheckoutUpdateCustomerMutation);
33
- _Checkout_UpdateOrderErrors2.default.hash && _Checkout_UpdateOrderErrors2.default.hash !== "d76073037a16138de572dbb22d72da8f" && console.error("The definition of 'Checkout_UpdateOrderErrors' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_UpdateOrderErrors;
34
- const updateOrderMutation = (_CheckoutUpdateOrderMutation2.default.hash && _CheckoutUpdateOrderMutation2.default.hash !== "089745e2478edf385a09357905e4173c" && console.error("The definition of 'CheckoutUpdateOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CheckoutUpdateOrderMutation);
31
+ _Checkout_identity2.default.hash && _Checkout_identity2.default.hash !== "e69fe84d0b5b4a205aa52d5eefe1048d" && console.error("The definition of 'Checkout_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_identity2.default;
32
+ const updateCustomerMutation = (_CheckoutUpdateCustomerMutation2.default.hash && _CheckoutUpdateCustomerMutation2.default.hash !== "0b5cfd0771be9b3107817aefcc7029cf" && console.error("The definition of 'CheckoutUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CheckoutUpdateCustomerMutation2.default);
33
+ _Checkout_UpdateOrderErrors2.default.hash && _Checkout_UpdateOrderErrors2.default.hash !== "d76073037a16138de572dbb22d72da8f" && console.error("The definition of 'Checkout_UpdateOrderErrors' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_UpdateOrderErrors2.default;
34
+ const updateOrderMutation = (_CheckoutUpdateOrderMutation2.default.hash && _CheckoutUpdateOrderMutation2.default.hash !== "089745e2478edf385a09357905e4173c" && console.error("The definition of 'CheckoutUpdateOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CheckoutUpdateOrderMutation2.default);
35
35
  const Checkout = _ref => {
36
36
  let {
37
37
  order,
@@ -45,8 +45,8 @@ const Checkout = _ref => {
45
45
  onCancel,
46
46
  skipPaymentMethod = false
47
47
  } = _ref;
48
- const orderData = (0, _reactRelay.useFragment)((_Checkout_order2.default.hash && _Checkout_order2.default.hash !== "693ae9c7f2c7fe9a179bad7b86c16928" && console.error("The definition of 'Checkout_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_order), order);
49
- const viewerData = (0, _reactRelay.useFragment)((_Checkout_viewer2.default.hash && _Checkout_viewer2.default.hash !== "be63ce5562013aa6a1439e6259c80e2f" && console.error("The definition of 'Checkout_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_viewer), viewer);
48
+ const orderData = (0, _reactRelay.useFragment)((_Checkout_order2.default.hash && _Checkout_order2.default.hash !== "693ae9c7f2c7fe9a179bad7b86c16928" && console.error("The definition of 'Checkout_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_order2.default), order);
49
+ const viewerData = (0, _reactRelay.useFragment)((_Checkout_viewer2.default.hash && _Checkout_viewer2.default.hash !== "be63ce5562013aa6a1439e6259c80e2f" && console.error("The definition of 'Checkout_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Checkout_viewer2.default), viewer);
50
50
  const identity = {
51
51
  name: '',
52
52
  organization: '',
@@ -26,14 +26,14 @@ function useDebounce(value, delay) {
26
26
  }, [value, delay]);
27
27
  return debouncedValue;
28
28
  }
29
- const applyCouponMutation = (_CouponCodeInputApplyCouponMutation2.default.hash && _CouponCodeInputApplyCouponMutation2.default.hash !== "7090ef11a30d00dbaea37589166dc1a9" && console.error("The definition of 'CouponCodeInputApplyCouponMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponCodeInputApplyCouponMutation);
29
+ const applyCouponMutation = (_CouponCodeInputApplyCouponMutation2.default.hash && _CouponCodeInputApplyCouponMutation2.default.hash !== "7090ef11a30d00dbaea37589166dc1a9" && console.error("The definition of 'CouponCodeInputApplyCouponMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponCodeInputApplyCouponMutation2.default);
30
30
  const CouponCodeInput = _ref => {
31
31
  var _viewer$coupon, _viewer$coupon2, _viewer$coupon3, _viewer$coupon4;
32
32
  let {
33
33
  viewer: viewerKey
34
34
  } = _ref;
35
35
  const environment = (0, _reactRelay.useRelayEnvironment)();
36
- const [viewer, refetch] = (0, _reactRelay.useRefetchableFragment)((_CouponCodeInput_viewer2.default.hash && _CouponCodeInput_viewer2.default.hash !== "06207af721d062f5fb4c32dc2a260e74" && console.error("The definition of 'CouponCodeInput_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponCodeInput_viewer), viewerKey);
36
+ const [viewer, refetch] = (0, _reactRelay.useRefetchableFragment)((_CouponCodeInput_viewer2.default.hash && _CouponCodeInput_viewer2.default.hash !== "06207af721d062f5fb4c32dc2a260e74" && console.error("The definition of 'CouponCodeInput_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponCodeInput_viewer2.default), viewerKey);
37
37
  const [submitting, setSubmitting] = (0, _react.useState)(false);
38
38
  const [expanded, setExpanded] = (0, _react.useState)(false);
39
39
  const [value, setValue] = (0, _react.useState)('');
@@ -65,6 +65,6 @@ const Download = _ref2 => {
65
65
  }));
66
66
  };
67
67
  var _default = (0, _reactRelay.createRefetchContainer)(Download, {
68
- order: (_Download_order2.default.hash && _Download_order2.default.hash !== "818f18e6bd304c38233be849d75f36a5" && console.error("The definition of 'Download_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Download_order)
69
- }, (_DownloadRefetchQuery2.default.hash && _DownloadRefetchQuery2.default.hash !== "fe555b125ad4154333f80fd69075e0c8" && console.error("The definition of 'DownloadRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _DownloadRefetchQuery));
68
+ order: (_Download_order2.default.hash && _Download_order2.default.hash !== "818f18e6bd304c38233be849d75f36a5" && console.error("The definition of 'Download_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Download_order2.default)
69
+ }, (_DownloadRefetchQuery2.default.hash && _DownloadRefetchQuery2.default.hash !== "fe555b125ad4154333f80fd69075e0c8" && console.error("The definition of 'DownloadRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _DownloadRefetchQuery2.default));
70
70
  exports.default = _default;
@@ -17,7 +17,7 @@ function IdentityBox(_ref) {
17
17
  icon
18
18
  }
19
19
  } = _ref;
20
- const identity = (0, _reactRelay.useFragment)((_IdentityBox_identity2.default.hash && _IdentityBox_identity2.default.hash !== "d93d9cb6f2c86580fb57b4de6782ec9d" && console.error("The definition of 'IdentityBox_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _IdentityBox_identity), identityKey);
20
+ const identity = (0, _reactRelay.useFragment)((_IdentityBox_identity2.default.hash && _IdentityBox_identity2.default.hash !== "d93d9cb6f2c86580fb57b4de6782ec9d" && console.error("The definition of 'IdentityBox_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _IdentityBox_identity2.default), identityKey);
21
21
  return /*#__PURE__*/_react.default.createElement("button", {
22
22
  className: "cart__review__button",
23
23
  type: "button",
@@ -16,7 +16,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16
16
  function Cart() {
17
17
  const {
18
18
  viewer
19
- } = (0, _reactRelay.useLazyLoadQuery)((_CartQuery2.default.hash && _CartQuery2.default.hash !== "b74f61f6b7a71c169b202770100937ca" && console.error("The definition of 'CartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartQuery), {});
19
+ } = (0, _reactRelay.useLazyLoadQuery)((_CartQuery2.default.hash && _CartQuery2.default.hash !== "b74f61f6b7a71c169b202770100937ca" && console.error("The definition of 'CartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartQuery2.default), {});
20
20
  const cartOpen = (0, _reactRedux.useSelector)(state => state.cartOpen);
21
21
  const {
22
22
  currentOrder
@@ -23,7 +23,7 @@ function getOrderCount(order) {
23
23
  }
24
24
  const cartButtonCount = order => {
25
25
  if (!order) return 0;
26
- return getOrderCount(order); // TODO: add a `count` field to schema
26
+ return getOrderCount(order);
27
27
  };
28
28
  const openCart = () => ({
29
29
  type: 'OPEN_CART'
@@ -35,7 +35,7 @@ function CartButtonComponent(_ref) {
35
35
  order: orderKey,
36
36
  children
37
37
  } = _ref;
38
- const order = (0, _reactRelay.useFragment)((_CartButton_order2.default.hash && _CartButton_order2.default.hash !== "fe52953705bed993f9f94c1ae33d801a" && console.error("The definition of 'CartButton_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartButton_order), orderKey);
38
+ const order = (0, _reactRelay.useFragment)((_CartButton_order2.default.hash && _CartButton_order2.default.hash !== "fe52953705bed993f9f94c1ae33d801a" && console.error("The definition of 'CartButton_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartButton_order2.default), orderKey);
39
39
  const [count, setCount] = (0, _react.useState)(0);
40
40
  const dispatch = (0, _reactRedux.useDispatch)();
41
41
  const handleClick = (0, _react.useCallback)(() => {
@@ -68,7 +68,7 @@ function CartButtonComponent(_ref) {
68
68
  className: "cart-button__label"
69
69
  }, label || 'Cart')));
70
70
  }
71
- const query = (_CartButtonQuery2.default.hash && _CartButtonQuery2.default.hash !== "5c0da5849bf1215a9d1f264831830f71" && console.error("The definition of 'CartButtonQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartButtonQuery);
71
+ const query = (_CartButtonQuery2.default.hash && _CartButtonQuery2.default.hash !== "5c0da5849bf1215a9d1f264831830f71" && console.error("The definition of 'CartButtonQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CartButtonQuery2.default);
72
72
  function CartButtonPreloadedQueryRenderer(_ref2) {
73
73
  var _data$viewer;
74
74
  let {
@@ -141,7 +141,7 @@ function CharacterViewerComponent(_ref3) {
141
141
  let {
142
142
  collection: collectionKey
143
143
  } = _ref3;
144
- const collection = (0, _reactRelay.useFragment)((_CharacterViewer_collection2.default.hash && _CharacterViewer_collection2.default.hash !== "2f49d241268129a888942889cad0bebb" && console.error("The definition of 'CharacterViewer_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewer_collection), collectionKey);
144
+ const collection = (0, _reactRelay.useFragment)((_CharacterViewer_collection2.default.hash && _CharacterViewer_collection2.default.hash !== "2f49d241268129a888942889cad0bebb" && console.error("The definition of 'CharacterViewer_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewer_collection2.default), collectionKey);
145
145
  const allCollections = [collectionInfo(collection)].concat(((_collection$children = collection.children) === null || _collection$children === void 0 ? void 0 : _collection$children.map(collectionInfo)) ?? []);
146
146
  const unicodeData = useUnicodeData();
147
147
  const initialFontStyle = collection.featureStyle ?? ((_collection$fontStyle = collection.fontStyles) === null || _collection$fontStyle === void 0 ? void 0 : _collection$fontStyle[0]) ?? ((_collection$children2 = collection.children) === null || _collection$children2 === void 0 ? void 0 : (_collection$children3 = _collection$children2[0]) === null || _collection$children3 === void 0 ? void 0 : (_collection$children4 = _collection$children3.fontStyles) === null || _collection$children4 === void 0 ? void 0 : _collection$children4[0]);
@@ -422,8 +422,8 @@ function CharacterViewerComponent(_ref3) {
422
422
  }, chars));
423
423
  }))) : null)) : null);
424
424
  }
425
- _CharacterViewer_family2.default.hash && _CharacterViewer_family2.default.hash !== "d940cabe9ed658d5cbed547287f2de0e" && console.error("The definition of 'CharacterViewer_family' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewer_family;
426
- const idQuery = (_CharacterViewerIDQuery2.default.hash && _CharacterViewerIDQuery2.default.hash !== "f90b09a4df6d95307b0a5d5fda487cdc" && console.error("The definition of 'CharacterViewerIDQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewerIDQuery);
425
+ _CharacterViewer_family2.default.hash && _CharacterViewer_family2.default.hash !== "d940cabe9ed658d5cbed547287f2de0e" && console.error("The definition of 'CharacterViewer_family' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewer_family2.default;
426
+ const idQuery = (_CharacterViewerIDQuery2.default.hash && _CharacterViewerIDQuery2.default.hash !== "f90b09a4df6d95307b0a5d5fda487cdc" && console.error("The definition of 'CharacterViewerIDQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewerIDQuery2.default);
427
427
  function CharacterViewerIdQueryRenderer(_ref11) {
428
428
  let {
429
429
  collectionId
@@ -453,7 +453,7 @@ function CharacterViewerSlugQueryRenderer(_ref13) {
453
453
  let {
454
454
  collectionSlug
455
455
  } = _ref13;
456
- const data = (0, _reactRelay.useLazyLoadQuery)((_CharacterViewerSlugQuery2.default.hash && _CharacterViewerSlugQuery2.default.hash !== "afa08a8f050e0434308892fea6e3c267" && console.error("The definition of 'CharacterViewerSlugQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewerSlugQuery), {
456
+ const data = (0, _reactRelay.useLazyLoadQuery)((_CharacterViewerSlugQuery2.default.hash && _CharacterViewerSlugQuery2.default.hash !== "afa08a8f050e0434308892fea6e3c267" && console.error("The definition of 'CharacterViewerSlugQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CharacterViewerSlugQuery2.default), {
457
457
  collectionSlug
458
458
  });
459
459
  const collection = data === null || data === void 0 ? void 0 : (_data$viewer = data.viewer) === null || _data$viewer === void 0 ? void 0 : (_data$viewer$slug = _data$viewer.slug) === null || _data$viewer$slug === void 0 ? void 0 : _data$viewer$slug.fontCollection;
@@ -14,7 +14,7 @@ const CollectionAa = _ref => {
14
14
  let {
15
15
  product: productKey
16
16
  } = _ref;
17
- const product = (0, _reactRelay.useFragment)((_CollectionAa_product2.default.hash && _CollectionAa_product2.default.hash !== "c6b0113fe8474166dab3649c41880d84" && console.error("The definition of 'CollectionAa_product' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CollectionAa_product), productKey);
17
+ const product = (0, _reactRelay.useFragment)((_CollectionAa_product2.default.hash && _CollectionAa_product2.default.hash !== "c6b0113fe8474166dab3649c41880d84" && console.error("The definition of 'CollectionAa_product' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CollectionAa_product2.default), productKey);
18
18
  let fontStyle;
19
19
  if ((product === null || product === void 0 ? void 0 : product.__typename) === 'Bundle') {
20
20
  var _product$fontStyles;
@@ -32,7 +32,7 @@ function CollectionAaQueryRenderer(_ref2) {
32
32
  let {
33
33
  collectionId
34
34
  } = _ref2;
35
- const data = (0, _reactRelay.useLazyLoadQuery)((_CollectionAa_Query2.default.hash && _CollectionAa_Query2.default.hash !== "fbe1f59d074d964464c71ea00d2bd90f" && console.error("The definition of 'CollectionAa_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CollectionAa_Query), {
35
+ const data = (0, _reactRelay.useLazyLoadQuery)((_CollectionAa_Query2.default.hash && _CollectionAa_Query2.default.hash !== "fbe1f59d074d964464c71ea00d2bd90f" && console.error("The definition of 'CollectionAa_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CollectionAa_Query2.default), {
36
36
  collectionId
37
37
  });
38
38
  return /*#__PURE__*/_react.default.createElement(CollectionAa, data);
@@ -16,7 +16,7 @@ function CouponText(_ref) {
16
16
  coupon: couponKey,
17
17
  subtract = 0
18
18
  } = _ref;
19
- const coupon = (0, _reactRelay.useFragment)((_CouponText_coupon2.default.hash && _CouponText_coupon2.default.hash !== "1d8116645b5f96a820af21db9e15f375" && console.error("The definition of 'CouponText_coupon' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponText_coupon), couponKey);
19
+ const coupon = (0, _reactRelay.useFragment)((_CouponText_coupon2.default.hash && _CouponText_coupon2.default.hash !== "1d8116645b5f96a820af21db9e15f375" && console.error("The definition of 'CouponText_coupon' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CouponText_coupon2.default), couponKey);
20
20
  if (coupon.type === 'credit') {
21
21
  const amountRemaining = {
22
22
  ...coupon.creditAmountRemaining,
@@ -12,7 +12,7 @@ var _TextField = _interopRequireDefault(require("../TextField"));
12
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- const loginMutation = (_CustomerLoginFormLoginMutation2.default.hash && _CustomerLoginFormLoginMutation2.default.hash !== "975b639fac1e0d88e0f0c9c55acd8b9c" && console.error("The definition of 'CustomerLoginFormLoginMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CustomerLoginFormLoginMutation);
15
+ const loginMutation = (_CustomerLoginFormLoginMutation2.default.hash && _CustomerLoginFormLoginMutation2.default.hash !== "975b639fac1e0d88e0f0c9c55acd8b9c" && console.error("The definition of 'CustomerLoginFormLoginMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _CustomerLoginFormLoginMutation2.default);
16
16
  const CustomerLoginFormSubmitted = () => /*#__PURE__*/_react.default.createElement("div", {
17
17
  className: "login-form__submitted"
18
18
  }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", null, "Submitted!"), /*#__PURE__*/_react.default.createElement("p", null, "Please check your email inbox for a link to log in."), /*#__PURE__*/_react.default.createElement("p", null, "If you don't receive an email, please contact us to retrieve your order information.")));
@@ -19,7 +19,7 @@ function FamilyList(_ref) {
19
19
  node: nodeKey,
20
20
  text
21
21
  } = _ref;
22
- const node = (0, _reactRelay.useFragment)((_FamilyList_node2.default.hash && _FamilyList_node2.default.hash !== "d52770ab2e7aaa83f392a5d80340f3ad" && console.error("The definition of 'FamilyList_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FamilyList_node), nodeKey);
22
+ const node = (0, _reactRelay.useFragment)((_FamilyList_node2.default.hash && _FamilyList_node2.default.hash !== "d52770ab2e7aaa83f392a5d80340f3ad" && console.error("The definition of 'FamilyList_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FamilyList_node2.default), nodeKey);
23
23
  return /*#__PURE__*/_react.default.createElement("ul", {
24
24
  className: "font-family-block__list",
25
25
  style: {
@@ -24,7 +24,7 @@ function Family(_ref) {
24
24
  node: nodeKey,
25
25
  size
26
26
  } = _ref;
27
- const node = (0, _reactRelay.useFragment)((_Family_node2.default.hash && _Family_node2.default.hash !== "2fecc4fd332a593d28387a3a87559fe4" && console.error("The definition of 'Family_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Family_node), nodeKey);
27
+ const node = (0, _reactRelay.useFragment)((_Family_node2.default.hash && _Family_node2.default.hash !== "2fecc4fd332a593d28387a3a87559fe4" && console.error("The definition of 'Family_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Family_node2.default), nodeKey);
28
28
  const precartOpen = (0, _reactRedux.useSelector)(state => state.precartOpen);
29
29
  const selector = node.sku ? (0, _reducer.isSelected)(node.sku.id) : () => false;
30
30
  const selected = (0, _reactRedux.useSelector)(selector);
@@ -28,7 +28,7 @@ function FontFamilies(_ref) {
28
28
  }, [collectionId, store, environment]);
29
29
  const {
30
30
  node
31
- } = (0, _reactRelay.useLazyLoadQuery)((_FontFamiliesQuery2.default.hash && _FontFamiliesQuery2.default.hash !== "191c350df0d719005af0d73c96884d40" && console.error("The definition of 'FontFamiliesQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FontFamiliesQuery), {
31
+ } = (0, _reactRelay.useLazyLoadQuery)((_FontFamiliesQuery2.default.hash && _FontFamiliesQuery2.default.hash !== "191c350df0d719005af0d73c96884d40" && console.error("The definition of 'FontFamiliesQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FontFamiliesQuery2.default), {
32
32
  collectionId
33
33
  });
34
34
  if (!node) return null;
@@ -17,7 +17,7 @@ function FontStyle(_ref) {
17
17
  children,
18
18
  ...rest
19
19
  } = _ref;
20
- const fontStyle = (0, _reactRelay.useFragment)((_FontStyle_fontStyle2.default.hash && _FontStyle_fontStyle2.default.hash !== "c745ef2ecf5b7f3d0793bea2024d1e69" && console.error("The definition of 'FontStyle_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FontStyle_fontStyle), fontStyleKey);
20
+ const fontStyle = (0, _reactRelay.useFragment)((_FontStyle_fontStyle2.default.hash && _FontStyle_fontStyle2.default.hash !== "c745ef2ecf5b7f3d0793bea2024d1e69" && console.error("The definition of 'FontStyle_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _FontStyle_fontStyle2.default), fontStyleKey);
21
21
  const {
22
22
  cssFamily,
23
23
  name
@@ -17,8 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
20
- const updateCustomerMutation = (_NewsletterSignupUpdateCustomerMutation2.default.hash && _NewsletterSignupUpdateCustomerMutation2.default.hash !== "769087891b6f263122bbb630b3f2ca6c" && console.error("The definition of 'NewsletterSignupUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NewsletterSignupUpdateCustomerMutation);
21
- const query = (_NewsletterSignupQuery2.default.hash && _NewsletterSignupQuery2.default.hash !== "16f0b6d7ed420ec5857c972b77805e4c" && console.error("The definition of 'NewsletterSignupQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NewsletterSignupQuery);
20
+ const updateCustomerMutation = (_NewsletterSignupUpdateCustomerMutation2.default.hash && _NewsletterSignupUpdateCustomerMutation2.default.hash !== "769087891b6f263122bbb630b3f2ca6c" && console.error("The definition of 'NewsletterSignupUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NewsletterSignupUpdateCustomerMutation2.default);
21
+ const query = (_NewsletterSignupQuery2.default.hash && _NewsletterSignupQuery2.default.hash !== "16f0b6d7ed420ec5857c972b77805e4c" && console.error("The definition of 'NewsletterSignupQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NewsletterSignupQuery2.default);
22
22
  function NewsletterSignupComponent(_ref) {
23
23
  var _data$viewer, _data$viewer$settings, _data$viewer2, _data$viewer2$setting;
24
24
  let {
@@ -12,7 +12,7 @@ var _TextField = _interopRequireDefault(require("../TextField"));
12
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- const accessNodeMutation = (_NodePasswordFormAccessNodeMutation2.default.hash && _NodePasswordFormAccessNodeMutation2.default.hash !== "d0beeb729c358ef4eebd1c8be47ec68e" && console.error("The definition of 'NodePasswordFormAccessNodeMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NodePasswordFormAccessNodeMutation);
15
+ const accessNodeMutation = (_NodePasswordFormAccessNodeMutation2.default.hash && _NodePasswordFormAccessNodeMutation2.default.hash !== "d0beeb729c358ef4eebd1c8be47ec68e" && console.error("The definition of 'NodePasswordFormAccessNodeMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _NodePasswordFormAccessNodeMutation2.default);
16
16
  function NodePasswordForm(props) {
17
17
  const [password, setPassword] = (0, _react.useState)('');
18
18
  const [error, setError] = (0, _react.useState)(null);
@@ -17,7 +17,7 @@ const License = _ref => {
17
17
  onSelectLicense,
18
18
  onSelectLicenseOption
19
19
  } = _ref;
20
- const node = (0, _reactRelay.useFragment)((_License_node2.default.hash && _License_node2.default.hash !== "1550b152731d8412ffc55716cb536407" && console.error("The definition of 'License_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _License_node), nodeKey);
20
+ const node = (0, _reactRelay.useFragment)((_License_node2.default.hash && _License_node2.default.hash !== "1550b152731d8412ffc55716cb536407" && console.error("The definition of 'License_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _License_node2.default), nodeKey);
21
21
  if (!node) return null;
22
22
  const selectedLicenseOptions = (0, _reactRedux.useSelector)(state => state.licenseOptions);
23
23
  const selectedOptions = selectedLicenseOptions.find(spec => spec.licenseId === node.id);
@@ -80,7 +80,7 @@ const specFromLicense = license => {
80
80
  }
81
81
  return licenseOptionSpec;
82
82
  };
83
- _Precart_license2.default.hash && _Precart_license2.default.hash !== "0a642f10f28ca7d3857db23cf645895a" && console.error("The definition of 'Precart_license' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_license;
83
+ _Precart_license2.default.hash && _Precart_license2.default.hash !== "0a642f10f28ca7d3857db23cf645895a" && console.error("The definition of 'Precart_license' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_license2.default;
84
84
  function Precart(_ref3) {
85
85
  var _viewer$precart2, _collection$licenses3;
86
86
  let {
@@ -88,8 +88,8 @@ function Precart(_ref3) {
88
88
  collection: collectionKey,
89
89
  isLoading
90
90
  } = _ref3;
91
- const viewer = (0, _reactRelay.useFragment)((_Precart_viewer2.default.hash && _Precart_viewer2.default.hash !== "fe66a5cdbee38cae7bfb11922f945fd5" && console.error("The definition of 'Precart_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_viewer), viewerKey);
92
- const collection = (0, _reactRelay.useFragment)((_Precart_collection2.default.hash && _Precart_collection2.default.hash !== "dd2c3385a0fc5149dbfa230cfa5e3e99" && console.error("The definition of 'Precart_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_collection), collectionKey);
91
+ const viewer = (0, _reactRelay.useFragment)((_Precart_viewer2.default.hash && _Precart_viewer2.default.hash !== "fe66a5cdbee38cae7bfb11922f945fd5" && console.error("The definition of 'Precart_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_viewer2.default), viewerKey);
92
+ const collection = (0, _reactRelay.useFragment)((_Precart_collection2.default.hash && _Precart_collection2.default.hash !== "dd2c3385a0fc5149dbfa230cfa5e3e99" && console.error("The definition of 'Precart_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Precart_collection2.default), collectionKey);
93
93
  const environment = (0, _reactRelay.useRelayEnvironment)();
94
94
  const subtotal = viewer === null || viewer === void 0 ? void 0 : (_viewer$precart2 = viewer.precart) === null || _viewer$precart2 === void 0 ? void 0 : _viewer$precart2.subtotal;
95
95
  const precartOpen = (0, _reactRedux.useSelector)(state => state.precartOpen);
@@ -148,7 +148,7 @@ function Precart(_ref3) {
148
148
  licenseSelections: licenseSelectionsArray()
149
149
  }
150
150
  };
151
- const mutation = (_PrecartAddToCartMutation2.default.hash && _PrecartAddToCartMutation2.default.hash !== "c5ead46ecc07099bee68d4f4f1ecb5bf" && console.error("The definition of 'PrecartAddToCartMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PrecartAddToCartMutation);
151
+ const mutation = (_PrecartAddToCartMutation2.default.hash && _PrecartAddToCartMutation2.default.hash !== "c5ead46ecc07099bee68d4f4f1ecb5bf" && console.error("The definition of 'PrecartAddToCartMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PrecartAddToCartMutation2.default);
152
152
  (0, _reactRelay.commitMutation)(environment, {
153
153
  mutation,
154
154
  variables,
@@ -310,7 +310,7 @@ function PrecartQueryRenderer(_ref6) {
310
310
  // useDeferredValue allows us to show the stale data instead of falling back
311
311
  // to the Suspense fallback in the parent, basically unmounting everything
312
312
  const deferredLicenseOptionsSpecs = (0, _react.useDeferredValue)(licenseOptionsSpecs);
313
- const data = (0, _reactRelay.useLazyLoadQuery)((_PrecartQuery2.default.hash && _PrecartQuery2.default.hash !== "517fbe407b2c13334c4101126038982d" && console.error("The definition of 'PrecartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PrecartQuery), {
313
+ const data = (0, _reactRelay.useLazyLoadQuery)((_PrecartQuery2.default.hash && _PrecartQuery2.default.hash !== "517fbe407b2c13334c4101126038982d" && console.error("The definition of 'PrecartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PrecartQuery2.default), {
314
314
  licenseOptionsSpecs: deferredLicenseOptionsSpecs,
315
315
  selectedSkuIds: deferredSelectedSkuIds,
316
316
  collectionId
@@ -93,7 +93,7 @@ function RelayPrice(_ref3) {
93
93
  price: priceKey,
94
94
  ...rest
95
95
  } = _ref3;
96
- const price = (0, _reactRelay.useFragment)((_Price_price2.default.hash && _Price_price2.default.hash !== "7d3425945fe5f6df382005630e30ce86" && console.error("The definition of 'Price_price' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Price_price), priceKey);
96
+ const price = (0, _reactRelay.useFragment)((_Price_price2.default.hash && _Price_price2.default.hash !== "7d3425945fe5f6df382005630e30ce86" && console.error("The definition of 'Price_price' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _Price_price2.default), priceKey);
97
97
  return /*#__PURE__*/_react.default.createElement(Price, _extends({
98
98
  price: price
99
99
  }, rest));
@@ -26,7 +26,7 @@ function PriceBarSection(_ref) {
26
26
  licenseOptionIds: Object.values(spec.licenseOptions).filter(Boolean)
27
27
  }));
28
28
  const [isPending, startTransition] = (0, _react.useTransition)();
29
- const [node, refetch] = (0, _reactRelay.useRefetchableFragment)((_PriceBarSection_node2.default.hash && _PriceBarSection_node2.default.hash !== "f14d864fde8de83db89ce6cd68487f98" && console.error("The definition of 'PriceBarSection_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PriceBarSection_node), nodeKey);
29
+ const [node, refetch] = (0, _reactRelay.useRefetchableFragment)((_PriceBarSection_node2.default.hash && _PriceBarSection_node2.default.hash !== "f14d864fde8de83db89ce6cd68487f98" && console.error("The definition of 'PriceBarSection_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PriceBarSection_node2.default), nodeKey);
30
30
  const selected = (0, _reactRedux.useSelector)((0, _utils.isSelected)(((_node$sku = node.sku) === null || _node$sku === void 0 ? void 0 : _node$sku.id) ?? null));
31
31
  const prevLicenseOptionsSpecs = (0, _react.useRef)(licenseOptionsSpecs);
32
32
  (0, _react.useEffect)(() => {
@@ -15,7 +15,7 @@ function PriceBar(_ref) {
15
15
  let {
16
16
  node: nodeKey
17
17
  } = _ref;
18
- const node = (0, _reactRelay.useFragment)((_PriceBar_node2.default.hash && _PriceBar_node2.default.hash !== "4a2e7a54397986a901a103fbbf554c4e" && console.error("The definition of 'PriceBar_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PriceBar_node), nodeKey);
18
+ const node = (0, _reactRelay.useFragment)((_PriceBar_node2.default.hash && _PriceBar_node2.default.hash !== "4a2e7a54397986a901a103fbbf554c4e" && console.error("The definition of 'PriceBar_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _PriceBar_node2.default), nodeKey);
19
19
  const [visible, setVisible] = (0, _react.useState)(false);
20
20
  const $pricebar = (0, _react.useRef)(null);
21
21
  (0, _react.useEffect)(() => {
@@ -12,11 +12,11 @@ var _productState_sku2 = _interopRequireDefault(require("../../__generated__/pro
12
12
  var _reactRelay = require("react-relay");
13
13
  var _utils = require("../../utils");
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- _productState_sku2.default.hash && _productState_sku2.default.hash !== "2cee6ddddc85699f0c90e2607c0634ef" && console.error("The definition of 'productState_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_sku;
16
- _productState_collection2.default.hash && _productState_collection2.default.hash !== "90e56933f956c6773c0958284de81884" && console.error("The definition of 'productState_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_collection;
17
- _productState_bundle2.default.hash && _productState_bundle2.default.hash !== "fa38bbc9f2062a727da4f5062b362054" && console.error("The definition of 'productState_bundle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_bundle;
18
- _productState_node2.default.hash && _productState_node2.default.hash !== "aab1ef07e0192a0d22a4c300084d9d05" && console.error("The definition of 'productState_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_node;
19
- const query = (_productState_Query2.default.hash && _productState_Query2.default.hash !== "ac3292bae9a274139d5a525fd0162711" && console.error("The definition of 'productState_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_Query);
15
+ _productState_sku2.default.hash && _productState_sku2.default.hash !== "2cee6ddddc85699f0c90e2607c0634ef" && console.error("The definition of 'productState_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_sku2.default;
16
+ _productState_collection2.default.hash && _productState_collection2.default.hash !== "90e56933f956c6773c0958284de81884" && console.error("The definition of 'productState_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_collection2.default;
17
+ _productState_bundle2.default.hash && _productState_bundle2.default.hash !== "fa38bbc9f2062a727da4f5062b362054" && console.error("The definition of 'productState_bundle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_bundle2.default;
18
+ _productState_node2.default.hash && _productState_node2.default.hash !== "aab1ef07e0192a0d22a4c300084d9d05" && console.error("The definition of 'productState_node' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_node2.default;
19
+ const query = (_productState_Query2.default.hash && _productState_Query2.default.hash !== "ac3292bae9a274139d5a525fd0162711" && console.error("The definition of 'productState_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _productState_Query2.default);
20
20
  const populateProductState = (store, environment, id) => {
21
21
  const existingState = store.getState().fetchedCollectionIds;
22
22
  if (existingState && existingState.indexOf(id) >= 0) return;
@@ -35,7 +35,7 @@ function SKUPrice(_ref) {
35
35
  ...rest
36
36
  } = _ref;
37
37
  const [isPending, startTransition] = (0, _react.useTransition)();
38
- const [sku, refetch] = (0, _reactRelay.useRefetchableFragment)((_SKUPrice_sku2.default.hash && _SKUPrice_sku2.default.hash !== "9792a6074c64fb4bb018e42df5045514" && console.error("The definition of 'SKUPrice_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SKUPrice_sku), skuKey);
38
+ const [sku, refetch] = (0, _reactRelay.useRefetchableFragment)((_SKUPrice_sku2.default.hash && _SKUPrice_sku2.default.hash !== "9792a6074c64fb4bb018e42df5045514" && console.error("The definition of 'SKUPrice_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SKUPrice_sku2.default), skuKey);
39
39
  const selected = (0, _reactRedux.useSelector)((0, _reducer.isSelected)(sku.id));
40
40
  const savingsMultiplier = (0, _reactRedux.useSelector)(state => getSavingsMultiplier(state, {
41
41
  showCollectionSavings,
@@ -52,7 +52,7 @@ function SelectButton(_ref2) {
52
52
  sku: skuKey,
53
53
  ...rest
54
54
  } = _ref2;
55
- const sku = (0, _reactRelay.useFragment)((_SelectButton_sku2.default.hash && _SelectButton_sku2.default.hash !== "f4052dc18c36cb8486c8ac985820a108" && console.error("The definition of 'SelectButton_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SelectButton_sku), skuKey);
55
+ const sku = (0, _reactRelay.useFragment)((_SelectButton_sku2.default.hash && _SelectButton_sku2.default.hash !== "f4052dc18c36cb8486c8ac985820a108" && console.error("The definition of 'SelectButton_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SelectButton_sku2.default), skuKey);
56
56
  const dispatch = (0, _reactRedux.useDispatch)();
57
57
  const components = (0, _react.useContext)(_ComponentsContext.default);
58
58
  const ButtonComponent = components.SelectButton || DefaultSelectButton;
@@ -16,7 +16,7 @@ const SpecimenLink = _ref => {
16
16
  } = _ref;
17
17
  const {
18
18
  node
19
- } = (0, _reactRelay.useLazyLoadQuery)((_SpecimenLinkQuery2.default.hash && _SpecimenLinkQuery2.default.hash !== "a718e7ed92035c4bbebafc13d037fa6c" && console.error("The definition of 'SpecimenLinkQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SpecimenLinkQuery), {
19
+ } = (0, _reactRelay.useLazyLoadQuery)((_SpecimenLinkQuery2.default.hash && _SpecimenLinkQuery2.default.hash !== "a718e7ed92035c4bbebafc13d037fa6c" && console.error("The definition of 'SpecimenLinkQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _SpecimenLinkQuery2.default), {
20
20
  collectionId
21
21
  });
22
22
  const pdf = node === null || node === void 0 ? void 0 : (_node$pdfs = node.pdfs) === null || _node$pdfs === void 0 ? void 0 : _node$pdfs[0];
@@ -23,7 +23,7 @@ function StoreModalBundleButton(_ref) {
23
23
  onSelectSku,
24
24
  ...rest
25
25
  } = _ref;
26
- const bundle = (0, _reactRelay.useFragment)((_StoreModalBundleButton_bundle2.default.hash && _StoreModalBundleButton_bundle2.default.hash !== "ee0ac316afd75a7809c894aaa47ffbc3" && console.error("The definition of 'StoreModalBundleButton_bundle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalBundleButton_bundle), bundleKey);
26
+ const bundle = (0, _reactRelay.useFragment)((_StoreModalBundleButton_bundle2.default.hash && _StoreModalBundleButton_bundle2.default.hash !== "ee0ac316afd75a7809c894aaa47ffbc3" && console.error("The definition of 'StoreModalBundleButton_bundle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalBundleButton_bundle2.default), bundleKey);
27
27
  const selected = (0, _reactRedux.useSelector)((0, _reducer.isSelected)((bundle === null || bundle === void 0 ? void 0 : (_bundle$sku = bundle.sku) === null || _bundle$sku === void 0 ? void 0 : _bundle$sku.id) ?? null));
28
28
  if (!bundle.sku || !bundle.fontStyles) return null;
29
29
  const handleSelect = () => {
@@ -24,7 +24,7 @@ const StoreModalCart = _ref => {
24
24
  let {
25
25
  prepared
26
26
  } = _ref;
27
- const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalCartQuery2.default.hash && _StoreModalCartQuery2.default.hash !== "c2a74cf58c190aae40a36ad75c88bbfb" && console.error("The definition of 'StoreModalCartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalCartQuery), prepared.cartQuery);
27
+ const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalCartQuery2.default.hash && _StoreModalCartQuery2.default.hash !== "c2a74cf58c190aae40a36ad75c88bbfb" && console.error("The definition of 'StoreModalCartQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalCartQuery2.default), prepared.cartQuery);
28
28
  const dispatch = (0, _reactRedux.useDispatch)();
29
29
  const order = data.viewer.currentOrder;
30
30
  const canSkipCheckout = Boolean(order === null || order === void 0 ? void 0 : (_order$stripePaymentM = order.stripePaymentMethod) === null || _order$stripePaymentM === void 0 ? void 0 : _order$stripePaymentM.id);
@@ -19,7 +19,7 @@ const StoreModalCheckout = _ref => {
19
19
  let {
20
20
  prepared
21
21
  } = _ref;
22
- const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalCheckoutQuery2.default.hash && _StoreModalCheckoutQuery2.default.hash !== "25edafb70407a579c912a9f078f65534" && console.error("The definition of 'StoreModalCheckoutQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalCheckoutQuery), prepared.checkoutQuery);
22
+ const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalCheckoutQuery2.default.hash && _StoreModalCheckoutQuery2.default.hash !== "25edafb70407a579c912a9f078f65534" && console.error("The definition of 'StoreModalCheckoutQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalCheckoutQuery2.default), prepared.checkoutQuery);
23
23
  const viewer = data.viewer;
24
24
  const dispatch = (0, _reactRedux.useDispatch)();
25
25
  const {
@@ -54,7 +54,7 @@ const StoreModalContainer = _ref => {
54
54
  let {
55
55
  children
56
56
  } = _ref;
57
- const data = (0, _reactRelay.useLazyLoadQuery)((_StoreModalContainerQuery2.default.hash && _StoreModalContainerQuery2.default.hash !== "dd4757b9238f5ae8689c7191b4abe64c" && console.error("The definition of 'StoreModalContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalContainerQuery), {});
57
+ const data = (0, _reactRelay.useLazyLoadQuery)((_StoreModalContainerQuery2.default.hash && _StoreModalContainerQuery2.default.hash !== "dd4757b9238f5ae8689c7191b4abe64c" && console.error("The definition of 'StoreModalContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalContainerQuery2.default), {});
58
58
  const dispatch = (0, _reactRedux.useDispatch)();
59
59
  const orderItemCount = ((_currentOrder = data.viewer.currentOrder) === null || _currentOrder === void 0 ? void 0 : (_currentOrder$orderIt = _currentOrder.orderItems) === null || _currentOrder$orderIt === void 0 ? void 0 : _currentOrder$orderIt.length) ?? 0;
60
60
  const showCartButton = orderItemCount > 0;
@@ -34,6 +34,6 @@ const StoreModalDownload = _ref => {
34
34
  });
35
35
  };
36
36
  var _default = (0, _reactRelay.createRefetchContainer)(StoreModalDownload, {
37
- order: (_StoreModalDownload_order2.default.hash && _StoreModalDownload_order2.default.hash !== "089669cea2185d50b071a901cfd3b159" && console.error("The definition of 'StoreModalDownload_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalDownload_order)
38
- }, (_StoreModalDownloadRefetchQuery2.default.hash && _StoreModalDownloadRefetchQuery2.default.hash !== "f4bd85e641db0b1e20e780b7a0cdaf98" && console.error("The definition of 'StoreModalDownloadRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalDownloadRefetchQuery));
37
+ order: (_StoreModalDownload_order2.default.hash && _StoreModalDownload_order2.default.hash !== "089669cea2185d50b071a901cfd3b159" && console.error("The definition of 'StoreModalDownload_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalDownload_order2.default)
38
+ }, (_StoreModalDownloadRefetchQuery2.default.hash && _StoreModalDownloadRefetchQuery2.default.hash !== "f4bd85e641db0b1e20e780b7a0cdaf98" && console.error("The definition of 'StoreModalDownloadRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalDownloadRefetchQuery2.default));
39
39
  exports.default = _default;
@@ -37,7 +37,7 @@ function StoreModalFamily(_ref) {
37
37
  onSelect,
38
38
  title
39
39
  } = _ref;
40
- const collection = (0, _reactRelay.useFragment)((_StoreModalFamily_collection2.default.hash && _StoreModalFamily_collection2.default.hash !== "f0e4764ace2386cb64ef3f8d85128268" && console.error("The definition of 'StoreModalFamily_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalFamily_collection), collectionKey);
40
+ const collection = (0, _reactRelay.useFragment)((_StoreModalFamily_collection2.default.hash && _StoreModalFamily_collection2.default.hash !== "f0e4764ace2386cb64ef3f8d85128268" && console.error("The definition of 'StoreModalFamily_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalFamily_collection2.default), collectionKey);
41
41
  const fontStyles = (0, _react.useMemo)(() => stylesGrouped(collection), [collection]);
42
42
  if ((fontStyles === null || fontStyles === void 0 ? void 0 : fontStyles.length) === 0 && collection.collectionType === 'superfamily' && !collection.sku) return null;
43
43
  return /*#__PURE__*/_react.default.createElement(_StoreModalFamily.default, null, {
@@ -31,7 +31,7 @@ function FamilyButton(_ref) {
31
31
  onSelectSku,
32
32
  ...rest
33
33
  } = _ref;
34
- const collection = (0, _reactRelay.useFragment)((_StoreModalFamilyButton_collection2.default.hash && _StoreModalFamilyButton_collection2.default.hash !== "af94df77265f4ddfb0e661c8a591f89c" && console.error("The definition of 'StoreModalFamilyButton_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalFamilyButton_collection), collectionKey);
34
+ const collection = (0, _reactRelay.useFragment)((_StoreModalFamilyButton_collection2.default.hash && _StoreModalFamilyButton_collection2.default.hash !== "af94df77265f4ddfb0e661c8a591f89c" && console.error("The definition of 'StoreModalFamilyButton_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalFamilyButton_collection2.default), collectionKey);
35
35
  const selector = collection.sku ? (0, _reducer.isSelected)(collection.sku.id) : () => false;
36
36
  const selected = (0, _reactRedux.useSelector)(selector);
37
37
  const handleClick = () => {
@@ -15,7 +15,7 @@ const StoreModalIndex = _ref => {
15
15
  let {
16
16
  prepared
17
17
  } = _ref;
18
- const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalIndexQuery2.default.hash && _StoreModalIndexQuery2.default.hash !== "300b462c41a951b4f94c4b8da7a6821f" && console.error("The definition of 'StoreModalIndexQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalIndexQuery), prepared.indexQuery);
18
+ const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalIndexQuery2.default.hash && _StoreModalIndexQuery2.default.hash !== "300b462c41a951b4f94c4b8da7a6821f" && console.error("The definition of 'StoreModalIndexQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalIndexQuery2.default), prepared.indexQuery);
19
19
  const viewer = data.viewer;
20
20
  const edges = (viewer === null || viewer === void 0 ? void 0 : (_viewer$rootCollectio = viewer.rootCollections) === null || _viewer$rootCollectio === void 0 ? void 0 : _viewer$rootCollectio.edges) ?? [];
21
21
  return /*#__PURE__*/_react.default.createElement(_StoreModalPageContainer.default, null, {
@@ -25,7 +25,7 @@ const StoreModalIndexItem = _ref => {
25
25
  const {
26
26
  storeModal: config
27
27
  } = (0, _react.useContext)(_ConfigContext.default);
28
- const data = (0, _reactRelay.useFragment)((_StoreModalIndexItem_fontCollection2.default.hash && _StoreModalIndexItem_fontCollection2.default.hash !== "3a41c729cade11bb541bc59a6b513d29" && console.error("The definition of 'StoreModalIndexItem_fontCollection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalIndexItem_fontCollection), collection);
28
+ const data = (0, _reactRelay.useFragment)((_StoreModalIndexItem_fontCollection2.default.hash && _StoreModalIndexItem_fontCollection2.default.hash !== "3a41c729cade11bb541bc59a6b513d29" && console.error("The definition of 'StoreModalIndexItem_fontCollection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalIndexItem_fontCollection2.default), collection);
29
29
  const dispatch = (0, _reactRedux.useDispatch)();
30
30
  const handleClickProduct = productId => {
31
31
  dispatch({
@@ -23,7 +23,7 @@ const StoreModalProduct = _ref => {
23
23
  prepared
24
24
  } = _ref;
25
25
  const config = (0, _react.useContext)(_ConfigContext.default);
26
- const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalProductQuery2.default.hash && _StoreModalProductQuery2.default.hash !== "d9a141adc8aa9c28676b0c311c79644d" && console.error("The definition of 'StoreModalProductQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductQuery), prepared.productQuery);
26
+ const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalProductQuery2.default.hash && _StoreModalProductQuery2.default.hash !== "d9a141adc8aa9c28676b0c311c79644d" && console.error("The definition of 'StoreModalProductQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductQuery2.default), prepared.productQuery);
27
27
  const {
28
28
  collection,
29
29
  viewer
@@ -36,16 +36,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
36
36
  // want to reset the cart back to empty).
37
37
  // but here we want to keep displaying the order that they
38
38
  // just paid for
39
- const submitCompleteMutation = (_StoreModalReviewCompleteOrderMutation2.default.hash && _StoreModalReviewCompleteOrderMutation2.default.hash !== "de20197df49deb030c473adbd9560e03" && console.error("The definition of 'StoreModalReviewCompleteOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewCompleteOrderMutation);
40
- const updateOrderMutation = (_StoreModalReviewUpdateOrderMutation2.default.hash && _StoreModalReviewUpdateOrderMutation2.default.hash !== "5ee297fdd5931c542d2f683651e54643" && console.error("The definition of 'StoreModalReviewUpdateOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewUpdateOrderMutation);
39
+ const submitCompleteMutation = (_StoreModalReviewCompleteOrderMutation2.default.hash && _StoreModalReviewCompleteOrderMutation2.default.hash !== "de20197df49deb030c473adbd9560e03" && console.error("The definition of 'StoreModalReviewCompleteOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewCompleteOrderMutation2.default);
40
+ const updateOrderMutation = (_StoreModalReviewUpdateOrderMutation2.default.hash && _StoreModalReviewUpdateOrderMutation2.default.hash !== "5ee297fdd5931c542d2f683651e54643" && console.error("The definition of 'StoreModalReviewUpdateOrderMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewUpdateOrderMutation2.default);
41
41
  const StoreModalReview = _ref => {
42
42
  var _order$stripePaymentI, _order$orderItems, _viewer$settings;
43
43
  let {
44
44
  viewer: viewerKey,
45
45
  order: orderKey
46
46
  } = _ref;
47
- const order = (0, _reactRelay.useFragment)((_StoreModalReview_order2.default.hash && _StoreModalReview_order2.default.hash !== "0257d97d4d3f3a989cba19fb108f0e00" && console.error("The definition of 'StoreModalReview_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReview_order), orderKey);
48
- const viewer = (0, _reactRelay.useFragment)((_StoreModalReview_viewer2.default.hash && _StoreModalReview_viewer2.default.hash !== "9136dd09437ff0102d8235b72b9b5c66" && console.error("The definition of 'StoreModalReview_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReview_viewer), viewerKey);
47
+ const order = (0, _reactRelay.useFragment)((_StoreModalReview_order2.default.hash && _StoreModalReview_order2.default.hash !== "0257d97d4d3f3a989cba19fb108f0e00" && console.error("The definition of 'StoreModalReview_order' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReview_order2.default), orderKey);
48
+ const viewer = (0, _reactRelay.useFragment)((_StoreModalReview_viewer2.default.hash && _StoreModalReview_viewer2.default.hash !== "9136dd09437ff0102d8235b72b9b5c66" && console.error("The definition of 'StoreModalReview_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReview_viewer2.default), viewerKey);
49
49
  const dispatch = (0, _reactRedux.useDispatch)();
50
50
  const [completing, setCompleting] = (0, _react.useState)(false);
51
51
  const [error, setError] = (0, _react.useState)(null);
@@ -209,7 +209,7 @@ const StoreModalReviewQueryContainer = _ref2 => {
209
209
  let {
210
210
  prepared
211
211
  } = _ref2;
212
- const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalReviewQuery2.default.hash && _StoreModalReviewQuery2.default.hash !== "e0aed024d4a8ba04c42e455e63e8c373" && console.error("The definition of 'StoreModalReviewQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewQuery), prepared.reviewQuery);
212
+ const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalReviewQuery2.default.hash && _StoreModalReviewQuery2.default.hash !== "e0aed024d4a8ba04c42e455e63e8c373" && console.error("The definition of 'StoreModalReviewQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewQuery2.default), prepared.reviewQuery);
213
213
  return /*#__PURE__*/_react.default.createElement(_StripeProvider.default, {
214
214
  viewer: data.viewer
215
215
  }, /*#__PURE__*/_react.default.createElement(StoreModalReview, {
@@ -14,6 +14,6 @@ function StoreModalReviewIdentity(_ref) {
14
14
  let {
15
15
  identity: identityKey
16
16
  } = _ref;
17
- const identity = (0, _reactRelay.useFragment)((_StoreModalReviewIdentity_identity2.default.hash && _StoreModalReviewIdentity_identity2.default.hash !== "4d800e664bc3400ca62ead178d97fb00" && console.error("The definition of 'StoreModalReviewIdentity_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewIdentity_identity), identityKey);
17
+ const identity = (0, _reactRelay.useFragment)((_StoreModalReviewIdentity_identity2.default.hash && _StoreModalReviewIdentity_identity2.default.hash !== "4d800e664bc3400ca62ead178d97fb00" && console.error("The definition of 'StoreModalReviewIdentity_identity' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalReviewIdentity_identity2.default), identityKey);
18
18
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, identity.addressFormatted, /*#__PURE__*/_react.default.createElement("br", null), identity.email, /*#__PURE__*/_react.default.createElement("br", null), identity.phoneFormatted, identity.vatNumber && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("br", null), "VAT: ", identity.vatNumber));
19
19
  }