@apps-in-toss/web-framework 2.0.4 → 2.0.6

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.
@@ -136419,9 +136419,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136419
136419
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
136420
136420
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
136421
136421
  var import_native_modules14 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136422
- var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136422
+ var import_react_native22 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136423
136423
  var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
136424
- var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136424
+ var import_react_native23 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136425
136425
  var import_native_modules2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136426
136426
  var import_react_native4 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136427
136427
  var import_react3 = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -136603,7 +136603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
136603
136603
  }
136604
136604
  var import_native_modules13 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136605
136605
  var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
136606
- var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136606
+ var import_react_native21 = _$$_REQUIRE(_dependencyMap[8], "react-native");
136607
136607
  var import_native_modules6 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
136608
136608
  var import_react_native10 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
136609
136609
  var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
@@ -137288,7 +137288,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137288
137288
  }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
137289
137289
  }
137290
137290
  var import_native_modules12 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137291
- var import_react_native20 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137291
+ var import_react_native19 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137292
137292
  var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137293
137293
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137294
137294
  var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -137486,7 +137486,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137486
137486
  });
137487
137487
  }
137488
137488
  var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137489
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137490
137489
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137491
137490
  function HomeShortcutMenu() {
137492
137491
  var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
@@ -137498,17 +137497,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137498
137497
  title: "\uD648 \uD654\uBA74\uC5D0 \uCD94\uAC00",
137499
137498
  iconURL: "https://static.toss.im/icons/png/4x/icon-plus-circle-mono.png",
137500
137499
  onPress: () => {
137501
- import_react_native18.NativeModules.AppsInTossModule.addMiniAppShortcut({
137500
+ import_native_modules10.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("addMiniAppShortcut", {
137502
137501
  title: globals.brandDisplayName,
137503
137502
  appName: global.__granite.app.name,
137504
137503
  iconUrl: globals.brandIcon,
137505
137504
  guideUrl: "https://service.toss.im/app-mini-home/shortcut"
137505
+ }, {
137506
+ onSuccess: () => {},
137507
+ onError: () => {}
137506
137508
  });
137507
137509
  }
137508
137510
  });
137509
137511
  }
137510
137512
  var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137511
- var import_react_native19 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137513
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137512
137514
  var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137513
137515
  function SettingsMenu() {
137514
137516
  var globals = getAppsInTossGlobals();
@@ -137518,7 +137520,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137518
137520
  return (0, import_jsx_runtime8.jsx)(Menu, {
137519
137521
  title: "\uC124\uC815",
137520
137522
  iconURL: "https://static.toss.im/icons/png/4x/icon-setting-mono.png",
137521
- onPress: () => (0, import_react_native19.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native19.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
137523
+ onPress: () => (0, import_react_native18.openURL)(`servicetoss://apps-in-toss-menu/settings?appName=${import_react_native18.Granite.appName}&displayAppName=${globals.brandDisplayName}`)
137522
137524
  });
137523
137525
  }
137524
137526
  function ensureValue(value, name) {
@@ -137619,7 +137621,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137619
137621
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
137620
137622
  title: item.contactItemName,
137621
137623
  iconURL: item.contactIconUrl,
137622
- onPress: () => (0, import_react_native20.openURL)(item.contactUri)
137624
+ onPress: () => (0, import_react_native19.openURL)(item.contactUri)
137623
137625
  }, item.contactItemName)), isHomeShortcutSupported && (0, import_jsx_runtime9.jsx)(HomeShortcutMenu, {}), isShareListMenuSupported && (0, import_jsx_runtime9.jsx)(AppShareListMenu, {}), isSettingsMenuSupported && (0, import_jsx_runtime9.jsx)(SettingsMenu, {})]
137624
137626
  })
137625
137627
  })
@@ -137711,7 +137713,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137711
137713
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
137712
137714
  var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137713
