@apps-in-toss/web-framework 1.5.2 → 1.5.3

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.
@@ -153133,7 +153133,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153133
153133
  var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
153134
153134
  context: _context.context
153135
153135
  });
153136
- },1255,[1256,2630,9],"react-native/src/_app.tsx");
153136
+ },1255,[1256,2629,9],"react-native/src/_app.tsx");
153137
153137
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
153138
153138
  "use strict";
153139
153139
 
@@ -153228,9 +153228,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153228
153228
  module.exports = __toCommonJS(src_exports);
153229
153229
  var import_analytics2 = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153230
153230
  var import_analytics = _$$_REQUIRE(_dependencyMap[7], "@apps-in-toss/analytics");
153231
- var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153231
+ var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153232
153232
  var import_react_native23 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153233
- var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153233
+ var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153234
153234
  var import_react_native24 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153235
153235
  var import_native_modules2 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153236
153236
  var import_react_native4 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
@@ -153410,52 +153410,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153410
153410
  }
153411
153411
  return context;
153412
153412
  }
153413
- var import_native_modules3 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153414
- var import_tds_react_native = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153415
- var import_react6 = _$$_REQUIRE(_dependencyMap[12], "react");
153416
- function toIcon(source) {
153417
- return source.startsWith("http") ? {
153418
- source: {
153419
- uri: source
153420
- }
153421
- } : {
153422
- name: source
153423
- };
153424
- }
153425
- function useAppsInTossBridge() {
153426
- var controller = (0, import_tds_react_native.useBridge)();
153427
- var appsInTossGlobals = getAppsInTossGlobals();
153428
- (0, import_react6.useEffect)(function () {
153429
- var isGameApp = appsInTossGlobals.webViewType === "game" || appsInTossGlobals.appType === "game";
153430
- controller.open({
153431
- serviceName: appsInTossGlobals.brandDisplayName,
153432
- icon: toIcon(appsInTossGlobals.brandIcon),
153433
- color: appsInTossGlobals.brandPrimaryColor,
153434
- colorMode: isGameApp ? "inverted" : appsInTossGlobals.brandBridgeColorMode,
153435
- onExited: function onExited() {
153436
- import_native_modules3.appsInTossEvent.emit("entryMessageExited", void 0);
153437
- }
153438
- });
153439
- }, []);
153440
- }
153441
- var import_native_modules13 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153442
- var import_react18 = _$$_REQUIRE(_dependencyMap[12], "react");
153413
+ var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153414
+ var import_react17 = _$$_REQUIRE(_dependencyMap[12], "react");
153443
153415
  var import_react_native22 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153444
- var import_native_modules7 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153416
+ var import_native_modules6 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153445
153417
  var import_react_native10 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153446
- var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153418
+ var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153447
153419
  var import_es_hangul = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
153448
- var import_react12 = _$$_REQUIRE(_dependencyMap[12], "react");
153420
+ var import_react11 = _$$_REQUIRE(_dependencyMap[12], "react");
153449
153421
  var import_react_native11 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153450
153422
  var GAME_PROFILE_WEBVIEW_URL = "servicetoss://game-center/profile";
153451
153423
  var GAME_MIN_VERSION = {
153452
153424
  android: "5.232.0",
153453
153425
  ios: "5.232.0"
153454
153426
  };
153455
- var import_native_modules4 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153427
+ var import_native_modules3 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153456
153428
  var import_react_native7 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153457
- var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153458
- var import_react7 = _$$_REQUIRE(_dependencyMap[12], "react");
153429
+ var import_tds_react_native = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153430
+ var import_react6 = _$$_REQUIRE(_dependencyMap[12], "react");
153459
153431
  var import_react_native6 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153460
153432
  var PLAYSTORE_LINK = "https://play.google.com/store/apps/details?id=viva.republica.toss";
153461
153433
  var APPSTORE_LINK = "https://itunes.apple.com/app/id839333328";
@@ -153463,10 +153435,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153463
153435
  return import_react_native6.Platform.OS === "android" ? PLAYSTORE_LINK : APPSTORE_LINK;
153464
153436
  };
