@apps-in-toss/web-framework 0.0.28 → 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.
- package/dist/cli/chunk-34QS4NNF.js +173587 -0
- package/dist/cli/chunk-HDRFXOPA.js +63 -0
- package/dist/cli/chunk-RUDG2MMT.js +173587 -0
- package/dist/cli/lib-NMFBQRQ2.js +1007 -0
- package/dist/cli/typescript-THSIDFIK.js +6 -0
- package/dist/cli/typescript-YVXHBAAI.js +6 -0
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.js +1 -0
- package/dist/prebuilt/dev.android.js +274 -82
- package/dist/prebuilt/dev.ios.js +274 -82
- package/dist/prebuilt/prod.android.js +212 -29
- package/dist/prebuilt/prod.ios.js +212 -29
- package/dist/prebuilt/prod.json +4 -4
- package/package.json +8 -8
package/dist/prebuilt/dev.ios.js
CHANGED
|
@@ -87621,7 +87621,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
87621
87621
|
var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
|
|
87622
87622
|
},415,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
|
|
87623
87623
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
87624
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
87624
|
+
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({
|
|
87625
87625
|
"__packager_asset": true,
|
|
87626
87626
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
87627
87627
|
"width": 28,
|
|
@@ -89309,7 +89309,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89309
89309
|
var _default = exports.default = NativeStatusBarManager;
|
|
89310
89310
|
},432,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
|
|
89311
89311
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89312
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89312
|
+
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({
|
|
89313
89313
|
"__packager_asset": true,
|
|
89314
89314
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89315
89315
|
"width": 16,
|
|
@@ -89321,7 +89321,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89321
89321
|
});
|
|
89322
89322
|
},433,[417],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
|
|
89323
89323
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89324
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89324
|
+
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({
|
|
89325
89325
|
"__packager_asset": true,
|
|
89326
89326
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89327
89327
|
"width": 16,
|
|
@@ -89955,7 +89955,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89955
89955
|
var _default = exports.default = LogBoxInspectorSourceMapStatus;
|
|
89956
89956
|
},438,[318,277,246,382,410,411,8,49,439,440],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
|
|
89957
89957
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89958
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89958
|
+
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({
|
|
89959
89959
|
"__packager_asset": true,
|
|
89960
89960
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89961
89961
|
"width": 48,
|
|
@@ -89967,7 +89967,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89967
89967
|
});
|
|
89968
89968
|
},439,[417],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
|
|
89969
89969
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89970
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89970
|
+
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({
|
|
89971
89971
|
"__packager_asset": true,
|
|
89972
89972
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89973
89973
|
"width": 44,
|
|
@@ -108298,7 +108298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108298
108298
|
}
|
|
108299
108299
|
},648,[509,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");
|
|
108300
108300
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108301
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108301
|
+
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({
|
|
108302
108302
|
"__packager_asset": true,
|
|
108303
108303
|
"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",
|
|
108304
108304
|
"width": 12,
|
|
@@ -108310,7 +108310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108310
108310
|
});
|
|
108311
108311
|
},649,[417],"../../../.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");
|
|
108312
108312
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108313
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108313
|
+
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({
|
|
108314
108314
|
"__packager_asset": true,
|
|
108315
108315
|
"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",
|
|
108316
108316
|
"width": 50,
|
|
@@ -154520,6 +154520,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154520
154520
|
GoogleAdMob: function GoogleAdMob() {
|
|
154521
154521
|
return _GoogleAdMob;
|
|
154522
154522
|
},
|
|
154523
|
+
IAP: function IAP() {
|
|
154524
|
+
return _IAP;
|
|
154525
|
+
},
|
|
154526
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: function INTERNAL__onVisibilityChangedByTransparentServiceWeb() {
|
|
154527
|
+
return _INTERNAL__onVisibilityChangedByTransparentServiceWeb;
|
|
154528
|
+
},
|
|
154523
154529
|
Storage: function Storage() {
|
|
154524
154530
|
return _Storage;
|
|
154525
154531
|
},
|
|
@@ -154571,6 +154577,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154571
154577
|
openCamera: function openCamera() {
|
|
154572
154578
|
return _openCamera;
|
|
154573
154579
|
},
|
|
154580
|
+
saveBase64Data: function saveBase64Data() {
|
|
154581
|
+
return _saveBase64Data;
|
|
154582
|
+
},
|
|
154574
154583
|
setClipboardText: function setClipboardText() {
|
|
154575
154584
|
return _setClipboardText;
|
|
154576
154585
|
},
|
|
@@ -154580,6 +154589,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154580
154589
|
startUpdateLocation: function startUpdateLocation() {
|
|
154581
154590
|
return _startUpdateLocation;
|
|
154582
154591
|
},
|
|
154592
|
+
useCreateUserAgent: function useCreateUserAgent() {
|
|
154593
|
+
return _useCreateUserAgent;
|
|
154594
|
+
},
|
|
154583
154595
|
useGeolocation: function useGeolocation() {
|
|
154584
154596
|
return _useGeolocation;
|
|
154585
154597
|
}
|
|
@@ -154588,7 +154600,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154588
154600
|
var import_analytics2 = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154589
154601
|
var import_analytics = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154590
154602
|
var import_react_native6 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154591
|
-
var
|
|
154603
|
+
var import_react_native_bedrock8 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154592
154604
|
var import_react2 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154593
154605
|
var import_react_native_bedrock2 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154594
154606
|
var _env = {
|
|
@@ -154778,7 +154790,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154778
154790
|
};
|
|
154779
154791
|
var import_react_native5 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154780
154792
|
var import_react3 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154781
|
-
var
|
|
154793
|
+
var import_react_native_bedrock7 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154782
154794
|
var import_react_native_bedrock3 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154783
154795
|
var EntryMessageExitedEvent = function (_import_react_native_) {
|
|
154784
154796
|
function EntryMessageExitedEvent() {
|
|
@@ -154985,7 +154997,50 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154985
154997
|
}
|
|
154986
154998
|
}]);
|
|
154987
154999
|
}(import_react_native_bedrock5.BedrockEventDefinition);
|
|
154988
|
-
var
|
|
155000
|
+
var import_react_native_bedrock6 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155001
|
+
var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native_4) {
|
|
155002
|
+
function VisibilityChangedByTransparentServiceWebEvent() {
|
|
155003
|
+
var _this5;
|
|
155004
|
+
_classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
|
|
155005
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
155006
|
+
args[_key4] = arguments[_key4];
|
|
155007
|
+
}
|
|
155008
|
+
_this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
|
|
155009
|
+
_this5.name = "onVisibilityChangedByTransparentServiceWeb";
|
|
155010
|
+
_this5.subscription = null;
|
|
155011
|
+
return _this5;
|
|
155012
|
+
}
|
|
155013
|
+
_inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native_4);
|
|
155014
|
+
return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
|
|
155015
|
+
key: "remove",
|
|
155016
|
+
value: function remove() {
|
|
155017
|
+
var _this$subscription;
|
|
155018
|
+
(_this$subscription = this.subscription) === null || _this$subscription === void 0 || _this$subscription.remove();
|
|
155019
|
+
this.subscription = null;
|
|
155020
|
+
}
|
|
155021
|
+
}, {
|
|
155022
|
+
key: "listener",
|
|
155023
|
+
value: function listener(options, onEvent, onError) {
|
|
155024
|
+
var _this6 = this;
|
|
155025
|
+
var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
|
|
155026
|
+
if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
|
|
155027
|
+
if (params.callbackId === options.callbackId) {
|
|
155028
|
+
onEvent(params.isVisible);
|
|
155029
|
+
}
|
|
155030
|
+
} else {
|
|
155031
|
+
onError(new Error("Invalid visibility changed by transparent service web result"));
|
|
155032
|
+
}
|
|
155033
|
+
});
|
|
155034
|
+
this.subscription = subscription;
|
|
155035
|
+
}
|
|
155036
|
+
}, {
|
|
155037
|
+
key: "isVisibilityChangedByTransparentServiceWebResult",
|
|
155038
|
+
value: function isVisibilityChangedByTransparentServiceWebResult(params) {
|
|
155039
|
+
return _typeof(params) === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
|
|
155040
|
+
}
|
|
155041
|
+
}]);
|
|
155042
|
+
}(import_react_native_bedrock6.BedrockEventDefinition);
|
|
155043
|
+
var _appsInTossEvent = new import_react_native_bedrock7.BedrockEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
|
|
154989
155044
|
function getAppsInTossGlobals() {
|
|
154990
155045
|
if (global.__appsInToss == null) {
|
|
154991
155046
|
throw new Error("invalid apps-in-toss globals");
|
|
@@ -155047,6 +155102,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155047
155102
|
openCamera: function openCamera() {
|
|
155048
155103
|
return _openCamera;
|
|
155049
155104
|
},
|
|
155105
|
+
saveBase64Data: function saveBase64Data() {
|
|
155106
|
+
return _saveBase64Data;
|
|
155107
|
+
},
|
|
155050
155108
|
setClipboardText: function setClipboardText() {
|
|
155051
155109
|
return _setClipboardText;
|
|
155052
155110
|
},
|
|
@@ -155422,6 +155480,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155422
155480
|
}));
|
|
155423
155481
|
return _setDeviceOrientation2.apply(this, arguments);
|
|
155424
155482
|
}
|
|
155483
|
+
function _saveBase64Data(_x11) {
|
|
155484
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155485
|
+
}
|
|
155486
|
+
function _saveBase64Data2() {
|
|
155487
|
+
_saveBase64Data2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee16(params) {
|
|
155488
|
+
var isSupported;
|
|
155489
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
155490
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
155491
|
+
case 0:
|
|
155492
|
+
isSupported = _isMinVersionSupported({
|
|
155493
|
+
android: "5.218.0",
|
|
155494
|
+
ios: "5.216.0"
|
|
155495
|
+
});
|
|
155496
|
+
if (isSupported) {
|
|
155497
|
+
_context16.next = 4;
|
|
155498
|
+
break;
|
|
155499
|
+
}
|
|
155500
|
+
console.warn("saveBase64Data is not supported in this app version");
|
|
155501
|
+
return _context16.abrupt("return");
|
|
155502
|
+
case 4:
|
|
155503
|
+
_context16.next = 6;
|
|
155504
|
+
return AppsInTossModule.saveBase64Data(params);
|
|
155505
|
+
case 6:
|
|
155506
|
+
case "end":
|
|
155507
|
+
return _context16.stop();
|
|
155508
|
+
}
|
|
155509
|
+
}, _callee16);
|
|
155510
|
+
}));
|
|
155511
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155512
|
+
}
|
|
155425
155513
|
var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[5], "react/jsx-runtime");
|
|
155426
155514
|
function AppsInTossContainer(Container, _ref7) {
|
|
155427
155515
|
var children = _ref7.children,
|
|
@@ -155459,7 +155547,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155459
155547
|
},
|
|
155460
155548
|
debug: (_analytics$debug = analytics === null || analytics === void 0 ? void 0 : analytics.debug) !== null && _analytics$debug !== void 0 ? _analytics$debug : __DEV__
|
|
155461
155549
|
});
|
|
155462
|
-
return
|
|
155550
|
+
return import_react_native_bedrock8.Bedrock.registerApp(AppsInTossContainer.bind(null, container), {
|
|
155463
155551
|
appName: getAppName(),
|
|
155464
155552
|
context: context,
|
|
155465
155553
|
router: {
|
|
@@ -155621,7 +155709,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155621
155709
|
function createIsSupported() {
|
|
155622
155710
|
return function () {
|
|
155623
155711
|
if (ENVIRONMENT !== "toss") {
|
|
155624
|
-
console.warn("Google AdMob is not supported in the current environment");
|
|
155625
155712
|
return false;
|
|
155626
155713
|
}
|
|
155627
155714
|
return _isMinVersionSupported({
|
|
@@ -155665,6 +155752,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155665
155752
|
removeItem: removeItem,
|
|
155666
155753
|
clearItems: clearItems
|
|
155667
155754
|
};
|
|
155755
|
+
function createOneTimePurchaseOrder(_x12) {
|
|
155756
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155757
|
+
}
|
|
155758
|
+
function _createOneTimePurchaseOrder() {
|
|
155759
|
+
_createOneTimePurchaseOrder = _asyncToGenerator(_regeneratorRuntime().mark(function _callee17(params) {
|
|
155760
|
+
var isSupported;
|
|
155761
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
155762
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
155763
|
+
case 0:
|
|
155764
|
+
isSupported = _isMinVersionSupported({
|
|
155765
|
+
android: "5.219.0",
|
|
155766
|
+
ios: "5.219.0"
|
|
155767
|
+
});
|
|
155768
|
+
if (isSupported) {
|
|
155769
|
+
_context17.next = 3;
|
|
155770
|
+
break;
|
|
155771
|
+
}
|
|
155772
|
+
return _context17.abrupt("return");
|
|
155773
|
+
case 3:
|
|
155774
|
+
return _context17.abrupt("return", AppsInTossModule.iapCreateOneTimePurchaseOrder(params));
|
|
155775
|
+
case 4:
|
|
155776
|
+
case "end":
|
|
155777
|
+
return _context17.stop();
|
|
155778
|
+
}
|
|
155779
|
+
}, _callee17);
|
|
155780
|
+
}));
|
|
155781
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155782
|
+
}
|
|
155783
|
+
function getProductItemList() {
|
|
155784
|
+
return _getProductItemList.apply(this, arguments);
|
|
155785
|
+
}
|
|
155786
|
+
function _getProductItemList() {
|
|
155787
|
+
_getProductItemList = _asyncToGenerator(_regeneratorRuntime().mark(function _callee18() {
|
|
155788
|
+
var isSupported;
|
|
155789
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
155790
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
155791
|
+
case 0:
|
|
155792
|
+
isSupported = _isMinVersionSupported({
|
|
155793
|
+
android: "5.219.0",
|
|
155794
|
+
ios: "5.219.0"
|
|
155795
|
+
});
|
|
155796
|
+
if (isSupported) {
|
|
155797
|
+
_context18.next = 3;
|
|
155798
|
+
break;
|
|
155799
|
+
}
|
|
155800
|
+
return _context18.abrupt("return");
|
|
155801
|
+
case 3:
|
|
155802
|
+
return _context18.abrupt("return", AppsInTossModule.iapGetProductItemList({}));
|
|
155803
|
+
case 4:
|
|
155804
|
+
case "end":
|
|
155805
|
+
return _context18.stop();
|
|
155806
|
+
}
|
|
155807
|
+
}, _callee18);
|
|
155808
|
+
}));
|
|
155809
|
+
return _getProductItemList.apply(this, arguments);
|
|
155810
|
+
}
|
|
155811
|
+
var _IAP = {
|
|
155812
|
+
createOneTimePurchaseOrder: createOneTimePurchaseOrder,
|
|
155813
|
+
getProductItemList: getProductItemList
|
|
155814
|
+
};
|
|
155668
155815
|
var _TossPay = {
|
|
155669
155816
|
checkoutPayment: _checkoutPayment
|
|
155670
155817
|
};
|
|
@@ -155674,10 +155821,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155674
155821
|
loadAdMobRewardedAd: loadAdMobRewardedAd,
|
|
155675
155822
|
showAdMobRewardedAd: showAdMobRewardedAd
|
|
155676
155823
|
};
|
|
155677
|
-
var
|
|
155824
|
+
var import_react_native15 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155678
155825
|
var import_private = _$$_REQUIRE(_dependencyMap[6], "@toss-design-system/react-native/private");
|
|
155679
|
-
var
|
|
155680
|
-
var
|
|
155826
|
+
var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155827
|
+
var import_react_native16 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
155828
|
+
var import_react_native_bedrock13 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155681
155829
|
var bedrockAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[7], "react-native-bedrock/async-bridges"), 1);
|
|
155682
155830
|
var bedrockConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[8], "react-native-bedrock/constant-bridges"), 1);
|
|
155683
155831
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[9], "@react-native-bedrock/native/react-native-webview");
|
|
@@ -155685,7 +155833,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155685
155833
|
var import_es_hangul = _$$_REQUIRE(_dependencyMap[10], "es-hangul");
|
|
155686
155834
|
var import_react4 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155687
155835
|
var import_react_native13 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
155688
|
-
var
|
|
155836
|
+
var import_react_native_bedrock9 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155689
155837
|
var import_react_native_svg = _$$_REQUIRE(_dependencyMap[11], "@react-native-bedrock/native/react-native-svg");
|
|
155690
155838
|
var import_react_native10 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155691
155839
|
var import_react_native11 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
@@ -155806,7 +155954,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155806
155954
|
case 2:
|
|
155807
155955
|
isConfirmed = _context.sent;
|
|
155808
155956
|
if (isConfirmed) {
|
|
155809
|
-
(0,
|
|
155957
|
+
(0, import_react_native_bedrock9.closeView)();
|
|
155810
155958
|
}
|
|
155811
155959
|
case 4:
|
|
155812
155960
|
case "end":
|
|
@@ -155816,11 +155964,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155816
155964
|
})), [brandDisplayName, openConfirm]);
|
|
155817
155965
|
(0, import_react4.useEffect)(function () {
|
|
155818
155966
|
if (import_react_native13.Platform.OS === "ios") {
|
|
155819
|
-
(0,
|
|
155967
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
155820
155968
|
isEnabled: false
|
|
155821
155969
|
});
|
|
155822
155970
|
return function () {
|
|
155823
|
-
(0,
|
|
155971
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
155824
155972
|
isEnabled: true
|
|
155825
155973
|
});
|
|
155826
155974
|
};
|
|
@@ -155983,7 +156131,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155983
156131
|
}
|
|
155984
156132
|
}, _callee3);
|
|
155985
156133
|
}));
|
|
155986
|
-
return function (
|
|
156134
|
+
return function (_x13) {
|
|
155987
156135
|
return _ref19.apply(this, arguments);
|
|
155988
156136
|
};
|
|
155989
156137
|
}(), [onMessage]);
|
|
@@ -156011,7 +156159,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156011
156159
|
return _startUpdateLocation;
|
|
156012
156160
|
}
|
|
156013
156161
|
});
|
|
156014
|
-
var
|
|
156162
|
+
var import_react_native14 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
156163
|
+
var import_react_native_bedrock10 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156164
|
+
function _useCreateUserAgent(_ref20) {
|
|
156165
|
+
var batteryModePreference = _ref20.batteryModePreference,
|
|
156166
|
+
colorPreference = _ref20.colorPreference,
|
|
156167
|
+
fontA11y = _ref20.fontA11y,
|
|
156168
|
+
locale = _ref20.locale,
|
|
156169
|
+
navbarPreference = _ref20.navbarPreference,
|
|
156170
|
+
pureSafeArea = _ref20.pureSafeArea,
|
|
156171
|
+
safeArea = _ref20.safeArea,
|
|
156172
|
+
safeAreaBottomTransparency = _ref20.safeAreaBottomTransparency;
|
|
156173
|
+
var platform = (0, import_react_native_bedrock10.getPlatformOS)();
|
|
156174
|
+
var appVersion = _getTossAppVersion();
|
|
156175
|
+
var fontScale = (0, import_react_native14.useWindowDimensions)().fontScale;
|
|
156176
|
+
var platformString = platform === "ios" ? "iPhone" : "Android";
|
|
156177
|
+
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(" ");
|
|
156178
|
+
}
|
|
156179
|
+
var import_react6 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
156180
|
+
var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156181
|
+
function _useGeolocation(_ref21) {
|
|
156182
|
+
var accuracy = _ref21.accuracy,
|
|
156183
|
+
distanceInterval = _ref21.distanceInterval,
|
|
156184
|
+
timeInterval = _ref21.timeInterval;
|
|
156185
|
+
var isVisible = (0, import_react_native_bedrock11.useVisibility)();
|
|
156186
|
+
var _ref22 = (0, import_react6.useState)(null),
|
|
156187
|
+
_ref23 = _slicedToArray(_ref22, 2),
|
|
156188
|
+
location = _ref23[0],
|
|
156189
|
+
setLocation = _ref23[1];
|
|
156190
|
+
(0, import_react6.useEffect)(function () {
|
|
156191
|
+
if (!isVisible) {
|
|
156192
|
+
return;
|
|
156193
|
+
}
|
|
156194
|
+
return _startUpdateLocation({
|
|
156195
|
+
options: {
|
|
156196
|
+
accuracy: accuracy,
|
|
156197
|
+
distanceInterval: distanceInterval,
|
|
156198
|
+
timeInterval: timeInterval
|
|
156199
|
+
},
|
|
156200
|
+
onEvent: setLocation,
|
|
156201
|
+
onError: console.error
|
|
156202
|
+
});
|
|
156203
|
+
}, [accuracy, distanceInterval, timeInterval, isVisible]);
|
|
156204
|
+
return location;
|
|
156205
|
+
}
|
|
156206
|
+
var import_react_native_bedrock12 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156015
156207
|
var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
|
|
156016
156208
|
var timestampHex = uuid.split("-").join("").slice(0, 12);
|
|
156017
156209
|
var timestamp = Number.parseInt(timestampHex, 16);
|
|
@@ -156033,7 +156225,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156033
156225
|
};
|
|
156034
156226
|
var getReferrer = function getReferrer() {
|
|
156035
156227
|
try {
|
|
156036
|
-
var referrer = new URL((0,
|
|
156228
|
+
var referrer = new URL((0, import_react_native_bedrock12.getSchemeUri)());
|
|
156037
156229
|
return referrer.searchParams.get("referrer");
|
|
156038
156230
|
} catch (_unused4) {
|
|
156039
156231
|
return "";
|
|
@@ -156060,13 +156252,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156060
156252
|
var operationalEnvironment = _getOperationalEnvironment();
|
|
156061
156253
|
var TYPES = ["partner", "external", "game"];
|
|
156062
156254
|
var WEBVIEW_TYPES = {
|
|
156063
|
-
partner:
|
|
156064
|
-
external:
|
|
156255
|
+
partner: import_react_native15.PartnerWebViewScreen,
|
|
156256
|
+
external: import_react_native15.ExternalWebViewScreen,
|
|
156065
156257
|
game: GameWebView
|
|
156066
156258
|
};
|
|
156067
156259
|
function mergeSchemeQueryParamsInto(url) {
|
|
156068
156260
|
var baseUrl = new URL(url);
|
|
156069
|
-
var schemeUrl = new URL((0,
|
|
156261
|
+
var schemeUrl = new URL((0, import_react_native_bedrock13.getSchemeUri)());
|
|
156070
156262
|
baseUrl.pathname = schemeUrl.pathname;
|
|
156071
156263
|
var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
|
|
156072
156264
|
_step2;
|
|
@@ -156098,55 +156290,56 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156098
156290
|
}
|
|
156099
156291
|
return url.toString();
|
|
156100
156292
|
}
|
|
156101
|
-
function _WebView(
|
|
156102
|
-
var type =
|
|
156103
|
-
local =
|
|
156104
|
-
onMessage =
|
|
156105
|
-
props = _objectWithoutProperties(
|
|
156293
|
+
function _WebView(_ref24) {
|
|
156294
|
+
var type = _ref24.type,
|
|
156295
|
+
local = _ref24.local,
|
|
156296
|
+
onMessage = _ref24.onMessage,
|
|
156297
|
+
props = _objectWithoutProperties(_ref24, _excluded3);
|
|
156106
156298
|
if (!TYPES.includes(type)) {
|
|
156107
156299
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
156108
156300
|
}
|
|
156109
|
-
var bedrockEvent = (0,
|
|
156110
|
-
var uri = (0,
|
|
156301
|
+
var bedrockEvent = (0, import_react_native_bedrock13.useBedrockEvent)();
|
|
156302
|
+
var uri = (0, import_react7.useMemo)(function () {
|
|
156111
156303
|
return getWebViewUri(local);
|
|
156112
156304
|
}, [local]);
|
|
156113
156305
|
var top = (0, import_private.useSafeAreaTop)();
|
|
156114
156306
|
var bottom = (0, import_private.useSafeAreaBottom)();
|
|
156307
|
+
var global2 = getAppsInTossGlobals();
|
|
156115
156308
|
var handler = useBridgeHandler({
|
|
156116
156309
|
onMessage: onMessage,
|
|
156117
156310
|
eventListenerMap: _objectSpread(_objectSpread({}, event_bridges_exports), {}, {
|
|
156118
|
-
backEvent: function backEvent(
|
|
156119
|
-
var onEvent =
|
|
156120
|
-
onError =
|
|
156121
|
-
options =
|
|
156311
|
+
backEvent: function backEvent(_ref25) {
|
|
156312
|
+
var onEvent = _ref25.onEvent,
|
|
156313
|
+
onError = _ref25.onError,
|
|
156314
|
+
options = _ref25.options;
|
|
156122
156315
|
return bedrockEvent.addEventListener("backEvent", {
|
|
156123
156316
|
onEvent: onEvent,
|
|
156124
156317
|
onError: onError,
|
|
156125
156318
|
options: options
|
|
156126
156319
|
});
|
|
156127
156320
|
},
|
|
156128
|
-
entryMessageExited: function entryMessageExited(
|
|
156129
|
-
var onEvent =
|
|
156130
|
-
onError =
|
|
156321
|
+
entryMessageExited: function entryMessageExited(_ref26) {
|
|
156322
|
+
var onEvent = _ref26.onEvent,
|
|
156323
|
+
onError = _ref26.onError;
|
|
156131
156324
|
return _appsInTossEvent.addEventListener("entryMessageExited", {
|
|
156132
156325
|
onEvent: onEvent,
|
|
156133
156326
|
onError: onError
|
|
156134
156327
|
});
|
|
156135
156328
|
},
|
|
156136
|
-
updateLocationEvent: function updateLocationEvent(
|
|
156137
|
-
var onEvent =
|
|
156138
|
-
onError =
|
|
156139
|
-
options =
|
|
156329
|
+
updateLocationEvent: function updateLocationEvent(_ref27) {
|
|
156330
|
+
var onEvent = _ref27.onEvent,
|
|
156331
|
+
onError = _ref27.onError,
|
|
156332
|
+
options = _ref27.options;
|
|
156140
156333
|
return _appsInTossEvent.addEventListener("updateLocationEvent", {
|
|
156141
156334
|
onEvent: onEvent,
|
|
156142
156335
|
onError: onError,
|
|
156143
156336
|
options: options
|
|
156144
156337
|
});
|
|
156145
156338
|
},
|
|
156146
|
-
appBridgeCallbackEvent: function appBridgeCallbackEvent(
|
|
156147
|
-
var onEvent =
|
|
156148
|
-
onError =
|
|
156149
|
-
options =
|
|
156339
|
+
appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref28) {
|
|
156340
|
+
var onEvent = _ref28.onEvent,
|
|
156341
|
+
onError = _ref28.onError,
|
|
156342
|
+
options = _ref28.options;
|
|
156150
156343
|
return _appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
|
|
156151
156344
|
onEvent: onEvent,
|
|
156152
156345
|
onError: onError,
|
|
@@ -156158,13 +156351,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156158
156351
|
loadAdMobRewardedAd: _GoogleAdMob.loadAdMobRewardedAd,
|
|
156159
156352
|
showAdMobRewardedAd: _GoogleAdMob.showAdMobRewardedAd
|
|
156160
156353
|
}),
|
|
156161
|
-
constantHandlerMap: _objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
|
|
156354
|
+
constantHandlerMap: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
|
|
156162
156355
|
getSafeAreaTop: function getSafeAreaTop() {
|
|
156163
156356
|
return top;
|
|
156164
156357
|
},
|
|
156165
156358
|
getSafeAreaBottom: function getSafeAreaBottom() {
|
|
156166
156359
|
return bottom;
|
|
156167
|
-
}
|
|
156360
|
+
}
|
|
156361
|
+
}, Object.fromEntries(Object.entries(global2).map(function (_ref29) {
|
|
156362
|
+
var _ref30 = _slicedToArray(_ref29, 2),
|
|
156363
|
+
key = _ref30[0],
|
|
156364
|
+
value = _ref30[1];
|
|
156365
|
+
return [key, function () {
|
|
156366
|
+
return value;
|
|
156367
|
+
}];
|
|
156368
|
+
}))), {}, {
|
|
156168
156369
|
loadAdMobInterstitialAd_isSupported: _GoogleAdMob.loadAdMobInterstitialAd.isSupported,
|
|
156169
156370
|
showAdMobInterstitialAd_isSupported: _GoogleAdMob.showAdMobInterstitialAd.isSupported,
|
|
156170
156371
|
loadAdMobRewardedAd_isSupported: _GoogleAdMob.loadAdMobRewardedAd.isSupported,
|
|
@@ -156176,10 +156377,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156176
156377
|
getStorageItem: _Storage.getItem,
|
|
156177
156378
|
setStorageItem: _Storage.setItem,
|
|
156178
156379
|
removeStorageItem: _Storage.removeItem,
|
|
156179
|
-
clearItems: _Storage.clearItems
|
|
156380
|
+
clearItems: _Storage.clearItems,
|
|
156381
|
+
iapCreateOneTimePurchaseOrder: _IAP.createOneTimePurchaseOrder,
|
|
156382
|
+
iapGetProductItemList: _IAP.getProductItemList
|
|
156180
156383
|
})
|
|
156181
156384
|
});
|
|
156182
|
-
var baseProps = (0,
|
|
156385
|
+
var baseProps = (0, import_react7.useMemo)(function () {
|
|
156183
156386
|
switch (type) {
|
|
156184
156387
|
case "partner":
|
|
156185
156388
|
{
|
|
@@ -156210,17 +156413,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156210
156413
|
}, [type, props]);
|
|
156211
156414
|
var BaseWebView = WEBVIEW_TYPES[type];
|
|
156212
156415
|
var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
|
|
156213
|
-
var handleNavigationStateChange = (0,
|
|
156416
|
+
var handleNavigationStateChange = (0, import_react7.useCallback)(function (event) {
|
|
156214
156417
|
if (event.url) {
|
|
156215
156418
|
trackScreen(event.url);
|
|
156216
156419
|
}
|
|
156217
156420
|
}, []);
|
|
156421
|
+
var userAgent = _useCreateUserAgent({
|
|
156422
|
+
colorPreference: "light"
|
|
156423
|
+
});
|
|
156218
156424
|
return (0, import_jsx_runtime5.jsx)(BaseWebView, _objectSpread(_objectSpread(_objectSpread({
|
|
156219
156425
|
ref: handler.ref
|
|
156220
156426
|
}, props), baseProps), {}, {
|
|
156221
156427
|
source: {
|
|
156222
|
-
uri: uri
|
|
156428
|
+
uri: uri,
|
|
156429
|
+
headers: {
|
|
156430
|
+
"User-Agent": userAgent
|
|
156431
|
+
}
|
|
156223
156432
|
},
|
|
156433
|
+
userAgent: import_react_native16.Platform.OS === "ios" ? userAgent : void 0,
|
|
156224
156434
|
sharedCookiesEnabled: true,
|
|
156225
156435
|
webviewDebuggingEnabled: webViewDebuggingEnabled,
|
|
156226
156436
|
thirdPartyCookiesEnabled: true,
|
|
@@ -156236,33 +156446,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156236
156446
|
}
|
|
156237
156447
|
return value;
|
|
156238
156448
|
}
|
|
156239
|
-
var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
156240
|
-
var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156241
|
-
function _useGeolocation(_ref25) {
|
|
156242
|
-
var accuracy = _ref25.accuracy,
|
|
156243
|
-
distanceInterval = _ref25.distanceInterval,
|
|
156244
|
-
timeInterval = _ref25.timeInterval;
|
|
156245
|
-
var isVisible = (0, import_react_native_bedrock11.useVisibility)();
|
|
156246
|
-
var _ref26 = (0, import_react7.useState)(null),
|
|
156247
|
-
_ref27 = _slicedToArray(_ref26, 2),
|
|
156248
|
-
location = _ref27[0],
|
|
156249
|
-
setLocation = _ref27[1];
|
|
156250
|
-
(0, import_react7.useEffect)(function () {
|
|
156251
|
-
if (!isVisible) {
|
|
156252
|
-
return;
|
|
156253
|
-
}
|
|
156254
|
-
return _startUpdateLocation({
|
|
156255
|
-
options: {
|
|
156256
|
-
accuracy: accuracy,
|
|
156257
|
-
distanceInterval: distanceInterval,
|
|
156258
|
-
timeInterval: timeInterval
|
|
156259
|
-
},
|
|
156260
|
-
onEvent: setLocation,
|
|
156261
|
-
onError: console.error
|
|
156262
|
-
});
|
|
156263
|
-
}, [accuracy, distanceInterval, timeInterval, isVisible]);
|
|
156264
|
-
return location;
|
|
156265
|
-
}
|
|
156266
156449
|
var Accuracy2 = function (Accuracy3) {
|
|
156267
156450
|
Accuracy3[Accuracy3["Lowest"] = 1] = "Lowest";
|
|
156268
156451
|
Accuracy3[Accuracy3["Low"] = 2] = "Low";
|
|
@@ -156272,6 +156455,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156272
156455
|
Accuracy3[Accuracy3["BestForNavigation"] = 6] = "BestForNavigation";
|
|
156273
156456
|
return Accuracy3;
|
|
156274
156457
|
}(Accuracy2 || {});
|
|
156458
|
+
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
156459
|
+
return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
|
|
156460
|
+
}
|
|
156461
|
+
var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = onVisibilityChangedByTransparentServiceWeb;
|
|
156275
156462
|
__reExport(src_exports, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics"), module.exports);
|
|
156276
156463
|
var Analytics2 = {
|
|
156277
156464
|
init: import_analytics2.Analytics.init,
|
|
@@ -156284,6 +156471,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156284
156471
|
Analytics: Analytics,
|
|
156285
156472
|
AppsInToss: _AppsInToss,
|
|
156286
156473
|
GoogleAdMob: _GoogleAdMob,
|
|
156474
|
+
IAP: _IAP,
|
|
156475
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: _INTERNAL__onVisibilityChangedByTransparentServiceWeb,
|
|
156287
156476
|
Storage: _Storage,
|
|
156288
156477
|
TossPay: _TossPay,
|
|
156289
156478
|
WebView: _WebView,
|
|
@@ -156301,9 +156490,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156301
156490
|
getTossShareLink: _getTossShareLink,
|
|
156302
156491
|
isMinVersionSupported: _isMinVersionSupported,
|
|
156303
156492
|
openCamera: _openCamera,
|
|
156493
|
+
saveBase64Data: _saveBase64Data,
|
|
156304
156494
|
setClipboardText: _setClipboardText,
|
|
156305
156495
|
setDeviceOrientation: _setDeviceOrientation,
|
|
156306
156496
|
startUpdateLocation: _startUpdateLocation,
|
|
156497
|
+
useCreateUserAgent: _useCreateUserAgent,
|
|
156307
156498
|
useGeolocation: _useGeolocation
|
|
156308
156499
|
}, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics")));
|
|
156309
156500
|
},1071,[1072,1073,1,8,11,49,2248,2249,2250,2218,2235,683,5],"../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-574b136add/1/apps-in-toss-packages/framework/dist/index.cjs");
|
|
@@ -224028,7 +224219,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224028
224219
|
}
|
|
224029
224220
|
},2203,[509,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");
|
|
224030
224221
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224031
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224222
|
+
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({
|
|
224032
224223
|
"__packager_asset": true,
|
|
224033
224224
|
"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",
|
|
224034
224225
|
"width": 12,
|
|
@@ -224040,7 +224231,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224040
224231
|
});
|
|
224041
224232
|
},2204,[417],"../../../.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");
|
|
224042
224233
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224043
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224234
|
+
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({
|
|
224044
224235
|
"__packager_asset": true,
|
|
224045
224236
|
"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",
|
|
224046
224237
|
"width": 50,
|
|
@@ -228978,6 +229169,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
228978
229169
|
port: Ait.webPort,
|
|
228979
229170
|
host: Ait.webHost
|
|
228980
229171
|
},
|
|
229172
|
+
allowsBackForwardNavigationGestures: Ait.allowsBackForwardNavigationGestures,
|
|
228981
229173
|
mediaPlaybackRequiresUserAction: Ait.mediaPlaybackRequiresUserAction,
|
|
228982
229174
|
allowsInlineMediaPlayback: Ait.allowsInlineMediaPlayback,
|
|
228983
229175
|
bounces: Ait.bounces,
|