137715
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137714
- var import_react_native21 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137716
+ var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137715
137717
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137716
137718
  function GameNavigationBar() {
137717
137719
  var safeAreaTop = (0, import_private6.useSafeAreaTop)();
@@ -137728,10 +137730,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137728
137730
  preference: {
137729
137731
  type: "none"
137730
137732
  }
137731
- }), (0, import_jsx_runtime12.jsx)(import_react_native21.View, {
137733
+ }), (0, import_jsx_runtime12.jsx)(import_react_native20.View, {
137732
137734
  style: {
137733
137735
  width: "100%",
137734
- height: import_react_native21.Platform.OS === "ios" ? 44 : 54,
137736
+ height: import_react_native20.Platform.OS === "ios" ? 44 : 54,
137735
137737
  flexDirection: "row",
137736
137738
  alignItems: "center",
137737
137739
  justifyContent: "flex-end",
@@ -137779,7 +137781,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137779
137781
  children
137780
137782
  }) {
137781
137783
  (0, import_react17.useEffect)(() => {
137782
- if (import_react_native22.Platform.OS === "ios") {
137784
+ if (import_react_native21.Platform.OS === "ios") {
137783
137785
  (0, import_native_modules13.setIosSwipeGestureEnabled)({
137784
137786
  isEnabled: false
137785
137787
  });
@@ -137841,13 +137843,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137841
137843
  analytics
137842
137844
  }) {
137843
137845
  var appName = getAppName();
137844
- var isRegistered = import_react_native24.AppRegistry.getAppKeys().includes(appName);
137846
+ var isRegistered = import_react_native23.AppRegistry.getAppKeys().includes(appName);
137845
137847
  if (!isRegistered) {
137846
137848
  import_analytics.Analytics.init({
137847
137849
  logger: params => void (0, import_native_modules14.eventLog)(params),
137848
137850
  debug: analytics?.debug ?? __DEV__
137849
137851
  });
137850
- var App = import_react_native23.Granite.registerApp(AppsInTossContainer.bind(null, container), {
137852
+ var App = import_react_native22.Granite.registerApp(AppsInTossContainer.bind(null, container), {
137851
137853
  appName,
137852
137854
  context,
137853
137855
  initialScheme: (0, import_native_modules14.getSchemeUri)(),
@@ -137868,11 +137870,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137868
137870
  }) {
137869
137871
  var isRNApp = getAppsInTossGlobals().webViewType == null;
137870
137872
  return (0, import_jsx_runtime14.jsx)(NavigationBarContextProvider, {
137871
- children: (0, import_jsx_runtime14.jsx)(import_analytics.Analytics.Screen, {
137872
- children: isRNApp ? (0, import_jsx_runtime14.jsx)(RNAppContainer, {
137873
+ children: isRNApp ? (0, import_jsx_runtime14.jsx)(import_analytics.Analytics.Screen, {
137874
+ children: (0, import_jsx_runtime14.jsx)(RNAppContainer, {
137873
137875
  children
137874
- }) : children
137875
- })
137876
+ })
137877
+ }) : children
137876
137878
  });
137877
137879
  }
137878
137880
  function getAppName() {
@@ -137892,22 +137894,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137892
137894
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
137893
137895
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
137894
137896
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
137895
- var import_react_native38 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137897
+ var import_react_native37 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137896
137898
  var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137897
137899
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137898
137900
  var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
137899
- var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137901
+ var import_react_native38 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137900
137902
  var import_native_modules15 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137901
137903
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
137902
137904
  var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
137903
- var import_react_native27 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137905
+ var import_react_native26 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137904
137906
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
137905
- var import_react_native25 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137907
+ var import_react_native24 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137906
137908
  var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137907
137909
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
137908
137910
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137909
137911
  var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
137910
- var import_react_native26 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137912
+ var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137911
137913
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137912
137914
  function GameWebviewNavigationBar() {
137913
137915
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
@@ -137935,7 +137937,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137935
137937
  logging.closePopupCtaClick(isConfirmed);
137936
137938
  if (isConfirmed) {
137937
137939
  captureExitLog(Date.now());
137938
- (0, import_react_native25.closeView)();
137940
+ (0, import_react_native24.closeView)();
137939
137941
  }
137940
137942
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
137941
137943
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
@@ -137943,10 +137945,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137943
137945
  preference: {
137944
137946
  type: "none"
137945
137947
  }
137946
- }), (0, import_jsx_runtime15.jsx)(import_react_native26.View, {
137948
+ }), (0, import_jsx_runtime15.jsx)(import_react_native25.View, {
137947
137949
  style: {
137948
137950
  width: "100%",
137949
- height: import_react_native26.Platform.OS === "ios" ? 44 : 54,
137951
+ height: import_react_native25.Platform.OS === "ios" ? 44 : 54,
137950
137952
  flexDirection: "row",
137951
137953
  alignItems: "center",
137952
137954
  justifyContent: "flex-end",
@@ -137970,7 +137972,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137970
137972
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
137971
137973
  var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
137972
137974
  (0, import_react19.useEffect)(() => {
137973
- if (import_react_native27.Platform.OS === "ios") {
137975
+ if (import_react_native26.Platform.OS === "ios") {
137974
137976
  (0, import_native_modules15.setIosSwipeGestureEnabled)({
137975
137977
  isEnabled: false
137976
137978
  });
@@ -137996,7 +137998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137996
137998
  });
137997
137999
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
137998
138000
  var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
137999
- var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138001
+ var import_react_native27 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138000
138002
  var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138001
138003
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138002
138004
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
@@ -138031,7 +138033,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138031
138033
  logging.closePopupCtaClick(isConfirmed);
138032
138034
  if (isConfirmed) {
138033
138035
  captureExitLog(Date.now());
138034
- (0, import_react_native28.closeView)();
138036
+ (0, import_react_native27.closeView)();
138035
138037
  }
138036
138038
  }), [captureExitLog, globals.brandDisplayName, logging, openConfirm]);
138037
138039
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
@@ -138139,19 +138141,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138139
138141
  var random = Math.random().toString(36).substring(2, 7).toUpperCase();
138140
138142
  return `ait-${timestamp}${random}`;
138141
138143
  }
138142
- var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138144
+ var import_react_native28 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138143
138145
  function getReferrer() {
138144
138146
  try {
138145
- return new URL((0, import_react_native29.getSchemeUri)()).searchParams.get("referrer");
138147
+ return new URL((0, import_react_native28.getSchemeUri)()).searchParams.get("referrer");
138146
138148
  } catch {
138147
138149
  return null;
138148
138150
  }
138149
138151
  }
138150
138152
  var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138151
- var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138153
+ var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138152
138154
  function getIsDev() {
138153
138155
  try {
138154
- return new URL((0, import_react_native30.getSchemeUri)()).searchParams.get("isDev") === "true";
138156
+ return new URL((0, import_react_native29.getSchemeUri)()).searchParams.get("isDev") === "true";
138155
138157
  } catch {
138156
138158
  return false;
138157
138159
  }
@@ -138421,14 +138423,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138421
138423
  }
138422
138424
  showFullScreenAd.isSupported = import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported;
138423
138425
  var import_native_modules19 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138424
- var import_react_native31 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138426
+ var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138425
138427
  function tossAdEventLog(_x4) {
138426
138428
  return _tossAdEventLog.apply(this, arguments);
138427
138429
  }
138428
138430
  function _tossAdEventLog() {
138429
138431
  _tossAdEventLog = _asyncToGenerator(function* (params) {
138430
138432
  var referrer = getReferrer();
138431
- var appName = import_react_native31.Granite.appName;
138433
+ var appName = import_react_native30.Granite.appName;
138432
138434
  var eventLogParams = {
138433
138435
  ...params,
138434
138436
  params: {
@@ -138590,7 +138592,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138590
138592
  }, []);
138591
138593
  return safeAreaInsetsChange;
138592
138594
  }
138593
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138595
+ var import_react_native31 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138594
138596
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138595
138597
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138596
138598
  var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -138679,7 +138681,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138679
138681
  var _useWebViewHistory = useWebViewHistory(),
138680
138682
  hasHistory = _useWebViewHistory.hasHistory,
138681
138683
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
138682
- var _ref38 = (0, import_react_native32.useBackEventState)(),
138684
+ var _ref38 = (0, import_react_native31.useBackEventState)(),
138683
138685
  webBackHandlersRef = _ref38.handlersRef,
138684
138686
  hasWebBackEvent = _ref38.hasBackEvent,
138685
138687
  addWebBackEventListener = _ref38.addEventListener,
@@ -138714,7 +138716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138714
138716
  logging.closePopupCtaClick(isConfirmed);
138715
138717
  if (isConfirmed) {
138716
138718
  captureExitLog(Date.now());
138717
- (0, import_react_native32.closeView)();
138719
+ (0, import_react_native31.closeView)();
138718
138720
  }
138719
138721
  }
138720
138722
  }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
@@ -138751,7 +138753,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138751
138753
  };
138752
138754
  }
138753
138755
  var import_native_modules20 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138754
- var import_react_native33 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138756
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138755
138757
  var FontA11yCategory = {
138756
138758
  Large: "Large",
138757
138759
  xLarge: "xLarge",
@@ -138886,7 +138888,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138886
138888
  }) {
138887
138889
  var platform = (0, import_native_modules20.getPlatformOS)();
138888
138890
  var appVersion = (0, import_native_modules20.getTossAppVersion)();
138889
- var _ref41 = (0, import_react_native33.useWindowDimensions)(),
138891
+ var _ref41 = (0, import_react_native32.useWindowDimensions)(),
138890
138892
  fontScale = _ref41.fontScale;
138891
138893
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
138892
138894
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
@@ -138894,14 +138896,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138894
138896
  return ["AppsInToss", `TossApp/${appVersion}`, batteryModePreference && `TossBatteryModePreference/${batteryModePreference}`, colorPreference && `TossColorPreference/${colorPreference}`, `TossFontAccessibility/${fontA11y}`, `TossFontScale/${normalizedFontScale}`, locale && `TossLocale/${locale}`, navbarPreference && `TossNavbarPreference/${navbarPreference}`, pureSafeArea && `TossPureSafeArea/${pureSafeArea}`, safeArea && `TossSafeArea/${safeArea}`, safeAreaBottomTransparency && `TossSafeAreaBottomTransparency/${safeAreaBottomTransparency}`, platformString].filter(Boolean).join(" ");
138895
138897
  }
138896
138898
  var import_native_modules21 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138897
- var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138899
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138898
138900
  var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
138899
138901
  function useGeolocation({
138900
138902
  accuracy,
138901
138903
  distanceInterval,
138902
138904
  timeInterval
138903
138905
  }) {
138904
- var isVisible = (0, import_react_native34.useVisibility)();
138906
+ var isVisible = (0, import_react_native33.useVisibility)();
138905
138907
  var _ref42 = (0, import_react26.useState)(null),
138906
138908
  _ref43 = _slicedToArray(_ref42, 2),
138907
138909
  location = _ref43[0],
@@ -138922,11 +138924,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138922
138924
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
138923
138925
  return location;
138924
138926
  }
138925
- var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138927
+ var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138926
138928
  var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
138927
138929
  function useWaitForReturnNavigator() {
138928
138930
  var callbacks = (0, import_react27.useRef)([]).current;
138929
- var navigation = (0, import_react_native35.useNavigation)();
138931
+ var navigation = (0, import_react_native34.useNavigation)();
138930
138932
  var startNavigating = (0, import_react27.useCallback)((route, params) => {
138931
138933
  return new Promise(resolve => {
138932
138934
  callbacks.push(resolve);
@@ -138941,7 +138943,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138941
138943
  callbacks.splice(0, callbacks.length);
138942
138944
  }
138943
138945
  }, [callbacks]);
138944
- (0, import_react_native35.useVisibilityChange)(handleVisibilityChange);
138946
+ (0, import_react_native34.useVisibilityChange)(handleVisibilityChange);
138945
138947
  return startNavigating;
138946
138948
  }
138947
138949
  function useTopNavigation() {
@@ -138954,7 +138956,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138954
138956
  };
138955
138957
  }
138956
138958
  var import_native_modules22 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138957
- var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138959
+ var import_react_native35 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138958
138960
  var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138959
138961
  function useHandleWebViewProcessDidTerminate(webViewRef) {
138960
138962
  var toast = (0, import_tds_react_native14.useToast)();
@@ -138983,7 +138985,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138983
138985
  log_type: "debug",
138984
138986
  params: {
138985
138987
  ...params,
138986
- app_name: import_react_native36.Granite.appName,
138988
+ app_name: import_react_native35.Granite.appName,
138987
138989
  deployment_id: global2.deploymentId
138988
138990
  }
138989
138991
  };
@@ -138994,7 +138996,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138994
138996
  }
138995
138997
  }
138996
138998
  var import_native_modules23 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138997
- var import_react_native37 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138999
+ var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138998
139000
  var extractDateFromUUIDv7 = uuid => {
138999
139001
  var timestampHex = uuid.split("-").join("").slice(0, 12);
139000
139002
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -139016,13 +139018,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139016
139018
  };
139017
139019
  var getReferrer2 = () => {
139018
139020
  try {
139019
- var referrer = new URL((0, import_react_native37.getSchemeUri)());
139021
+ var referrer = new URL((0, import_react_native36.getSchemeUri)());
139020
139022
  return referrer.searchParams.get("referrer");
139021
139023
  } catch {
139022
139024
  return "";
139023
139025
  }
139024
139026
  };
139025
- var trackScreen = url => {
139027
+ var trackScreen = (url, title) => {
139026
139028
  var _getGroupId = getGroupId(url),
139027
139029
  groupId = _getGroupId.groupId,
139028
139030
  search = _getGroupId.search;
@@ -139032,6 +139034,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139032
139034
  params: {
139033
139035
  search,
139034
139036
  referrer: getReferrer2(),
139037
+ document_title: title,
139035
139038
  deployment_id: env.getDeploymentId(),
139036
139039
  deployment_timestamp: extractDateFromUUIDv7(env.getDeploymentId()).getTime()
139037
139040
  }
@@ -139048,7 +139051,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139048
139051
  };
139049
139052
  function mergeSchemeQueryParamsInto(url) {
139050
139053
  var baseUrl = new URL(url);
139051
- var schemeUrl = new URL((0, import_react_native38.getSchemeUri)());
139054
+ var schemeUrl = new URL((0, import_react_native37.getSchemeUri)());
139052
139055
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139053
139056
  for (var _ref44 of baseUrl.searchParams.entries()) {
139054
139057
  var _ref45 = _slicedToArray(_ref44, 2);
@@ -139219,10 +139222,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139219
139222
  memoryDebugLog: webViewMemoryDebugLog,
139220
139223
  debugLog: function () {
139221
139224
  var _ref53 = _asyncToGenerator(function* (event) {
139222
- import_react_native39.NativeModules.AppsInTossModule?.eventLog(event);
139223
- import_react_native39.NativeModules.TossCoreModule?.eventLog({
139224
- params: event
139225
- });
139225
+ (0, import_native_modules24.eventLog)(event);
139226
+ import_native_modules24.INTERNAL__module.tossCoreEventLog(event);
139226
139227
  });
139227
139228
  return function debugLog(_x8) {
139228
139229
  return _ref53.apply(this, arguments);
@@ -139256,7 +139257,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139256
139257
  webBackHandler.handleWebBack();
139257
139258
  return true;
139258
139259
  };
139259
- var subscription = import_react_native39.BackHandler.addEventListener("hardwareBackPress", callback);
139260
+ var subscription = import_react_native38.BackHandler.addEventListener("hardwareBackPress", callback);
139260
139261
  return () => subscription.remove();
139261
139262
  }, [webBackHandler]);
139262
139263
  var handleWebViewProcessDidTerminate = useHandleWebViewProcessDidTerminate(webViewRef);
@@ -139274,19 +139275,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139274
139275
  onBackButtonClick: webBackHandler.handleWebBack,
139275
139276
  onNavigationStateChange: event => {
139276
139277
  if (event.url) {
139277
- trackScreen(event.url);
139278
+ trackScreen(event.url, event.title);
139278
139279
  }
139279
139280
  props.onNavigationStateChange?.(event);
139280
139281
  webBackHandler.onNavigationStateChange(event);
139281
139282
  },
139282
- userAgent: import_react_native39.Platform.OS === "ios" ? userAgent : void 0,
139283
+ userAgent: import_react_native38.Platform.OS === "ios" ? userAgent : void 0,
139283
139284
  sharedCookiesEnabled: true,
139284
139285
  webviewDebuggingEnabled: webViewDebuggingEnabled,
139285
139286
  thirdPartyCookiesEnabled: true,
139286
139287
  onMessage: handler.onMessage,
139287
139288
  injectedJavaScript: import_user_scripts.afterDocumentLoad,
139288
139289
  injectedJavaScriptBeforeContentLoaded: [handler.injectedJavaScript, import_user_scripts.beforeDocumentLoad].join("\n"),
139289
- decelerationRate: import_react_native39.Platform.OS === "ios" ? 1 : void 0,
139290
+ decelerationRate: import_react_native38.Platform.OS === "ios" ? 1 : void 0,
139290
139291
  allowsBackForwardNavigationGestures,
139291
139292
  onShouldStartLoadWithRequest: event => {
139292
139293
  try {
@@ -139294,7 +139295,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139294
139295
  if (["https:", "http:"].includes(url2.protocol) || url2.href === "about:blank") {
139295
139296
  return true;
139296
139297
  } else {
139297
- import_react_native39.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139298
+ import_react_native38.Linking.openURL(convertIntentURL(url2) ?? url2.href);
139298
139299
  return false;
139299
139300
  }
139300
139301
  } catch (error) {
@@ -139312,9 +139313,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139312
139313
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"), module.exports);
139313
139314
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
139314
139315
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
139315
- var import_react_native43 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139316
+ var import_react_native42 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139316
139317
  var import_react31 = _$$_REQUIRE(_dependencyMap[9], "react");
139317
- var import_react_native44 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139318
+ var import_react_native43 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139318
139319
  var SDK_ID = "106";
139319
139320
  var LIST_BANNER_STYLE_ID = "1";
139320
139321
  var NATIVE_IMAGE_STYLE_ID = "2";
@@ -139591,7 +139592,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139591
139592
  });
139592
139593
  return _loadAd.apply(this, arguments);
139593
139594
  }
139594
- var import_react_native40 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139595
+ var import_react_native39 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139595
139596
  function isSafeUrl(url) {
139596
139597
  try {
139597
139598
  var parsed = new URL(url);
@@ -139607,7 +139608,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139607
139608
  return;
139608
139609
  }
139609
139610
  try {
139610
- (0, import_react_native40.openURL)(getWebSchemeOrUri(url));
139611
+ (0, import_react_native39.openURL)(getWebSchemeOrUri(url));
139611
139612
  } catch (error) {
139612
139613
  console.error("[InlineAd] Failed to open landing URL:", error);
139613
139614
  }
@@ -139716,7 +139717,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139716
139717
  }();
139717
139718
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
139718
139719
  var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
139719
- var import_react_native41 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139720
+ var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
139720
139721
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
139721
139722
  var ARROW_PATH = "m7.5 20.4c-.5-.5-.5-1.2 0-1.7l6.7-6.7-6.8-6.7c-.5-.5-.5-1.2 0-1.7s1.2-.5 1.7 0l7.5 7.5c.5.5.5 1.2 0 1.7l-7.5 7.5c-.2.3-.5.4-.8.4s-.6-.1-.8-.3z";
139722
139723
  function FeedBannerAdView({
@@ -139734,12 +139735,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139734
139735
  paddingStyle,
139735
139736
  onPress
139736
139737
  }) {
139737
- var scale = (0, import_react29.useRef)(new import_react_native41.Animated.Value(1)).current;
139738
+ var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
139738
139739
  var animateScale = toValue => {
139739
- import_react_native41.Animated.timing(scale, {
139740
+ import_react_native40.Animated.timing(scale, {
139740
139741
  toValue,
139741
139742
  duration: 100,
139742
- easing: import_react_native41.Easing.inOut(import_react_native41.Easing.ease),
139743
+ easing: import_react_native40.Easing.inOut(import_react_native40.Easing.ease),
139743
139744
  useNativeDriver: true
139744
139745
  }).start();
139745
139746
  };
@@ -139751,59 +139752,59 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139751
139752
  };
139752
139753
  var resolvedCtaBackground = ctaBackgroundColor ?? "#3081F9";
139753
139754
  var resolvedCtaTextColor = ctaTextColor ?? "#ffffff";
139754
- return (0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139755
+ return (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139755
139756
  accessibilityRole: "button",
139756
139757
  onPress: () => onPress(null),
139757
139758
  onPressIn: handlePressIn,
139758
139759
  onPressOut: handlePressOut,
139759
139760
  style: styles.pressable,
139760
- children: (0, import_jsx_runtime20.jsxs)(import_react_native41.Animated.View, {
139761
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native40.Animated.View, {
139761
139762
  style: [styles.container, paddingStyle, {
139762
139763
  transform: [{
139763
139764
  scale
139764
139765
  }]
139765
139766
  }],
139766
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139767
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139767
139768
  style: styles.profileContainer,
139768
- children: [(0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139769
+ children: [(0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139769
139770
  style: styles.brandArea,
139770
- children: [(0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139771
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139771
139772
  accessibilityRole: "button",
139772
139773
  onPress: () => onPress("202"),
139773
139774
  onPressIn: handlePressIn,
139774
139775
  onPressOut: handlePressOut,
139775
139776
  style: styles.logoContainer,
139776
- children: (0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139777
+ children: (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139777
139778
  style: [styles.logoWrapper, {
139778
139779
  backgroundColor: colors.brandLogoBg
139779
139780
  }],
139780
- children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native41.Image, {
139781
+ children: [brandLogoUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
139781
139782
  source: {
139782
139783
  uri: brandLogoUri
139783
139784
  },
139784
139785
  style: styles.logoImage,
139785
139786
  resizeMode: "cover"
139786
- }) : null, (0, import_jsx_runtime20.jsx)(import_react_native41.View, {
139787
+ }) : null, (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
139787
139788
  style: [styles.logoOverlay, {
139788
139789
  borderColor: colors.brandLogoBorder
139789
139790
  }]
139790
139791
  })]
139791
139792
  })
139792
- }), (0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139793
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139793
139794
  style: styles.brandTextContainer,
139794
- children: [(0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139795
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139795
139796
  accessibilityRole: "button",
139796
139797
  onPress: () => onPress("103"),
139797
139798
  onPressIn: handlePressIn,
139798
139799
  onPressOut: handlePressOut,
139799
- children: (0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139800
+ children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139800
139801
  numberOfLines: 1,
139801
139802
  style: [styles.brandName, {
139802
139803
  color: colors.brandName
139803
139804
  }],
139804
139805
  children: brandName
139805
139806
  })
139806
- }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139807
+ }), isAdBadgeEnabled ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139807
139808
  numberOfLines: 1,
139808
139809
  style: [styles.adBadge, {
139809
139810
  color: colors.adBadge
@@ -139811,25 +139812,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139811
139812
  children: "\uAD11\uACE0"
139812
139813
  }) : null]
139813
139814
  })]
139814
- }), (0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139815
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139815
139816
  style: styles.textArea,
139816
- children: [(0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139817
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139817
139818
  accessibilityRole: "button",
139818
139819
  onPress: () => onPress("101"),
139819
139820
  onPressIn: handlePressIn,
139820
139821
  onPressOut: handlePressOut,
139821
- children: (0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139822
+ children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139822
139823
  style: [styles.title, {
139823
139824
  color: colors.title
139824
139825
  }],
139825
139826
  children: title
139826
139827
  })
139827
- }), (0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139828
+ }), (0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139828
139829
  accessibilityRole: "button",
139829
139830
  onPress: () => onPress("102"),
139830
139831
  onPressIn: handlePressIn,
139831
139832
  onPressOut: handlePressOut,
139832
- children: (0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139833
+ children: (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139833
139834
  style: [styles.subtitle, {
139834
139835
  color: colors.subtitle
139835
139836
  }],
@@ -139837,17 +139838,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139837
139838
  })
139838
139839
  })]
139839
139840
  })]
139840
- }), (0, import_jsx_runtime20.jsxs)(import_react_native41.View, {
139841
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native40.View, {
139841
139842
  style: styles.card,
139842
- children: [(0, import_jsx_runtime20.jsx)(import_react_native41.Pressable, {
139843
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Pressable, {
139843
139844
  accessibilityRole: "button",
139844
139845
  onPress: () => onPress("201"),
139845
139846
  onPressIn: handlePressIn,
139846
139847
  onPressOut: handlePressOut,
139847
139848
  style: styles.imageButton,
139848
- children: (0, import_jsx_runtime20.jsx)(import_react_native41.View, {
139849
+ children: (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
139849
139850
  style: styles.imageContainer,
139850
- children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native41.Image, {
139851
+ children: mainImageUri ? (0, import_jsx_runtime20.jsx)(import_react_native40.Image, {
139851
139852
  source: {
139852
139853
  uri: mainImageUri
139853
139854
  },
@@ -139855,7 +139856,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139855
139856
  resizeMode: "cover"
139856
139857
  }) : null
139857
139858
  })
139858
- }), (0, import_jsx_runtime20.jsxs)(import_react_native41.Pressable, {
139859
+ }), (0, import_jsx_runtime20.jsxs)(import_react_native40.Pressable, {
139859
139860
  accessibilityRole: "button",
139860
139861
  onPress: () => onPress("0"),
139861
139862
  onPressIn: handlePressIn,
@@ -139863,7 +139864,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139863
139864
  style: [styles.cta, {
139864
139865
  backgroundColor: resolvedCtaBackground
139865
139866
  }],
139866
- children: [(0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139867
+ children: [(0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139867
139868
  style: [styles.ctaText, {
139868
139869
  color: resolvedCtaTextColor
139869
139870
  }],
@@ -139877,12 +139878,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139877
139878
  fill: resolvedCtaTextColor
139878
139879
  })
139879
139880
  })]
139880
- }), (0, import_jsx_runtime20.jsx)(import_react_native41.View, {
139881
+ }), (0, import_jsx_runtime20.jsx)(import_react_native40.View, {
139881
139882
  style: [styles.cardOverlay, {
139882
139883
  borderColor: colors.imageOverlayBorder
139883
139884
  }]
139884
139885
  })]
139885
- }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native41.Text, {
139886
+ }), adClearanceText ? (0, import_jsx_runtime20.jsx)(import_react_native40.Text, {
139886
139887
  style: [styles.adClearance, {
139887
139888
  color: colors.adClearance
139888
139889
  }],
@@ -139891,7 +139892,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139891
139892
  })
139892
139893
  });
139893
139894
  }
