@apps-in-toss/web-framework 1.3.0 → 1.4.0

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.
@@ -153246,14 +153246,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153246
153246
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
153247
153247
  context: _context.context
153248
153248
  });
153249
- },1253,[1254,2626,9],"react-native/src/_app.tsx");
153249
+ },1253,[1254,2628,9],"react-native/src/_app.tsx");
153250
153250
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
153251
153251
  "use strict";
153252
153252
 
153253
153253
  var _toConsumableArray = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/toConsumableArray");
153254
153254
  var _objectWithoutProperties = _$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/objectWithoutProperties");
153255
- var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/asyncToGenerator");
153256
- var _slicedToArray = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/slicedToArray");
153255
+ var _slicedToArray = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/slicedToArray");
153256
+ var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/asyncToGenerator");
153257
153257
  var _objectDestructuringEmpty = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/objectDestructuringEmpty");
153258
153258
  var _excluded = ["children"],
153259
153259
  _excluded2 = ["onBackButtonClick", "onHomeButtonClick"],
@@ -153340,9 +153340,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153340
153340
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/analytics");
153341
153341
  var import_analytics = _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/analytics");
153342
153342
  var import_native_modules13 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153343
- var import_react_native20 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153343
+ var import_react_native21 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153344
153344
  var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153345
- var import_react_native21 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153345
+ var import_react_native22 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153346
153346
  var import_native_modules2 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153347
153347
  var import_react_native4 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153348
153348
  var import_react3 = _$$_REQUIRE(_dependencyMap[10], "react");
@@ -153507,94 +153507,157 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153507
153507
  }, []);
153508
153508
  }
153509
153509
  var import_native_modules12 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153510
- var import_react14 = _$$_REQUIRE(_dependencyMap[10], "react");
153511
- var import_react_native19 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153512
- var import_native_modules6 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153513
- var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153514
- var import_react7 = _$$_REQUIRE(_dependencyMap[10], "react");
153515
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153510
+ var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
153511
+ var import_react_native20 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153512
+ var import_native_modules7 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153513
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153514
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153515
+ var import_es_hangul = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
153516
+ var import_react11 = _$$_REQUIRE(_dependencyMap[10], "react");
153517
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153516
153518
  var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
