@apps-in-toss/web-framework 0.0.29 → 0.0.30

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.
@@ -0,0 +1,6 @@
1
+ import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
+ import {
3
+ require_typescript
4
+ } from "./chunk-RUDG2MMT.js";
5
+ import "./chunk-HDRFXOPA.js";
6
+ export default require_typescript();
@@ -0,0 +1,6 @@
1
+ import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
+ import {
3
+ require_typescript
4
+ } from "./chunk-34QS4NNF.js";
5
+ import "./chunk-AZQN2M6D.js";
6
+ export default require_typescript();
@@ -87493,7 +87493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
87493
87493
  var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
87494
87494
  },412,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
87495
87495
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
87496
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
87496
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
87497
87497
  "__packager_asset": true,
87498
87498
  "httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
87499
87499
  "width": 28,
@@ -89172,7 +89172,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
89172
89172
  var _default = exports.default = NativeStatusBarManager;
89173
89173
  },429,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
89174
89174
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
89175
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89175
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89176
89176
  "__packager_asset": true,
89177
89177
  "httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
89178
89178
  "width": 16,
@@ -89184,7 +89184,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
89184
89184
  });
89185
89185
  },430,[414],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
89186
89186
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
89187
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89187
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89188
89188
  "__packager_asset": true,
89189
89189
  "httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
89190
89190
  "width": 16,
@@ -89818,7 +89818,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
89818
89818
  var _default = exports.default = LogBoxInspectorSourceMapStatus;
89819
89819
  },435,[315,274,243,379,407,408,8,49,436,437],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
89820
89820
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
89821
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89821
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89822
89822
  "__packager_asset": true,
89823
89823
  "httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
89824
89824
  "width": 48,
@@ -89830,7 +89830,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
89830
89830
  });
89831
89831
  },436,[414],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
89832
89832
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
89833
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89833
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
89834
89834
  "__packager_asset": true,
89835
89835
  "httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
89836
89836
  "width": 44,
@@ -108470,7 +108470,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
108470
108470
  }
108471
108471
  },650,[511,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
108472
108472
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
108473
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
108473
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
108474
108474
  "__packager_asset": true,
108475
108475
  "httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
108476
108476
  "width": 24,
@@ -108482,7 +108482,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
108482
108482
  });
108483
108483
  },651,[414],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
108484
108484
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
108485
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
108485
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
108486
108486
  "__packager_asset": true,
108487
108487
  "httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
108488
108488
  "width": 50,
@@ -154800,6 +154800,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
154800
154800
  startUpdateLocation: function startUpdateLocation() {
154801
154801
  return _startUpdateLocation;
154802
154802
  },
154803
+ useCreateUserAgent: function useCreateUserAgent() {
154804
+ return _useCreateUserAgent;
154805
+ },
154803
154806
  useGeolocation: function useGeolocation() {
154804
154807
  return _useGeolocation;
154805
154808
  }
@@ -156029,10 +156032,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156029
156032
  loadAdMobRewardedAd: loadAdMobRewardedAd,
156030
156033
  showAdMobRewardedAd: showAdMobRewardedAd
156031
156034
  };
156032
- var import_react_native14 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
156035
+ var import_react_native15 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
156033
156036
  var import_private = _$$_REQUIRE(_dependencyMap[6], "@toss-design-system/react-native/private");
156034
- var import_react6 = _$$_REQUIRE(_dependencyMap[3], "react");
156035
- var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156037
+ var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
156038
+ var import_react_native16 = _$$_REQUIRE(_dependencyMap[4], "react-native");
156039
+ var import_react_native_bedrock13 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156036
156040
  var bedrockAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[7], "react-native-bedrock/async-bridges"), 1);
156037
156041
  var bedrockConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[8], "react-native-bedrock/constant-bridges"), 1);
156038
156042
  var import_react_native_webview = _$$_REQUIRE(_dependencyMap[9], "@react-native-bedrock/native/react-native-webview");
@@ -156366,7 +156370,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156366
156370
  return _startUpdateLocation;
156367
156371
  }
156368
156372
  });
156373
+ var import_react_native14 = _$$_REQUIRE(_dependencyMap[4], "react-native");
156369
156374
  var import_react_native_bedrock10 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156375