139894
- var styles = import_react_native41.StyleSheet.create({
139895
+ var styles = import_react_native40.StyleSheet.create({
139895
139896
  pressable: {
139896
139897
  width: "100%"
139897
139898
  },
@@ -139930,7 +139931,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139930
139931
  borderRadius: 18
139931
139932
  },
139932
139933
  logoOverlay: {
139933
- ...import_react_native41.StyleSheet.absoluteFillObject,
139934
+ ...import_react_native40.StyleSheet.absoluteFillObject,
139934
139935
  borderWidth: 1,
139935
139936
  borderRadius: 18
139936
139937
  },
@@ -139993,7 +139994,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139993
139994
  lineHeight: 22.5
139994
139995
  },
139995
139996
  cardOverlay: {
139996
- ...import_react_native41.StyleSheet.absoluteFillObject,
139997
+ ...import_react_native40.StyleSheet.absoluteFillObject,
139997
139998
  borderWidth: 2,
139998
139999
  borderRadius: 12,
139999
140000
  pointerEvents: "none"
@@ -140006,7 +140007,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140006
140007
  });
140007
140008
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140008
140009
  var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
140009
- var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140010
+ var import_react_native41 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140010
140011
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140011
140012
  var SQUIRCLE_PATH = "M0 17.352C0 3.564 3.564 0 17.352 0H18.648C32.436 0 36 3.564 36 17.352V18.648C36 32.436 32.436 36 18.648 36H17.352C3.564 36 0 32.436 0 18.648V17.352Z";
140012
140013
  function ListBannerAdView({
@@ -140019,13 +140020,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140019
140020
  colors,
140020
140021
  onPress
140021
140022
  }) {
140022
- var scale = (0, import_react30.useRef)(new import_react_native42.Animated.Value(1)).current;
140023
+ var scale = (0, import_react30.useRef)(new import_react_native41.Animated.Value(1)).current;
140023
140024
  var clipIdRef = (0, import_react30.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140024
140025
  var animateScale = toValue => {
140025
- import_react_native42.Animated.timing(scale, {
140026
+ import_react_native41.Animated.timing(scale, {
140026
140027
  toValue,
140027
140028
  duration: 100,
140028
- easing: import_react_native42.Easing.inOut(import_react_native42.Easing.ease),
140029
+ easing: import_react_native41.Easing.inOut(import_react_native41.Easing.ease),
140029
140030
  useNativeDriver: true
140030
140031
  }).start();
140031
140032
  };
@@ -140035,21 +140036,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140035
140036
  var handlePressOut = () => {
140036
140037
  animateScale(1);
140037
140038
  };
140038
- return (0, import_jsx_runtime21.jsx)(import_react_native42.Pressable, {
140039
+ return (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140039
140040
  accessibilityRole: "button",
140040
140041
  onPress: () => onPress(null),
140041
140042
  onPressIn: handlePressIn,
140042
140043
  onPressOut: handlePressOut,
140043
140044
  style: styles2.pressable,
140044
- children: (0, import_jsx_runtime21.jsxs)(import_react_native42.Animated.View, {
140045
+ children: (0, import_jsx_runtime21.jsxs)(import_react_native41.Animated.View, {
140045
140046
  style: [styles2.container, paddingStyle, {
140046
140047
  transform: [{
140047
140048
  scale
140048
140049
  }]
140049
140050
  }],
140050
- children: [(0, import_jsx_runtime21.jsxs)(import_react_native42.View, {
140051
+ children: [(0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140051
140052
  style: styles2.titleRow,
140052
- children: [(0, import_jsx_runtime21.jsx)(import_react_native42.Pressable, {
140053
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140053
140054
  accessibilityRole: "button",
140054
140055
  onPress: () => onPress("202"),
140055
140056
  onPressIn: handlePressIn,
@@ -140085,25 +140086,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140085
140086
  clipPath: `url(#${clipIdRef.current})`
140086
140087
  })]
140087
140088
  })
140088
- }), (0, import_jsx_runtime21.jsxs)(import_react_native42.View, {
140089
+ }), (0, import_jsx_runtime21.jsxs)(import_react_native41.View, {
140089
140090
  style: styles2.textWrapper,
140090
- children: [(0, import_jsx_runtime21.jsx)(import_react_native42.Pressable, {
140091
+ children: [(0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140091
140092
  accessibilityRole: "button",
140092
140093
  onPress: () => onPress("101"),
140093
140094
  onPressIn: handlePressIn,
140094
140095
  onPressOut: handlePressOut,
140095
- children: (0, import_jsx_runtime21.jsx)(import_react_native42.Text, {
140096
+ children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140096
140097
  style: [styles2.title, {
140097
140098
  color: colors.title
140098
140099
  }],
140099
140100
  children: title
140100
140101
  })
140101
- }), (0, import_jsx_runtime21.jsx)(import_react_native42.Pressable, {
140102
+ }), (0, import_jsx_runtime21.jsx)(import_react_native41.Pressable, {
140102
140103
  accessibilityRole: "button",
140103
140104
  onPress: () => onPress("102"),
140104
140105
  onPressIn: handlePressIn,
140105
140106
  onPressOut: handlePressOut,
140106
- children: (0, import_jsx_runtime21.jsx)(import_react_native42.Text, {
140107
+ children: (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140107
140108
  style: [styles2.subtitle, {
140108
140109
  color: colors.subtitle
140109
140110
  }],
@@ -140111,7 +140112,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140111
140112
  })
140112
140113
  })]
140113
140114
  })]
140114
- }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native42.Text, {
140115
+ }), adClearanceText ? (0, import_jsx_runtime21.jsx)(import_react_native41.Text, {
140115
140116
  style: [styles2.adClearance, {
140116
140117
  color: colors.adClearance,
140117
140118
  fontSize: adClearanceFontSize,
@@ -140122,7 +140123,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140122
140123
  })
140123
140124
  });
140124
140125
  }
140125
- var styles2 = import_react_native42.StyleSheet.create({
140126
+ var styles2 = import_react_native41.StyleSheet.create({
140126
140127
  pressable: {
140127
140128
  width: "100%"
140128
140129
  },
@@ -140359,7 +140360,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140359
140360
  onNoFill
140360
140361
  });
140361
140362
  var isMountedRef = (0, import_react31.useRef)(false);
140362
- var colorScheme = (0, import_react_native44.useColorScheme)();
140363
+ var colorScheme = (0, import_react_native43.useColorScheme)();
140363
140364
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
140364
140365
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
140365
140366
  var resolvedTone = tone ?? DEFAULT_INLINE_AD_TONE;
@@ -140442,7 +140443,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140442
140443
  loadRef.current = null;
140443
140444
  };
140444
140445
  }, [adGroupId]);
140445
- (0, import_react_native43.useVisibilityChange)(documentVisibility => {
140446
+ (0, import_react_native42.useVisibilityChange)(documentVisibility => {
140446
140447
  if (documentVisibility !== "visible") {
140447
140448
  return;
140448
140449
  }
@@ -140540,23 +140541,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140540
140541
  callbacksRef.current.onAdClicked?.(basePayload);
140541
140542
  }
140542
140543
  };
140543
- return (0, import_jsx_runtime22.jsx)(import_react_native43.ImpressionArea, {
140544
+ return (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140544
140545
  style: styles3.impressionArea,
140545
140546
  onImpressionStart: handleImpression1px,
140546
140547
  areaThreshold: 0,
140547
140548
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140548
- children: (0, import_jsx_runtime22.jsx)(import_react_native43.ImpressionArea, {
140549
+ children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140549
140550
  onImpressionStart: handleImpression100p,
140550
140551
  areaThreshold: 1,
140551
140552
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140552
- children: (0, import_jsx_runtime22.jsx)(import_react_native43.ImpressionArea, {
140553
+ children: (0, import_jsx_runtime22.jsx)(import_react_native42.ImpressionArea, {
140553
140554
  onImpressionStart: handleViewableStart,
140554
140555
  onImpressionEnd: handleViewableEnd,
140555
140556
  areaThreshold: 0.5,
140556
140557
  UNSAFE__impressFallbackOnMount: Boolean(impressFallbackOnMount),
140557
- children: (0, import_jsx_runtime22.jsx)(import_react_native44.View, {
140558
+ children: (0, import_jsx_runtime22.jsx)(import_react_native43.View, {
140558
140559
  style: [styles3.wrapper, resolvedVariant === "card" && styles3.cardWrapper],
140559
- children: (0, import_jsx_runtime22.jsxs)(import_react_native44.View, {
140560
+ children: (0, import_jsx_runtime22.jsxs)(import_react_native43.View, {
140560
140561
  style: [styles3.surface, {
140561
140562
  backgroundColor
140562
140563
  }, resolvedVariant === "card" && styles3.cardSurface],
@@ -140590,7 +140591,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140590
140591
  })
140591
140592
  }, impressionKey);
140592
140593
  }
140593
- var styles3 = import_react_native44.StyleSheet.create({
140594
+ var styles3 = import_react_native43.StyleSheet.create({
140594
140595
  impressionArea: {
140595
140596
  width: "100%"
140596
140597
  },