153517
- var GAME_CENTER_MIN_VERSION = {
153518
- android: "5.221.0",
153519
- ios: "5.221.0"
153519
+ var GAME_MIN_VERSION = {
153520
+ android: "5.232.0",
153521
+ ios: "5.232.0"
153520
153522
  };
153521
- var import_native_modules5 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153522
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153523
- var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153524
- var import_es_hangul = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
153525
- var import_react6 = _$$_REQUIRE(_dependencyMap[10], "react");
153523
+ var import_native_modules4 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153524
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153526
153525
  var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153527
- var import_private = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
153528
- var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
153529
- var useGameProfileToast = function useGameProfileToast() {
153530
- var overlay = (0, import_private.useOverlay)();
153531
- var openGameProfileToast = function openGameProfileToast(nickname, profileImageUri) {
153532
- return new Promise(function (resolve) {
153533
- overlay.open(function (_ref2) {
153534
- var isOpen = _ref2.isOpen,
153535
- close = _ref2.close,
153536
- exit = _ref2.exit;
153537
- return (0, import_jsx_runtime2.jsx)(import_private.ColorPreferenceProvider, {
153538
- colorPreference: "dark",
153539
- children: (0, import_jsx_runtime2.jsx)(import_private.AdaptiveColorProvider, {
153540
- children: (0, import_jsx_runtime2.jsx)(import_tds_react_native2.Toast, {
153541
- open: isOpen,
153542
- onClose: function onClose() {
153543
- resolve();
153544
- close();
153545
- },
153546
- onExited: exit,
153547
- position: "top",
153548
- text: nickname + "\uB2D8 \uBC18\uAC00\uC6CC\uC694!",
153549
- icon: (0, import_jsx_runtime2.jsx)(import_tds_react_native2.Asset.Image, {
153550
- style: {
153551
- borderRadius: 64,
153552
- overflow: "hidden"
153553
- },
153554
- frameShape: import_tds_react_native2.Asset.frameShape.CleanW32,
153555
- source: {
153556
- uri: profileImageUri
153557
- }
153558
- })
153559
- })
153560
- })
153561
- });
153526
+ var import_react6 = _$$_REQUIRE(_dependencyMap[10], "react");
153527
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153528
+ var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
153529
+ var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
153530
+ var getMarketLink = function getMarketLink() {
153531
+ return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
153532
+ };
153533
+ function useAppUpdateDialog() {
153534
+ var _ref2 = (0, import_tds_react_native2.useDialog)(),
153535
+ openConfirm = _ref2.openConfirm;
153536
+ var logging = useAppUpdateDialogLogging();
153537
+ var openAppUpdateDialog = (0, import_react6.useCallback)(function () {
153538
+ var _ref4 = _asyncToGenerator(function* (_ref3) {
153539
+ var title = _ref3.title,
153540
+ description = _ref3.description,
153541
+ _ref3$leftButton = _ref3.leftButton,
153542
+ leftButton = _ref3$leftButton === void 0 ? "\uB2EB\uAE30" : _ref3$leftButton,
153543
+ _ref3$rightButton = _ref3.rightButton,
153544
+ rightButton = _ref3$rightButton === void 0 ? "\uC5C5\uB370\uC774\uD2B8\uD558\uAE30" : _ref3$rightButton,
153545
+ onDismiss = _ref3.onDismiss;
153546
+ logging.show();
153547
+ var isConfirmed = yield openConfirm({
153548
+ title: title,
153549
+ description: description,
153550
+ leftButton: leftButton,
153551
+ rightButton: rightButton,
153552
+ closeOnDimmerClick: true
153562
153553
  });
153554
+ if (!isConfirmed) {
153555
+ logging.close();
153556
+ onDismiss == null ? void 0 : onDismiss();
153557
+ return;
153558
+ }
153559
+ logging.update();
153560
+ var STORE_SCHEME = getMarketLink();
153561
+ (0, import_react_native7.openURL)("supertoss://web?url=" + STORE_SCHEME + "&external=browser");
153562
+ });
153563
+ return function (_x) {
153564
+ return _ref4.apply(this, arguments);
153565
+ };
153566
+ }(), [logging, openConfirm]);
153567
+ return {
153568
+ open: openAppUpdateDialog
153569
+ };
153570
+ }
153571
+ var UPDATE_DIALOG_SCHEMA_ID = 1634992;
153572
+ var UPDATE_DIALOG_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__app_update";
153573
+ var UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID = 1634996;
153574
+ var UPDATE_DIALOG_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__app_update::click__cta";
153575
+ function useAppUpdateDialogLogging() {
153576
+ var referrer = useReferrer();
153577
+ var baseParams = {
153578
+ referrer: referrer,
153579
+ app_name: import_react_native7.Granite.appName
153580
+ };
153581
+ var logUpdateClick = function logUpdateClick() {
153582
+ import_native_modules4.INTERNAL__module.tossCoreEventLog({
153583
+ log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153584
+ log_type: "event",
153585
+ params: Object.assign({}, baseParams, {
153586
+ schema_id: UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID,
153587
+ event_type: "click",
153588
+ button_type: "update"
153589
+ })
153590
+ });
153591
+ };
153592
+ var logCloseClick = function logCloseClick() {
153593
+ import_native_modules4.INTERNAL__module.tossCoreEventLog({
153594
+ log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153595
+ log_type: "event",
153596
+ params: Object.assign({}, baseParams, {
153597
+ schema_id: UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID,
153598
+ event_type: "click",
153599
+ button_type: "close"
153600
+ })
153601
+ });
153602
+ };
153603
+ var logDialogShow = function logDialogShow() {
153604
+ import_native_modules4.INTERNAL__module.tossCoreEventLog({
153605
+ log_name: UPDATE_DIALOG_LOG_NAME,
153606
+ log_type: "popup",
153607
+ params: Object.assign({}, baseParams, {
153608
+ schema_id: UPDATE_DIALOG_SCHEMA_ID
153609
+ })
153563
153610
  });
153564
153611
  };
153565
153612
  return {
153566
- openGameProfileToast: openGameProfileToast
153613
+ update: logUpdateClick,
153614
+ close: logCloseClick,
153615
+ show: logDialogShow
153567
153616
  };
153568
- };
153617
+ }
153618
+ var import_native_modules6 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153619
+ var import_react10 = _$$_REQUIRE(_dependencyMap[10], "react");
153620
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153621
+ var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153622
+ var import_react7 = _$$_REQUIRE(_dependencyMap[10], "react");
153569
153623
  var DEFAULT_ERROR = {
153570
153624
  title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
153571
153625
  description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
153572
153626
  };
153573
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153574
- var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
153575
- var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
153576
- var getMarketLink = function getMarketLink() {
153577
- return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
153627
+ var useErrorAlert = function useErrorAlert() {
153628
+ var _ref5 = (0, import_tds_react_native3.useDialog)(),
153629
+ openAlert = _ref5.openAlert;
153630
+ var openErrorAlert = (0, import_react7.useCallback)(_asyncToGenerator(function* () {
153631
+ yield openAlert({
153632
+ title: DEFAULT_ERROR.title,
153633
+ description: DEFAULT_ERROR.description
153634
+ });
153635
+ (0, import_react_native8.closeView)();
153636
+ }), [openAlert]);
153637
+ return {
153638
+ open: openErrorAlert
153639
+ };
153578
153640
  };
153579
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153580
- var import_native_modules4 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153581
- var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules4.onVisibilityChangedByTransparentServiceWeb;
153582
- var openTransparentWebView = function openTransparentWebView(_ref3) {
153583
- var webUrl = _ref3.webUrl,
153584
- _ref3$cleanupWhenDism = _ref3.cleanupWhenDismissed,
153585
- cleanupWhenDismissed = _ref3$cleanupWhenDism === void 0 ? true : _ref3$cleanupWhenDism,
153586
- _onEvent = _ref3.onEvent,
153587
- _onError = _ref3.onError,
153588
- _ref3$callbackId = _ref3.callbackId,
153589
- callbackId = _ref3$callbackId === void 0 ? "fn" : _ref3$callbackId,
153590
- params = _ref3.params;
153641
+ var import_react8 = _$$_REQUIRE(_dependencyMap[10], "react");
153642
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153643
+ var import_native_modules5 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153644
+ var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules5.onVisibilityChangedByTransparentServiceWeb;
153645
+ var openTransparentWebView = function openTransparentWebView(_ref7) {
153646
+ var webUrl = _ref7.webUrl,
153647
+ _ref7$cleanupWhenDism = _ref7.cleanupWhenDismissed,
153648
+ cleanupWhenDismissed = _ref7$cleanupWhenDism === void 0 ? true : _ref7$cleanupWhenDism,
153649
+ _onEvent = _ref7.onEvent,
153650
+ _onError = _ref7.onError,
153651
+ _ref7$callbackId = _ref7.callbackId,
153652
+ callbackId = _ref7$callbackId === void 0 ? "fn" : _ref7$callbackId,
153653
+ params = _ref7.params;
153591
153654
  var url = new URL("supertoss://transparent-service-web");
153592
153655
  url.searchParams.set("url", webUrl);
153593
153656
  url.searchParams.set("onVisibilityChangeCallback", callbackId);
153594
- Object.entries(params != null ? params : {}).forEach(function (_ref4) {
153595
- var _ref5 = _slicedToArray(_ref4, 2),
153596
- key = _ref5[0],
153597
- value = _ref5[1];
153657
+ Object.entries(params != null ? params : {}).forEach(function (_ref8) {
153658
+ var _ref9 = _slicedToArray(_ref8, 2),
153659
+ key = _ref9[0],
153660
+ value = _ref9[1];
153598
153661
  url.searchParams.set(key, value);
153599
153662
  });
153600
153663
  var cleanup = _INTERNAL__onVisibilityChangedByTransparentServiceWeb({
@@ -153612,109 +153675,167 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153612
153675
  }
153613
153676
  }
153614
153677
  });
153615
- (0, import_react_native7.openURL)(url.toString());
153678
+ (0, import_react_native9.openURL)(url.toString());
153616
153679
  };
153617
- var useGameCenterProfile = function useGameCenterProfile(isReadyForProfileUI) {
153618
- var _ref6 = (0, import_react6.useState)(void 0),
153619
- _ref7 = _slicedToArray(_ref6, 2),
153620
- profileData = _ref7[0],
153621
- setProfileData = _ref7[1];
153622
- var _ref8 = (0, import_react6.useState)(true),
153623
- _ref9 = _slicedToArray(_ref8, 2),
153624
- isProfileDataLoading = _ref9[0],
153625
- setIsProfileDataLoading = _ref9[1];
153626
- var _ref10 = (0, import_react6.useState)(false),
153680
+ var useTransparentWebview = function useTransparentWebview() {
153681
+ var _ref10 = (0, import_react8.useState)(false),
153627
153682
  _ref11 = _slicedToArray(_ref10, 2),
153628
- isProfileDataRefetching = _ref11[0],
153629
- setIsProfileDataRefetching = _ref11[1];
153630
- var shouldShowLoadingOverlay = isProfileDataLoading && isReadyForProfileUI;
153631
- var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && isReadyForProfileUI && !isProfileDataRefetching;
153632
- var canShowBottomSheetOrToast = !isProfileDataLoading && isReadyForProfileUI;
153633
- var _ref12 = (0, import_react6.useState)(false),
153634
- _ref13 = _slicedToArray(_ref12, 2),
153635
- isWebviewLoading = _ref13[0],
153636
- setIsWebviewLoading = _ref13[1];
153637
- var isCompletedProfileFlow = (0, import_react6.useRef)(false);
153638
- var _ref14 = (0, import_tds_react_native3.useDialog)(),
153639
- openAlert = _ref14.openAlert,
153640
- openConfirm = _ref14.openConfirm;
153641
- var _useGameProfileToast = useGameProfileToast(),
153642
- openGameProfileToast = _useGameProfileToast.openGameProfileToast;
153643
- var openErrorAlert = (0, import_react6.useCallback)(_asyncToGenerator(function* () {
153644
- yield openAlert({
153645
- title: DEFAULT_ERROR.title,
153646
- description: DEFAULT_ERROR.description
153647
- });
153648
- (0, import_react_native8.closeView)();
153649
- }), [openAlert]);
153650
- var openProfileWebview = (0, import_react6.useCallback)(function () {
153683
+ isWebviewLoading = _ref11[0],
153684
+ setIsWebviewLoading = _ref11[1];
153685
+ var _useErrorAlert = useErrorAlert(),
153686
+ openErrorAlert = _useErrorAlert.open;
153687
+ var _openTransparentWebview = (0, import_react8.useCallback)(function (_ref12) {
153688
+ var webUrl = _ref12.webUrl,
153689
+ onClose = _ref12.onClose,
153690
+ _onError2 = _ref12.onError;
153651
153691
  if (isWebviewLoading) {
153652
153692
  return;
153653
153693
  }
153654
153694
  setIsWebviewLoading(true);
153655
153695
  openTransparentWebView({
153656
- webUrl: GAME_PROFILE_WEBVIEW_URL + "?appName=" + getAppName() + "&referrer=appsintoss." + getAppName(),
153696
+ webUrl: webUrl,
153657
153697
  onEvent: function () {
153658
153698
  var _onEvent2 = _asyncToGenerator(function* (isClosedTransparentWebView) {
153659
153699
  if (isClosedTransparentWebView) {
153660
- try {
153661
- setIsWebviewLoading(false);
153662
- setIsProfileDataRefetching(true);
153663
- var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
153664
- setProfileData(data);
153665
- setIsProfileDataRefetching(false);
153666
- if ((data == null ? void 0 : data.statusCode) === "SUCCESS") {
153667
- openGameProfileToast(data.nickname, data.profileImageUri);
153668
- }
153669
- } catch (_) {
153670
- setIsProfileDataRefetching(false);
153671
- openErrorAlert();
153672
- }
153700
+ setIsWebviewLoading(false);
153701
+ onClose == null ? void 0 : onClose();
153673
153702
  }
153674
153703
  });
153675
- function onEvent(_x) {
153704
+ function onEvent(_x2) {
153676
153705
  return _onEvent2.apply(this, arguments);
153677
153706
  }
153678
153707
  return onEvent;
153679
153708
  }(),
153680
- onError: function onError() {
153681
- openErrorAlert();
153709
+ onError: function onError(error) {
153710
+ setIsWebviewLoading(false);
153711
+ if (_onError2) {
153712
+ _onError2(error);
153713
+ } else {
153714
+ openErrorAlert();
153715
+ }
153682
153716
  }
153683
153717
  });
153684
- }, [isWebviewLoading, openGameProfileToast, openErrorAlert]);
153685
- var updateAppToSupportedMinVersion = (0, import_react6.useCallback)(_asyncToGenerator(function* () {
153686
- var upddateConfirmDialogLabel = {
153687
- title: (0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C") + " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694",
153688
- leftButton: "\uB2EB\uAE30",
153689
- rightButton: "\uC5C5\uB370\uC774\uD2B8\uD558\uAE30"
153690
- };
153691
- var isConfirmed = yield openConfirm({
153692
- title: upddateConfirmDialogLabel.title,
153693
- leftButton: upddateConfirmDialogLabel.leftButton,
153694
- rightButton: upddateConfirmDialogLabel.rightButton,
153695
- closeOnDimmerClick: true
153718
+ }, [isWebviewLoading, openErrorAlert]);
153719
+ return {
153720
+ open: _openTransparentWebview
153721
+ };
153722
+ };
153723
+ var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153724
+ var import_private2 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
153725
+ var import_react9 = _$$_REQUIRE(_dependencyMap[10], "react");
153726
+ var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
153727
+ var useGameProfileToast = function useGameProfileToast() {
153728
+ var overlay = (0, import_private2.useOverlay)();
153729
+ var openGameProfileToast = (0, import_react9.useCallback)(function (nickname, profileImageUri) {
153730
+ return new Promise(function (resolve) {
153731
+ overlay.open(function (_ref13) {
153732
+ var isOpen = _ref13.isOpen,
153733
+ close = _ref13.close,
153734
+ exit = _ref13.exit;
153735
+ return (0, import_jsx_runtime2.jsx)(import_private2.ColorPreferenceProvider, {
153736
+ colorPreference: "dark",
153737
+ children: (0, import_jsx_runtime2.jsx)(import_private2.AdaptiveColorProvider, {
153738
+ children: (0, import_jsx_runtime2.jsx)(import_tds_react_native4.Toast, {
153739
+ open: isOpen,
153740
+ onClose: function onClose() {
153741
+ resolve();
153742
+ close();
153743
+ },
153744
+ onExited: exit,
153745
+ position: "top",
153746
+ text: nickname + "\uB2D8 \uBC18\uAC00\uC6CC\uC694!",
153747
+ icon: (0, import_jsx_runtime2.jsx)(import_tds_react_native4.Asset.Image, {
153748
+ style: {
153749
+ borderRadius: 64,
153750
+ overflow: "hidden"
153751
+ },
153752
+ frameShape: import_tds_react_native4.Asset.frameShape.CleanW32,
153753
+ source: {
153754
+ uri: profileImageUri
153755
+ }
153756
+ })
153757
+ })
153758
+ })
153759
+ });
153760
+ });
153696
153761
  });
153697
- if (!isConfirmed) {
153698
- (0, import_react_native8.closeView)();
153699
- return;
153762
+ }, [overlay]);
153763
+ return {
153764
+ openGameProfileToast: openGameProfileToast
153765
+ };
153766
+ };
153767
+ var useGameCenterProfile = function useGameCenterProfile(isReadyForProfileUI) {
153768
+ var _ref14 = (0, import_react10.useState)(void 0),
153769
+ _ref15 = _slicedToArray(_ref14, 2),
153770
+ profileData = _ref15[0],
153771
+ setProfileData = _ref15[1];
153772
+ var _ref16 = (0, import_react10.useState)(true),
153773
+ _ref17 = _slicedToArray(_ref16, 2),
153774
+ isProfileDataLoading = _ref17[0],
153775
+ setIsProfileDataLoading = _ref17[1];
153776
+ var _ref18 = (0, import_react10.useState)(false),
153777
+ _ref19 = _slicedToArray(_ref18, 2),
153778
+ isProfileDataRefetching = _ref19[0],
153779
+ setIsProfileDataRefetching = _ref19[1];
153780
+ var shouldShowProfileLoadingOverlay = isProfileDataLoading && isReadyForProfileUI || isProfileDataRefetching;
153781
+ var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && isReadyForProfileUI && !isProfileDataRefetching;
153782
+ var canShowBottomSheetOrToast = !isProfileDataLoading && isReadyForProfileUI;
153783
+ var _useGameProfileToast = useGameProfileToast(),
153784
+ openGameProfileToast = _useGameProfileToast.openGameProfileToast;
153785
+ var _useErrorAlert2 = useErrorAlert(),
153786
+ openErrorAlert = _useErrorAlert2.open;
153787
+ var _useTransparentWebvie = useTransparentWebview(),
153788
+ openTransparentWebView2 = _useTransparentWebvie.open;
153789
+ var fetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153790
+ try {
153791
+ var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153792
+ setProfileData(data);
153793
+ setIsProfileDataLoading(false);
153794
+ } catch (_) {
153795
+ openErrorAlert();
153796
+ setIsProfileDataLoading(false);
153797
+ }
153798
+ }), [openErrorAlert]);
153799
+ var refetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153800
+ try {
153801
+ setIsProfileDataRefetching(true);
153802
+ var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153803
+ setProfileData(data);
153804
+ setIsProfileDataRefetching(false);
153805
+ if ((data == null ? void 0 : data.statusCode) === "SUCCESS") {
153806
+ openGameProfileToast(data.nickname, data.profileImageUri);
153807
+ }
153808
+ } catch (_) {
153809
+ setIsProfileDataRefetching(false);
153810
+ openErrorAlert();
153700
153811
  }
153701
- var STORE_SCHEME = getMarketLink();
153702
- (0, import_react_native8.openURL)("supertoss://web?url=" + STORE_SCHEME + "&external=browser");
153703
- }), [openConfirm]);
153812
+ }), [openErrorAlert, openGameProfileToast]);
153813
+ var openProfileWebview = (0, import_react10.useCallback)(function () {
153814
+ openTransparentWebView2({
153815
+ webUrl: GAME_PROFILE_WEBVIEW_URL + "?appName=" + getAppName() + "&referrer=appsintoss." + getAppName(),
153816
+ onClose: function () {
153817
+ var _onClose = _asyncToGenerator(function* () {
153818
+ refetchProfileData();
153819
+ });
153820
+ function onClose() {
153821
+ return _onClose.apply(this, arguments);
153822
+ }
153823
+ return onClose;
153824
+ }()
153825
+ });
153826
+ }, [openTransparentWebView2, refetchProfileData]);
153704
153827
  return {
153705
153828
  profileData: profileData,
153706
153829
  isProfileDataLoading: isProfileDataLoading,
153707
- isProfileDataRefetching: isProfileDataRefetching,
153708
- shouldShowLoadingOverlay: shouldShowLoadingOverlay,
153830
+ shouldShowProfileLoadingOverlay: shouldShowProfileLoadingOverlay,
153709
153831
  shouldShowProfileNotFoundOverlay: shouldShowProfileNotFoundOverlay,
153710
153832
  canShowBottomSheetOrToast: canShowBottomSheetOrToast,
153711
- isCompletedProfileFlow: isCompletedProfileFlow,
153712
- updateAppToSupportedMinVersion: updateAppToSupportedMinVersion,
153713
153833
  setIsProfileDataLoading: setIsProfileDataLoading,
153714
153834
  openProfileWebview: openProfileWebview,
153715
153835
  setProfileData: setProfileData,
153716
153836
  openErrorAlert: openErrorAlert,
153717
- openGameProfileToast: openGameProfileToast
153837
+ openGameProfileToast: openGameProfileToast,
153838
+ fetchProfileData: fetchProfileData
153718
153839
  };
153719
153840
  };
153720
153841
  var Z_INDEX = {
@@ -153722,52 +153843,40 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153722
153843
  CLOSE_BUTTON: 9999
153723
153844
  };
153724
153845
  var import_jsx_runtime3 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
153725
- var GameProfile = function GameProfile(_ref17) {
153726
- var children = _ref17.children,
153727
- isReadyForProfileUI = _ref17.isReadyForProfileUI;
153846
+ var GameInitializer = function GameInitializer(_ref22) {
153847
+ var children = _ref22.children,
153848
+ isReadyForProfileUI = _ref22.isReadyForProfileUI;
153728
153849
  var _useGameCenterProfile = useGameCenterProfile(isReadyForProfileUI),
153729
153850
  profileData = _useGameCenterProfile.profileData,
153730
- isProfileDataRefetching = _useGameCenterProfile.isProfileDataRefetching,
153731
- shouldShowLoadingOverlay = _useGameCenterProfile.shouldShowLoadingOverlay,
153851
+ shouldShowProfileLoadingOverlay = _useGameCenterProfile.shouldShowProfileLoadingOverlay,
153732
153852
  shouldShowProfileNotFoundOverlay = _useGameCenterProfile.shouldShowProfileNotFoundOverlay,
153733
153853
  canShowBottomSheetOrToast = _useGameCenterProfile.canShowBottomSheetOrToast,
153734
- isCompletedProfileFlow = _useGameCenterProfile.isCompletedProfileFlow,
153735
153854
  openProfileWebview = _useGameCenterProfile.openProfileWebview,
153736
- updateAppToSupportedMinVersion = _useGameCenterProfile.updateAppToSupportedMinVersion,
153737
- setIsProfileDataLoading = _useGameCenterProfile.setIsProfileDataLoading,
153738
- setProfileData = _useGameCenterProfile.setProfileData,
153739
- openErrorAlert = _useGameCenterProfile.openErrorAlert,
153740
- openGameProfileToast = _useGameCenterProfile.openGameProfileToast;
153741
- (0, import_react7.useEffect)(function () {
153742
- try {
153743
- var getProfileData = function () {
153744
- var _ref18 = _asyncToGenerator(function* () {
153745
- var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153746
- setProfileData(data);
153747
- setIsProfileDataLoading(false);
153748
- });
153749
- return function getProfileData() {
153750
- return _ref18.apply(this, arguments);
153751
- };
153752
- }();
153753
- getProfileData();
153754
- } catch (_) {
153755
- openErrorAlert();
153756
- setIsProfileDataLoading(false);
153757
- }
153855
+ openGameProfileToast = _useGameCenterProfile.openGameProfileToast,
153856
+ fetchProfileData = _useGameCenterProfile.fetchProfileData;
153857
+ var isCompletedFlow = (0, import_react11.useRef)(false);
153858
+ var _useAppUpdateDialog = useAppUpdateDialog(),
153859
+ openAppUpdateDialog = _useAppUpdateDialog.open;
153860
+ (0, import_react11.useEffect)(function () {
153861
+ fetchProfileData();
153758
153862
  }, []);
153759
- (0, import_react7.useEffect)(function () {
153863
+ (0, import_react11.useEffect)(function () {
153760
153864
  var handleGameProfileFlow = function () {
153761
- var _ref19 = _asyncToGenerator(function* () {
153865
+ var _ref23 = _asyncToGenerator(function* () {
153762
153866
  if (!canShowBottomSheetOrToast) {
153763
153867
  return;
153764
153868
  }
153765
- if (isCompletedProfileFlow.current) {
153869
+ if (isCompletedFlow.current) {
153766
153870
  return;
153767
153871
  }
153768
- isCompletedProfileFlow.current = true;
153769
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_CENTER_MIN_VERSION)) {
153770
- updateAppToSupportedMinVersion();
153872
+ isCompletedFlow.current = true;
153873
+ if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153874
+ openAppUpdateDialog({
153875
+ title: (0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C") + " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694",
153876
+ onDismiss: function onDismiss() {
153877
+ (0, import_react_native10.closeView)();
153878
+ }
153879
+ });
153771
153880
  return;
153772
153881
  }
153773
153882
  if ((profileData == null ? void 0 : profileData.statusCode) === "SUCCESS") {
@@ -153779,42 +153888,47 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153779
153888
  }
153780
153889
  });
153781
153890
  return function handleGameProfileFlow() {
153782
- return _ref19.apply(this, arguments);
153891
+ return _ref23.apply(this, arguments);
153783
153892
  };
153784
153893
  }();
153785
153894
  handleGameProfileFlow();
153786
- }, [canShowBottomSheetOrToast, isCompletedProfileFlow, openGameProfileToast, openProfileWebview, profileData, updateAppToSupportedMinVersion]);
153787
- if (!(0, import_native_modules6.isMinVersionSupported)(GAME_CENTER_MIN_VERSION)) {
153895
+ }, [canShowBottomSheetOrToast, isCompletedFlow, openAppUpdateDialog, openGameProfileToast, openProfileWebview, profileData]);
153896
+ if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153788
153897
  return (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, {
153789
- children: [(0, import_jsx_runtime3.jsx)(import_react_native9.View, {
153898
+ children: [(0, import_jsx_runtime3.jsx)(import_react_native11.View, {
153790
153899
  style: {
153791
153900
  flex: 1,
153792
153901
  position: "relative"
153793
153902
  },
153794
153903
  children: children
153795
- }), (0, import_jsx_runtime3.jsx)(import_react_native9.Pressable, {
153904
+ }), (0, import_jsx_runtime3.jsx)(import_react_native11.Pressable, {
153796
153905
  style: Object.assign({}, overlayStyle),
153797
153906
  onPress: function onPress() {
153798
- updateAppToSupportedMinVersion();
153907
+ openAppUpdateDialog({
153908
+ title: (0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C") + " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694",
153909
+ onDismiss: function onDismiss() {
153910
+ (0, import_react_native10.closeView)();
153911
+ }
153912
+ });
153799
153913
  }
153800
153914
  })]
153801
153915
  });
153802
153916
  }
153803
- if (shouldShowLoadingOverlay || isProfileDataRefetching) {
153917
+ if (shouldShowProfileLoadingOverlay) {
153804
153918
  return (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, {
153805
- children: [(0, import_jsx_runtime3.jsx)(import_react_native9.View, {
153919
+ children: [(0, import_jsx_runtime3.jsx)(import_react_native11.View, {
153806
153920
  style: {
153807
153921
  flex: 1,
153808
153922
  position: "relative"
153809
153923
  },
153810
153924
  children: children
153811
- }), (0, import_jsx_runtime3.jsx)(import_react_native9.View, {
153925
+ }), (0, import_jsx_runtime3.jsx)(import_react_native11.View, {
153812
153926
  style: Object.assign({}, overlayStyle, {
153813
153927
  justifyContent: "center",
153814
153928
  alignItems: "center",
153815
153929
  backgroundColor: "rgba(0, 0, 0, 0.2)"
153816
153930
  }),
153817
- children: (0, import_jsx_runtime3.jsx)(import_tds_react_native4.Loader, {
153931
+ children: (0, import_jsx_runtime3.jsx)(import_tds_react_native5.Loader, {
153818
153932
  size: "large",
153819
153933
  type: "light"
153820
153934
  })
@@ -153823,13 +153937,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153823
153937
  }
153824
153938
  if (shouldShowProfileNotFoundOverlay) {
153825
153939
  return (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, {
153826
- children: [(0, import_jsx_runtime3.jsx)(import_react_native9.View, {
153940
+ children: [(0, import_jsx_runtime3.jsx)(import_react_native11.View, {
153827
153941
  style: {
153828
153942
  flex: 1,
153829
153943
  position: "relative"
153830
153944
  },
153831
153945
  children: children
153832
- }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime3.jsx)(import_react_native9.Pressable, {
153946
+ }), shouldShowProfileNotFoundOverlay && (0, import_jsx_runtime3.jsx)(import_react_native11.Pressable, {
153833
153947
  style: Object.assign({}, overlayStyle),
153834
153948
  onPress: function onPress() {
153835
153949
  openProfileWebview();
@@ -153838,7 +153952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153838
153952
  });
153839
153953
  }
153840
153954
  return (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {
153841
- children: (0, import_jsx_runtime3.jsx)(import_react_native9.View, {
153955
+ children: (0, import_jsx_runtime3.jsx)(import_react_native11.View, {
153842
153956
  style: {
153843
153957
  flex: 1,
153844
153958
  position: "relative"
@@ -153856,33 +153970,33 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153856
153970
  zIndex: Z_INDEX.PROFILE_OVERLAY
153857
153971
  };
153858
153972
  var import_private5 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
153859
- var import_react8 = _$$_REQUIRE(_dependencyMap[10], "react");
153860
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153973
+ var import_react12 = _$$_REQUIRE(_dependencyMap[10], "react");
153974
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[9], "react-native");
153861
153975
  function useHardwareBackPress(handler) {
153862
- (0, import_react8.useEffect)(function () {
153976
+ (0, import_react12.useEffect)(function () {
153863
153977
  var handleBackPress = function handleBackPress() {
153864
153978
  handler();
153865
153979
  return true;
153866
153980
  };
153867
- import_react_native10.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
153981
+ import_react_native12.BackHandler.addEventListener("hardwareBackPress", handleBackPress);
153868
153982
  return function () {
153869
- return import_react_native10.BackHandler.removeEventListener("hardwareBackPress", handleBackPress);
153983
+ return import_react_native12.BackHandler.removeEventListener("hardwareBackPress", handleBackPress);
153870
153984
  };
153871
153985
  }, [handler]);
153872
153986
  }
153873
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153874
- var import_react10 = _$$_REQUIRE(_dependencyMap[10], "react");
153875
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153987
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153988
+ var import_react14 = _$$_REQUIRE(_dependencyMap[10], "react");
153989
+ var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
153876
153990
  var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
153877
- var import_react9 = _$$_REQUIRE(_dependencyMap[10], "react");
153991
+ var import_react13 = _$$_REQUIRE(_dependencyMap[10], "react");
153878
153992
  function useCloseConfirm() {
153879
153993
  var _getAppsInTossGlobals = getAppsInTossGlobals(),
153880
153994
  brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
153881
- var _ref20 = (0, import_tds_react_native5.useDialog)(),
153882
- openConfirm = _ref20.openConfirm;
153883
- return (0, import_react9.useCallback)(function () {
153884
- var _ref22 = _asyncToGenerator(function* (_ref21) {
153885
- var onEntered = _ref21.onEntered;
153995
+ var _ref24 = (0, import_tds_react_native6.useDialog)(),
153996
+ openConfirm = _ref24.openConfirm;
153997
+ return (0, import_react13.useCallback)(function () {
153998
+ var _ref26 = _asyncToGenerator(function* (_ref25) {
153999
+ var onEntered = _ref25.onEntered;
153886
154000
  return yield openConfirm({
153887
154001
  title: (0, import_es_hangul2.josa)(brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
153888
154002
  leftButton: "\uCDE8\uC18C",
@@ -153891,13 +154005,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153891
154005
  onEntered: onEntered
153892
154006
  });
153893
154007
  });
153894
- return function (_x2) {
153895
- return _ref22.apply(this, arguments);
154008
+ return function (_x3) {
154009
+ return _ref26.apply(this, arguments);
153896
154010
  };
153897
154011
  }(), [brandDisplayName, openConfirm]);
153898
154012
  }
153899
- var import_native_modules7 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
153900
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154013
+ var import_native_modules8 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154014
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
153901
154015
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
153902
154016
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
153903
154017
  var CLOSE_POPUP_SHOW_SCHEMA_ID = 1644490;
@@ -153912,10 +154026,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153912
154026
  var referrer = useReferrer();
153913
154027
  var baseParams = {
153914
154028
  referrer: referrer,
153915
- app_name: import_react_native11.Granite.appName
154029
+ app_name: import_react_native13.Granite.appName
153916
154030
  };
153917
154031
  var logNavBarImpression = function logNavBarImpression(naviBarConfig) {
153918
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
154032
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
153919
154033
  log_name: NAVI_BAR_IMPRESSION_LOG_NAME,
153920
154034
  log_type: "event",
153921
154035
  params: Object.assign({}, naviBarConfig, baseParams, {
@@ -153925,7 +154039,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153925
154039
  });
153926
154040
  };
153927
154041
  var logHomeButtonClick = function logHomeButtonClick() {
153928
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
154042
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
153929
154043
  log_name: HOME_BUTTON_CLICK_LOG_NAME,
153930
154044
  log_type: "event",
153931
154045
  params: Object.assign({}, baseParams, {
@@ -153935,7 +154049,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153935
154049
  });
153936
154050
  };
153937
154051
  var logCloseButtonClick = function logCloseButtonClick() {
153938
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
154052
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
153939
154053
  log_name: CLOSE_BUTTON_CLICK_LOG_NAME,
153940
154054
  log_type: "event",
153941
154055
  params: Object.assign({}, baseParams, {
@@ -153945,7 +154059,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153945
154059
  });
153946
154060
  };
153947
154061
  var logClosePopupShow = function logClosePopupShow() {
153948
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
154062
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
153949
154063
  log_name: CLOSE_POPUP_SHOW_LOG_NAME,
153950
154064
  log_type: "popup",
153951
154065
  params: Object.assign({}, baseParams, {
@@ -153954,7 +154068,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153954
154068
  });
153955
154069
  };
153956
154070
  var logClosePopupCtaClick = function logClosePopupCtaClick(confirm) {
153957
- import_native_modules7.INTERNAL__module.tossCoreEventLog({
154071
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
153958
154072
  log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
153959
154073
  log_type: "event",
153960
154074
  params: Object.assign({}, baseParams, {
@@ -153973,26 +154087,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153973
154087
  };
153974
154088
  }
153975
154089
  function useNavigationEvent() {
153976
- var backEventContext = (0, import_react_native12.useBackEventContext)();
154090
+ var backEventContext = (0, import_react_native14.useBackEventContext)();
153977
154091
  var logging = useNavigationBarLogging();
153978
- var navigation = (0, import_react_native12.useNavigation)();
154092
+ var navigation = (0, import_react_native14.useNavigation)();
153979
154093
  var closeConfirm = useCloseConfirm();
153980
154094
  var _useCaptureExitLog2 = useCaptureExitLog(),
153981
154095
  captureExitLog = _useCaptureExitLog2.captureExitLog;
153982
- return (0, import_react10.useMemo)(function () {
154096
+ return (0, import_react14.useMemo)(function () {
153983
154097
  var close = function () {
153984
- var _ref23 = _asyncToGenerator(function* () {
154098
+ var _ref27 = _asyncToGenerator(function* () {
153985
154099
  var hasConfirmed = yield closeConfirm({
153986
154100
  onEntered: logging.closePopupShow
153987
154101
  });
153988
154102
  logging.closePopupCtaClick(hasConfirmed);
153989
154103
  if (hasConfirmed) {
153990
154104
  captureExitLog(Date.now());
153991
- (0, import_react_native12.closeView)();
154105
+ (0, import_react_native14.closeView)();
153992
154106
  }
153993
154107
  });
153994
154108
  return function close() {
153995
- return _ref23.apply(this, arguments);
154109
+ return _ref27.apply(this, arguments);
153996
154110
  };
153997
154111
  }();
153998
154112
  return {
@@ -154017,17 +154131,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154017
154131
  }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
154018
154132
  }
154019
154133
  var import_native_modules11 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154020
- var import_react_native17 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154134
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154021
154135
  var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154022
154136
  var import_private4 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154023
- var import_react12 = _$$_REQUIRE(_dependencyMap[10], "react");
154024
- var import_native_modules9 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154025
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154026
- var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154137
+ var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154138
+ var import_native_modules10 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154139
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154140
+ var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154027
154141
  var import_private3 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154028
- var import_react_native15 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154029
- var import_native_modules8 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154030
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154142
+ var import_react_native17 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154143
+ var import_native_modules9 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154144
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154031
154145
  var BOTTOM_SHEET_SCHEMA_ID = 1596825;
154032
154146
  var BOTTOM_SHEET_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__more";
154033
154147
  var BOTTOM_SHEET_OPEN_SCHEMA_ID = 1596829;
@@ -154040,10 +154154,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154040
154154
  var referrer = useReferrer();
154041
154155
  var baseParams = {
154042
154156
  referrer: referrer,
154043
- app_name: import_react_native13.Granite.appName
154157
+ app_name: import_react_native15.Granite.appName
154044
154158
  };
154045
154159
  var logBottomSheetShow = function logBottomSheetShow() {
154046
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154160
+ import_native_modules9.INTERNAL__module.tossCoreEventLog({
154047
154161
  log_name: BOTTOM_SHEET_LOG_NAME,
154048
154162
  log_type: "popup",
154049
154163
  params: Object.assign({}, baseParams, {
@@ -154052,7 +154166,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154052
154166
  });
154053
154167
  };
154054
154168
  var logBottomSheetOpen = function logBottomSheetOpen() {
154055
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154169
+ import_native_modules9.INTERNAL__module.tossCoreEventLog({
154056
154170
  log_name: BOTTOM_SHEET_OPEN_LOG_NAME,
154057
154171
  log_type: "event",
154058
154172
  params: Object.assign({}, baseParams, {
@@ -154062,7 +154176,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154062
154176
  });
154063
154177
  };
154064
154178
  var logBottomSheetCloseClick = function logBottomSheetCloseClick() {
154065
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154179
+ import_native_modules9.INTERNAL__module.tossCoreEventLog({
154066
154180
  log_name: BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME,
154067
154181
  log_type: "event",
154068
154182
  params: Object.assign({}, baseParams, {
@@ -154071,9 +154185,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154071
154185
  })
154072
154186
  });
154073
154187
  };
154074
- var logBottomSheetMenuClick = function logBottomSheetMenuClick(_ref24) {
154075
- var title = _ref24.title;
154076
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
154188
+ var logBottomSheetMenuClick = function logBottomSheetMenuClick(_ref28) {
154189
+ var title = _ref28.title;
154190
+ import_native_modules9.INTERNAL__module.tossCoreEventLog({
154077
154191
  log_name: BOTTOM_SHEET_MENU_CLICK_LOG_NAME,
154078
154192
  log_type: "event",
154079
154193
  params: Object.assign({}, baseParams, {
@@ -154092,10 +154206,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154092
154206
  }
154093
154207
  function addParamsToUrl(url, params) {
154094
154208
  var urlObj = new URL(url);
154095
- for (var _ref25 of Object.entries(params)) {
154096
- var _ref26 = _slicedToArray(_ref25, 2);
154097
- var key = _ref26[0];
154098
- var value = _ref26[1];
154209
+ for (var _ref29 of Object.entries(params)) {
154210
+ var _ref30 = _slicedToArray(_ref29, 2);
154211
+ var key = _ref30[0];
154212
+ var value = _ref30[1];
154099
154213
  urlObj.searchParams.set(key, value);
154100
154214
  }
154101
154215
  return urlObj.toString();
@@ -154110,22 +154224,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154110
154224
  var globals = getAppsInTossGlobals();
154111
154225
  var adaptive = (0, import_private3.useAdaptive)();
154112
154226
  var logging = useMoreButtonBottomSheetLogging();
154113
- var initialScheme = (0, import_react_native14.getSchemeUri)();
154114
- var isSandbox = (0, import_native_modules9.getOperationalEnvironment)() === "sandbox";
154115
- var _ref27 = (0, import_tds_react_native6.useDialog)(),
154116
- openConfirm = _ref27.openConfirm;
154227
+ var initialScheme = (0, import_react_native16.getSchemeUri)();
154228
+ var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
154229
+ var _ref31 = (0, import_tds_react_native7.useDialog)(),
154230
+ openConfirm = _ref31.openConfirm;
154117
154231
  var schemeForShare = addParamsToUrl(initialScheme, {
154118
154232
  referrer: SHARE_SCHEME_REFERRER
154119
154233
  });
154120
- return (0, import_jsx_runtime4.jsx)(import_tds_react_native6.ListRow, {
154121
- left: (0, import_jsx_runtime4.jsx)(import_tds_react_native6.ListRow.Icon, {
154234
+ return (0, import_jsx_runtime4.jsx)(import_tds_react_native7.ListRow, {
154235
+ left: (0, import_jsx_runtime4.jsx)(import_tds_react_native7.ListRow.Icon, {
154122
154236
  color: globals.brandPrimaryColor,
154123
154237
  source: {
154124
154238
  uri: APP_SHARE_MENU_INFO.contactIconUrl
154125
154239
  },
154126
154240
  type: "background"
154127
154241
  }),
154128
- contents: (0, import_jsx_runtime4.jsx)(import_tds_react_native6.ListRow.Texts, {
154242
+ contents: (0, import_jsx_runtime4.jsx)(import_tds_react_native7.ListRow.Texts, {
154129
154243
  type: "1RowTypeA",
154130
154244
  top: APP_SHARE_MENU_INFO.contactItemName,
154131
154245
  topProps: {
@@ -154146,7 +154260,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154146
154260
  logging.menuClick({
154147
154261
  title: APP_SHARE_MENU_INFO.contactItemName
154148
154262
  });
154149
- import_react_native15.NativeModules.AppsInTossModule.shareWithScheme({
154263
+ import_react_native17.NativeModules.AppsInTossModule.shareWithScheme({
154150
154264
  params: {
154151
154265
  schemeURL: schemeForShare
154152
154266
  }
@@ -154154,93 +154268,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154154
154268
  }
154155
154269
  });
154156
154270
  }
154157
- var import_native_modules10 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154158
- var import_react_native16 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154159
- var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154160
- var import_react11 = _$$_REQUIRE(_dependencyMap[10], "react");
154161
- function useAppUpdateDialog() {
154162
- var _ref28 = (0, import_tds_react_native7.useDialog)(),
154163
- openConfirm = _ref28.openConfirm;
154164
- var logging = useAppUpdateDialogLogging();
154165
- var openAppUpdateDialog = (0, import_react11.useCallback)(function () {
154166
- var _ref30 = _asyncToGenerator(function* (_ref29) {
154167
- var title = _ref29.title,
154168
- description = _ref29.description,
154169
- _ref29$leftButton = _ref29.leftButton,
154170
- leftButton = _ref29$leftButton === void 0 ? "\uB2EB\uAE30" : _ref29$leftButton,
154171
- _ref29$rightButton = _ref29.rightButton,
154172
- rightButton = _ref29$rightButton === void 0 ? "\uC5C5\uB370\uC774\uD2B8\uD558\uAE30" : _ref29$rightButton;
154173
- logging.show();
154174
- var isConfirmed = yield openConfirm({
154175
- title: title,
154176
- description: description,
154177
- leftButton: leftButton,
154178
- rightButton: rightButton,
154179
- closeOnDimmerClick: true
154180
- });
154181
- if (!isConfirmed) {
154182
- logging.close();
154183
- return;
154184
- }
154185
- logging.update();
154186
- var STORE_SCHEME = getMarketLink();
154187
- (0, import_react_native16.openURL)("supertoss://web?url=" + STORE_SCHEME + "&external=browser");
154188
- });
154189
- return function (_x3) {
154190
- return _ref30.apply(this, arguments);
154191
- };
154192
- }(), [logging, openConfirm]);
154193
- return {
154194
- open: openAppUpdateDialog
154195
- };
154196
- }
154197
- var UPDATE_DIALOG_SCHEMA_ID = 1634992;
154198
- var UPDATE_DIALOG_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__app_update";
154199
- var UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID = 1634996;
154200
- var UPDATE_DIALOG_CTA_CLICK_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__app_update::click__cta";
154201
- function useAppUpdateDialogLogging() {
154202
- var referrer = useReferrer();
154203
- var baseParams = {
154204
- referrer: referrer,
154205
- app_name: import_react_native16.Granite.appName
154206
- };
154207
- var logUpdateClick = function logUpdateClick() {
154208
- import_native_modules10.INTERNAL__module.tossCoreEventLog({
154209
- log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
154210
- log_type: "event",
154211
- params: Object.assign({}, baseParams, {
154212
- schema_id: UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID,
154213
- event_type: "click",
154214
- button_type: "update"
154215
- })
154216
- });
154217
- };
154218
- var logCloseClick = function logCloseClick() {
154219
- import_native_modules10.INTERNAL__module.tossCoreEventLog({
154220
- log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
154221
- log_type: "event",
154222
- params: Object.assign({}, baseParams, {
154223
- schema_id: UPDATE_DIALOG_CTA_CLICK_SCHEMA_ID,
154224
- event_type: "click",
154225
- button_type: "close"
154226
- })
154227
- });
154228
- };
154229
- var logDialogShow = function logDialogShow() {
154230
- import_native_modules10.INTERNAL__module.tossCoreEventLog({
154231
- log_name: UPDATE_DIALOG_LOG_NAME,
154232
- log_type: "popup",
154233
- params: Object.assign({}, baseParams, {
154234
- schema_id: UPDATE_DIALOG_SCHEMA_ID
154235
- })
154236
- });
154237
- };
154238
- return {
154239
- update: logUpdateClick,
154240
- close: logCloseClick,
154241
- show: logDialogShow
154242
- };
154243
- }
154244
154271
  function ensureValue(value, name) {
154245
154272
  if (value === void 0) {
154246
154273
  throw new Error(name + " is required");
@@ -154262,23 +154289,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154262
154289
  function useMoreButtonBottomSheet() {
154263
154290
  var globals = getAppsInTossGlobals();
154264
154291
  var adaptive = (0, import_private4.useAdaptive)();
154265
- var _ref31 = (0, import_react12.useState)([]),
154266
- _ref32 = _slicedToArray(_ref31, 2),
154267
- itemList = _ref32[0],
154268
- setItemList = _ref32[1];
154292
+ var _ref32 = (0, import_react15.useState)([]),
154293
+ _ref33 = _slicedToArray(_ref32, 2),
154294
+ itemList = _ref33[0],
154295
+ setItemList = _ref33[1];
154269
154296
  var appUpdateDialog = useAppUpdateDialog();
154270
154297
  var logging = useMoreButtonBottomSheetLogging();
154271
154298
  var overlay = (0, import_private4.useOverlay)();
154272
154299
  var title = ensureValue(globals.brandDisplayName, "displayName");
154273
154300
  var isBottomSheetSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154274
154301
  var isShareListMenuSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154275
- (0, import_react12.useEffect)(function () {
154302
+ (0, import_react15.useEffect)(function () {
154276
154303
  if (!isBottomSheetSupported) {
154277
154304
  return;
154278
154305
  }
154279
154306
  import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154280
- onSuccess: function onSuccess(_ref33) {
154281
- var items = _ref33.items;
154307
+ onSuccess: function onSuccess(_ref34) {
154308
+ var items = _ref34.items;
154282
154309
  return setItemList(items);
154283
154310
  },
154284
154311
  onError: function onError(error) {
@@ -154287,7 +154314,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154287
154314
  });
154288
154315
  }, [isBottomSheetSupported]);
154289
154316
  var onClickHandler = function () {
154290
- var _ref34 = _asyncToGenerator(function* () {
154317
+ var _ref35 = _asyncToGenerator(function* () {
154291
154318
  logging.open();
154292
154319
  if (!isBottomSheetSupported) {
154293
154320
  yield appUpdateDialog.open({
@@ -154296,10 +154323,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154296
154323
  });
154297
154324
  return;
154298
154325
  }
154299
- overlay.open(function (_ref35) {
154300
- var isOpen = _ref35.isOpen,
154301
- exit = _ref35.exit,
154302
- close = _ref35.close;
154326
+ overlay.open(function (_ref36) {
154327
+ var isOpen = _ref36.isOpen,
154328
+ exit = _ref36.exit,
154329
+ close = _ref36.close;
154303
154330
  var handleClose = function handleClose() {
154304
154331
  logging.close();
154305
154332
  close();
@@ -154349,7 +154376,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154349
154376
  logging.menuClick({
154350
154377
  title: item.contactItemName
154351
154378
  });
154352
- (0, import_react_native17.openURL)(item.contactUri);
154379
+ (0, import_react_native18.openURL)(item.contactUri);
154353
154380
  }
154354
154381
  }, item.contactItemName);
154355
154382
  }), isShareListMenuSupported && (0, import_jsx_runtime5.jsx)(AppShareListMenu, {})]
@@ -154359,17 +154386,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154359
154386
  });
154360
154387
  });
154361
154388
  return function onClickHandler() {
154362
- return _ref34.apply(this, arguments);
154389
+ return _ref35.apply(this, arguments);
154363
154390
  };
154364
154391
  }();
154365
154392
  return {
154366
154393
  open: onClickHandler
154367
154394
  };
154368
154395
  }
154369
- function BottomSheetImpressionArea(_ref36) {
154370
- var children = _ref36.children;
154396
+ function BottomSheetImpressionArea(_ref37) {
154397
+ var children = _ref37.children;
154371
154398
  var logging = useMoreButtonBottomSheetLogging();
154372
- (0, import_react12.useEffect)(function () {
154399
+ (0, import_react15.useEffect)(function () {
154373
154400
  logging.show();
154374
154401
  }, [logging]);
154375
154402
  return (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, {
@@ -154386,14 +154413,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154386
154413
  return null;
154387
154414
  }
154388
154415
  }
154389
- var import_react13 = _$$_REQUIRE(_dependencyMap[10], "react");
154416
+ var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154390
154417
  var import_jsx_runtime6 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154391
- function NavigationBarImpressionArea(_ref37) {
154392
- var children = _ref37.children,
154393
- withHomeButton = _ref37.withHomeButton;
154394
- var hasLogged = (0, import_react13.useRef)(false);
154418
+ function NavigationBarImpressionArea(_ref38) {
154419
+ var children = _ref38.children,
154420
+ withHomeButton = _ref38.withHomeButton;
154421
+ var hasLogged = (0, import_react16.useRef)(false);
154395
154422
  var logging = useNavigationBarLogging();
154396
- (0, import_react13.useEffect)(function () {
154423
+ (0, import_react16.useEffect)(function () {
154397
154424
  if (hasLogged.current === false) {
154398
154425
  logging.navBarImpression({
154399
154426
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -154440,7 +154467,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154440
154467
  }
154441
154468
  var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154442
154469
  var import_private6 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154443
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154470
+ var import_react_native19 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154444
154471
  var import_jsx_runtime8 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154445
154472
  function GameNavigationBar() {
154446
154473
  var safeAreaTop = (0, import_private6.useSafeAreaTop)();
@@ -154456,10 +154483,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154456
154483
  preference: {
154457
154484
  type: "none"
154458
154485
  }
154459
- }), (0, import_jsx_runtime8.jsx)(import_react_native18.View, {
154486
+ }), (0, import_jsx_runtime8.jsx)(import_react_native19.View, {
154460
154487
  style: {
154461
154488
  width: "100%",
154462
- height: import_react_native18.Platform.OS === "ios" ? 44 : 54,
154489
+ height: import_react_native19.Platform.OS === "ios" ? 44 : 54,
154463
154490
  flexDirection: "row",
154464
154491
  alignItems: "center",
154465
154492
  justifyContent: "flex-end",
@@ -154487,8 +154514,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154487
154514
  __reExport(bridge_entry_exports, _$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"));
154488
154515
  __reExport(bridge_entry_exports, _$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"));
154489
154516
  var import_jsx_runtime9 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154490
- function RNAppContainer(_ref38) {
154491
- var children = _ref38.children;
154517
+ function RNAppContainer(_ref39) {
154518
+ var children = _ref39.children;
154492
154519
  var global2 = getAppsInTossGlobals();
154493
154520
  switch (global2.appType) {
154494
154521
  case "game":
@@ -154502,14 +154529,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154502
154529
  });
154503
154530
  }
154504
154531
  }
154505
- function GameAppContainer(_ref39) {
154506
- var children = _ref39.children;
154507
- var _ref40 = (0, import_react14.useState)(false),
154508
- _ref41 = _slicedToArray(_ref40, 2),
154509
- isEntryMessageExited = _ref41[0],
154510
- setIsEntryMessageExited = _ref41[1];
154511
- (0, import_react14.useEffect)(function () {
154512
- if (import_react_native19.Platform.OS === "ios") {
154532
+ function GameAppContainer(_ref40) {
154533
+ var children = _ref40.children;
154534
+ var _ref41 = (0, import_react17.useState)(false),
154535
+ _ref42 = _slicedToArray(_ref41, 2),
154536
+ isEntryMessageExited = _ref42[0],
154537
+ setIsEntryMessageExited = _ref42[1];
154538
+ (0, import_react17.useEffect)(function () {
154539
+ if (import_react_native20.Platform.OS === "ios") {
154513
154540
  (0, import_native_modules12.setIosSwipeGestureEnabled)({
154514
154541
  isEnabled: false
154515
154542
  });
@@ -154521,7 +154548,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154521
154548
  }
154522
154549
  return;
154523
154550
  }, []);
154524
- (0, import_react14.useEffect)(function () {
154551
+ (0, import_react17.useEffect)(function () {
154525
154552
  import_native_modules12.appsInTossEvent.addEventListener("entryMessageExited", {
154526
154553
  onEvent: function onEvent() {
154527
154554
  setIsEntryMessageExited(true);
@@ -154529,22 +154556,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154529
154556
  });
154530
154557
  }, []);
154531
154558
  return (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, {
154532
- children: [(0, import_jsx_runtime9.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime9.jsx)(GameProfile, {
154559
+ children: [(0, import_jsx_runtime9.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime9.jsx)(GameInitializer, {
154533
154560
  isReadyForProfileUI: isEntryMessageExited,
154534
154561
  children: children
154535
154562
  }) : children]
154536
154563
  });
154537
154564
  }
154538
- function GeneralAppContainer(_ref42) {
154539
- var children = _ref42.children;
154565
+ function GeneralAppContainer(_ref43) {
154566
+ var children = _ref43.children;
154540
154567
  return (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, {
154541
154568
  children: [(0, import_jsx_runtime9.jsx)(RNNavigationBar.Default, {}), children]
154542
154569
  });
154543
154570
  }
154544
154571
  var import_jsx_runtime10 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154545
- function AppsInTossContainer(Container, _ref43) {
154546
- var children = _ref43.children,
154547
- initialProps = _objectWithoutProperties(_ref43, _excluded);
154572
+ function AppsInTossContainer(Container, _ref44) {
154573
+ var children = _ref44.children,
154574
+ initialProps = _objectWithoutProperties(_ref44, _excluded);
154548
154575
  if (!(0, import_native_modules13.isMinVersionSupported)({
154549
154576
  android: "5.220.0",
154550
154577
  ios: "5.221.0"
@@ -154569,18 +154596,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154569
154596
  }))]
154570
154597
  });
154571
154598
  }
154572
- function TDSContainer(_ref44) {
154573
- var children = _ref44.children;
154599
+ function TDSContainer(_ref45) {
154600
+ var children = _ref45.children;
154574
154601
  useAppsInTossBridge();
154575
154602
  return (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, {
154576
154603
  children: children
154577
154604
  });
154578
154605
  }
154579
- function registerApp(container, _ref45) {
154580
- var context = _ref45.context,
154581
- analytics = _ref45.analytics;
154606
+ function registerApp(container, _ref46) {
154607
+ var context = _ref46.context,
154608
+ analytics = _ref46.analytics;
154582
154609
  var appName = getAppName();
154583
- var isRegistered = import_react_native21.AppRegistry.getAppKeys().includes(appName);
154610
+ var isRegistered = import_react_native22.AppRegistry.getAppKeys().includes(appName);
154584
154611
  if (!isRegistered) {
154585
154612
  var _analytics$debug;
154586
154613
  import_analytics.Analytics.init({
@@ -154589,7 +154616,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154589
154616
  },
154590
154617
  debug: (_analytics$debug = analytics == null ? void 0 : analytics.debug) != null ? _analytics$debug : __DEV__
154591
154618
  });
154592
- var App = import_react_native20.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154619
+ var App = import_react_native21.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154593
154620
  appName: appName,
154594
154621
  context: context,
154595
154622
  setIosSwipeGestureEnabled: import_native_modules13.setIosSwipeGestureEnabled,
@@ -154604,8 +154631,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154604
154631
  }
154605
154632
  return global.Page;
154606
154633
  }
154607
- function AppsInTossScreenContainer(_ref46) {
154608
- var children = _ref46.children;
154634
+ function AppsInTossScreenContainer(_ref47) {
154635
+ var children = _ref47.children;
154609
154636
  var isRNApp = getAppsInTossGlobals().webViewType == null;
154610
154637
  return (0, import_jsx_runtime10.jsx)(import_analytics.Analytics.Screen, {
154611
154638
  children: isRNApp ? (0, import_jsx_runtime10.jsx)(RNAppContainer, {
@@ -154628,26 +154655,26 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154628
154655
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[14], "@apps-in-toss/native-modules/async-bridges"), 1);
154629
154656
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[15], "@apps-in-toss/native-modules/constant-bridges"), 1);
154630
154657
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[16], "@apps-in-toss/native-modules/event-bridges"), 1);
154631
- var import_react_native31 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154658
+ var import_react_native32 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154632
154659
  var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154633
154660
  var import_private9 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154634
- var import_react24 = _$$_REQUIRE(_dependencyMap[10], "react");
154635
- var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154661
+ var import_react27 = _$$_REQUIRE(_dependencyMap[10], "react");
154662
+ var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154636
154663
  var import_native_modules14 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
154637
154664
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[17], "@granite-js/native/react-native-webview");
154638
- var import_react16 = _$$_REQUIRE(_dependencyMap[10], "react");
154639
- var import_react_native24 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154640
- var import_react_native22 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154665
+ var import_react19 = _$$_REQUIRE(_dependencyMap[10], "react");
154666
+ var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154667
+ var import_react_native23 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154641
154668
  var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154642
154669
  var import_private7 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154643
154670
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
154644
- var import_react15 = _$$_REQUIRE(_dependencyMap[10], "react");
154645
- var import_react_native23 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154671
+ var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
154672
+ var import_react_native24 = _$$_REQUIRE(_dependencyMap[9], "react-native");
154646
154673
  var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154647
154674
  function GameWebviewNavigationBar() {
154648
154675
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
154649
- var _ref47 = (0, import_tds_react_native11.useDialog)(),
154650
- openConfirm = _ref47.openConfirm;
154676
+ var _ref48 = (0, import_tds_react_native11.useDialog)(),
154677
+ openConfirm = _ref48.openConfirm;
154651
154678
  var _useCaptureExitLog3 = useCaptureExitLog(),
154652
154679
  captureExitLog = _useCaptureExitLog3.captureExitLog;
154653
154680
  var global2 = getAppsInTossGlobals();
@@ -154656,7 +154683,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154656
154683
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
154657
154684
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
154658
154685
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
154659
- var handleGameWebviewClose = (0, import_react15.useCallback)(_asyncToGenerator(function* () {
154686
+ var handleGameWebviewClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
154660
154687
  logging.closeButtonClick();
154661
154688
  var isConfirmed = yield openConfirm({
154662
154689
  title: (0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -154668,7 +154695,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154668
154695
  logging.closePopupCtaClick(isConfirmed);
154669
154696
  if (isConfirmed) {
154670
154697
  captureExitLog(Date.now());
154671
- (0, import_react_native22.closeView)();
154698
+ (0, import_react_native23.closeView)();
154672
154699
  }
154673
154700
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154674
154701
  return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
@@ -154676,10 +154703,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154676
154703
  preference: {
154677
154704
  type: "none"
154678
154705
  }
154679
- }), (0, import_jsx_runtime11.jsx)(import_react_native23.View, {
154706
+ }), (0, import_jsx_runtime11.jsx)(import_react_native24.View, {
154680
154707
  style: {
154681
154708
  width: "100%",
154682
- height: import_react_native23.Platform.OS === "ios" ? 44 : 54,
154709
+ height: import_react_native24.Platform.OS === "ios" ? 44 : 54,
154683
154710
  flexDirection: "row",
154684
154711
  alignItems: "center",
154685
154712
  justifyContent: "flex-end",
@@ -154701,13 +154728,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154701
154728
  });
154702
154729
  }
154703
154730
  var import_jsx_runtime12 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154704
- var GameWebView = (0, import_react16.forwardRef)(function GameWebView2(props, ref) {
154705
- var _ref49 = (0, import_react16.useState)(false),
154706
- _ref50 = _slicedToArray(_ref49, 2),
154707
- isEntryMessageExited = _ref50[0],
154708
- setIsEntryMessageExited = _ref50[1];
154709
- (0, import_react16.useEffect)(function () {
154710
- if (import_react_native24.Platform.OS === "ios") {
154731
+ var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
154732
+ var _ref50 = (0, import_react19.useState)(false),
154733
+ _ref51 = _slicedToArray(_ref50, 2),
154734
+ isEntryMessageExited = _ref51[0],
154735
+ setIsEntryMessageExited = _ref51[1];
154736
+ (0, import_react19.useEffect)(function () {
154737
+ if (import_react_native25.Platform.OS === "ios") {
154711
154738
  (0, import_native_modules14.setIosSwipeGestureEnabled)({
154712
154739
  isEnabled: false
154713
154740
  });
@@ -154719,7 +154746,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154719
154746
  }
154720
154747
  return;
154721
154748
  }, []);
154722
- (0, import_react16.useEffect)(function () {
154749
+ (0, import_react19.useEffect)(function () {
154723
154750
  import_native_modules14.appsInTossEvent.addEventListener("entryMessageExited", {
154724
154751
  onEvent: function onEvent() {
154725
154752
  setIsEntryMessageExited(true);
@@ -154727,7 +154754,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154727
154754
  });
154728
154755
  }, []);
154729
154756
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154730
- children: [(0, import_jsx_runtime12.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules14.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime12.jsx)(GameProfile, {
154757
+ children: [(0, import_jsx_runtime12.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules14.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime12.jsx)(GameInitializer, {
154731
154758
  isReadyForProfileUI: isEntryMessageExited,
154732
154759
  children: (0, import_jsx_runtime12.jsx)(import_react_native_webview.WebView, Object.assign({
154733
154760
  ref: ref
@@ -154738,30 +154765,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154738
154765
  });
154739
154766
  });
154740
154767
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[17], "@granite-js/native/react-native-webview");
154741
- var import_react18 = _$$_REQUIRE(_dependencyMap[10], "react");
154742
- var import_react_native25 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154768
+ var import_react21 = _$$_REQUIRE(_dependencyMap[10], "react");
154769
+ var import_react_native26 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154743
154770
  var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154744
154771
  var import_private8 = _$$_REQUIRE(_dependencyMap[13], "@toss/tds-react-native/private");
154745
154772
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
154746
- var import_react17 = _$$_REQUIRE(_dependencyMap[10], "react");
154773
+ var import_react20 = _$$_REQUIRE(_dependencyMap[10], "react");
154747
154774
  var import_jsx_runtime13 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154748
- function PartnerWebviewNavigationBar(_ref51) {
154775
+ function PartnerWebviewNavigationBar(_ref52) {
154749
154776
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154750
- var onBackButtonClick = _ref51.onBackButtonClick,
154751
- onHomeButtonClick = _ref51.onHomeButtonClick;
154777
+ var onBackButtonClick = _ref52.onBackButtonClick,
154778
+ onHomeButtonClick = _ref52.onHomeButtonClick;
154752
154779
  var globals = getAppsInTossGlobals();
154753
154780
  var _useCaptureExitLog4 = useCaptureExitLog(),
154754
154781
  captureExitLog = _useCaptureExitLog4.captureExitLog;
154755
154782
  var logging = useNavigationBarLogging();
154756
- var _ref52 = (0, import_tds_react_native12.useDialog)(),
154757
- openConfirm = _ref52.openConfirm;
154783
+ var _ref53 = (0, import_tds_react_native12.useDialog)(),
154784
+ openConfirm = _ref53.openConfirm;
154758
154785
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
154759
154786
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
154760
154787
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
154761
154788
  var withHomeButton = (_parsedNavigationBar$3 = parsedNavigationBar == null ? void 0 : parsedNavigationBar.withHomeButton) != null ? _parsedNavigationBar$3 : false;
154762
154789
  var withBackButton = (_parsedNavigationBar$4 = parsedNavigationBar == null ? void 0 : parsedNavigationBar.withBackButton) != null ? _parsedNavigationBar$4 : true;
154763
154790
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
154764
- var handleClose = (0, import_react17.useCallback)(_asyncToGenerator(function* () {
154791
+ var handleClose = (0, import_react20.useCallback)(_asyncToGenerator(function* () {
154765
154792
  logging.closeButtonClick();
154766
154793
  var isConfirmed = yield openConfirm({
154767
154794
  title: (0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -154773,7 +154800,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154773
154800
  logging.closePopupCtaClick(isConfirmed);
154774
154801
  if (isConfirmed) {
154775
154802
  captureExitLog(Date.now());
154776
- (0, import_react_native25.closeView)();
154803
+ (0, import_react_native26.closeView)();
154777
154804
  }
154778
154805
  }), [captureExitLog, globals.brandDisplayName, logging, openConfirm]);
154779
154806
  return (0, import_jsx_runtime13.jsx)(NavigationBarImpressionArea, {
@@ -154798,10 +154825,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154798
154825
  });
154799
154826
  }
154800
154827
  var import_jsx_runtime14 = _$$_REQUIRE(_dependencyMap[11], "react/jsx-runtime");
154801
- var PartnerWebView = (0, import_react18.forwardRef)(function PartnerWebViewScreen(_ref54, ref) {
154802
- var onBackButtonClick = _ref54.onBackButtonClick,
154803
- onHomeButtonClick = _ref54.onHomeButtonClick,
154804
- webViewProps = _objectWithoutProperties(_ref54, _excluded2);
154828
+ var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen(_ref55, ref) {
154829
+ var onBackButtonClick = _ref55.onBackButtonClick,
154830
+ onHomeButtonClick = _ref55.onHomeButtonClick,
154831
+ webViewProps = _objectWithoutProperties(_ref55, _excluded2);
154805
154832
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154806
154833
  children: [(0, import_jsx_runtime14.jsx)(PartnerWebviewNavigationBar, {
154807
154834
  onBackButtonClick: onBackButtonClick,
@@ -154815,14 +154842,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154815
154842
  }))]
154816
154843
  });
154817
154844
  });
154818
- var import_react19 = _$$_REQUIRE(_dependencyMap[10], "react");
154845
+ var import_react22 = _$$_REQUIRE(_dependencyMap[10], "react");
154819
154846
  function serializeError(error) {
154820
154847
  return JSON.stringify(error, function (_, value) {
154821
154848
  if (value instanceof Error) {
154822
- return Object.assign({}, Object.entries(value).reduce(function (acc, _ref55) {
154823
- var _ref56 = _slicedToArray(_ref55, 2),
154824
- key = _ref56[0],
154825
- value2 = _ref56[1];
154849
+ return Object.assign({}, Object.entries(value).reduce(function (acc, _ref56) {
154850
+ var _ref57 = _slicedToArray(_ref56, 2),
154851
+ key = _ref57[0],
154852
+ value2 = _ref57[1];
154826
154853
  acc[key] = value2;
154827
154854
  return acc;
154828
154855
  }, {}), {
@@ -154835,24 +154862,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154835
154862
  return value;
154836
154863
  });
154837
154864
  }
154838
- function methodHandler(_ref57) {
154839
- var args = _ref57.args,
154840
- eventId = _ref57.eventId,
154841
- functionName = _ref57.functionName,
154842
- handlerMap = _ref57.handlerMap,
154843
- injectJavaScript = _ref57.injectJavaScript;
154865
+ function methodHandler(_ref58) {
154866
+ var args = _ref58.args,
154867
+ eventId = _ref58.eventId,
154868
+ functionName = _ref58.functionName,
154869
+ handlerMap = _ref58.handlerMap,
154870
+ injectJavaScript = _ref58.injectJavaScript;
154844
154871
  var func = handlerMap[functionName];
154845
154872
  if (!func) {
154846
154873
  console.error(functionName + " is not a function");
154847
154874
  return;
154848
154875
  }
154849
154876
  var wrappedFunc = function () {
154850
- var _ref58 = _asyncToGenerator(function* () {
154877
+ var _ref59 = _asyncToGenerator(function* () {
154851
154878
  var result = yield func.apply(void 0, arguments);
154852
154879
  return result;
154853
154880
  });
154854
154881
  return function wrappedFunc() {
154855
- return _ref58.apply(this, arguments);
154882
+ return _ref59.apply(this, arguments);
154856
154883
  };
154857
154884
  }();
154858
154885
  wrappedFunc.apply(void 0, _toConsumableArray(args)).then(function (result) {
@@ -154863,18 +154890,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154863
154890
  });
154864
154891
  }
154865
154892
  var globalEventListenerMap = new Map();
154866
- function useBridgeHandler(_ref59) {
154867
- var onMessage = _ref59.onMessage,
154868
- constantHandlerMap = _ref59.constantHandlerMap,
154869
- asyncHandlerMap = _ref59.asyncHandlerMap,
154870
- eventListenerMap = _ref59.eventListenerMap,
154871
- originalInjectedJavaScript = _ref59.injectedJavaScript;
154872
- var ref = (0, import_react19.useRef)(null);
154873
- var injectedJavaScript = (0, import_react19.useMemo)(function () {
154874
- return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref60) {
154875
- var _ref61 = _slicedToArray(_ref60, 2),
154876
- key = _ref61[0],
154877
- value = _ref61[1];
154893
+ function useBridgeHandler(_ref60) {
154894
+ var onMessage = _ref60.onMessage,
154895
+ constantHandlerMap = _ref60.constantHandlerMap,
154896
+ asyncHandlerMap = _ref60.asyncHandlerMap,
154897
+ eventListenerMap = _ref60.eventListenerMap,
154898
+ originalInjectedJavaScript = _ref60.injectedJavaScript;
154899
+ var ref = (0, import_react22.useRef)(null);
154900
+ var injectedJavaScript = (0, import_react22.useMemo)(function () {
154901
+ return ["window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref61) {
154902
+ var _ref62 = _slicedToArray(_ref61, 2),
154903
+ key = _ref62[0],
154904
+ value = _ref62[1];
154878
154905
  acc[key] = typeof value === "function" ? value() : value;
154879
154906
  return acc;
154880
154907
  }, {})) + ";", originalInjectedJavaScript, "true"].join("\n");
@@ -154892,8 +154919,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154892
154919
  (_ref$current2 = ref.current) == null ? void 0 : _ref$current2.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('" + functionName + "/onError/" + eventId + "', " + serializedError + ");\n ");
154893
154920
  };
154894
154921
  };
154895
- var $onMessage = (0, import_react19.useCallback)(function () {
154896
- var _ref62 = _asyncToGenerator(function* (e) {
154922
+ var $onMessage = (0, import_react22.useCallback)(function () {
154923
+ var _ref63 = _asyncToGenerator(function* (e) {
154897
154924
  onMessage == null ? void 0 : onMessage(e);
154898
154925
  var data = JSON.parse(e.nativeEvent.data);
154899
154926
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -154938,7 +154965,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154938
154965
  }
154939
154966
  });
154940
154967
  return function (_x4) {
154941
- return _ref62.apply(this, arguments);
154968
+ return _ref63.apply(this, arguments);
154942
154969
  };
154943
154970
  }(), [onMessage]);
154944
154971
  return {
@@ -154947,11 +154974,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154947
154974
  onMessage: $onMessage
154948
154975
  };
154949
154976
  }
154950
- var import_react_native26 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154977
+ var import_react_native27 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
154951
154978
  var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[8], "@toss/tds-react-native");
154952
154979
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[12], "es-hangul");
154953
- var import_react21 = _$$_REQUIRE(_dependencyMap[10], "react");
154954
- var import_react20 = _$$_REQUIRE(_dependencyMap[10], "react");
154980
+ var import_react24 = _$$_REQUIRE(_dependencyMap[10], "react");
154981
+ var import_react23 = _$$_REQUIRE(_dependencyMap[10], "react");
154955
154982
  var INITIAL_STATE = {
154956
154983
  stack: [],
154957
154984
  index: -1
@@ -154998,20 +155025,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154998
155025
  }
154999
155026
  }
155000
155027
  function useWebViewHistory() {
155001
- var _ref63 = (0, import_react20.useReducer)(reducer, INITIAL_STATE),
155002
- _ref64 = _slicedToArray(_ref63, 2),
155003
- state = _ref64[0],
155004
- dispatch = _ref64[1];
155005
- var onNavigationStateChange = (0, import_react20.useCallback)(function (_ref65) {
155006
- var url = _ref65.url,
155007
- canGoForward2 = _ref65.canGoForward;
155028
+ var _ref64 = (0, import_react23.useReducer)(reducer, INITIAL_STATE),
155029
+ _ref65 = _slicedToArray(_ref64, 2),
155030
+ state = _ref65[0],
155031
+ dispatch = _ref65[1];
155032
+ var onNavigationStateChange = (0, import_react23.useCallback)(function (_ref66) {
155033
+ var url = _ref66.url,
155034
+ canGoForward2 = _ref66.canGoForward;
155008
155035
  dispatch({
155009
155036
  type: "NAVIGATION_CHANGE",
155010
155037
  url: url,
155011
155038
  canGoForward: canGoForward2
155012
155039
  });
155013
155040
  }, []);
155014
- var _ref66 = (0, import_react20.useMemo)(function () {
155041
+ var _ref67 = (0, import_react23.useMemo)(function () {
155015
155042
  var canBack = state.index > 0;
155016
155043
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
155017
155044
  return {
@@ -155019,8 +155046,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155019
155046
  canGoForward: canFwd
155020
155047
  };
155021
155048
  }, [state.index, state.stack.length]),
155022
- canGoBack = _ref66.canGoBack,
155023
- canGoForward = _ref66.canGoForward;
155049
+ canGoBack = _ref67.canGoBack,
155050
+ canGoForward = _ref67.canGoForward;
155024
155051
  return {
155025
155052
  onNavigationStateChange: onNavigationStateChange,
155026
155053
  hasHistory: canGoBack,
@@ -155035,22 +155062,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155035
155062
  var _useWebViewHistory = useWebViewHistory(),
155036
155063
  hasHistory = _useWebViewHistory.hasHistory,
155037
155064
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
155038
- var _ref67 = (0, import_react_native26.useBackEventState)(),
155039
- webBackHandlersRef = _ref67.handlersRef,
155040
- hasWebBackEvent = _ref67.hasBackEvent,
155041
- addWebBackEventListener = _ref67.addEventListener,
155042
- removeWebBackEventListener = _ref67.removeEventListener;
155065
+ var _ref68 = (0, import_react_native27.useBackEventState)(),
155066
+ webBackHandlersRef = _ref68.handlersRef,
155067
+ hasWebBackEvent = _ref68.hasBackEvent,
155068
+ addWebBackEventListener = _ref68.addEventListener,
155069
+ removeWebBackEventListener = _ref68.removeEventListener;
155043
155070
  var logging = useNavigationBarLogging();
155044
- var _ref68 = (0, import_tds_react_native13.useDialog)(),
155045
- openConfirm = _ref68.openConfirm;
155071
+ var _ref69 = (0, import_tds_react_native13.useDialog)(),
155072
+ openConfirm = _ref69.openConfirm;
155046
155073
  var global2 = getAppsInTossGlobals();
155047
- var addEventListener = (0, import_react21.useCallback)(function (handler) {
155074
+ var addEventListener = (0, import_react24.useCallback)(function (handler) {
155048
155075
  addWebBackEventListener(handler);
155049
155076
  }, [addWebBackEventListener]);
155050
- var removeEventListener = (0, import_react21.useCallback)(function (handler) {
155077
+ var removeEventListener = (0, import_react24.useCallback)(function (handler) {
155051
155078
  removeWebBackEventListener(handler);
155052
155079
  }, [removeWebBackEventListener]);
155053
- var handleWebBack = (0, import_react21.useCallback)(_asyncToGenerator(function* () {
155080
+ var handleWebBack = (0, import_react24.useCallback)(_asyncToGenerator(function* () {
155054
155081
  if (hasWebBackEvent) {
155055
155082
  for (var handler of webBackHandlersRef) {
155056
155083
  handler();
@@ -155071,11 +155098,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155071
155098
  logging.closePopupCtaClick(isConfirmed);
155072
155099
  if (isConfirmed) {
155073
155100
  captureExitLog(Date.now());
155074
- (0, import_react_native26.closeView)();
155101
+ (0, import_react_native27.closeView)();
155075
155102
  }
155076
155103
  }
155077
155104
  }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
155078
- var handleWebHome = (0, import_react21.useCallback)(function () {
155105
+ var handleWebHome = (0, import_react24.useCallback)(function () {
155079
155106
  var _webViewRef$current2;
155080
155107
  logging.homeButtonClick();
155081
155108
  if (hasWebBackEvent) {
@@ -155086,7 +155113,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155086
155113
  }
155087
155114
  (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(HISTORY_HOME_SCRIPT);
155088
155115
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
155089
- return (0, import_react21.useMemo)(function () {
155116
+ return (0, import_react24.useMemo)(function () {
155090
155117
  return {
155091
155118
  addEventListener: addEventListener,
155092
155119
  removeEventListener: removeEventListener,
@@ -155111,7 +155138,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155111
155138
  };
155112
155139
  }
155113
155140
  var import_native_modules15 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
155114
- var import_react_native27 = _$$_REQUIRE(_dependencyMap[9], "react-native");
155141
+ var import_react_native28 = _$$_REQUIRE(_dependencyMap[9], "react-native");
155115
155142
  var FontA11yCategory = {
155116
155143
  Large: "Large",
155117
155144
  xLarge: "xLarge",
@@ -155239,36 +155266,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155239
155266
  function mapFontScaleToCategory(fontScale, platform) {
155240
155267
  return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
155241
155268
  }
155242
- function _useCreateUserAgent(_ref70) {
155243
- var batteryModePreference = _ref70.batteryModePreference,
155244
- colorPreference = _ref70.colorPreference,
155245
- locale = _ref70.locale,
155246
- navbarPreference = _ref70.navbarPreference,
155247
- pureSafeArea = _ref70.pureSafeArea,
155248
- safeArea = _ref70.safeArea,
155249
- safeAreaBottomTransparency = _ref70.safeAreaBottomTransparency;
155269
+ function _useCreateUserAgent(_ref71) {
155270
+ var batteryModePreference = _ref71.batteryModePreference,
155271
+ colorPreference = _ref71.colorPreference,
155272
+ locale = _ref71.locale,
155273
+ navbarPreference = _ref71.navbarPreference,
155274
+ pureSafeArea = _ref71.pureSafeArea,
155275
+ safeArea = _ref71.safeArea,
155276
+ safeAreaBottomTransparency = _ref71.safeAreaBottomTransparency;
155250
155277
  var platform = (0, import_native_modules15.getPlatformOS)();
155251
155278
  var appVersion = (0, import_native_modules15.getTossAppVersion)();
155252
- var _ref71 = (0, import_react_native27.useWindowDimensions)(),
155253
- fontScale = _ref71.fontScale;
155279
+ var _ref72 = (0, import_react_native28.useWindowDimensions)(),
155280
+ fontScale = _ref72.fontScale;
155254
155281
  var platformString = platform === "ios" ? "iPhone" : "Android";
155255
155282
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
155256
155283
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
155257
155284
  return ["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(" ");
155258
155285
  }
155259
155286
  var import_native_modules16 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
155260
- var import_react_native28 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155261
- var import_react22 = _$$_REQUIRE(_dependencyMap[10], "react");
155262
- function _useGeolocation(_ref72) {
155263
- var accuracy = _ref72.accuracy,
155264
- distanceInterval = _ref72.distanceInterval,
155265
- timeInterval = _ref72.timeInterval;
155266
- var isVisible = (0, import_react_native28.useVisibility)();
155267
- var _ref73 = (0, import_react22.useState)(null),
155268
- _ref74 = _slicedToArray(_ref73, 2),
155269
- location = _ref74[0],
155270
- setLocation = _ref74[1];
155271
- (0, import_react22.useEffect)(function () {
155287
+ var import_react_native29 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155288
+ var import_react25 = _$$_REQUIRE(_dependencyMap[10], "react");
155289
+ function _useGeolocation(_ref73) {
155290
+ var accuracy = _ref73.accuracy,
155291
+ distanceInterval = _ref73.distanceInterval,
155292
+ timeInterval = _ref73.timeInterval;
155293
+ var isVisible = (0, import_react_native29.useVisibility)();
155294
+ var _ref74 = (0, import_react25.useState)(null),
155295
+ _ref75 = _slicedToArray(_ref74, 2),
155296
+ location = _ref75[0],
155297
+ setLocation = _ref75[1];
155298
+ (0, import_react25.useEffect)(function () {
155272
155299
  if (!isVisible) {
155273
155300
  return;
155274
155301
  }
@@ -155284,18 +155311,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155284
155311
  }, [accuracy, distanceInterval, timeInterval, isVisible]);
155285
155312
  return location;
155286
155313
  }
155287
- var import_react_native29 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155288
- var import_react23 = _$$_REQUIRE(_dependencyMap[10], "react");
155314
+ var import_react_native30 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155315
+ var import_react26 = _$$_REQUIRE(_dependencyMap[10], "react");
155289
155316
  function _useWaitForReturnNavigator() {
155290
- var callbacks = (0, import_react23.useRef)([]).current;
155291
- var navigation = (0, import_react_native29.useNavigation)();
155292
- var startNavigating = (0, import_react23.useCallback)(function (route, params) {
155317
+ var callbacks = (0, import_react26.useRef)([]).current;
155318
+ var navigation = (0, import_react_native30.useNavigation)();
155319
+ var startNavigating = (0, import_react26.useCallback)(function (route, params) {
155293
155320
  return new Promise(function (resolve) {
155294
155321
  callbacks.push(resolve);
155295
155322
  navigation.navigate(route, params);
155296
155323
  });
155297
155324
  }, [callbacks, navigation]);
155298
- var handleVisibilityChange = (0, import_react23.useCallback)(function (state) {
155325
+ var handleVisibilityChange = (0, import_react26.useCallback)(function (state) {
155299
155326
  if (state === "visible" && callbacks.length > 0) {
155300
155327
  for (var callback of callbacks) {
155301
155328
  callback();
@@ -155303,11 +155330,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155303
155330
  callbacks.splice(0, callbacks.length);
155304
155331
  }
155305
155332
  }, [callbacks]);
155306
- (0, import_react_native29.useVisibilityChange)(handleVisibilityChange);
155333
+ (0, import_react_native30.useVisibilityChange)(handleVisibilityChange);
155307
155334
  return startNavigating;
155308
155335
  }
155309
155336
  var import_native_modules17 = _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules");
155310
- var import_react_native30 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155337
+ var import_react_native31 = _$$_REQUIRE(_dependencyMap[7], "@granite-js/react-native");
155311
155338
  var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
155312
155339
  var timestampHex = uuid.split("-").join("").slice(0, 12);
155313
155340
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -155329,7 +155356,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155329
155356
  };
155330
155357
  var getReferrer = function getReferrer() {
155331
155358
  try {
155332
- var referrer = new URL((0, import_react_native30.getSchemeUri)());
155359
+ var referrer = new URL((0, import_react_native31.getSchemeUri)());
155333
155360
  return referrer.searchParams.get("referrer");
155334
155361
  } catch (_unused5) {
155335
155362
  return "";
@@ -155361,12 +155388,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155361
155388
  };
155362
155389
  function mergeSchemeQueryParamsInto(url) {
155363
155390
  var baseUrl = new URL(url);
155364
- var schemeUrl = new URL((0, import_react_native31.getSchemeUri)());
155391
+ var schemeUrl = new URL((0, import_react_native32.getSchemeUri)());
155365
155392
  baseUrl.pathname = schemeUrl.pathname;
155366
- for (var _ref75 of schemeUrl.searchParams.entries()) {
155367
- var _ref76 = _slicedToArray(_ref75, 2);
155368
- var key = _ref76[0];
155369
- var value = _ref76[1];
155393
+ for (var _ref76 of schemeUrl.searchParams.entries()) {
155394
+ var _ref77 = _slicedToArray(_ref76, 2);
155395
+ var key = _ref77[0];
155396
+ var value = _ref77[1];
155370
155397
  baseUrl.searchParams.set(key, value);
155371
155398
  }
155372
155399
  return baseUrl;
@@ -155385,17 +155412,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155385
155412
  }
155386
155413
  return url.toString();
155387
155414
  }
155388
- function _WebView(_ref77) {
155389
- var type = _ref77.type,
155390
- local = _ref77.local,
155391
- onMessage = _ref77.onMessage,
155392
- props = _objectWithoutProperties(_ref77, _excluded3);
155415
+ function _WebView(_ref78) {
155416
+ var type = _ref78.type,
155417
+ local = _ref78.local,
155418
+ onMessage = _ref78.onMessage,
155419
+ props = _objectWithoutProperties(_ref78, _excluded3);
155393
155420
  if (!TYPES.includes(type)) {
155394
155421
  throw new Error("Invalid WebView type: '" + type + "'");
155395
155422
  }
155396
- var webViewRef = (0, import_react24.useRef)(null);
155423
+ var webViewRef = (0, import_react27.useRef)(null);
155397
155424
  var webBackHandler = useWebBackHandler(webViewRef);
155398
- var uri = (0, import_react24.useMemo)(function () {
155425
+ var uri = (0, import_react27.useMemo)(function () {
155399
155426
  return getWebViewUri(local);
155400
155427
  }, [local]);
155401
155428
  var top = (0, import_private9.useSafeAreaTop)();
@@ -155403,51 +155430,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155403
155430
  var global2 = getAppsInTossGlobals();
155404
155431
  var topNavigation = (0, import_private9.useTopNavigation)();
155405
155432
  var disableTextSelectionCSS = "\n (function() {\n const style = document.createElement('style');\n style.textContent = '*:not(input):not(textarea) { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }';\n document.head.appendChild(style);\n })();\n ";
155406
- var _ref78 = (0, import_react24.useState)(props.allowsBackForwardNavigationGestures),
155407
- _ref79 = _slicedToArray(_ref78, 2),
155408
- allowsBackForwardNavigationGestures = _ref79[0],
155409
- setAllowsBackForwardNavigationGestures = _ref79[1];
155433
+ var _ref79 = (0, import_react27.useState)(props.allowsBackForwardNavigationGestures),
155434
+ _ref80 = _slicedToArray(_ref79, 2),
155435
+ allowsBackForwardNavigationGestures = _ref80[0],
155436
+ setAllowsBackForwardNavigationGestures = _ref80[1];
155410
155437
  var handler = useBridgeHandler({
155411
155438
  onMessage: onMessage,
155412
155439
  injectedJavaScript: [disableTextSelectionCSS].join("\n"),
155413
155440
  eventListenerMap: Object.assign({}, appsInTossEventBridges, {
155414
- navigationAccessoryEvent: function navigationAccessoryEvent(_ref80) {
155415
- var onEvent = _ref80.onEvent,
155416
- onError = _ref80.onError;
155441
+ navigationAccessoryEvent: function navigationAccessoryEvent(_ref81) {
155442
+ var onEvent = _ref81.onEvent,
155443
+ onError = _ref81.onError;
155417
155444
  return import_tds_react_native14.tdsEvent.addEventListener("navigationAccessoryEvent", {
155418
155445
  onEvent: onEvent,
155419
155446
  onError: onError
155420
155447
  });
155421
155448
  },
155422
- backEvent: function backEvent(_ref81) {
155423
- var onEvent = _ref81.onEvent;
155449
+ backEvent: function backEvent(_ref82) {
155450
+ var onEvent = _ref82.onEvent;
155424
155451
  webBackHandler.addEventListener(onEvent);
155425
155452
  return function () {
155426
155453
  webBackHandler.removeEventListener(onEvent);
155427
155454
  };
155428
155455
  },
155429
- entryMessageExited: function entryMessageExited(_ref82) {
155430
- var onEvent = _ref82.onEvent,
155431
- onError = _ref82.onError;
155456
+ entryMessageExited: function entryMessageExited(_ref83) {
155457
+ var onEvent = _ref83.onEvent,
155458
+ onError = _ref83.onError;
155432
155459
  return import_native_modules18.appsInTossEvent.addEventListener("entryMessageExited", {
155433
155460
  onEvent: onEvent,
155434
155461
  onError: onError
155435
155462
  });
155436
155463
  },
155437
- updateLocationEvent: function updateLocationEvent(_ref83) {
155438
- var onEvent = _ref83.onEvent,
155439
- onError = _ref83.onError,
155440
- options = _ref83.options;
155464
+ updateLocationEvent: function updateLocationEvent(_ref84) {
155465
+ var onEvent = _ref84.onEvent,
155466
+ onError = _ref84.onError,
155467
+ options = _ref84.options;
155441
155468
  return import_native_modules18.appsInTossEvent.addEventListener("updateLocationEvent", {
155442
155469
  onEvent: onEvent,
155443
155470
  onError: onError,
155444
155471
  options: options
155445
155472
  });
155446
155473
  },
155447
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref84) {
155448
- var onEvent = _ref84.onEvent,
155449
- onError = _ref84.onError,
155450
- options = _ref84.options;
155474
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref85) {
155475
+ var onEvent = _ref85.onEvent,
155476
+ onError = _ref85.onError,
155477
+ options = _ref85.options;
155451
155478
  return import_native_modules18.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155452
155479
  onEvent: onEvent,
155453
155480
  onError: onError,
@@ -155470,10 +155497,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155470
155497
  getSafeAreaBottom: function getSafeAreaBottom() {
155471
155498
  return bottom;
155472
155499
  }
155473
- }, Object.fromEntries(Object.entries(global2).map(function (_ref85) {
155474
- var _ref86 = _slicedToArray(_ref85, 2),
155475
- key = _ref86[0],
155476
- value = _ref86[1];
155500
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref86) {
155501
+ var _ref87 = _slicedToArray(_ref86, 2),
155502
+ key = _ref87[0],
155503
+ value = _ref87[1];
155477
155504
  return [key, function () {
155478
155505
  return value;
155479
155506
  }];
@@ -155530,7 +155557,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155530
155557
  completeProductGrant: import_native_modules18.IAP.completeProductGrant
155531
155558
  })
155532
155559
  });
155533
- var headerPropForExternalWebView = (0, import_react24.useMemo)(function () {
155560
+ var headerPropForExternalWebView = (0, import_react27.useMemo)(function () {
155534
155561
  var _parsedNavigationBar$5;
155535
155562
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
155536
155563
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -155552,14 +155579,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155552
155579
  colorPreference: "light"
155553
155580
  });
155554
155581
  var refs = mergeRefs(handler.ref, webViewRef);
155555
- (0, import_react24.useEffect)(function () {
155582
+ (0, import_react27.useEffect)(function () {
155556
155583
  var callback = function callback() {
155557
155584
  webBackHandler.handleWebBack();
155558
155585
  return true;
155559
155586
  };
155560
- import_react_native32.BackHandler.addEventListener("hardwareBackPress", callback);
155587
+ import_react_native33.BackHandler.addEventListener("hardwareBackPress", callback);
155561
155588
  return function () {
155562
- return import_react_native32.BackHandler.removeEventListener("hardwareBackPress", callback);
155589
+ return import_react_native33.BackHandler.removeEventListener("hardwareBackPress", callback);
155563
155590
  };
155564
155591
  }, [webBackHandler]);
155565
155592
  return (0, import_jsx_runtime15.jsx)(BaseWebView, Object.assign({
@@ -155580,14 +155607,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155580
155607
  props.onNavigationStateChange == null ? void 0 : props.onNavigationStateChange(event);
155581
155608
  webBackHandler.onNavigationStateChange(event);
155582
155609
  },
155583
- userAgent: import_react_native32.Platform.OS === "ios" ? userAgent : void 0,
155610
+ userAgent: import_react_native33.Platform.OS === "ios" ? userAgent : void 0,
155584
155611
  sharedCookiesEnabled: true,
155585
155612
  webviewDebuggingEnabled: webViewDebuggingEnabled,
155586
155613
  thirdPartyCookiesEnabled: true,
155587
155614
  onMessage: handler.onMessage,
155588
155615
  injectedJavaScript: handler.injectedJavaScript,
155589
155616
  injectedJavaScriptBeforeContentLoaded: handler.injectedJavaScript,
155590
- decelerationRate: import_react_native32.Platform.OS === "ios" ? 1 : void 0,
155617
+ decelerationRate: import_react_native33.Platform.OS === "ios" ? 1 : void 0,
155591
155618
  allowsBackForwardNavigationGestures: allowsBackForwardNavigationGestures
155592
155619
  }));
155593
155620
  }
@@ -155614,7 +155641,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155614
155641
  useTopNavigation: useTopNavigation,
155615
155642
  useWaitForReturnNavigator: _useWaitForReturnNavigator
155616
155643
  }, _$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/analytics"), _$$_REQUIRE(_dependencyMap[6], "@apps-in-toss/native-modules"), _$$_REQUIRE(_dependencyMap[18], "@apps-in-toss/types")));
155617
- },1254,[32,207,16,61,1255,1256,1257,2,1444,18,6,9,2466,2566,2567,2601,2608,2475,1258],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155644
+ },1254,[32,207,61,16,1255,1256,1257,2,1444,18,6,9,2466,2566,2567,2603,2610,2475,1258],"../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
155618
155645
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
155619
155646
  function _objectDestructuringEmpty(obj) {
155620
155647
  if (obj == null) throw new TypeError("Cannot destructure undefined");
@@ -156375,6 +156402,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156375
156402
  getTossShareLink: function getTossShareLink() {
156376
156403
  return _getTossShareLink;
156377
156404
  },
156405
+ getUserKeyForGame: function getUserKeyForGame() {
156406
+ return _getUserKeyForGame;
156407
+ },
156408
+ grantPromotionRewardForGame: function grantPromotionRewardForGame() {
156409
+ return _grantPromotionRewardForGame;
156410
+ },
156378
156411
  iapCreateOneTimePurchaseOrder: function iapCreateOneTimePurchaseOrder() {
156379
156412
  return _iapCreateOneTimePurchaseOrder;
156380
156413
  },
@@ -157474,6 +157507,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157474
157507
  android: "5.221.0",
157475
157508
  ios: "5.221.0"
157476
157509
  };
157510
+ var GAME_USER_KEY_MIN_VERSION = {
157511
+ android: "5.232.0",
157512
+ ios: "5.232.0"
157513
+ };
157514
+ var GAME_PROMOTION_REWARD_MIN_VERSION = {
157515
+ android: "5.232.0",
157516
+ ios: "5.232.0"
157517
+ };
157477
157518
  function _openGameCenterLeaderboard() {
157478
157519
  return _openGameCenterLeaderboard2.apply(this, arguments);
157479
157520
  }
@@ -157520,6 +157561,63 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157520
157561
  });
157521
157562
  return _submitGameCenterLeaderBoardScore2.apply(this, arguments);
157522
157563
  }
157564
+ function _getUserKeyForGame() {
157565
+ return _getUserKeyForGame2.apply(this, arguments);
157566
+ }
157567
+ function _getUserKeyForGame2() {
157568
+ _getUserKeyForGame2 = _asyncToGenerator(function* () {
157569
+ var isSupported = _isMinVersionSupported(GAME_USER_KEY_MIN_VERSION);
157570
+ if (!isSupported) {
157571
+ return;
157572
+ }
157573
+ try {
157574
+ var response = yield _AppsInTossModule.getUserKeyForGame({});
157575
+ if (response.type === "HASH") {
157576
+ return response;
157577
+ }
157578
+ if (response.type === "NOT_AVAILABLE") {
157579
+ return "INVALID_CATEGORY";
157580
+ }
157581
+ return "ERROR";
157582
+ } catch (_) {
157583
+ return "ERROR";
157584
+ }
157585
+ });
157586
+ return _getUserKeyForGame2.apply(this, arguments);
157587
+ }
157588
+ function isGrantPromotionRewardForGameError(error) {
157589
+ return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
157590
+ }
157591
+ function _grantPromotionRewardForGame(_x14) {
157592
+ return _grantPromotionRewardForGame2.apply(this, arguments);
157593
+ }
157594
+ function _grantPromotionRewardForGame2() {
157595
+ _grantPromotionRewardForGame2 = _asyncToGenerator(function* (_ref9) {
157596
+ var params = _ref9.params;
157597
+ var isSupported = _isMinVersionSupported(GAME_PROMOTION_REWARD_MIN_VERSION);
157598
+ if (!isSupported) {
157599
+ return;
157600
+ }
157601
+ try {
157602
+ var response = yield _AppsInTossModule.grantPromotionRewardForGame({
157603
+ params: params
157604
+ });
157605
+ if (response.key) {
157606
+ return response;
157607
+ }
157608
+ return "ERROR";
157609
+ } catch (error) {
157610
+ if (isGrantPromotionRewardForGameError(error)) {
157611
+ return {
157612
+ errorCode: error.code,
157613
+ message: error.message
157614
+ };
157615
+ }
157616
+ return "ERROR";
157617
+ }
157618
+ });
157619
+ return _grantPromotionRewardForGame2.apply(this, arguments);
157620
+ }
157523
157621
  function _contactsViral(params) {
157524
157622
  var isSupported = _isMinVersionSupported({
157525
157623
  android: "5.223.0",
@@ -157548,7 +157646,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157548
157646
  });
157549
157647
  return unregisterCallbacks;
157550
157648
  }
157551
- function _appsInTossSignTossCert(_x14) {
157649
+ function _appsInTossSignTossCert(_x15) {
157552
157650
  return _appsInTossSignTossCert2.apply(this, arguments);
157553
157651
  }
157554
157652
  function _appsInTossSignTossCert2() {
@@ -157616,7 +157714,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157616
157714
  function _generateHapticFeedback(options) {
157617
157715
  return _BedrockModule.generateHapticFeedback(options);
157618
157716
  }
157619
- function _share(_x15) {
157717
+ function _share(_x16) {
157620
157718
  return _share2.apply(this, arguments);
157621
157719
  }
157622
157720
  function _share2() {
@@ -157628,7 +157726,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157628
157726
  function _setSecureScreen(options) {
157629
157727
  return _BedrockModule.setSecureScreen(options);
157630
157728
  }
157631
- function _setScreenAwakeMode(_x16) {
157729
+ function _setScreenAwakeMode(_x17) {
157632
157730
  return _setScreenAwakeMode2.apply(this, arguments);
157633
157731
  }
157634
157732
  function _setScreenAwakeMode2() {
@@ -157640,7 +157738,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157640
157738
  function _getNetworkStatus() {
157641
157739
  return _BedrockModule.getNetworkStatus();
157642
157740
  }
157643
- function _setIosSwipeGestureEnabled(_x17) {
157741
+ function _setIosSwipeGestureEnabled(_x18) {
157644
157742
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
157645
157743
  }
157646
157744
  function _setIosSwipeGestureEnabled2() {
@@ -157716,6 +157814,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157716
157814
  getSchemeUri: getSchemeUri,
157717
157815
  getTossAppVersion: _getTossAppVersion,
157718
157816
  getTossShareLink: _getTossShareLink,
157817
+ getUserKeyForGame: _getUserKeyForGame,
157818
+ grantPromotionRewardForGame: _grantPromotionRewardForGame,
157719
157819
  iapCreateOneTimePurchaseOrder: _iapCreateOneTimePurchaseOrder,
157720
157820
  isMinVersionSupported: _isMinVersionSupported,
157721
157821
  onVisibilityChangedByTransparentServiceWeb: _onVisibilityChangedByTransparentServiceWeb,
@@ -231430,7 +231530,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
231430
231530
  }
231431
231531
  });
231432
231532
  });
231433
- },2567,[2568,2570,2571,2572,2573,2574,2575,2576,2577,2579,2580,2581,2583,2584,2585,2586,2587,2588,2589,2592,2593,2594,2595,2596,2597,2599,2600],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/async-bridges.ts");
231533
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[27], "./AppsInTossModule/native-modules/getUserKeyForGame");
231534
+ Object.keys(_getUserKeyForGame).forEach(function (key) {
231535
+ if (key === "default" || key === "__esModule") return;
231536
+ if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
231537
+ Object.defineProperty(exports, key, {
231538
+ enumerable: true,
231539
+ get: function get() {
231540
+ return _getUserKeyForGame[key];
231541
+ }
231542
+ });
231543
+ });
231544
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[28], "./AppsInTossModule/native-modules/grantPromotionRewardForGame");
231545
+ Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
231546
+ if (key === "default" || key === "__esModule") return;
231547
+ if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
231548
+ Object.defineProperty(exports, key, {
231549
+ enumerable: true,
231550
+ get: function get() {
231551
+ return _grantPromotionRewardForGame[key];
231552
+ }
231553
+ });
231554
+ });
231555
+ },2567,[2568,2570,2571,2572,2573,2574,2575,2576,2577,2579,2580,2581,2583,2584,2585,2586,2587,2588,2589,2592,2593,2594,2595,2596,2597,2599,2600,2601,2602],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/async-bridges.ts");
231434
231556
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
231435
231557
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
231436
231558
  Object.defineProperty(exports, "__esModule", {
@@ -232134,12 +232256,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232134
232256
  Object.defineProperty(exports, "__esModule", {
232135
232257
  value: true
232136
232258
  });
232137
- exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
232259
+ exports.GAME_USER_KEY_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROFILE_WEBVIEW_URL = exports.GAME_CENTER_MIN_VERSION = void 0;
232138
232260
  var GAME_PROFILE_WEBVIEW_URL = exports.GAME_PROFILE_WEBVIEW_URL = 'https://service.toss.im/game-center/profile';
232139
232261
  var GAME_CENTER_MIN_VERSION = exports.GAME_CENTER_MIN_VERSION = {
232140
232262
  android: '5.221.0',
232141
232263
  ios: '5.221.0'
232142
232264
  };
232265
+ var GAME_USER_KEY_MIN_VERSION = exports.GAME_USER_KEY_MIN_VERSION = {
232266
+ android: '5.232.0',
232267
+ ios: '5.232.0'
232268
+ };
232269
+ var GAME_PROMOTION_REWARD_MIN_VERSION = exports.GAME_PROMOTION_REWARD_MIN_VERSION = {
232270
+ android: '5.232.0',
232271
+ ios: '5.232.0'
232272
+ };
232143
232273
  },2598,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/constants.ts");
232144
232274
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232145
232275
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
@@ -232196,6 +232326,85 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232196
232326
  return _submitGameCenterLeaderBoardScore.apply(this, arguments);
232197
232327
  }
232198
232328
  },2600,[1,16,2578,2590,2598],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/submitGameCenterLeaderBoardScore.ts");
232329
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232330
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232331
+ Object.defineProperty(exports, "__esModule", {
232332
+ value: true
232333
+ });
232334
+ exports.getUserKeyForGame = getUserKeyForGame;
232335
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232336
+ var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232337
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232338
+ var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
232339
+ function getUserKeyForGame() {
232340
+ return _getUserKeyForGame.apply(this, arguments);
232341
+ }
232342
+ function _getUserKeyForGame() {
232343
+ _getUserKeyForGame = (0, _asyncToGenerator2.default)(function* () {
232344
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GAME_USER_KEY_MIN_VERSION);
232345
+ if (!isSupported) {
232346
+ return;
232347
+ }
232348
+ try {
232349
+ var response = yield _AppsInTossModule.AppsInTossModule.getUserKeyForGame({});
232350
+ if (response.type === 'HASH') {
232351
+ return response;
232352
+ }
232353
+ if (response.type === 'NOT_AVAILABLE') {
232354
+ return 'INVALID_CATEGORY';
232355
+ }
232356
+ return 'ERROR';
232357
+ } catch (_) {
232358
+ return 'ERROR';
232359
+ }
232360
+ });
232361
+ return _getUserKeyForGame.apply(this, arguments);
232362
+ }
232363
+ },2601,[1,16,2578,2590,2598],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getUserKeyForGame.ts");
232364
+ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232365
+ var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232366
+ Object.defineProperty(exports, "__esModule", {
232367
+ value: true
232368
+ });
232369
+ exports.grantPromotionRewardForGame = grantPromotionRewardForGame;
232370
+ var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232371
+ var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232372
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232373
+ var _constants = _$$_REQUIRE(_dependencyMap[4], "../constants");
232374
+ function isGrantPromotionRewardForGameError(error) {
232375
+ return typeof error === 'object' && error !== null && 'code' in error && typeof error.code === 'string' && 'message' in error && typeof error.message === 'string';
232376
+ }
232377
+ function grantPromotionRewardForGame(_x) {
232378
+ return _grantPromotionRewardForGame.apply(this, arguments);
232379
+ }
232380
+ function _grantPromotionRewardForGame() {
232381
+ _grantPromotionRewardForGame = (0, _asyncToGenerator2.default)(function* (_ref) {
232382
+ var params = _ref.params;
232383
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GAME_PROMOTION_REWARD_MIN_VERSION);
232384
+ if (!isSupported) {
232385
+ return;
232386
+ }
232387
+ try {
232388
+ var response = yield _AppsInTossModule.AppsInTossModule.grantPromotionRewardForGame({
232389
+ params: params
232390
+ });
232391
+ if (response.key) {
232392
+ return response;
232393
+ }
232394
+ return 'ERROR';
232395
+ } catch (error) {
232396
+ if (isGrantPromotionRewardForGameError(error)) {
232397
+ return {
232398
+ errorCode: error.code,
232399
+ message: error.message
232400
+ };
232401
+ }
232402
+ return 'ERROR';
232403
+ }
232404
+ });
232405
+ return _grantPromotionRewardForGame.apply(this, arguments);
232406
+ }
232407
+ },2602,[1,16,2578,2590,2598],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/grantPromotionRewardForGame.ts");
232199
232408
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232200
232409
  Object.defineProperty(exports, "__esModule", {
232201
232410
  value: true
@@ -232266,7 +232475,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232266
232475
  }
232267
232476
  });
232268
232477
  });
232269
- },2601,[2602,2603,2604,2605,2606,2607],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/constant-bridges.ts");
232478
+ },2603,[2604,2605,2606,2607,2608,2609],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/constant-bridges.ts");
232270
232479
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232271
232480
  Object.defineProperty(exports, "__esModule", {
232272
232481
  value: true
@@ -232285,7 +232494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232285
232494
  function replaceUnderbarToHypen(locale) {
232286
232495
  return locale.replace(/_/g, '-');
232287
232496
  }
232288
- },2602,[18,2569],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
232497
+ },2604,[18,2569],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
232289
232498
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232290
232499
  Object.defineProperty(exports, "__esModule", {
232291
232500
  value: true
@@ -232295,7 +232504,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232295
232504
  function getSchemeUri() {
232296
232505
  return _BedrockModule.BedrockModule.schemeUri;
232297
232506
  }
232298
- },2603,[2569],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
232507
+ },2605,[2569],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
232299
232508
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232300
232509
  Object.defineProperty(exports, "__esModule", {
232301
232510
  value: true
@@ -232305,7 +232514,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232305
232514
  function getPlatformOS() {
232306
232515
  return _reactNative.Platform.OS;
232307
232516
  }
232308
- },2604,[18],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
232517
+ },2606,[18],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
232309
232518
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232310
232519
  Object.defineProperty(exports, "__esModule", {
232311
232520
  value: true
@@ -232315,7 +232524,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232315
232524
  function getOperationalEnvironment() {
232316
232525
  return _AppsInTossModule.AppsInTossModule.operationalEnvironment;
232317
232526
  }
232318
- },2605,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getOperationalEnvironment.ts");
232527
+ },2607,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getOperationalEnvironment.ts");
232319
232528
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232320
232529
  Object.defineProperty(exports, "__esModule", {
232321
232530
  value: true
@@ -232325,7 +232534,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232325
232534
  function getTossAppVersion() {
232326
232535
  return _AppsInTossModule.AppsInTossModule.tossAppVersion;
232327
232536
  }
232328
- },2606,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossAppVersion.ts");
232537
+ },2608,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossAppVersion.ts");
232329
232538
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232330
232539
  Object.defineProperty(exports, "__esModule", {
232331
232540
  value: true
@@ -232335,7 +232544,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232335
232544
  function getDeviceId() {
232336
232545
  return _AppsInTossModule.AppsInTossModule.deviceId;
232337
232546
  }
232338
- },2607,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getDeviceId.ts");
232547
+ },2609,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getDeviceId.ts");
232339
232548
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232340
232549
  Object.defineProperty(exports, "__esModule", {
232341
232550
  value: true
@@ -232373,7 +232582,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232373
232582
  }
232374
232583
  });
232375
232584
  });
232376
- },2608,[2609,2625,2624],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
232585
+ },2610,[2611,2627,2626],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
232377
232586
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232378
232587
  Object.defineProperty(exports, "__esModule", {
232379
232588
  value: true
@@ -232386,7 +232595,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232386
232595
  }
232387
232596
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
232388
232597
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
232389
- },2609,[2610,2618],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
232598
+ },2611,[2612,2620],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
232390
232599
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232391
232600
  Object.defineProperty(exports, "__esModule", {
232392
232601
  value: true
@@ -232398,7 +232607,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232398
232607
  var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/AppBridgeCallbackEvent");
232399
232608
  var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[4], "./internal/VisibilityChangedByTransparentServiceWebEvent");
232400
232609
  var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
232401
- },2610,[2,2611,2612,2614,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
232610
+ },2612,[2,2613,2614,2616,2619],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
232402
232611
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232403
232612
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232404
232613
  Object.defineProperty(exports, "__esModule", {
@@ -232433,7 +232642,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232433
232642
  value: function listener(_) {}
232434
232643
  }]);
232435
232644
  }(_reactNative.GraniteEventDefinition);
232436
- },2611,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts");
232645
+ },2613,[1,24,25,43,46,47,2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/EntryMessageExitedEvent.ts");
232437
232646
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232438
232647
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232439
232648
  Object.defineProperty(exports, "__esModule", {
@@ -232500,7 +232709,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232500
232709
  }
232501
232710
  }]);
232502
232711
  }(_reactNative.GraniteEventDefinition);
232503
- },2612,[1,24,25,43,46,47,1258,2,2578,2579,2613],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
232712
+ },2614,[1,24,25,43,46,47,1258,2,2578,2579,2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
232504
232713
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232505
232714
  Object.defineProperty(exports, "__esModule", {
232506
232715
  value: true
@@ -232509,7 +232718,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232509
232718
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
232510
232719
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
232511
232720
  var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
232512
- },2613,[18,2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
232721
+ },2615,[18,2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
232513
232722
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232514
232723
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232515
232724
  Object.defineProperty(exports, "__esModule", {
@@ -232562,7 +232771,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232562
232771
  }
232563
232772
  }]);
232564
232773
  }(_reactNative.GraniteEventDefinition);
232565
- },2614,[1,24,25,43,46,47,2,2615,2613],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
232774
+ },2616,[1,24,25,43,46,47,2,2617,2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
232566
232775
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232567
232776
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232568
232777
  Object.defineProperty(exports, "__esModule", {
@@ -232639,7 +232848,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232639
232848
  unregisterCallback: unregisterCallback,
232640
232849
  getCallbackIds: getCallbackIds
232641
232850
  };
232642
- },2615,[1,61,207,2616,2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
232851
+ },2617,[1,61,207,2618,2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
232643
232852
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232644
232853
  Object.defineProperty(exports, "__esModule", {
232645
232854
  value: true
@@ -232648,7 +232857,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232648
232857
  function generateUUID(placeholder) {
232649
232858
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
232650
232859
  }
232651
- },2616,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
232860
+ },2618,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
232652
232861
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232653
232862
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232654
232863
  Object.defineProperty(exports, "__esModule", {
@@ -232706,7 +232915,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232706
232915
  }
232707
232916
  }]);
232708
232917
  }(_reactNative.GraniteEventDefinition);
232709
- },2617,[1,24,25,43,46,47,2,2613],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
232918
+ },2619,[1,24,25,43,46,47,2,2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
232710
232919
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232711
232920
  Object.defineProperty(exports, "__esModule", {
232712
232921
  value: true
@@ -232975,7 +233184,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232975
233184
  }
232976
233185
  });
232977
233186
  });
232978
- var _contactsViral = _$$_REQUIRE(_dependencyMap[24], "../native-event-emitter/contactsViral");
233187
+ var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[24], "./getUserKeyForGame");
233188
+ Object.keys(_getUserKeyForGame).forEach(function (key) {
233189
+ if (key === "default" || key === "__esModule") return;
233190
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
233191
+ if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
233192
+ Object.defineProperty(exports, key, {
233193
+ enumerable: true,
233194
+ get: function get() {
233195
+ return _getUserKeyForGame[key];
233196
+ }
233197
+ });
233198
+ });
233199
+ var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[25], "./grantPromotionRewardForGame");
233200
+ Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
233201
+ if (key === "default" || key === "__esModule") return;
233202
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
233203
+ if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
233204
+ Object.defineProperty(exports, key, {
233205
+ enumerable: true,
233206
+ get: function get() {
233207
+ return _grantPromotionRewardForGame[key];
233208
+ }
233209
+ });
233210
+ });
233211
+ var _contactsViral = _$$_REQUIRE(_dependencyMap[26], "../native-event-emitter/contactsViral");
232979
233212
  Object.keys(_contactsViral).forEach(function (key) {
232980
233213
  if (key === "default" || key === "__esModule") return;
232981
233214
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -232987,7 +233220,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232987
233220
  }
232988
233221
  });
232989
233222
  });
232990
- var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[25], "./appsInTossSignTossCert");
233223
+ var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[27], "./appsInTossSignTossCert");
232991
233224
  Object.keys(_appsInTossSignTossCert).forEach(function (key) {
232992
233225
  if (key === "default" || key === "__esModule") return;
232993
233226
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -233010,7 +233243,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233010
233243
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
233011
233244
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
233012
233245
  };
233013
- },2618,[2619,2620,2594,2578,2588,2589,2585,2584,2583,2586,2581,2587,2607,2605,2606,2592,2622,2590,2595,2593,2623,2599,2597,2600,2624,2596],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233246
+ },2620,[2621,2622,2594,2578,2588,2589,2585,2584,2583,2586,2581,2587,2609,2607,2608,2592,2624,2590,2595,2593,2625,2599,2597,2600,2601,2602,2626,2596],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233014
233247
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233015
233248
  Object.defineProperty(exports, "__esModule", {
233016
233249
  value: true
@@ -233171,7 +233404,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233171
233404
  loadAdMobRewardedAd.isSupported = createIsSupported();
233172
233405
  showAdMobInterstitialAd.isSupported = createIsSupported();
233173
233406
  showAdMobRewardedAd.isSupported = createIsSupported();
233174
- },2619,[1259,2615,2605,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233407
+ },2621,[1259,2617,2607,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233175
233408
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233176
233409
  Object.defineProperty(exports, "__esModule", {
233177
233410
  value: true
@@ -233274,7 +233507,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233274
233507
  }
233275
233508
  loadAppsInTossAdMob.isSupported = createIsSupported();
233276
233509
  showAppsInTossAdMob.isSupported = createIsSupported();
233277
- },2620,[1259,2621,2615,2605,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
233510
+ },2622,[1259,2623,2617,2607,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
233278
233511
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233279
233512
  Object.defineProperty(exports, "__esModule", {
233280
233513
  value: true
@@ -233288,7 +233521,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233288
233521
  return null;
233289
233522
  }
233290
233523
  }
233291
- },2621,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
233524
+ },2623,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
233292
233525
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233293
233526
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233294
233527
  Object.defineProperty(exports, "__esModule", {
@@ -233483,7 +233716,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233483
233716
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
233484
233717
  completeProductGrant: completeProductGrant
233485
233718
  };
233486
- },2622,[1,16,1259,2578,2590,2615],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
233719
+ },2624,[1,16,1259,2578,2590,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
233487
233720
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233488
233721
  Object.defineProperty(exports, "__esModule", {
233489
233722
  value: true
@@ -233515,7 +233748,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233515
233748
  removeItem: removeItem,
233516
233749
  clearItems: clearItems
233517
233750
  };
233518
- },2623,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
233751
+ },2625,[2578],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
233519
233752
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233520
233753
  Object.defineProperty(exports, "__esModule", {
233521
233754
  value: true
@@ -233551,7 +233784,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233551
233784
  });
233552
233785
  return unregisterCallbacks;
233553
233786
  }
233554
- },2624,[2615,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
233787
+ },2626,[2617,2590],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
233555
233788
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233556
233789
  Object.defineProperty(exports, "__esModule", {
233557
233790
  value: true
@@ -233561,7 +233794,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233561
233794
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
233562
233795
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
233563
233796
  }
233564
- },2625,[2610],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
233797
+ },2627,[2612],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
233565
233798
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233566
233799
  Object.defineProperty(exports, "__esModule", {
233567
233800
  value: true
@@ -233576,7 +233809,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233576
233809
  context.keys = function () {
233577
233810
  return Array.from(files.keys());
233578
233811
  };
233579
- },2626,[2627,2628],"react-native/context.ts");
233812
+ },2628,[2629,2630],"react-native/context.ts");
233580
233813
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233581
233814
  Object.defineProperty(exports, "__esModule", {
233582
233815
  value: true
@@ -233609,7 +233842,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233609
233842
  })
233610
233843
  });
233611
233844
  }
233612
- },2627,[1254,18,9],"react-native/pages/index.tsx");
233845
+ },2629,[1254,18,9],"react-native/pages/index.tsx");
233613
233846
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233614
233847
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233615
233848
  Object.defineProperty(exports, "__esModule", {
@@ -233622,6 +233855,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233622
233855
  }
233623
233856
  });
233624
233857
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
233625
- },2628,[1,2627],"react-native/pages/_404.tsx");
233858
+ },2630,[1,2629],"react-native/pages/_404.tsx");
233626
233859
  __r(133);
233627
233860
  __r(0);