+ function _useCreateUserAgent(_ref20) {
156376
+ var batteryModePreference = _ref20.batteryModePreference,
156377
+ colorPreference = _ref20.colorPreference,
156378
+ fontA11y = _ref20.fontA11y,
156379
+ locale = _ref20.locale,
156380
+ navbarPreference = _ref20.navbarPreference,
156381
+ pureSafeArea = _ref20.pureSafeArea,
156382
+ safeArea = _ref20.safeArea,
156383
+ safeAreaBottomTransparency = _ref20.safeAreaBottomTransparency;
156384
+ var platform = (0, import_react_native_bedrock10.getPlatformOS)();
156385
+ var appVersion = _getTossAppVersion();
156386
+ var fontScale = (0, import_react_native14.useWindowDimensions)().fontScale;
156387
+ var platformString = platform === "ios" ? "iPhone" : "Android";
156388
+ return ["TossApp/".concat(appVersion), batteryModePreference && "TossBatteryModePreference/".concat(batteryModePreference), colorPreference && "TossColorPreference/".concat(colorPreference), fontA11y && "TossFontAccessibility/".concat(fontA11y), fontScale && "TossFontScale/".concat(fontScale), locale && "TossLocale/".concat(locale), navbarPreference && "TossNavbarPreference/".concat(navbarPreference), pureSafeArea && "TossPureSafeArea/".concat(pureSafeArea), safeArea && "TossSafeArea/".concat(safeArea), safeAreaBottomTransparency && "TossSafeAreaBottomTransparency/".concat(safeAreaBottomTransparency), platformString].filter(Boolean).join(" ");
156389
+ }
156390
+ var import_react6 = _$$_REQUIRE(_dependencyMap[3], "react");
156391
+ var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156392
+ function _useGeolocation(_ref21) {
156393
+ var accuracy = _ref21.accuracy,
156394
+ distanceInterval = _ref21.distanceInterval,
156395
+ timeInterval = _ref21.timeInterval;
156396
+ var isVisible = (0, import_react_native_bedrock11.useVisibility)();
156397
+ var _ref22 = (0, import_react6.useState)(null),
156398
+ _ref23 = _slicedToArray(_ref22, 2),
156399
+ location = _ref23[0],
156400
+ setLocation = _ref23[1];
156401
+ (0, import_react6.useEffect)(function () {
156402
+ if (!isVisible) {
156403
+ return;
156404
+ }
156405
+ return _startUpdateLocation({
156406
+ options: {
156407
+ accuracy: accuracy,
156408
+ distanceInterval: distanceInterval,
156409
+ timeInterval: timeInterval
156410
+ },
156411
+ onEvent: setLocation,
156412
+ onError: console.error
156413
+ });
156414
+ }, [accuracy, distanceInterval, timeInterval, isVisible]);
156415
+ return location;
156416
+ }
156417
+ var import_react_native_bedrock12 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156370
156418
  var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
156371
156419
  var timestampHex = uuid.split("-").join("").slice(0, 12);
156372
156420
  var timestamp = Number.parseInt(timestampHex, 16);
@@ -156388,7 +156436,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156388
156436
  };
