@apps-in-toss/web-framework 2.6.0 → 2.6.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.
@@ -137211,7 +137211,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137211
137211
  var import_analytics = _$$_REQUIRE(_dependencyMap[4], "@apps-in-toss/analytics");
137212
137212
  var import_native_modules10 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137213
137213
  var import_react_native21 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137214
- var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137214
+ var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137215
137215
  var import_react_native22 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137216
137216
  var import_react_native2 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137217
137217
  var import_react = _$$_REQUIRE(_dependencyMap[9], "react");
@@ -137325,7 +137325,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137325
137325
  return context;
137326
137326
  }
137327
137327
  var import_native_modules9 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137328
- var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
137328
+ var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
137329
137329
  var import_react_native20 = _$$_REQUIRE(_dependencyMap[8], "react-native");
137330
137330
  var import_native_modules4 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
137331
137331
  var import_react_native9 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -137816,32 +137816,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137816
137816
  }, [handler]);
137817
137817
  }
137818
137818
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137819
- var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
137820
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137821
- var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
137822
137819
  var import_react12 = _$$_REQUIRE(_dependencyMap[9], "react");
137823
- function useCloseConfirm() {
137824
- var _getAppsInTossGlobals = getAppsInTossGlobals(),
137825
- brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
137826
- var _ref19 = (0, import_tds_react_native5.useDialog)(),
137827
- openConfirm = _ref19.openConfirm;
137828
- return (0, import_react12.useCallback)(function () {
137829
- var _ref20 = _asyncToGenerator(function* ({
137830
- onEntered
137831
- }) {
137832
- return yield openConfirm({
137833
- title: `${(0, import_es_hangul2.josa)(brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
137834
- leftButton: "\uB2EB\uAE30",
137835
- rightButton: "\uC885\uB8CC\uD558\uAE30",
137836
- closeOnDimmerClick: true,
137837
- onEntered
137838
- });
137839
- });
137840
- return function (_x3) {
137841
- return _ref20.apply(this, arguments);
137842
- };
137843
- }(), [brandDisplayName, openConfirm]);
137844
- }
137845
137820
  var EventEmitter = function () {
137846
137821
  function EventEmitter() {
137847
137822
  _classCallCheck(this, EventEmitter);
@@ -137893,12 +137868,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137893
137868
  var import_react_native12 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
137894
137869
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
137895
137870
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
137896
- var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
137897
- var CLOSE_POPUP_SHOW_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app";
137898
137871
  var CLOSE_BUTTON_CLICK_SCHEMA_ID = 1596831;
137899
137872
  var CLOSE_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_close";
137900
- var CLOSE_POPUP_CTA_CLICK_SCHEMA_ID = 1644492;
137901
- var CLOSE_POPUP_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::popup__close_app::click__cta";
137902
137873
  var HOME_BUTTON_CLICK_SCHEMA_ID = 1596839;
137903
137874
  var HOME_BUTTON_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::click__icon_home";
137904
137875
  function useNavigationBarLogging() {
@@ -137941,32 +137912,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137941
137912
  }
137942
137913
  });
137943
137914
  };
137944
- var logClosePopupShow = () => {
137945
- sendLog({
137946
- log_name: CLOSE_POPUP_SHOW_LOG_NAME,
137947
- log_type: "popup",
137948
- params: {
137949
- ...baseParams,
137950
- schema_id: CLOSE_POPUP_SHOW_SCHEMA_ID
137951
- }
137952
- });
137953
- };
137954
- var logClosePopupCtaClick = confirm => {
137955
- sendLog({
137956
- log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
137957
- log_type: "event",
137958
- params: {
137959
- ...baseParams,
137960
- close_yn: confirm ? "Y" : "N",
137961
- schema_id: CLOSE_POPUP_CTA_CLICK_SCHEMA_ID,
137962
- event_type: "click"
137963
- }
137964
- });
137965
- };
137966
137915
  return {
137967
137916
  navBarImpression: logNavBarImpression,
137968
- closePopupShow: logClosePopupShow,
137969
- closePopupCtaClick: logClosePopupCtaClick,
137970
137917
  closeButtonClick: logCloseButtonClick,
137971
137918
  homeButtonClick: logHomeButtonClick
137972
137919
  };
@@ -137975,56 +137922,39 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
137975
137922
  var backEventContext = (0, import_react_native13.useBackEventContext)();
137976
137923
  var logging = useNavigationBarLogging();
137977
137924
  var navigation = (0, import_react_native13.useNavigation)();
137978
- var closeConfirm = useCloseConfirm();
137979
- return (0, import_react13.useMemo)(() => {
137980
- var close = function () {
137981
- var _ref21 = _asyncToGenerator(function* () {
137982
- var hasConfirmed = yield closeConfirm({
137983
- onEntered: logging.closePopupShow
137984
- });
137985
- logging.closePopupCtaClick(hasConfirmed);
137986
- if (hasConfirmed) {
137987
- (0, import_react_native13.closeView)();
137988
- }
137989
- });
137990
- return function close() {
137991
- return _ref21.apply(this, arguments);
137992
- };
137993
- }();
137994
- return {
137995
- handleBack: () => {
137996
- if (backEventContext.hasBackEvent) {
137997
- backEventContext.onBack();
137998
- } else if (navigation.canGoBack()) {
137999
- navigation.goBack();
138000
- } else {
138001
- close();
138002
- }
138003
- },
138004
- handleHomeButtonClick: () => {
138005
- logging.homeButtonClick();
138006
- if (homeEvent.hasSubscriptions()) {
138007
- homeEvent.emit({});
138008
- } else {
138009
- navigation.navigate("/");
138010
- }
138011
- },
138012
- handleCloseButtonClick: () => {
138013
- logging.closeButtonClick();
138014
- close();
137925
+ return (0, import_react12.useMemo)(() => ({
137926
+ handleBack: () => {
137927
+ if (backEventContext.hasBackEvent) {
137928
+ backEventContext.onBack();
137929
+ } else if (navigation.canGoBack()) {
137930
+ navigation.goBack();
137931
+ } else {
137932
+ (0, import_react_native13.closeView)();
138015
137933
  }
138016
- };
138017
- }, [backEventContext, navigation, closeConfirm, logging]);
137934
+ },
137935
+ handleHomeButtonClick: () => {
137936
+ logging.homeButtonClick();
137937
+ if (homeEvent.hasSubscriptions()) {
137938
+ homeEvent.emit({});
137939
+ } else {
137940
+ navigation.navigate("/");
137941
+ }
137942
+ },
137943
+ handleCloseButtonClick: () => {
137944
+ logging.closeButtonClick();
137945
+ (0, import_react_native13.closeView)();
137946
+ }
137947
+ }), [backEventContext, navigation, logging]);
138018
137948
  }
138019
137949
  var import_native_modules8 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138020
137950
  var import_react_native18 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138021
- var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137951
+ var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138022
137952
  var import_private4 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138023
- var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
137953
+ var import_react13 = _$$_REQUIRE(_dependencyMap[9], "react");
138024
137954
  var import_native_modules5 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138025
137955
  var import_react_native16 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138026
- var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138027
137956
  var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
137957
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138028
137958
  var import_private3 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138029
137959
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138030
137960
  var import_react_native14 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
@@ -138107,7 +138037,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138107
138037
  var logging = useMoreButtonBottomSheetLogging();
138108
138038
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
138109
138039
  var iconBackgroundColor = brandPrimaryColorRGB ? `rgba(${brandPrimaryColorRGB.join(",")},0.1)` : adaptive.grey100;
138110
- return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
138040
+ return (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow, {
138111
138041
  left: (0, import_jsx_runtime5.jsx)(import_react_native15.View, {
138112
138042
  style: {
138113
138043
  width: 30,
@@ -138119,14 +138049,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138119
138049
  marginRight: 16,
138120
138050
  backgroundColor: iconBackgroundColor
138121
138051
  },
138122
- children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Icon, {
138052
+ children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Icon, {
138123
138053
  frameShape: {
138124
138054
  width: 20,
138125
138055
  height: 20
138126
138056
  },
138127
138057
  color: globals.brandPrimaryColor,
138128
138058
  name: iconName
138129
- }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Image, {
138059
+ }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native5.Asset.Image, {
138130
138060
  frameShape: {
138131
138061
  width: 20,
138132
138062
  height: 20
@@ -138136,7 +138066,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138136
138066
  }
138137
138067
  })
138138
138068
  }),
138139
- contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow.Texts, {
138069
+ contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native5.ListRow.Texts, {
138140
138070
  type: "1RowTypeA",
138141
138071
  top: title,
138142
138072
  topProps: {
@@ -138172,10 +138102,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138172
138102
  }
138173
138103
  function addParamsToUrl(url, params) {
138174
138104
  var urlObj = new URL(url);
138175
- for (var _ref22 of Object.entries(params)) {
138176
- var _ref23 = _slicedToArray(_ref22, 2);
138177
- var key = _ref23[0];
138178
- var value = _ref23[1];
138105
+ for (var _ref19 of Object.entries(params)) {
138106
+ var _ref20 = _slicedToArray(_ref19, 2);
138107
+ var key = _ref20[0];
138108
+ var value = _ref20[1];
138179
138109
  urlObj.searchParams.set(key, value);
138180
138110
  }
138181
138111
  return urlObj.toString();
@@ -138189,8 +138119,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138189
138119
  function AppShareListMenu() {
138190
138120
  var initialScheme = (0, import_react_native16.getSchemeUri)();
138191
138121
  var isSandbox = (0, import_native_modules5.getOperationalEnvironment)() === "sandbox";
138192
- var _ref24 = (0, import_tds_react_native7.useDialog)(),
138193
- openConfirm = _ref24.openConfirm;
138122
+ var _ref21 = (0, import_tds_react_native6.useDialog)(),
138123
+ openConfirm = _ref21.openConfirm;
138194
138124
  var schemeForShare = addParamsToUrl(initialScheme, {
138195
138125
  referrer: SHARE_SCHEME_REFERRER
138196
138126
  });
@@ -138280,10 +138210,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138280
138210
  function useMoreButtonBottomSheet() {
138281
138211
  var globals = getAppsInTossGlobals();
138282
138212
  var adaptive = (0, import_private4.useAdaptive)();
138283
- var _ref25 = (0, import_react14.useState)([]),
138284
- _ref26 = _slicedToArray(_ref25, 2),
138285
- itemList = _ref26[0],
138286
- setItemList = _ref26[1];
138213
+ var _ref22 = (0, import_react13.useState)([]),
138214
+ _ref23 = _slicedToArray(_ref22, 2),
138215
+ itemList = _ref23[0],
138216
+ setItemList = _ref23[1];
138287
138217
  var appUpdateDialog = useAppUpdateDialog();
138288
138218
  var logging = useMoreButtonBottomSheetLogging();
138289
138219
  var overlay = (0, import_private4.useOverlay)();
@@ -138292,7 +138222,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138292
138222
  var isBottomSheetSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
138293
138223
  var isShareListMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
138294
138224
  var isSettingsMenuSupported = (0, import_native_modules8.isMinVersionSupported)(MIN_VERSION.SETTINGS_MENU);
138295
- (0, import_react14.useEffect)(() => {
138225
+ (0, import_react13.useEffect)(() => {
138296
138226
  if (!isBottomSheetSupported) {
138297
138227
  return;
138298
138228
  }
@@ -138304,7 +138234,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138304
138234
  });
138305
138235
  }, [isBottomSheetSupported]);
138306
138236
  var onClickHandler = function () {
138307
- var _ref27 = _asyncToGenerator(function* () {
138237
+ var _ref24 = _asyncToGenerator(function* () {
138308
138238
  logging.open();
138309
138239
  if (!isBottomSheetSupported) {
138310
138240
  yield appUpdateDialog.open({
@@ -138323,9 +138253,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138323
138253
  close();
138324
138254
  };
138325
138255
  return (0, import_jsx_runtime9.jsx)(BottomSheetImpressionArea, {
138326
- children: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.Root, {
138327
- header: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader, {
138328
- title: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
138256
+ children: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.Root, {
138257
+ header: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader, {
138258
+ title: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.ListHeader.TitleParagraph, {
138329
138259
  color: adaptive.grey800,
138330
138260
  fontWeight: "bold",
138331
138261
  typography: "t5",
@@ -138333,7 +138263,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138333
138263
  })
138334
138264
  }),
138335
138265
  open: isOpen,
138336
- cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native8.BottomSheet.CTA, {
138266
+ cta: (0, import_jsx_runtime9.jsx)(import_tds_react_native7.BottomSheet.CTA, {
138337
138267
  size: "large",
138338
138268
  type: "dark",
138339
138269
  style: "weak",
@@ -138344,7 +138274,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138344
138274
  }),
138345
138275
  onClose: handleClose,
138346
138276
  onExited: exit,
138347
- children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native8.List, {
138277
+ children: (0, import_jsx_runtime9.jsxs)(import_tds_react_native7.List, {
138348
138278
  rowSeparator: "none",
138349
138279
  children: [itemList.map(item => (0, import_jsx_runtime9.jsx)(Menu, {
138350
138280
  title: item.contactItemName,
@@ -138357,7 +138287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138357
138287
  });
138358
138288
  });
138359
138289
  return function onClickHandler() {
138360
- return _ref27.apply(this, arguments);
138290
+ return _ref24.apply(this, arguments);
138361
138291
  };
138362
138292
  }();
138363
138293
  return {
@@ -138368,7 +138298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138368
138298
  children
138369
138299
  }) {
138370
138300
  var logging = useMoreButtonBottomSheetLogging();
138371
- (0, import_react14.useEffect)(() => {
138301
+ (0, import_react13.useEffect)(() => {
138372
138302
  logging.show();
138373
138303
  }, [logging]);
138374
138304
  return (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {
@@ -138384,15 +138314,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138384
138314
  name: source
138385
138315
  };
138386
138316
  }
138387
- var import_react15 = _$$_REQUIRE(_dependencyMap[9], "react");
138317
+ var import_react14 = _$$_REQUIRE(_dependencyMap[9], "react");
138388
138318
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138389
138319
  function NavigationBarImpressionArea({
138390
138320
  children,
138391
138321
  withHomeButton
138392
138322
  }) {
138393
- var hasLogged = (0, import_react15.useRef)(false);
138323
+ var hasLogged = (0, import_react14.useRef)(false);
138394
138324
  var logging = useNavigationBarLogging();
138395
- (0, import_react15.useEffect)(() => {
138325
+ (0, import_react14.useEffect)(() => {
138396
138326
  if (hasLogged.current === false) {
138397
138327
  logging.navBarImpression({
138398
138328
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -138439,7 +138369,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138439
138369
  });
138440
138370
  }
138441
138371
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138442
- var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138372
+ var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138443
138373
  var import_private6 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138444
138374
  var import_react_native19 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138445
138375
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
@@ -138450,11 +138380,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138450
138380
  var navigationEvent = useNavigationEvent();
138451
138381
  var _useNavigationBarCont2 = useNavigationBarContext(),
138452
138382
  navigationRightButton = _useNavigationBarCont2.navigationRightButton;
138453
- var _ref28 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138454
- safeAreaRight = _ref28.right;
138383
+ var _ref25 = (0, import_react_native_safe_area_context.useSafeAreaInsets)(),
138384
+ safeAreaRight = _ref25.right;
138455
138385
  useHardwareBackPress(navigationEvent.handleBack);
138456
138386
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
138457
- children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native9.PageNavbar, {
138387
+ children: [(0, import_jsx_runtime12.jsx)(import_tds_react_native8.PageNavbar, {
138458
138388
  preference: {
138459
138389
  type: "none"
138460
138390
  }
@@ -138508,7 +138438,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138508
138438
  function GameAppContainer({
138509
138439
  children
138510
138440
  }) {
138511
- (0, import_react16.useEffect)(() => {
138441
+ (0, import_react15.useEffect)(() => {
138512
138442
  if (import_react_native20.Platform.OS === "ios") {
138513
138443
  (0, import_native_modules9.setIosSwipeGestureEnabled)({
138514
138444
  isEnabled: false
@@ -138554,7 +138484,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138554
138484
  ...initialProps
138555
138485
  }), (0, import_jsx_runtime14.jsx)(Container, {
138556
138486
  ...initialProps,
138557
- children: (0, import_jsx_runtime14.jsx)(import_tds_react_native10.TDSProvider, {
138487
+ children: (0, import_jsx_runtime14.jsx)(import_tds_react_native9.TDSProvider, {
138558
138488
  colorPreference: "light",
138559
138489
  token: {
138560
138490
  color: {
@@ -138635,50 +138565,38 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138635
138565
  var import_user_scripts = _$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/user-scripts");
138636
138566
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138637
138567
  var import_react_native36 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138638
- var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138568
+ var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138639
138569
  var import_private9 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138640
- var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
138570
+ var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
138641
138571
  var import_react_native37 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138642
138572
  var import_native_modules11 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
138643
138573
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138644
- var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138574
+ var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138645
138575
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138646
138576
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
138647
138577
  var import_react_native23 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138648
- var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138578
+ var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138649
138579
  var import_private7 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138650
- var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138651
- var import_react17 = _$$_REQUIRE(_dependencyMap[9], "react");
138580
+ var import_react16 = _$$_REQUIRE(_dependencyMap[9], "react");
138652
138581
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[8], "react-native");
138653
138582
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138654
138583
  function GameWebviewNavigationBar() {
138655
138584
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
138656
- var _ref29 = (0, import_tds_react_native11.useDialog)(),
138657
- openConfirm = _ref29.openConfirm;
138658
- var global2 = getAppsInTossGlobals();
138585
+ var _ref26 = (0, import_tds_react_native10.useDialog)(),
138586
+ openConfirm = _ref26.openConfirm;
138659
138587
  var logging = useNavigationBarLogging();
138660
138588
  var _useMoreButtonBottomS3 = useMoreButtonBottomSheet(),
138661
138589
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
138662
138590
  var _useNavigationBarCont3 = useNavigationBarContext(),
138663
138591
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
138664
- var _ref30 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138665
- safeAreaRight = _ref30.right;
138666
- var handleGameWebviewClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
138592
+ var _ref27 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
138593
+ safeAreaRight = _ref27.right;
138594
+ var handleGameWebviewClose = (0, import_react16.useCallback)(_asyncToGenerator(function* () {
138667
138595
  logging.closeButtonClick();
138668
- var isConfirmed = yield openConfirm({
138669
- title: `${(0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138670
- leftButton: "\uB2EB\uAE30",
138671
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138672
- closeOnDimmerClick: true,
138673
- onEntered: logging.closePopupShow
138674
- });
138675
- logging.closePopupCtaClick(isConfirmed);
138676
- if (isConfirmed) {
138677
- (0, import_react_native23.closeView)();
138678
- }
138679
- }), [global2.brandDisplayName, logging, openConfirm]);
138596
+ (0, import_react_native23.closeView)();
138597
+ }), [logging, openConfirm]);
138680
138598
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
138681
- children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native11.PageNavbar, {
138599
+ children: [(0, import_jsx_runtime15.jsx)(import_tds_react_native10.PageNavbar, {
138682
138600
  preference: {
138683
138601
  type: "none"
138684
138602
  }
@@ -138707,8 +138625,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138707
138625
  });
138708
138626
  }
138709
138627
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138710
- var GameWebView = (0, import_react18.forwardRef)(function GameWebView2(props, ref) {
138711
- (0, import_react18.useEffect)(() => {
138628
+ var GameWebView = (0, import_react17.forwardRef)(function GameWebView2(props, ref) {
138629
+ (0, import_react17.useEffect)(() => {
138712
138630
  if (import_react_native25.Platform.OS === "ios") {
138713
138631
  (0, import_native_modules11.setIosSwipeGestureEnabled)({
138714
138632
  isEnabled: false
@@ -138734,12 +138652,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138734
138652
  });
138735
138653
  });
138736
138654
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[18], "@granite-js/native/react-native-webview");
138737
- var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
138655
+ var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138738
138656
  var import_react_native26 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
138739
- var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
138740
138657
  var import_private8 = _$$_REQUIRE(_dependencyMap[12], "@toss/tds-react-native/private");
138741
- var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
138742
- var import_react19 = _$$_REQUIRE(_dependencyMap[9], "react");
138658
+ var import_react18 = _$$_REQUIRE(_dependencyMap[9], "react");
138743
138659
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138744
138660
  function PartnerWebviewNavigationBar({
138745
138661
  onBackButtonClick,
@@ -138747,8 +138663,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138747
138663
  }) {
138748
138664
  var globals = getAppsInTossGlobals();
138749
138665
  var logging = useNavigationBarLogging();
138750
- var _ref32 = (0, import_tds_react_native12.useDialog)(),
138751
- openConfirm = _ref32.openConfirm;
138752
138666
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
138753
138667
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
138754
138668
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -138756,20 +138670,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138756
138670
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
138757
138671
  var _useNavigationBarCont4 = useNavigationBarContext(),
138758
138672
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
138759
- var handleClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
138673
+ var handleClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
138760
138674
  logging.closeButtonClick();
138761
- var isConfirmed = yield openConfirm({
138762
- title: `${(0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
138763
- leftButton: "\uB2EB\uAE30",
138764
- rightButton: "\uC885\uB8CC\uD558\uAE30",
138765
- closeOnDimmerClick: true,
138766
- onEntered: logging.closePopupShow
138767
- });
138768
- logging.closePopupCtaClick(isConfirmed);
138769
- if (isConfirmed) {
138770
- (0, import_react_native26.closeView)();
138771
- }
138772
- }), [globals.brandDisplayName, logging, openConfirm]);
138675
+ (0, import_react_native26.closeView)();
138676
+ }), [logging]);
138773
138677
  return (0, import_jsx_runtime17.jsx)(NavigationBarImpressionArea, {
138774
138678
  withHomeButton,
138775
138679
  children: (0, import_jsx_runtime17.jsx)(import_private8.TopNavigation, {
@@ -138793,7 +138697,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
138793
138697
  });
138794
138698
  }
138795
138699
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
138796
- var PartnerWebView = (0, import_react20.forwardRef)(function PartnerWebViewScreen({
138700
+ var PartnerWebView = (0, import_react19.forwardRef)(function PartnerWebViewScreen({
138797
138701
  onBackButtonClick,
138798
138702
  onHomeButtonClick,
138799
138703
  ...webViewProps
@@ -139192,7 +139096,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139192
139096
  }
139193
139097
  showFullScreenAd.isSupported = import_native_modules14.GoogleAdMob.showAppsInTossAdMob.isSupported;
139194
139098
  var import_react_native29 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139195
- function tossAdEventLog(_x4) {
139099
+ function tossAdEventLog(_x3) {
139196
139100
  return _tossAdEventLog.apply(this, arguments);
139197
139101
  }
139198
139102
  function _tossAdEventLog() {
@@ -139213,7 +139117,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139213
139117
  });
139214
139118
  return _tossAdEventLog.apply(this, arguments);
139215
139119
  }
139216
- var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
139120
+ var import_react20 = _$$_REQUIRE(_dependencyMap[9], "react");
139217
139121
  function serializeError(error) {
139218
139122
  return JSON.stringify(error, (_, value) => {
139219
139123
  if (value instanceof Error) {
@@ -139244,12 +139148,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139244
139148
  return;
139245
139149
  }
139246
139150
  var wrappedFunc = function () {
139247
- var _ref34 = _asyncToGenerator(function* (...args2) {
139151
+ var _ref30 = _asyncToGenerator(function* (...args2) {
139248
139152
  var result = yield func(...args2);
139249
139153
  return result;
139250
139154
  });
139251
139155
  return function wrappedFunc() {
139252
- return _ref34.apply(this, arguments);
139156
+ return _ref30.apply(this, arguments);
139253
139157
  };
139254
139158
  }();
139255
139159
  wrappedFunc(...args).then(result => {
@@ -139270,12 +139174,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139270
139174
  asyncHandlerMap,
139271
139175
  eventListenerMap
139272
139176
  }) {
139273
- var ref = (0, import_react21.useRef)(null);
139274
- var injectedJavaScript = (0, import_react21.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139177
+ var ref = (0, import_react20.useRef)(null);
139178
+ var injectedJavaScript = (0, import_react20.useMemo)(() => `window.__CONSTANT_HANDLER_MAP = ${JSON.stringify(Object.entries(constantHandlerMap).reduce((acc, [key, value]) => {
139275
139179
  acc[key] = typeof value === "function" ? value() : value;
139276
139180
  return acc;
139277
139181
  }, {}))};`, [constantHandlerMap]);
139278
- (0, import_react21.useEffect)(() => {
139182
+ (0, import_react20.useEffect)(() => {
139279
139183
  ref.current?.injectJavaScript(injectedJavaScript);
139280
139184
  }, [injectedJavaScript]);
139281
139185
  var createHandleOnEvent = (functionName, eventId) => response => {
@@ -139289,8 +139193,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139289
139193
  window.__GRANITE_NATIVE_EMITTER.emit('${functionName}/onError/${eventId}', ${serializedError});
139290
139194
  `);
139291
139195
  };
139292
- var $onMessage = (0, import_react21.useCallback)(function () {
139293
- var _ref35 = _asyncToGenerator(function* (e) {
139196
+ var $onMessage = (0, import_react20.useCallback)(function () {
139197
+ var _ref31 = _asyncToGenerator(function* (e) {
139294
139198
  onMessage?.(e);
139295
139199
  var data = parseNativeEventData(e.nativeEvent.data);
139296
139200
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -139332,8 +139236,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139332
139236
  }
139333
139237
  }
139334
139238
  });
139335
- return function (_x5) {
139336
- return _ref35.apply(this, arguments);
139239
+ return function (_x4) {
139240
+ return _ref31.apply(this, arguments);
139337
139241
  };
139338
139242
  }(), [onMessage]);
139339
139243
  return {
@@ -139351,22 +139255,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139351
139255
  }
139352
139256
  }
139353
139257
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[13], "@granite-js/native/react-native-safe-area-context");
139354
- var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139258
+ var import_react21 = _$$_REQUIRE(_dependencyMap[9], "react");
139355
139259
  function useSafeAreaInsetsEvent() {
139356
139260
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
139357
- (0, import_react22.useEffect)(() => {
139261
+ (0, import_react21.useEffect)(() => {
139358
139262
  safeAreaInsetsChange.emit(insets);
139359
139263
  }, [insets]);
139360
- (0, import_react22.useEffect)(() => {
139264
+ (0, import_react21.useEffect)(() => {
139361
139265
  return () => safeAreaInsetsChange.clearSubscriptions();
139362
139266
  }, []);
139363
139267
  return safeAreaInsetsChange;
139364
139268
  }
139365
139269
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139366
- var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139367
- var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[11], "es-hangul");
139368
- var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139369
139270
  var import_react23 = _$$_REQUIRE(_dependencyMap[9], "react");
139271
+ var import_react22 = _$$_REQUIRE(_dependencyMap[9], "react");
139370
139272
  var INITIAL_STATE = {
139371
139273
  stack: [],
139372
139274
  index: -1
@@ -139415,11 +139317,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139415
139317
  }
139416
139318
  }
139417
139319
  function useWebViewHistory() {
139418
- var _ref36 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
139419
- _ref37 = _slicedToArray(_ref36, 2),
139420
- state = _ref37[0],
139421
- dispatch = _ref37[1];
139422
- var onNavigationStateChange = (0, import_react23.useCallback)(({
139320
+ var _ref32 = (0, import_react22.useReducer)(reducer, INITIAL_STATE),
139321
+ _ref33 = _slicedToArray(_ref32, 2),
139322
+ state = _ref33[0],
139323
+ dispatch = _ref33[1];
139324
+ var onNavigationStateChange = (0, import_react22.useCallback)(({
139423
139325
  url,
139424
139326
  canGoForward: canGoForward2
139425
139327
  }) => {
@@ -139429,7 +139331,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139429
139331
  canGoForward: canGoForward2
139430
139332
  });
139431
139333
  }, []);
139432
- var _ref38 = (0, import_react23.useMemo)(() => {
139334
+ var _ref34 = (0, import_react22.useMemo)(() => {
139433
139335
  var canBack = state.index > 0;
139434
139336
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
139435
139337
  return {
@@ -139437,8 +139339,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139437
139339
  canGoForward: canFwd
139438
139340
  };
139439
139341
  }, [state.index, state.stack.length]),
139440
- canGoBack = _ref38.canGoBack,
139441
- canGoForward = _ref38.canGoForward;
139342
+ canGoBack = _ref34.canGoBack,
139343
+ canGoForward = _ref34.canGoForward;
139442
139344
  return {
139443
139345
  onNavigationStateChange,
139444
139346
  hasHistory: canGoBack,
@@ -139449,22 +139351,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139449
139351
  var _useWebViewHistory = useWebViewHistory(),
139450
139352
  hasHistory = _useWebViewHistory.hasHistory,
139451
139353
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
139452
- var _ref39 = (0, import_react_native30.useBackEventState)(),
139453
- webBackHandlersRef = _ref39.handlersRef,
139454
- hasWebBackEvent = _ref39.hasBackEvent,
139455
- addWebBackEventListener = _ref39.addEventListener,
139456
- removeWebBackEventListener = _ref39.removeEventListener;
139354
+ var _ref35 = (0, import_react_native30.useBackEventState)(),
139355
+ webBackHandlersRef = _ref35.handlersRef,
139356
+ hasWebBackEvent = _ref35.hasBackEvent,
139357
+ addWebBackEventListener = _ref35.addEventListener,
139358
+ removeWebBackEventListener = _ref35.removeEventListener;
139457
139359
  var logging = useNavigationBarLogging();
139458
- var _ref40 = (0, import_tds_react_native13.useDialog)(),
139459
- openConfirm = _ref40.openConfirm;
139460
- var global2 = getAppsInTossGlobals();
139461
- var addEventListener = (0, import_react24.useCallback)(handler => {
139360
+ var addEventListener = (0, import_react23.useCallback)(handler => {
139462
139361
  addWebBackEventListener(handler);
139463
139362
  }, [addWebBackEventListener]);
139464
- var removeEventListener = (0, import_react24.useCallback)(handler => {
139363
+ var removeEventListener = (0, import_react23.useCallback)(handler => {
139465
139364
  removeWebBackEventListener(handler);
139466
139365
  }, [removeWebBackEventListener]);
139467
- var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
139366
+ var handleWebBack = (0, import_react23.useCallback)(_asyncToGenerator(function* () {
139468
139367
  if (hasWebBackEvent) {
139469
139368
  for (var handler of webBackHandlersRef) {
139470
139369
  handler();
@@ -139474,20 +139373,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139474
139373
  if (hasHistory) {
139475
139374
  webViewRef.current?.injectJavaScript("window.history.back();");
139476
139375
  } else {
139477
- var isConfirmed = yield openConfirm({
139478
- title: `${(0, import_es_hangul5.josa)(global2.brandDisplayName, "\uC744/\uB97C")} \uC885\uB8CC\uD560\uAE4C\uC694?`,
139479
- leftButton: "\uB2EB\uAE30",
139480
- rightButton: "\uC885\uB8CC\uD558\uAE30",
139481
- closeOnDimmerClick: true,
139482
- onEntered: logging.closePopupShow
139483
- });
139484
- logging.closePopupCtaClick(isConfirmed);
139485
- if (isConfirmed) {
139486
- (0, import_react_native30.closeView)();
139487
- }
139376
+ (0, import_react_native30.closeView)();
139488
139377
  }
139489
- }), [global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
139490
- var handleWebHome = (0, import_react24.useCallback)(() => {
139378
+ }), [hasHistory, hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
139379
+ var handleWebHome = (0, import_react23.useCallback)(() => {
139491
139380
  logging.homeButtonClick();
139492
139381
  if (homeEvent.hasSubscriptions()) {
139493
139382
  homeEvent.emit({});
@@ -139500,7 +139389,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139500
139389
  })();
139501
139390
  `);
139502
139391
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewInitialURL, webViewRef]);
139503
- return (0, import_react24.useMemo)(() => ({
139392
+ return (0, import_react23.useMemo)(() => ({
139504
139393
  addEventListener,
139505
139394
  removeEventListener,
139506
139395
  handleWebBack,
@@ -139655,8 +139544,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139655
139544
  }) {
139656
139545
  var platform = (0, import_native_modules15.getPlatformOS)();
139657
139546
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
139658
- var _ref42 = (0, import_react_native31.useWindowDimensions)(),
139659
- fontScale = _ref42.fontScale;
139547
+ var _ref37 = (0, import_react_native31.useWindowDimensions)(),
139548
+ fontScale = _ref37.fontScale;
139660
139549
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
139661
139550
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
139662
139551
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
@@ -139664,18 +139553,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139664
139553
  }
139665
139554
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139666
139555
  var import_react_native32 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139667
- var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139556
+ var import_react24 = _$$_REQUIRE(_dependencyMap[9], "react");
139668
139557
  function useGeolocation({
139669
139558
  accuracy,
139670
139559
  distanceInterval,
139671
139560
  timeInterval
139672
139561
  }) {
139673
139562
  var isVisible = (0, import_react_native32.useVisibility)();
139674
- var _ref43 = (0, import_react25.useState)(null),
139675
- _ref44 = _slicedToArray(_ref43, 2),
139676
- location = _ref44[0],
139677
- setLocation = _ref44[1];
139678
- (0, import_react25.useEffect)(() => {
139563
+ var _ref38 = (0, import_react24.useState)(null),
139564
+ _ref39 = _slicedToArray(_ref38, 2),
139565
+ location = _ref39[0],
139566
+ setLocation = _ref39[1];
139567
+ (0, import_react24.useEffect)(() => {
139679
139568
  if (!isVisible) {
139680
139569
  return;
139681
139570
  }
@@ -139692,17 +139581,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139692
139581
  return location;
139693
139582
  }
139694
139583
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139695
- var import_react26 = _$$_REQUIRE(_dependencyMap[9], "react");
139584
+ var import_react25 = _$$_REQUIRE(_dependencyMap[9], "react");
139696
139585
  function useWaitForReturnNavigator() {
139697
- var callbacks = (0, import_react26.useRef)([]).current;
139586
+ var callbacks = (0, import_react25.useRef)([]).current;
139698
139587
  var navigation = (0, import_react_native33.useNavigation)();
139699
- var startNavigating = (0, import_react26.useCallback)((route, params) => {
139588
+ var startNavigating = (0, import_react25.useCallback)((route, params) => {
139700
139589
  return new Promise(resolve => {
139701
139590
  callbacks.push(resolve);
139702
139591
  navigation.navigate(route, params);
139703
139592
  });
139704
139593
  }, [callbacks, navigation]);
139705
- var handleVisibilityChange = (0, import_react26.useCallback)(state => {
139594
+ var handleVisibilityChange = (0, import_react25.useCallback)(state => {
139706
139595
  if (state === "visible" && callbacks.length > 0) {
139707
139596
  for (var callback of callbacks) {
139708
139597
  callback();
@@ -139724,9 +139613,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139724
139613
  }
139725
139614
  var import_native_modules17 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules");
139726
139615
  var import_react_native34 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
139727
- var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139616
+ var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@toss/tds-react-native");
139728
139617
  function useHandleWebViewProcessDidTerminate(webViewRef) {
139729
- var toast = (0, import_tds_react_native14.useToast)();
139618
+ var toast = (0, import_tds_react_native11.useToast)();
139730
139619
  return () => {
139731
139620
  webViewDebugLog("AppsInTossWebViewProcessDidTerminate", {});
139732
139621
  toast.open("\uBB38\uC81C\uAC00 \uC0DD\uACA8\uC11C \uBBF8\uB2C8\uC571\uC744 \uB2E4\uC2DC \uC2DC\uC791\uD588\uC5B4\uC694.", {
@@ -139736,7 +139625,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139736
139625
  webViewRef.current?.reload();
139737
139626
  };
139738
139627
  }
139739
- function webViewMemoryDebugLog(_x6) {
139628
+ function webViewMemoryDebugLog(_x5) {
139740
139629
  return _webViewMemoryDebugLog.apply(this, arguments);
139741
139630
  }
139742
139631
  function _webViewMemoryDebugLog() {
@@ -139830,23 +139719,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139830
139719
  var TYPES = ["partner", "external", "game"];
139831
139720
  var WEBVIEW_TYPES = {
139832
139721
  partner: PartnerWebView,
139833
- external: import_tds_react_native15.ExternalWebViewScreen,
139722
+ external: import_tds_react_native12.ExternalWebViewScreen,
139834
139723
  game: GameWebView
139835
139724
  };
139836
139725
  function mergeSchemeQueryParamsInto(url) {
139837
139726
  var baseUrl = new URL(url);
139838
139727
  var schemeUrl = new URL((0, import_react_native36.getSchemeUri)());
139839
139728
  var resultUrl = new URL(schemeUrl.pathname, baseUrl.origin);
139840
- for (var _ref45 of baseUrl.searchParams.entries()) {
139841
- var _ref46 = _slicedToArray(_ref45, 2);
139842
- var key = _ref46[0];
139843
- var value = _ref46[1];
139729
+ for (var _ref40 of baseUrl.searchParams.entries()) {
139730
+ var _ref41 = _slicedToArray(_ref40, 2);
139731
+ var key = _ref41[0];
139732
+ var value = _ref41[1];
139844
139733
  resultUrl.searchParams.set(key, value);
139845
139734
  }
139846
- for (var _ref47 of schemeUrl.searchParams.entries()) {
139847
- var _ref48 = _slicedToArray(_ref47, 2);
139848
- var _key = _ref48[0];
139849
- var _value = _ref48[1];
139735
+ for (var _ref42 of schemeUrl.searchParams.entries()) {
139736
+ var _ref43 = _slicedToArray(_ref42, 2);
139737
+ var _key = _ref43[0];
139738
+ var _value = _ref43[1];
139850
139739
  resultUrl.searchParams.set(_key, _value);
139851
139740
  }
139852
139741
  return resultUrl;
@@ -139856,8 +139745,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139856
139745
  var devUrl = `http://${local.host}:${local.port}`;
139857
139746
  return mergeSchemeQueryParamsInto(devUrl);
139858
139747
  }
139859
- var _ref49 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139860
- rawUrl = _ref49.url;
139748
+ var _ref44 = (0, import_native_modules18.safeSyncPostMessage)("getWebBundleURL", {}),
139749
+ rawUrl = _ref44.url;
139861
139750
  var url = mergeSchemeQueryParamsInto(rawUrl);
139862
139751
  var deploymentId = env.getDeploymentId();
139863
139752
  if (deploymentId) {
@@ -139874,8 +139763,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139874
139763
  if (!TYPES.includes(type)) {
139875
139764
  throw new Error(`Invalid WebView type: '${type}'`);
139876
139765
  }
139877
- var webViewRef = (0, import_react27.useRef)(null);
139878
- var url = (0, import_react27.useMemo)(() => getWebViewURL(local), [local]);
139766
+ var webViewRef = (0, import_react26.useRef)(null);
139767
+ var url = (0, import_react26.useMemo)(() => getWebViewURL(local), [local]);
139879
139768
  var webBackHandler = useWebBackHandler(url, webViewRef);
139880
139769
  var top = (0, import_private9.useSafeAreaTop)();
139881
139770
  var bottom = (0, import_private9.useSafeAreaBottom)();
@@ -139883,10 +139772,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139883
139772
  var global2 = getAppsInTossGlobals();
139884
139773
  var navigationBarContext = useNavigationBarContext();
139885
139774
  var safeAreaInsetsEvent = useSafeAreaInsetsEvent();
139886
- var _ref50 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
139887
- _ref51 = _slicedToArray(_ref50, 2),
139888
- allowsBackForwardNavigationGestures = _ref51[0],
139889
- setAllowsBackForwardNavigationGestures = _ref51[1];
139775
+ var _ref45 = (0, import_react26.useState)(props.allowsBackForwardNavigationGestures),
139776
+ _ref46 = _slicedToArray(_ref45, 2),
139777
+ allowsBackForwardNavigationGestures = _ref46[0],
139778
+ setAllowsBackForwardNavigationGestures = _ref46[1];
139890
139779
  var handler = useBridgeHandler({
139891
139780
  onMessage,
139892
139781
  eventListenerMap: {
@@ -139894,7 +139783,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139894
139783
  navigationAccessoryEvent: ({
139895
139784
  onEvent,
139896
139785
  onError
139897
- }) => import_tds_react_native15.tdsEvent.addEventListener("navigationAccessoryEvent", {
139786
+ }) => import_tds_react_native12.tdsEvent.addEventListener("navigationAccessoryEvent", {
139898
139787
  onEvent,
139899
139788
  onError
139900
139789
  }),
@@ -139969,19 +139858,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
139969
139858
  return appsInTossAsyncBridges.setIosSwipeGestureEnabled(options);
139970
139859
  },
139971
139860
  addAccessoryButton: function () {
139972
- var _ref52 = _asyncToGenerator(function* (params) {
139861
+ var _ref47 = _asyncToGenerator(function* (params) {
139973
139862
  return navigationBarContext.addNavigationRightButton(params);
139974
139863
  });
139975
- return function addAccessoryButton(_x7) {
139976
- return _ref52.apply(this, arguments);
139864
+ return function addAccessoryButton(_x6) {
139865
+ return _ref47.apply(this, arguments);
139977
139866
  };
139978
139867
  }(),
139979
139868
  removeAccessoryButton: function () {
139980
- var _ref53 = _asyncToGenerator(function* () {
139869
+ var _ref48 = _asyncToGenerator(function* () {
139981
139870
  return navigationBarContext.removeNavigationRightButton();
139982
139871
  });
139983
139872
  return function removeAccessoryButton() {
139984
- return _ref53.apply(this, arguments);
139873
+ return _ref48.apply(this, arguments);
139985
139874
  };
139986
139875
  }(),
139987
139876
  requestPermission: appsInTossAsyncBridges.requestPermission,
@@ -140008,16 +139897,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140008
139897
  tossAdEventLog,
140009
139898
  memoryDebugLog: webViewMemoryDebugLog,
140010
139899
  debugLog: function () {
140011
- var _ref54 = _asyncToGenerator(function* (event) {
139900
+ var _ref49 = _asyncToGenerator(function* (event) {
140012
139901
  sendLog(event);
140013
139902
  });
140014
- return function debugLog(_x8) {
140015
- return _ref54.apply(this, arguments);
139903
+ return function debugLog(_x7) {
139904
+ return _ref49.apply(this, arguments);
140016
139905
  };
140017
139906
  }()
140018
139907
  }
140019
139908
  });
140020
- var headerPropForExternalWebView = (0, import_react27.useMemo)(() => {
139909
+ var headerPropForExternalWebView = (0, import_react26.useMemo)(() => {
140021
139910
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
140022
139911
  var initialAccessoryButton = parsedNavigationBar?.initialAccessoryButton;
140023
139912
  var withBackButton = parsedNavigationBar?.withBackButton ?? true;
@@ -140038,7 +139927,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140038
139927
  colorPreference: "light"
140039
139928
  });
140040
139929
  var refs = mergeRefs(handler.ref, webViewRef);
140041
- (0, import_react27.useEffect)(() => {
139930
+ (0, import_react26.useEffect)(() => {
140042
139931
  var callback = () => {
140043
139932
  webBackHandler.handleWebBack();
140044
139933
  return true;
@@ -140101,7 +139990,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140101
139990
  __reExport(src_exports, _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types"), module.exports);
140102
139991
  var import_types = _$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types");
140103
139992
  var import_react_native41 = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
140104
- var import_react30 = _$$_REQUIRE(_dependencyMap[9], "react");
139993
+ var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140105
139994
  var import_react_native42 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140106
139995
  var SDK_ID = "106";
140107
139996
  var LIST_BANNER_STYLE_ID = "1";
@@ -140288,7 +140177,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140288
140177
  function isStructurallyValidAd(ad) {
140289
140178
  return Boolean(ad && ad.creative && typeof ad.creative === "object");
140290
140179
  }
140291
- function loadAd(_x9) {
140180
+ function loadAd(_x8) {
140292
140181
  return _loadAd.apply(this, arguments);
140293
140182
  }
140294
140183
  function _loadAd() {
@@ -140474,7 +140363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140474
140363
  globalEventDeduplicator.markTracked(this.requestId, this.creativeId, eventType);
140475
140364
  }
140476
140365
  });
140477
- function track(_x0) {
140366
+ function track(_x9) {
140478
140367
  return _track.apply(this, arguments);
140479
140368
  }
140480
140369
  return track;
@@ -140496,7 +140385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140496
140385
  body: JSON.stringify(payload)
140497
140386
  });
140498
140387
  });
140499
- function sendTrackingRequest(_x1, _x10) {
140388
+ function sendTrackingRequest(_x0, _x1) {
140500
140389
  return _sendTrackingRequest.apply(this, arguments);
140501
140390
  }
140502
140391
  return sendTrackingRequest;
@@ -140504,7 +140393,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140504
140393
  }]);
140505
140394
  }();
140506
140395
  var import_react_native_svg = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140507
- var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140396
+ var import_react27 = _$$_REQUIRE(_dependencyMap[9], "react");
140508
140397
  var import_react_native39 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140509
140398
  var import_jsx_runtime20 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140510
140399
  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";
@@ -140523,7 +140412,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140523
140412
  paddingStyle,
140524
140413
  onPress
140525
140414
  }) {
140526
- var scale = (0, import_react28.useRef)(new import_react_native39.Animated.Value(1)).current;
140415
+ var scale = (0, import_react27.useRef)(new import_react_native39.Animated.Value(1)).current;
140527
140416
  var animateScale = toValue => {
140528
140417
  import_react_native39.Animated.timing(scale, {
140529
140418
  toValue,
@@ -140800,7 +140689,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140800
140689
  }
140801
140690
  });
140802
140691
  var import_react_native_svg2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-svg");
140803
- var import_react29 = _$$_REQUIRE(_dependencyMap[9], "react");
140692
+ var import_react28 = _$$_REQUIRE(_dependencyMap[9], "react");
140804
140693
  var import_react_native40 = _$$_REQUIRE(_dependencyMap[8], "react-native");
140805
140694
  var import_jsx_runtime21 = _$$_REQUIRE(_dependencyMap[10], "react/jsx-runtime");
140806
140695
  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";
@@ -140814,8 +140703,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
140814
140703
  colors,
140815
140704
  onPress
140816
140705
  }) {
140817
- var scale = (0, import_react29.useRef)(new import_react_native40.Animated.Value(1)).current;
140818
- var clipIdRef = (0, import_react29.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140706
+ var scale = (0, import_react28.useRef)(new import_react_native40.Animated.Value(1)).current;
140707
+ var clipIdRef = (0, import_react28.useRef)(`clip-${Math.random().toString(36).slice(2)}`);
140819
140708
  var animateScale = toValue => {
140820
140709
  import_react_native40.Animated.timing(scale, {
140821
140710
  toValue,
@@ -141128,27 +141017,27 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141128
141017
  onAdImpression = props.onAdImpression,
141129
141018
  onAdFailedToRender = props.onAdFailedToRender,
141130
141019
  onNoFill = props.onNoFill;
141131
- var slotIdRef = (0, import_react30.useRef)(createSlotId());
141132
- var _ref55 = (0, import_react30.useState)(null),
141133
- _ref56 = _slicedToArray(_ref55, 2),
141134
- ad = _ref56[0],
141135
- setAd = _ref56[1];
141136
- var _ref57 = (0, import_react30.useState)(true),
141137
- _ref58 = _slicedToArray(_ref57, 2),
141138
- isAdBadgeEnabled = _ref58[0],
141139
- setIsAdBadgeEnabled = _ref58[1];
141140
- var eventTrackerRef = (0, import_react30.useRef)(null);
141141
- var eventPayloadRef = (0, import_react30.useRef)(null);
141142
- var hasRenderedRef = (0, import_react30.useRef)(false);
141143
- var hasLoggedImp1pxRef = (0, import_react30.useRef)(false);
141144
- var hasLoggedImp100pRef = (0, import_react30.useRef)(false);
141145
- var hasNotifiedViewableRef = (0, import_react30.useRef)(false);
141146
- var viewableTimerRef = (0, import_react30.useRef)(null);
141147
- var refetchIntervalMsRef = (0, import_react30.useRef)(null);
141148
- var lastImp1pxAtRef = (0, import_react30.useRef)(null);
141149
- var loadingRef = (0, import_react30.useRef)(false);
141150
- var loadRef = (0, import_react30.useRef)(null);
141151
- var callbacksRef = (0, import_react30.useRef)({
141020
+ var slotIdRef = (0, import_react29.useRef)(createSlotId());
141021
+ var _ref50 = (0, import_react29.useState)(null),
141022
+ _ref51 = _slicedToArray(_ref50, 2),
141023
+ ad = _ref51[0],
141024
+ setAd = _ref51[1];
141025
+ var _ref52 = (0, import_react29.useState)(true),
141026
+ _ref53 = _slicedToArray(_ref52, 2),
141027
+ isAdBadgeEnabled = _ref53[0],
141028
+ setIsAdBadgeEnabled = _ref53[1];
141029
+ var eventTrackerRef = (0, import_react29.useRef)(null);
141030
+ var eventPayloadRef = (0, import_react29.useRef)(null);
141031
+ var hasRenderedRef = (0, import_react29.useRef)(false);
141032
+ var hasLoggedImp1pxRef = (0, import_react29.useRef)(false);
141033
+ var hasLoggedImp100pRef = (0, import_react29.useRef)(false);
141034
+ var hasNotifiedViewableRef = (0, import_react29.useRef)(false);
141035
+ var viewableTimerRef = (0, import_react29.useRef)(null);
141036
+ var refetchIntervalMsRef = (0, import_react29.useRef)(null);
141037
+ var lastImp1pxAtRef = (0, import_react29.useRef)(null);
141038
+ var loadingRef = (0, import_react29.useRef)(false);
141039
+ var loadRef = (0, import_react29.useRef)(null);
141040
+ var callbacksRef = (0, import_react29.useRef)({
141152
141041
  onAdRendered,
141153
141042
  onAdViewable,
141154
141043
  onAdClicked,
@@ -141156,7 +141045,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141156
141045
  onAdFailedToRender,
141157
141046
  onNoFill
141158
141047
  });
141159
- var isMountedRef = (0, import_react30.useRef)(false);
141048
+ var isMountedRef = (0, import_react29.useRef)(false);
141160
141049
  var colorScheme = (0, import_react_native42.useColorScheme)();
141161
141050
  var selectedTheme = theme ?? DEFAULT_INLINE_AD_THEME;
141162
141051
  var resolvedTheme = selectedTheme === "auto" ? colorScheme === "dark" ? "dark" : "light" : selectedTheme;
@@ -141173,7 +141062,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141173
141062
  onAdFailedToRender,
141174
141063
  onNoFill
141175
141064
  };
141176
- (0, import_react30.useEffect)(() => {
141065
+ (0, import_react29.useEffect)(() => {
141177
141066
  isMountedRef.current = true;
141178
141067
  return () => {
141179
141068
  isMountedRef.current = false;
@@ -141183,7 +141072,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141183
141072
  }
141184
141073
  };
141185
141074
  }, []);
141186
- (0, import_react30.useEffect)(() => {
141075
+ (0, import_react29.useEffect)(() => {
141187
141076
  var normalizedAdGroupId = normalizeAdGroupId(adGroupId);
141188
141077
  var loadAdRequest = () => {
141189
141078
  if (loadingRef.current) {
@@ -141254,7 +141143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
141254
141143
  loadRef.current?.();
141255
141144
  }
141256
141145
  });
141257
- (0, import_react30.useEffect)(() => {
141146
+ (0, import_react29.useEffect)(() => {
141258
141147
  if (!ad || hasRenderedRef.current) {
141259
141148
  return;
141260
141149
  }