153465
153437
  function useAppUpdateDialog() {
153466
- var _ref5 = (0, import_tds_react_native2.useDialog)(),
153438
+ var _ref5 = (0, import_tds_react_native.useDialog)(),
153467
153439
  openConfirm = _ref5.openConfirm;
153468
153440
  var logging = useAppUpdateDialogLogging();
153469
- var openAppUpdateDialog = (0, import_react7.useCallback)(function () {
153441
+ var openAppUpdateDialog = (0, import_react6.useCallback)(function () {
153470
153442
  var _ref7 = _asyncToGenerator(function* (_ref6) {
153471
153443
  var title = _ref6.title,
153472
153444
  description = _ref6.description,
@@ -153511,7 +153483,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153511
153483
  app_name: import_react_native7.Granite.appName
153512
153484
  };
153513
153485
  var logUpdateClick = function logUpdateClick() {
153514
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153486
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153515
153487
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153516
153488
  log_type: "event",
153517
153489
  params: Object.assign({}, baseParams, {
@@ -153522,7 +153494,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153522
153494
  });
153523
153495
  };
153524
153496
  var logCloseClick = function logCloseClick() {
153525
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153497
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153526
153498
  log_name: UPDATE_DIALOG_CTA_CLICK_LOG_NAME,
153527
153499
  log_type: "event",
153528
153500
  params: Object.assign({}, baseParams, {
@@ -153533,7 +153505,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153533
153505
  });
153534
153506
  };
153535
153507
  var logDialogShow = function logDialogShow() {
153536
- import_native_modules4.INTERNAL__module.tossCoreEventLog({
153508
+ import_native_modules3.INTERNAL__module.tossCoreEventLog({
153537
153509
  log_name: UPDATE_DIALOG_LOG_NAME,
153538
153510
  log_type: "popup",
153539
153511
  params: Object.assign({}, baseParams, {
@@ -153547,19 +153519,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153547
153519
  show: logDialogShow
153548
153520
  };
153549
153521
  }
153550
- var import_native_modules6 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153551
- var import_react11 = _$$_REQUIRE(_dependencyMap[12], "react");
153522
+ var import_native_modules5 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153523
+ var import_react10 = _$$_REQUIRE(_dependencyMap[12], "react");
153552
153524
  var import_react_native8 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153553
- var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153554
- var import_react8 = _$$_REQUIRE(_dependencyMap[12], "react");
153525
+ var import_tds_react_native2 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153526
+ var import_react7 = _$$_REQUIRE(_dependencyMap[12], "react");
153555
153527
  var DEFAULT_ERROR = {
153556
153528
  title: "\uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694",
153557
153529
  description: "\uBB38\uC81C\uAC00 \uACC4\uC18D\uB418\uBA74 \uD1A0\uC2A4 \uACE0\uAC1D\uC13C\uD130(1599-4905)\uB85C \uBB38\uC758\uD574\uC8FC\uC138\uC694."
153558
153530
  };
153559
153531
  var useErrorAlert = function useErrorAlert() {
153560
- var _ref8 = (0, import_tds_react_native3.useDialog)(),
153532
+ var _ref8 = (0, import_tds_react_native2.useDialog)(),
153561
153533
  openAlert = _ref8.openAlert;
153562
- var openErrorAlert = (0, import_react8.useCallback)(_asyncToGenerator(function* () {
153534
+ var openErrorAlert = (0, import_react7.useCallback)(_asyncToGenerator(function* () {
153563
153535
  yield openAlert({
153564
153536
  title: DEFAULT_ERROR.title,
153565
153537
  description: DEFAULT_ERROR.description
@@ -153570,10 +153542,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153570
153542
  open: openErrorAlert
153571
153543
  };
153572
153544
  };
153573
- var import_react9 = _$$_REQUIRE(_dependencyMap[12], "react");
153545
+ var import_react8 = _$$_REQUIRE(_dependencyMap[12], "react");
153574
153546
  var import_react_native9 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153575
- var import_native_modules5 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153576
- var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules5.onVisibilityChangedByTransparentServiceWeb;
153547
+ var import_native_modules4 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153548
+ var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = import_native_modules4.onVisibilityChangedByTransparentServiceWeb;
153577
153549
  var openTransparentWebView = function openTransparentWebView(_ref10) {
153578
153550
  var webUrl = _ref10.webUrl,
153579
153551
  _ref10$cleanupWhenDis = _ref10.cleanupWhenDismissed,
@@ -153610,13 +153582,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153610
153582
  (0, import_react_native9.openURL)(url.toString());
153611
153583
  };
153612
153584
  var useTransparentWebview = function useTransparentWebview() {
153613
- var _ref13 = (0, import_react9.useState)(false),
153585
+ var _ref13 = (0, import_react8.useState)(false),
153614
153586
  _ref14 = _slicedToArray(_ref13, 2),
153615
153587
  isWebviewLoading = _ref14[0],
153616
153588
  setIsWebviewLoading = _ref14[1];
153617
153589
  var _useErrorAlert = useErrorAlert(),
153618
153590
  openErrorAlert = _useErrorAlert.open;
153619
- var _openTransparentWebview = (0, import_react9.useCallback)(function (_ref15) {
153591
+ var _openTransparentWebview = (0, import_react8.useCallback)(function (_ref15) {
153620
153592
  var webUrl = _ref15.webUrl,
153621
153593
  onClose = _ref15.onClose,
153622
153594
  _onError2 = _ref15.onError;
@@ -153652,13 +153624,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153652
153624
  open: _openTransparentWebview
153653
153625
  };
153654
153626
  };
153655
- var import_tds_react_native4 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153627
+ var import_tds_react_native3 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153656
153628
  var import_private2 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
153657
- var import_react10 = _$$_REQUIRE(_dependencyMap[12], "react");
153629
+ var import_react9 = _$$_REQUIRE(_dependencyMap[12], "react");
153658
153630
  var import_jsx_runtime3 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
153659
153631
  var useGameProfileToast = function useGameProfileToast() {
153660
153632
  var overlay = (0, import_private2.useOverlay)();
153661
- var openGameProfileToast = (0, import_react10.useCallback)(function (nickname, profileImageUri) {
153633
+ var openGameProfileToast = (0, import_react9.useCallback)(function (nickname, profileImageUri) {
153662
153634
  return new Promise(function (resolve) {
153663
153635
  overlay.open(function (_ref16) {
153664
153636
  var isOpen = _ref16.isOpen,
@@ -153667,7 +153639,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153667
153639
  return (0, import_jsx_runtime3.jsx)(import_private2.ColorPreferenceProvider, {
153668
153640
  colorPreference: "dark",
153669
153641
  children: (0, import_jsx_runtime3.jsx)(import_private2.AdaptiveColorProvider, {
153670
- children: (0, import_jsx_runtime3.jsx)(import_tds_react_native4.Toast, {
153642
+ children: (0, import_jsx_runtime3.jsx)(import_tds_react_native3.Toast, {
153671
153643
  open: isOpen,
153672
153644
  onClose: function onClose() {
153673
153645
  resolve();
@@ -153676,12 +153648,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153676
153648
  onExited: exit,
153677
153649
  position: "top",
153678
153650
  text: nickname + "\uB2D8 \uBC18\uAC00\uC6CC\uC694!",
153679
- icon: (0, import_jsx_runtime3.jsx)(import_tds_react_native4.Asset.Image, {
153651
+ icon: (0, import_jsx_runtime3.jsx)(import_tds_react_native3.Asset.Image, {
153680
153652
  style: {
153681
153653
  borderRadius: 64,
153682
153654
  overflow: "hidden"
153683
153655
  },
153684
- frameShape: import_tds_react_native4.Asset.frameShape.CleanW32,
153656
+ frameShape: import_tds_react_native3.Asset.frameShape.CleanW32,
153685
153657
  source: {
153686
153658
  uri: profileImageUri
153687
153659
  }
@@ -153696,31 +153668,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153696
153668
  openGameProfileToast: openGameProfileToast
153697
153669
  };
153698
153670
  };
153699
- var useGameCenterProfile = function useGameCenterProfile(isReadyForProfileUI) {
153700
- var _ref17 = (0, import_react11.useState)(void 0),
153671
+ var useGameCenterProfile = function useGameCenterProfile() {
153672
+ var _ref17 = (0, import_react10.useState)(void 0),
153701
153673
  _ref18 = _slicedToArray(_ref17, 2),
153702
153674
  profileData = _ref18[0],
153703
153675
  setProfileData = _ref18[1];
153704
- var _ref19 = (0, import_react11.useState)(true),
153676
+ var _ref19 = (0, import_react10.useState)(true),
153705
153677
  _ref20 = _slicedToArray(_ref19, 2),
153706
153678
  isProfileDataLoading = _ref20[0],
153707
153679
  setIsProfileDataLoading = _ref20[1];
153708
- var _ref21 = (0, import_react11.useState)(false),
153680
+ var _ref21 = (0, import_react10.useState)(false),
153709
153681
  _ref22 = _slicedToArray(_ref21, 2),
153710
153682
  isProfileDataRefetching = _ref22[0],
153711
153683
  setIsProfileDataRefetching = _ref22[1];
153712
- var shouldShowProfileLoadingOverlay = isProfileDataLoading && isReadyForProfileUI || isProfileDataRefetching;
153713
- var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && isReadyForProfileUI && !isProfileDataRefetching;
153714
- var canShowBottomSheetOrToast = !isProfileDataLoading && isReadyForProfileUI;
153684
+ var shouldShowProfileLoadingOverlay = isProfileDataLoading || isProfileDataRefetching;
153685
+ var shouldShowProfileNotFoundOverlay = (profileData == null ? void 0 : profileData.statusCode) === "PROFILE_NOT_FOUND" && !isProfileDataRefetching;
153686
+ var canShowBottomSheetOrToast = !isProfileDataLoading;
153715
153687
  var _useGameProfileToast = useGameProfileToast(),
153716
153688
  openGameProfileToast = _useGameProfileToast.openGameProfileToast;
153717
153689
  var _useErrorAlert2 = useErrorAlert(),
153718
153690
  openErrorAlert = _useErrorAlert2.open;
153719
153691
  var _useTransparentWebvie = useTransparentWebview(),
153720
153692
  openTransparentWebView2 = _useTransparentWebvie.open;
153721
- var fetchProfileData = (0, import_react11.useCallback)(_asyncToGenerator(function* () {
153693
+ var fetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153722
153694
  try {
153723
- var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153695
+ var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
153724
153696
  setProfileData(data);
153725
153697
  setIsProfileDataLoading(false);
153726
153698
  } catch (_) {
@@ -153728,10 +153700,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153728
153700
  setIsProfileDataLoading(false);
153729
153701
  }
153730
153702
  }), [openErrorAlert]);
153731
- var refetchProfileData = (0, import_react11.useCallback)(_asyncToGenerator(function* () {
153703
+ var refetchProfileData = (0, import_react10.useCallback)(_asyncToGenerator(function* () {
153732
153704
  try {
153733
153705
  setIsProfileDataRefetching(true);
153734
- var data = yield (0, import_native_modules6.getGameCenterGameProfile)();
153706
+ var data = yield (0, import_native_modules5.getGameCenterGameProfile)();
153735
153707
  setProfileData(data);
153736
153708
  setIsProfileDataRefetching(false);
153737
153709
  if ((data == null ? void 0 : data.statusCode) === "SUCCESS") {
@@ -153742,7 +153714,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153742
153714
  openErrorAlert();
153743
153715
  }
153744
153716
  }), [openErrorAlert, openGameProfileToast]);
153745
- var openProfileWebview = (0, import_react11.useCallback)(function () {
153717
+ var openProfileWebview = (0, import_react10.useCallback)(function () {
153746
153718
  openTransparentWebView2({
153747
153719
  webUrl: GAME_PROFILE_WEBVIEW_URL + "?appName=" + getAppName() + "&referrer=appsintoss." + getAppName(),
153748
153720
  onClose: function () {
@@ -153776,9 +153748,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153776
153748
  };
153777
153749
  var import_jsx_runtime4 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
153778
153750
  var GameInitializer = function GameInitializer(_ref25) {
153779
- var children = _ref25.children,
153780
- isReadyForProfileUI = _ref25.isReadyForProfileUI;
153781
- var _useGameCenterProfile = useGameCenterProfile(isReadyForProfileUI),
153751
+ var children = _ref25.children;
153752
+ var _useGameCenterProfile = useGameCenterProfile(),
153782
153753
  profileData = _useGameCenterProfile.profileData,
153783
153754
  shouldShowProfileLoadingOverlay = _useGameCenterProfile.shouldShowProfileLoadingOverlay,
153784
153755
  shouldShowProfileNotFoundOverlay = _useGameCenterProfile.shouldShowProfileNotFoundOverlay,
@@ -153786,13 +153757,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153786
153757
  openProfileWebview = _useGameCenterProfile.openProfileWebview,
153787
153758
  openGameProfileToast = _useGameCenterProfile.openGameProfileToast,
153788
153759
  fetchProfileData = _useGameCenterProfile.fetchProfileData;
153789
- var isCompletedFlow = (0, import_react12.useRef)(false);
153760
+ var isCompletedFlow = (0, import_react11.useRef)(false);
153790
153761
  var _useAppUpdateDialog = useAppUpdateDialog(),
153791
153762
  openAppUpdateDialog = _useAppUpdateDialog.open;
153792
- (0, import_react12.useEffect)(function () {
153763
+ (0, import_react11.useEffect)(function () {
153793
153764
  fetchProfileData();
153794
153765
  }, []);
153795
- (0, import_react12.useEffect)(function () {
153766
+ (0, import_react11.useEffect)(function () {
153796
153767
  var handleGameProfileFlow = function () {
153797
153768
  var _ref26 = _asyncToGenerator(function* () {
153798
153769
  if (!canShowBottomSheetOrToast) {
@@ -153802,7 +153773,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153802
153773
  return;
153803
153774
  }
153804
153775
  isCompletedFlow.current = true;
153805
- if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153776
+ if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
153806
153777
  openAppUpdateDialog({
153807
153778
  title: (0, import_es_hangul.josa)(getAppsInTossGlobals().brandDisplayName, "\uC744/\uB97C") + " \uD558\uB824\uBA74 \n\uC571\uC744 \uC5C5\uB370\uC774\uD2B8\uD574\uC8FC\uC138\uC694",
153808
153779
  onDismiss: function onDismiss() {
@@ -153825,7 +153796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153825
153796
  }();
153826
153797
  handleGameProfileFlow();
153827
153798
  }, [canShowBottomSheetOrToast, isCompletedFlow, openAppUpdateDialog, openGameProfileToast, openProfileWebview, profileData]);
153828
- if (!(0, import_native_modules7.isMinVersionSupported)(GAME_MIN_VERSION)) {
153799
+ if (!(0, import_native_modules6.isMinVersionSupported)(GAME_MIN_VERSION)) {
153829
153800
  return (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, {
153830
153801
  children: [(0, import_jsx_runtime4.jsx)(import_react_native11.View, {
153831
153802
  style: {
@@ -153860,7 +153831,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153860
153831
  alignItems: "center",
153861
153832
  backgroundColor: "rgba(0, 0, 0, 0.2)"
153862
153833
  }),
153863
- children: (0, import_jsx_runtime4.jsx)(import_tds_react_native5.Loader, {
153834
+ children: (0, import_jsx_runtime4.jsx)(import_tds_react_native4.Loader, {
153864
153835
  size: "large",
153865
153836
  type: "light"
153866
153837
  })
@@ -153902,10 +153873,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153902
153873
  zIndex: Z_INDEX.PROFILE_OVERLAY
153903
153874
  };
153904
153875
  var import_private5 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
153905
- var import_react13 = _$$_REQUIRE(_dependencyMap[12], "react");
153876
+ var import_react12 = _$$_REQUIRE(_dependencyMap[12], "react");
153906
153877
  var import_react_native12 = _$$_REQUIRE(_dependencyMap[11], "react-native");
153907
153878
  function useHardwareBackPress(handler) {
153908
- (0, import_react13.useEffect)(function () {
153879
+ (0, import_react12.useEffect)(function () {
153909
153880
  var handleBackPress = function handleBackPress() {
153910
153881
  handler();
153911
153882
  return true;
@@ -153917,16 +153888,16 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153917
153888
  }, [handler]);
153918
153889
  }
153919
153890
  var import_react_native14 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153920
- var import_react15 = _$$_REQUIRE(_dependencyMap[12], "react");
153921
- var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153922
- var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
153923
153891
  var import_react14 = _$$_REQUIRE(_dependencyMap[12], "react");
153892
+ var import_tds_react_native5 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
153893
+ var import_es_hangul2 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
153894
+ var import_react13 = _$$_REQUIRE(_dependencyMap[12], "react");
153924
153895
  function useCloseConfirm() {
153925
153896
  var _getAppsInTossGlobals = getAppsInTossGlobals(),
153926
153897
  brandDisplayName = _getAppsInTossGlobals.brandDisplayName;
153927
- var _ref27 = (0, import_tds_react_native6.useDialog)(),
153898
+ var _ref27 = (0, import_tds_react_native5.useDialog)(),
153928
153899
  openConfirm = _ref27.openConfirm;
153929
- return (0, import_react14.useCallback)(function () {
153900
+ return (0, import_react13.useCallback)(function () {
153930
153901
  var _ref29 = _asyncToGenerator(function* (_ref28) {
153931
153902
  var onEntered = _ref28.onEntered;
153932
153903
  return yield openConfirm({
@@ -153942,7 +153913,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153942
153913
  };
153943
153914
  }(), [brandDisplayName, openConfirm]);
153944
153915
  }
153945
- var import_native_modules8 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153916
+ var import_native_modules7 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
153946
153917
  var import_react_native13 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
153947
153918
  var NAVI_BAR_IMPRESSION_SCHEMA_ID = 1596837;
153948
153919
  var NAVI_BAR_IMPRESSION_LOG_NAME = "appsintoss_app_visit__common_module::impression__navigation_bar";
@@ -153961,7 +153932,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153961
153932
  app_name: import_react_native13.Granite.appName
153962
153933
  };
153963
153934
  var logNavBarImpression = function logNavBarImpression(naviBarConfig) {
153964
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
153935
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
153965
153936
  log_name: NAVI_BAR_IMPRESSION_LOG_NAME,
153966
153937
  log_type: "event",
153967
153938
  params: Object.assign({}, naviBarConfig, baseParams, {
@@ -153971,7 +153942,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153971
153942
  });
153972
153943
  };
153973
153944
  var logHomeButtonClick = function logHomeButtonClick() {
153974
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
153945
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
153975
153946
  log_name: HOME_BUTTON_CLICK_LOG_NAME,
153976
153947
  log_type: "event",
153977
153948
  params: Object.assign({}, baseParams, {
@@ -153981,7 +153952,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153981
153952
  });
153982
153953
  };
153983
153954
  var logCloseButtonClick = function logCloseButtonClick() {
153984
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
153955
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
153985
153956
  log_name: CLOSE_BUTTON_CLICK_LOG_NAME,
153986
153957
  log_type: "event",
153987
153958
  params: Object.assign({}, baseParams, {
@@ -153991,7 +153962,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
153991
153962
  });
153992
153963
  };
153993
153964
  var logClosePopupShow = function logClosePopupShow() {
153994
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
153965
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
153995
153966
  log_name: CLOSE_POPUP_SHOW_LOG_NAME,
153996
153967
  log_type: "popup",
153997
153968
  params: Object.assign({}, baseParams, {
@@ -154000,7 +153971,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154000
153971
  });
154001
153972
  };
154002
153973
  var logClosePopupCtaClick = function logClosePopupCtaClick(confirm) {
154003
- import_native_modules8.INTERNAL__module.tossCoreEventLog({
153974
+ import_native_modules7.INTERNAL__module.tossCoreEventLog({
154004
153975
  log_name: CLOSE_POPUP_CTA_CLICK_LOG_NAME,
154005
153976
  log_type: "event",
154006
153977
  params: Object.assign({}, baseParams, {
@@ -154025,7 +153996,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154025
153996
  var closeConfirm = useCloseConfirm();
154026
153997
  var _useCaptureExitLog2 = useCaptureExitLog(),
154027
153998
  captureExitLog = _useCaptureExitLog2.captureExitLog;
154028
- return (0, import_react15.useMemo)(function () {
153999
+ return (0, import_react14.useMemo)(function () {
154029
154000
  var close = function () {
154030
154001
  var _ref30 = _asyncToGenerator(function* () {
154031
154002
  var hasConfirmed = yield closeConfirm({
@@ -154062,19 +154033,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154062
154033
  };
154063
154034
  }, [backEventContext, navigation, closeConfirm, logging, captureExitLog]);
154064
154035
  }
154065
- var import_native_modules12 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154036
+ var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154066
154037
  var import_react_native20 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154067
- var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154038
+ var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154068
154039
  var import_private4 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154069
- var import_react16 = _$$_REQUIRE(_dependencyMap[12], "react");
154070
- var import_native_modules10 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154040
+ var import_react15 = _$$_REQUIRE(_dependencyMap[12], "react");
154041
+ var import_native_modules9 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154071
154042
  var import_react_native17 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154072
- var import_tds_react_native8 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154073
- var import_react_native18 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154074
154043
  var import_tds_react_native7 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154044
+ var import_react_native18 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154045
+ var import_tds_react_native6 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154075
154046
  var import_private3 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154076
154047
  var import_react_native16 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154077
- var import_native_modules9 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154048
+ var import_native_modules8 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154078
154049
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154079
154050
  var BOTTOM_SHEET_SCHEMA_ID = 1596825;
154080
154051
  var BOTTOM_SHEET_LOG_NAME = "appsintoss_app_visit__common_module::bottomsheet__more";
@@ -154091,7 +154062,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154091
154062
  app_name: import_react_native15.Granite.appName
154092
154063
  };
154093
154064
  var logBottomSheetShow = function logBottomSheetShow() {
154094
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154065
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154095
154066
  log_name: BOTTOM_SHEET_LOG_NAME,
154096
154067
  log_type: "popup",
154097
154068
  params: Object.assign({}, baseParams, {
@@ -154100,7 +154071,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154100
154071
  });
154101
154072
  };
154102
154073
  var logBottomSheetOpen = function logBottomSheetOpen() {
154103
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154074
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154104
154075
  log_name: BOTTOM_SHEET_OPEN_LOG_NAME,
154105
154076
  log_type: "event",
154106
154077
  params: Object.assign({}, baseParams, {
@@ -154110,7 +154081,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154110
154081
  });
154111
154082
  };
154112
154083
  var logBottomSheetCloseClick = function logBottomSheetCloseClick() {
154113
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154084
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154114
154085
  log_name: BOTTOM_SHEET_CLOSE_CLICK_LOG_NAME,
154115
154086
  log_type: "event",
154116
154087
  params: Object.assign({}, baseParams, {
@@ -154121,7 +154092,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154121
154092
  };
154122
154093
  var logBottomSheetMenuClick = function logBottomSheetMenuClick(_ref31) {
154123
154094
  var title = _ref31.title;
154124
- import_native_modules9.INTERNAL__module.tossCoreEventLog({
154095
+ import_native_modules8.INTERNAL__module.tossCoreEventLog({
154125
154096
  log_name: BOTTOM_SHEET_MENU_CLICK_LOG_NAME,
154126
154097
  log_type: "event",
154127
154098
  params: Object.assign({}, baseParams, {
@@ -154149,7 +154120,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154149
154120
  var logging = useMoreButtonBottomSheetLogging();
154150
154121
  var brandPrimaryColorRGB = hexToRGB(globals.brandPrimaryColor);
154151
154122
  var iconBackgroundColor = brandPrimaryColorRGB ? "rgba(" + brandPrimaryColorRGB.join(",") + ",0.1)" : adaptive.grey100;
154152
- return (0, import_jsx_runtime5.jsx)(import_tds_react_native7.ListRow, {
154123
+ return (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow, {
154153
154124
  left: (0, import_jsx_runtime5.jsx)(import_react_native16.View, {
154154
154125
  style: {
154155
154126
  width: 30,
@@ -154161,14 +154132,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154161
154132
  marginRight: 16,
154162
154133
  backgroundColor: iconBackgroundColor
154163
154134
  },
154164
- children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native7.Asset.Icon, {
154135
+ children: iconName ? (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Icon, {
154165
154136
  frameShape: {
154166
154137
  width: 20,
154167
154138
  height: 20
154168
154139
  },
154169
154140
  color: globals.brandPrimaryColor,
154170
154141
  name: iconName
154171
- }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native7.Asset.Image, {
154142
+ }) : (0, import_jsx_runtime5.jsx)(import_tds_react_native6.Asset.Image, {
154172
154143
  frameShape: {
154173
154144
  width: 20,
154174
154145
  height: 20
@@ -154178,7 +154149,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154178
154149
  }
154179
154150
  })
154180
154151
  }),
154181
- contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native7.ListRow.Texts, {
154152
+ contents: (0, import_jsx_runtime5.jsx)(import_tds_react_native6.ListRow.Texts, {
154182
154153
  type: "1RowTypeA",
154183
154154
  top: title,
154184
154155
  topProps: {
@@ -154234,8 +154205,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154234
154205
  };
154235
154206
  function AppShareListMenu() {
154236
154207
  var initialScheme = (0, import_react_native17.getSchemeUri)();
154237
- var isSandbox = (0, import_native_modules10.getOperationalEnvironment)() === "sandbox";
154238
- var _ref35 = (0, import_tds_react_native8.useDialog)(),
154208
+ var isSandbox = (0, import_native_modules9.getOperationalEnvironment)() === "sandbox";
154209
+ var _ref35 = (0, import_tds_react_native7.useDialog)(),
154239
154210
  openConfirm = _ref35.openConfirm;
154240
154211
  var schemeForShare = addParamsToUrl(initialScheme, {
154241
154212
  referrer: SHARE_SCHEME_REFERRER
@@ -154261,12 +154232,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154261
154232
  }
154262
154233
  });
154263
154234
  }
154264
- var import_native_modules11 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154235
+ var import_native_modules10 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154265
154236
  var import_react_native19 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154266
154237
  var import_jsx_runtime7 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154267
154238
  function PermissionsMenu() {
154268
154239
  var globals = getAppsInTossGlobals();
154269
- if ((0, import_native_modules11.getOperationalEnvironment)() === "sandbox") {
154240
+ if ((0, import_native_modules10.getOperationalEnvironment)() === "sandbox") {
154270
154241
  return null;
154271
154242
  }
154272
154243
  return (0, import_jsx_runtime7.jsx)(Menu, {
@@ -154302,7 +154273,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154302
154273
  function useMoreButtonBottomSheet() {
154303
154274
  var globals = getAppsInTossGlobals();
154304
154275
  var adaptive = (0, import_private4.useAdaptive)();
154305
- var _ref36 = (0, import_react16.useState)([]),
154276
+ var _ref36 = (0, import_react15.useState)([]),
154306
154277
  _ref37 = _slicedToArray(_ref36, 2),
154307
154278
  itemList = _ref37[0],
154308
154279
  setItemList = _ref37[1];
@@ -154310,17 +154281,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154310
154281
  var logging = useMoreButtonBottomSheetLogging();
154311
154282
  var overlay = (0, import_private4.useOverlay)();
154312
154283
  var title = ensureValue(globals.brandDisplayName, "displayName");
154313
- var isBottomSheetSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154314
- var isShareListMenuSupported = (0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154315
- var _ref38 = (0, import_react16.useState)(false),
154284
+ var isBottomSheetSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.BOTTOM_SHEET);
154285
+ var isShareListMenuSupported = (0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.SHARE_LIST_MENU);
154286
+ var _ref38 = (0, import_react15.useState)(false),
154316
154287
  _ref39 = _slicedToArray(_ref38, 2),
154317
154288
  isPermissionsMenuSupported = _ref39[0],
154318
154289
  setIsPermissionsMenuSupported = _ref39[1];
154319
- (0, import_react16.useEffect)(function () {
154290
+ (0, import_react15.useEffect)(function () {
154320
154291
  if (!isBottomSheetSupported) {
154321
154292
  return;
154322
154293
  }
154323
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154294
+ import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod(APP_BRIDGE_METHOD_NAME, {}, {
154324
154295
  onSuccess: function onSuccess(_ref40) {
154325
154296
  var items = _ref40.items;
154326
154297
  return setItemList(items);
@@ -154329,8 +154300,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154329
154300
  return console.error("\uBA54\uB274 \uBAA9\uB85D\uC744 \uAC00\uC838\uC624\uB294 \uB370 \uC2E4\uD328\uD588\uC5B4\uC694:", error);
154330
154301
  }
154331
154302
  });
154332
- if ((0, import_native_modules12.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154333
- import_native_modules12.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154303
+ if ((0, import_native_modules11.isMinVersionSupported)(MIN_VERSION.PERMISSIONS_MENU)) {
154304
+ import_native_modules11.INTERNAL__appBridgeHandler.invokeAppBridgeMethod("getAllPermission", {}, {
154334
154305
  onSuccess: function onSuccess(permissions) {
154335
154306
  return setIsPermissionsMenuSupported(permissions.length > 0);
154336
154307
  },
@@ -154359,9 +154330,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154359
154330
  close();
154360
154331
  };
154361
154332
  return (0, import_jsx_runtime8.jsx)(BottomSheetImpressionArea, {
154362
- children: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.BottomSheet.Root, {
154363
- header: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.ListHeader, {
154364
- title: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.ListHeader.TitleParagraph, {
154333
+ children: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.Root, {
154334
+ header: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader, {
154335
+ title: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.ListHeader.TitleParagraph, {
154365
154336
  color: adaptive.grey800,
154366
154337
  fontWeight: "bold",
154367
154338
  typography: "t5",
@@ -154369,7 +154340,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154369
154340
  })
154370
154341
  }),
154371
154342
  open: isOpen,
154372
- cta: (0, import_jsx_runtime8.jsx)(import_tds_react_native9.BottomSheet.CTA, {
154343
+ cta: (0, import_jsx_runtime8.jsx)(import_tds_react_native8.BottomSheet.CTA, {
154373
154344
  size: "large",
154374
154345
  type: "dark",
154375
154346
  style: "weak",
@@ -154380,7 +154351,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154380
154351
  }),
154381
154352
  onClose: handleClose,
154382
154353
  onExited: exit,
154383
- children: (0, import_jsx_runtime8.jsxs)(import_tds_react_native9.List, {
154354
+ children: (0, import_jsx_runtime8.jsxs)(import_tds_react_native8.List, {
154384
154355
  rowSeparator: "none",
154385
154356
  children: [itemList.map(function (item) {
154386
154357
  return (0, import_jsx_runtime8.jsx)(Menu, {
@@ -154407,21 +154378,30 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154407
154378
  function BottomSheetImpressionArea(_ref43) {
154408
154379
  var children = _ref43.children;
154409
154380
  var logging = useMoreButtonBottomSheetLogging();
154410
- (0, import_react16.useEffect)(function () {
154381
+ (0, import_react15.useEffect)(function () {
154411
154382
  logging.show();
154412
154383
  }, [logging]);
154413
154384
  return (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {
154414
154385
  children: children
154415
154386
  });
154416
154387
  }
154417
- var import_react17 = _$$_REQUIRE(_dependencyMap[12], "react");
154388
+ function toIcon(source) {
154389
+ return source.startsWith("http") ? {
154390
+ source: {
154391
+ uri: source
154392
+ }
154393
+ } : {
154394
+ name: source
154395
+ };
154396
+ }
154397
+ var import_react16 = _$$_REQUIRE(_dependencyMap[12], "react");
154418
154398
  var import_jsx_runtime9 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154419
154399
  function NavigationBarImpressionArea(_ref44) {
154420
154400
  var children = _ref44.children,
154421
154401
  withHomeButton = _ref44.withHomeButton;
154422
- var hasLogged = (0, import_react17.useRef)(false);
154402
+ var hasLogged = (0, import_react16.useRef)(false);
154423
154403
  var logging = useNavigationBarLogging();
154424
- (0, import_react17.useEffect)(function () {
154404
+ (0, import_react16.useEffect)(function () {
154425
154405
  if (hasLogged.current === false) {
154426
154406
  logging.navBarImpression({
154427
154407
  home_icon_yn: withHomeButton ? "Y" : "N"
@@ -154469,7 +154449,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154469
154449
  });
154470
154450
  }
154471
154451
  var import_react_native_safe_area_context = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154472
- var import_tds_react_native10 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154452
+ var import_tds_react_native9 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154473
154453
  var import_private6 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154474
154454
  var import_react_native21 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154475
154455
  var import_jsx_runtime11 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
@@ -154484,7 +154464,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154484
154464
  safeAreaRight = _ref45.right;
154485
154465
  useHardwareBackPress(navigationEvent.handleBack);
154486
154466
  return (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, {
154487
- children: [(0, import_jsx_runtime11.jsx)(import_tds_react_native10.PageNavbar, {
154467
+ children: [(0, import_jsx_runtime11.jsx)(import_tds_react_native9.PageNavbar, {
154488
154468
  preference: {
154489
154469
  type: "none"
154490
154470
  }
@@ -154536,48 +154516,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154536
154516
  }
154537
154517
  function GameAppContainer(_ref47) {
154538
154518
  var children = _ref47.children;
154539
- var _ref48 = (0, import_react18.useState)(false),
154540
- _ref49 = _slicedToArray(_ref48, 2),
154541
- isEntryMessageExited = _ref49[0],
154542
- setIsEntryMessageExited = _ref49[1];
154543
- (0, import_react18.useEffect)(function () {
154519
+ (0, import_react17.useEffect)(function () {
154544
154520
  if (import_react_native22.Platform.OS === "ios") {
154545
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
154521
+ (0, import_native_modules12.setIosSwipeGestureEnabled)({
154546
154522
  isEnabled: false
154547
154523
  });
154548
154524
  return function () {
154549
- (0, import_native_modules13.setIosSwipeGestureEnabled)({
154525
+ (0, import_native_modules12.setIosSwipeGestureEnabled)({
154550
154526
  isEnabled: true
154551
154527
  });
154552
154528
  };
154553
154529
  }
154554
154530
  return;
154555
154531
  }, []);
154556
- (0, import_react18.useEffect)(function () {
154557
- import_native_modules13.appsInTossEvent.addEventListener("entryMessageExited", {
154558
- onEvent: function onEvent() {
154559
- setIsEntryMessageExited(true);
154560
- }
154561
- });
154562
- }, []);
154563
154532
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154564
154533
  children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Game, {}), (0, bridge_entry_exports.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime12.jsx)(GameInitializer, {
154565
- isReadyForProfileUI: isEntryMessageExited,
154566
154534
  children: children
154567
154535
  }) : children]
154568
154536
  });
154569
154537
  }
154570
- function GeneralAppContainer(_ref50) {
154571
- var children = _ref50.children;
154538
+ function GeneralAppContainer(_ref48) {
154539
+ var children = _ref48.children;
154572
154540
  return (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, {
154573
154541
  children: [(0, import_jsx_runtime12.jsx)(RNNavigationBar.Default, {}), children]
154574
154542
  });
154575
154543
  }
154576
154544
  var import_jsx_runtime13 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154577
- function AppsInTossContainer(Container, _ref51) {
154578
- var children = _ref51.children,
154579
- initialProps = _objectWithoutProperties(_ref51, _excluded);
154580
- if (!(0, import_native_modules14.isMinVersionSupported)({
154545
+ function AppsInTossContainer(Container, _ref49) {
154546
+ var children = _ref49.children,
154547
+ initialProps = _objectWithoutProperties(_ref49, _excluded);
154548
+ if (!(0, import_native_modules13.isMinVersionSupported)({
154581
154549
  android: "5.220.0",
154582
154550
  ios: "5.221.0"
154583
154551
  })) {
@@ -154587,44 +154555,35 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154587
154555
  }
154588
154556
  return (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, {
154589
154557
  children: [(0, import_jsx_runtime13.jsx)(AppEvent.StayTime, {}), (0, import_jsx_runtime13.jsx)(AppEvent.Entry, {}), (0, import_jsx_runtime13.jsx)(AppEvent.System, Object.assign({}, initialProps)), (0, import_jsx_runtime13.jsx)(Container, Object.assign({}, initialProps, {
154590
- children: (0, import_jsx_runtime13.jsx)(import_tds_react_native11.TDSProvider, {
154558
+ children: (0, import_jsx_runtime13.jsx)(import_tds_react_native10.TDSProvider, {
154591
154559
  colorPreference: "light",
154592
154560
  token: {
154593
154561
  color: {
154594
154562
  primary: getAppsInTossGlobals().brandPrimaryColor
154595
154563
  }
154596
154564
  },
154597
- children: (0, import_jsx_runtime13.jsx)(TDSContainer, Object.assign({}, initialProps, {
154598
- children: children
154599
- }))
154565
+ children: children
154600
154566
  })
154601
154567
  }))]
154602
154568
  });
154603
154569
  }
154604
- function TDSContainer(_ref52) {
154605
- var children = _ref52.children;
154606
- useAppsInTossBridge();
154607
- return (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {
154608
- children: children
154609
- });
154610
- }
154611
- function registerApp(container, _ref53) {
154612
- var context = _ref53.context,
154613
- analytics = _ref53.analytics;
154570
+ function registerApp(container, _ref50) {
154571
+ var context = _ref50.context,
154572
+ analytics = _ref50.analytics;
154614
154573
  var appName = getAppName();
154615
154574
  var isRegistered = import_react_native24.AppRegistry.getAppKeys().includes(appName);
154616
154575
  if (!isRegistered) {
154617
154576
  var _analytics$debug;
154618
154577
  import_analytics.Analytics.init({
154619
154578
  logger: function logger(params) {
154620
- return void (0, import_native_modules14.eventLog)(params);
154579
+ return void (0, import_native_modules13.eventLog)(params);
154621
154580
  },
154622
154581
  debug: (_analytics$debug = analytics == null ? void 0 : analytics.debug) != null ? _analytics$debug : __DEV__
154623
154582
  });
154624
154583
  var App = import_react_native23.Granite.registerApp(AppsInTossContainer.bind(null, container), {
154625
154584
  appName: appName,
154626
154585
  context: context,
154627
- setIosSwipeGestureEnabled: import_native_modules14.setIosSwipeGestureEnabled,
154586
+ setIosSwipeGestureEnabled: import_native_modules13.setIosSwipeGestureEnabled,
154628
154587
  router: {
154629
154588
  screenContainer: AppsInTossScreenContainer,
154630
154589
  defaultScreenOption: {
@@ -154636,8 +154595,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154636
154595
  }
154637
154596
  return global.Page;
154638
154597
  }
154639
- function AppsInTossScreenContainer(_ref54) {
154640
- var children = _ref54.children;
154598
+ function AppsInTossScreenContainer(_ref51) {
154599
+ var children = _ref51.children;
154641
154600
  var isRNApp = getAppsInTossGlobals().webViewType == null;
154642
154601
  return (0, import_jsx_runtime13.jsx)(NavigationBarContextProvider, {
154643
154602
  children: (0, import_jsx_runtime13.jsx)(import_analytics.Analytics.Screen, {
@@ -154658,32 +154617,32 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154658
154617
  var _AppsInToss = {
154659
154618
  registerApp: registerApp
154660
154619
  };
154661
- var import_native_modules19 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154620
+ var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154662
154621
  var appsInTossAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[17], "@apps-in-toss/native-modules/async-bridges"), 1);
154663
154622
  var appsInTossConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[18], "@apps-in-toss/native-modules/constant-bridges"), 1);
154664
154623
  var appsInTossEventBridges = __toESM(_$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/native-modules/event-bridges"), 1);
154665
154624
  var import_react_native_safe_area_context4 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154666
154625
  var import_react_native34 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154667
- var import_tds_react_native15 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154626
+ var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154668
154627
  var import_private9 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154669
- var import_react29 = _$$_REQUIRE(_dependencyMap[12], "react");
154628
+ var import_react28 = _$$_REQUIRE(_dependencyMap[12], "react");
154670
154629
  var import_react_native35 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154671
- var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154630
+ var import_native_modules14 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
154672
154631
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154673
- var import_react20 = _$$_REQUIRE(_dependencyMap[12], "react");
154632
+ var import_react19 = _$$_REQUIRE(_dependencyMap[12], "react");
154674
154633
  var import_react_native27 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154675
154634
  var import_react_native_safe_area_context2 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
154676
154635
  var import_react_native25 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154677
- var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154636
+ var import_tds_react_native11 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154678
154637
  var import_private7 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154679
154638
  var import_es_hangul3 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154680
- var import_react19 = _$$_REQUIRE(_dependencyMap[12], "react");
154639
+ var import_react18 = _$$_REQUIRE(_dependencyMap[12], "react");
154681
154640
  var import_react_native26 = _$$_REQUIRE(_dependencyMap[11], "react-native");
154682
154641
  var import_jsx_runtime14 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154683
154642
  function GameWebviewNavigationBar() {
154684
154643
  var safeAreaTop = (0, import_private7.useSafeAreaTop)();
154685
- var _ref55 = (0, import_tds_react_native12.useDialog)(),
154686
- openConfirm = _ref55.openConfirm;
154644
+ var _ref52 = (0, import_tds_react_native11.useDialog)(),
154645
+ openConfirm = _ref52.openConfirm;
154687
154646
  var _useCaptureExitLog3 = useCaptureExitLog(),
154688
154647
  captureExitLog = _useCaptureExitLog3.captureExitLog;
154689
154648
  var global2 = getAppsInTossGlobals();
@@ -154692,9 +154651,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154692
154651
  openMoreButtonBottomSheet = _useMoreButtonBottomS3.open;
154693
154652
  var _useNavigationBarCont3 = useNavigationBarContext(),
154694
154653
  navigationRightButton = _useNavigationBarCont3.navigationRightButton;
154695
- var _ref56 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
154696
- safeAreaRight = _ref56.right;
154697
- var handleGameWebviewClose = (0, import_react19.useCallback)(_asyncToGenerator(function* () {
154654
+ var _ref53 = (0, import_react_native_safe_area_context2.useSafeAreaInsets)(),
154655
+ safeAreaRight = _ref53.right;
154656
+ var handleGameWebviewClose = (0, import_react18.useCallback)(_asyncToGenerator(function* () {
154698
154657
  logging.closeButtonClick();
154699
154658
  var isConfirmed = yield openConfirm({
154700
154659
  title: (0, import_es_hangul3.josa)(global2.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -154710,7 +154669,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154710
154669
  }
154711
154670
  }), [captureExitLog, global2.brandDisplayName, logging, openConfirm]);
154712
154671
  return (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, {
154713
- children: [(0, import_jsx_runtime14.jsx)(import_tds_react_native12.PageNavbar, {
154672
+ children: [(0, import_jsx_runtime14.jsx)(import_tds_react_native11.PageNavbar, {
154714
154673
  preference: {
154715
154674
  type: "none"
154716
154675
  }
@@ -154739,34 +154698,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154739
154698
  });
154740
154699
  }
154741
154700
  var import_jsx_runtime15 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154742
- var GameWebView = (0, import_react20.forwardRef)(function GameWebView2(props, ref) {
154743
- var _ref58 = (0, import_react20.useState)(false),
154744
- _ref59 = _slicedToArray(_ref58, 2),
154745
- isEntryMessageExited = _ref59[0],
154746
- setIsEntryMessageExited = _ref59[1];
154747
- (0, import_react20.useEffect)(function () {
154701
+ var GameWebView = (0, import_react19.forwardRef)(function GameWebView2(props, ref) {
154702
+ (0, import_react19.useEffect)(function () {
154748
154703
  if (import_react_native27.Platform.OS === "ios") {
154749
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
154704
+ (0, import_native_modules14.setIosSwipeGestureEnabled)({
154750
154705
  isEnabled: false
154751
154706
  });
154752
154707
  return function () {
154753
- (0, import_native_modules15.setIosSwipeGestureEnabled)({
154708
+ (0, import_native_modules14.setIosSwipeGestureEnabled)({
154754
154709
  isEnabled: true
154755
154710
  });
154756
154711
  };
154757
154712
  }
154758
154713
  return;
154759
154714
  }, []);
154760
- (0, import_react20.useEffect)(function () {
154761
- import_native_modules15.appsInTossEvent.addEventListener("entryMessageExited", {
154762
- onEvent: function onEvent() {
154763
- setIsEntryMessageExited(true);
154764
- }
154765
- });
154766
- }, []);
154767
154715
  return (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, {
154768
- children: [(0, import_jsx_runtime15.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules15.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime15.jsx)(GameInitializer, {
154769
- isReadyForProfileUI: isEntryMessageExited,
154716
+ children: [(0, import_jsx_runtime15.jsx)(GameWebviewNavigationBar, {}), (0, import_native_modules14.getOperationalEnvironment)() === "toss" ? (0, import_jsx_runtime15.jsx)(GameInitializer, {
154770
154717
  children: (0, import_jsx_runtime15.jsx)(import_react_native_webview.WebView, Object.assign({
154771
154718
  ref: ref
154772
154719
  }, props))
@@ -154776,23 +154723,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154776
154723
  });
154777
154724
  });
154778
154725
  var import_react_native_webview2 = _$$_REQUIRE(_dependencyMap[20], "@granite-js/native/react-native-webview");
154779
- var import_react22 = _$$_REQUIRE(_dependencyMap[12], "react");
154726
+ var import_react21 = _$$_REQUIRE(_dependencyMap[12], "react");
154780
154727
  var import_react_native28 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
154781
- var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154728
+ var import_tds_react_native12 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
154782
154729
  var import_private8 = _$$_REQUIRE(_dependencyMap[15], "@toss/tds-react-native/private");
154783
154730
  var import_es_hangul4 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
154784
- var import_react21 = _$$_REQUIRE(_dependencyMap[12], "react");
154731
+ var import_react20 = _$$_REQUIRE(_dependencyMap[12], "react");
154785
154732
  var import_jsx_runtime16 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154786
- function PartnerWebviewNavigationBar(_ref60) {
154733
+ function PartnerWebviewNavigationBar(_ref55) {
154787
154734
  var _parsedNavigationBar$3, _parsedNavigationBar$4;
154788
- var onBackButtonClick = _ref60.onBackButtonClick,
154789
- onHomeButtonClick = _ref60.onHomeButtonClick;
154735
+ var onBackButtonClick = _ref55.onBackButtonClick,
154736
+ onHomeButtonClick = _ref55.onHomeButtonClick;
154790
154737
  var globals = getAppsInTossGlobals();
154791
154738
  var _useCaptureExitLog4 = useCaptureExitLog(),
154792
154739
  captureExitLog = _useCaptureExitLog4.captureExitLog;
154793
154740
  var logging = useNavigationBarLogging();
154794
- var _ref61 = (0, import_tds_react_native13.useDialog)(),
154795
- openConfirm = _ref61.openConfirm;
154741
+ var _ref56 = (0, import_tds_react_native12.useDialog)(),
154742
+ openConfirm = _ref56.openConfirm;
154796
154743
  var _useMoreButtonBottomS4 = useMoreButtonBottomSheet(),
154797
154744
  openMoreButtonBottomSheet = _useMoreButtonBottomS4.open;
154798
154745
  var parsedNavigationBar = globals.navigationBar != null ? safeParseNavigationBar(globals.navigationBar) : null;
@@ -154800,7 +154747,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154800
154747
  var withBackButton = (_parsedNavigationBar$4 = parsedNavigationBar == null ? void 0 : parsedNavigationBar.withBackButton) != null ? _parsedNavigationBar$4 : true;
154801
154748
  var _useNavigationBarCont4 = useNavigationBarContext(),
154802
154749
  navigationRightButton = _useNavigationBarCont4.navigationRightButton;
154803
- var handleClose = (0, import_react21.useCallback)(_asyncToGenerator(function* () {
154750
+ var handleClose = (0, import_react20.useCallback)(_asyncToGenerator(function* () {
154804
154751
  logging.closeButtonClick();
154805
154752
  var isConfirmed = yield openConfirm({
154806
154753
  title: (0, import_es_hangul4.josa)(globals.brandDisplayName, "\uC744/\uB97C") + " \uC885\uB8CC\uD560\uAE4C\uC694?",
@@ -154838,10 +154785,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154838
154785
  });
154839
154786
  }
154840
154787
  var import_jsx_runtime17 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
154841
- var PartnerWebView = (0, import_react22.forwardRef)(function PartnerWebViewScreen(_ref63, ref) {
154842
- var onBackButtonClick = _ref63.onBackButtonClick,
154843
- onHomeButtonClick = _ref63.onHomeButtonClick,
154844
- webViewProps = _objectWithoutProperties(_ref63, _excluded2);
154788
+ var PartnerWebView = (0, import_react21.forwardRef)(function PartnerWebViewScreen(_ref58, ref) {
154789
+ var onBackButtonClick = _ref58.onBackButtonClick,
154790
+ onHomeButtonClick = _ref58.onHomeButtonClick,
154791
+ webViewProps = _objectWithoutProperties(_ref58, _excluded2);
154845
154792
  return (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, {
154846
154793
  children: [(0, import_jsx_runtime17.jsx)(PartnerWebviewNavigationBar, {
154847
154794
  onBackButtonClick: onBackButtonClick,
@@ -154863,9 +154810,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154863
154810
  var components = url.hash.replace("#Intent;", "").split(";").map(function (component) {
154864
154811
  return component.split("=");
154865
154812
  });
154866
- var scheme = (_components$find = components.find(function (_ref64) {
154867
- var _ref65 = _slicedToArray(_ref64, 1),
154868
- key = _ref65[0];
154813
+ var scheme = (_components$find = components.find(function (_ref59) {
154814
+ var _ref60 = _slicedToArray(_ref59, 1),
154815
+ key = _ref60[0];
154869
154816
  return key === "scheme";
154870
154817
  })) == null ? void 0 : _components$find[1];
154871
154818
  if (!scheme) {
@@ -154873,14 +154820,14 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154873
154820
  }
154874
154821
  return scheme + "://" + url.hostname + url.pathname + url.search;
154875
154822
  }
154876
- var import_react23 = _$$_REQUIRE(_dependencyMap[12], "react");
154823
+ var import_react22 = _$$_REQUIRE(_dependencyMap[12], "react");
154877
154824
  function serializeError(error) {
154878
154825
  return JSON.stringify(error, function (_, value) {
154879
154826
  if (value instanceof Error) {
154880
- return Object.assign({}, Object.entries(value).reduce(function (acc, _ref66) {
154881
- var _ref67 = _slicedToArray(_ref66, 2),
154882
- key = _ref67[0],
154883
- value2 = _ref67[1];
154827
+ return Object.assign({}, Object.entries(value).reduce(function (acc, _ref61) {
154828
+ var _ref62 = _slicedToArray(_ref61, 2),
154829
+ key = _ref62[0],
154830
+ value2 = _ref62[1];
154884
154831
  acc[key] = value2;
154885
154832
  return acc;
154886
154833
  }, {}), {
@@ -154893,24 +154840,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154893
154840
  return value;
154894
154841
  });
154895
154842
  }
154896
- function methodHandler(_ref68) {
154897
- var args = _ref68.args,
154898
- eventId = _ref68.eventId,
154899
- functionName = _ref68.functionName,
154900
- handlerMap = _ref68.handlerMap,
154901
- injectJavaScript = _ref68.injectJavaScript;
154843
+ function methodHandler(_ref63) {
154844
+ var args = _ref63.args,
154845
+ eventId = _ref63.eventId,
154846
+ functionName = _ref63.functionName,
154847
+ handlerMap = _ref63.handlerMap,
154848
+ injectJavaScript = _ref63.injectJavaScript;
154902
154849
  var func = handlerMap[functionName];
154903
154850
  if (!func) {
154904
154851
  console.error(functionName + " is not a function");
154905
154852
  return;
154906
154853
  }
154907
154854
  var wrappedFunc = function () {
154908
- var _ref69 = _asyncToGenerator(function* () {
154855
+ var _ref64 = _asyncToGenerator(function* () {
154909
154856
  var result = yield func.apply(void 0, arguments);
154910
154857
  return result;
154911
154858
  });
154912
154859
  return function wrappedFunc() {
154913
- return _ref69.apply(this, arguments);
154860
+ return _ref64.apply(this, arguments);
154914
154861
  };
154915
154862
  }();
154916
154863
  wrappedFunc.apply(void 0, _toConsumableArray(args)).then(function (result) {
@@ -154921,22 +154868,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154921
154868
  });
154922
154869
  }
154923
154870
  var globalEventListenerMap = new Map();
154924
- function useBridgeHandler(_ref70) {
154925
- var onMessage = _ref70.onMessage,
154926
- constantHandlerMap = _ref70.constantHandlerMap,
154927
- asyncHandlerMap = _ref70.asyncHandlerMap,
154928
- eventListenerMap = _ref70.eventListenerMap;
154929
- var ref = (0, import_react23.useRef)(null);
154930
- var injectedJavaScript = (0, import_react23.useMemo)(function () {
154931
- return "window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref71) {
154932
- var _ref72 = _slicedToArray(_ref71, 2),
154933
- key = _ref72[0],
154934
- value = _ref72[1];
154871
+ function useBridgeHandler(_ref65) {
154872
+ var onMessage = _ref65.onMessage,
154873
+ constantHandlerMap = _ref65.constantHandlerMap,
154874
+ asyncHandlerMap = _ref65.asyncHandlerMap,
154875
+ eventListenerMap = _ref65.eventListenerMap;
154876
+ var ref = (0, import_react22.useRef)(null);
154877
+ var injectedJavaScript = (0, import_react22.useMemo)(function () {
154878
+ return "window.__CONSTANT_HANDLER_MAP = " + JSON.stringify(Object.entries(constantHandlerMap).reduce(function (acc, _ref66) {
154879
+ var _ref67 = _slicedToArray(_ref66, 2),
154880
+ key = _ref67[0],
154881
+ value = _ref67[1];
154935
154882
  acc[key] = typeof value === "function" ? value() : value;
154936
154883
  return acc;
154937
154884
  }, {})) + ";";
154938
154885
  }, [constantHandlerMap]);
154939
- (0, import_react23.useEffect)(function () {
154886
+ (0, import_react22.useEffect)(function () {
154940
154887
  var _ref$current;
154941
154888
  (_ref$current = ref.current) == null ? void 0 : _ref$current.injectJavaScript(injectedJavaScript);
154942
154889
  }, [injectedJavaScript]);
@@ -154953,8 +154900,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154953
154900
  (_ref$current3 = ref.current) == null ? void 0 : _ref$current3.injectJavaScript("\n window.__GRANITE_NATIVE_EMITTER.emit('" + functionName + "/onError/" + eventId + "', " + serializedError + ");\n ");
154954
154901
  };
154955
154902
  };
154956
- var $onMessage = (0, import_react23.useCallback)(function () {
154957
- var _ref73 = _asyncToGenerator(function* (e) {
154903
+ var $onMessage = (0, import_react22.useCallback)(function () {
154904
+ var _ref68 = _asyncToGenerator(function* (e) {
154958
154905
  onMessage == null ? void 0 : onMessage(e);
154959
154906
  var data = parseNativeEventData(e.nativeEvent.data);
154960
154907
  if (typeof data !== "object" || data === null || typeof data.functionName !== "string" || typeof data.eventId !== "string" || typeof data.type !== "string" || !["addEventListener", "removeEventListener", "method"].includes(data.type)) {
@@ -154999,7 +154946,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154999
154946
  }
155000
154947
  });
155001
154948
  return function (_x4) {
155002
- return _ref73.apply(this, arguments);
154949
+ return _ref68.apply(this, arguments);
155003
154950
  };
155004
154951
  }(), [onMessage]);
155005
154952
  return {
@@ -155017,7 +154964,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155017
154964
  }
155018
154965
  }
155019
154966
  var import_react_native_safe_area_context3 = _$$_REQUIRE(_dependencyMap[16], "@granite-js/native/react-native-safe-area-context");
155020
- var import_react24 = _$$_REQUIRE(_dependencyMap[12], "react");
154967
+ var import_react23 = _$$_REQUIRE(_dependencyMap[12], "react");
155021
154968
  var EventEmitter = function () {
155022
154969
  function EventEmitter() {
155023
154970
  _classCallCheck(this, EventEmitter);
@@ -155058,10 +155005,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155058
155005
  }();
155059
155006
  function useSafeAreaInsetsEmitter() {
155060
155007
  var insets = (0, import_react_native_safe_area_context3.useSafeAreaInsets)();
155061
- var emitter = (0, import_react24.useMemo)(function () {
155008
+ var emitter = (0, import_react23.useMemo)(function () {
155062
155009
  return new EventEmitter();
155063
155010
  }, []);
155064
- (0, import_react24.useEffect)(function () {
155011
+ (0, import_react23.useEffect)(function () {
155065
155012
  emitter.emit("safeAreaInsetsChange", insets);
155066
155013
  return function () {
155067
155014
  emitter.off("safeAreaInsetsChange", function (listener) {
@@ -155072,10 +155019,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155072
155019
  return emitter;
155073
155020
  }
155074
155021
  var import_react_native29 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155075
- var import_tds_react_native14 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155022
+ var import_tds_react_native13 = _$$_REQUIRE(_dependencyMap[10], "@toss/tds-react-native");
155076
155023
  var import_es_hangul5 = _$$_REQUIRE(_dependencyMap[14], "es-hangul");
155077
- var import_react26 = _$$_REQUIRE(_dependencyMap[12], "react");
155078
155024
  var import_react25 = _$$_REQUIRE(_dependencyMap[12], "react");
155025
+ var import_react24 = _$$_REQUIRE(_dependencyMap[12], "react");
155079
155026
  var INITIAL_STATE = {
155080
155027
  stack: [],
155081
155028
  index: -1
@@ -155122,20 +155069,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155122
155069
  }
155123
155070
  }
155124
155071
  function useWebViewHistory() {
155125
- var _ref74 = (0, import_react25.useReducer)(reducer, INITIAL_STATE),
155126
- _ref75 = _slicedToArray(_ref74, 2),
155127
- state = _ref75[0],
155128
- dispatch = _ref75[1];
155129
- var onNavigationStateChange = (0, import_react25.useCallback)(function (_ref76) {
155130
- var url = _ref76.url,
155131
- canGoForward2 = _ref76.canGoForward;
155072
+ var _ref69 = (0, import_react24.useReducer)(reducer, INITIAL_STATE),
155073
+ _ref70 = _slicedToArray(_ref69, 2),
155074
+ state = _ref70[0],
155075
+ dispatch = _ref70[1];
155076
+ var onNavigationStateChange = (0, import_react24.useCallback)(function (_ref71) {
155077
+ var url = _ref71.url,
155078
+ canGoForward2 = _ref71.canGoForward;
155132
155079
  dispatch({
155133
155080
  type: "NAVIGATION_CHANGE",
155134
155081
  url: url,
155135
155082
  canGoForward: canGoForward2
155136
155083
  });
155137
155084
  }, []);
155138
- var _ref77 = (0, import_react25.useMemo)(function () {
155085
+ var _ref72 = (0, import_react24.useMemo)(function () {
155139
155086
  var canBack = state.index > 0;
155140
155087
  var canFwd = state.index >= 0 && state.index < state.stack.length - 1;
155141
155088
  return {
@@ -155143,8 +155090,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155143
155090
  canGoForward: canFwd
155144
155091
  };
155145
155092
  }, [state.index, state.stack.length]),
155146
- canGoBack = _ref77.canGoBack,
155147
- canGoForward = _ref77.canGoForward;
155093
+ canGoBack = _ref72.canGoBack,
155094
+ canGoForward = _ref72.canGoForward;
155148
155095
  return {
155149
155096
  onNavigationStateChange: onNavigationStateChange,
155150
155097
  hasHistory: canGoBack,
@@ -155159,22 +155106,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155159
155106
  var _useWebViewHistory = useWebViewHistory(),
155160
155107
  hasHistory = _useWebViewHistory.hasHistory,
155161
155108
  onNavigationStateChange = _useWebViewHistory.onNavigationStateChange;
155162
- var _ref78 = (0, import_react_native29.useBackEventState)(),
155163
- webBackHandlersRef = _ref78.handlersRef,
155164
- hasWebBackEvent = _ref78.hasBackEvent,
155165
- addWebBackEventListener = _ref78.addEventListener,
155166
- removeWebBackEventListener = _ref78.removeEventListener;
155109
+ var _ref73 = (0, import_react_native29.useBackEventState)(),
155110
+ webBackHandlersRef = _ref73.handlersRef,
155111
+ hasWebBackEvent = _ref73.hasBackEvent,
155112
+ addWebBackEventListener = _ref73.addEventListener,
155113
+ removeWebBackEventListener = _ref73.removeEventListener;
155167
155114
  var logging = useNavigationBarLogging();
155168
- var _ref79 = (0, import_tds_react_native14.useDialog)(),
155169
- openConfirm = _ref79.openConfirm;
155115
+ var _ref74 = (0, import_tds_react_native13.useDialog)(),
155116
+ openConfirm = _ref74.openConfirm;
155170
155117
  var global2 = getAppsInTossGlobals();
155171
- var addEventListener = (0, import_react26.useCallback)(function (handler) {
155118
+ var addEventListener = (0, import_react25.useCallback)(function (handler) {
155172
155119
  addWebBackEventListener(handler);
155173
155120
  }, [addWebBackEventListener]);
155174
- var removeEventListener = (0, import_react26.useCallback)(function (handler) {
155121
+ var removeEventListener = (0, import_react25.useCallback)(function (handler) {
155175
155122
  removeWebBackEventListener(handler);
155176
155123
  }, [removeWebBackEventListener]);
155177
- var handleWebBack = (0, import_react26.useCallback)(_asyncToGenerator(function* () {
155124
+ var handleWebBack = (0, import_react25.useCallback)(_asyncToGenerator(function* () {
155178
155125
  if (hasWebBackEvent) {
155179
155126
  for (var handler of webBackHandlersRef) {
155180
155127
  handler();
@@ -155199,7 +155146,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155199
155146
  }
155200
155147
  }
155201
155148
  }), [captureExitLog, global2.brandDisplayName, hasHistory, hasWebBackEvent, webBackHandlersRef, logging, openConfirm, webViewRef]);
155202
- var handleWebHome = (0, import_react26.useCallback)(function () {
155149
+ var handleWebHome = (0, import_react25.useCallback)(function () {
155203
155150
  var _webViewRef$current2;
155204
155151
  logging.homeButtonClick();
155205
155152
  if (hasWebBackEvent) {
@@ -155210,7 +155157,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155210
155157
  }
155211
155158
  (_webViewRef$current2 = webViewRef.current) == null ? void 0 : _webViewRef$current2.injectJavaScript(HISTORY_HOME_SCRIPT);
155212
155159
  }, [hasWebBackEvent, webBackHandlersRef, logging, webViewRef]);
155213
- return (0, import_react26.useMemo)(function () {
155160
+ return (0, import_react25.useMemo)(function () {
155214
155161
  return {
155215
155162
  addEventListener: addEventListener,
155216
155163
  removeEventListener: removeEventListener,
@@ -155234,7 +155181,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155234
155181
  });
155235
155182
  };
155236
155183
  }
155237
- var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155184
+ var import_native_modules15 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155238
155185
  var import_react_native30 = _$$_REQUIRE(_dependencyMap[11], "react-native");
155239
155186
  var FontA11yCategory = {
155240
155187
  Large: "Large",
@@ -155363,40 +155310,40 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155363
155310
  function mapFontScaleToCategory(fontScale, platform) {
155364
155311
  return platform === "ios" ? mapIOSFontScaleToCategory(fontScale) : mapAndroidFontScaleToCategory(fontScale);
155365
155312
  }
155366
- function _useCreateUserAgent(_ref81) {
155367
- var batteryModePreference = _ref81.batteryModePreference,
155368
- colorPreference = _ref81.colorPreference,
155369
- locale = _ref81.locale,
155370
- navbarPreference = _ref81.navbarPreference,
155371
- pureSafeArea = _ref81.pureSafeArea,
155372
- safeArea = _ref81.safeArea,
155373
- safeAreaBottomTransparency = _ref81.safeAreaBottomTransparency;
155374
- var platform = (0, import_native_modules16.getPlatformOS)();
155375
- var appVersion = (0, import_native_modules16.getTossAppVersion)();
155376
- var _ref82 = (0, import_react_native30.useWindowDimensions)(),
155377
- fontScale = _ref82.fontScale;
155313
+ function _useCreateUserAgent(_ref76) {
155314
+ var batteryModePreference = _ref76.batteryModePreference,
155315
+ colorPreference = _ref76.colorPreference,
155316
+ locale = _ref76.locale,
155317
+ navbarPreference = _ref76.navbarPreference,
155318
+ pureSafeArea = _ref76.pureSafeArea,
155319
+ safeArea = _ref76.safeArea,
155320
+ safeAreaBottomTransparency = _ref76.safeAreaBottomTransparency;
155321
+ var platform = (0, import_native_modules15.getPlatformOS)();
155322
+ var appVersion = (0, import_native_modules15.getTossAppVersion)();
155323
+ var _ref77 = (0, import_react_native30.useWindowDimensions)(),
155324
+ fontScale = _ref77.fontScale;
155378
155325
  var platformString = platform === "ios" ? "iPhone" : "Android phone";
155379
155326
  var fontA11y = mapFontScaleToCategory(fontScale, platform);
155380
155327
  var normalizedFontScale = convertToAndroidStyleScale(fontScale, platform);
155381
155328
  return ["AppsInToss", "TossApp/" + appVersion, batteryModePreference && "TossBatteryModePreference/" + batteryModePreference, colorPreference && "TossColorPreference/" + colorPreference, "TossFontAccessibility/" + fontA11y, "TossFontScale/" + normalizedFontScale, locale && "TossLocale/" + locale, navbarPreference && "TossNavbarPreference/" + navbarPreference, pureSafeArea && "TossPureSafeArea/" + pureSafeArea, safeArea && "TossSafeArea/" + safeArea, safeAreaBottomTransparency && "TossSafeAreaBottomTransparency/" + safeAreaBottomTransparency, platformString].filter(Boolean).join(" ");
155382
155329
  }
155383
- var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155330
+ var import_native_modules16 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155384
155331
  var import_react_native31 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155385
- var import_react27 = _$$_REQUIRE(_dependencyMap[12], "react");
155386
- function _useGeolocation(_ref83) {
155387
- var accuracy = _ref83.accuracy,
155388
- distanceInterval = _ref83.distanceInterval,
155389
- timeInterval = _ref83.timeInterval;
155332
+ var import_react26 = _$$_REQUIRE(_dependencyMap[12], "react");
155333
+ function _useGeolocation(_ref78) {
155334
+ var accuracy = _ref78.accuracy,
155335
+ distanceInterval = _ref78.distanceInterval,
155336
+ timeInterval = _ref78.timeInterval;
155390
155337
  var isVisible = (0, import_react_native31.useVisibility)();
155391
- var _ref84 = (0, import_react27.useState)(null),
155392
- _ref85 = _slicedToArray(_ref84, 2),
155393
- location = _ref85[0],
155394
- setLocation = _ref85[1];
155395
- (0, import_react27.useEffect)(function () {
155338
+ var _ref79 = (0, import_react26.useState)(null),
155339
+ _ref80 = _slicedToArray(_ref79, 2),
155340
+ location = _ref80[0],
155341
+ setLocation = _ref80[1];
155342
+ (0, import_react26.useEffect)(function () {
155396
155343
  if (!isVisible) {
155397
155344
  return;
155398
155345
  }
155399
- return (0, import_native_modules17.startUpdateLocation)({
155346
+ return (0, import_native_modules16.startUpdateLocation)({
155400
155347
  options: {
155401
155348
  accuracy: accuracy,
155402
155349
  distanceInterval: distanceInterval,
@@ -155409,17 +155356,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155409
155356
  return location;
155410
155357
  }
155411
155358
  var import_react_native32 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155412
- var import_react28 = _$$_REQUIRE(_dependencyMap[12], "react");
155359
+ var import_react27 = _$$_REQUIRE(_dependencyMap[12], "react");
155413
155360
  function _useWaitForReturnNavigator() {
155414
- var callbacks = (0, import_react28.useRef)([]).current;
155361
+ var callbacks = (0, import_react27.useRef)([]).current;
155415
155362
  var navigation = (0, import_react_native32.useNavigation)();
155416
- var startNavigating = (0, import_react28.useCallback)(function (route, params) {
155363
+ var startNavigating = (0, import_react27.useCallback)(function (route, params) {
155417
155364
  return new Promise(function (resolve) {
155418
155365
  callbacks.push(resolve);
155419
155366
  navigation.navigate(route, params);
155420
155367
  });
155421
155368
  }, [callbacks, navigation]);
155422
- var handleVisibilityChange = (0, import_react28.useCallback)(function (state) {
155369
+ var handleVisibilityChange = (0, import_react27.useCallback)(function (state) {
155423
155370
  if (state === "visible" && callbacks.length > 0) {
155424
155371
  for (var callback of callbacks) {
155425
155372
  callback();
@@ -155439,7 +155386,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155439
155386
  removeAccessoryButton: removeNavigationRightButton
155440
155387
  };
155441
155388
  }
155442
- var import_native_modules18 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155389
+ var import_native_modules17 = _$$_REQUIRE(_dependencyMap[8], "@apps-in-toss/native-modules");
155443
155390
  var import_react_native33 = _$$_REQUIRE(_dependencyMap[9], "@granite-js/react-native");
155444
155391
  var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
155445
155392
  var timestampHex = uuid.split("-").join("").slice(0, 12);
@@ -155482,24 +155429,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155482
155429
  deployment_timestamp: extractDateFromUUIDv7(_env.getDeploymentId()).getTime()
155483
155430
  }
155484
155431
  };
155485
- return (0, import_native_modules18.eventLog)(log);
155432
+ return (0, import_native_modules17.eventLog)(log);
155486
155433
  };
155487
155434
  var import_jsx_runtime18 = _$$_REQUIRE(_dependencyMap[13], "react/jsx-runtime");
155488
155435
  var operationalEnvironment = appsInTossConstantBridges.getOperationalEnvironment();
155489
155436
  var TYPES = ["partner", "external", "game"];
155490
155437
  var WEBVIEW_TYPES = {
155491
155438
  partner: PartnerWebView,
155492
- external: import_tds_react_native15.ExternalWebViewScreen,
155439
+ external: import_tds_react_native14.ExternalWebViewScreen,
155493
155440
  game: GameWebView
155494
155441
  };
155495
155442
  function mergeSchemeQueryParamsInto(url) {
155496
155443
  var baseUrl = new URL(url);
155497
155444
  var schemeUrl = new URL((0, import_react_native34.getSchemeUri)());
155498
155445
  baseUrl.pathname = schemeUrl.pathname;
155499
- for (var _ref86 of schemeUrl.searchParams.entries()) {
155500
- var _ref87 = _slicedToArray(_ref86, 2);
155501
- var key = _ref87[0];
155502
- var value = _ref87[1];
155446
+ for (var _ref81 of schemeUrl.searchParams.entries()) {
155447
+ var _ref82 = _slicedToArray(_ref81, 2);
155448
+ var key = _ref82[0];
155449
+ var value = _ref82[1];
155503
155450
  baseUrl.searchParams.set(key, value);
155504
155451
  }
155505
155452
  return baseUrl;
@@ -155509,7 +155456,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155509
155456
  var devUrl = "http://" + local.host + ":" + local.port;
155510
155457
  return mergeSchemeQueryParamsInto(devUrl).toString();
155511
155458
  }
155512
- var _import_native_module = import_native_modules19.AppsInTossModule.getWebBundleURL({}),
155459
+ var _import_native_module = import_native_modules18.AppsInTossModule.getWebBundleURL({}),
155513
155460
  rawUrl = _import_native_module.url;
155514
155461
  var url = mergeSchemeQueryParamsInto(rawUrl);
155515
155462
  var deploymentId = _env.getDeploymentId();
@@ -155518,17 +155465,17 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155518
155465
  }
155519
155466
  return url.toString();
155520
155467
  }
155521
- function _WebView(_ref88) {
155522
- var type = _ref88.type,
155523
- local = _ref88.local,
155524
- onMessage = _ref88.onMessage,
155525
- props = _objectWithoutProperties(_ref88, _excluded3);
155468
+ function _WebView(_ref83) {
155469
+ var type = _ref83.type,
155470
+ local = _ref83.local,
155471
+ onMessage = _ref83.onMessage,
155472
+ props = _objectWithoutProperties(_ref83, _excluded3);
155526
155473
  if (!TYPES.includes(type)) {
155527
155474
  throw new Error("Invalid WebView type: '" + type + "'");
155528
155475
  }
155529
- var webViewRef = (0, import_react29.useRef)(null);
155476
+ var webViewRef = (0, import_react28.useRef)(null);
155530
155477
  var webBackHandler = useWebBackHandler(webViewRef);
155531
- var uri = (0, import_react29.useMemo)(function () {
155478
+ var uri = (0, import_react28.useMemo)(function () {
155532
155479
  return getWebViewUri(local);
155533
155480
  }, [local]);
155534
155481
  var top = (0, import_private9.useSafeAreaTop)();
@@ -155537,71 +155484,63 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155537
155484
  var global2 = getAppsInTossGlobals();
155538
155485
  var navigationBarContext = useNavigationBarContext();
155539
155486
  var safeAreaInsetsEmitter = useSafeAreaInsetsEmitter();
155540
- var _ref89 = (0, import_react29.useState)(props.allowsBackForwardNavigationGestures),
155541
- _ref90 = _slicedToArray(_ref89, 2),
155542
- allowsBackForwardNavigationGestures = _ref90[0],
155543
- setAllowsBackForwardNavigationGestures = _ref90[1];
155487
+ var _ref84 = (0, import_react28.useState)(props.allowsBackForwardNavigationGestures),
155488
+ _ref85 = _slicedToArray(_ref84, 2),
155489
+ allowsBackForwardNavigationGestures = _ref85[0],
155490
+ setAllowsBackForwardNavigationGestures = _ref85[1];
155544
155491
  var handler = useBridgeHandler({
155545
155492
  onMessage: onMessage,
155546
155493
  eventListenerMap: Object.assign({}, appsInTossEventBridges, {
155547
- navigationAccessoryEvent: function navigationAccessoryEvent(_ref91) {
155548
- var onEvent = _ref91.onEvent,
155549
- onError = _ref91.onError;
155550
- return import_tds_react_native15.tdsEvent.addEventListener("navigationAccessoryEvent", {
155494
+ navigationAccessoryEvent: function navigationAccessoryEvent(_ref86) {
155495
+ var onEvent = _ref86.onEvent,
155496
+ onError = _ref86.onError;
155497
+ return import_tds_react_native14.tdsEvent.addEventListener("navigationAccessoryEvent", {
155551
155498
  onEvent: onEvent,
155552
155499
  onError: onError
155553
155500
  });
155554
155501
  },
155555
- backEvent: function backEvent(_ref92) {
155556
- var onEvent = _ref92.onEvent;
155502
+ backEvent: function backEvent(_ref87) {
155503
+ var onEvent = _ref87.onEvent;
155557
155504
  webBackHandler.addEventListener(onEvent);
155558
155505
  return function () {
155559
155506
  webBackHandler.removeEventListener(onEvent);
155560
155507
  };
155561
155508
  },
155562
- entryMessageExited: function entryMessageExited(_ref93) {
155563
- var onEvent = _ref93.onEvent,
155564
- onError = _ref93.onError;
155565
- return import_native_modules19.appsInTossEvent.addEventListener("entryMessageExited", {
155566
- onEvent: onEvent,
155567
- onError: onError
155568
- });
155569
- },
155570
- updateLocationEvent: function updateLocationEvent(_ref94) {
155571
- var onEvent = _ref94.onEvent,
155572
- onError = _ref94.onError,
155573
- options = _ref94.options;
155574
- return import_native_modules19.appsInTossEvent.addEventListener("updateLocationEvent", {
155509
+ updateLocationEvent: function updateLocationEvent(_ref88) {
155510
+ var onEvent = _ref88.onEvent,
155511
+ onError = _ref88.onError,
155512
+ options = _ref88.options;
155513
+ return import_native_modules18.appsInTossEvent.addEventListener("updateLocationEvent", {
155575
155514
  onEvent: onEvent,
155576
155515
  onError: onError,
155577
155516
  options: options
155578
155517
  });
155579
155518
  },
155580
- safeAreaInsetsChange: function safeAreaInsetsChange(_ref95) {
155581
- var onEvent = _ref95.onEvent;
155519
+ safeAreaInsetsChange: function safeAreaInsetsChange(_ref89) {
155520
+ var onEvent = _ref89.onEvent;
155582
155521
  safeAreaInsetsEmitter.on("safeAreaInsetsChange", onEvent);
155583
155522
  return function () {
155584
155523
  safeAreaInsetsEmitter.off("safeAreaInsetsChange", onEvent);
155585
155524
  };
155586
155525
  },
155587
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref96) {
155588
- var onEvent = _ref96.onEvent,
155589
- onError = _ref96.onError,
155590
- options = _ref96.options;
155591
- return import_native_modules19.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155526
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref90) {
155527
+ var onEvent = _ref90.onEvent,
155528
+ onError = _ref90.onError,
155529
+ options = _ref90.options;
155530
+ return import_native_modules18.appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
155592
155531
  onEvent: onEvent,
155593
155532
  onError: onError,
155594
155533
  options: options
155595
155534
  });
155596
155535
  },
155597
- loadAdMobInterstitialAd: import_native_modules19.GoogleAdMob.loadAdMobInterstitialAd,
155598
- showAdMobInterstitialAd: import_native_modules19.GoogleAdMob.showAdMobInterstitialAd,
155599
- loadAdMobRewardedAd: import_native_modules19.GoogleAdMob.loadAdMobRewardedAd,
155600
- showAdMobRewardedAd: import_native_modules19.GoogleAdMob.showAdMobRewardedAd,
155601
- loadAppsInTossAdMob: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob,
155602
- showAppsInTossAdMob: import_native_modules19.GoogleAdMob.showAppsInTossAdMob,
155603
- iapCreateOneTimePurchaseOrder: import_native_modules19.IAP.createOneTimePurchaseOrder,
155604
- requestOneTimePurchase: import_native_modules19.requestOneTimePurchase
155536
+ loadAdMobInterstitialAd: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd,
155537
+ showAdMobInterstitialAd: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd,
155538
+ loadAdMobRewardedAd: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd,
155539
+ showAdMobRewardedAd: import_native_modules18.GoogleAdMob.showAdMobRewardedAd,
155540
+ loadAppsInTossAdMob: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob,
155541
+ showAppsInTossAdMob: import_native_modules18.GoogleAdMob.showAppsInTossAdMob,
155542
+ iapCreateOneTimePurchaseOrder: import_native_modules18.IAP.createOneTimePurchaseOrder,
155543
+ requestOneTimePurchase: import_native_modules18.requestOneTimePurchase
155605
155544
  }),
155606
155545
  constantHandlerMap: Object.assign({}, appsInTossConstantBridges, {
155607
155546
  getSafeAreaTop: function getSafeAreaTop() {
@@ -155616,20 +155555,20 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155616
155555
  getSafeAreaRight: function getSafeAreaRight() {
155617
155556
  return insets.right;
155618
155557
  }
155619
- }, Object.fromEntries(Object.entries(global2).map(function (_ref97) {
155620
- var _ref98 = _slicedToArray(_ref97, 2),
155621
- key = _ref98[0],
155622
- value = _ref98[1];
155558
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref91) {
155559
+ var _ref92 = _slicedToArray(_ref91, 2),
155560
+ key = _ref92[0],
155561
+ value = _ref92[1];
155623
155562
  return [key, function () {
155624
155563
  return value;
155625
155564
  }];
155626
155565
  })), {
155627
- loadAdMobInterstitialAd_isSupported: import_native_modules19.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155628
- showAdMobInterstitialAd_isSupported: import_native_modules19.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155629
- loadAdMobRewardedAd_isSupported: import_native_modules19.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155630
- showAdMobRewardedAd_isSupported: import_native_modules19.GoogleAdMob.showAdMobRewardedAd.isSupported,
155631
- loadAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155632
- showAppsInTossAdMob_isSupported: import_native_modules19.GoogleAdMob.showAppsInTossAdMob.isSupported,
155566
+ loadAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobInterstitialAd.isSupported,
155567
+ showAdMobInterstitialAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobInterstitialAd.isSupported,
155568
+ loadAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.loadAdMobRewardedAd.isSupported,
155569
+ showAdMobRewardedAd_isSupported: import_native_modules18.GoogleAdMob.showAdMobRewardedAd.isSupported,
155570
+ loadAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.loadAppsInTossAdMob.isSupported,
155571
+ showAppsInTossAdMob_isSupported: import_native_modules18.GoogleAdMob.showAppsInTossAdMob.isSupported,
155633
155572
  getDeploymentId: _env.getDeploymentId
155634
155573
  }),
155635
155574
  asyncHandlerMap: Object.assign({}, appsInTossAsyncBridges, {
@@ -155664,19 +155603,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155664
155603
  fetchContacts: appsInTossAsyncBridges.fetchContacts,
155665
155604
  getCurrentLocation: appsInTossAsyncBridges.getCurrentLocation,
155666
155605
  openCamera: appsInTossAsyncBridges.openCamera,
155667
- getStorageItem: import_native_modules19.Storage.getItem,
155668
- setStorageItem: import_native_modules19.Storage.setItem,
155669
- removeStorageItem: import_native_modules19.Storage.removeItem,
155670
- clearItems: import_native_modules19.Storage.clearItems,
155671
- iapGetProductItemList: import_native_modules19.IAP.getProductItemList,
155672
- iapCreateOneTimePurchaseOrder: import_native_modules19.iapCreateOneTimePurchaseOrder,
155673
- processProductGrant: import_native_modules19.processProductGrant,
155674
- getPendingOrders: import_native_modules19.IAP.getPendingOrders,
155675
- getCompletedOrRefundedOrders: import_native_modules19.IAP.getCompletedOrRefundedOrders,
155676
- completeProductGrant: import_native_modules19.IAP.completeProductGrant
155606
+ getStorageItem: import_native_modules18.Storage.getItem,
155607
+ setStorageItem: import_native_modules18.Storage.setItem,
155608
+ removeStorageItem: import_native_modules18.Storage.removeItem,
155609
+ clearItems: import_native_modules18.Storage.clearItems,
155610
+ iapGetProductItemList: import_native_modules18.IAP.getProductItemList,
155611
+ iapCreateOneTimePurchaseOrder: import_native_modules18.iapCreateOneTimePurchaseOrder,
155612
+ processProductGrant: import_native_modules18.processProductGrant,
155613
+ getPendingOrders: import_native_modules18.IAP.getPendingOrders,
155614
+ getCompletedOrRefundedOrders: import_native_modules18.IAP.getCompletedOrRefundedOrders,
155615
+ completeProductGrant: import_native_modules18.IAP.completeProductGrant
155677
155616
  })
155678
155617
  });
155679
- var headerPropForExternalWebView = (0, import_react29.useMemo)(function () {
155618
+ var headerPropForExternalWebView = (0, import_react28.useMemo)(function () {
155680
155619
  var _parsedNavigationBar$5;
155681
155620
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
155682
155621
  var initialAccessoryButton = parsedNavigationBar == null ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -155698,7 +155637,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
155698
155637
  colorPreference: "light"
155699
155638
  });
155700
155639
  var refs = mergeRefs(handler.ref, webViewRef);
155701
- (0, import_react29.useEffect)(function () {
155640
+ (0, import_react28.useEffect)(function () {
155702
155641
  var callback = function callback() {
155703
155642
  webBackHandler.handleWebBack();
155704
155643
  return true;
@@ -156423,12 +156362,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156423
156362
 
156424
156363
  var _slicedToArray = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/slicedToArray");
156425
156364
  var _objectWithoutProperties = _$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/objectWithoutProperties");
156426
- var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/asyncToGenerator");
156427
- var _classCallCheck = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/classCallCheck");
156428
- var _createClass = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/createClass");
156429
- var _possibleConstructorReturn = _$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/possibleConstructorReturn");
156430
- var _getPrototypeOf = _$$_REQUIRE(_dependencyMap[6], "@babel/runtime/helpers/getPrototypeOf");
156431
- var _inherits = _$$_REQUIRE(_dependencyMap[7], "@babel/runtime/helpers/inherits");
156365
+ var _classCallCheck = _$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/classCallCheck");
156366
+ var _createClass = _$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/createClass");
156367
+ var _possibleConstructorReturn = _$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/possibleConstructorReturn");
156368
+ var _getPrototypeOf = _$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/getPrototypeOf");
156369
+ var _inherits = _$$_REQUIRE(_dependencyMap[6], "@babel/runtime/helpers/inherits");
156370
+ var _asyncToGenerator = _$$_REQUIRE(_dependencyMap[7], "@babel/runtime/helpers/asyncToGenerator");
156432
156371
  var _excluded = ["onSuccess", "onError"];
156433
156372
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
156434
156373
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
@@ -156620,32 +156559,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156620
156559
  }
156621
156560
  });
156622
156561
  module.exports = __toCommonJS(index_exports);
156623
- var import_react_native7 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156624
- var import_react_native = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156625
- var EntryMessageExitedEvent = function (_import_react_native$) {
156626
- function EntryMessageExitedEvent() {
156627
- var _this;
156628
- _classCallCheck(this, EntryMessageExitedEvent);
156629
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
156630
- args[_key] = arguments[_key];
156631
- }
156632
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
156633
- _this.name = "entryMessageExited";
156634
- return _this;
156635
- }
156636
- _inherits(EntryMessageExitedEvent, _import_react_native$);
156637
- return _createClass(EntryMessageExitedEvent, [{
156638
- key: "remove",
156639
- value: function remove() {}
156640
- }, {
156641
- key: "listener",
156642
- value: function listener(_) {}
156643
- }]);
156644
- }(import_react_native.GraniteEventDefinition);
156562
+ var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156645
156563
  var import_types = _$$_REQUIRE(_dependencyMap[9], "@apps-in-toss/types");
156646
- var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156647
- var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156648
- var Module = import_react_native2.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156564
+ var import_react_native3 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156565
+ var import_react_native = _$$_REQUIRE(_dependencyMap[10], "react-native");
156566
+ var Module = import_react_native.TurboModuleRegistry.getEnforcing("AppsInTossModule");
156649
156567
  var AppsInTossModuleInstance = Module;
156650
156568
  var _AppsInTossModule = Module;
156651
156569
  function openPermissionDialog(permission) {
@@ -156670,22 +156588,22 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156670
156588
  });
156671
156589
  return _requestPermission.apply(this, arguments);
156672
156590
  }
156673
- var import_react_native3 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156674
- var nativeEventEmitter = new import_react_native3.NativeEventEmitter(AppsInTossModuleInstance);
156591
+ var import_react_native2 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156592
+ var nativeEventEmitter = new import_react_native2.NativeEventEmitter(AppsInTossModuleInstance);
156675
156593
  var UpdateLocationEvent = function (_import_react_native) {
156676
156594
  function UpdateLocationEvent() {
156677
- var _this2;
156595
+ var _this;
156678
156596
  _classCallCheck(this, UpdateLocationEvent);
156679
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
156680
- args[_key2] = arguments[_key2];
156597
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
156598
+ args[_key] = arguments[_key];
156681
156599
  }
156682
- _this2 = _callSuper(this, UpdateLocationEvent, [].concat(args));
156683
- _this2.name = "updateLocationEvent";
156684
- _this2.subscriptionCount = 0;
156685
- _this2.ref = {
156600
+ _this = _callSuper(this, UpdateLocationEvent, [].concat(args));
156601
+ _this.name = "updateLocationEvent";
156602
+ _this.subscriptionCount = 0;
156603
+ _this.ref = {
156686
156604
  remove: function remove() {}
156687
156605
  };
156688
- return _this2;
156606
+ return _this;
156689
156607
  }
156690
156608
  _inherits(UpdateLocationEvent, _import_react_native);
156691
156609
  return _createClass(UpdateLocationEvent, [{
@@ -156699,7 +156617,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156699
156617
  }, {
156700
156618
  key: "listener",
156701
156619
  value: function listener(options, onEvent, onError) {
156702
- var _this3 = this;
156620
+ var _this2 = this;
156703
156621
  requestPermission({
156704
156622
  name: "geolocation",
156705
156623
  access: "access"
@@ -156710,25 +156628,25 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156710
156628
  }
156711
156629
  void AppsInTossModuleInstance.startUpdateLocation(options).catch(onError);
156712
156630
  var subscription = nativeEventEmitter.addListener("updateLocation", onEvent);
156713
- _this3.ref = {
156631
+ _this2.ref = {
156714
156632
  remove: function remove() {
156715
156633
  return subscription == null ? void 0 : subscription.remove();
156716
156634
  }
156717
156635
  };
156718
- _this3.subscriptionCount++;
156636
+ _this2.subscriptionCount++;
156719
156637
  }).catch(onError);
156720
156638
  }
156721
156639
  }]);
156722
- }(import_react_native4.GraniteEventDefinition);
156723
- var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156640
+ }(import_react_native3.GraniteEventDefinition);
156641
+ var import_react_native4 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156724
156642
  function generateUUID(placeholder) {
156725
156643
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
156726
156644
  }
156727
156645
  var INTERNAL__callbacks = new Map();
156728
156646
  function invokeAppBridgeCallback(id) {
156729
156647
  var callback = INTERNAL__callbacks.get(id);
156730
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
156731
- args[_key3 - 1] = arguments[_key3];
156648
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
156649
+ args[_key2 - 1] = arguments[_key2];
156732
156650
  }
156733
156651
  callback == null ? void 0 : callback.call.apply(callback, [null].concat(args));
156734
156652
  return Boolean(callback);
@@ -156792,12 +156710,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156792
156710
  var UNSAFE__nativeEventEmitter = nativeEventEmitter;
156793
156711
  var AppBridgeCallbackEvent = function (_import_react_native2) {
156794
156712
  function _AppBridgeCallbackEvent() {
156795
- var _this4;
156713
+ var _this3;
156796
156714
  _classCallCheck(this, _AppBridgeCallbackEvent);
156797
- _this4 = _callSuper(this, _AppBridgeCallbackEvent);
156798
- _this4.name = "appBridgeCallbackEvent";
156799
- _this4.registerAppBridgeCallbackEventListener();
156800
- return _this4;
156715
+ _this3 = _callSuper(this, _AppBridgeCallbackEvent);
156716
+ _this3.name = "appBridgeCallbackEvent";
156717
+ _this3.registerAppBridgeCallbackEventListener();
156718
+ return _this3;
156801
156719
  }
156802
156720
  _inherits(_AppBridgeCallbackEvent, _import_react_native2);
156803
156721
  return _createClass(_AppBridgeCallbackEvent, [{
@@ -156824,19 +156742,19 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156824
156742
  }
156825
156743
  }
156826
156744
  }]);
156827
- }(import_react_native5.GraniteEventDefinition);
156828
- var import_react_native6 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156745
+ }(import_react_native4.GraniteEventDefinition);
156746
+ var import_react_native5 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
156829
156747
  var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native3) {
156830
156748
  function VisibilityChangedByTransparentServiceWebEvent() {
156831
- var _this5;
156749
+ var _this4;
156832
156750
  _classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
156833
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
156834
- args[_key4] = arguments[_key4];
156751
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
156752
+ args[_key3] = arguments[_key3];
156835
156753
  }
156836
- _this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156837
- _this5.name = "onVisibilityChangedByTransparentServiceWeb";
156838
- _this5.subscription = null;
156839
- return _this5;
156754
+ _this4 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
156755
+ _this4.name = "onVisibilityChangedByTransparentServiceWeb";
156756
+ _this4.subscription = null;
156757
+ return _this4;
156840
156758
  }
156841
156759
  _inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native3);
156842
156760
  return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
@@ -156849,9 +156767,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156849
156767
  }, {
156850
156768
  key: "listener",
156851
156769
  value: function listener(options, onEvent, onError) {
156852
- var _this6 = this;
156770
+ var _this5 = this;
156853
156771
  var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
156854
- if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
156772
+ if (_this5.isVisibilityChangedByTransparentServiceWebResult(params)) {
156855
156773
  if (params.callbackId === options.callbackId) {
156856
156774
  onEvent(params.isVisible);
156857
156775
  }
@@ -156867,13 +156785,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156867
156785
  return typeof params === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
156868
156786
  }
156869
156787
  }]);
156870
- }(import_react_native6.GraniteEventDefinition);
156871
- var _appsInTossEvent = new import_react_native7.GraniteEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156788
+ }(import_react_native5.GraniteEventDefinition);
156789
+ var _appsInTossEvent = new import_react_native6.GraniteEvent([new UpdateLocationEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
156872
156790
  var import_es_toolkit = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
156873
156791
  function _getOperationalEnvironment() {
156874
156792
  return _AppsInTossModule.operationalEnvironment;
156875
156793
  }
156876
- var import_react_native8 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156794
+ var import_react_native7 = _$$_REQUIRE(_dependencyMap[10], "react-native");
156877
156795
  var SEMVER_REGEX = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\\-]+(?:\.[\da-z\\-]+)*))?(?:\+[\da-z\\-]+(?:\.[\da-z\\-]+)*)?)?)?$/i;
156878
156796
  var isWildcard = function isWildcard(val) {
156879
156797
  return ["*", "x", "X"].includes(val);
@@ -156956,7 +156874,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156956
156874
  return true;
156957
156875
  }
156958
156876
  var currentVersion = _AppsInTossModule.tossAppVersion;
156959
- var isIOS = import_react_native8.Platform.OS === "ios";
156877
+ var isIOS = import_react_native7.Platform.OS === "ios";
156960
156878
  var minVersion = isIOS ? minVersions.ios : minVersions.android;
156961
156879
  if (minVersion === void 0) {
156962
156880
  return false;
@@ -157118,10 +157036,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157118
157036
  showAdMobInterstitialAd.isSupported = createIsSupported();
157119
157037
  showAdMobRewardedAd.isSupported = createIsSupported();
157120
157038
  var import_es_toolkit2 = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
157121
- var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157039
+ var import_react_native8 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157122
157040
  function getReferrer() {
157123
157041
  try {
157124
- return new URL((0, import_react_native9.getSchemeUri)()).searchParams.get("referrer");
157042
+ return new URL((0, import_react_native8.getSchemeUri)()).searchParams.get("referrer");
157125
157043
  } catch (_unused) {
157126
157044
  return null;
157127
157045
  }
@@ -157408,19 +157326,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157408
157326
  function _getTossAppVersion() {
157409
157327
  return _AppsInTossModule.tossAppVersion;
157410
157328
  }
157411
- function _getTossShareLink(_x7) {
157329
+ var V2_MIN_VERSION = {
157330
+ android: "5.240.0",
157331
+ ios: "5.239.0"
157332
+ };
157333
+ function _getTossShareLink(_x7, _x8) {
157412
157334
  return _getTossShareLink2.apply(this, arguments);
157413
157335
  }
157414
157336
  function _getTossShareLink2() {
157415
- _getTossShareLink2 = _asyncToGenerator(function* (path) {
157416
- var _yield$_AppsInTossMod = yield _AppsInTossModule.getTossShareLink({}),
157337
+ _getTossShareLink2 = _asyncToGenerator(function* (path, ogImageUrl) {
157338
+ if (!_isMinVersionSupported(V2_MIN_VERSION)) {
157339
+ return yield getTossShareLinkV1(path);
157340
+ }
157341
+ var params = {
157342
+ params: {
157343
+ url: path,
157344
+ ogImageUrl: ogImageUrl
157345
+ }
157346
+ };
157347
+ var _yield$_AppsInTossMod = yield _AppsInTossModule.getTossShareLink(params),
157417
157348
  shareLink = _yield$_AppsInTossMod.shareLink;
157349
+ return shareLink;
157350
+ });
157351
+ return _getTossShareLink2.apply(this, arguments);
157352
+ }
157353
+ function getTossShareLinkV1(_x9) {
157354
+ return _getTossShareLinkV.apply(this, arguments);
157355
+ }
157356
+ function _getTossShareLinkV() {
157357
+ _getTossShareLinkV = _asyncToGenerator(function* (path) {
157358
+ var _yield$_AppsInTossMod2 = yield _AppsInTossModule.getTossShareLink({}),
157359
+ shareLink = _yield$_AppsInTossMod2.shareLink;
157418
157360
  var shareUrl = new URL(shareLink);
157419
157361
  shareUrl.searchParams.set("deep_link_value", path);
157420
157362
  shareUrl.searchParams.set("af_dp", path);
157421
157363
  return shareUrl.toString();
157422
157364
  });
157423
- return _getTossShareLink2.apply(this, arguments);
157365
+ return _getTossShareLinkV.apply(this, arguments);
157424
157366
  }
157425
157367
  var import_es_toolkit3 = _$$_REQUIRE(_dependencyMap[11], "es-toolkit");
157426
157368
  function _iapCreateOneTimePurchaseOrder(params) {
@@ -157513,7 +157455,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157513
157455
  isProductGranted: isProductGranted
157514
157456
  });
157515
157457
  });
157516
- function onPurchased(_x8) {
157458
+ function onPurchased(_x10) {
157517
157459
  return _onPurchased.apply(this, arguments);
157518
157460
  }
157519
157461
  return onPurchased;
@@ -157562,7 +157504,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157562
157504
  });
157563
157505
  return _getPendingOrders.apply(this, arguments);
157564
157506
  }
157565
- function getCompletedOrRefundedOrders(_x9) {
157507
+ function getCompletedOrRefundedOrders(_x11) {
157566
157508
  return _getCompletedOrRefundedOrders.apply(this, arguments);
157567
157509
  }
157568
157510
  function _getCompletedOrRefundedOrders() {
@@ -157580,7 +157522,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157580
157522
  });
157581
157523
  return _getCompletedOrRefundedOrders.apply(this, arguments);
157582
157524
  }
157583
- function completeProductGrant(_x10) {
157525
+ function completeProductGrant(_x12) {
157584
157526
  return _completeProductGrant.apply(this, arguments);
157585
157527
  }
157586
157528
  function _completeProductGrant() {
@@ -157603,7 +157545,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157603
157545
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
157604
157546
  completeProductGrant: completeProductGrant
157605
157547
  };
157606
- function _saveBase64Data(_x11) {
157548
+ function _saveBase64Data(_x13) {
157607
157549
  return _saveBase64Data2.apply(this, arguments);
157608
157550
  }
157609
157551
  function _saveBase64Data2() {
@@ -157620,7 +157562,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157620
157562
  });
157621
157563
  return _saveBase64Data2.apply(this, arguments);
157622
157564
  }
157623
- function _setDeviceOrientation(_x12) {
157565
+ function _setDeviceOrientation(_x14) {
157624
157566
  return _setDeviceOrientation2.apply(this, arguments);
157625
157567
  }
157626
157568
  function _setDeviceOrientation2() {
@@ -157661,7 +157603,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157661
157603
  removeItem: removeItem,
157662
157604
  clearItems: clearItems
157663
157605
  };
157664
- var import_react_native10 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157606
+ var import_react_native9 = _$$_REQUIRE(_dependencyMap[8], "@granite-js/react-native");
157665
157607
  var GAME_CENTER_MIN_VERSION = {
157666
157608
  android: "5.221.0",
157667
157609
  ios: "5.221.0"
@@ -157694,7 +157636,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157694
157636
  var url = new URL("servicetoss://game-center/leaderboard?_navbar=hide");
157695
157637
  url.searchParams.set("appName", appName);
157696
157638
  url.searchParams.set("referrer", "appsintoss." + appName);
157697
- return (0, import_react_native10.openURL)(url.toString());
157639
+ return (0, import_react_native9.openURL)(url.toString());
157698
157640
  });
157699
157641
  return _openGameCenterLeaderboard2.apply(this, arguments);
157700
157642
  }
@@ -157711,7 +157653,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157711
157653
  });
157712
157654
  return _getGameCenterGameProfile2.apply(this, arguments);
157713
157655
  }
157714
- function _submitGameCenterLeaderBoardScore(_x13) {
157656
+ function _submitGameCenterLeaderBoardScore(_x15) {
157715
157657
  return _submitGameCenterLeaderBoardScore2.apply(this, arguments);
157716
157658
  }
157717
157659
  function _submitGameCenterLeaderBoardScore2() {
@@ -157751,7 +157693,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157751
157693
  function isGrantPromotionRewardForGameError(error) {
157752
157694
  return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
157753
157695
  }
157754
- function _grantPromotionRewardForGame(_x14) {
157696
+ function _grantPromotionRewardForGame(_x16) {
157755
157697
  return _grantPromotionRewardForGame2.apply(this, arguments);
157756
157698
  }
157757
157699
  function _grantPromotionRewardForGame2() {
@@ -157823,15 +157765,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157823
157765
  });
157824
157766
  return unregisterCallbacks;
157825
157767
  }
157826
- function _appsInTossSignTossCert(_x15) {
157768
+ var MIN_VERSION_BY_USER_TYPE = {
157769
+ USER_PERSONAL: {
157770
+ android: "5.233.0",
157771
+ ios: "5.233.0"
157772
+ },
157773
+ USER_NONE: {
157774
+ android: "5.236.0",
157775
+ ios: "5.236.0"
157776
+ }
157777
+ };
157778
+ function _appsInTossSignTossCert(_x17) {
157827
157779
  return _appsInTossSignTossCert2.apply(this, arguments);
157828
157780
  }
157829
157781
  function _appsInTossSignTossCert2() {
157830
157782
  _appsInTossSignTossCert2 = _asyncToGenerator(function* (params) {
157831
- var isSupported = _isMinVersionSupported({
157832
- android: "5.233.0",
157833
- ios: "5.233.0"
157834
- });
157783
+ var minVersion = params.skipConfirmDoc === true ? MIN_VERSION_BY_USER_TYPE.USER_NONE : MIN_VERSION_BY_USER_TYPE.USER_PERSONAL;
157784
+ var isSupported = _isMinVersionSupported(minVersion);
157835
157785
  if (!isSupported) {
157836
157786
  console.warn("appsInTossSignTossCert is not supported in this app version");
157837
157787
  return;
@@ -157862,8 +157812,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157862
157812
  function _onVisibilityChangedByTransparentServiceWeb(eventParams) {
157863
157813
  return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
157864
157814
  }
157865
- var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157866
- var _BedrockModule = import_react_native11.NativeModules.BedrockModule;
157815
+ var import_react_native10 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157816
+ var _BedrockModule = import_react_native10.NativeModules.BedrockModule;
157867
157817
  function _closeView() {
157868
157818
  return _closeView2.apply(this, arguments);
157869
157819
  }
@@ -157873,11 +157823,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157873
157823
  });
157874
157824
  return _closeView2.apply(this, arguments);
157875
157825
  }
157876
- var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157826
+ var import_react_native11 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157877
157827
  function _getLocale() {
157878
157828
  var _BedrockModule$Device, _BedrockModule$Device2;
157879
157829
  var locale = (_BedrockModule$Device = _BedrockModule == null ? void 0 : (_BedrockModule$Device2 = _BedrockModule.DeviceInfo) == null ? void 0 : _BedrockModule$Device2.locale) != null ? _BedrockModule$Device : "ko-KR";
157880
- if (import_react_native12.Platform.OS === "android") {
157830
+ if (import_react_native11.Platform.OS === "android") {
157881
157831
  return replaceUnderbarToHypen(locale);
157882
157832
  }
157883
157833
  return locale;
@@ -157891,7 +157841,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157891
157841
  function _generateHapticFeedback(options) {
157892
157842
  return _BedrockModule.generateHapticFeedback(options);
157893
157843
  }
157894
- function _share(_x16) {
157844
+ function _share(_x18) {
157895
157845
  return _share2.apply(this, arguments);
157896
157846
  }
157897
157847
  function _share2() {
@@ -157903,7 +157853,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157903
157853
  function _setSecureScreen(options) {
157904
157854
  return _BedrockModule.setSecureScreen(options);
157905
157855
  }
157906
- function _setScreenAwakeMode(_x17) {
157856
+ function _setScreenAwakeMode(_x19) {
157907
157857
  return _setScreenAwakeMode2.apply(this, arguments);
157908
157858
  }
157909
157859
  function _setScreenAwakeMode2() {
@@ -157915,7 +157865,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157915
157865
  function _getNetworkStatus() {
157916
157866
  return _BedrockModule.getNetworkStatus();
157917
157867
  }
157918
- function _setIosSwipeGestureEnabled(_x18) {
157868
+ function _setIosSwipeGestureEnabled(_x20) {
157919
157869
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
157920
157870
  }
157921
157871
  function _setIosSwipeGestureEnabled2() {
@@ -157927,18 +157877,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
157927
157877
  });
157928
157878
  return _setIosSwipeGestureEnabled2.apply(this, arguments);
157929
157879
  }
157930
- var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157880
+ var import_react_native12 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157931
157881
  function openURL2(url) {
157932
- return import_react_native13.Linking.openURL(url);
157882
+ return import_react_native12.Linking.openURL(url);
157933
157883
  }
157934
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157884
+ var import_react_native13 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157935
157885
  function _getPlatformOS() {
157936
- return import_react_native14.Platform.OS;
157886
+ return import_react_native13.Platform.OS;
157937
157887
  }
157888
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157889
+ var _BedrockCoreModule = import_react_native14.NativeModules.BedrockCoreModule;
157938
157890
  var import_react_native15 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157939
- var _BedrockCoreModule = import_react_native15.NativeModules.BedrockCoreModule;
157940
- var import_react_native16 = _$$_REQUIRE(_dependencyMap[10], "react-native");
157941
- var TossCoreModule = import_react_native16.NativeModules.TossCoreModule;
157891
+ var TossCoreModule = import_react_native15.NativeModules.TossCoreModule;
157942
157892
  function tossCoreEventLog(params) {
157943
157893
  var supported = _isMinVersionSupported({
157944
157894
  ios: "5.210.0",
@@ -158012,7 +157962,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
158012
157962
  startUpdateLocation: _startUpdateLocation,
158013
157963
  submitGameCenterLeaderBoardScore: _submitGameCenterLeaderBoardScore
158014
157964
  });
158015
- },1259,[61,207,16,24,25,43,46,47,2,1260,18,1261],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/dist/index.cjs");
157965
+ },1259,[61,207,24,25,43,46,47,16,2,1260,18,1261],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/dist/index.cjs");
158016
157966
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
158017
157967
  "use strict";
158018
157968
 
@@ -232421,21 +232371,46 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232421
232371
  exports.getTossShareLink = getTossShareLink;
232422
232372
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232423
232373
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232424
- function getTossShareLink(_x) {
232374
+ var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232375
+ var V2_MIN_VERSION = {
232376
+ android: '5.240.0',
232377
+ ios: '5.239.0'
232378
+ };
232379
+ function getTossShareLink(_x, _x2) {
232425
232380
  return _getTossShareLink.apply(this, arguments);
232426
232381
  }
232427
232382
  function _getTossShareLink() {
232428
- _getTossShareLink = (0, _asyncToGenerator2.default)(function* (path) {
232429
- var _yield$AppsInTossModu = yield _AppsInTossModule.AppsInTossModule.getTossShareLink({}),
232383
+ _getTossShareLink = (0, _asyncToGenerator2.default)(function* (path, ogImageUrl) {
232384
+ if (!(0, _isMinVersionSupported.isMinVersionSupported)(V2_MIN_VERSION)) {
232385
+ return yield getTossShareLinkV1(path);
232386
+ }
232387
+ var params = {
232388
+ params: {
232389
+ url: path,
232390
+ ogImageUrl: ogImageUrl
232391
+ }
232392
+ };
232393
+ var _yield$AppsInTossModu = yield _AppsInTossModule.AppsInTossModule.getTossShareLink(params),
232430
232394
  shareLink = _yield$AppsInTossModu.shareLink;
232395
+ return shareLink;
232396
+ });
232397
+ return _getTossShareLink.apply(this, arguments);
232398
+ }
232399
+ function getTossShareLinkV1(_x3) {
232400
+ return _getTossShareLinkV.apply(this, arguments);
232401
+ }
232402
+ function _getTossShareLinkV() {
232403
+ _getTossShareLinkV = (0, _asyncToGenerator2.default)(function* (path) {
232404
+ var _yield$AppsInTossModu2 = yield _AppsInTossModule.AppsInTossModule.getTossShareLink({}),
232405
+ shareLink = _yield$AppsInTossModu2.shareLink;
232431
232406
  var shareUrl = new URL(shareLink);
232432
232407
  shareUrl.searchParams.set('deep_link_value', path);
232433
232408
  shareUrl.searchParams.set('af_dp', path);
232434
232409
  return shareUrl.toString();
232435
232410
  });
232436
- return _getTossShareLink.apply(this, arguments);
232411
+ return _getTossShareLinkV.apply(this, arguments);
232437
232412
  }
232438
- },2593,[1,16,2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossShareLink.ts");
232413
+ },2593,[1,16,2579,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getTossShareLink.ts");
232439
232414
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232440
232415
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232441
232416
  Object.defineProperty(exports, "__esModule", {
@@ -232518,15 +232493,23 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232518
232493
  var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
232519
232494
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[2], "./AppsInTossModule");
232520
232495
  var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[3], "./isMinVersionSupported");
232496
+ var MIN_VERSION_BY_USER_TYPE = {
232497
+ USER_PERSONAL: {
232498
+ android: '5.233.0',
232499
+ ios: '5.233.0'
232500
+ },
232501
+ USER_NONE: {
232502
+ android: '5.236.0',
232503
+ ios: '5.236.0'
232504
+ }
232505
+ };
232521
232506
  function appsInTossSignTossCert(_x) {
232522
232507
  return _appsInTossSignTossCert.apply(this, arguments);
232523
232508
  }
232524
232509
  function _appsInTossSignTossCert() {
232525
232510
  _appsInTossSignTossCert = (0, _asyncToGenerator2.default)(function* (params) {
232526
- var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
232527
- android: '5.233.0',
232528
- ios: '5.233.0'
232529
- });
232511
+ var minVersion = params.skipConfirmDoc === true ? MIN_VERSION_BY_USER_TYPE.USER_NONE : MIN_VERSION_BY_USER_TYPE.USER_PERSONAL;
232512
+ var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)(minVersion);
232530
232513
  if (!isSupported) {
232531
232514
  console.warn('appsInTossSignTossCert is not supported in this app version');
232532
232515
  return;
@@ -232921,7 +232904,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232921
232904
  }
232922
232905
  });
232923
232906
  });
232924
- },2612,[2613,2629,2628],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
232907
+ },2612,[2613,2628,2627],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/event-bridges.ts");
232925
232908
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232926
232909
  Object.defineProperty(exports, "__esModule", {
232927
232910
  value: true
@@ -232934,54 +232917,18 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
232934
232917
  }
232935
232918
  startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
232936
232919
  startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
232937
- },2613,[2614,2622],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
232920
+ },2613,[2614,2621],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/startUpdateLocation.ts");
232938
232921
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232939
232922
  Object.defineProperty(exports, "__esModule", {
232940
232923
  value: true
232941
232924
  });
232942
232925
  exports.appsInTossEvent = void 0;
232943
232926
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "@granite-js/react-native");
232944
- var _EntryMessageExitedEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/EntryMessageExitedEvent");
232945
- var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[2], "./event-plugins/UpdateLocationEvent");
232946
- var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/AppBridgeCallbackEvent");
232947
- var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[4], "./internal/VisibilityChangedByTransparentServiceWebEvent");
232948
- var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _EntryMessageExitedEvent.EntryMessageExitedEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
232949
- },2614,[2,2615,2616,2618,2621],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
232950
- __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232951
- var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232952
- Object.defineProperty(exports, "__esModule", {
232953
- value: true
232954
- });
232955
- exports.EntryMessageExitedEvent = void 0;
232956
- var _classCallCheck2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/classCallCheck"));
232957
- var _createClass2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2], "@babel/runtime/helpers/createClass"));
232958
- var _possibleConstructorReturn2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[3], "@babel/runtime/helpers/possibleConstructorReturn"));
232959
- var _getPrototypeOf2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[4], "@babel/runtime/helpers/getPrototypeOf"));
232960
- var _inherits2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[5], "@babel/runtime/helpers/inherits"));
232961
- var _reactNative = _$$_REQUIRE(_dependencyMap[6], "@granite-js/react-native");
232962
- function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
232963
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
232964
- var EntryMessageExitedEvent = exports.EntryMessageExitedEvent = function (_GraniteEventDefiniti) {
232965
- function EntryMessageExitedEvent() {
232966
- var _this;
232967
- (0, _classCallCheck2.default)(this, EntryMessageExitedEvent);
232968
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
232969
- args[_key] = arguments[_key];
232970
- }
232971
- _this = _callSuper(this, EntryMessageExitedEvent, [].concat(args));
232972
- _this.name = 'entryMessageExited';
232973
- return _this;
232974
- }
232975
- (0, _inherits2.default)(EntryMessageExitedEvent, _GraniteEventDefiniti);
232976
- return (0, _createClass2.default)(EntryMessageExitedEvent, [{
232977
- key: "remove",
232978
- value: function remove() {}
232979
- }, {
232980
- key: "listener",
232981
- value: function listener(_) {}
232982
- }]);
232983
- }(_reactNative.GraniteEventDefinition);
232984
- },2615,[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");
232927
+ var _UpdateLocationEvent = _$$_REQUIRE(_dependencyMap[1], "./event-plugins/UpdateLocationEvent");
232928
+ var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
232929
+ var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
232930
+ var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
232931
+ },2614,[2,2615,2617,2620],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/appsInTossEvent.ts");
232985
232932
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
232986
232933
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
232987
232934
  Object.defineProperty(exports, "__esModule", {
@@ -233048,7 +232995,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233048
232995
  }
233049
232996
  }]);
233050
232997
  }(_reactNative.GraniteEventDefinition);
233051
- },2616,[1,24,25,43,46,47,1260,2,2579,2580,2617],"../../.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");
232998
+ },2615,[1,24,25,43,46,47,1260,2,2579,2580,2616],"../../.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");
233052
232999
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233053
233000
  Object.defineProperty(exports, "__esModule", {
233054
233001
  value: true
@@ -233057,7 +233004,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233057
233004
  var _reactNative = _$$_REQUIRE(_dependencyMap[0], "react-native");
233058
233005
  var _AppsInTossModule = _$$_REQUIRE(_dependencyMap[1], "../native-modules/AppsInTossModule");
233059
233006
  var nativeEventEmitter = exports.nativeEventEmitter = new _reactNative.NativeEventEmitter(_AppsInTossModule.AppsInTossModuleInstance);
233060
- },2617,[18,2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
233007
+ },2616,[18,2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/nativeEventEmitter.ts");
233061
233008
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233062
233009
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233063
233010
  Object.defineProperty(exports, "__esModule", {
@@ -233110,7 +233057,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233110
233057
  }
233111
233058
  }]);
233112
233059
  }(_reactNative.GraniteEventDefinition);
233113
- },2618,[1,24,25,43,46,47,2,2619,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
233060
+ },2617,[1,24,25,43,46,47,2,2618,2616],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
233114
233061
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233115
233062
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233116
233063
  Object.defineProperty(exports, "__esModule", {
@@ -233187,7 +233134,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233187
233134
  unregisterCallback: unregisterCallback,
233188
233135
  getCallbackIds: getCallbackIds
233189
233136
  };
233190
- },2619,[1,61,207,2620,2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
233137
+ },2618,[1,61,207,2619,2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/appBridge.ts");
233191
233138
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233192
233139
  Object.defineProperty(exports, "__esModule", {
233193
233140
  value: true
@@ -233196,7 +233143,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233196
233143
  function generateUUID(placeholder) {
233197
233144
  return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
233198
233145
  }
233199
- },2620,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
233146
+ },2619,[],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/generateUUID.ts");
233200
233147
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233201
233148
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233202
233149
  Object.defineProperty(exports, "__esModule", {
@@ -233254,7 +233201,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233254
233201
  }
233255
233202
  }]);
233256
233203
  }(_reactNative.GraniteEventDefinition);
233257
- },2621,[1,24,25,43,46,47,2,2617],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
233204
+ },2620,[1,24,25,43,46,47,2,2616],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
233258
233205
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233259
233206
  Object.defineProperty(exports, "__esModule", {
233260
233207
  value: true
@@ -233594,7 +233541,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233594
233541
  loadAppsInTossAdMob: _googleAdMobV.loadAppsInTossAdMob,
233595
233542
  showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob
233596
233543
  };
233597
- },2622,[2623,2624,2595,2579,2589,2590,2586,2585,2584,2587,2582,2588,2611,2609,2610,2593,2626,2591,2596,2594,2627,2600,2598,2601,2602,2604,2603,2628,2597],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233544
+ },2621,[2622,2623,2595,2579,2589,2590,2586,2585,2584,2587,2582,2588,2611,2609,2610,2593,2625,2591,2596,2594,2626,2600,2598,2601,2602,2604,2603,2627,2597],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/index.ts");
233598
233545
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233599
233546
  Object.defineProperty(exports, "__esModule", {
233600
233547
  value: true
@@ -233755,7 +233702,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233755
233702
  loadAdMobRewardedAd.isSupported = createIsSupported();
233756
233703
  showAdMobInterstitialAd.isSupported = createIsSupported();
233757
233704
  showAdMobRewardedAd.isSupported = createIsSupported();
233758
- },2623,[1261,2619,2609,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233705
+ },2622,[1261,2618,2609,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMob.ts");
233759
233706
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233760
233707
  Object.defineProperty(exports, "__esModule", {
233761
233708
  value: true
@@ -233858,7 +233805,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233858
233805
  }
233859
233806
  loadAppsInTossAdMob.isSupported = createIsSupported();
233860
233807
  showAppsInTossAdMob.isSupported = createIsSupported();
233861
- },2624,[1261,2625,2619,2609,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
233808
+ },2623,[1261,2624,2618,2609,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/ads/googleAdMobV2.ts");
233862
233809
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233863
233810
  Object.defineProperty(exports, "__esModule", {
233864
233811
  value: true
@@ -233872,7 +233819,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
233872
233819
  return null;
233873
233820
  }
233874
233821
  }
233875
- },2625,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
233822
+ },2624,[2],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/utils/getReferrer.ts");
233876
233823
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
233877
233824
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
233878
233825
  Object.defineProperty(exports, "__esModule", {
@@ -234067,7 +234014,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234067
234014
  getCompletedOrRefundedOrders: getCompletedOrRefundedOrders,
234068
234015
  completeProductGrant: completeProductGrant
234069
234016
  };
234070
- },2626,[1,16,1261,2579,2591,2619],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
234017
+ },2625,[1,16,1261,2579,2591,2618],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/iap.ts");
234071
234018
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234072
234019
  Object.defineProperty(exports, "__esModule", {
234073
234020
  value: true
@@ -234099,7 +234046,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234099
234046
  removeItem: removeItem,
234100
234047
  clearItems: clearItems
234101
234048
  };
234102
- },2627,[2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
234049
+ },2626,[2579],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/storage.ts");
234103
234050
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234104
234051
  Object.defineProperty(exports, "__esModule", {
234105
234052
  value: true
@@ -234135,7 +234082,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234135
234082
  });
234136
234083
  return unregisterCallbacks;
234137
234084
  }
234138
- },2628,[2619,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
234085
+ },2627,[2618,2591],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/contactsViral.ts");
234139
234086
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234140
234087
  Object.defineProperty(exports, "__esModule", {
234141
234088
  value: true
@@ -234145,7 +234092,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234145
234092
  function onVisibilityChangedByTransparentServiceWeb(eventParams) {
234146
234093
  return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
234147
234094
  }
234148
- },2629,[2614],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
234095
+ },2628,[2614],"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
234149
234096
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234150
234097
  Object.defineProperty(exports, "__esModule", {
234151
234098
  value: true
@@ -234160,7 +234107,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234160
234107
  context.keys = function () {
234161
234108
  return Array.from(files.keys());
234162
234109
  };
234163
- },2630,[2631,2632],"react-native/context.ts");
234110
+ },2629,[2630,2631],"react-native/context.ts");
234164
234111
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234165
234112
  Object.defineProperty(exports, "__esModule", {
234166
234113
  value: true
@@ -234193,7 +234140,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234193
234140
  })
234194
234141
  });
234195
234142
  }
234196
- },2631,[1256,18,9],"react-native/pages/index.tsx");
234143
+ },2630,[1256,18,9],"react-native/pages/index.tsx");
234197
234144
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
234198
234145
  var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
234199
234146
  Object.defineProperty(exports, "__esModule", {
@@ -234206,6 +234153,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
234206
234153
  }
234207
234154
  });
234208
234155
  var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
234209
- },2632,[1,2631],"react-native/pages/_404.tsx");
234156
+ },2631,[1,2630],"react-native/pages/_404.tsx");
234210
234157
  __r(134);
234211
234158
  __r(0);