156389
156437
  var getReferrer = function getReferrer() {
156390
156438
  try {
156391
- var referrer = new URL((0, import_react_native_bedrock10.getSchemeUri)());
156439
+ var referrer = new URL((0, import_react_native_bedrock12.getSchemeUri)());
156392
156440
  return referrer.searchParams.get("referrer");
156393
156441
  } catch (_unused4) {
156394
156442
  return "";
@@ -156415,13 +156463,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156415
156463
  var operationalEnvironment = _getOperationalEnvironment();
156416
156464
  var TYPES = ["partner", "external", "game"];
156417
156465
  var WEBVIEW_TYPES = {
156418
- partner: import_react_native14.PartnerWebViewScreen,
156419
- external: import_react_native14.ExternalWebViewScreen,
156466
+ partner: import_react_native15.PartnerWebViewScreen,
156467
+ external: import_react_native15.ExternalWebViewScreen,
156420
156468
  game: GameWebView
156421
156469
  };
156422
156470
  function mergeSchemeQueryParamsInto(url) {
156423
156471
  var baseUrl = new URL(url);
156424
- var schemeUrl = new URL((0, import_react_native_bedrock11.getSchemeUri)());
156472
+ var schemeUrl = new URL((0, import_react_native_bedrock13.getSchemeUri)());
156425
156473
  baseUrl.pathname = schemeUrl.pathname;
156426
156474
  var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
156427
156475
  _step2;
@@ -156453,55 +156501,56 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156453
156501
  }
156454
156502
  return url.toString();
156455
156503
  }
156456
- function _WebView(_ref20) {
156457
- var type = _ref20.type,
156458
- local = _ref20.local,
156459
- onMessage = _ref20.onMessage,
156460
- props = _objectWithoutProperties(_ref20, _excluded3);
156504
+ function _WebView(_ref24) {
156505
+ var type = _ref24.type,
156506
+ local = _ref24.local,
156507
+ onMessage = _ref24.onMessage,
156508
+ props = _objectWithoutProperties(_ref24, _excluded3);
156461
156509
  if (!TYPES.includes(type)) {
156462
156510
  throw new Error("Invalid WebView type: '".concat(type, "'"));
156463
156511
  }
156464
- var bedrockEvent = (0, import_react_native_bedrock11.useBedrockEvent)();
156465
- var uri = (0, import_react6.useMemo)(function () {
156512
+ var bedrockEvent = (0, import_react_native_bedrock13.useBedrockEvent)();
156513
+ var uri = (0, import_react7.useMemo)(function () {
156466
156514
  return getWebViewUri(local);
156467
156515
  }, [local]);
156468
156516
  var top = (0, import_private.useSafeAreaTop)();
156469
156517
  var bottom = (0, import_private.useSafeAreaBottom)();
156518
+ var global2 = getAppsInTossGlobals();
156470
156519
  var handler = useBridgeHandler({
156471
156520
  onMessage: onMessage,
156472
156521
  eventListenerMap: _objectSpread(_objectSpread({}, event_bridges_exports), {}, {
156473
- backEvent: function backEvent(_ref21) {
156474
- var onEvent = _ref21.onEvent,
156475
- onError = _ref21.onError,
156476
- options = _ref21.options;
156522
+ backEvent: function backEvent(_ref25) {
156523
+ var onEvent = _ref25.onEvent,
156524
+ onError = _ref25.onError,
156525
+ options = _ref25.options;
156477
156526
  return bedrockEvent.addEventListener("backEvent", {
156478
156527
  onEvent: onEvent,
156479
156528
  onError: onError,
156480
156529
  options: options
156481
156530
  });
156482
156531
  },
156483
- entryMessageExited: function entryMessageExited(_ref22) {
156484
- var onEvent = _ref22.onEvent,
156485
- onError = _ref22.onError;
156532
+ entryMessageExited: function entryMessageExited(_ref26) {
156533
+ var onEvent = _ref26.onEvent,
156534
+ onError = _ref26.onError;
156486
156535
  return _appsInTossEvent.addEventListener("entryMessageExited", {
156487
156536
  onEvent: onEvent,
156488
156537
  onError: onError
156489
156538
  });
156490
156539
  },
156491
- updateLocationEvent: function updateLocationEvent(_ref23) {
156492
- var onEvent = _ref23.onEvent,
156493
- onError = _ref23.onError,
156494
- options = _ref23.options;
156540
+ updateLocationEvent: function updateLocationEvent(_ref27) {
156541
+ var onEvent = _ref27.onEvent,
156542
+ onError = _ref27.onError,
156543
+ options = _ref27.options;
156495
156544
  return _appsInTossEvent.addEventListener("updateLocationEvent", {
156496
156545
  onEvent: onEvent,
156497
156546
  onError: onError,
156498
156547
  options: options
156499
156548
  });
156500
156549
  },
156501
- appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref24) {
156502
- var onEvent = _ref24.onEvent,
156503
- onError = _ref24.onError,
156504
- options = _ref24.options;
156550
+ appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref28) {
156551
+ var onEvent = _ref28.onEvent,
156552
+ onError = _ref28.onError,
156553
+ options = _ref28.options;
156505
156554
  return _appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
156506
156555
  onEvent: onEvent,
156507
156556
  onError: onError,
@@ -156513,13 +156562,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156513
156562
  loadAdMobRewardedAd: _GoogleAdMob.loadAdMobRewardedAd,
156514
156563
  showAdMobRewardedAd: _GoogleAdMob.showAdMobRewardedAd
156515
156564
  }),
156516
- constantHandlerMap: _objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
156565
+ constantHandlerMap: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
156517
156566
  getSafeAreaTop: function getSafeAreaTop() {
156518
156567
  return top;
156519
156568
  },
156520
156569
  getSafeAreaBottom: function getSafeAreaBottom() {
156521
156570
  return bottom;
156522
- },
156571
+ }
156572
+ }, Object.fromEntries(Object.entries(global2).map(function (_ref29) {
156573
+ var _ref30 = _slicedToArray(_ref29, 2),
156574
+ key = _ref30[0],
156575
+ value = _ref30[1];
156576
+ return [key, function () {
156577
+ return value;
156578
+ }];
156579
+ }))), {}, {
156523
156580
  loadAdMobInterstitialAd_isSupported: _GoogleAdMob.loadAdMobInterstitialAd.isSupported,
156524
156581
  showAdMobInterstitialAd_isSupported: _GoogleAdMob.showAdMobInterstitialAd.isSupported,
156525
156582
  loadAdMobRewardedAd_isSupported: _GoogleAdMob.loadAdMobRewardedAd.isSupported,
@@ -156536,7 +156593,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156536
156593
  iapGetProductItemList: _IAP.getProductItemList
156537
156594
  })
156538
156595
  });
156539
- var baseProps = (0, import_react6.useMemo)(function () {
156596
+ var baseProps = (0, import_react7.useMemo)(function () {
156540
156597
  switch (type) {
156541
156598
  case "partner":
156542
156599
  {
@@ -156567,17 +156624,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156567
156624
  }, [type, props]);
156568
156625
  var BaseWebView = WEBVIEW_TYPES[type];
156569
156626
  var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
156570
- var handleNavigationStateChange = (0, import_react6.useCallback)(function (event) {
156627
+ var handleNavigationStateChange = (0, import_react7.useCallback)(function (event) {
156571
156628
  if (event.url) {
156572
156629
  trackScreen(event.url);
156573
156630
  }
156574
156631
  }, []);
156632
+ var userAgent = _useCreateUserAgent({
156633
+ colorPreference: "light"
156634
+ });
156575
156635
  return (0, import_jsx_runtime5.jsx)(BaseWebView, _objectSpread(_objectSpread(_objectSpread({
156576
156636
  ref: handler.ref
156577
156637
  }, props), baseProps), {}, {
156578
156638
  source: {
156579
- uri: uri
156639
+ uri: uri,
156640
+ headers: {
156641
+ "User-Agent": userAgent
156642
+ }
156580
156643
  },
156644
+ userAgent: import_react_native16.Platform.OS === "ios" ? userAgent : void 0,
156581
156645
  sharedCookiesEnabled: true,
156582
156646
  webviewDebuggingEnabled: webViewDebuggingEnabled,
156583
156647
  thirdPartyCookiesEnabled: true,
@@ -156593,33 +156657,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156593
156657
  }
156594
156658
  return value;
156595
156659
  }
156596
- var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
156597
- var import_react_native_bedrock12 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
156598
- function _useGeolocation(_ref25) {
156599
- var accuracy = _ref25.accuracy,
156600
- distanceInterval = _ref25.distanceInterval,
156601
- timeInterval = _ref25.timeInterval;
156602
- var isVisible = (0, import_react_native_bedrock12.useVisibility)();
156603
- var _ref26 = (0, import_react7.useState)(null),
156604
- _ref27 = _slicedToArray(_ref26, 2),
156605
- location = _ref27[0],
156606
- setLocation = _ref27[1];
156607
- (0, import_react7.useEffect)(function () {
156608
- if (!isVisible) {
156609
- return;
156610
- }
156611
- return _startUpdateLocation({
156612
- options: {
156613
- accuracy: accuracy,
156614
- distanceInterval: distanceInterval,
156615
- timeInterval: timeInterval
156616
- },
156617
- onEvent: setLocation,
156618
- onError: console.error
156619
- });
156620
- }, [accuracy, distanceInterval, timeInterval, isVisible]);
156621
- return location;
156622
- }
156623
156660
  var Accuracy2 = function (Accuracy3) {
156624
156661
  Accuracy3[Accuracy3["Lowest"] = 1] = "Lowest";
156625
156662
  Accuracy3[Accuracy3["Low"] = 2] = "Low";
@@ -156668,6 +156705,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
156668
156705
  setClipboardText: _setClipboardText,
156669
156706
  setDeviceOrientation: _setDeviceOrientation,
156670
156707
  startUpdateLocation: _startUpdateLocation,
156708
+ useCreateUserAgent: _useCreateUserAgent,
156671
156709
  useGeolocation: _useGeolocation
156672
156710
  }, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics")));
156673
156711
  },1071,[1072,1073,1,8,11,49,2249,2250,2251,2219,2236,685,5],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
@@ -224469,7 +224507,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
224469
224507
  }
224470
224508
  },2204,[511,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
224471
224509
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
224472
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
224510
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
224473
224511
  "__packager_asset": true,
224474
224512
  "httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
224475
224513
  "width": 24,
@@ -224481,7 +224519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
224481
224519
  });
224482
224520
  },2205,[414],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
224483
224521
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
224484
- module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
224522
+ module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/geunhyeok.lee/workspace/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
224485
224523
  "__packager_asset": true,
224486
224524
  "httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
224487
224525
  "width": 50,